<?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>Sean Hayes - professional WordPress consulting &#187; tips</title>
	<atom:link href="http://www.seanhayes.biz/tag/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.seanhayes.biz</link>
	<description></description>
	<lastBuildDate>Mon, 12 Jul 2010 18:55:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>What is the best way to speed up my blog?</title>
		<link>http://www.seanhayes.biz/2010/what-is-the-best-way-to-speed-up-my-blog/</link>
		<comments>http://www.seanhayes.biz/2010/what-is-the-best-way-to-speed-up-my-blog/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 12:00:15 +0000</pubDate>
		<dc:creator>sean</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[caching]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.seanhayes.biz/?p=322</guid>
		<description><![CDATA[
			
				
			
		
There are times when you see your blog fly and other times it seems like it&#8217;s taking to an age to load. In your email you&#8217;ve got mail from users saying that the blog performance is degrading and not as good as it used to be. You keep checking that your blog cache program is [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.seanhayes.biz%2F2010%2Fwhat-is-the-best-way-to-speed-up-my-blog%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.seanhayes.biz%2F2010%2Fwhat-is-the-best-way-to-speed-up-my-blog%2F&amp;source=seanchayes&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>There are times when you see your blog fly and other times it seems like it&#8217;s taking to an age to load. In your email you&#8217;ve got mail from users saying that the blog performance is degrading and not as good as it used to be. You keep checking that your blog cache program is enabled and wonder what else you can do. Well, you can wonder no more as I&#8217;ve collected the best tips on how to review your site configuration and restore the performance you and your users are used to.</p>
<p>Let&#8217;s take a look at the options you can explore to better improve the performance of your blog.</p>
<div id="attachment_328" class="wp-caption alignright" style="width: 160px"><a href="http://www.seanhayes.biz/wp-content/uploads/2010/01/performance-speed-limit.png"><img class="size-thumbnail wp-image-328" title="performance-speed-limit" src="http://www.seanhayes.biz/wp-content/uploads/2010/01/performance-speed-limit-150x150.png" alt="Blog performance break the speed limit" width="150" height="150" /></a><p class="wp-caption-text">Blog performance break the speed limit</p></div>
<h3>Blog Theme</h3>
<p>Review your theme options, widgets and settings. Use firebug to see if all your theme images are loading correctly especially if you&#8217;ve experienced issues during a theme upgrade. Review your themes CSS files to see if there are references to images or other files that are no longer required or perhaps are missing. Disable any unnecessary widgets in your blogs dashboard. You may also check out your theme is generating valid code using the <a rel="nofollow" title="W3C Validation Service" href="http://www.seanhayes.biz/goto/W3C_Markup_Validation_Service/322/2" target="_blank">W3C Markup Validation Service</a> or check with your theme developer or the support forum for your theme.</p>
<h3>Blog Plugins</h3>
<p>Simply put &#8211; do you need all the plugins activated on your site? Perform a quick plugin audit, comparing what you see on your home page and blog pages with your active plugins. If there are plugins that are active but not used then deactivate them one by one and refresh your blog page to see that it&#8217;s still all working. Sometimes going back to basics and deactivating all plugins is the only way to go. Also make sure you have the latest versions of the plugins you decide on keeping.</p>
<h3>Blog Hosting</h3>
<p>This can play a big part in the performance of your blog. With the big shift from shared (cheap) hosting to still cost effective and high performance VPS offerings like <a rel="nofollow" title="Slicehost VPS Hosting" href="http://www.seanhayes.biz/goto/Slicehost/322/3" target="_blank">Slicehost</a> (the host I use) and many others, there are more opportunities to gain improved performance by picking the right host. Look at your hosting package and compare the next one up with your existing host.</p>
<h3>Blog Optimization</h3>
<p>This can offer up some simple and not so simple tips to help you speed up the responsiveness of your blog. There are many tools you can use &#8211; <a rel="nofollow" title="Firebug" href="http://www.seanhayes.biz/goto/Firebug/322/4" target="_blank">Firebug</a> add on in Firefox, <a rel="nofollow" title="Pingdom Tools" href="http://www.seanhayes.biz/goto/Pingdom/322/5" target="_blank">Pingdom</a>, <a rel="nofollow" title="Yahoo YSlow" href="http://www.seanhayes.biz/goto/YSlow/322/6" target="_blank">YSlow</a> another addon for Firefox and even Google has a <a rel="nofollow" title="Google Page Speed" href="http://www.seanhayes.biz/goto/performance_tool_/322/7" target="_blank">performance tool </a>for Firefox. You can even try <a rel="nofollow" title="Is My Blog Working?" href="http://www.seanhayes.biz/goto/Is_My_Blog_Working/322/8" target="_blank">Is My Blog Working</a> which, along with Pingdom can give you an idea of the time it takes to load your site. You can compare the load time before and after any of the changes you make.</p>
<h3>View the server log</h3>
<p>This is probably the most technical tip in this post and varies wildly from host to host. I have found that sometimes it can lead you straight to a bottleneck because you see lots of errors being reported and at other times you are swimming through the log struggling to find what&#8217;s occurring. Perhaps with this one work with your hosting tech support or a <a title="WordPress Consultant" href="http://www.seanhayes.biz/wordpress-consulting/" target="_blank">WordPress consultant</a> if you feel you are still struggling with blog speed.</p>
<h3>Blog Caching</h3>
<p>This is typically performed by a plugin but there are lower level server options available if you&#8217;re running on a VPS or non-shared server. Such options include APC &#8211; <a rel="nofollow" title="Caching your blog with APC cache" href="http://www.seanhayes.biz/goto/Alternative_PHP_Cache/322/10" target="_blank">Alternative PHP Cache</a> &#8211; and these can improve the server performance and that blends through to your WordPress performance.</p>
<p>Within WordPress there are a number of caching plugins that you can choose to use &#8211; <a rel="nofollow" title="WP Super Cache" href="http://www.seanhayes.biz/goto/WP_Super_Cache/322/11" target="_blank">WP-Super-Cache</a> and <a rel="nofollow" title="W3 Total Cache" href="http://www.seanhayes.biz/goto/W3_Total_Cache/322/12" target="_blank">W3-Total Cache</a>. I&#8217;ve used both and both can benefit from tuning of their options so be sure to review the options carefully. The basis of these WordPress caching tools is that they generate a single html page of your posts / home page that the web server can deliver to a browser much more efficiently than processing the page on each request. Most of the caching plugins have multiple options for tuning how it should work on your blog &#8211; try changing the available options to see if the performance improves.</p>
<h3>Blog Security</h3>
<div id="attachment_337" class="wp-caption alignright" style="width: 160px"><a href="http://www.seanhayes.biz/wp-content/uploads/2010/01/security-lock.png"><img class="size-thumbnail wp-image-337" title="blog-security-lock" src="http://www.seanhayes.biz/wp-content/uploads/2010/01/security-lock-150x150.png" alt="Blog Security" width="150" height="150" /></a><p class="wp-caption-text">Blog Security</p></div>
<p>Securing your blog is important and there are many options that will help you. Now, there&#8217;s no substitute for good security but you might not want to put too many locks on the blog such that it takes too much time to do something simple. And each security layer can add a level of performance sapping complexity. Review your blogs security options and pare them down to the minimum necessary or within your security comfort level.</p>
<h3>Blog Advertising</h3>
<p>Advertising makes the blog world go around (along with B2B opportunities of course) and I&#8217;ve worked on one or two sites that have multiple advertising sections and there have been times where the site won&#8217;t completely load because it&#8217;s waiting for a piece of advertising to load. Review with your advertising contacts/services to see that you have the most optimal code for your advertising sections on your blog.</p>
<p>So, you can see there are many ways you can speed up your blog or at least tweak it for performance in some areas. If there&#8217;s a tip I&#8217;ve missed but you&#8217;ve used and benefited from then please leave a comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.seanhayes.biz/2010/what-is-the-best-way-to-speed-up-my-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Integrating WordPress and Google-hosted jQuery 1.4</title>
		<link>http://www.seanhayes.biz/2010/integrating-wordpress-and-google-hosted-jquery-1-4/</link>
		<comments>http://www.seanhayes.biz/2010/integrating-wordpress-and-google-hosted-jquery-1-4/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 19:15:04 +0000</pubDate>
		<dc:creator>sean</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[1.4]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.seanhayes.biz/?p=312</guid>
		<description><![CDATA[
			
				
			
		
The release of jQuery 1.4 brings many javascript improvements in performance, better handling of attributes, manipulation of DOM events and many more. Head over to the jQuery site for more details and a breakdown of the new features and improvements.
That&#8217;s great and we all like speed and flexibility improvements. Now, how would you like these [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.seanhayes.biz%2F2010%2Fintegrating-wordpress-and-google-hosted-jquery-1-4%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.seanhayes.biz%2F2010%2Fintegrating-wordpress-and-google-hosted-jquery-1-4%2F&amp;source=seanchayes&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<div id="attachment_317" class="wp-caption alignright" style="width: 160px"><a href="http://www.seanhayes.biz/wp-content/uploads/2010/01/wordpress-heart-jquery.png"><img class="size-thumbnail wp-image-317" title="wordpress-heart-jquery" src="http://www.seanhayes.biz/wp-content/uploads/2010/01/wordpress-heart-jquery-150x150.png" alt="WordPress &amp; jQuery" width="150" height="150" /></a><p class="wp-caption-text">WordPress &amp; jQuery</p></div>
<p>The release of jQuery 1.4 brings many javascript improvements in performance, better handling of attributes, manipulation of DOM events and many more. Head over to the<a rel="nofollow" title="jQuery 1.4 New features and more information" href="http://www.seanhayes.biz/goto/_jQuery/312/2" target="_blank"> jQuery</a> site for more details and a breakdown of the new features and improvements.</p>
<p>That&#8217;s great and we all like speed and flexibility improvements. Now, how would you like these in your blog from today? Well a very quick and easy modification to your theme can have you utilizing the latest version of jQuery from Google&#8217;s CDN servers. I took the code block from the source site below, inserted it in my functions.php but replaced the jQuery version number. Check out the adjusted code block below:</p>
<pre class="brush: php; highlight: [3];">
if( !is_admin()){
   wp_deregister_script('jquery');
   wp_register_script('jquery', (&quot;http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js&quot;), false, '');
   wp_enqueue_script('jquery');
}
</pre>
<p>See where I just put &#8220;..jquery/1/jquery&#8230;&#8221; &#8211; by referencing the &#8220;1&#8243; instead of &#8220;1.3.2&#8243; we will get the latest version of jQuery loaded on the site. A quick look at the source code and we can see that the inserted javascript source is indeed via Google&#8217;s CDN and by clicking on the source code we see it&#8217;s version 1.4. To use simple terms in this code we are telling WordPress to &#8220;forget&#8221; it&#8217;s usual jQuery source / script setting, then preparing WordPress for the new settings (please load jQuery from Google&#8217;s CDN) and then serving up the new information for WordPress to use.</p>
<p>A quick and easy way to give your blog / site the benefits of the recent jQuery updates and improvements. If you encounter an issue with your site or  jQuery after this change you can easily revert to the previous version (1.3.2) by either removing the code block you added or, to keep jQuery hosted by Google&#8217;s CDN, adjusting the version number from &#8220;1&#8243; to &#8220;1.3.2&#8243;. For those more familiar with jQuery coding <a rel="nofollow" title="jQuery backwards incompatible changes" href="http://www.seanhayes.biz/goto/there_s_a_list_of_backwards_incompatible_changes/312/3" target="_blank">there&#8217;s a list of &#8220;backwards incompatible&#8221; changes</a> settings on the jQuery site.</p>
<p>If you&#8217;ve changed your site over to jQuery 1.4 how did it work out? As smoothly as mine did? Leave me a comment.</p>
<p>Source: <a rel="nofollow" href="http://www.seanhayes.biz/goto/http_digwp_com_2009_06_use_google_hosted_javascript_libraries_still_the_right_way_/312/4">http://digwp.com/2009/06/use-google-hosted-javascript-libraries-still-the-right-way/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seanhayes.biz/2010/integrating-wordpress-and-google-hosted-jquery-1-4/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>WordPress 2.9 &#8211; adding image thumbnails to your blog</title>
		<link>http://www.seanhayes.biz/2010/wordpress-2-9-adding-image-thumbnails-to-your-blog/</link>
		<comments>http://www.seanhayes.biz/2010/wordpress-2-9-adding-image-thumbnails-to-your-blog/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 15:18:36 +0000</pubDate>
		<dc:creator>sean</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[2.9]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.seanhayes.biz/?p=273</guid>
		<description><![CDATA[
			
				
			
		
One of the new features of WordPress 2.9 and above is having a thumbnail associated with a post. It&#8217;s common to have themes that retrieve the first image found in a post and use that as the post thumbnail. But that may not be what you need. The inclusion of images in any post makes [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.seanhayes.biz%2F2010%2Fwordpress-2-9-adding-image-thumbnails-to-your-blog%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.seanhayes.biz%2F2010%2Fwordpress-2-9-adding-image-thumbnails-to-your-blog%2F&amp;source=seanchayes&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>One of the new features of WordPress 2.9 and above is having a thumbnail associated with a post. It&#8217;s common to have themes that retrieve the first image found in a post and use that as the post thumbnail. But that may not be what you need. The inclusion of images in any post makes for a more interesting read but having to pick the first image to match the post content and have the responsibility of being the post thumbnail is now a thing of the past.</p>
<p>Adding a thumbnail is easy and is done</p>
<div id="attachment_281" class="wp-caption alignright" style="width: 310px"><a href="http://www.seanhayes.biz/wp-content/uploads/2010/01/seanhayesbiz-thumbnail.jpg"><img class="size-medium wp-image-281 " title="Thumbnail button in media dialog" src="http://www.seanhayes.biz/wp-content/uploads/2010/01/seanhayesbiz-thumbnail-300x86.jpg" alt="seanhayesbiz-thumbnail" width="300" height="86" /></a><p class="wp-caption-text">Thumbnail button in media dialog</p></div>
<p>when editing your post. There is a new sidebar / widget called &#8220;Post Thumbnail&#8221; with a clicky called &#8220;Set Thumbnail&#8221;. At any point during the post writing process click on Set Thumbnail and the familiar media dialog will appear. Pick your image from the available images in your library or upload a new image. Select the image by choosing &#8220;Show&#8221; and then at the bottom of the dialog there&#8217;s a clicky labelled &#8220;Use as thumbnail&#8221;. When you click that the image you were viewing becomes the thumbnail associated with that post.</p>
<p>Now, if your theme doesn&#8217;t support the thumbnail feature in WordPress 2.9 you can make some quick modifications to your themes functions.php and then to any or all of the individual theme files you want the thumbnail to be active such as index.php, single.php, archive.php.</p>
<p>Thumbnail support is added to a theme by simply adding the following line to the end of your functions.php file (before the last line and &#8220;?&gt;&#8221;).</p>
<pre class="brush: php;">add_theme_support( 'post-thumbnails' );</pre>
<p>Then you add the modification for the index.php (and subsequently the others):</p>
<pre class="brush: php; highlight: [3,4,5,6,7,8,9];">
					&lt;h2&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;/h2&gt;
				&lt;?php
					if ( has_post_thumbnail() ) {
						?&gt;&lt;div class=&quot;wp-caption alignright&quot;&gt;&lt;?php
						the_post_thumbnail();
						?&gt;&lt;/div&gt;&lt;?php
					} else {
						// the current post lacks a thumbnail
					}
				?&gt;
					&lt;?php the_content(''); ?&gt;
</pre>
<p>For my theme, a great free theme from <a rel="nofollow" href="http://www.seanhayes.biz/goto/woothemes/273/2">woothemes</a>, I placed the thumbnail in it&#8217;s own wp-caption styled div and aligned it right in my posts.</p>
<p>Sources:</p>
<p>http://codex.wordpress.org/Post_Thumbnails</p>
<p>http://markjaquith.wordpress.com/2009/12/23/new-in-wordpress-2-9-post-thumbnail-images/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.seanhayes.biz/2010/wordpress-2-9-adding-image-thumbnails-to-your-blog/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using apc (user agent is rejected)
Database Caching 1/15 queries in 0.012 seconds using apc

Served from: www.seanhayes.biz @ 2010-09-10 09:47:22 -->