<?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>Net-Cake &#187; Wordpress</title>
	<atom:link href="http://www.net-cake.com/category/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.net-cake.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 08 Mar 2010 00:47:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Advanced Category Usage</title>
		<link>http://www.net-cake.com/advanced-category-usage</link>
		<comments>http://www.net-cake.com/advanced-category-usage#comments</comments>
		<pubDate>Fri, 26 Feb 2010 18:39:09 +0000</pubDate>
		<dc:creator>Paul D'Amora</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.net-cake.com/?p=240</guid>
		<description><![CDATA[Most blogs out there use some sort of category system.  They&#8217;re good for SEO, and for overall ease of use while surfing a website.  As most of us know, WordPress supports a wonderful categorization system.  There are ...]]></description>
			<content:encoded><![CDATA[<p>Most blogs out there use some sort of category system.  They&#8217;re good for <abbr title="Search Engine Optiomization">SEO</abbr>, and for overall ease of use while surfing a website.  As most of us know, WordPress supports a wonderful categorization system.  There are a lot of things that can be done with those categories that some people just don&#8217;t know.  Let&#8217;s focus on the display of those categories.  If your users can&#8217;t see your category in an informative and helpful way, then there is really no point in having them.  This includes displaying the list of category that a post may be in, displaying category pages, and the display of lists of categories.  Throughout this post I will cover advanced usage of all of these.</p>
<p>In WordPress you can easily list out the categories that a post was posted in.  This is done with a single tag, that must be within the Loop.</p>
<pre class="brush: php;">&lt;?php the_category(', '); ?&gt;</pre>
<p>You can change a few parameters of this tag, including the separator.  This is the piece of text that separates each category if there&#8217;re more than one.  In the code I gave you, it is a comma.  You can change it to a bullet<code> •</code>, an arrow <code> &gt;</code>, or whatever else suits you.</p>
<p>This piece of code will display links to each of the individual category pages.  You can change the structure of these links on the Permalinks page in you WordPress admin settings.<br />
<a href="http://www.net-cake.com/wp-content/uploads/2010/02/permalinks.png"><img class="aligncenter size-full wp-image-247" title="permalinks" src="http://www.net-cake.com/wp-content/uploads/2010/02/permalinks.png" alt="" width="600" height="200" /></a></p>
<p>For example, if you use articles as your base, then your category pages will be linked as such<br />
<code>http://example.com/articles/uncategorized</code></p>
<p>When WordPress is trying to display the category page, it is going to look for certain template files.  If they aren&#8217;t found, then it looks for the next one.  For category page, WordPress use the<code> category.php</code> file.  You are welcome to write out your own <code>category.php</code> file, but I typically use the next template file, which is <code>archive.php</code>.  For more info on what template files WordPress uses to render pages, visit <a href="http://digwp.com/2010/02/template-heirarchy-chart/"> DigWP</a>.</p>
<p>Anyway,  your archive or category page can typically be a modified version of the Loop used on the index page.  If you want to leave out something, or add some type of content, then go ahead.  One thing you may want to do is display a descriptive heading.  This tells the user what they&#8217;re viewing exactly. I use the following</p>
<pre class="brush: php;">
&lt;?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?&gt;
&lt;?php /* If this is a category archive */ if (is_category()) { ?&gt;
&lt;h2 class=&quot;archive&quot;&gt;Archive for the &amp;#8216;&lt;?php single_cat_title(); ?&gt;&amp;#8217; Category&lt;/h2&gt;
&lt;?php /* If this is a tag archive */ } elseif( is_tag() ) { ?&gt;
&lt;h2 class=&quot;archive&quot;&gt;Posts Tagged &amp;#8216;&lt;?php single_tag_title(); ?&gt;&amp;#8217;&lt;/h2&gt;
&lt;?php /* If this is a daily archive */ } elseif (is_day()) { ?&gt;
&lt;h2 class=&quot;archive&quot;&gt;Archive for &lt;?php the_time('F jS, Y'); ?&gt;&lt;/h2&gt;
&lt;?php /* If this is a monthly archive */ } elseif (is_month()) { ?&gt;
&lt;h2 class=&quot;archive&quot;&gt;Archive for &lt;?php the_time('F, Y'); ?&gt;&lt;/h2&gt;
&lt;?php /* If this is a yearly archive */ } elseif (is_year()) { ?&gt;
&lt;h2 class=&quot;archive&quot;&gt;Archive for &lt;?php the_time('Y'); ?&gt;&lt;/h2&gt;
&lt;?php /* If this is an author archive */ } elseif (is_author()) { ?&gt;
&lt;h2 class=&quot;archive&quot;&gt;Author Archive&lt;/h2&gt;
&lt;?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) &amp;&amp; !empty($_GET['paged'])) { ?&gt;
&lt;h2 class=&quot;archive&quot;&gt;Blog Archives&lt;/h2&gt;
&lt;?php } ?&gt;
</pre>
<p>This piece of code runs through several if and elseif statements to determine what type of page you&#8217;re viewing, and display a heading accordingly.  You can use it in your own archives page by inserting the above code after</p>
<pre class="brush: php;">&lt;?php if (have_posts()) : ?&gt;</pre>
<p>in your <code>archive.php</code> file.</p>
<p><a href="http://www.net-cake.com/wp-content/uploads/2010/02/archive.png"><img class="aligncenter size-full wp-image-246" title="archive" src="http://www.net-cake.com/wp-content/uploads/2010/02/archive.png" alt="" width="600" height="200" /></a></p>
<p>Lastly, let&#8217;s cover listing out your blogs categories.  This is easily done with the following code -</p>
<pre class="brush: php;">&lt;?php wp_list_categories( ); ?&gt;</pre>
<p>This will list out all of the categories and their children that exist on your blog.  You can do things to customize this output such as exclude categories, or change the title of the list</p>
<pre class="brush: php;">&lt;?php wp_list_categories('exclude=1,2&amp;title_li=New Title'); ?&gt;</pre>
<p>Or only show the parent categories.</p>
<pre class="brush: php;">wp_list_categories('depth=1'); ?&gt;</pre>
<p>The list goes on and on.</p>
<p>You may have noticed on your WordPress admin category page that you can add descriptions to the categories.   Well, with a bit of php magic you can list out the names of the categories along with their descriptions.</p>
<p><a href="http://www.net-cake.com/wp-content/uploads/2010/02/desc.png"><img class="aligncenter size-full wp-image-245" title="desc" src="http://www.net-cake.com/wp-content/uploads/2010/02/desc.png" alt="" width="600" height="200" /></a></p>
<p>First, go into your functions.php file and insert the following function</p>
<pre class="brush: php;">
function advanced_cat () {
	$args=array(
		'orderby' =&gt; 'name',
		'order' =&gt; 'ASC',
		'pad_counts' =&gt; '1'
	);
	$categories=get_categories($args);
		foreach($categories as $category) {
			echo '&lt;li&gt;&lt;a href=&quot;' . get_category_link( $category-&gt;term_id ) . '&quot; title=&quot;' . sprintf( __( &quot;View all posts in %s&quot; ), $category-&gt;name ) . '&quot; ' . '&gt;&lt;span&gt;' . $category-&gt;name.'&lt;/span&gt; ';
			echo '&lt;span&gt;'. $category-&gt;description . '&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;';
		}
}
</pre>
<p>This is creating a foreach statement that defines the display for each category in the list.  In this case we have it echoing the entire category name with its description inside an <code>li</code> tag.  The category name is displayed within a link, and a span.  The categories description is then outputted inside a span, as well as within the same link and list element that the category name was listed in.  You can of course customize it and add classes, or more data.</p>
<p>In order to actually display our list you need to put the following code somewhere in your theme -</p>
<pre class="brush: php;">&lt;?php advanced_cat(); ?&gt;</pre>
<p>This simply outputs the function we created earlier in the functions.php file.</p>
<h2>Fin</h2>
<p>Well that concludes today&#8217;s post.  Thanks go out to comment author &#8211; Benje for bringing up the question on how to accomplish this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.net-cake.com/advanced-category-usage/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>5 Useful Tools for Web Developers</title>
		<link>http://www.net-cake.com/5-useful-tools-for-web-developers</link>
		<comments>http://www.net-cake.com/5-useful-tools-for-web-developers#comments</comments>
		<pubDate>Fri, 05 Feb 2010 02:17:59 +0000</pubDate>
		<dc:creator>Paul D'Amora</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.net-cake.com/?p=178</guid>
		<description><![CDATA[Web development is certainly not an easy task.  There are countless things you need to know and do.  You may think that people expect you to go in alone, but you&#8217;re wrong.  There are many useful tools out there to ...]]></description>
			<content:encoded><![CDATA[<p>Web development is certainly not an easy task.  There are countless things you need to know and do.  You may think that people expect you to go in alone, but you&#8217;re wrong.  There are many useful tools out there to give us web developers a helping hand.  I&#8217;m here to bring them all to your attention.</p>
<h2><a href="http://new.myfonts.com/WhatTheFont/">1. WhatTheFont</a></h2>
<p><a href="http://www.net-cake.com/wp-content/uploads/2010/02/wtf.png"><img class="aligncenter size-full wp-image-180" title="wtf" src="http://www.net-cake.com/wp-content/uploads/2010/02/wtf.png" alt="" width="651" height="182" /></a></p>
<p>Ever see a cool font on a site that you would just LOVE to use in your next design?  You take a closer look, and realize it&#8217;s an image.  What do you do now?  Some people might just look through all their own fonts trying to find a match.  But that leads to a lot of extra and useless work.  Why not just automate the process?  That&#8217;s what WhatTheFont (WTF) is here for.  All you need is an image with text in it.  WTF will give you a list of fonts similar to the one in the picture, and you can pick the right one on your own.  I&#8217;ve been using this tool for awhile, and I rarely have a case where it can&#8217;t find the font I&#8217;m looking for.  But when I do, I just post on their forums.  Yes, believe it or not, they have a whole community of font-enthusiasts that can instantly recognize any font, and put a name to it.</p>
<h2>2. <a href="http://www.myipneighbors.com/">My IP Neighbors</a></h2>
<h2><a href="http://www.net-cake.com/wp-content/uploads/2010/02/myipneighbors.png"><img class="aligncenter size-full wp-image-181" title="myipneighbors" src="http://www.net-cake.com/wp-content/uploads/2010/02/myipneighbors.png" alt="" width="651" height="182" /></a></h2>
<p>Most of us are on a shared server.  Meaning that there are a bunch of other websites on the same server that our site is on.  Maybe it&#8217;s just me, but I often find myself wondering, or needing to know, what other websites are on your sever.  I&#8217;ll be honest, it isn&#8217;t the greatest service.  It works, but I&#8217;ve noticed that it can randomly go into an &#8220;Under Construction&#8221; state for months at a time.  But it gets the job done.  After five minutes of using it, I know that my host packs me on to a server with hundreds of other sites, and I need to switch hosting providers.</p>
<h2>3. <a href="http://www.whoishostingthis.com/">Who Is Hosting This</a></h2>
<p><a href="http://www.net-cake.com/wp-content/uploads/2010/02/whoishostingthis.png"><img class="aligncenter size-full wp-image-183" title="whoishostingthis" src="http://www.net-cake.com/wp-content/uploads/2010/02/whoishostingthis.png" alt="" width="651" height="182" /></a></p>
<p>This goes hand in hand with My IP Neighbors.  If you&#8217;re ever curious about who is hosting a certain website, then this is the place.  When you&#8217;re actually searching for a hosting provider, this is also a great tool.  You can check out who hosts those lightning fast sites that we all love so much.</p>
<h2>4. <a href="http://isnoop.net/tools/css.php">CSS Superscrub</a></h2>
<p><a href="http://www.net-cake.com/wp-content/uploads/2010/02/csssuperscrub.png"><img class="aligncenter size-full wp-image-184" title="csssuperscrub" src="http://www.net-cake.com/wp-content/uploads/2010/02/csssuperscrub.png" alt="" width="651" height="182" /></a></p>
<p>As a developer, loading times should always be one of your main concerns.  Simple things like getting rid of redundant calls and stripping uneeded content can significantly reduce the size of any CSS file.  CSS Superscrub does that all for you.  This could significantly decrease page load times, as well as give you a more organized, and overall, better stylesheet.  I highly recommend giving it a try.</p>
<h2>5. <a href="http://www.domainscour.com/"> DomainScour</a></h2>
<p><a href="http://www.net-cake.com/wp-content/uploads/2010/02/domainscour.png"><img class="aligncenter size-full wp-image-185" title="domainscour" src="http://www.net-cake.com/wp-content/uploads/2010/02/domainscour.png" alt="" width="651" height="182" /></a></p>
<p>Every new site starts with a domain.  The problem is finding one that works for you.  You probably want to know which ones are already registered.  And you probably want to be given different options, in case your first choice was already taken.  You probably know of a few tools that can easily accomplish this task.  But in my own opinion, DomainScour is one of the best out there.  Every time I need a domain, I head to DomainScour first.</p>
<h2>Wrapup</h2>
<p>Well, I hope these tools make your life easier.  I find myself constantly using one or the other, whether I have a reason to or not.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.net-cake.com/5-useful-tools-for-web-developers/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Post Thumbnails</title>
		<link>http://www.net-cake.com/wordpress-post-thumbnails</link>
		<comments>http://www.net-cake.com/wordpress-post-thumbnails#comments</comments>
		<pubDate>Tue, 02 Feb 2010 22:02:23 +0000</pubDate>
		<dc:creator>Paul D'Amora</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.net-cake.com/?p=141</guid>
		<description><![CDATA[You&#8217;ve probably used, or created a theme at some point or another that utilized a custom field post image hack.  Essentially, the point was to give each post its own thumbnail that adds a splash of color, and information to ...]]></description>
			<content:encoded><![CDATA[<p>You&#8217;ve probably used, or created a theme at some point or another that utilized a custom field post image hack.  Essentially, the point was to give each post its own thumbnail that adds a splash of color, and information to the actual post.  A wonderful example of this feature is this post.  With the release of 2.9, there is now a built-in function for using post thumbnails that works a lot nicer than the custom fields we used to use.  Throughout this post I&#8217;ll show you how to use this new feature, and how to degrade it for users with older versions of WordPress.</p>
<p>Anyway, now I&#8217;ll show you how to actually use this feature in your WordPress themes.</p>
<h2>1. Activate</h2>
<p>For some reason, the WordPress guys decided to not make the post thumbnail post automatically show up in the &#8220;Write Post&#8221; page.  You have to activate it via a line of code in your<strong> functions.php</strong> file.</p>
<p>So just open up functions.php in your favorite text editor, or create a blank file if it doesn&#8217;t exist already.  Add the following snippet somewhere in the file, making sure it is within the php start and end tags.</p>
<pre class="brush: php;">add_theme_support('post-thumbnails');</pre>
<p>Now, there should be a box labeled post-thumbnail in the editor.  But if you want to be backwards compatible, use an if statement so versions of WordPress below 2.9 won&#8217;t get screwed up by this function.</p>
<pre class="brush: php;">if ( function_exists( 'add_theme_support' ) ) add_theme_support( 'post-thumbnails' );</pre>
<p><a href="http://www.net-cake.com/wp-content/uploads/2010/02/post-thumbnail.png"><img class="aligncenter size-full wp-image-147" title="post-thumbnail" src="http://www.net-cake.com/wp-content/uploads/2010/02/post-thumbnail.png" alt="" width="525" height="137" /></a></p>
<h2>2. Display the Post Thumbnail in Your Theme</h2>
<p>Now that you&#8217;ve gotten the feature activated and available for use, you need to add it to your theme somewhere.</p>
<p>Add the following code somewhere in the Loop</p>
<pre class="brush: php;">&lt;?php the_post_thumbnail(); ?&gt;</pre>
<p>When you upload an image via the post-thumbnail feature it gives you several default size options.</p>
<p>The above code is essentially</p>
<pre class="brush: php;">&lt;?php the_post_thumbnail('thumbnail'); ?&gt;</pre>
<p>But you can use different size such as</p>
<pre class="brush: php;">&lt;?php the_post_thumbnail('full'); ?&gt;</pre>
<p>To display the full image.</p>
<pre class="brush: php;">&lt;?php the_post_thumbnail(medium'); ?&gt;</pre>
<p>For medium sized images.</p>
<pre class="brush: php;">&lt;?php the_post_thumbnail('large'); ?&gt;</pre>
<p>For large images.</p>
<p>These all output a generic img tag with a class of wp-post-image.</p>
<p>You can use this hook to apply styling to the image.</p>
<p>It is also possible to add a custom class to the outputted image, or customize the thumbnail size.</p>
<pre class="brush: php;">&lt;?php the_post_thumbnail(array( 175,175), array( 'class' =&gt; 'alignleft' )); ?&gt;</pre>
<p><a href="http://www.net-cake.com/wp-content/uploads/2010/02/post-thumbnail2.png"><img class="aligncenter size-full wp-image-148" title="post-thumbnail2" src="http://www.net-cake.com/wp-content/uploads/2010/02/post-thumbnail2.png" alt="" width="525" height="137" /></a></p>
<h2>3. Check if the Post has a Thumbnail</h2>
<p>If for whatever reason you need to check if the post actually has a thumbnail, use the following function -</p>
<pre class="brush: php;">
&lt;?php
	if ( has_post_thumbnail() )
		the_post_thumbnail( 'thumbnail' );
	else
		echo '&lt;img src=&quot;default-image.png&quot; alt=&quot;Example Image&quot; title=&quot;Example&quot; /&gt;';
?&gt;</pre>
<h2>4. Make it Backwards Compatible</h2>
<p><a href="http://www.wprecipes.com/wordpress-2-9-display-post-image-with-backward-compatibility">WPRecipes</a> wrote a post on how to make the WordPress 2.9 post thumbnail feature degrade.  Here&#8217;s the code.  It just checks to see it the post thumbnail function exists.  If it does not, it serves up code for a post thumbnail that&#8217;ll work in older versions of WordPress.  This is useful for people that don&#8217;t want to go through all of their older post images and change them to be compatible with this new feature.</p>
<pre class="brush: php;">
&lt;?php
	if (  (function_exists('has_post_image')) &amp;&amp; (has_post_image())  ) {
		the_post_image('thumbnail');
	} else {
		$postimageurl = get_post_meta($post-&gt;ID, 'post-image', true);
		if ($postimageurl) {
			echo '&lt;img src=&quot;'.$postimageurl.'&quot; alt=&quot;&quot; /&gt;';
		}
	}
?&gt;
</pre>
<p><a href="http://www.net-cake.com/wp-content/uploads/2010/02/post-thumbnail3.png"><img class="aligncenter size-full wp-image-149" title="post-thumbnail3" src="http://www.net-cake.com/wp-content/uploads/2010/02/post-thumbnail3.png" alt="" width="525" height="137" /></a></p>
<h2>5. Using the Post-Thumbnail Box</h2>
<p>How many of you have used the media upload in the WordPress Editor before?</p>
<p>I know that for me, this was one of the first times.  Us hardcore web designers are too cool to use built in tools like &#8220;media uploads&#8221; when we have our fancy FTP software to do it ourselves, right? Right?</p>
<p>Well, while it may seem unusual and scary, you will be forced to venture into the unknown area of the media upload when using the post thumbnail function.  By the way, I hope I&#8217;m not the only one that just noticed that button a few minutes ago, otherwise I&#8217;ll sound like a jerk.</p>
<p>Anyway, you have the post thumbnail activated, and you also have it actually inserted into the theme.  The only thing left to do is upload and image and test this baby out.  Just click the &#8220;Set thumbnail&#8221; link, and up comes the media upload window.  I&#8217;m sure you can figure out how to upload your image, and then all you have to do is select &#8220;use as thumbnail&#8221;.  It&#8217;s really that easy.</p>
<p><a href="http://www.net-cake.com/wp-content/uploads/2010/02/post-thumbnail4.png"><img class="aligncenter size-full wp-image-150" title="post-thumbnail4" src="http://www.net-cake.com/wp-content/uploads/2010/02/post-thumbnail4.png" alt="" width="525" height="137" /></a></p>
<h2>That&#8217;s A Wrap</h2>
<p>Well, hopefully you learned something about one of the newer, and more useful WordPress features.  Remember to leave a comment with questions and constructive criticism relating to this post.  And have fun with your new fancy post images, I bet all your friends will be jealous.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.net-cake.com/wordpress-post-thumbnails/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>25 WordPress Tips and Tricks to Make Your Theme Awesome</title>
		<link>http://www.net-cake.com/25-wordpress-tips-and-tricks-to-make-your-theme-awesome</link>
		<comments>http://www.net-cake.com/25-wordpress-tips-and-tricks-to-make-your-theme-awesome#comments</comments>
		<pubDate>Sun, 31 Jan 2010 16:03:41 +0000</pubDate>
		<dc:creator>Paul D'Amora</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.net-cake.com/?p=87</guid>
		<description><![CDATA[WordPress is an incredibily powerful and widely used CMS (Content Management System).  There are an endless numbers of things you can accomplish with it.  Of course, many of these things aren&#8217;t as well known as they should be, and we ...]]></description>
			<content:encoded><![CDATA[<p>WordPress is an incredibily powerful and widely used CMS (Content Management System).  There are an endless numbers of things you can accomplish with it.  Of course, many of these things aren&#8217;t as well known as they should be, and we theme makers and site owners end up doing things the hard way.  How many of you opened up <strong>footer.php </strong>and changed the copyright date in the last few days?   How many of you didn&#8217;t?  These are simple things that you shouldn&#8217;t be wasting you precious brain power and time doing on your own, plus they add some coolness to your overall theme.  Not to mention just how much easier it makes your life.  Well, I&#8217;m going to show you <strong><span style="text-decoration: underline;">TWENTY-FIVE</span><span style="font-weight: normal;"> of the very best tips and tricks around that YOU can easily implement into your theme.</span></strong></p>
<h2>1.  Automatically display the copyright date</h2>
<p>Well, I already mentioned this one so I might as well start off with it.  We just began 2010 and you know what that means, time to change those copyright dates.  Yes, go ahead and edit that date while mine changes automatically on the stroke of 12.  This can be accomplished with a simple code.</p>
<pre class="brush: php;">Copyright &amp;copy; 200x-&lt;?php echo date('Y'); ?&gt; Example.com.</pre>
<p>If you want to automatically display your copyright date as a range of dates (2008-2010), check out this <a href="http://digwp.com/2009/08/range-copyright-dates/">awesome post</a> on <a href="http://digwp.com/">DigWP</a>.</p>
<h2>2. Display a List of Allowed HTML Tags</h2>
<p>WordPress doesn&#8217;t allow a lot of HTML tags in comments.  But your commentators may not know that, well now they will.</p>
<pre class="brush: php;">You may use: &lt;?php echo allowed_tags(); ?&gt;.</pre>
<h2>3. Display Related Posts By Tags</h2>
<p>There&#8217;re a whole slew of plugins out there that will display related posts.  In case you want to do it without a plugin, here&#8217;s how.</p>
<pre class="brush: php;">
&lt;?php
//for use in the loop, list 5 post titles related to first tag on current post
$backup = $post;  // backup the current object
$tags = wp_get_post_tags($post-&gt;ID);
echo &quot;&lt;div&gt;&lt;h3&gt;Related Posts&lt;/h3&gt;&quot;;
	$tagIDs = array();
	if ($tags)
	{
		$tagcount = count($tags);
			for ($i = 0; $i &lt; $tagcount; $i++) {
			$tagIDs[$i] = $tags[$i]-&gt;term_id;
			}
			$args=array(
			'tag__in' =&gt; $tagIDs,
			'post__not_in' =&gt; array($post-&gt;ID),
			'showposts'=&gt;5,
			'caller_get_posts'=&gt;1
			);
			$my_query = new WP_Query($args);
			if( $my_query-&gt;have_posts() )
			{
			echo &quot;&lt;ul&gt;&quot;;
			while ($my_query-&gt;have_posts()) : $my_query-&gt;the_post(); ?&gt;
			&lt;li&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;&lt;?php the_title(); ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/li&gt;
			&lt;?php endwhile;
			echo &quot;&lt;/ul&gt;&quot;;
			}
	} else echo &quot;&lt;span&gt;No related posts were found!&lt;/span&gt;&quot;;
	$post = $backup;  // copy it back
	wp_reset_query(); // to use the original query again
echo &quot;&lt;/div&gt;&quot;;
?&gt;
</pre>
<h2>4. Display Related Posts by Category</h2>
<p>Depending on your type of blog, you may want to display your related posts based on the category of that actual post.  Although, in my opinion tags would be more accurate, some people (myself included) don&#8217;t use tags.</p>
<pre class="brush: php;">
&lt;?php
$categories = get_the_category($post-&gt;ID);
if ($categories) {
	$category_ids = array();
	foreach($categories as $individual_category) $category_ids[] = $individual_category-&gt;term_id;

	$args=array(
		'category__in' =&gt; $category_ids,
		'post__not_in' =&gt; array($post-&gt;ID),
		'showposts'=&gt;5, // Number of related posts that will be shown.
		'caller_get_posts'=&gt;1
	);
	$my_query = new wp_query($args);
	if( $my_query-&gt;have_posts() ) {
		echo '&lt;h3&gt;Related Posts&lt;/h3&gt;&lt;ul&gt;';
		while ($my_query-&gt;have_posts()) {
			$my_query-&gt;the_post();
		?&gt;
			&lt;li&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to &lt;?php the_title_attribute(); ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/li&gt;
		&lt;?php
		}
		echo '&lt;/ul&gt;';
	}
}
?&gt;
</pre>
<h2>5. Disable Commenting on Posts Older than One Month</h2>
<p>If you write a REALLY good post on your blog, chances are it&#8217;ll be getting comments for quite some time.  Maybe months later, people will still be talking actively about just how awesome of a post it was.  That&#8217;s great and all, but there&#8217;s a certain point when you don&#8217;t have time to continuously moderate the comments on some of your older posts with new ones being made daily.  This code will automatically disable the commenting function after some time. Paste it into your functions.php file ( Note &#8211; to change the number of days it will take to disable, just change the number 30)</p>
<pre class="brush: php;">
&lt;?php
function close_comments( $posts ) {
	if ( !is_single() ) { return $posts; }
	if ( time() - strtotime( $posts[0]-&gt;post_date_gmt ) &gt; ( 30 * 24 * 60 * 60 ) ) {
		$posts[0]-&gt;comment_status = 'closed';
		$posts[0]-&gt;ping_status    = 'closed';
	}
	return $posts;
}
add_filter( 'the_posts', 'close_comments' );
?&gt;
</pre>
<h2>6. Place an &#8220;Edit&#8221; link next to each post.</h2>
<p>This makes the lives of admins a whole lot easier.  Just place this code somewhere within the Loop and it will automatically place an &#8220;Edit&#8221; link next to each post, that is only visible to admins.</p>
<pre class="brush: php;">&lt;?php edit_post_link('Edit', ''); ?&gt;</pre>
<h2>7. Include Your 404 Page</h2>
<p>In the Loop of your themes, you probably have something like this -</p>
<pre class="brush: php;">
&lt;?php endwhile; ?&gt;
&lt;?php else : ?&gt;
&lt;404 TEXT HERE&gt;
&lt;?php endif; ?&gt;
</pre>
<p>This is normally text to display if there are no posts.  Instead of repeating this text on your index.php, single.php, search.php, ect&#8230; You can just put in your 404.php file, and replace the text after the &#8220;else&#8221; with</p>
<pre class="brush: php;">&lt;?php include('404.php');?&gt;</pre>
<h2>8.  Display Popular Posts</h2>
<p>A helpful list for visitors is to display the posts that other visitors supposedly liked.  If 200 other people liked it enough to comment, chances are they will too.  Try out this bit of code to display this information, make sure you put it in the functions.php file.</p>
<pre class="brush: php;">
/*For Popular Posts*/
function popularPosts($num) {
    global $wpdb;
    $posts = $wpdb-&gt;get_results(&quot;SELECT comment_count, ID, post_title FROM $wpdb-&gt;posts ORDER BY comment_count DESC LIMIT 0 , $num&quot;);
    foreach ($posts as $post) {
        setup_postdata($post);
        $id = $post-&gt;ID;
        $title = $post-&gt;post_title;
        $count = $post-&gt;comment_count;
        if ($count != 0) {
            $popular .= '&lt;li&gt;';
            $popular .= '&lt;a href=&quot;' . get_permalink($id) . '&quot; title=&quot;' . $title . '&quot;&gt;' . $title . '&lt;/a&gt; ';
            $popular .= '&lt;/li&gt;';
        }
    }
    return $popular;
}
/*End of Popular Posts*/
</pre>
<p>To output the results, paste the following code into your theme.  The number 10 can be changed to fit the number of posts you would like to show.</p>
<pre class="brush: php;">&lt;?php echo popularPosts(10); ?&gt;</pre>
<h2>9.  Show a &#8220;Tweet This&#8221; link</h2>
<p>With the growing popularity of Twitter, it&#8217;s an opportunity you simply can&#8217;t miss out on.  Putting a simple link at the end of each post could lead to quite a bit more traffic.</p>
<pre class="brush: php;">&lt;a href=&quot;http://twitter.com/home?status=I just read &lt;?php the_permalink(); ?&gt;&quot; title=&quot;Send this page to Twitter!&quot; target=&quot;_blank&quot;&gt;Tweet This!&lt;/a&gt;</pre>
<h2>10.  Show a Send to Facebook Link</h2>
<p>Just like Twitter, facebook offers a lot of exposure and traffic.  Don&#8217;t believe me? Try it out for yourself with this code -</p>
<pre class="brush: php;">&lt;a href=&quot;http://www.facebook.com/sharer.php?u=&lt;?php the_permalink();?&gt;&amp;t=&lt;?php the_title(); ?&gt;&quot; target=&quot;blank&quot;&gt;Share on Facebook&lt;/a&gt;</pre>
<h2>11.  Widgettize Your Sidebar</h2>
<p>Widgets are a dynamic and quick way to update content in your sidebar and footer.<br />
Just put the following code in your functions.php file -</p>
<pre class="brush: php;">
/*For Sidebar Widget*/

if ( function_exists('register_sidebar') )
register_sidebar(array(
'name' =&gt; 'sidebar',
'before_widget' =&gt; '&lt;div class=&quot;box&quot;&gt;',
'after_widget' =&gt; '&lt;/div&gt;&lt;!--.box--&gt;',
'before_title' =&gt; '&lt;h3&gt;',
'after_title' =&gt; '&lt;/h3&gt;',
));
/*End of For Sidebar Widget*/
</pre>
<p>Then, wherever you want your widgets to appear, put this</p>
<pre class="brush: php;">
&lt;?php if ( function_exists('dynamic_sidebar') &amp;&amp; dynamic_sidebar(1) ) : else:  ?&gt;
				&lt;?php endif; ?&gt;
</pre>
<h2>12.  List the Author&#8217;s Bio</h2>
<p>On multi authored blogs you may want to list a bit of information about the author of a post.  This information can easily be edited via the WP admin panel, and can easily be used via this code</p>
<pre class="brush: php;">&lt;?php the_author_description(); ?&gt;</pre>
<h2>13. Adding a Print Button to your Posts</h2>
<p>While this is arguably redundant to built-in browser functions, some people might find it useful.  It&#8217;s also worth mentioning it&#8217;s not a WordPress only trick, so all of you poor non-wordpress users get to have fun with it too.</p>
<pre class="brush: php;">&lt;a href=&quot;javascript:window.print()&quot;&gt;Print this Article&lt;/a&gt;</pre>
<h2>14. Display Schedule Posts</h2>
<p>Scheduling posts can help create a consistency  of publish time for readers.  Chances are, you don&#8217;t want to wake up at 5:00 AM to publish a post, but maybe your loyal foreign readers like to check their favorite blogs around lunchtime.</p>
<p>Well, with this code, you can also help create some suspense ahead of time.</p>
<pre class="brush: php;">

&lt;?php

$my_query = new WP_Query('post_status=future&amp;order=DESC&amp;showposts=5');

if ($my_query-&gt;have_posts()) {

    while ($my_query-&gt;have_posts()) : $my_query-&gt;the_post(); ?&gt;

        &lt;?php the_title(); ?&gt;

    &lt;?php endwhile;

}

?&gt;
</pre>
<h2>15. How to Exclude Subpages in the Nav</h2>
<p>For whatever reason, you may want to exclude subpages when showing the navigation for your WordPress theme.</p>
<pre class="brush: php;">&lt;?php wp_list_pages (array ( 'depth' =&gt; 1, 'title_li' =&gt; _ _('')))?&gt;</pre>
<p>Note &#8211; This also discards the &#8220;Pages:&#8221; text that would normally precede the actual list of pages.</p>
<h2>16.  Display Recent Comments</h2>
<p>If you want to display the most recent comments on your blog, simply paste the following code into your functions.php file.</p>
<pre class="brush: php;">

&lt;?php
function recent_comments($src_count=10, $src_length=60, $pre_HTML='&lt;ul&gt;', $post_HTML='&lt;/ul&gt;') {
global $wpdb;
$sql = &quot;SELECT DISTINCT ID, post_title, post_password, comment_ID, comment_post_ID, comment_author, comment_date_gmt, comment_approved, comment_type,
SUBSTRING(comment_content,1,$src_length) AS com_excerpt FROM $wpdb-&gt;comments LEFT OUTER JOIN $wpdb-&gt;posts ON ($wpdb-&gt;comments.comment_post_ID = $wpdb-&gt;posts.ID) WHERE comment_approved = '1' AND comment_type = '' AND post_password = '' ORDER BY comment_date_gmt DESC
LIMIT $src_count&quot;;
$comments = $wpdb-&gt;get_results($sql);
$output = $pre_HTML;
foreach ($comments as $comment) {
$output .= &quot;&lt;li&gt;&lt;a href=\&quot;&quot; . get_permalink($comment-&gt;ID) . &quot;#comment-&quot; . $comment-&gt;comment_ID . &quot;\&quot; title=\&quot;on &quot; . $comment-&gt;post_title . &quot;\&quot;&gt;&quot; . strip_tags($comment-&gt;com_excerpt) .&quot;...&lt;/a&gt;&lt;/li&gt;&quot;;
}
$output .= $post_HTML;
echo $output;
}
?&gt;
</pre>
<p>Then, to display the actual output, just use this code anywhere in your theme.</p>
<pre class="brush: php;">&lt;?php recent_comments(); ?&gt;</pre>
<h2>17.  Remove Curly Quotes from Your Posts</h2>
<p>There are actually two different types of quotes that you can use.  There are the commonly used ones on your keyboard, and then there are the pretty looking ones that WordPress uses.</p>
<p>WordPress automatically replaces all of your quotes with curly quotes, and this can sometimes mess up code you have in your posts.  To avoid this, paste the following code in your functions.php file.</p>
<pre class="brush: php;">&lt;?php remove_filter('the_content', 'wptexturize'); ?&gt;</pre>
<h2>18. List Categories as a Dropdown</h2>
<p>If you want to list the categories on your blog as a dropdown, use the following code anywhere within your theme files.</p>
<pre class="brush: php;">&lt;?php wp_dropdown_categories( ); ?&gt;</pre>
<h2>19. Display a Login/Logout Link</h2>
<p>Blogs that allow user registration may find it helpful to display a logout/login link for use by themselves and their visitors.</p>
<pre class="brush: php;">&lt;?php wp_loginout(); ?&gt;</pre>
<h2>20. Display a Admin Panel/Register Link</h2>
<p>Many theme developers just put a direct link to the WordPress admin panel if they want one.  Well, WordPress has a built-in function that will display as a register link and automatically change to a link to the admin panel when the user logs in.</p>
<pre class="brush: php;">&lt;?php wp_register(); ?&gt;</pre>
<h2>21. Display Ads on Old Posts</h2>
<p>We already know how to disable commenting on older posts.  Well, it&#8217;s also plausible that you may want to insert advertisements on those posts.</p>
<p>Paste the following code into your functions.php file -</p>
<pre class="brush: php;">
function is_old_post($post_id=null){
   $days = 30;
   global $wp_query;
   if(is_single() || is_page()) {
      if(!$post_id) {
         $post_id = $wp_query-&gt;post-&gt;ID;
      }
      $current_date = time();
      $offset = $days *60*60*24;
      $post_id = get_post($post_id);
      $post_date = mysql2date('U',$post_id-&gt;post_date);
      $cunning_math = $post_date + $offset;
      $test = $current_date - $cunning_math;
      if($test &gt; 0){
         $return = true;
      }else{
         $return = false;
      }
   }else{
      $return = false;
   }
   return $return;
}
</pre>
<p>Then, place the following in your single.php file.</p>
<pre class="brush: php;">
&lt;?php if(is_old_post()){ ?&gt;
INSERT AD CODE HERE
&lt;?php } ?&gt;
</pre>
<h2>22. Display the Total Number of Posts</h2>
<p>If you want to showoff how many posts you&#8217;ve made on your blog, you might want to try out this code. ( I think I&#8217;m at 5 right now <img src='http://www.net-cake.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> )</p>
<pre class="brush: php;">
&lt;?php $numposts = $wpdb-&gt;get_var(&quot;SELECT count(*) FROM $wpdb-&gt;posts WHERE post_status = 'publish' AND post_type = 'post'&quot;);
if (0 &lt; $numposts)
     $numposts = number_format($numposts);
echo $numposts.' posts.';
?&gt;
</pre>
<h2>23. Display an Ad after the First Post</h2>
<p>If you want to display an ad after the first post, place the following code right before the endwhile in the Loop of your WordPress theme (index.php).</p>
<pre class="brush: php;">

&lt;?php if ($loopcounter &lt;= 1) { include (TEMPLATEPATH . '/ad.php'); } ?&gt;
</pre>
<p>Then, you&#8217;ll need to place the code for your ads in a file called &#8220;ad.php&#8221;</p>
<h2>24.  Display Featured Posts</h2>
<p>If you want to add featured posts functionality to your WordPress blog, you&#8217;ll first need to give each of your featured posts a category of &#8220;featured&#8221; or something similar.</p>
<p>Then place the following code in your theme files -</p>
<pre class="brush: php;">

&lt;?php query_posts('cat=2&amp;showposts=5'); ?&gt;  &lt;ul&gt;   &lt;?php while (have_posts()) : the_post(); ?&gt;   &lt;li&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/li&gt;   &lt;?php endwhile;?&gt; &lt;/ul&gt;
</pre>
<p>The number after &#8220;cat=&#8221; should be changed to fit the ID of your featured category.</p>
<h2>25. Exclude a Certain Category From being Shown</h2>
<p>If you don&#8217;t want a certain category to be shown, use the following code -</p>
<pre class="brush: php;">&lt;?php query_posts('cat=-YOUR CATEGORY ID NUMBER'); ?&gt;  &lt;?php while (have_posts()) : the_post(); ?&gt;   //the loop here &lt;?php endwhile;?&gt;</pre>
<h2>THAT&#8217;S ALL FOLKS</h2>
<p>Well, I hope you all feel a bit smarter than you did prior to reading this.  Hopefully you&#8217;ll find these tips and tricks as useful as I have.  If you have any problems with one of them, you can always comment below.  Good luck!</p>
<p>For the record, this post consists of 1982 words.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.net-cake.com/25-wordpress-tips-and-tricks-to-make-your-theme-awesome/feed</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Creating Your Own WordPress Comment Form</title>
		<link>http://www.net-cake.com/creating-your-own-wordpress-comment-form</link>
		<comments>http://www.net-cake.com/creating-your-own-wordpress-comment-form#comments</comments>
		<pubDate>Sat, 12 Dec 2009 13:00:44 +0000</pubDate>
		<dc:creator>Paul D'Amora</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.net-cake.com/?p=21</guid>
		<description><![CDATA[With the release of Wordpress 2.7 the comments.php file was almost completely rewritten. Yet, many people still use the old comments.php, instead of upgrading to the newer one. The only explanation for this is that people either don't know about the new  one, or they don't understand it. ]]></description>
			<content:encoded><![CDATA[<p>The comment section is probably one of the most important parts of any WordPress theme. It&#8217;s the only way that users can interact with you and your posts. Without it, you wouldn&#8217;t be able to have any feedback whatsoever. Even so, it is an often overlooked file. With the newish comments template you can have a working comment system with only one line of code, which is a huge improvement over the old long &#8216;foreach&#8217; statement. But, what if you want to change things up a bit from the default comment template? Well, that&#8217;s why I&#8217;m here. Throughout this post I&#8217;ll explain the different parts of the new comment template, and show you some cool tricks to customize it.</p>
<p>We&#8217;re all pretty familiar with the old WordPress comment form.</p>
<div id="attachment_36" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.net-cake.com/wp-content/uploads/2009/08/commentsphp.png"><img class="size-full wp-image-36" title="commentsphp" src="http://www.net-cake.com/wp-content/uploads/2009/08/commentsphp.png" alt="Long foreach PHP Statement" width="500" height="712" /></a><p class="wp-caption-text">Long foreach PHP Statement</p></div>
<p>That&#8217;s really all you need to know about the old comments template. The old comments template was just a big jumble of code that was completely incomprehensible by those who didn&#8217;t know any PHP.  It worked just fine, but it wasn&#8217;t easy to customize or understand for the average user.  Now, upgrading your comments.php file is incredibly easy.  Just replace the entire foreach statement with this function :</p>
<pre class="brush: php;"> wp_list_comments( );</pre>
<p>This should be within php tags of course.<br />
To make your theme up to date, you could just do that, but you&#8217;ll probably want to download the default<strong> comments.php</strong> file from WordPress.org if you&#8217;re starting a new theme.</p>
<p>Well, that seemed pretty easy. But the first thing that&#8217;s going to confuse you is where you make your edits.  Well, it&#8217;s easier than you may think, and I&#8217;ll so you how to get everything you could with the old template and much more.</p>
<p>So with the old comments template, you could just add a line of code to display a gravatar or something. What now? Well, that&#8217;s what I&#8217;m going to teach you.</p>
<p>Ok, so you have all of your current files.  First things first, you need to add the following somewhere in the head of the <strong>header.php</strong> file.  It makes the threaded comments work correctly.</p>
<pre class="brush: php;"> if ( is_singular() ) wp_enqueue_script( comment-reply ); wp_head();</pre>
<p>This should be within php tags of course.<br />
Now, that you have a completely working and current, comment template, it&#8217;s time to customize it.  Unless you like the default style of comments.</p>
<p>1. Open <strong>comments.php</strong><br />
You need to replace the wp_list_comments function with the following -</p>
<pre class="brush: php;">wp_list_comments('type=comment&amp;amp;callback=theme_comment');</pre>
<p>This should be within php tags of course.<br />
This is defining a function for our custom comment form that will be in the <strong>functions.php</strong> file.  Of course, if you don&#8217;t like the fact that code related to comments isn&#8217;t in the <strong>comments.php</strong> file you can move it there, but this is how I did it.</p>
<p>2. Ok open up <strong>functions.php</strong>, if you don&#8217;t already have one, just create one.<br />
Insert the following code -</p>
<pre class="brush: xml;">function theme_comment($comment, $args, $depth) {
   $GLOBALS['comment'] = $comment; ?&amp;gt;
	&lt;li&gt; id=&quot;comment-&quot;&amp;gt;&lt;/li&gt;
</pre>
<p>Everything inside your <code>li</code> tags is what is displayed for each single comment.  Keep in mind, this is just the individual comments, things like the comment submission form should go above or below the  function in your <strong>comments.php</strong> file.<br />
Anyway, here&#8217;s a quick rundown on everything you just put in your <strong>functions.php</strong> file.</p>
<p>The <code>comment_class();</code> function displays all the classes for the comments, and there are a lot of them. The <code>comment_ID() </code> just displays the comments ID number. Simple right?</p>
<p>Now, it&#8217;s all up to you. But I won&#8217;t leave you up a river without a paddle, I&#8217;m going to give you some useful snippets of code that you should definitely use in your comments template.  These, and much more can of course be found on WordPress.org.</p>
<h2><strong>1. Gravatar</strong></h2>
<pre class="brush: php;"> echo get_avatar($comment,$size='80',$default='
' );</pre>
<p>This should be within php tags of course.</p>
<p>Displays the gravatar of the comment author. Just edit the size, and the path to url.<br />
<strong></strong></p>
<h2><strong>2. Comment Time</strong></h2>
<pre class="brush: php;">comment_date('F jS, Y');</pre>
<p>This should be within php tags of course.</p>
<p>Displays the time that the comment was left.</p>
<h2><strong>3. Reply to Comment link</strong></h2>
<pre class="brush: php;">comment_reply_link(array_merge( $args, array('reply_text' =&amp;gt; 'REPLY ', 'depth' =&amp;gt; $depth, 'max_depth' =&amp;gt; $args['max_depth'])));</pre>
<p>This should be within php tags of course.</p>
<p>If you want to take advantage of the threaded comments, you&#8217;ll need this. It allows users to reply to individual comments.  The result is a nested list, so make sure to code your CSS and markup accordingly.  You can of course change the text that is displayed in the link.</p>
<h2><strong>4. Comment Text</strong></h2>
<pre class="brush: php;">comment_text();</pre>
<p>This should be within php tags of course.</p>
<p>You won&#8217;t get many comments without this. It displays the text of the comment, rather basic,</p>
<h2><strong>5. Comment Status</strong></h2>
<pre class="brush: php;">comment_approved == '0') : ?&amp;gt;
&lt;em&gt;&lt;/em&gt;</pre>
<p>This displays the status of your comments. I.e. If it&#8217;s awaiting moderation or not. You should place this code above your comment text.</p>
<h2><strong>6. Edit Comment Link</strong></h2>
<pre class="brush: php;">edit_comment_link('Edit');</pre>
<p>This should be within php tags of course.</p>
<p>This allows the Administrator quick access to editing individual comments.  Helps with spam, and whatnot.</p>
<h2><strong>7.  Author Comment Style</strong></h2>
<p><strong></strong><br />
You may want the author to have their own special style of comments.  Luckily, that&#8217;s already built into WordPress, so all you need to do is target the CSS class in your <strong>style.css</strong> file.<br />
The class you want to use is <code>bypostauthor</code>.<br />
In case you also want certain users to have specially colored comments, use <code>comment-author-USERNAME</code></p>
<h2>Wrapup</h2>
<p>Well, hope you found this tutorial useable.  Because I know I&#8217;ll get comments about this, yes I know 2.7 was released awhile ago, but it&#8217;s never to late to write a tutorial on something from it.  If you want to see the finished result, scroll down and leave me a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.net-cake.com/creating-your-own-wordpress-comment-form/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
