<?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 Theme Park &#187; Common Theme Issues</title>
	<atom:link href="http://wpthemepark.com/tags/common-theme-issues/feed" rel="self" type="application/rss+xml" />
	<link>http://wpthemepark.com</link>
	<description>One-Stop location for latest news on wordpress themes</description>
	<lastBuildDate>Thu, 11 Aug 2011 22:40:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to properly hide the title of your blog?</title>
		<link>http://wpthemepark.com/2007/07/09/how-to-properly-hide-the-title-of-your-blog.html</link>
		<comments>http://wpthemepark.com/2007/07/09/how-to-properly-hide-the-title-of-your-blog.html#comments</comments>
		<pubDate>Mon, 09 Jul 2007 15:57:11 +0000</pubDate>
		<dc:creator>Sadish</dc:creator>
				<category><![CDATA[CSS Tips]]></category>
		<category><![CDATA[Common Theme Issues]]></category>
		<category><![CDATA[WordPress Tips]]></category>

		<guid isPermaLink="false">http://wpthemepark.com/2007/07/09/how-to-properly-hide-the-title-of-your-blog.html</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='http://wpthemepark.com/wp-content/uploads/2007/07/optionspage1.jpg' title='optionspage1.jpg' target='_blank'><img src='http://wpthemepark.com/wp-content/uploads/2007/07/optionspage1.thumbnail.jpg' alt='optionspage1.jpg' /><br/>Click to Zoom!</a><br />
and make it look like<br />
<a href='http://wpthemepark.com/wp-content/uploads/2007/07/optionspage2.jpg' title='optionspage2.jpg' target='_blank'><img src='http://wpthemepark.com/wp-content/uploads/2007/07/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.</p>
<p><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='http://wpthemepark.com/wp-content/uploads/2007/07/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='http://wpthemepark.com/wp-content/uploads/2007/07/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://wprocks.com/free-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://wprocks.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.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpthemepark.com/2007/07/09/how-to-properly-hide-the-title-of-your-blog.html/feed</wfw:commentRss>
		<slash:comments>116</slash:comments>
		</item>
		<item>
		<title>Sidebar drops down !</title>
		<link>http://wpthemepark.com/2006/10/13/sidebar-drops-down.html</link>
		<comments>http://wpthemepark.com/2006/10/13/sidebar-drops-down.html#comments</comments>
		<pubDate>Fri, 13 Oct 2006 14:08:40 +0000</pubDate>
		<dc:creator>Sadish</dc:creator>
				<category><![CDATA[Common Theme Issues]]></category>
		<category><![CDATA[WordPress Tips]]></category>

		<guid isPermaLink="false">http://wpthemepark.com/2006/10/13/sidebar-drops-down.html</guid>
		<description><![CDATA[Lets take a look at one of the most common problems with the wordpress sites.

The sidebar does not stay on the side, and it falls down to be below the content area.

and the thing is, it is not consistently doing so. Sometimes it is just happening in IE and sometimes it happens only on certain [...]]]></description>
			<content:encoded><![CDATA[<p>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://wpthemepark.com/2006/10/13/sidebar-drops-down.html/feed</wfw:commentRss>
		<slash:comments>45</slash:comments>
		</item>
		<item>
		<title>Working with Pages in WordPress</title>
		<link>http://wpthemepark.com/2006/09/26/working-with-pages-in-wordpress.html</link>
		<comments>http://wpthemepark.com/2006/09/26/working-with-pages-in-wordpress.html#comments</comments>
		<pubDate>Tue, 26 Sep 2006 15:09:23 +0000</pubDate>
		<dc:creator>Sadish</dc:creator>
				<category><![CDATA[Common Theme Issues]]></category>
		<category><![CDATA[WordPress Tips]]></category>

		<guid isPermaLink="false">http://wpthemepark.com/2006/09/26/working-with-pages-in-wordpress.html</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="/themes/" title="our themes">our themes</a> displays a list of pages as navigational elements at the top. We use the wp_list_pages() 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-48"></span><br />
wp_list_pages() &#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>I will come back with more tips later.<br />
Thats all for now, folks.<br />
Thanks.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpthemepark.com/2006/09/26/working-with-pages-in-wordpress.html/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Image Overflow Issue</title>
		<link>http://wpthemepark.com/2006/08/21/image-overflow-issue-2.html</link>
		<comments>http://wpthemepark.com/2006/08/21/image-overflow-issue-2.html#comments</comments>
		<pubDate>Mon, 21 Aug 2006 14:25:23 +0000</pubDate>
		<dc:creator>Sadish</dc:creator>
				<category><![CDATA[Common Theme Issues]]></category>

		<guid isPermaLink="false">http://wpthemepark.com/2006/08/21/image-overflow-issue-2.html</guid>
		<description><![CDATA[Andy is giving a solution for the most common issue among many themes. Whenever an image in the post, is too big for the content &#8216;div&#8217;, it breaks the layout and make the sidebar to shift down, thus making a bad-looking website.
The solution to this &#8216;most common issue&#8217; is to add a stylesheet declaration &#8220;overflow:hidden&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://andy.wordpress.com/">Andy</a> is giving a solution for the most common issue among many themes. Whenever an image in the post, is too big for the content &#8216;div&#8217;, it breaks the layout and make the sidebar to shift down, thus making a bad-looking website.</p>
<p>The solution to this &#8216;most common issue&#8217; is to add a stylesheet declaration &#8220;overflow:hidden&#8221; to any of the &#8216;div&#8217;s that is going to have an image.</p>
<p>Read More at his website at <a href="http://andy.wordpress.com/2006/08/14/defective-themes-image-width/" target="_blank">Defective Themes Image Width</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpthemepark.com/2006/08/21/image-overflow-issue-2.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

