<?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>WordPress Themes Tips and Tricks</title>
	<atom:link href="http://wpthemetips.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpthemetips.com</link>
	<description>Helping you customize your WordPress based website !</description>
	<lastBuildDate>Thu, 05 Nov 2009 00:48:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Link to an excellent WordPress resource</title>
		<link>http://wpthemetips.com/link-to-an-excellent-wordpress-resource/</link>
		<comments>http://wpthemetips.com/link-to-an-excellent-wordpress-resource/#comments</comments>
		<pubDate>Mon, 17 Mar 2008 14:21:00 +0000</pubDate>
		<dc:creator>Sadish</dc:creator>
				<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://wpthemetips.com/link-to-an-excellent-wordpress-resource/</guid>
		<description><![CDATA[I recently found an excellent article,  Mastering Your WordPress Theme Hacks and Techniques.
It is a must read for people who wants to learn a lot of tips and tricks.
Enjoy!
]]></description>
			<content:encoded><![CDATA[<p>I recently found an excellent article, <a href="http://www.noupe.com/wordpress/mastering-your-wordpress-theme-hacks-and-techniques.html" title="Mastering Your WordPress Theme Hacks and Techniques" target="_blank"> Mastering Your WordPress Theme Hacks and Techniques</a>.</p>
<p>It is a must read for people who wants to learn a lot of tips and tricks.<br />
Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://wpthemetips.com/link-to-an-excellent-wordpress-resource/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>why my archive pages do not show the full content?</title>
		<link>http://wpthemetips.com/why-my-archive-pages-do-not-show-the-full-content/</link>
		<comments>http://wpthemetips.com/why-my-archive-pages-do-not-show-the-full-content/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 16:09:12 +0000</pubDate>
		<dc:creator>Sadish</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[archive.php]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[optional excerpt]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[the_content]]></category>
		<category><![CDATA[the_excerpt]]></category>

		<guid isPermaLink="false">http://wpthemetips.com/why-my-archive-pages-do-not-show-the-full-content/</guid>
		<description><![CDATA[This is one of the frequently asked questions in our support forums. I will try to answer this question here so it can benefit everyone.
This question is also worded like the following questions.

Tag and Category Views Don&#8217;t Show Images
Images and archives
How do I expand each individual post for the archive

So, what exactly is the problem?
Archive [...]]]></description>
			<content:encoded><![CDATA[<p>This is one of the frequently asked questions in our <a href="/forums/" title="WordPress Theme Tips / Support">support forums</a>. I will try to answer this question here so it can benefit everyone.</p>
<p>This question is also worded like the following questions.</p>
<ol>
<li><a href="http://wpthemetips.com/forums/comments.php?DiscussionID=936" title="Tag and Category Views Don't Show Images">Tag and Category Views Don&#8217;t Show Images</a></li>
<li><a href="http://wpthemetips.com/forums/comments.php?DiscussionID=878" title="Images and archives">Images and archives</a></li>
<li><a href="http://wpthemetips.com/forums/comments.php?DiscussionID=728" title="How do I expand each individual post for the archive">How do I expand each individual post for the archive</a></li>
</ol>
<p><strong>So, what exactly is the problem?</strong></p>
<p>Archive pages like the category view, or monthly view, or a tag view, do not show the full post&#8217;s content.<br />
<span id="more-53"></span><br />
<strong>Why it does not ?</strong></p>
<p>Because most of the themes are designed to only show the excerpt of the post, when people are viewing an archive page.</p>
<p><strong>What is the advantage of it?</strong></p>
<p>1. The search engines [like Google or Yahoo], will not list your archive page as the result of a search. You do not want your site visitors to land on an archive page, instead you want them to land on a single post.<br />
2. Most of the time your site&#8217;s visitor, is trying to locate one of your interesting posts that they know it exists on your site. Your archive pages should help them get to it faster.</p>
<p><strong>I do not care about the advantages mentioned above. How do I show the complete post on the archive pages as well?</strong></p>
<p>1. Open up the archive.php and look for<br />
<code><br />
the_excerpt();<br />
</code><br />
in it and replace it with<br />
<code><br />
the_content('Continue Reading');<br />
</code></p>
<p>2. Repeat step 1, for search.php, date.php, category.php [These files may not exist in your theme and if it does not exist, ignore this step]</p>
<p><strong>No..No&#8230;I see the advantages, but I do not want the excerpts to be automatically created.</strong><br />
Well&#8230;when you write a new post, there is an option at the bottom that says &#8220;Optional Excerpt&#8221;.<br />
You can paste your own excerpts of the post, into this box, so that they get displayed on the archive pages.<br />
Remember you can also put html content into this box.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpthemetips.com/why-my-archive-pages-do-not-show-the-full-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to upgrade your WordPress Theme for WP 2.3?</title>
		<link>http://wpthemetips.com/how-to-upgrade-your-wordpress-theme-for-wp-23/</link>
		<comments>http://wpthemetips.com/how-to-upgrade-your-wordpress-theme-for-wp-23/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 15:41:04 +0000</pubDate>
		<dc:creator>Sadish</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tags]]></category>
		<category><![CDATA[the_tags]]></category>
		<category><![CDATA[WordPress 2.3]]></category>
		<category><![CDATA[wp_tag_cloud]]></category>

		<guid isPermaLink="false">http://wpthemetips.com/how-to-upgrade-your-wordpress-theme-for-wp-23/</guid>
		<description><![CDATA[I upgraded most of my popular themes to make sure they work with the latest WordPress release 2.3.
but there are people who have customized the theme so much, that they do not want to upgrade their theme with my latest version.
They want to know what exactly I changed for making theme WordPress 2.3 compatible.
The new [...]]]></description>
			<content:encoded><![CDATA[<p>I upgraded most of my popular themes to make sure they work with the latest WordPress release 2.3.</p>
<p>but there are people who have customized the theme so much, that they do not want to upgrade their theme with my latest version.<br />
They want to know what exactly I changed for making theme WordPress 2.3 compatible.</p>
<p>The new feature that is added in the WordPress 2.3 system is the <strong>Tags</strong> functionality.<br />
Once you upgrade your WordPress installation to 2.3, you would see a text box under the &#8216;Write Post&#8217; area, for adding &#8220;tags&#8221; to both new and existing posts. This will let you store the tags along with the posts in the database.<br />
<span id="more-49"></span></p>
<h3>Step 1: Display the Tags under each post&#8217;s content</h3>
<p>Add the following code somewhere after the call to <strong>the_content()</strong> or <strong>the_excerpt()</strong> within &#8220;the loop&#8221; in index.php, archive.php, search.php and single.php.</p>
<p><em>&lt;p&gt;&lt;?php if (function_exists(&quot;the_tags&quot;)) the_tags(&quot;Tags: &quot;, &quot;, &quot;, &quot;&lt;br/&gt;&quot;);?&gt;&lt;/p&gt;</em></p>
<p>This code makes sure the function &quot;the_tags()&quot; exists, before calling that. This way the theme will still work on earlier versions of WordPress.</p>
<h4>One Important thing to Note:</h4>
<p><strong>the_tags()</strong> method will only work, when you made a call to <strong>the_post()</strong> method while initializing the loop.<br />
Some themes still use <strong>start_wp()</strong> method instead of <strong>the_post()</strong>. Those themes will not show the Tags at all, even when you made a call to the_tags().</p>
<h3>Step 2: Display a Tag Cloud on the Sidebar</h3>
<p>If your theme is Sidebar Widgets Compatible and you are using the Sidebar Widgets option, you could easily drag and drop the Tag Cloud Widget [that comes with WordPress 2.3] and be done with it.</p>
<p>If not, you can add the following code somewhere in the sidebar.php file.</p>
<p><em><br />
&lt;?php if (function_exists(&quot;wp_tag_cloud&quot;)) {	?&gt;<br />
&lt;li&gt;<br />
	&lt;h2&gt;&lt;?php _e(&quot;Tags&quot;); ?&gt;&lt;/h2&gt;<br />
	&lt;p&gt;<br />
		&lt;?php wp_tag_cloud(); ?&gt;<br />
	&lt;/p&gt;<br />
&lt;/li&gt;<br />
&lt;?php } ?&gt;<br />
</em></p>
<p>Again, this code checks for the existence of the method, before calling it, just to make sure the theme works fine in previous versions of WordPress.</p>
<p>I think we have covered two important steps so far.<br />
When someone clicks on one of the Tags, it will lead them to an archive page [WordPress loads the archive.php if found within the theme folder].<br />
So we will just add a heading for the Archive page to let them know they are viewing the archives for that given Tag.</p>
<p>We will open up the archive.php. Usually there will be code that checks if this is an archive for category, or month or day etc.<br />
We will add the following lines to it.<br />
<em><br />
&lt;?php if (function_exists(&quot;is_tag&quot;)&amp;&amp; is_tag()) { ?&gt;<br />
&lt;h2&gt;Archive for the Tag &quot;&lt;?php echo single_tag_title(); ?&gt;&quot;&lt;/h2&gt;<br />
&lt;?php } ?&gt;<br />
</em></p>
<p>This will just add a heading in case someone is viewing your archive by Tags.</p>
<p>Wow. Thats it?<br />
Yeah, and your site is now ready to Rock and Roll with WordPress 2.3.</p>
<p><strong>Disclaimer :</strong><br />
While I made sure the code given here works fine with my themes, there is no guarantee that this will work with your theme without any issues. If you do have an issue, doing it manually, please contact your theme author.<br />
Do not post it as a comment here. Thanks.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpthemetips.com/how-to-upgrade-your-wordpress-theme-for-wp-23/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remember to Love / Hate Links</title>
		<link>http://wpthemetips.com/remember-to-love-hate-links/</link>
		<comments>http://wpthemetips.com/remember-to-love-hate-links/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 17:23:04 +0000</pubDate>
		<dc:creator>Sadish</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[active]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[hover]]></category>
		<category><![CDATA[hyperlink]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[visited]]></category>

		<guid isPermaLink="false">http://wpthemetips.com/remember-to-love-hate-links/</guid>
		<description><![CDATA[Ever wondered how to define styles for Hyperlinks ?
Well. There are four different selectors for a hyperlink.
You would normally see this at the top of the stylesheet.
a:link {text-decoration:none;color:#ff0000}
a:visited {text-decoration:none;color:#0000ff;}
a:hover {text-decoration:underline;}
a:active {text-decoration:underline;}
The first line defines that normal unvisited links will have &#8216;no underline&#8217;, and will look &#8216;red&#8217; in color.
The second line says when a link is [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wondered how to define styles for Hyperlinks ?</p>
<p>Well. There are four different selectors for a hyperlink.</p>
<p>You would normally see this at the top of the stylesheet.</p>
<p><code>a:link {text-decoration:none;color:#ff0000}<br />
a:visited {text-decoration:none;color:#0000ff;}<br />
a:hover {text-decoration:underline;}<br />
a:active {text-decoration:underline;}</code></p>
<p>The first line defines that normal unvisited links will have &#8216;no underline&#8217;, and will look &#8216;red&#8217; in color.<br />
The second line says when a link is already visited by the user, it should display in &#8216;blue&#8217; color with &#8216;no underline&#8217;.<br />
The third line says if the user is moving the mouse over this link, show an underline.<br />
The fourth one says to do the same thing as the hover, when the user clicks on it. &#8216;active&#8217; depicts that fraction of second that the user actually clicks on the link.</p>
<p>In order for these definitions to work as intended in most browsers, they have to be in the same order as we have defined here.</p>
<p><strong><em>Remember &#8216;LoVe&#8217; should come before &#8216;HAte&#8217;</em></strong><br />
This shortcut I found it first on the book &#8216;Web Standards Solutions&#8217; by <a href="http://simplebits.com" target="_blank">Dan Cederholm</a>.</p>
<p>Thats all folks, for now.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpthemetips.com/remember-to-love-hate-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Whats going on with the Feed Links ?</title>
		<link>http://wpthemetips.com/whats-going-on-with-the-feed-links/</link>
		<comments>http://wpthemetips.com/whats-going-on-with-the-feed-links/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 17:20:37 +0000</pubDate>
		<dc:creator>Sadish</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[feed:]]></category>
		<category><![CDATA[rss feed link]]></category>
		<category><![CDATA[w3c]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://wpthemetips.com/46/</guid>
		<description><![CDATA[With the latest wordpress, the default theme has feed: attached to the normal feed links that start with http://yourwebsite.com/feed/ .
Most of the users complain that when you click on that, it does not work.
Yes, It wont work till all the browser manufacturers support that.
what is it anyway ?
Have you seen a mailto: added to links [...]]]></description>
			<content:encoded><![CDATA[<p>With the latest wordpress, the default theme has <strong><em>feed:</em></strong> attached to the normal feed links that start with <code>http://yourwebsite.com/feed/</code> .</p>
<p>Most of the users complain that when you click on that, it does not work.</p>
<p>Yes, It wont work till all the browser manufacturers support that.</p>
<p><strong>what is it anyway ?</strong><br />
Have you seen a <code>mailto:</code> added to links to the email addresses? It is for opening a mail compose window on your email program automatically when you click on those links. Browsers understand this keyword <code>mailto</code> and acts accordingly.</p>
<p>Similarly, <a href="http://w3.org" target="_blank">W3C</a> (World Wide Web Consortium) is suggesting to have <code>feed:</code> to be added to the feed links, so anytime the user clicks on it, the browser can launch the feed reader program(if it is installed on that machine) automatically.</p>
<p>It won&#8217;t work as of now, because  not all browsers are made to understand this tag.<br />
Till they upgrade, you can safely remove this <code>feed:</code> part from your feed links.</p>
<p>[Reposted from one of my other sites]</p>
]]></content:encoded>
			<wfw:commentRss>http://wpthemetips.com/whats-going-on-with-the-feed-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Font sizes and Accessibility</title>
		<link>http://wpthemetips.com/font-sizes-and-accessibility/</link>
		<comments>http://wpthemetips.com/font-sizes-and-accessibility/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 17:19:09 +0000</pubDate>
		<dc:creator>Sadish</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[absolute font size]]></category>
		<category><![CDATA[accessibility]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[font-size]]></category>
		<category><![CDATA[relative font size]]></category>
		<category><![CDATA[w3c]]></category>

		<guid isPermaLink="false">http://wpthemetips.com/font-sizes-and-accessibility/</guid>
		<description><![CDATA[Lets take a closer look at the font-size property in CSS.
You might have seen this following piece of code in some theme&#8217;s style.css file.
 #content h2 { font-size:1.4em;} 
or this
 #content h2 { font-size:14px;} 
or this
 #content h2 { font-size:10pt;} 
What is the difference between all of these ? which one is better ?
In reality, [...]]]></description>
			<content:encoded><![CDATA[<p>Lets take a closer look at the font-size property in CSS.</p>
<p>You might have seen this following piece of code in some theme&#8217;s style.css file.<br />
<code> #content h2 { font-size:1.4em;} </code><br />
or this<br />
<code> #content h2 { font-size:14px;} </code><br />
or this<br />
<code> #content h2 { font-size:10pt;} </code></p>
<p>What is the difference between all of these ? which one is better ?</p>
<p>In reality, there is nothing like &#8216;one is better than the other&#8217;, but it depends more on the context where it is applied.</p>
<p>&#8216;1em&#8217; means the size of the character &#8216;M&#8217; for the given font when the browser displays the page at the normal text size.<br />
(Similarly 1ex = size of character &#8216;X&#8217;)</p>
<p>&#8216;1px&#8217; means 1 pixel size. if your monitor&#8217;s display is set to 800 by 600 resolution, that means it displays 800 pixels horizontally, and 600 pixels vertically.</p>
<p>&#8216;1pt&#8217; means 1 point size. This is a fixed size across all fonts = 1/72 of an inch. Fixed size fonts might be usable in some cases but not for all.</p>
<p><strong>Q : so what are Relative units for font ?</strong></p>
<p>A : something like &#8216;em&#8217;, &#8216;ex&#8217;, &#8216;px&#8217; etc</p>
<p><strong>Q : What are Fixed units for font ?</strong></p>
<p>A : something like &#8216;pt&#8217;, &#8216;<abbr title="Inch">in</abbr>&#8216;, &#8216;<abbr title="Centi Meter">cm</abbr>&#8216;, &#8216;<abbr title="Milli Meter">mm</abbr>&#8216; etc</p>
<p><strong>Q : What is the advantage of having a Relative Size set for a font ?</strong></p>
<p>With every modern browser, you have the capability to change the text size of a given web page you are viewing.<br />
If you are using Firefox, it is available in the toolbar (View > Text Size > Increase ) or in Internet Explorer, it is available in toolbar (View > Text Size > Larger )</p>
<p>If your website&#8217;s CSS defines the page element&#8217;s font-size in relative units (such as em, ex or px), then the browser will show the page in a bigger font size.<br />
else, the page always shows up with the same sized font, no matter what you change in the browser settings.</p>
<p>So, if you want to have a web page, that is readable by those people with minor visual impairment, you should use relative units for the font size.<br />
If you are a theme author, you make sure, your theme uses them as much as possible, so the sites using your theme are accessible to everyone.</p>
<p>Thats all folks, for now.</p>
<p>Further Reading:<br />
1. <a href="http://www.w3.org/QA/Tips/font-size" target="_blank">W3C&#8217;s Tips</a>.<br />
2. <a href="http://www.w3.org/TR/REC-CSS2/syndata.html#length-units" target="_blank">CSS2 Syntax</a></p>
]]></content:encoded>
			<wfw:commentRss>http://wpthemetips.com/font-sizes-and-accessibility/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working with Pages in WordPress</title>
		<link>http://wpthemetips.com/working-with-pages-in-wordpress/</link>
		<comments>http://wpthemetips.com/working-with-pages-in-wordpress/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 17:16:55 +0000</pubDate>
		<dc:creator>Sadish</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[exclude]]></category>
		<category><![CDATA[header]]></category>
		<category><![CDATA[hide]]></category>
		<category><![CDATA[include]]></category>
		<category><![CDATA[menu_order]]></category>
		<category><![CDATA[pages]]></category>
		<category><![CDATA[parameters]]></category>
		<category><![CDATA[show]]></category>
		<category><![CDATA[sort_column]]></category>
		<category><![CDATA[wp_list_pages]]></category>

		<guid isPermaLink="false">http://wpthemetips.com/working-with-pages-in-wordpress/</guid>
		<description><![CDATA[WordPress allows you to create &#8216;Pages&#8217; within the wordpress blog.
Anytime you want to write something like an about page / a contact page / an article page, you would use this feature.
Most of our themes displays a list of pages as navigational elements at the top. We use the wp_list_pages() method, so any new page [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress allows you to create &#8216;Pages&#8217; within the wordpress blog.<br />
Anytime you want to write something like an about page / a contact page / an article page, you would use this feature.</p>
<p>Most of <a href="http://sadish.net/wordpress-themes/" title="our themes">our themes</a> displays a list of pages as navigational elements at the top. We use the <code>wp_list_pages()</code> method, so any new page you create, will automatically display in that navigation. </p>
<p>I would like to present a few of the most common questions people ask, when they use one of our themes.</p>
<ol>
<li>How to hide certain pages from the navigation ?</li>
<li>How to display the pages in a different order ?</li>
<li>Why is my child page, is not listed in the navigation ? etc.</li>
</ol>
<p><span id="more-44"></span><br />
<code>wp_list_pages()</code> &#8211; is the wordpress method that generates a list of &#8216;links to pages&#8217;.<br />
Something like<br />
<code><br />
&lt;li class=&quot;page_item&quot;&gt;&lt;a href=&quot;http://wpthemepark.com/about/&quot; title=&quot;About&quot;&gt;About&lt;/a&gt;&lt;/li&gt;<br />
&lt;li class=&quot;page_item&quot;&gt;&lt;a href=&quot;http://wpthemepark.com/archives/&quot; title=&quot;Archives&quot;&gt;Archives&lt;/a&gt;&lt;/li&gt;<br />
&lt;li class=&quot;page_item&quot;&gt;&lt;a href=&quot;http://wpthemepark.com/contact/&quot; title=&quot;Contact&quot;&gt;Contact&lt;/a&gt;&lt;/li&gt;<br />
</code></p>
<p>We can call this method using different set of arguments.</p>
<p>Lets look at the Question 1 :</p>
<h3>How to hide certain pages from the navigation ?</h3>
<p>Suppose you wanted to hide &#8216;about&#8217; and &#8216;contact&#8217; pages from the top navigation.<br />
1. You login to your wordpress blog, and go to &#8216;Manage&#8217; -&gt; Pages<br />
2. You would see the list of all pages you created.<br />
3. Note down the Page Ids, the numbers on the left side of the Page Names, like 2 and 4.<br />
4. Now we have to modify the call to wp_list_pages in the header.php (Have a backup of this file if you want to go back to the original state) .<br />
5. Find wp_list_pages within this file.<br />
6. Add an additional argument &#8220;exclude=2,4&#8243; to that.<br />
<code><br />
&lt;?php wp_list_pages('title_li=&amp;depth=1&amp;exclude=2,4');?&gt;<br />
</code></p>
<p>Thats it. These pages will not get displayed in the top navigation.</p>
<p>Lets look at the Question 2 :</p>
<h3>How to display the pages in a different order ?</h3>
<p>1. You login to your wordpress blog, and go to &#8216;Manage&#8217; -&gt; Pages<br />
2. Click on &#8216;Edit&#8217; on the page you wanted to be first in the navigation.<br />
3. On the right hand side, you will see &#8216;Page Order&#8217; box.<br />
4. Expand that box, enter &#8216;1&#8242; as the value.<br />
5. Again go back to &#8216;Manage&#8217; &#8211; &gt; Pages<br />
6. Click on Edit on the page you wanted to be second in the navigation<br />
7. On the right hand side, enter &#8216;2&#8242; for the Page Order.<br />
8. Now we have to modify the call to wp_list_pages in the header.php (Have a backup of this file if you want to go back to the original state) .<br />
9. Find wp_list_pages within this file.<br />
10. Add an additional argument &#8220;sort_column=menu_order&#8221; to that.<br />
<code><br />
&lt;?php wp_list_pages ('title_li=&amp;depth=1&amp; sort_column=menu_order');?&gt;<br />
</code></p>
<p>Thats it. Your Pages list will be sorted in that order.</p>
<p>Lets look at the Question 1 :</p>
<h3>Why is my child page, is not listed in the navigation ? </h3>
<p>Because our themes are defined in such a way that it only displays top level pages in the navigation.</p>
<p>You might have seen &#8220;depth=1&#8243; as an argument in the examples presented above.This argument makes the child pages to be not displayed in the top navigation.</p>
<p>Thats all for now, folks.<br />
[Reposted from one of my other sites]</p>
]]></content:encoded>
			<wfw:commentRss>http://wpthemetips.com/working-with-pages-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to properly hide the title of your blog?</title>
		<link>http://wpthemetips.com/how-to-properly-hide-the-title-of-your-blog/</link>
		<comments>http://wpthemetips.com/how-to-properly-hide-the-title-of-your-blog/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 17:10:10 +0000</pubDate>
		<dc:creator>Sadish</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[feed:]]></category>
		<category><![CDATA[header]]></category>
		<category><![CDATA[hide title]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://wpthemetips.com/how-to-properly-hide-the-title-of-your-blog/</guid>
		<description><![CDATA[This is one of the most common customizations that people want to do in their wordpress blog.
They want to hide their site&#8217;s title from displaying at their header. It is most probably because their header image already has it as part of the image itself.
Lets take a look at the most common approaches people take, [...]]]></description>
			<content:encoded><![CDATA[<p>This is one of the most common customizations that people want to do in their wordpress blog.</p>
<p>They want to hide their site&#8217;s title from displaying at their header. It is most probably because their header image already has it as part of the image itself.</p>
<p>Lets take a look at the most common approaches people take, for doing this.</p>
<h2>Approach (1) : Delete the blog&#8217;s Title through Options Page</h2>
<p>People go ahead and login to their wordpress, click on the Options and they look at the text box with the label &#8220;Weblog Title&#8221;. They just clear the text in that box and click on &#8220;Update Options&#8221;.<br />
Start from<br />
<a href='/wp-content/uploads/2008/02/optionspage1.jpg' title='optionspage1.jpg' target='_blank'><img src='/wp-content/uploads/2008/02/optionspage1.thumbnail.jpg' alt='optionspage1.jpg' /><br/>Click to Zoom!</a><br />
and make it look like<br />
<a href='/wp-content/uploads/2008/02/optionspage2.jpg' title='optionspage2.jpg' target='_blank'><img src='/wp-content/uploads/2008/02/optionspage2.thumbnail.jpg' alt='optionspage2.jpg' /><br/>Click to Zoom!</a></p>
<p>Wow ! That seems to work., isn&#8217;t it ?</p>
<p>Wait a minute, lets take a closer look !<br />
As a result of your change, the following undesirable effects were created.<br />
<span id="more-39"></span><br />
<strong>Issue #1 : Search Engines do not see the site&#8217;s title</strong></p>
<p>You only intended your site&#8217;s title to hide from your vistor&#8217;s eyes, but now even search engine&#8217;s can not see your site&#8217;s title.<br />
A site&#8217;s title enclosed in &lt;h1&gt; and &lt;/h1&gt; tags, is one of the main things, search engines look at when they crawl around your site.<br />
If the search engines do not know your site&#8217;s title, how will they display your site as part of any search results.?</p>
<p><strong>Issue #2 : Site Title does not appear in the browser&#8217;s top bar</strong></p>
<p><img src='/wp-content/uploads/2008/02/no-title-in-the-browser.jpg' alt='no-title-in-the-browser.jpg' class="centered" /><br />
If the user has opened many browser windows or browser tabs, he/she may not be able to find the window/tab that your website is on.</p>
<p><strong>Issue #3 : Site&#8217;s Feeds do not display a title, either</strong></p>
<p>If the user subscribes to your RSS Feeds, they also do not display your site&#8217;s title.<br />
<img src='/wp-content/uploads/2008/02/no-title-for-feeds.jpg' alt='no-title-for-feeds.jpg' class="centered" /><br />
Some feed reader softwares also reject feeds that do not have a title.</p>
<p>Oh my God! This approach has some serious issues, isn&#8217;t it ?</p>
<h2>Approach (2) : Delete the line from header.php</h2>
<p>Somewhat knowledgeable users open up the header.php in the theme directory. They know what is the line that causes the title to display in the header.<br />
They just look for</p>
<p><code>&lt;h1&gt;&lt;a href=&quot;&lt;?php bloginfo('siteurl');?&gt;/&quot; title=&quot;&lt;?php bloginfo('name');?&gt;&quot;&gt;&lt;?php bloginfo('name');?&gt;&lt;/a&gt;&lt;/h1&gt;</code></p>
<p>and delete the whole line or make it </p>
<p><code>&lt;h1&gt;&lt;/h1&gt;</code></p>
<p>Yes. Now the site&#8217;s title do not appear in their header and they are happy !</p>
<p>Wait, They will still have the Issue #1 as we discussed for Approach #1.</p>
<h2>Approach (3) : Hiding it through CSS Style definition</h2>
<p>If we really think about the problem at hand, it is very simple. We want to hide the site&#8217;s title from the header of the site, as we already have the site&#8217;s title as part of the header image.<br />
We only have to hide it from people browsing the site in the browser, and not from the search engines or feed readers.<br />
Lets take a look at the CSS based solution for this.</p>
<p>Add</p>
<p><code>#header h1 { display:none }</code></p>
<p>at the end of style.css and save it.</p>
<p>Now let&#8217;s refresh the site and see if the title is hidden. It is still showing up? You have to clear your browser&#8217;s cache and refresh the page again.</p>
<p>Ok&#8230;Now it seems to work !</p>
<p>Is there any of the Issues 1, 2 and 3 as we discussed earlier ? </p>
<p>Nope !</p>
<p>Well, may be this is the proper way to hide the site&#8217;s title from the header ?</p>
<p>I believe so !</p>
<p><strong>Disclaimer :</strong></p>
<p>This would work in most of the wordpress themes [at least <a href="http://sadish.net/wordpress-themes/" title="Sadish's Themes" target="_blank">the ones that I created</a>]. If it does not work in one of my themes, please go to <a href="http://wpthemetips.com/forums/" title="WordPress Theme Support by Sadish" target="_blank">Support Forums for my themes</a> and if it is someone else&#8217;s theme, please contact the author of that theme.<br />
Commenting on this post for help with your site, is <strong>not recommended</strong>.</p>
<p>Thanks.<br />
[Reposted from one of my other sites]</p>
]]></content:encoded>
			<wfw:commentRss>http://wpthemetips.com/how-to-properly-hide-the-title-of-your-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sidebar drops down</title>
		<link>http://wpthemetips.com/sidebar-drops-down/</link>
		<comments>http://wpthemetips.com/sidebar-drops-down/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 13:21:44 +0000</pubDate>
		<dc:creator>Sadish</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[sidebar]]></category>
		<category><![CDATA[valid code]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://wpthemetips.com/sidebar-drops-down/</guid>
		<description><![CDATA[Lets take a look at one of the most common problems with the wordpress sites.
<strong>
The sidebar does not stay on the side, and it falls down to be below the content area.
</strong>]]></description>
			<content:encoded><![CDATA[<p>[Reposted from one of my other sites]<br />
Lets take a look at one of the most common problems with the wordpress sites.<br />
<strong><br />
The sidebar does not stay on the side, and it falls down to be below the content area.<br />
</strong></p>
<p>and the thing is, it is not consistently doing so. Sometimes it is just happening in <abbr title="Internet Explorer">IE</abbr> and sometimes it happens only on certain posts or only on homepage.</p>
<p>Here are the list of things you can do to fix that.</p>
<p><strong>Step 1. Validate !</strong><br />
This is the most common cause for this issue. Try to validate the page that has this issue, at <a href="http://validator.w3.org" target="_blank">W3C&#8217;s Validator</a>.<br />
Once you fix the issues found by the validator, Refresh the page and see if the problem is gone.<br />
If not, go to step 2.</p>
<p><strong>Step 2. Check your Images Width</strong><br />
The next cause could be, your images are wider than the &#8216;main content&#8217; div (usually #content in most of the themes).<br />
If it is OK, try to resize the image to fit within the content DIV.<br />
May be, you can give a smaller size image on the page, and the full-size image can be hyperlinked to that small image. This also helps in faster loading of your page.</p>
<p>If the problem persists, go to Step 3.</p>
<p><strong>Step 3. Reduce the size of the &#8216;Content Area&#8217;</strong></p>
<p>You can open up your style.css and look for the &#8216;width&#8217; definitions for #content and/or #sidebar.<br />
Try to reduce the width by 5px or 10px or 15px or 20px or 25px till you get things right.<br />
(Most Layouts will still look good, after reducing the width by this method.)</p>
<p>Most cases would be solved by now. (If you guys have any other suggestions, please let me know).<br />
Thats all for now, folks !</p>
]]></content:encoded>
			<wfw:commentRss>http://wpthemetips.com/sidebar-drops-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing the direction of this website !</title>
		<link>http://wpthemetips.com/changing-the-direction-of-this-website/</link>
		<comments>http://wpthemetips.com/changing-the-direction-of-this-website/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 01:39:15 +0000</pubDate>
		<dc:creator>Sadish</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Notes]]></category>

		<guid isPermaLink="false">http://wpthemetips.com/2008/02/12/changing-the-direction-of-this-website/</guid>
		<description><![CDATA[I was not able to sit and complete the book that I am supposed to be writing. I know &#8220;it will never be complete&#8221;.
If I take 3 months to write this book, then the next version of WordPress will be released and I might have to rewrite the whole thing [or at least some portions [...]]]></description>
			<content:encoded><![CDATA[<p>I was not able to sit and complete the book that I am supposed to be writing. I know &#8220;it will never be complete&#8221;.<br />
If I take 3 months to write this book, then the next version of <a href="http://wordpress.org" title="WordPress">WordPress</a> will be released and I might have to rewrite the whole thing [or at least some portions of the book] again.</p>
<p>Also, it would be hard to come up with something that covers every aspect of WordPress. I know I am only proficient on the theme development, but have limited knowledge on things like Plugins and the various hooks WordPress exposes.</p>
<p>Also I have never used <a href="http://mu.wordpress.org" title="WordPress MultiUser Edition">WordPress MU</a> [Multi User], it might be hard for me to cover that topic too.</p>
<p>Considering all of the above, I would like to say, <em>this book is not going to be published for now.</em></p>
<p>So I have decided to take a different direction for this website. Please stay tuned and see where we take it off !</p>
<p>Thanks.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpthemetips.com/changing-the-direction-of-this-website/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
