<?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>WP Pro - Design, Development and Professional WordPress Hosting for Serious Bloggers &#187; JavaScript</title>
	<atom:link href="http://www.wppro.org/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wppro.org</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 07 May 2010 18:36:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Anatomy of a Magazine Style Premium WordPress Theme &#8211; Part 3.1 &quot;Navigation – Second Level Menu&quot;</title>
		<link>http://www.wppro.org/2008/02/anatomy-of-a-magazine-style-premium-wordpress-theme-part-31-navigation-%e2%80%93-second-level-menu/</link>
		<comments>http://www.wppro.org/2008/02/anatomy-of-a-magazine-style-premium-wordpress-theme-part-31-navigation-%e2%80%93-second-level-menu/#comments</comments>
		<pubDate>Tue, 12 Feb 2008 03:22:47 +0000</pubDate>
		<dc:creator>Sunny</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Magazine Style WordPress Themes]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Search Engine Optimization]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Tag]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Web Sites]]></category>
		<category><![CDATA[WP]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.headsetoptions.org/2008/02/11/anatomy-of-a-magazine-style-premium-wordpress-theme-part-31-navigation-%e2%80%93-second-level-menu/</guid>
		<description><![CDATA[This tutorial is running longer than we initially anticipated, we will break section 3 further into sub-sections. In our ongoing exercise to learn the nuts and bolts of a magazine style WordPress theme, we examine what has become by far the most ignored part of a theme design, the navigation menu. As important as they [...]]]></description>
			<content:encoded><![CDATA[<p class="note">This tutorial is running longer than we initially anticipated, we will break section 3 further into sub-sections.</p>
<p>In our ongoing <a href="http://www.wppro.org/2008/01/04/anatomy-of-a-magazine-style-premium-wordpress-theme-prelude/">exercise</a> to learn the <a href="http://www.wppro.org/2008/01/11/anatomy-of-a-magazine-style-premium-wordpress-theme-part-1-the-loop/">nuts</a> and <a href="http://www.wppro.org/2008/01/19/anatomy-of-a-magazine-style-premium-wordpress-theme-part-2-domtab-tabber-more/">bolts</a> of a magazine style WordPress theme, we examine what has become by far the most ignored part of a theme design, the navigation menu.</p>
<p><img src="http://i71.photobucket.com/albums/i136/headsetop/menuexample2.jpg" alt="revolution magazine style theme menu" align="left" />As important as they are, they are often found floating in the header or worse the sidebar and almost never used to its fullest. Today we will attempt to change that. We are dedicating the next few sections just to discuss navigation menus, its varied uses, and the various methods of using it. So why wait, let&#8217;s get started.</p>
<h3>Why are Navigation Menus Important?</h3>
<p>There are three important roles of navigation menus, they are listed below in no particular order:</p>
<ul>
<li>It acts as the gateway to sections of the site you want your visitors/users to explore</li>
<li>When designed correctly, it aids as a visual sitemap</li>
<li>When used correctly, it enhances usability of your site and helps in SEO</li>
</ul>
<h3>How are Navigation Menus in Magazine Style Themes Different from Regular Themes?</h3>
<p>If you notice closely, most regular themes have pages listed in blocks in the header or the sidebar and call it navigation. For all practical purpose, it works, and we are all complacent with it. In WordPress, there are numerous pages that are dynamically created like the archives, category pages, paginated pages, search pages and so on that are traditionally are not considered pages when you create a list using the template tag such as the one below:</p>
<pre name="code" class="xhtml">
	&lt;?php wp_list_pages('sort_column=menu_order&amp;depth=1&amp;title_li='); ?&gt;
</pre>
<p>In fact, the above tag does not display any child pages! So how do overcome this limitation?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wppro.org/2008/02/anatomy-of-a-magazine-style-premium-wordpress-theme-part-31-navigation-%e2%80%93-second-level-menu/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Anatomy of a Magazine Style Premium WordPress Theme &#8211; Part 1 &quot;The Loop&quot;</title>
		<link>http://www.wppro.org/2008/01/anatomy-of-a-magazine-style-premium-wordpress-theme-part-1-the-loop/</link>
		<comments>http://www.wppro.org/2008/01/anatomy-of-a-magazine-style-premium-wordpress-theme-part-1-the-loop/#comments</comments>
		<pubDate>Fri, 11 Jan 2008 21:31:20 +0000</pubDate>
		<dc:creator>Sunny</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Resources]]></category>
		<category><![CDATA[Techniques]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Magazine Style WordPress Themes]]></category>
		<category><![CDATA[Tag]]></category>
		<category><![CDATA[Toolbox]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.headsetoptions.org/2008/01/11/anatomy-of-a-magazine-style-premium-wordpress-theme-part-1-the-loop/</guid>
		<description><![CDATA[Let me say it for the millionth time &#8220;content is king&#8221; and we all know that, don&#8217;t we? Since content is the most important part of a site, your WordPress powered theme must emphasis on content presentation. Most cookie cutter themes come with a post list that runs based on the time your posts were [...]]]></description>
			<content:encoded><![CDATA[<p>Let me say it for the millionth time &#8220;content is king&#8221; and we all know that, don&#8217;t we?</p>
<div class="span-8">
<img src="http://i71.photobucket.com/albums/i136/headsetop/featuredpost.jpg" alt="featured wordpress posts"/>
</div>
<div class="span-8 last">
<p>Since content is the most important part of a site, your WordPress powered theme must emphasis on content presentation. Most cookie cutter themes come with a post list that runs based on the time your posts were published, in other words a chronological list of posts irrespective of its importance. Let&#8217;s face it, not all posts are created equal. Some posts are special, some are important and then some not quite so. Why then should all posts get the same treatment?</p>
<p>Magazine styled themes do a fine job of addressing this by introducing the featured posts option. Posts of a certain category got &#8220;top of the page&#8221; real-estate, which helps the site highlight the more important content.</p>
</div>
<p>Creating such category specific presentation  on demand requires both PHP script manipulation within the <a href="http://codex.wordpress.org/The_Loop" target="_blank" rel="nofollow">WordPress Loop</a> and some changes to the CSS stylesheet. In continuing with <a href="http://www.wppro.org/2008/01/04/anatomy-of-a-magazine-style-premium-wordpress-theme-prelude/">the series on dissecting magazine style themes</a>, we will attempt three hacks that will allow you to do the following:</p>
<ol>
<li>Create a featured post that is displayed at the very top of the page, followed by regular posts; all of which happens taking into consideration the pagination aspects of the site so as to not repeat the featured post on every paginated page.</li>
<li>Create a simple featured and non-featured posts distinction using minimal PHP hack, keeping it simple enough so as to not worry about pagination.</li>
<li>Create asides to highlight useful bits of information without hogging potentially critical presentation real-estate, or in other words, creating non-intrusive side posts without using a plugin.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.wppro.org/2008/01/anatomy-of-a-magazine-style-premium-wordpress-theme-part-1-the-loop/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
	</channel>
</rss>

