<?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>Field Guide to Programmers &#187; Wordpress</title>
	<atom:link href="http://www.fieldguidetoprogrammers.com/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fieldguidetoprogrammers.com</link>
	<description>Code, Toys, Bits of Odd Fluff</description>
	<lastBuildDate>Fri, 19 Jun 2009 16:05:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Undefined _weak_escape(), Redirection, and the WordPress 2.8 Upgrade</title>
		<link>http://www.fieldguidetoprogrammers.com/wordpress/undefined-_weak_escape-redirection-and-the-wordpress-28-upgrade/</link>
		<comments>http://www.fieldguidetoprogrammers.com/wordpress/undefined-_weak_escape-redirection-and-the-wordpress-28-upgrade/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 18:38:06 +0000</pubDate>
		<dc:creator>jamiegrove</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.fieldguidetoprogrammers.com/?p=132</guid>
		<description><![CDATA[If you upgraded to WordPress 2.8 and ended up with an error like this&#8230;

Fatal error: Call to undefined method WordPress_Module::_weak_escape() in ../wp-includes/wp-db.php

Chances are you have the Redirection plugin.  Anything prior to version 2.1.14 will throw this error when you upgrade.  Of course, it would have been nice if you upgraded the plugin prior [...]]]></description>
			<content:encoded><![CDATA[<p>If you upgraded to WordPress 2.8 and ended up with an error like this&#8230;</p>
<p><blockqoute><br />
<i>Fatal error: Call to undefined method WordPress_Module::_weak_escape() in ../wp-includes/wp-db.php</i>
</p></blockquote>
<p>Chances are you have the Redirection plugin.  Anything prior to version 2.1.14 will throw this error when you upgrade.  Of course, it would have been nice if you upgraded the plugin prior to upgrading WordPress, but you didn&#8217;t do that&#8230;  did you?</p>
<p>I didn&#8217;t either. <img src='http://www.fieldguidetoprogrammers.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>No worries.  The solution is simple enough:</p>
<ol>
<li>Rename the /wp-content/plugins/redirection directory to /wp-content/plugins/redirection-bad (or something like that) &#8211; This will cause WordPress to disable the plugin.</li>
<li>You should be able to log into the WP admin now.</li>
<li>Go to Plugins in the WP admin and confirm that the Redirection plugin is disabled.</li>
<li>Change the /wp-content/plugins/redirection-bad back to /wp-content/plugins/redirection.</li>
<li>Refresh the Plugins page in the WP admin.</li>
<li>You should be able to use the automatic upgrade now on the Redirection plugin.</li>
</ol>
<p>If you have other blogs to upgrade, try upgrading the plugin first&#8230; unless you like this sort of thing. <img src='http://www.fieldguidetoprogrammers.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.fieldguidetoprogrammers.com/wordpress/undefined-_weak_escape-redirection-and-the-wordpress-28-upgrade/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>WordPress 2.6.2 Upgrade and wp-quotes Plugin</title>
		<link>http://www.fieldguidetoprogrammers.com/wordpress/wordpress-262-upgrade-and-wp-quotes-plugin/</link>
		<comments>http://www.fieldguidetoprogrammers.com/wordpress/wordpress-262-upgrade-and-wp-quotes-plugin/#comments</comments>
		<pubDate>Tue, 07 Oct 2008 01:14:06 +0000</pubDate>
		<dc:creator>jamiegrove</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.fieldguidetoprogrammers.com/blog/?p=87</guid>
		<description><![CDATA[Note the problem outlined below applies to version 2.6.3 too.  I now have a copy of edit-quotes.php on my machine for a quick FTP after upgrading.
I love the simplicity of the wp-quotes plugin by Zombie Robot.  It does what it&#8217;s supposed to do and it does it well.  Until it doesn&#8217;t of [...]]]></description>
			<content:encoded><![CDATA[<div style="background-color:red;color:white;padding:5px;">Note the problem outlined below applies to version 2.6.3 too.  I now have a copy of edit-quotes.php on my machine for a quick FTP after upgrading.</div>
<p>I love the simplicity of the wp-quotes plugin by Zombie Robot.  It does what it&#8217;s supposed to do and it does it well.  Until it doesn&#8217;t of course.</p>
<p>There was a wee bit of a problem with the latest WordPress update to version 2.6.2: it broke the admin interface for wp-quotes.</p>
<p>This happened because I used the InstantUpgrade plugin.  InstantUpgrade is excellent, but overwrites files in the wp-admin directory with impunity.  Of course, it might be a good idea if the author of wp-quotes hadn&#8217;t put the edit-quotes.php file in the wp-admin directory.  But let&#8217;s not quibble, shall we?</p>
<p>So here&#8217;s the fix for wp-quotes admin interface after upgrading to WordPress 2.6.2:</p>
<ul>
<li>Visit Zombie Robot and <a href="http://www.zombierobot.com/wp-quotes/">download wp-quotes 1.3 again</a>.</li>
<li>Unzip the archive</li>
<li>Upload the file edit-quotes.php to your /wp-admin directory</li>
<li>Enjoy wp-quotes again until the next upgrade. <img src='http://www.fieldguidetoprogrammers.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
<p>Pretty simple, I know.  Just thought I&#8217;d note it for posterity since I couldn&#8217;t find the answer anywhere else and just tried it for the heck of it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fieldguidetoprogrammers.com/wordpress/wordpress-262-upgrade-and-wp-quotes-plugin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>5 Wordpress Plugins You Need for Your Corporate Blog</title>
		<link>http://www.fieldguidetoprogrammers.com/wordpress/5-wordpress-plugins-you-need-for-your-corporate-blog/</link>
		<comments>http://www.fieldguidetoprogrammers.com/wordpress/5-wordpress-plugins-you-need-for-your-corporate-blog/#comments</comments>
		<pubDate>Mon, 09 Jun 2008 11:13:00 +0000</pubDate>
		<dc:creator>jamiegrove</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.fieldguidetoprogrammers.com/blog/?p=85</guid>
		<description><![CDATA[Once you set up Wordpress, you may find it daunting to decide just which plugins you should add.  After all, there are many articles listing dozens of plugins that are must have&#8217;s.  In fact, I just saw one that had over 100!
While I enjoy wading through these articles, it&#8217;s a bit much for [...]]]></description>
			<content:encoded><![CDATA[<p>Once you set up Wordpress, you may find it daunting to decide just which plugins you should add.  After all, there are many articles listing dozens of plugins that are must have&#8217;s.  In fact, I just saw one that had over 100!</p>
<p>While I enjoy wading through these articles, it&#8217;s a bit much for the casual user.  So, I thought I&#8217;d focus on 5 special plugins I put on every blog I create.</p>
<p>The first two plugins focus on driving more discussion on your site, the next two help you manage your content, and the last two give your site a little search engine boost.  Wait a minute, that&#8217;s six plugins!  Well, number 4 is actually both a site management and a search engine helper, so consider it a bonus!</p>
<h2>5 Wordpress Plugins You Need for Your Corporate Blog</h2>
<p>1. <a href="http://wordpress.org/extend/plugins/subscribe-to-comments/">Subscribe to Comments</a> &#8211; Once someone posts a comment, you should make it easy for them to keep track of the conversation.  This is where Subscribe to Comments comes in.  Subscribe to Comments puts a small checkbox under your comment box.  Visitors leaving comments can check the box to receive an email notice each time someone else posts a follow-up.   This convenience helps turns commenters into active participants in the discussion by keeping them up to date on the conversation and providing a quick link back to share additional thoughts.</p>
<p>2. <a href="http://wordpress.org/extend/plugins/commentluv/"> Comment Luv</a> &#8211; The URL field in the comment block gives a visitor an opportunity to get a link back to their own website.  This provides an automatic incentive to leave a comment worthy of a click, but you can encourage more comments by adding the Comment Luv plugin.  Comment Luv reads the URL left by the commenter, pulls back the first entry in the RSS feed from that site, and inserts a link to the post (with title) at the end of the comment.</p>
<p>3. <a href="http://wordpress.org/extend/plugins/in-series/">In Series</a> &#8211; If you write multipart articles, you know just how much fun it is to go back and make sure all of the back posts have the links to the latest articles.  The In Series plugin allows you to define a series and assign articles to the series much as you would a category.  In addition, the plugin places a nice table of contents at the bottom of each post for quick access.</p>
<p>4. <a href="http://wordpress.org/extend/plugins/redirection/">Redirection</a> &#8211; This plugin allows you to set up special URLs on your site to redirect visitors to certain posts or articles.  For example, you could set up www.somesite.com/turtleracing to point to your latest article about Turtle Racing.  In addition, the plugin will also set up redirects automatically when you change categories or permalinks for a post.  This is absolutely a lifesaver and a must have, even if you never set up that Turtle racing page you will be glad you have Redirection installed.</p>
<p>5. <a href="http://wordpress.org/extend/plugins/all-in-one-seo-pack/">All in One SEO Pack</a> &#8211; This nifty plugin automatically adjusts your Wordpress to take advantage of many SEO best practices (copy, titles, noindex tags, etc).  Note: the author is no longer actively developing this plugin but I&#8217;ve found it to be extremely stable.</p>
<p>I hope this helps.  If you have a few special plugins that you like, please drop a note in the comments and subscribe to comment updates.  <img src='http://www.fieldguidetoprogrammers.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.fieldguidetoprogrammers.com/wordpress/5-wordpress-plugins-you-need-for-your-corporate-blog/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Google Ad Wrap Plug-in &#8211; Telling Google about Relevant Content</title>
		<link>http://www.fieldguidetoprogrammers.com/wordpress/google-ad-wrap-plug-in-telling-google-about-relevant-content/</link>
		<comments>http://www.fieldguidetoprogrammers.com/wordpress/google-ad-wrap-plug-in-telling-google-about-relevant-content/#comments</comments>
		<pubDate>Sat, 16 Feb 2008 01:25:35 +0000</pubDate>
		<dc:creator>jamiegrove</dc:creator>
				<category><![CDATA[AdSense]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.fieldguidetoprogrammers.com/blog/wordpress/google-ad-wrap-plug-in-telling-google-about-relevant-content/</guid>
		<description><![CDATA[Awhile back I wrote about Dax Herrera&#8217;s Google AdSense plug-in for Wordpress.  I happened to be out trolling the treasure troves of plug-ins for a different site when I came across Urban Giraffe&#8217;s excellent Google Ad Wrap plug-in.
The plug-in is really sweet because it allows you to tell AdSense about the relative content on [...]]]></description>
			<content:encoded><![CDATA[<p>Awhile back I wrote about <a href="http://www.fieldguidetoprogrammers.com/wordpress/wordpress-adsense-injection-random-google-ads-on-your-blog/">Dax Herrera&#8217;s Google AdSense plug-in for Wordpress</a>.  I happened to be out trolling the treasure troves of plug-ins for a different site when I came across Urban Giraffe&#8217;s excellent <a href="http://urbangiraffe.com/plugins/google-ad-wrap/">Google Ad Wrap plug-in</a>.</p>
<p>The plug-in is really sweet because it allows you to tell AdSense about the relative content on your page (thus improving the ad targeting):</p>
<blockquote><p>
Section Targeting is a way of embedding special tags inside HTML to give Google&#8217;s omnipresent spider a better idea of what&#8217;s important on your page. This is a really simple plugin that wraps posts and comments inside these tags, in the hope that they&#8217;ll lead to better search rankings.
</p></blockquote>
<p>Even if you don&#8217;t use Wordpress, the idea of section targeting is powerful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fieldguidetoprogrammers.com/wordpress/google-ad-wrap-plug-in-telling-google-about-relevant-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress AdSense Injection &#8211; Random Google Ads on Your Blog</title>
		<link>http://www.fieldguidetoprogrammers.com/wordpress/wordpress-adsense-injection-random-google-ads-on-your-blog/</link>
		<comments>http://www.fieldguidetoprogrammers.com/wordpress/wordpress-adsense-injection-random-google-ads-on-your-blog/#comments</comments>
		<pubDate>Mon, 01 Oct 2007 13:30:07 +0000</pubDate>
		<dc:creator>jamiegrove</dc:creator>
				<category><![CDATA[AdSense]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.fieldguidetoprogrammers.com/blog/wordpress/wordpress-adsense-injection-random-google-ads-on-your-blog/</guid>
		<description><![CDATA[
Dax &#8220;the Hammer&#8221; Herrera has whipped up a nice Wordpress Google AdSense Injection plugin to add Google AdSense ads to your blog.  It&#8217;s painless and automatic.

[Update: I've removed this plugin from my site.  Nothing wrong with it.  I just don't have the time to style it the way I want.]
Why Google AdSense [...]]]></description>
			<content:encoded><![CDATA[<p><!--noadsense--><br />
Dax &#8220;the Hammer&#8221; Herrera has whipped up a nice <a href="http://www.biggnuts.com/adsense-plugin">Wordpress Google AdSense Injection plugin</a> to add Google AdSense ads to your blog.  It&#8217;s painless and automatic.<br />
<span id="more-16"></span><br />
<span style="color:green;">[Update: I've removed this plugin from my site.  Nothing wrong with it.  I just don't have the time to style it the way I want.]</span></p>
<h2>Why Google AdSense Injection?</h2>
<p>We all know about television ads where the natural volume has been cranked up.  It&#8217;s jarring, but you look (I tend to follow-up looking by turning the television off).  Recently, I&#8217;ve noticed some start and stop ads on television.  The commercial will begin, run 2-3 seconds and then &#8220;skip&#8221; back to the beginning.  The effect of this &#8220;random&#8221; problem focuses attention on the screen and the content.  Of course, like the volume trick, viewers become desensitized and eventually their attention goes elsewhere.</p>
<p>A better technique would be to randomize the stop and start, the jitter.  Only show the jitter X number of times per 30 minute block of television and position the jitter in different places during the commercial.</p>
<p>Online, we can&#8217;t really stop and start a webpage, but we can randomize the way we show ads.  This is where the AdSense Injection plugin comes in.  As Hammer notes on his website, a random dispersement of ads within content is likely to drive higher clicks by evading what is known as banner blindness.</p>
<h2>Why AdSense works</h2>
<p>Google AdSense puts little text, image, and now video ads on your website.  The ads are served based on the relevancy of your site content to the advertiser&#8217;s copy and content.  As a site owner, you get paid when visitors click on the ads, and visitors tend to click when the ads are relevant.</p>
<p>So, how does AdSense know what to serve?</p>
<p>When a visitor happens by a page with AdSense ads, it triggers a the Google Mediabot crawler to visit the page and grab the content.  AdSense looks at the position of the Google AdSense include code to visible content along with overall page content to determine the right ad to show.  Soon enough, relevant ads should show up on the site.  This is why your first tests may show some odd results.</p>
<p>If don&#8217;t have an AdSense account, you can sign up using the ad below:</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-6224757579674280";
google_ad_output = "textlink";
google_ad_format = "ref_text";
google_cpa_choice = "CAAQnfzw4AIaCJwZC9ix5DwoKN2uuIEBMAA";
//-->
</script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></p>
<h2>Why Randomizing with Google AdSense Injection is Good</h2>
<p>I talked briefly about changing up the location of ads could be important in getting visitors to read them as opposed to passing them by.  I&#8217;ve also talked about how AdSense determines which ads to show.  So, if we mix these things together (randomizing and importance of placement), we should get more relevant ads that get a visitor&#8217;s attention which should lead to more clicks and revenue for you as the site owner.</p>
<h2>Options in the Plugin</h2>
<p>Hammer&#8217;s AdSense injection plugin automatically places AdSense blocks in your content.  This means you don&#8217;t have to go back and edit all of these entries you&#8217;ve saved before (very good).  You can also skip editing your theme (also good).</p>
<p>When you configure the plugin, you decide how many ad blocks to show and how many ads per block.  The plugin does the rest.</p>
<p>Other options include:</p>
<ul>
<li>Setting the color</li>
<li>Choosing a variety of ad block sizes to randomize</li>
<li>Ad positioning</li>
<li>Pages where you DO NOT want ads</li>
<li>Ad visibility for certain users</li>
<p>In addition to these options, version 2.0 of the plugin also allows you to turn off AdSense injection for an article by including noadsense in content (enclosed in an HTML comment).  I&#8217;ve used that option on this page in fact since I am also displaying and AdSense signup ad above.</p>
<p>[<a href="http://www.biggnuts.com/adsense-plugin">Get the Wordpress Google AdSense Injection plugin from Dax Herrera</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fieldguidetoprogrammers.com/wordpress/wordpress-adsense-injection-random-google-ads-on-your-blog/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
