<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PrimePress Theme for WordPress &#187; Help</title>
	<atom:link href="http://www.techtrot.com/primepress/category/help/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techtrot.com/primepress</link>
	<description>A customizable search engine optimized theme</description>
	<lastBuildDate>Fri, 27 Nov 2009 07:09:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Setting up the WordPress Static Homepage</title>
		<link>http://www.techtrot.com/primepress/setting-up-the-wordpress-static-homepage/</link>
		<comments>http://www.techtrot.com/primepress/setting-up-the-wordpress-static-homepage/#comments</comments>
		<pubDate>Sat, 13 Sep 2008 12:22:32 +0000</pubDate>
		<dc:creator>Ravi Varma</dc:creator>
				<category><![CDATA[Help]]></category>

		<guid isPermaLink="false">http://www.techtrot.com/primepress/?p=58</guid>
		<description><![CDATA[Some of you might want to display a static front page as the homepage of your WordPress blog. This can now be done in PrimePress using Page templates and here's a quick tutorial. No fancy magazine style layouts right now but a simple Page with the content of your choice.
Make sure you update your PrimePress [...]]]></description>
			<content:encoded><![CDATA[<p>Some of you might <a href="http://www.techtrot.com/primepress/primepress-theme-for-wordpress/#comment-69"title="homepage functionality request" >want to display</a> a <a href="http://www.techtrot.com/primepress/theme-customization-changing-background-color-border/#comment-138"title="WordPress static homepage request" >static front page</a> as the homepage of your WordPress blog. This can now be done in PrimePress using Page templates and here's a quick tutorial. No fancy magazine style layouts right now but a simple Page with the content of your choice.<span id="more-58"></span></p>
<p class="notice">Make sure you update your PrimePress theme to the latest version before you proceed.</p>
<p>You need to have two pages ready to implement this.</p>
<ul>
<li><strong>Homepage</strong> - A Page with welcome text or anything you wish to show first to your visitors. creating this is pretty straightforward.</li>
<li><strong>Posts page</strong> - A page to show all your blog posts. You need this because you'll lose the default blog functionality once you activate the static homepage.</li>
</ul>
<h2 id="step-1">1. Create the blog posts Page</h2>
<p><a href="http://www.techtrot.com/primepress/wp-content/uploads/2008/09/wordpress-template-selection.jpg"><img class="alignleft" title="WordPress Blog Template selection" src="http://www.techtrot.com/primepress/wp-content/uploads/2008/09/wordpress-template-selection.jpg" alt="WordPress Blog Template selection" width="150" height="117" /></a>Go to write Page panel in your WordPress Dashboard and create a new blank Page with the title '<strong>Blog</strong>'. Scroll down to the <strong>Page Template</strong> options at the bottom and from the drop down list select '<strong>Blog</strong>' and publish the Page.</p>
<h2 id="step-2">2. Assign the home and blog pages</h2>
<p><a href="http://www.techtrot.com/primepress/wp-content/uploads/2008/09/wordpress-static-homepage.jpg"><img class="alignleft" title="WordPress Static Homepage Options" src="http://www.techtrot.com/primepress/wp-content/uploads/2008/09/wordpress-static-homepage.jpg" alt="WordPress Static Homepage Options" width="150" height="65" /></a>Go to <strong class="highlight-wp">Settings</strong> &gt; <strong class="highlight-wp">Reading</strong> &gt; <strong class="highlight-option">Front Page displays</strong> and select '<em class="highlight-wp">A static page</em>'. There are 2 more options to be selected under this. choose a page of your choice for the <span class="highlight-option">front page</span>. But for the <span class="highlight-option">Posts page</span> select '<strong>blog</strong>' and save.</p>
<h2 id="step-3">3. Modify the navigation menu</h2>
<p>Open <code>main-menu.php</code> in your WordPress Theme Editor. Delete or comment out the marked code in the following code block (everything but the last line).</p>
<pre><span class="highlight-delete">&lt;li class=&quot;&lt;?php if ( is_home() or is_archive() or is_single() or is_paged() or is_search() or (function_exists('is_tag') and is_tag()) )
{ ?&gt;current_page_item&lt;?php } else { ?&gt;page_item&lt;?php } ?&gt;&quot;&gt;&lt;a title=&quot;&lt;?php bloginfo('name'); ?&gt;&quot; href=&quot;&lt;?php bloginfo('url'); ?&gt;&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;</span>
&lt;?php wp_list_pages(&quot;depth=1&amp;title_li=&amp;sort_column={echo $pp_sort_pages}&amp;exclude={echo $pp_exclude_pages}&quot;); ?&gt;</pre>
<h2>Addendum</h2>
<p><strong>Homepage</strong> - Any default Page you create will have the title centered at the top. You may not want this on your static homepage. Use the '<em>HomePage</em>' template for that Page to get rid of this.</p>
<p><strong>Page-Order</strong> - A word about the Page Order in the main navigation menu. If you prefer doing things manually, assign a number to each of the Pages in the Advanced Options and they'll be sorted in ascending order. A better and easier alternative is to <a href="http://geekyweekly.com/mypageorder" rel="nofollow" title="My Page Order WordPress olugin" >use a plugin</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techtrot.com/primepress/setting-up-the-wordpress-static-homepage/feed/</wfw:commentRss>
		<slash:comments>49</slash:comments>
		</item>
		<item>
		<title>Customizing Rotating Header Images</title>
		<link>http://www.techtrot.com/primepress/how-to-customize-rotating-header-images/</link>
		<comments>http://www.techtrot.com/primepress/how-to-customize-rotating-header-images/#comments</comments>
		<pubDate>Sat, 09 Aug 2008 10:03:15 +0000</pubDate>
		<dc:creator>Ravi Varma</dc:creator>
				<category><![CDATA[Help]]></category>

		<guid isPermaLink="false">http://www.techtrot.com/primepress/?p=38</guid>
		<description><![CDATA["...Worth a Thousand Words"
another boring cliche that has lost its intended meaning? hell no! It has been over-used alright... (and I wouldn't dare say that out loud) but its true to its every word.
A few well chosen images - can add tons of visual appeal to your site, can convey more information, can make a [...]]]></description>
			<content:encoded><![CDATA[<p>"...Worth a Thousand Words"<br />
another boring cliche that has lost its intended meaning? hell no! It has been over-used alright... (and I wouldn't dare say that out loud) but its true to its every word.</p>
<p>A few well chosen images - can add tons of visual appeal to your site, can convey more information, can make a good site a great one. so gather up all the pictures you like, putting them up in PrimePress is easy.<span id="more-38"></span></p>
<p class="note"><strong>note:</strong> If you are already using PrimePress, please <a href="http://www.techtrot.com/primepress/installing-and-upgrading-the-theme/"title="How to Update the Theme?"  target="_self">update</a> your theme to version 1.2. It has a better image rotation solution. These instructions apply to v1.2 and on.</p>
<h2>How-to?</h2>
<p>I'm assuming you have your images cropped and ready. If not, crop them to a wide aspect ratio. The ideal and default width here is <code class="red">920px</code> and any bigger or smaller images will be scaled to this width. The height is calculated to a value that doesn't mess up the aspect ratio.</p>
<ol>
<li>upload them to the <code class="blue">/headers</code> folder inside the <code class="blue">primepress</code> directory</li>
<li>hehe... that's it. Its done, you don't have to rename them or edit any of the theme files.</li>
</ol>
<p>Every image in this folder will automatically be read and randomly rotated. For the record, you can upload any number of images - just let me know if you wanna put up more than a 100.</p>
<h2>Don't want them rotating?</h2>
<p>May be you've got a single header image ready and would like to show only that one. That's easy, just upload that one image to the <code class="blue">/headers</code> folder inside the theme directory and delete any other files in that folder.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techtrot.com/primepress/how-to-customize-rotating-header-images/feed/</wfw:commentRss>
		<slash:comments>150</slash:comments>
		</item>
		<item>
		<title>How to use the custom stylesheet</title>
		<link>http://www.techtrot.com/primepress/how-to-use-the-custom-stylesheet/</link>
		<comments>http://www.techtrot.com/primepress/how-to-use-the-custom-stylesheet/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 00:24:58 +0000</pubDate>
		<dc:creator>Ravi Varma</dc:creator>
				<category><![CDATA[Help]]></category>

		<guid isPermaLink="false">http://www.techtrot.com/primepress/?p=17</guid>
		<description><![CDATA[When modifying a WordPress theme, finding the right element in the stylesheet and making changes to it is confusing. Finding them again, for when we update the theme or simply decide to tweak the styles some more, is even more frustrating.
A solution then... is to use a separate stylesheet for all those custom mods &#38; [...]]]></description>
			<content:encoded><![CDATA[<p>When modifying a WordPress theme, finding the right element in the stylesheet and making changes to it is confusing. Finding them again, for when we update the theme or simply decide to tweak the styles some more, is even more frustrating.</p>
<p>A solution then... <span id="more-17"></span>is to use a separate stylesheet for all those custom mods &amp; tweaks we make to personalize the theme.</p>
<p>And that's exactly what <code>custom.css</code> is for. A dedicated stylesheet for all your <acronym title="Cascading Style Sheets">CSS</acronym> customizations. By placing all the custom styles in one place, <em>your</em> stylesheet will be much more organized and you'll <em>know</em> where everything is when you choose to change something later on.</p>
<p>And more importantly, it makes updating the theme a no-hassle. all you have to do is to preserve the <code>custom.css</code> file to keep your changes intact.</p>
<h2><code>custom.css</code> How-to ?</h2>
<p>There are many ways to do this, but the easiest is using the <strong>Theme Editor</strong> in WordPress. Just follow the simple steps below.</p>
<ol>
<li>log in to your WordPress admin panel and go to <strong>Theme Editor</strong></li>
<li>make sure PrimePress is selected under <strong>Select theme to edit:</strong></li>
<li><code>custom.css</code> should already be open at this point, if not click on <strong>custom.css</strong> on the right side under <strong>Theme Files</strong> to open it.</li>
<li>type in your custom CSS styles here prefixing <code class="red">body.custom</code> to each CSS rule.</li>
<li>If you just dabble around in CSS occasionally and are not comfortable writing the styles,
<ul>
<li>copy the relevent styles from the main stylesheet (<code>style.css</code>)</li>
<li>paste them in your <code>custom.css</code></li>
<li>attach <code class="red">body.custom</code> to each style and tweak away</li>
</ul>
</li>
</ol>
<p class="note">No clue what CSS is? no problem, coming soon... are some easy instructions detailing all the customizations that can be done.</p>
<h3>A little more clarity</h3>
<p>For example, if you want to change the <strong>size</strong> of the site title and <strong>color</strong> of the site tagline, the CSS styles associated with these in the main stylesheet (<code>style.css</code>) are</p>
<pre>.homelink {
	font-size: 35px;
	}

.description {
	color: #666666;
	}</pre>
<p>The 1<sup>st</sup> one governs the size of the title and 2<sup>nd</sup> one the tagline color. Copy &amp; paste them into your <code>custom.css</code></p>
<p>Lets say you want to increase the title to <strong>40px</strong> and change the tagline color to a <strong>cool blue</strong>, here's how the modified code would look like.</p>
<pre><span class="red">body.custom</span> .homelink a {
	font-size: <span class="red">40px</span>;
	}

<span class="red">body.custom</span> .description {
	color: <span class="red">#3399ff</span>;
	}</pre>
<p class="note">As per the CSS cascading rules, a more specific &amp; targeted style declaration wins over a lesser specific one. By adding <code class="red">body.custom</code>, we are being more specific at what we want and so it overrides the default style.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.techtrot.com/primepress/how-to-use-the-custom-stylesheet/feed/</wfw:commentRss>
		<slash:comments>70</slash:comments>
		</item>
	</channel>
</rss>
