<?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; Meta Description</title>
	<atom:link href="http://www.wordpressworld.net/tag/meta-description/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.2.1</generator>
		<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[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><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-publisher-33"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.wordpressworld.net%2Fwordpress-optimization%2Favoid-same-meta-description%2F' data-shr_title='How+to+avoid+the+same+meta+description+on+Tag+archives+with+Thesis+theme'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://www.wordpressworld.net/wordpress-optimization/avoid-same-meta-description/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

