<?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>AB-WebLog.com&#187; theme</title>
	<atom:link href="http://www.ab-weblog.com/en/tag/theme/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ab-weblog.com/en</link>
	<description>Andreas Breitschopp</description>
	<lastBuildDate>Wed, 18 Mar 2015 09:47:48 +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>Display Only Excerpts Instead of Full Posts</title>
		<link>http://www.ab-weblog.com/en/display-only-excerpts-instead-of-full-posts/</link>
		<comments>http://www.ab-weblog.com/en/display-only-excerpts-instead-of-full-posts/#comments</comments>
		<pubDate>Wed, 03 Aug 2011 14:05:49 +0000</pubDate>
		<dc:creator>Andreas Breitschopp</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.ab-weblog.com/en/?p=23</guid>
		<description><![CDATA[By default in the theme &#8220;Twenty Eleven&#8221; of WordPress everywhere (except for search results) full posts are displayed. But I don&#8217;t like that, because if I click on a category or tag, I just want to get an overview what &#8230; <a href="http://www.ab-weblog.com/en/display-only-excerpts-instead-of-full-posts/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>By default in the theme &#8220;Twenty Eleven&#8221; of WordPress everywhere (except for search results) full posts are displayed. But I don&#8217;t like that, because if I click on a category or tag, I just want to get an overview what posts are assigned to it. If I want to read one completely, I can still click on it.</p>
<p>Therefore I wanted to display only excerpts of posts for following pages:</p>
<ul>
<li>Search results (which is the case by default already)</li>
<li>Homepage of the blog</li>
<li>Category archive pages</li>
<li>Tag archive pages</li>
<li>Date-based archive pages (I don&#8217;t use them at all right now)</li>
</ul>
<p>To accomplish that, you just have to replace the line in the &#8220;content.php&#8221; theme file</p>
<pre class="brush: php; gutter: false">&lt;?php if ( is_search() ) : // Only display Excerpts for Search ?&gt;</pre>
<p>with this one:</p>
<pre class="brush: php; gutter: false">&lt;?php if ( is_home() || is_tag() || is_category() || is_date() || is_search() ) : ?&gt;</pre>
<p>That&#8217;s it. Now at least I think it looks better for the user and I&#8217;m sure also search engines don&#8217;t mind that (keyword: &#8220;duplicate content&#8221;). <img src='http://www.ab-weblog.com/en/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ab-weblog.com/en/display-only-excerpts-instead-of-full-posts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->