<?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>WordDope &#187; WordPress Tips &amp; Tricks</title>
	<atom:link href="http://worddope.com/category/wordpress-tips-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://worddope.com</link>
	<description>(a freelance writer&#039;s guide to working with WordPress)</description>
	<lastBuildDate>Thu, 10 Nov 2011 00:20:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Finding the Best Related Posts Plugin for a WordPress Blog</title>
		<link>http://worddope.com/2011/03/12/best-related-posts-plugin-wordpress/</link>
		<comments>http://worddope.com/2011/03/12/best-related-posts-plugin-wordpress/#comments</comments>
		<pubDate>Sat, 12 Mar 2011 18:04:42 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress Tips & Tricks]]></category>
		<category><![CDATA[Possibly Related Recent Posts]]></category>
		<category><![CDATA[Related Posts by Category Widget]]></category>
		<category><![CDATA[Yet Another Related Posts Plugin]]></category>

		<guid isPermaLink="false">http://worddope.com/?p=521</guid>
		<description><![CDATA[Not long ago I had to do some research and determine which was the best related posts plugin for a client’s WordPress blog. She wanted a list of older, related posts at the end of each article to encourage readers to dig further into her blog. Typically, this would be done by installing and configuring [...]]]></description>
			<content:encoded><![CDATA[<p>Not long ago I had to do some research and determine which was the best related posts plugin for a client’s WordPress blog. She wanted a list of older, related posts at the end of each article to encourage readers to dig further into her blog.</p>
<p>Typically, this would be done by installing and configuring a plugin but her blog had already experienced slowdown issues due to complex plugins bogging down her server. So I needed to find a plugin that would do what she wanted but still be lightweight enough to keep things running smoothly. I found a lot of options out there and ultimately had to tweak a couple of different plugins in order to find the best related posts plugin for her site.</p>
<h4>Why Use Related Posts Plugins?</h4>
<p>Just as important as getting readers to discover your blog is getting them to stay on your blog. Related posts plugins are helpful tools to encourage readers to continue reading your content. There are a lot of different related posts plugins out there for WordPress and they all accomplish the same thing: they add a list of posts and/or pages of similar content to the end of an article or in the sidebar in order to help readers discover more of your content.</p>
<h4>What Was the Best Related Posts Plugin For My Client&#8217;s WordPress Blog?</h4>
<p>While doing my due diligence I found plenty of bloggers recommending <a href="http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/" target="_blank">Yet Another Related Posts Plugin (YARPP)</a> as the best related posts plugin. It certainly seemed to be loaded with functionality but it sounded like it came with more bells and whistles than my friend needed for her blog. Even the plugin&#8217;s FAQ mentions that some server slowdown can be expected due to YARPP&#8217;s database calls.</p>
<p>A bit more searching led me to a pair of simpler, more lightweight related posts plugin solutions: the <a href="http://wordpress.org/extend/plugins/related-posts-by-category-widget/" target="_blank">Related Posts by Category Widget</a> and the <a href="http://wordpress.org/extend/plugins/possibly-related-recent-posts/" target="_blank">Possibly Related Recent Posts</a> plugin.</p>
<h4>The Related Posts by Category Widget</h4>
<p>This is a very light, easy to use plugin that creates a widget that displays random related posts in the sidebar. It only appears on the single post page and you can customize it to display a certain number of posts and order them a certain way.</p>
<p>It did require a couple of tweaks to get it up and running though. Initially, it would also display the category name of each post listed and I was unable to get rid of it without fiddling with the code.</p>
<p>Line 81:</p>
<blockquote><p>if($data['showname'] = ‘yes’) {</p></blockquote>
<p>Needs to be changed to:</p>
<blockquote><p>if($data['showname'] == ‘yes’) {</p></blockquote>
<p>It also broke the sidebar when viewing the homepage which also required a bit of code tweaking:</p>
<blockquote><p>The code &#8220;echo $after_widget&#8221; located after the closing bracket for &#8220;if (is_single())&#8221; (as in, after &#8220;&lt;?php&#8221; and before &#8220;register_sidebar_widget&#8221; in the PHP file) needs to be deleted to fix the broken layout in the homepage.</p></blockquote>
<h4>The Possibly Related Recent Posts Plugin</h4>
<p>Another simple plugin that adds related links to the bottom of each post, both on the homepage and single post page. This is exactly what I was looking for but unfortunately it would only link to the most recent posts it could find. The most recent posts on the homepage would all link to each other and any posts older than a month or two wouldn&#8217;t make the cut. Not too useful when you want to encourage readers to dig around your archives and find something they would otherwise miss.</p>
<p>After some more tinkering with the PHP file I stumbled upon a fix. I changed the line:</p>
<blockquote><p>foreach ( ( get_posts ( &#8216;numberposts=5&amp;category=&#8217; . $categories . &#8216;&amp;orderby=date&amp;exclude=&#8217; .</p></blockquote>
<p>to this:</p>
<blockquote><p>foreach ( ( get_posts ( &#8216;numberposts=5&amp;category=&#8217; . $categories . &#8216;&amp;orderby=rand&amp;exclude=&#8217; .</p></blockquote>
<p>Changing the &#8220;date&#8221; to &#8220;rand&#8221; allowed it to access all the older related posts and display them randomly. Now readers would easily be able to find posts from months ago they never would have looked at otherwise.</p>
<p>As both of these plugins were relatively light I was able to keep both of them running on the site at the same time without slowing down the server. With a little bit of research and tweaking some code, I was able to find the best related posts plugin for my client&#8217;s needs.</p>
]]></content:encoded>
			<wfw:commentRss>http://worddope.com/2011/03/12/best-related-posts-plugin-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Block Spam On a WordPress Blog</title>
		<link>http://worddope.com/2010/07/03/block-spam-wordpress/</link>
		<comments>http://worddope.com/2010/07/03/block-spam-wordpress/#comments</comments>
		<pubDate>Sat, 03 Jul 2010 16:02:28 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[WordPress Tips & Tricks]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://worddope.com/?p=475</guid>
		<description><![CDATA[My blogs are regularly spammed by the same bots and I wanted to know how to automatically block spam on a WordPress blog. I&#8217;ve already mentioned using Askimet as a spam blocking plugin but Askimet doesn&#8217;t block IP addresses of repeat spammers. Luckily, I found a spam blocking solution for WordPress among some of the [...]]]></description>
			<content:encoded><![CDATA[<p>My blogs are regularly spammed by the same bots and I wanted to know how to automatically block spam on a WordPress blog. I&#8217;ve already mentioned <a href="http://worddope.com/2010/05/18/starting-wordpress-blog-first-plugins/">using Askimet as a spam blocking plugin</a> but Askimet doesn&#8217;t block IP addresses of repeat spammers. Luckily, I found a spam blocking solution for WordPress among some of the excellent security tweaks in this <a href="http://www.smashingmagazine.com/2010/07/01/10-useful-wordpress-security-tweaks/" target="_blank">article on Smashing Magazine</a>.  This snippet of code entered into your .htaccess file will ban persistent spam bots from your blog:</p>
<blockquote><p>Paste the following code in your <em>.htaccess</em> file, located at the root of your WordPress installation. As I said, <strong>always back up the <em>.htaccess</em> file</strong> before editing it. Also, don’t forget to change <code>123.456.789</code> to the IP address you want to ban.</p>
<pre>&lt;Limit GET POST PUT&gt;
order allow,deny
allow from all
deny from 123.456.789
&lt;/LIMIT&gt;</pre>
</blockquote>
<p>There&#8217;s almost nothing more annoying than having to clear out the same spam comments from the same IP address every day. Repeat line 4 on a new line with another address and you can block as many spam-happy bots as you like.</p>
]]></content:encoded>
			<wfw:commentRss>http://worddope.com/2010/07/03/block-spam-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Make WordPress Empty The Trash</title>
		<link>http://worddope.com/2010/05/20/wordpress-empty-trash/</link>
		<comments>http://worddope.com/2010/05/20/wordpress-empty-trash/#comments</comments>
		<pubDate>Thu, 20 May 2010 17:19:31 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
				<category><![CDATA[WordPress Tips & Tricks]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[trash]]></category>

		<guid isPermaLink="false">http://worddope.com/?p=463</guid>
		<description><![CDATA[A simple and very useful hack by way of WP Recipes that makes WordPress empty the trash: Simply open your wp-config.php file (located at the root of your WordPress install) and paste the following code: define('EMPTY_TRASH_DAYS', 10 ); &#160; The second parameter is when to empty trash, in days. If you&#8217;re like me, you&#8217;re constantly [...]]]></description>
			<content:encoded><![CDATA[<p>A simple and very useful hack by way of <a href="http://www.wprecipes.com/wordpress-tip-automatically-empty-trash" target="_blank">WP Recipes</a> that makes WordPress empty the trash:</p>
<blockquote>
<div>
<p>Simply open your <em>wp-config.php</em> file (located at the root of your WordPress install) and paste the following code:</p>
<pre>define('EMPTY_TRASH_DAYS', 10 );</pre>
</div>
<p>&nbsp;</p></blockquote>
<blockquote><p>The second parameter is when to empty trash, in days.</p></blockquote>
<p>If you&#8217;re like me, you&#8217;re constantly forgetting to permanently delete posts, comments, and pages that fill up your trash folder. If you don&#8217;t empty an overloaded WordPress trash bin your blog may experience slower loading times as a result. This fix will not only take care of a piece of routine blog maintenance you&#8217;re likely to forget, it should also help your site run faster.</p>
]]></content:encoded>
			<wfw:commentRss>http://worddope.com/2010/05/20/wordpress-empty-trash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

