<?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>CarlBliss.com &#187; Cool Web Links</title>
	<atom:link href="http://www.carlbliss.com/category/cool-web-links/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.carlbliss.com</link>
	<description></description>
	<lastBuildDate>Tue, 10 Jan 2012 04:33:14 +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>Pic-a-day</title>
		<link>http://www.carlbliss.com/2012/01/pic-a-day/</link>
		<comments>http://www.carlbliss.com/2012/01/pic-a-day/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 03:40:04 +0000</pubDate>
		<dc:creator>Carl</dc:creator>
				<category><![CDATA[Cool Web Links]]></category>

		<guid isPermaLink="false">http://www.carlbliss.com/?p=881</guid>
		<description><![CDATA[I was inspired by my Sister&#8217;s successful attempt to blog every day in 2011. (Here) While I may not be as good at finding the words&#8230; I thought I&#8217;d try to find the images. I started a pic-a-day blog at http://blisspic.wordpress.com The blog will just display one photo from my day. A small glimpse into [...]]]></description>
			<content:encoded><![CDATA[<p>I was inspired by my Sister&#8217;s successful attempt to blog every day in 2011. (<a href="http://sinavratil.wordpress.com/">Here</a>)</p>
<p>While I may not be as good at finding the words&#8230; I thought I&#8217;d try to find the images.</p>
<p>I started a pic-a-day blog at <a href="http://blisspic.wordpress.com">http://blisspic.wordpress.com</a></p>
<p>The blog will just display one photo from my day. A small glimpse into each day&#8217;s story.</p>
<p>It is meant to help me do a few things:</p>
<ul>
<li>Get better at creating/finding content.</li>
<li>Look UP more&#8230; try to be more observant of the things around me.</li>
<li>Get some WordPress.com experience (boring&#8230; I know). I do a LOT of self-hosted WordPress work (wordpress.org), but have a few friends who could use some help on the hosted WordPress platform (wordpress.com). This blog will get me there a little more.</li>
</ul>
<p>All the photos will be taken on my iPhone, and all the pictures will be posted using the WordPress iOS app.</p>
<p>I hope you enjoy it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.carlbliss.com/2012/01/pic-a-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone Walkman Case</title>
		<link>http://www.carlbliss.com/2011/12/iphone-walkman-case/</link>
		<comments>http://www.carlbliss.com/2011/12/iphone-walkman-case/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 20:00:26 +0000</pubDate>
		<dc:creator>Carl</dc:creator>
				<category><![CDATA[Cool Web Links]]></category>

		<guid isPermaLink="false">http://www.carlbliss.com/?p=874</guid>
		<description><![CDATA[Perfect! Go retro with this Walkman-like case for the iPhone! http://news.cnet.com/8301-17938_105-57345153-1/dress-your-iphone-up-like-a-walkman/ After&#8230; of course&#8230; you support the kickstarter project that would make it a reality.]]></description>
			<content:encoded><![CDATA[<p>Perfect!</p>
<p><img class="alignleft size-thumbnail wp-image-876" title="Audman" src="http://www.carlbliss.com/wp-content/uploads/2011/12/Screen-Shot-2011-12-19-at-1.50.04-PM-150x150.png" alt="" width="150" height="150" /></p>
<p>Go retro with this Walkman-like case for the iPhone!</p>
<p><a href="http://news.cnet.com/8301-17938_105-57345153-1/dress-your-iphone-up-like-a-walkman/?tag=cnetRiver">http://news.cnet.com/8301-17938_105-57345153-1/dress-your-iphone-up-like-a-walkman/</a></p>
<p>After&#8230; of course&#8230; you <a href="http://www.kickstarter.com/projects/875834086/audman-the-battery-charging-boombox-for-your-ipod">support the kickstarter project</a> that would make it a reality.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.carlbliss.com/2011/12/iphone-walkman-case/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hacker Develops Alternative to Obscene Gestures</title>
		<link>http://www.carlbliss.com/2011/10/hacker-develops-alternative-to-obscene-gestures/</link>
		<comments>http://www.carlbliss.com/2011/10/hacker-develops-alternative-to-obscene-gestures/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 13:35:36 +0000</pubDate>
		<dc:creator>Carl</dc:creator>
				<category><![CDATA[Cool Web Links]]></category>
		<category><![CDATA[Oddities]]></category>

		<guid isPermaLink="false">http://www.carlbliss.com/?p=831</guid>
		<description><![CDATA[On occasion, I wish I could communicate slightly more with my fellow drivers than a wave can emote. In my case, it&#8217;s usually along the lines of &#8220;Sorry!&#8221; or &#8220;My Bad!&#8221;. But I would venture to guess that some road rage could be prevented, if we were just able to communicate slightly more than a [...]]]></description>
			<content:encoded><![CDATA[<p>On occasion, I wish I could communicate slightly more with my fellow drivers than a wave can emote.</p>
<p>In my case, it&#8217;s usually along the lines of &#8220;Sorry!&#8221; or &#8220;My Bad!&#8221;. But I would venture to guess that some road rage could be prevented, if we were just able to communicate slightly more than a gesture allows.</p>
<p>So I got a kick out of this weekend project (This is cool!!!)</p>
<p>An LED panel display for the rear window.</p>
<p><a href="http://www.digitaltrends.com/cars/hacker-develops-rear-window-led-to-send-messages-to-other-drivers/"><img class="alignleft size-full wp-image-832" src="http://www.carlbliss.com/wp-content/uploads/2011/10/led_display.jpg" alt="" width="224" height="300" /></a></p>
<p><a href="http://www.digitaltrends.com/cars/hacker-develops-rear-window-led-to-send-messages-to-other-drivers/">This link provides more information </a>INCLUDING complete instructions on how to build your own.</p>
<p>What do you think&#8230; would more communication lead to less&#8230; or more road rage?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.carlbliss.com/2011/10/hacker-develops-alternative-to-obscene-gestures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A 9/11 Tribute&#8230; on Mars</title>
		<link>http://www.carlbliss.com/2011/09/a-911-tribute-on-mars/</link>
		<comments>http://www.carlbliss.com/2011/09/a-911-tribute-on-mars/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 22:34:19 +0000</pubDate>
		<dc:creator>Carl</dc:creator>
				<category><![CDATA[Cool Web Links]]></category>

		<guid isPermaLink="false">http://www.carlbliss.com/?p=807</guid>
		<description><![CDATA[This week saw the opening of the 9/11 Memorial and Museum in New York City, as well as dedications and ceremonies at other memorials nation-wide. I was fascinated to read about a 9/11 tribute that has reached Mars. An aluminum sleeve on a robotic arm of a NASA rover, was made using aluminum recovered from [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-808" title="mars" src="http://www.carlbliss.com/wp-content/uploads/2011/09/mars.jpg" alt="" width="226" height="170" />This week saw the opening of the <a href="http://www.911memorial.org/" target="_blank">9/11 Memorial and Museum in New York City</a>, as well as dedications and ceremonies at other memorials nation-wide.</p>
<p>I was fascinated to read about a 9/11 tribute that has reached Mars. An aluminum sleeve on a robotic arm of a NASA rover, was made using aluminum recovered from the World Trade Center site.</p>
<p><a href="http://www.nasa.gov/mission_pages/mer/news/mer20110908.html" target="_blank">More info can be found here &gt;&gt;</a></p>
<p>(Photo: NASA/JPL-Caltech/Cornell University )</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.carlbliss.com/2011/09/a-911-tribute-on-mars/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crazy Optical Illusion</title>
		<link>http://www.carlbliss.com/2011/09/crazy-optical-illusion/</link>
		<comments>http://www.carlbliss.com/2011/09/crazy-optical-illusion/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 13:43:53 +0000</pubDate>
		<dc:creator>Carl</dc:creator>
				<category><![CDATA[Cool Web Links]]></category>
		<category><![CDATA[Oddities]]></category>

		<guid isPermaLink="false">http://www.carlbliss.com/?p=802</guid>
		<description><![CDATA[The green and the blue colors&#8230; are identical. (I had to pull out Photoshop to verify it!) My head hurts now&#8230; (via techi)]]></description>
			<content:encoded><![CDATA[<p>The green and the blue colors&#8230; are identical. (I had to pull out Photoshop to verify it!)</p>
<p>My head hurts now&#8230;</p>
<p><img class="alignnone size-full wp-image-803" title="illusion_colors" src="http://www.carlbliss.com/wp-content/uploads/2011/09/illusion_colors.png" alt="" width="512" height="512" /></p>
<p>(via<a href="http://www.techi.com/2011/09/sick-illusion/"> techi</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.carlbliss.com/2011/09/crazy-optical-illusion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>To Russia with Love</title>
		<link>http://www.carlbliss.com/2011/09/tunnel-to-russia/</link>
		<comments>http://www.carlbliss.com/2011/09/tunnel-to-russia/#comments</comments>
		<pubDate>Fri, 02 Sep 2011 16:44:35 +0000</pubDate>
		<dc:creator>Carl</dc:creator>
				<category><![CDATA[Cool Web Links]]></category>

		<guid isPermaLink="false">http://www.carlbliss.com/?p=782</guid>
		<description><![CDATA[It sounds like the type of thing James Bond movies are made of! The Russian government has given the go-ahead to begin development of an underground rail line that would connect Alaska and Siberia. The tunnel (not being built for personal or commuter traffic) is expected to be an efficient means of transporting freight. (Can [...]]]></description>
			<content:encoded><![CDATA[<div class="mceTemp">It sounds like the type of thing James Bond movies are made of!</div>
<p>The Russian government has given the go-ahead to begin development of an underground rail line that would connect Alaska and Siberia.</p>
<p>The tunnel (not being built for personal or commuter traffic) is expected to be an efficient means of transporting freight. (Can you imagine the easy access to China?)</p>
<div id="attachment_783" class="wp-caption alignnone" style="width: 547px"><a href="http://en.wikipedia.org/wiki/File:Bering_Strait.jpeg"><img class="size-full wp-image-783 " title="Siberian-Alaska-Railway-21-537x402" src="http://www.carlbliss.com/wp-content/uploads/2011/09/Siberian-Alaska-Railway-21-537x402.jpg" alt="" width="537" height="402" /></a><p class="wp-caption-text">Photo Source - Wikicommons</p></div>
<p>The engineering marvel would be twice the length of the <a href="http://en.wikipedia.org/wiki/Channel_Tunnel" target="_blank">Chunnel</a> in Europe.</p>
<p><a href="http://inhabitat.com/russia-green-lights-65-billion-siberia-alaska-rail-and-tunnel-to-bridge-the-bering-strait/" target="_blank">More info &gt;&gt;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.carlbliss.com/2011/09/tunnel-to-russia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introducing Pro226.com</title>
		<link>http://www.carlbliss.com/2011/05/introducing-pro226-com/</link>
		<comments>http://www.carlbliss.com/2011/05/introducing-pro226-com/#comments</comments>
		<pubDate>Mon, 23 May 2011 16:03:38 +0000</pubDate>
		<dc:creator>Carl</dc:creator>
				<category><![CDATA[Cool Web Links]]></category>
		<category><![CDATA[kidmin]]></category>
		<category><![CDATA[Parenting]]></category>
		<category><![CDATA[pro226]]></category>

		<guid isPermaLink="false">http://www.carlbliss.com/?p=748</guid>
		<description><![CDATA[This weekend, my wife and I launched Pro226.com at our church. The goal of the site is simple. Allow parents to collaborate to effectively disciple their kids. Share ideas of what has worked in your family. Share stories of God at work, to help inspire other parents. Share struggles, and allow other parents and friends [...]]]></description>
			<content:encoded><![CDATA[<p>This weekend, my wife and I launched <a href="http://www.pro226.com">Pro226.com</a> at <a href="http://www.hopechurchoakdale.com">our church</a>.</p>
<p>The goal of the site is simple. Allow parents to collaborate to effectively disciple their kids.</p>
<ul>
<li>Share ideas of what has worked in your family.</li>
<li>Share stories of God at work, to help inspire other parents.</li>
<li>Share struggles, and allow other parents and friends to come along side you and offer support.</li>
</ul>
<p>If you are a parent (of little ones or big ones), or just have a heart for this newest generation, we&#8217;d love your help.</p>
<p>Create an account and join in the conversation at <a href="http://www.pro226.com">http://www.pro226.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.carlbliss.com/2011/05/introducing-pro226-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Online Pace Calculator</title>
		<link>http://www.carlbliss.com/2011/03/online-pace-calculator/</link>
		<comments>http://www.carlbliss.com/2011/03/online-pace-calculator/#comments</comments>
		<pubDate>Mon, 21 Mar 2011 14:50:53 +0000</pubDate>
		<dc:creator>Carl</dc:creator>
				<category><![CDATA[Cool Web Links]]></category>
		<category><![CDATA[Running]]></category>
		<category><![CDATA[Pace Calculator]]></category>

		<guid isPermaLink="false">http://www.carlbliss.com/?p=722</guid>
		<description><![CDATA[Here&#8217;s another great online resource I use for running. The Cool Running Pace Calculator allows me to calculate goal paces and race potential. It include 3 variables: Time Distance Pace You just need to enter 2 of the variables, and it will calculate the third. For instance, a question I often ask myself is: &#8220;If [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s another great online resource I use for running.</p>
<p>The<a href="http://www.coolrunning.com/engine/4/4_1/96.shtml"> Cool Running Pace Calculator</a> allows me to calculate goal paces and race potential.</p>
<p>It include 3 variables:</p>
<ul>
<li>Time</li>
<li>Distance</li>
<li>Pace</li>
</ul>
<p>You just need to enter 2 of the variables, and it will calculate the third.</p>
<p>For instance, a question I often ask myself is: &#8220;If I could maintain that pace for a marathon, what would my time be?&#8221;</p>
<p>So I enter the pace in question (pace), and the marathon (distance), then calculate the goal time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.carlbliss.com/2011/03/online-pace-calculator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What to Wear When Running</title>
		<link>http://www.carlbliss.com/2011/03/what-to-wear-when-running/</link>
		<comments>http://www.carlbliss.com/2011/03/what-to-wear-when-running/#comments</comments>
		<pubDate>Sat, 19 Mar 2011 14:50:49 +0000</pubDate>
		<dc:creator>Carl</dc:creator>
				<category><![CDATA[Cool Web Links]]></category>
		<category><![CDATA[Running]]></category>
		<category><![CDATA[Clothing]]></category>
		<category><![CDATA[Runner's World]]></category>

		<guid isPermaLink="false">http://www.carlbliss.com/?p=720</guid>
		<description><![CDATA[Because I firmly believe there is no such thing as bad weather&#8230; just bad clothing, I found a great online resource to help me figure out what to wear when running in various weather conditions: Runner&#8217;s World &#8211; What to Wear for Runners http://www.runnersworld.com/cda/whattowear/0,7152,s6-240-325-330-0,00.html I use this tool all the time. Particularly this time of [...]]]></description>
			<content:encoded><![CDATA[<p>Because I firmly believe there is no such thing as bad weather&#8230; just bad clothing, I found a great online resource to help me figure out what to wear when running in various weather conditions:</p>
<p><strong>Runner&#8217;s World &#8211; What to Wear for Runners</strong></p>
<p><a href="http://www.runnersworld.com/cda/whattowear/0,7152,s6-240-325-330-0,00.html">http://www.runnersworld.com/cda/whattowear/0,7152,s6-240-325-330-0,00.html</a></p>
<p>I use this tool all the time. Particularly this time of year when the weather conditions are changing so frequently that I can&#8217;t remember what&#8217;s comfortable.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.carlbliss.com/2011/03/what-to-wear-when-running/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a Basic WordPress Plugin</title>
		<link>http://www.carlbliss.com/2010/05/creating-a-basic-wordpress-plugin/</link>
		<comments>http://www.carlbliss.com/2010/05/creating-a-basic-wordpress-plugin/#comments</comments>
		<pubDate>Tue, 25 May 2010 21:00:06 +0000</pubDate>
		<dc:creator>Carl</dc:creator>
				<category><![CDATA[Cool Web Links]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.carlbliss.com/?p=528</guid>
		<description><![CDATA[This post includes some sample code, and web links for a presentation I put together for the Minneapolis/Saint Paul WordPress Users Group. The session is an introduction to creating a WordPress Plugin. This post is intended to be a place to find the resources and code used in the demonstration, but I will attempt to explain what [...]]]></description>
			<content:encoded><![CDATA[<p>This post includes some sample code, and web links for a presentation I put together for the <a href="http://groups.google.com/group/mpls-stpaul-wordpress" target="_blank">Minneapolis/Saint Paul WordPress Users Group</a>. The session is an introduction to creating a WordPress Plugin. This post is intended to be a place to find the resources and code used in the demonstration, but I will attempt to explain what it all means in this post.<span id="more-528"></span></p>
<p><strong>The Purpose</strong></p>
<p>This post is intended to be an introduction to the basic structure of a WordPress plugin. The plugin is, arguably, not extremely useful. But it does do something. So that has to count for something, right?</p>
<p>The purpose of a user group is to bring product users together to learn from each other. I&#8217;m not an expert in WordPress plugin development. So I would love to learn from you. If I missed something, or could say something better, feel free to leave a comment below!</p>
<p><strong>The Problem</strong></p>
<p>On our family blog, I posted a picture of our children, with their names.</p>
<p><img class="alignnone size-full wp-image-532" title="Screen shot 2010-05-26 at 8.20.35 AM" src="http://www.carlbliss.com/wp-content/uploads/2010/05/Screen-shot-2010-05-26-at-8.20.35-AM.png" alt="" width="387" height="318" /></p>
<p>The only problem was that my wife and I would rather not post their names online. Our preference is that we will refer to them as &#8220;Thing 1&#8243;, &#8220;Thing 2&#8243; and &#8220;Thing 3&#8243;.</p>
<p><strong>The Solution</strong><br />
Now, I could try and remember to change their names every time I write a  post. I suppose that wouldn&#8217;t be too difficult. However, as a true  geek, I decided to find a way to automate it. <strong>I created a WordPress  plugin that will change their names in each post.</strong></p>
<p>WordPress plugins are an easy way to enhance, suppress or filter some of the basic WordPress functionality. It makes it fairly simple to customize the functionality, without editing the application itself.</p>
<p>Plugins are stored in the wp-content/plugins folder in your WordPress installation.</p>
<p><strong>The Start</strong></p>
<p>The first thing we do is create the plugin file. For this project, I created the PHP file:</p>
<p>wp-content/plugins/thing1.php</p>
<blockquote><p><code><br />
/*<br />
Plugin Name: Thing 1<br />
*/</code></p></blockquote>
<p>That is the minimum amount of information needed to create a plugin. With that file created, I should be able to go the &#8220;Plugin&#8221; section of my WordPress dashboard, and see the plugin listed.</p>
<p><img class="alignnone size-full wp-image-533" title="Screen shot 2010-05-26 at 8.30.59 AM" src="http://www.carlbliss.com/wp-content/uploads/2010/05/Screen-shot-2010-05-26-at-8.30.59-AM.png" alt="" width="290" height="86" /></p>
<p>Sweet!</p>
<p><strong>Now, let&#8217;s make something happen</strong></p>
<p>Now that the plugin file has been created, we will add a simple PHP function to replace the girls&#8217; names with the generic replacements:</p>
<blockquote><p><code><br />
function thing_1($text) {<br />
$text = str_replace('Helga', 'Thing 1', $text);<br />
$text = str_replace('Olga', 'Thing 2', $text);<br />
$text = str_replace('Inga', 'Thing 3', $text);<br />
return $text;<br />
}</code></p></blockquote>
<p>What we&#8217;ve done here is created a function called &#8220;thing_1&#8243; that will process the content it is sent ($text) and replace the names with the replacement words.</p>
<p>The next step is to attach this function to WordPress. We are going to do this with a hook the WordPress API has provided for plugin creation.</p>
<p><strong>Hooks</strong></p>
<p>There are two types of hooks in WordPress. Action hooks and Filter hooks.</p>
<p>Action hooks are used to add a function when WordPress &#8220;does something&#8221; (like sending an email or writing to the database)</p>
<p>Filter hooks are used to modify data before it is written to the database, or published to the browser.</p>
<p>There are a lot of hooks. I&#8217;m not going to get into them here, but here are some great links to learn more about the various hooks in WordPress:</p>
<ul>
<li><a href="http://codex.wordpress.org/Plugin_API">http://codex.wordpress.org/Plugin_API</a> (a general guide to understanding how hooks work with the API)</li>
<li><a href="http://codex.wordpress.org/Plugin_API/Filter_Reference (">http://codex.wordpress.org/Plugin_API/Filter_Reference (</a>a list of Filter hooks in WordPress)</li>
</ul>
<p>For this project, we are going to use a &#8220;Filter Hook&#8221; to modify the post content before it is published to the browser. This will keep the names intact in the database, but will change them before it is displayed on the browser screen:</p>
<blockquote><p><code>add_filter('the_content', 'thing_1');</code></p></blockquote>
<p>This uses the WordPress function &#8220;add_filter&#8221; to add my function &#8220;thing_1&#8243; to the filter hook &#8220;the_content&#8221;. Essentially, it will take the contents of &#8220;the_content&#8221; and pass it through the function &#8220;thing_1&#8243;.</p>
<p>There are other arguments that can be passed to the &#8220;add_filter&#8221; function. For more information, visit<a href="http://codex.wordpress.org/Function_Reference/add_filter" target="_blank"> this reference on the function</a>.</p>
<p><strong>Let&#8217;s take a look</strong>.</p>
<p>Now that we have created the plugin file, created a function, and assigned that function to a Filter Hook, I am going to activate the plugin and see how it impacts my site:</p>
<p><img class="alignnone size-full wp-image-535" title="Screen shot 2010-05-26 at 8.51.16 AM" src="http://www.carlbliss.com/wp-content/uploads/2010/05/Screen-shot-2010-05-26-at-8.51.16-AM.png" alt="" width="413" height="325" /></p>
<p>You can see now, that the plugin has replaced the names in the post. The only remaining issue is that the name &#8220;Helga&#8221; still shows up in the post title:</p>
<p>Let&#8217;s add one more filter to the plugin, to apply the same function (thing_1) to the post title.</p>
<blockquote><p><code>add_filter('the_title', 'thing_1');</code></p></blockquote>
<p>Here we are grabbing onto the Filter Hook &#8220;the_title&#8221; to apply the same function. Let&#8217;s take a look:</p>
<p><img class="alignnone size-full wp-image-536" title="Screen shot 2010-05-26 at 8.58.29 AM" src="http://www.carlbliss.com/wp-content/uploads/2010/05/Screen-shot-2010-05-26-at-8.58.29-AM.png" alt="" width="382" height="316" /></p>
<p>Perfect.</p>
<p>Now that the function works, I am going to add a few more lines to the comments at the top of the plugin file, to take a little credit for my work:</p>
<blockquote><p><code>/*<br />
Plugin Name: Thing 1<br />
Plugin URI: http://www.carlbliss.com/?p=528<br />
<code> Description: Protects the identity of my daughters by changing their names to generic Dr. Seuss References<br />
Author: Carl Bliss<br />
Author URI: http://www.carlbliss.com<br />
Version: 1.0b<br />
*/</code></code></p></blockquote>
<p>Those comments will add extra information to the plugin page in the dashboard.</p>
<p><img class="alignnone size-medium wp-image-537" title="Screen shot 2010-05-26 at 9.02.59 AM" src="http://www.carlbliss.com/wp-content/uploads/2010/05/Screen-shot-2010-05-26-at-9.02.59-AM-640x39.png" alt="" width="640" height="39" /></p>
<p>And the process has now been automated!</p>
<p>Here is the completed plugin code (wp-content/plugins/thing_1.php)</p>
<blockquote><p><code><br />
/*<br />
Plugin Name: Thing 1<br />
Plugin URI: http://www.carlbliss.com/thing_1<br />
Description: Protects the identity of my daughters by changing their names to generic Dr. Seuss References<br />
Author: Carl Bliss<br />
Author URI: http://www.carlbliss.com<br />
Version: 1.0b<br />
*/</code></p>
<p><code>function thing_1($text) {<br />
$text = str_replace('Helga', 'Thing 1', $text);<br />
$text = str_replace('Olga', 'Thing 2', $text);<br />
$text = str_replace('Inga', 'Thing 3', $text);<br />
return $text;<br />
}</code></p>
<p><code>add_filter('the_content', 'thing_1');<br />
add_filter('the_title', 'thing_1');</code></p></blockquote>
<p>You can download the entire plugin file here: <a href="http://www.carlbliss.com/wp-content/uploads/2010/05/thing_1.php_.zip">thing_1.php</a> (ZIP)</p>
<blockquote><p><code> </code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.carlbliss.com/2010/05/creating-a-basic-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 2/54 queries in 0.071 seconds using disk: basic
Object Caching 698/798 objects using disk: basic

Served from: www.carlbliss.com @ 2012-02-07 04:51:02 -->
