<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>The WordPress Guru</title>
	
	<link>http://wpguru.co.za</link>
	<description>Tips &amp; Pointers on Making a Killer CMS with WordPress</description>
	<lastBuildDate>Fri, 05 Sep 2008 07:47:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/wpguru" /><feedburner:info uri="wpguru" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Controlling the visibility of content with custom fields</title>
		<link>http://feedproxy.google.com/~r/wpguru/~3/ihM4fCuf4Oo/</link>
		<comments>http://wpguru.co.za/page/controlling-the-visibility-of-content-with-custom-fields/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 07:47:56 +0000</pubDate>
		<dc:creator>MarkB</dc:creator>
				<category><![CDATA[Page]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[custom fields]]></category>

		<guid isPermaLink="false">http://wpguru.co.za/?p=78</guid>
		<description><![CDATA[I've just finished a project for a client who wanted an interesting feature on his site. He wanted a block of content to be turned on and off whenever he needed it. So when he wanted to promote something, he wanted to add some content and have it display until he was ready to 'turn it off'. I came up with a unique means of doing this using custom fields. Here's how you can achieve this:]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just finished a project for <a href="http://www.worldwideworx.com">a client</a> who wanted an interesting feature on his site. He wanted a block of content to be turned on and off whenever he needed it. So when he wanted to promote something, he wanted to add some content and have it display until he was ready to &#8216;turn it off&#8217;. I came up with a unique means of doing this using custom fields. Here&#8217;s how you can achieve this:</p>
<h3>The Content</h3>
<p>Firstly create your page in WordPress that you&#8217;ll use as your toggle-able content page. Add your title and content and then add a custom field like <code>active</code> and set the value to <code>yes</code>.</p>
<p><strong>SIDENOTE</strong>: It might be a good idea to set the slug of this page to something generic like /info/. This way, if the content has a &#8216;Read More&#8217; link of sorts, the client wont have to continually change the <code>slug</code> each time he changes the title of this content area.</p>
<p>Now you&#8217;re done in the WP Admin, now you can get into your WP <code>PHP</code> template file where this toggle-able content will display.</p>
<h3>The Functionality</h3>
<p>Basically what you&#8217;re going to create, is a code snippet that will query the page ID of the page you created above, but before displaying the content of that page, it&#8217;ll check if the custom field value is set to yes. If it&#8217;s not, then no content will display, if its set to yes, then&#8230; well you can guess what&#8217;ll happen <img src='http://wpguru.co.za/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3>The Code</h3>

<div class="wp_syntax"><div class="code"><pre class="php"><span style="color: #000000; font-weight: bold;">&lt;?</span> <span style="color: #ff0000">$recentPosts</span> <span style="color: #66cc66;">=</span> <span style="color: #000000; font-weight: bold;">new</span> WP_Query<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span> <span style="color: #ff0000">$recentPosts</span><span style="color: #66cc66;">-&gt;</span><span style="color: #006600;">query</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'page_id=73'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span> <span style="color: #b1b100;">while</span> <span style="color: #66cc66;">&#40;</span><span style="color: #ff0000">$recentPosts</span><span style="color: #66cc66;">-&gt;</span><span style="color: #006600;">have_posts</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">:</span> <span style="color: #ff0000">$recentPosts</span><span style="color: #66cc66;">-&gt;</span><span style="color: #006600;">the_post</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?</span> <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>get_post_meta<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">73</span><span style="color: #66cc66;">,</span> <span style="color: #ff0000;">'active'</span><span style="color: #66cc66;">,</span> <span style="color: #000000; font-weight: bold;">true</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">==</span> <span style="color: #ff0000;">&quot;yes&quot;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
	<span style="color: #66cc66;">&lt;</span>h3<span style="color: #66cc66;">&gt;&lt;</span>? the_title<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span> ?<span style="color: #66cc66;">&gt;&lt;/</span>h3<span style="color: #66cc66;">&gt;</span>
	<span style="color: #000000; font-weight: bold;">&lt;?</span> the_content<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?</span> <span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span> <span style="color: #66cc66;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?</span> <span style="color: #b1b100;">endwhile</span><span style="color: #66cc66;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>And that&#8217;s that. It&#8217;s a pretty simple trick and you should be able to apply the principle to a number of circumstances.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpguru.co.za/page/controlling-the-visibility-of-content-with-custom-fields/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		<feedburner:origLink>http://wpguru.co.za/page/controlling-the-visibility-of-content-with-custom-fields/</feedburner:origLink></item>
		<item>
		<title>WordCamp South Africa</title>
		<link>http://feedproxy.google.com/~r/wpguru/~3/tWDfsnq6rzA/</link>
		<comments>http://wpguru.co.za/general-news/wordcamp-south-africa/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 12:50:03 +0000</pubDate>
		<dc:creator>MarkB</dc:creator>
				<category><![CDATA[General News]]></category>

		<guid isPermaLink="false">http://wpguru.co.za/?p=73</guid>
		<description><![CDATA[It&#8217;s less than a week to go until WordCamp South Africa. After a lot of build up and a huge amount of work from, amongst others, Radiiate and Younique, WordCamp SA looks to be a hot event. I&#8217;m looking forward to meeting some of the big names in South African blogging, designing and developing. Mr [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.wordcamp.co.za"><img class="alignright size-full wp-image-74" title="wordcamp" src="http://wpguru.co.za/wp-content/uploads/wordcamp.jpg" alt="" width="351" height="116" /></a>It&#8217;s less than a week to go until <a href="http://www.wordcamp.co.za/">WordCamp South Africa</a>. After a lot of build up and a huge amount of work from, amongst others, <a href="http://www.radiiate.com/">Radiiate</a> and <a href="http://www.younique.co.za/">Younique</a>, WordCamp SA looks to be a hot event. I&#8217;m looking forward to meeting some of the big names in South African blogging, designing and developing. Mr WordPress himself, Matt Mullenweg is going to be there and will add a lot of cred to the event.</p>
<p>Be sure to register for the event at <a href="http://www.wordcamp.co.za">www.wordcamp.co.za</a></p>
]]></content:encoded>
			<wfw:commentRss>http://wpguru.co.za/general-news/wordcamp-south-africa/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://wpguru.co.za/general-news/wordcamp-south-africa/</feedburner:origLink></item>
		<item>
		<title>Custom header images for WordPress Pages</title>
		<link>http://feedproxy.google.com/~r/wpguru/~3/CZkHRr9yi8E/</link>
		<comments>http://wpguru.co.za/header/custom-header-images-for-wordpress-pages/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 12:27:53 +0000</pubDate>
		<dc:creator>MarkB</dc:creator>
				<category><![CDATA[Header]]></category>
		<category><![CDATA[Page]]></category>
		<category><![CDATA[Single]]></category>
		<category><![CDATA[Styling]]></category>
		<category><![CDATA[Admin]]></category>
		<category><![CDATA[custom field]]></category>
		<category><![CDATA[custom header]]></category>
		<category><![CDATA[image]]></category>

		<guid isPermaLink="false">http://wpguru.co.za/?p=72</guid>
		<description><![CDATA[I've had a recent request regarding a popular tweak for WordPress - that is, to add custom page header images to any page in WordPress. There are one or two plugins that do this, but with a bit of creativity you can accomplish this very easily using WordPress custom fields and it's built in image uploader. Here's how:]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had a <a href="http://www.jasonbagley.com/">recent request</a> regarding a popular tweak for WordPress &#8211; that is, to add custom page header images to any page in WordPress. There are one or two plugins that do this, but with a bit of creativity you can accomplish this very easily using WordPress custom fields and it&#8217;s built in image uploader. Here&#8217;s how:</p>
<h3>The basics</h3>
<p>You&#8217;re basically going to setup a number of if/else statements in your template where you want your header image to appear. The final statement will be an else statement so that if none of the above rules apply, it&#8217;ll degrade so that you&#8217;ll always have a header image on your page.</p>
<p>You&#8217;re going to create a custom field that has the name of the image that you want to use as a header image. You don&#8217;t have to add the full path to the image. Since you&#8217;re uploading your custom image in the WordPress uploader, it&#8217;ll always end up in the same folder and so the path to the image will be entered in the template.</p>
<h3>The how-to</h3>
<p>So firstly create your image, and upload it to your page.</p>
<p>Then add a custom field called &#8220;header&#8221; and put the name of the file as the value of the field.</p>
<p><img class="aligncenter size-full wp-image-71" title="customfield1" src="http://wpguru.co.za/wp-content/uploads/customfield1.jpg" alt="" width="500" height="194" /></p>
<p>Then open up your template where you want your image to appear and add the following PHP &#8211; tailored to work as you need it to&#8230;</p>

<div class="wp_syntax"><div class="code"><pre class="php"><span style="color: #000000; font-weight: bold;">&lt;?</span> <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>get_post_meta<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000">$post</span><span style="color: #66cc66;">-&gt;</span><span style="color: #006600;">ID</span><span style="color: #66cc66;">,</span> <span style="color: #ff0000;">'header'</span><span style="color: #66cc66;">,</span> <span style="color: #000000; font-weight: bold;">true</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
	<span style="color: #66cc66;">&lt;</span>img src<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;? bloginfo('url'); ?&gt;/wp-content/uploads/&lt;? echo get_post_meta($post-&gt;ID, 'header', true) ?&gt;&quot;</span> alt<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;? bloginfo('name'); ?&gt;&quot;</span> <span style="color: #66cc66;">/&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?</span> <span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
	<span style="color: #66cc66;">&lt;</span>img src<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;? bloginfo('template_directory'); ?&gt;/images/header.jpg&quot;</span> <span style="color: #66cc66;">/&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?</span> <span style="color: #66cc66;">&#125;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>So what you&#8217;ve now done, is tell the template to check if the custom field &#8220;header&#8221; has a value. If it does, then use that value to display your image. However, if the custom field is empty, then it&#8217;ll degrade to the second default image that you specify.</p>
<p>And presto: you can now use your WP admin to control header images on each page. This is also a good way to do it because now your client can update/add his header images on his own without having to bug you.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpguru.co.za/header/custom-header-images-for-wordpress-pages/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		<feedburner:origLink>http://wpguru.co.za/header/custom-header-images-for-wordpress-pages/</feedburner:origLink></item>
		<item>
		<title>How to reset your WP Password in PHPMyAdmin</title>
		<link>http://feedproxy.google.com/~r/wpguru/~3/8pmrNauitr0/</link>
		<comments>http://wpguru.co.za/database/how-to-reset-your-wp-password-in-phpmyadmin/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 07:21:41 +0000</pubDate>
		<dc:creator>MarkB</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[md5]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[phpmyadmin]]></category>

		<guid isPermaLink="false">http://wpguru.co.za/?p=68</guid>
		<description><![CDATA[I am using XAMPP to run a local version of WP on my machine for theme testing etc. I haven't installed the PHP mail() function because its not a feature I regularly use. This presented a problem when I misplaced my login details for my local WP install and couldn't run the 'Lost Password' feature. However I found a way to reset my WordPress password using a neat website and PHPMyAdmin. Here's how.]]></description>
			<content:encoded><![CDATA[<p>I am using <a href="http://www.apachefriends.org/en/xampp.html">XAMPP</a> to run a local version of WP on my machine for theme testing etc. I haven&#8217;t installed the PHP <code>mail()</code> function because its not a feature I regularly use. This presented a problem when I misplaced my login details for my local WP install and couldn&#8217;t run the &#8216;Lost Password&#8217; feature. However I found a way to reset my WordPress password using a neat website and PHPMyAdmin. Here&#8217;s how.</p>
<p>Firstly, I logged into PHPMyAdmin and browsed the users table. I edited the entry for my &#8216;<code>admin</code>&#8216; account and found the &#8216;<code>user_pass</code>&#8216; field.</p>
<p>This field will by default have an encrypted version of your password, something like <code>$P$BERsVRczS226JkUY29j72YuVSzm3yP/</code> .</p>
<p>Instead of trying to decrypt this, I just generated a new MD5 password and pasted the encrypted version in this field.</p>
<p>I encrypted a new password using the <a href="http://www.iwebtool.com/md5">iWebTool</a> website. Type in the password you&#8217;d like to have, and then click &#8216;Encrypt&#8217;. That then generates your MD5 password. For example I typed in &#8216;<code>wpguru</code>&#8216; as my password and that generated &#8216;<code>f1c061320553d089aa807e975e2a936f</code>&#8216;.</p>
<p><img class="alignnone size-full wp-image-69" title="iwebtool" src="http://wpguru.co.za/wp-content/uploads/iwebtool.jpg" alt="" width="495" height="146" /></p>
<p>All you need to do then is paste that encrytped password into the WP database field and presto, your lost password problem is fixed.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpguru.co.za/database/how-to-reset-your-wp-password-in-phpmyadmin/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		<feedburner:origLink>http://wpguru.co.za/database/how-to-reset-your-wp-password-in-phpmyadmin/</feedburner:origLink></item>
		<item>
		<title>Creating a Static WordPress Front Page</title>
		<link>http://feedproxy.google.com/~r/wpguru/~3/X_Ol7p9vq7c/</link>
		<comments>http://wpguru.co.za/page/creating-a-static-wordpress-front-page/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 08:57:46 +0000</pubDate>
		<dc:creator>MarkB</dc:creator>
				<category><![CDATA[Page]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[front page]]></category>
		<category><![CDATA[loop]]></category>
		<category><![CDATA[query posts]]></category>
		<category><![CDATA[static]]></category>

		<guid isPermaLink="false">http://wpguru.co.za/?p=65</guid>
		<description><![CDATA[This is far from a difficult thing to do. It's actually so easy, its ridiculous. But I see so many people installing plugins and doing really complicated page template hacks to get this right, that I think a post dedicated to this is justified. Here's the 30 second trick to getting a static front page.
]]></description>
			<content:encoded><![CDATA[<p>This is far from a difficult thing to do. It&#8217;s actually so easy, its ridiculous. But I see so many people installing plugins and doing really complicated page template hacks to get this right, that I think a post dedicated to this is justified. Here&#8217;s the 30 second trick to getting a static front page.</p>
<p>Every theme will have an index.php file. The <code>index.php</code> file is your home page. This page will have your loop, that will most often bring in your latest posts etc.</p>
<p>Find this line:</p>

<div class="wp_syntax"><div class="code"><pre class="php"><span style="color: #000000; font-weight: bold;">&lt;?</span> <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>have_posts<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">:</span> <span style="color: #b1b100;">while</span> <span style="color: #66cc66;">&#40;</span>have_posts<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">:</span> the_post<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>and just above it add this line:</p>

<div class="wp_syntax"><div class="code"><pre class="php"><span style="color: #000000; font-weight: bold;">&lt;?</span> query_posts<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'page_id=5'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Note that &#8216;5&#8242; can be changed to whatever page you want to be your home page.</p>
<p>What this does, is generate a specific query that the following loop will carry out. In this case, it will call the content from <code>post_id=5</code>.</p>
<p>Bear in mind that if you have a dynamic WP page list, you&#8217;ll probably want to exclude the page you created to be your home page from your normal page list. You can do this by adding the exclude argument to your page list call. Like so:</p>

<div class="wp_syntax"><div class="code"><pre class="php"><span style="color: #000000; font-weight: bold;">&lt;?</span> wp_list_pages<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'title_li=&amp;sort_column=menu_order&amp;exclude=5'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>And presto, you have a static front page.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpguru.co.za/page/creating-a-static-wordpress-front-page/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		<feedburner:origLink>http://wpguru.co.za/page/creating-a-static-wordpress-front-page/</feedburner:origLink></item>
		<item>
		<title>Using Different Templates for Posts &amp; Pages</title>
		<link>http://feedproxy.google.com/~r/wpguru/~3/HDpuYa-j9A4/</link>
		<comments>http://wpguru.co.za/single/using-different-templates-for-posts-pages/#comments</comments>
		<pubDate>Thu, 12 Jun 2008 13:08:11 +0000</pubDate>
		<dc:creator>MarkB</dc:creator>
				<category><![CDATA[Single]]></category>
		<category><![CDATA[custom fields]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[templatepath]]></category>

		<guid isPermaLink="false">http://wpguru.co.za/?p=62</guid>
		<description><![CDATA[Many times when using a WordPress site to manage static and dynamic content, you'll have need to display posts in very different ways depending on the category they're in. For example, if your site has products in various categories, as well as a blog news category, you'd most likely want to display your product listings and news listings in different ways. Here's how you can do this.]]></description>
			<content:encoded><![CDATA[<p>Many times when using a WordPress site to manage static and dynamic content, you&#8217;ll have need to display posts in very different ways depending on the category they&#8217;re in. For example, if your site has products in various categories, as well as a blog news category, you&#8217;d most likely want to display your product listings and news listings in different ways. Here&#8217;s how you can do this.</p>
<h3>The Template Method</h3>
<p>Whenever WordPress needs to display &#8216;posts&#8217;, it uses the <code>single.php</code> template. What we&#8217;re going to do, is use the <code>single.php</code> file simply to redirect WP to the template it needs to use.</p>
<p>Firstly, remove all the content from your current <code>single.php</code> file and paste it in (for example) &#8216;<code>template-blog.php</code>&#8216;. Then create a second file that you&#8217;ll use as your uniquely styled template, lets say &#8216;<code>template-other.php</code>&#8216;.</p>
<p>Then add the following to your <code>single.php</code> file.</p>

<div class="wp_syntax"><div class="code"><pre class="php"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>in_category<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'20'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
   <span style="color: #b1b100;">include</span><span style="color: #66cc66;">&#40;</span>TEMPLATEPATH <span style="color: #66cc66;">.</span> <span style="color: #ff0000;">'/template-other.php'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span>
<span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span>
   <span style="color: #b1b100;">include</span><span style="color: #66cc66;">&#40;</span>TEMPLATEPATH <span style="color: #66cc66;">.</span> <span style="color: #ff0000;">'/template-blog.php'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span>
<span style="color: #66cc66;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>The above code, is pretty simple to understand. You&#8217;re saying that if, the post being viewed is in category &#8216;20&#8242;, then use the template specified, otherwise revert to the other template &#8216;30&#8242;.</p>
<p>Simple!</p>
<p>You can also string multiple of such statements together using the <code>elseif</code> PHP command, like so:</p>

<div class="wp_syntax"><div class="code"><pre class="php"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>in_category<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'20'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
   <span style="color: #b1b100;">include</span><span style="color: #66cc66;">&#40;</span>TEMPLATEPATH <span style="color: #66cc66;">.</span> <span style="color: #ff0000;">'/template-other.php'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span>
<span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">elseif</span><span style="color: #66cc66;">&#40;</span>in_category<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'30'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
   <span style="color: #b1b100;">include</span><span style="color: #66cc66;">&#40;</span>TEMPLATEPATH <span style="color: #66cc66;">.</span> <span style="color: #ff0000;">'/template-unique.php'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span> 
<span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span>
   <span style="color: #b1b100;">include</span><span style="color: #66cc66;">&#40;</span>TEMPLATEPATH <span style="color: #66cc66;">.</span> <span style="color: #ff0000;">'/template-blog.php'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span>
<span style="color: #66cc66;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>There&#8217;s another method that this can be done.</p>
<h3>The Custom Field Method</h3>
<p>I&#8217;m a big fan of <a href="http://wpguru.co.za/tag/custom-fields/">WordPress custom fields</a> and this is another great method you can use to easily assign templates to specific post categories.</p>
<p>What we&#8217;re going to say, is &#8216;if the custom field &#8216;wide&#8217; exists, then use the specified template, otherwise use the other template. Here&#8217;s how it works:</p>

<div class="wp_syntax"><div class="code"><pre class="php"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>get_post_meta<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000">$post</span><span style="color: #66cc66;">-&gt;</span><span style="color: #006600;">ID</span><span style="color: #66cc66;">,</span> <span style="color: #ff0000;">'wide'</span><span style="color: #66cc66;">,</span> <span style="color: #000000; font-weight: bold;">true</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
   <span style="color: #b1b100;">include</span><span style="color: #66cc66;">&#40;</span>TEMPLATEPATH <span style="color: #66cc66;">.</span> <span style="color: #ff0000;">'/template-other.php'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span>
<span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span>
   <span style="color: #b1b100;">include</span><span style="color: #66cc66;">&#40;</span>TEMPLATEPATH <span style="color: #66cc66;">.</span> <span style="color: #ff0000;">'/template-blog.php'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span>
<span style="color: #66cc66;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>Then when writing/saving your post, all you need to do is add a value of &#8216;yes&#8217; to the template custom field that you&#8217;ll create called &#8216;wide&#8217; and presto, your <code>single.php</code> file will spot the presence of the custom field and use the specified template.</p>
<p>You can of course also use both the above methods within your template if you want to, for example, add or remove certain areas from your page. You can do this by using if/else statements within your template. Like so:</p>
<p>Hopefully, this&#8217;ll give you some more ideas as to how you can further tweak your WP.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpguru.co.za/single/using-different-templates-for-posts-pages/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://wpguru.co.za/single/using-different-templates-for-posts-pages/</feedburner:origLink></item>
		<item>
		<title>Make your own WordPress drop down menu</title>
		<link>http://feedproxy.google.com/~r/wpguru/~3/SEKQqhSNi6Q/</link>
		<comments>http://wpguru.co.za/navigation/make-your-own-wordpress-drop-down-menu/#comments</comments>
		<pubDate>Wed, 07 May 2008 10:18:22 +0000</pubDate>
		<dc:creator>MarkB</dc:creator>
				<category><![CDATA[Navigation]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[drop down]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[menu]]></category>

		<guid isPermaLink="false">http://wpguru.co.za/?p=59</guid>
		<description><![CDATA[When it comes to creating a site that has multi-level navigation, a drop down menu is often your best means of keeping the navigation simple and uncluttered. There are a few plugins that you can use to achieve this, but I've found that many of them make too many assumptions and don't work exactly how I'd like them too. For that reason, I'll detail a simple means of making your own WordPress drop down menu.]]></description>
			<content:encoded><![CDATA[<p>When it comes to creating a site that has multi-level navigation, a drop down menu is often your best means of keeping the navigation simple and uncluttered. There <a href="http://wordpress.org/extend/plugins/search.php?q=drop+down+menu" target="_blank">are a few plugins</a> that you can use to achieve this, but I&#8217;ve found that many of them make too many assumptions and don&#8217;t work exactly how I&#8217;d like them too. For that reason, I&#8217;ll detail a simple means of making your own WordPress drop down menu.</p>
<p><a href="http://wpguru.co.za/wp-content/demos/drop-down/" target="_blank">Here&#8217;s a demo</a> of what we&#8217;re going to accomplish. (Tested in IE7 &amp; FF)</p>
<h3>Getting started</h3>
<p>Firstly, you&#8217;ll need to setup your pages in WordPress in a hierarchal manner. IE:</p>
<ul>
<li>Home Page</li>
<li>About Us (2)
<ul>
<li>What We Do</li>
<li>What We&#8217;ve Done</li>
<li>Who Works For Us</li>
</ul>
</li>
<li>Services (6)
<ul>
<li>Portfolio</li>
<li>Our Clients</li>
</ul>
</li>
<li>Contact Us</li>
</ul>
<p>&#8230; for example. NOTE: The numbers in brackets represent the ID of that page. Replace this later with your own actual page ID&#8217;s.</p>
<p>This will usually generate nested &lt;ul&gt; and &lt;li&gt; list that will work as your navigation.</p>

<div class="wp_syntax"><div class="code"><pre class="php"><span style="color: #66cc66;">&lt;</span>ul id<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;nav&quot;</span><span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;</span>li<span style="color: #66cc66;">&gt;&lt;</span>a href<span style="color: #66cc66;">=</span> <span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #66cc66;">&gt;</span>Home Page<span style="color: #66cc66;">&lt;/</span>a<span style="color: #66cc66;">&gt;&lt;/</span>li<span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;</span>li<span style="color: #66cc66;">&gt;&lt;</span>a href<span style="color: #66cc66;">=</span> <span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #66cc66;">&gt;</span>About Us<span style="color: #66cc66;">&lt;/</span>a<span style="color: #66cc66;">&gt;</span>
		<span style="color: #66cc66;">&lt;</span>ul id<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;aboutus&quot;</span><span style="color: #66cc66;">&gt;</span>
			<span style="color: #66cc66;">&lt;</span>li<span style="color: #66cc66;">&gt;&lt;</span>a href<span style="color: #66cc66;">=</span> <span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #66cc66;">&gt;</span>What We Do<span style="color: #66cc66;">&lt;/</span>a<span style="color: #66cc66;">&gt;&lt;/</span>li<span style="color: #66cc66;">&gt;</span>
			<span style="color: #66cc66;">&lt;</span>li<span style="color: #66cc66;">&gt;&lt;</span>a href<span style="color: #66cc66;">=</span> <span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #66cc66;">&gt;</span>What We<span style="color: #ff0000;">'ve Done&lt;/a&gt;&lt;/li&gt;
			&lt;li&gt;&lt;a href= &quot;#&quot;&gt;Who Works For Us&lt;/a&gt;&lt;/li&gt;
		&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;&lt;a href= &quot;#&quot;&gt;Services&lt;/a&gt;
		&lt;ul id=&quot;services&quot;&gt;
			&lt;li&gt;&lt;a href= &quot;#&quot;&gt;Portfolio&lt;/a&gt;&lt;/li&gt;
			&lt;li&gt;&lt;a href= &quot;#&quot;&gt;Our Clients&lt;/a&gt;&lt;/li&gt;
		&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;&lt;a href= &quot;#&quot;&gt;Contact Us&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</span></pre></div></div>

<p>Sorted? <img src='http://wpguru.co.za/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3>Making it dynamic</h3>
<p>What you&#8217;re going to do now, is break that list down somewhat and create your own navigation. The top level menu items will be static, and their subpages will be dynamic. Like so:</p>

<div class="wp_syntax"><div class="code"><pre class="php"><span style="color: #66cc66;">&lt;</span>ul id<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;nav&quot;</span><span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;</span>li<span style="color: #66cc66;">&gt;&lt;</span>a href<span style="color: #66cc66;">=</span> <span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #66cc66;">&gt;</span>Home Page<span style="color: #66cc66;">&lt;/</span>a<span style="color: #66cc66;">&gt;&lt;/</span>li<span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;</span>li<span style="color: #66cc66;">&gt;&lt;</span>a href<span style="color: #66cc66;">=</span> <span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #66cc66;">&gt;</span>About Us<span style="color: #66cc66;">&lt;/</span>a<span style="color: #66cc66;">&gt;</span>
		<span style="color: #66cc66;">&lt;</span>ul id<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;aboutus&quot;</span><span style="color: #66cc66;">&gt;</span>
			<span style="color: #000000; font-weight: bold;">&lt;?</span> wp_list_pages<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'title_li=&amp;sort_column=menu_order&amp;child_of=2'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
		<span style="color: #66cc66;">&lt;/</span>ul<span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;/</span>li<span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;</span>li<span style="color: #66cc66;">&gt;&lt;</span>a href<span style="color: #66cc66;">=</span> <span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #66cc66;">&gt;</span>Services<span style="color: #66cc66;">&lt;/</span>a<span style="color: #66cc66;">&gt;</span>
		<span style="color: #66cc66;">&lt;</span>ul id<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;services&quot;</span><span style="color: #66cc66;">&gt;</span>
			<span style="color: #000000; font-weight: bold;">&lt;?</span> wp_list_pages<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'title_li=&amp;sort_column=menu_order&amp;child_of=6'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
		<span style="color: #66cc66;">&lt;/</span>ul<span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;/</span>li<span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;</span>li<span style="color: #66cc66;">&gt;&lt;</span>a href<span style="color: #66cc66;">=</span> <span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #66cc66;">&gt;</span>Contact Us<span style="color: #66cc66;">&lt;/</span>a<span style="color: #66cc66;">&gt;&lt;/</span>li<span style="color: #66cc66;">&gt;</span>
<span style="color: #66cc66;">&lt;/</span>ul<span style="color: #66cc66;">&gt;</span></pre></div></div>

<h3>The Script</h3>
<p>There&#8217;s a tiny piece of javascript required to show/hide the drop down menu&#8217;s. From an accessibility point of view, you can link the top level navigation item so that if JS is disabled, the user will still be able to get around your site. Here&#8217;s the script.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript"><span style="color: #009900; font-style: italic;">// JavaScript Document</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">function</span> toggleLayer<span style="color: #66cc66;">&#40;</span>whichLayer<span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #66cc66;">&#40;</span>document.<span style="color: #006600;">getElementById</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
<span style="color: #009900; font-style: italic;">// this is the way the standards work</span>
<span style="color: #003366; font-weight: bold;">var</span> style2 = document.<span style="color: #006600;">getElementById</span><span style="color: #66cc66;">&#40;</span>whichLayer<span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">style</span>;
style2.<span style="color: #006600;">display</span> = style2.<span style="color: #006600;">display</span>? <span style="color: #3366CC;">&quot;&quot;</span>:<span style="color: #3366CC;">&quot;block&quot;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #66cc66;">&#40;</span>document.<span style="color: #006600;">all</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
<span style="color: #009900; font-style: italic;">// this is the way old msie versions work</span>
<span style="color: #003366; font-weight: bold;">var</span> style2 = document.<span style="color: #006600;">all</span><span style="color: #66cc66;">&#91;</span>whichLayer<span style="color: #66cc66;">&#93;</span>.<span style="color: #006600;">style</span>;
style2.<span style="color: #006600;">display</span> = style2.<span style="color: #006600;">display</span>? <span style="color: #3366CC;">&quot;&quot;</span>:<span style="color: #3366CC;">&quot;block&quot;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #66cc66;">&#40;</span>document.<span style="color: #006600;">layers</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
<span style="color: #009900; font-style: italic;">// this is the way nn4 works</span>
<span style="color: #003366; font-weight: bold;">var</span> style2 = document.<span style="color: #006600;">layers</span><span style="color: #66cc66;">&#91;</span>whichLayer<span style="color: #66cc66;">&#93;</span>.<span style="color: #006600;">style</span>;
style2.<span style="color: #006600;">display</span> = style2.<span style="color: #006600;">display</span>? <span style="color: #3366CC;">&quot;&quot;</span>:<span style="color: #3366CC;">&quot;block&quot;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>Your complete navigation would look as follows (including the Javascript commands):</p>

<div class="wp_syntax"><div class="code"><pre class="php"><span style="color: #66cc66;">&lt;</span>ul id<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;nav&quot;</span><span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;</span>li<span style="color: #66cc66;">&gt;&lt;</span>a href<span style="color: #66cc66;">=</span> <span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #66cc66;">&gt;</span>Home Page<span style="color: #66cc66;">&lt;/</span>a<span style="color: #66cc66;">&gt;&lt;/</span>li<span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;</span>li onmouseover<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;javascript:toggleLayer('aboutus');&quot;</span> onmouseout<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;javascript:toggleLayer('aboutus');&quot;</span><span style="color: #66cc66;">&gt;&lt;</span>a href<span style="color: #66cc66;">=</span> <span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #66cc66;">&gt;</span>About Us<span style="color: #66cc66;">&lt;/</span>a<span style="color: #66cc66;">&gt;</span>
		<span style="color: #66cc66;">&lt;</span>ul id<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;aboutus&quot;</span><span style="color: #66cc66;">&gt;</span>
			<span style="color: #000000; font-weight: bold;">&lt;?</span> wp_list_pages<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'title_li=&amp;sort_column=menu_order&amp;child_of=2'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
		<span style="color: #66cc66;">&lt;/</span>ul<span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;/</span>li<span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;</span>li onmouseover<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;javascript:toggleLayer('services');&quot;</span> onmouseout<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;javascript:toggleLayer('services');&quot;</span><span style="color: #66cc66;">&gt;&lt;</span>a href<span style="color: #66cc66;">=</span> <span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #66cc66;">&gt;</span>Services<span style="color: #66cc66;">&lt;/</span>a<span style="color: #66cc66;">&gt;</span>
		<span style="color: #66cc66;">&lt;</span>ul id<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;services&quot;</span><span style="color: #66cc66;">&gt;</span>
			<span style="color: #000000; font-weight: bold;">&lt;?</span> wp_list_pages<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'title_li=&amp;sort_column=menu_order&amp;child_of=6'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
		<span style="color: #66cc66;">&lt;/</span>ul<span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;/</span>li<span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;</span>li<span style="color: #66cc66;">&gt;&lt;</span>a href<span style="color: #66cc66;">=</span> <span style="color: #ff0000;">&quot;#&quot;</span><span style="color: #66cc66;">&gt;</span>Contact Us<span style="color: #66cc66;">&lt;/</span>a<span style="color: #66cc66;">&gt;&lt;/</span>li<span style="color: #66cc66;">&gt;</span>
<span style="color: #66cc66;">&lt;/</span>ul<span style="color: #66cc66;">&gt;</span></pre></div></div>

<h3>The CSS</h3>
<p>Now, you&#8217;ll need to do a bit of freestyling on your CSS to style it as you&#8217;d like and getting it positioned as it should be. The important thing to include, is the CSS to hide the nested &lt;ul&gt; and the absolute positioning so that it doesn&#8217;t affect any other elements when its shown:</p>

<div class="wp_syntax"><div class="code"><pre class="css"><span style="color: #a1a100;">@charset &quot;utf-8&quot;;</span>
<span style="color: #808080; font-style: italic;">/* CSS Document */</span>
&nbsp;
* <span style="color: #66cc66;">&#123;</span>margin<span style="color: #3333ff;">:<span style="color: #933;">0</span></span><span style="color: #66cc66;">;</span>padding<span style="color: #3333ff;">:<span style="color: #933;">0</span></span><span style="color: #66cc66;">;</span><span style="color: #66cc66;">&#125;</span>
body <span style="color: #66cc66;">&#123;</span>text-align<span style="color: #3333ff;">:left</span><span style="color: #66cc66;">;</span>padding<span style="color: #66cc66;">:</span> <span style="color: #933;">30px</span><span style="color: #66cc66;">;</span>font<span style="color: #66cc66;">:</span> <span style="color: #933;">12px</span> Tahoma, Arial, Helvetica, <span style="color: #993333;">sans-serif</span><span style="color: #66cc66;">;</span><span style="color: #66cc66;">&#125;</span>
&nbsp;
ul, ol <span style="color: #66cc66;">&#123;</span><span style="color: #000000; font-weight: bold;">padding</span><span style="color: #66cc66;">:</span> <span style="color: #933;">10px</span> <span style="color: #933;">0</span><span style="color: #66cc66;">;</span><span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #cc00cc;">#nav</span> ul <span style="color: #66cc66;">&#123;</span>display<span style="color: #3333ff;">:none</span><span style="color: #66cc66;">;</span>position<span style="color: #3333ff;">:absolute</span><span style="color: #66cc66;">;</span>margin<span style="color: #66cc66;">:</span> <span style="color: #933;">16px</span> <span style="color: #933;">0</span> <span style="color: #933;">0</span> -<span style="color: #933;">1px</span><span style="color: #66cc66;">;</span><span style="color: #66cc66;">&#125;</span> <span style="color: #808080; font-style: italic;">/* hide the sub nav */</span>
*+ html <span style="color: #cc00cc;">#nav</span> ul <span style="color: #66cc66;">&#123;</span><span style="color: #000000; font-weight: bold;">margin</span><span style="color: #66cc66;">:</span> <span style="color: #933;">16px</span> <span style="color: #933;">0</span> <span style="color: #933;">0</span> -<span style="color: #933;">122px</span><span style="color: #66cc66;">;</span><span style="color: #66cc66;">&#125;</span> <span style="color: #808080; font-style: italic;">/* ie 7 hack */</span>
<span style="color: #cc00cc;">#nav</span> li <span style="color: #66cc66;">&#123;</span>list-style<span style="color: #3333ff;">:none</span><span style="color: #66cc66;">;</span>display<span style="color: #3333ff;">:block</span><span style="color: #66cc66;">;</span>float<span style="color: #3333ff;">:left</span><span style="color: #66cc66;">;</span><span style="color: #66cc66;">&#125;</span>
<span style="color: #cc00cc;">#nav</span> a <span style="color: #66cc66;">&#123;</span>display<span style="color: #3333ff;">:block</span><span style="color: #66cc66;">;</span>float<span style="color: #3333ff;">:left</span><span style="color: #66cc66;">;</span>padding<span style="color: #66cc66;">:</span> <span style="color: #933;">5px</span> <span style="color: #933;">15px</span><span style="color: #66cc66;">;</span>border<span style="color: #3333ff;">:<span style="color: #933;">1px</span></span> <span style="color: #993333;">solid</span> <span style="color: #cc00cc;">#ddd</span><span style="color: #66cc66;">;</span>margin<span style="color: #66cc66;">:</span> <span style="color: #933;">0</span> <span style="color: #933;">0</span> <span style="color: #933;">0</span> -<span style="color: #933;">1px</span><span style="color: #66cc66;">;</span>text-decoration<span style="color: #3333ff;">:none</span><span style="color: #66cc66;">;</span>width<span style="color: #3333ff;">:<span style="color: #933;">90px</span></span><span style="color: #66cc66;">;</span><span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/*subnav styling*/</span>
<span style="color: #cc00cc;">#nav</span> ul li, <span style="color: #cc00cc;">#nav</span> ul li a <span style="color: #66cc66;">&#123;</span>float<span style="color: #3333ff;">:none</span><span style="color: #66cc66;">;</span><span style="color: #66cc66;">&#125;</span>
<span style="color: #cc00cc;">#nav</span> ul li a <span style="color: #66cc66;">&#123;</span><span style="color: #000000; font-weight: bold;">margin</span><span style="color: #66cc66;">:</span> -<span style="color: #933;">1px</span> <span style="color: #933;">0</span> <span style="color: #933;">0</span> <span style="color: #933;">0</span><span style="color: #66cc66;">;</span>width<span style="color: #3333ff;">:<span style="color: #933;">150px</span></span><span style="color: #66cc66;">;</span><span style="color: #66cc66;">&#125;</span>
<span style="color: #cc00cc;">#nav</span> ul li a<span style="color: #3333ff;">:hover</span> <span style="color: #66cc66;">&#123;</span><span style="color: #000000; font-weight: bold;">background</span><span style="color: #66cc66;">:</span><span style="color: #cc00cc;">#efefef</span><span style="color: #66cc66;">;</span>color<span style="color: #66cc66;">:</span><span style="color: #cc00cc;">#<span style="color: #933;">000</span></span><span style="color: #66cc66;">;</span><span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>This is the CSS used to achieve the effect in the demo. You can of course change it to suit your site&#8217;s styles.</p>
<p>And presto, you&#8217;ll have a drop down menu. As you add sub pages in your WP admin, those pages will automatically be included in your drop down.</p>
<p>Slick <img src='http://wpguru.co.za/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://wpguru.co.za/navigation/make-your-own-wordpress-drop-down-menu/feed/</wfw:commentRss>
		<slash:comments>37</slash:comments>
		<feedburner:origLink>http://wpguru.co.za/navigation/make-your-own-wordpress-drop-down-menu/</feedburner:origLink></item>
		<item>
		<title>Using jQuery to liven up your WordPress login</title>
		<link>http://feedproxy.google.com/~r/wpguru/~3/jaFjDMITyIs/</link>
		<comments>http://wpguru.co.za/admin/using-jquery-to-liven-up-your-wordpress-login/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 10:24:46 +0000</pubDate>
		<dc:creator>MarkB</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[thickbox]]></category>
		<category><![CDATA[wp-admin]]></category>

		<guid isPermaLink="false">http://wpguru.co.za/?p=56</guid>
		<description><![CDATA[When I'm coding a project for a client, I always try make using the site as easy as possible. Whether it be using custom fields to automate the use of images in a post, or coding wp-admin pages to make the writing of posts &#038; pages easier for them to do. Less is more... So in applying this principle, I'm going to show a really quick method of simplifying the clients login process using a jQuery lightbox.]]></description>
			<content:encoded><![CDATA[<p>When I&#8217;m coding a project for a client, I always try make using the site as easy as possible. Whether it be using custom fields to automate the use of images in a post, or coding <code>wp-admin</code> pages to make the writing of posts &amp; pages easier for them to do. Less is more&#8230; So in applying this principle, I&#8217;m going to show a really quick method of simplifying the clients login process using a jQuery lightbox.</p>
<p><a href="http://wpguru.co.za/wp-content/demos/login/">Here&#8217;s a demo</a> of what we&#8217;re going to do.</p>
<p>Just in case you&#8217;ve been coding in a box for the last 10 years, <a href="http://jquery.com/" target="_blank">jQuery</a> is a great JS library that has a number of nifty usages. One of its popular plugins is the &#8216;<a href="http://jquery.com/demo/thickbox/" target="_blank">thickbox</a>&#8216; and its what we&#8217;re going to use now to create a simple means of logging in for you/your clients.</p>
<h3>Prepare your site</h3>
<p>In your header.php file you need to include 3 files: <a href="http://jquery.com/src/jquery-latest.pack.js" target="_blank">jquery.js</a>, <a href="http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.3.min.js" target="_blank">thickbox.js</a> and <a href="http://jquery.com/demo/thickbox/thickbox-code/thickbox.css" target="_blank">thickbox.css</a>. Then upload the included <a href="http://jquery.com/demo/thickbox/images/loadingAnimation.gif" target="_blank">loading.gif</a> animation to your images folder. The includes for these files would look like this:</p>

<div class="wp_syntax"><div class="code"><pre class="php"><span style="color: #66cc66;">&lt;</span>script type<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> src<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;? bloginfo('template_directory'); ?&gt;/jquery-latest.pack.js&quot;</span><span style="color: #66cc66;">&gt;&lt;/</span>script<span style="color: #66cc66;">&gt;</span>
<span style="color: #66cc66;">&lt;</span>script type<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span> src<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;? bloginfo('template_directory'); ?&gt;/thickbox-compressed.js&quot;</span><span style="color: #66cc66;">&gt;&lt;/</span>script<span style="color: #66cc66;">&gt;</span>
<span style="color: #66cc66;">&lt;</span>link rel<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;stylesheet&quot;</span> type<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/css&quot;</span> href<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;? bloginfo('template_directory'); ?&gt;/thickbox.css&quot;</span> media<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;screen&quot;</span> <span style="color: #66cc66;">/&gt;</span></pre></div></div>

<p>NOTE: call the jquery file before the thickbox.js file.</p>
<p>Then open your thickbox.js file and edit the path to your theme&#8217;s images folder. It&#8217;ll look something like this:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript"><span style="color: #003366; font-weight: bold;">var</span> tb_pathToImage = <span style="color: #3366CC;">&quot;/wp-content/themes/yourtheme/images/loadingAnimation.gif&quot;</span>;</pre></div></div>

<p>Ok, now your site is thickbox&#8217;d. Nice.</p>
<h3>Make it happen</h3>
<p>Of the many usages of the thickbox, the one we&#8217;re going to use now is the thickbox for <a href="http://jquery.com/demo/thickbox/#sectiond-1" target="_blank">Inline Content</a>. In essence, you&#8217;re going to have your login form somewhere on your page (preferably in an element that is included on every page on your site like your sidebar) but its going to be hidden by an inline CSS style:</p>

<div class="wp_syntax"><div class="code"><pre class="php"><span style="color: #66cc66;">&lt;</span>div id<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;form&quot;</span> style<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;display:none;&quot;</span><span style="color: #66cc66;">&gt;</span></pre></div></div>

<p>Somewhere else on your page, you&#8217;re going to have a link (like in your topnav) that when clicked, will open that hidden div/form in the thickbox. This link will have, instead of a URL as its href target, some magic thickbox commands that will summon your hidden login form. The link would be as follows:</p>

<div class="wp_syntax"><div class="code"><pre class="php"><span style="color: #66cc66;">&lt;</span>a href<span style="color: #66cc66;">=</span> <span style="color: #ff0000;">&quot;#TB_inline?height=200&amp;width=200&amp;inlineId=form&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;thickbox&quot;</span> title<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Login to the WP Guru site&quot;</span><span style="color: #66cc66;">&gt;</span>Login<span style="color: #66cc66;">&lt;/</span>a<span style="color: #66cc66;">&gt;</span></pre></div></div>

<p>What&#8217;s happening here is that the link is calling an inline div that&#8217;ll be displayed in a thickbox with the sizes specified and you&#8217;re identifying the inline div ID that will be called. Note that class=&#8221;thickbox&#8221; is critical to the thickbox&#8217;s successful usage.</p>
<h3>The login form</h3>
<p>The actual login form can be simplified down to its core elements so that you have nice neat code made up of only what you need. You can of course tweak this to be just what YOU need. The actual login form is found around line 378 in the wp-login.php file (v2.5).</p>

<div class="wp_syntax"><div class="code"><pre class="php"><span style="color: #66cc66;">&lt;</span>div id<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;form&quot;</span> style<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;display:none;&quot;</span><span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;</span>form name<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;loginform&quot;</span> id<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;loginform&quot;</span> action<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://wpguru.co.za/wp-login.php&quot;</span> method<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;post&quot;</span><span style="color: #66cc66;">&gt;</span>
		<span style="color: #66cc66;">&lt;</span>p<span style="color: #66cc66;">&gt;</span>
			<span style="color: #66cc66;">&lt;</span>label<span style="color: #66cc66;">&gt;</span>Username<span style="color: #66cc66;">&lt;</span>br <span style="color: #66cc66;">/&gt;</span>
			<span style="color: #66cc66;">&lt;</span>input type<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text&quot;</span> name<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;log&quot;</span> id<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;user_login&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;input&quot;</span> value<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> size<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;20&quot;</span> tabindex<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;10&quot;</span> <span style="color: #66cc66;">/&gt;&lt;/</span>label<span style="color: #66cc66;">&gt;</span>
		<span style="color: #66cc66;">&lt;/</span>p<span style="color: #66cc66;">&gt;</span>
		<span style="color: #66cc66;">&lt;</span>p<span style="color: #66cc66;">&gt;</span>
			<span style="color: #66cc66;">&lt;</span>label<span style="color: #66cc66;">&gt;</span>Password<span style="color: #66cc66;">&lt;</span>br <span style="color: #66cc66;">/&gt;</span>
			<span style="color: #66cc66;">&lt;</span>input type<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;password&quot;</span> name<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;pwd&quot;</span> id<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;user_pass&quot;</span> <span style="color: #000000; font-weight: bold;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;input&quot;</span> value<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&quot;</span> size<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;20&quot;</span> tabindex<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;20&quot;</span> <span style="color: #66cc66;">/&gt;&lt;/</span>label<span style="color: #66cc66;">&gt;</span>
		<span style="color: #66cc66;">&lt;/</span>p<span style="color: #66cc66;">&gt;</span>
		<span style="color: #000000; font-weight: bold;">&lt;?php</span> do_action<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'login_form'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
		<span style="color: #66cc66;">&lt;</span>p <span style="color: #000000; font-weight: bold;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;forgetmenot&quot;</span><span style="color: #66cc66;">&gt;&lt;</span>label<span style="color: #66cc66;">&gt;&lt;</span>input name<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;rememberme&quot;</span> type<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;checkbox&quot;</span> id<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;rememberme&quot;</span> value<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;forever&quot;</span> tabindex<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;90&quot;</span> <span style="color: #66cc66;">/&gt;</span> Remember Me<span style="color: #66cc66;">&lt;/</span>label<span style="color: #66cc66;">&gt;&lt;/</span>p<span style="color: #66cc66;">&gt;</span>
		<span style="color: #66cc66;">&lt;</span>p <span style="color: #000000; font-weight: bold;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;submit&quot;</span><span style="color: #66cc66;">&gt;</span>
			<span style="color: #66cc66;">&lt;</span>input type<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;submit&quot;</span> name<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;wp-submit&quot;</span> id<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;wp-submit&quot;</span> value<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;&lt;?php _e('Log In'); ?&gt;&quot;</span> tabindex<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;100&quot;</span> <span style="color: #66cc66;">/&gt;</span>
			<span style="color: #66cc66;">&lt;</span>input type<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;hidden&quot;</span> name<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;redirect_to&quot;</span> value<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;/&quot;</span> <span style="color: #66cc66;">/&gt;</span>
			<span style="color: #66cc66;">&lt;</span>input type<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;hidden&quot;</span> name<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;testcookie&quot;</span> value<span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;1&quot;</span> <span style="color: #66cc66;">/&gt;</span>
		<span style="color: #66cc66;">&lt;/</span>p<span style="color: #66cc66;">&gt;</span>
	<span style="color: #66cc66;">&lt;/</span>form<span style="color: #66cc66;">&gt;</span>
<span style="color: #66cc66;">&lt;/</span>div<span style="color: #66cc66;">&gt;</span></pre></div></div>

<p>You can of course style up the div that contains your form with your site logo etc to make the whole login process seem even more bespoke.</p>
<p>TIP: You can set the overlay color of your jQuery thickbox (default set to 75% black) to match your site, in line #39 of your thickbox.css file.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpguru.co.za/admin/using-jquery-to-liven-up-your-wordpress-login/feed/</wfw:commentRss>
		<slash:comments>40</slash:comments>
		<feedburner:origLink>http://wpguru.co.za/admin/using-jquery-to-liven-up-your-wordpress-login/</feedburner:origLink></item>
		<item>
		<title>Jeffro2pt0 Interview with Lorelle</title>
		<link>http://feedproxy.google.com/~r/wpguru/~3/8-HAZUkebow/</link>
		<comments>http://wpguru.co.za/general-news/jeffro2pt0-interview-with-lorelle/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 06:53:14 +0000</pubDate>
		<dc:creator>MarkB</dc:creator>
				<category><![CDATA[General News]]></category>

		<guid isPermaLink="false">http://wpguru.co.za/?p=53</guid>
		<description><![CDATA[I really enjoyed this interview on Jeffro2pt0 with Lorelle that covered everything from WordCamp Dallas to tips on using WordPress and then dove into some of the concepts of using WordPress to make money as well as general blogging issues. Quite informative&#8230;
]]></description>
			<content:encoded><![CDATA[<p>I really enjoyed <a href="http://www.jeffro2pt0.com/lorelle-interview-a-success" target="_blank">this interview</a> on <a href="http://www.jeffro2pt0.com/" target="_blank">Jeffro2pt0</a> with <a href="http://lorelle.wordpress.com/" target="_blank">Lorelle</a> that covered everything from WordCamp Dallas to tips on using WordPress and then dove into some of the concepts of using WordPress to make money as well as general blogging issues. Quite informative&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://wpguru.co.za/general-news/jeffro2pt0-interview-with-lorelle/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://wpguru.co.za/general-news/jeffro2pt0-interview-with-lorelle/</feedburner:origLink></item>
		<item>
		<title>WordPress Dreamweaver Extension</title>
		<link>http://feedproxy.google.com/~r/wpguru/~3/iNq6kdNX4_c/</link>
		<comments>http://wpguru.co.za/plugins/wordpress-dreamweaver-extension/#comments</comments>
		<pubDate>Mon, 21 Apr 2008 11:56:03 +0000</pubDate>
		<dc:creator>MarkB</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[dreamweaver]]></category>
		<category><![CDATA[extension]]></category>

		<guid isPermaLink="false">http://wpguru.co.za/?p=48</guid>
		<description><![CDATA[I actually forgot about Dreamweaver Extensions and was reminded by a collegue when he sent me a cool WordPress extension that makes use of nifty menu's to drop in often used WordPress query's, loops and other handy tags. As I looked through the functionality provided by this extension, I was left hmm'ing... I was sure there was a better one to be found. Fortunately I found one...]]></description>
			<content:encoded><![CDATA[<p>I actually forgot about Dreamweaver Extensions and was reminded by a collegue when he sent me a cool <a href="http://www.oceangray.net/dreamweaver-wordpress-extension/" target="_blank">WordPress extension</a> that makes use of nifty menu&#8217;s to drop in often used WordPress query&#8217;s, loops and other handy tags. As I looked through the functionality provided by this extension, I was left hmm&#8217;ing&#8230; I was sure there was a better one to be found. Fortunately I found one&#8230;</p>
<p><a href="http://solutoire.com/tagstention/" target="_blank">Solutoire.com TAGStention</a> is one of the better WordPress Dreamweaver Extensions available and the one that I&#8217;m currently using now. Normally I make use of a growing cheat-sheet file that has all my often used WordPress tags, loops and commands. This TAGStention addition to Dreamweaver looks to be replacing this file of mine with some simple menu clicks.<a href="http://wpguru.co.za/wp-content/uploads/dw-header.gif"><img class="alignright alignnone size-full wp-image-49" style="float: right;" title="dw-header" src="http://wpguru.co.za/wp-content/uploads/dw-header.gif" alt="" width="163" height="206" /></a></p>
<p>Here&#8217;s some of the features that I find very useful.</p>
<p>When making your header.php file, this handy menu. With your cursor in the right place, you can, with a few deft clicks, insert all your vital header information.</p>
<p>When making a dynamic theme that can be moved or applied on/in any domain/folder, using WordPress&#8217;s bloginfo() tag proves very handy. TAGStention provides a bloginfo wizard that&#8217;ll allow you to choose the tag you want to insert &#8211; perhaps a little cumbersome, but useful nonetheless.</p>
<p><a href="http://wpguru.co.za/wp-content/uploads/dw-bloginfo.gif"><img class="alignnone size-full wp-image-50" title="dw-bloginfo" src="http://wpguru.co.za/wp-content/uploads/dw-bloginfo.gif" alt="" width="413" height="400" /></a></p>
<p>There&#8217;s still many ways that I think an extension like this can be improved and so I&#8217;m currently looking at developing my own extension. I&#8217;ll be sure to post about it here when its finished.</p>
<p>You can <a href="http://www.solutoire.com/download/tagstention_v0.3.zip" target="_blank">download TAGStention here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://wpguru.co.za/plugins/wordpress-dreamweaver-extension/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://wpguru.co.za/plugins/wordpress-dreamweaver-extension/</feedburner:origLink></item>
	</channel>
</rss>
