<?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>WordPress World &#187; WordPress Optimization</title>
	<atom:link href="http://www.wordpressworld.net/category/wordpress-optimization/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wordpressworld.net</link>
	<description>Useful resources for bloggers</description>
	<lastBuildDate>Thu, 25 Feb 2010 13:53:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Include jQuery from Google in WordPress</title>
		<link>http://www.wordpressworld.net/wordpress-optimization/jquery-from-google-in-wordpress/</link>
		<comments>http://www.wordpressworld.net/wordpress-optimization/jquery-from-google-in-wordpress/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 18:08:59 +0000</pubDate>
		<dc:creator>Tiziano</dc:creator>
				<category><![CDATA[WordPress Optimization]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.wordpressworld.net/?p=51</guid>
		<description><![CDATA[If you want to use jQuery JavaScript library in your WordPress theme, the best choice is to load the version hosted on Google servers instead of the local one shipped by default with WordPress. To load jQuery from Google you have to edit the functions.php file of your theme adding these lines of code: if( [...]<p><a href="http://www.wordpressworld.net/wordpress-optimization/jquery-from-google-in-wordpress/">Include jQuery from Google in WordPress</a> is a post from: <a href="http://www.wordpressworld.net">WordPress World</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.wordpressworld.net/wordpress-optimization/jquery-from-google-in-wordpress/" title="Permanent link to Include jQuery from Google in WordPress"><img class="post_image alignleft remove_bottom_margin frame" src="http://www.wordpressworld.net/wp-content/uploads/2010/02/jquery-logo.png" width="220" height="144" alt="Jquery Logo" /></a>
</p><p>If you want to use <a href="http://jquery.com/">jQuery JavaScript library</a> in your WordPress theme, the best choice is to load the <a href="http://code.google.com/intl/en/apis/ajaxlibs/documentation/#jquery">version hosted on Google servers</a> instead of the local one shipped by default with WordPress.</p>
<p>To load jQuery from Google you have to edit the <em>functions.php</em> file of your theme adding these lines of code:</p>
<pre class="brush: php;">
if( !is_admin()){
   wp_deregister_script('jquery');
   wp_register_script('jquery', (&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js&quot;), false, '1.3.2');
   wp_enqueue_script('jquery');
}
</pre>
<p><a href="http://www.wordpressworld.net/wordpress-optimization/jquery-from-google-in-wordpress/">Include jQuery from Google in WordPress</a> is a post from: <a href="http://www.wordpressworld.net">WordPress World</a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.wordpressworld.net/wordpress-optimization/jquery-from-google-in-wordpress/&amp;title=Include+jQuery+from+Google+in+WordPress" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.wordpressworld.net/wordpress-optimization/jquery-from-google-in-wordpress/&amp;t=Include+jQuery+from+Google+in+WordPress" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Include+jQuery+from+Google+in+WordPress&amp;link=http://www.wordpressworld.net/wordpress-optimization/jquery-from-google-in-wordpress/" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.wordpressworld.net/wordpress-optimization/jquery-from-google-in-wordpress/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-sphinn">
			<a href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http://www.wordpressworld.net/wordpress-optimization/jquery-from-google-in-wordpress/" rel="nofollow" class="external" title="Sphinn this on Sphinn">Sphinn this on Sphinn</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.wordpressworld.net%2Fwordpress-optimization%2Fjquery-from-google-in-wordpress%2F&amp;t=Include+jQuery+from+Google+in+WordPress" rel="nofollow" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Include+jQuery+from+Google+in+WordPress+-+http://tinyurl.com/y9gm7hd&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.wordpressworld.net/wordpress-optimization/jquery-from-google-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to avoid the same meta description on Tag archives with Thesis theme</title>
		<link>http://www.wordpressworld.net/wordpress-optimization/avoid-same-meta-description/</link>
		<comments>http://www.wordpressworld.net/wordpress-optimization/avoid-same-meta-description/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 13:59:37 +0000</pubDate>
		<dc:creator>Tiziano</dc:creator>
				<category><![CDATA[WordPress Optimization]]></category>
		<category><![CDATA[Meta Description]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Thesis]]></category>

		<guid isPermaLink="false">http://www.wordpressworld.net/?p=33</guid>
		<description><![CDATA[Thesis is a great theme for WordPress (this blog uses it ) but I don&#8217;t like the way it handles the meta tag description on all the Tag archive pages. In fact, Thesis repeats the blog descrption on all these pages. In order to avoid this, you have to edit the file \lib\classes\head.php (around line [...]<p><a href="http://www.wordpressworld.net/wordpress-optimization/avoid-same-meta-description/">How to avoid the same meta description on Tag archives with Thesis theme</a> is a post from: <a href="http://www.wordpressworld.net">WordPress World</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.wordpressworld.net/wordpress-optimization/avoid-same-meta-description/" title="Permanent link to How to avoid the same meta description on Tag archives with Thesis theme"><img class="post_image alignleft remove_bottom_margin frame" src="http://www.wordpressworld.net/wp-content/uploads/2010/01/olsen-twins.png" width="332" height="283" alt="Olsen Twins" /></a>
</p><p><a href="http://diythemes.com/thesis">Thesis</a> is a great theme for WordPress (this blog uses it <img src='http://www.wordpressworld.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ) but <strong>I don&#8217;t like the way it handles the meta tag description</strong> on all the Tag archive pages. In fact, Thesis repeats the blog descrption on all these pages.</p>
<p>In order to avoid this, you have to edit the file <em>\lib\classes\head.php</em> (around line 104) of your Thesis theme.</p>
<p>You have to change it from:</p>
<pre class="brush: php;">
elseif (is_category()) {
				$category_description = trim(strip_tags(stripslashes(category_description())));
				$meta['description'] = (strlen($category_description)) ? '&lt;meta name=&quot;description&quot; content=&quot;' . $category_description . '&quot; /&gt;' : '&lt;meta name=&quot;description&quot; content=&quot;' . single_cat_title('', false) . '&quot; /&gt;';
			}
</pre>
<p>to:<span id="more-33"></span></p>
<pre class="brush: php;">
elseif (is_category()) {
				$category_description = trim(strip_tags(stripslashes(category_description())));
				$meta['description'] = (strlen($category_description)) ? '&lt;meta name=&quot;description&quot; content=&quot;' . $category_description . '&quot; /&gt;' : '&lt;meta name=&quot;description&quot; content=&quot;' . single_cat_title('', false) . '&quot; /&gt;';
			}
elseif (is_tag()) {
				$meta['description'] = '';
			}
</pre>
<p class="alert">This code will remove the meta tag description on every tag archive page. Because it&#8217;s better to remove it than have the same description on all pages.</p>
<p>Let me know your impression about it.</p>
<p><a href="http://www.wordpressworld.net/wordpress-optimization/avoid-same-meta-description/">How to avoid the same meta description on Tag archives with Thesis theme</a> is a post from: <a href="http://www.wordpressworld.net">WordPress World</a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.wordpressworld.net/wordpress-optimization/avoid-same-meta-description/&amp;title=How+to+avoid+the+same+meta+description+on+Tag+archives+with+Thesis+theme" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.wordpressworld.net/wordpress-optimization/avoid-same-meta-description/&amp;t=How+to+avoid+the+same+meta+description+on+Tag+archives+with+Thesis+theme" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-friendfeed">
			<a href="http://www.friendfeed.com/share?title=How+to+avoid+the+same+meta+description+on+Tag+archives+with+Thesis+theme&amp;link=http://www.wordpressworld.net/wordpress-optimization/avoid-same-meta-description/" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.wordpressworld.net/wordpress-optimization/avoid-same-meta-description/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-sphinn">
			<a href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http://www.wordpressworld.net/wordpress-optimization/avoid-same-meta-description/" rel="nofollow" class="external" title="Sphinn this on Sphinn">Sphinn this on Sphinn</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.wordpressworld.net%2Fwordpress-optimization%2Favoid-same-meta-description%2F&amp;t=How+to+avoid+the+same+meta+description+on+Tag+archives+with+Thesis+theme" rel="nofollow" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=How+to+avoid+the+same+meta+description+on+Tag+archives+with+Thesis+theme+-+http://tinyurl.com/yaaoe33&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.wordpressworld.net/wordpress-optimization/avoid-same-meta-description/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speed up WordPress using compression</title>
		<link>http://www.wordpressworld.net/wordpress-optimization/speed-up-wordpress-compression/</link>
		<comments>http://www.wordpressworld.net/wordpress-optimization/speed-up-wordpress-compression/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 10:21:52 +0000</pubDate>
		<dc:creator>Tiziano</dc:creator>
				<category><![CDATA[WordPress Optimization]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[caching]]></category>
		<category><![CDATA[compression]]></category>

		<guid isPermaLink="false">http://www.wordpressworld.net/?p=11</guid>
		<description><![CDATA[Here&#8217;s a tip from Brad Ney about how to speed up WordPress load times using web server compression: First of all, upload a test file like &#8220;test.php&#8221; on your web server.  This file must contain this line: &#60;?php phpinfo(); ?&#62; View this file with a web browser and check if &#8220;zlib&#8221; is enabled by your [...]<p><a href="http://www.wordpressworld.net/wordpress-optimization/speed-up-wordpress-compression/">Speed up WordPress using compression</a> is a post from: <a href="http://www.wordpressworld.net">WordPress World</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a class="post_image_link" href="http://www.wordpressworld.net/wordpress-optimization/speed-up-wordpress-compression/" title="Permanent link to Speed up WordPress using compression"><img class="post_image alignleft frame" src="http://www.wordpressworld.net/wp-content/uploads/2009/10/super-cache-compression.png" width="268" height="155" alt="Post image for Speed up WordPress using compression" /></a>
</p><p>Here&#8217;s a <a href="http://www.wprecipes.com/compress-wordpress-output-and-speed-your-blogs-load-speed">tip from Brad Ney</a> about how to speed up WordPress load times using web server compression:</p>
<p>First of all, upload a test file like &#8220;test.php&#8221; on your web server.  This file must contain this line:</p>
<pre>&lt;?php phpinfo(); ?&gt;</pre>
<p>View this file with a web browser and check if &#8220;zlib&#8221; is enabled by your hosting provider.<br />
<span id="more-11"></span><br />
It it&#8217;s ok, place the following code in your header (above the DOCTYPE):</p>
<pre>&lt;?php
ini_set('zlib.output_compression', 'On');
ini_set('zlib.output_compression_level', '1');
?&gt;</pre>
<p>That&#8217;s all! Test if everything is working correctly.</p>
<p>Another way, probably safer than this one, is to use <a href="http://wordpress.org/extend/plugins/wp-super-cache/">Wp Super Cache</a> plugin and enable &#8220;Super Cache Compression&#8221; in its control panel.</p>
<hr />
<p>Check out <a href="http://www.top-referers.com/">Top Referers</a> to see where the visitors of your website are coming from.</p>
<p><a href="http://www.wordpressworld.net/wordpress-optimization/speed-up-wordpress-compression/">Speed up WordPress using compression</a> is a post from: <a href="http://www.wordpressworld.net">WordPress World</a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.wordpressworld.net/wordpress-optimization/speed-up-wordpress-compression/&amp;title=Speed+up+WordPress+using+compression" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.wordpressworld.net/wordpress-optimization/speed-up-wordpress-compression/&amp;t=Speed+up+WordPress+using+compression" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-friendfeed">
			<a href="http://www.friendfeed.com/share?title=Speed+up+WordPress+using+compression&amp;link=http://www.wordpressworld.net/wordpress-optimization/speed-up-wordpress-compression/" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.wordpressworld.net/wordpress-optimization/speed-up-wordpress-compression/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-sphinn">
			<a href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http://www.wordpressworld.net/wordpress-optimization/speed-up-wordpress-compression/" rel="nofollow" class="external" title="Sphinn this on Sphinn">Sphinn this on Sphinn</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.wordpressworld.net%2Fwordpress-optimization%2Fspeed-up-wordpress-compression%2F&amp;t=Speed+up+WordPress+using+compression" rel="nofollow" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Speed+up+WordPress+using+compression+-+http://tinyurl.com/yd3ana5&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.wordpressworld.net/wordpress-optimization/speed-up-wordpress-compression/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
