<?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>Blogsessive &#187; more</title>
	<atom:link href="http://blogsessive.com/tag/more/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogsessive.com</link>
	<description>Visit Blogsessive for daily WordPress blogging tips.</description>
	<lastBuildDate>Sun, 22 Apr 2012 07:56:29 +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>Post Excerpts and the More Tag in WordPress</title>
		<link>http://blogsessive.com/blogging-tools/wordpress-post-excerpts-more-tag/</link>
		<comments>http://blogsessive.com/blogging-tools/wordpress-post-excerpts-more-tag/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 20:38:27 +0000</pubDate>
		<dc:creator>Alex, Blogsessive</dc:creator>
				<category><![CDATA[Blogging Tools]]></category>
		<category><![CDATA[Coding Tips]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[excerpts]]></category>
		<category><![CDATA[more]]></category>
		<category><![CDATA[template tags]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blogsessive.com/?p=418</guid>
		<description><![CDATA[With the StudioPress WordPress themes you can really take your blog to a higher level!Not only once, it has been said that displaying full posts on your blog home page, category pages or archive pages increases the chance of being penalized for duplicate content. In WordPress, using post excerpts has proven to be a good [...]]]></description>
			<content:encoded><![CDATA[<p>Blogsessive recommends WP WebHost for <a href="http://blogsessive.com/go-wpwebhost/" title="WordPress Hosting" target="_blank"><strong>quality WordPress blog hosting</strong></a>!</p><p>Not only once, it has been said that displaying full posts on your blog home page, category pages or archive pages increases the chance of being penalized for duplicate content.</p>
<p>In WordPress, using <strong>post excerpts</strong> has proven to be a good alternative, but one that has its downsides:</p>
<ul>
<li>You lose control over text formatting;</li>
<li>Images won&#8217;t be displayed;</li>
<li>If you don&#8217;t take time to write them yourself, WordPress might not select the most appropriate fragments;</li>
<li>Readers might not be convinced to further click, if the excerpt is not attractive enough.</li>
</ul>
<h3>Better Post Excerpts</h3>
<p>If you&#8217;re concerned about your writing style, you&#8217;ll most definitely take care about how you structure your posts, where you insert images and how you write the introductory paragraph.</p>
<p>With these in mind, you basically got yourself a very good post excerpt, one that you should not leave to WordPress to decide when and where to cut.</p>
<h4>The &#8216;More&#8217; Tag</h4>
<p>This is the most valid alternative to displaying post excerpts, if <strong>the_excerpt() </strong>template tag does not fit your needs.</p>
<p><strong>More</strong> is what the WordPress developers call a <em>quicktag</em>, designed to cut-off large posts into two fragments: one that will be displayed as an excerpt and one that users will continue to read from after clicking the &#8220;read more&#8221; link. It serves as a marker inside the post so that users who come from the excerpt link, will start reading the content from that point on, and not from the beginning, again.<span id="more-418"></span></p>
<p>What this quicktag actually represents is a HTML comment that WordPress translates a the cut-off point. To use it while editing your posts in HTML view, you simply need to add this where you want the post cut:</p>
<pre>Your introductory paragraph should be placed before using the 'more' quicktag.
That way it will act as a post excerpt.
&lt;!--more--&gt;</pre>
<p>Using it like in the above example will return a post excerpt similar to this:</p>
<blockquote><p>Your introductory paragraph should be placed before using the &#8216;more&#8217; quicktag.<br />
That way it will act as a post excerpt. <a href="#" rel="nofollow">more&#8230;</a></p></blockquote>
<h3>Customizing the &#8216;more&#8217; link</h3>
<p>The default text (<em>more&#8230;</em>) is not very attractive, right? I mean, you must really be interested in the rest of the story to click it.</p>
<p>But fear not, there are many ways in which you could customize the link, applying a global or single post effect. Described below are two methods you could use.</p>
<h4 style="margin-top: 25px">Method One: Customizing the_content() template tag</h4>
<p class="articlefeat">
<strong>Effects:</strong> Global<br />
<strong>Requirements:</strong> Minor coding knowledge</p>
<p>As per default, posts excerpts are displayed by using <em>the_excerpt()</em>, while full posts are displayed through the use of <em>the_content() tag</em>.</p>
<p>If you take a look at the code of your theme&#8217;s <em>index.php</em> file, and of course if it uses full posts, you&#8217;ll notice a line of code similar to this one:</p>
<pre>&lt;?php the_content(); ?&gt;</pre>
<p>The easiest way to customize it and obtain a global effect would be by adding a parameter containing your own &#8216;read more&#8217; text, as shown in the example below:</p>
<pre>&lt;?php the_content(' Continue reading this post!'); ?&gt;</pre>
<p>The end result will look similar to this:</p>
<blockquote><p>Your introductory paragraph should be placed before using the &#8216;more&#8217; quicktag.<br />
That way it will act as a post excerpt. <a href="#" rel="nofollow"> Continue reading this post!</a></p></blockquote>
<p>To further more customize the link, you can even use HTML code and add CSS classes to it:</p>
<pre>&lt;?php the_content(' <span class="moreLink">Continue reading this post!</span>'); ?&gt;</pre>
<p>or use WordPress&#8217; <em>get_the_title()</em> template tag to add the post name inside the link, like this:</p>
<pre>&lt;?php the_content(' Continue reading '.get_the_title()); ?&gt;</pre>
<p>Assuming the example of my own post title, this will result in something similar the this:</p>
<blockquote><p>Your introductory paragraph should be placed before using the &#8216;more&#8217; quicktag.</p>
<p>That way it will act as a post excerpt. <a href="#" rel="nofollow"> Continue reading Post Excerpts and the More Tag in WordPress</a></p></blockquote>
<p>Of course, you could always use a combination of HTML tags and WordPress template tags to further customize the link, as long as you keep in mind that the effect will be global (will apply to all posts using the <em>more</em> quicktag).</p>
<h4 style="margin-top: 25px">Method Two: Customizing the &lt;!&#45;&#45;more&#45;&#45;&gt; quicktag</h4>
<p class="articlefeat">
<strong>Effects:</strong> Single post<br />
<strong>Requirements:</strong> Nothing a 5 year old won&#8217;t manage</p>
<p>Assuming you have adjusted the link to your needs by using the above described global-method and on some posts you need to tweak the link more, the best way to customize the display text is my adding it to the &lt;!&#45;&#45;more&#45;&#45;&gt; quicktag, as shown below, in your post HTML view:</p>
<pre>&lt;!--more This is my custom more text--&gt;</pre>
<p>This will result in:</p>
<blockquote><p>Your introductory paragraph should be placed before using the &#8216;more&#8217; quicktag.<br />
That way it will act as a post excerpt. <a href="#" rel="nofollow"> This is my custom more text</a></p></blockquote>
<p><strong>Note:</strong> The results of this method override the defaults or the effects of the first method and only affect the text, and not the formatting.</p>
<h3>That&#8217;s it!</h3>
<p>Easy as one, two, three, right? Happy customizing! And in case you need more information, here are a few links from the WordPress Codex:</p>
<ul>
<li><a href="http://codex.wordpress.org/Customizing_the_Read_More" target="_blank" rel="external">Customizing the Read More</a></li>
<li><a href="http://codex.wordpress.org/Template_Tags/the_content" target="_blank" rel="external">Template Tags: the_content()</a></li>
<li><a href="http://codex.wordpress.org/Template_Tags/the_excerpt" target="_blank" rel="external">Template Tags: the_excerpt()</a></li>
</ul>
<hr /><h3>Free PDF eBook: Corporate Blogging Guide by Blogsessive</h3>As a subscribe reader of Blogsessive, this is my gift to you: a guide to corporate blogging (but not only) that will help you in your blogging adventures! <a href="http://blogsessive.com/wp-content/plugins/download-monitor/download.php?id=8" target="_blank">Download now, for FREE!</a><br /><br /><hr/><div style="background: #eeeeee;">Advertise on Blogsessive! <a href="http://buysellads.com/buy/detail/310/" title="Advertise on Blogsessive">125x125 banners</a> for <strong>$50 per month</strong>!</div>&copy;2008-2010 Copyright by <a href="http://blogsessive.com" title="Blogging tips">Blogsessive - Blogging Tips</a>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please <a href="http://blogsessive.com/contact" title="Contact Blogsessive">contact us</a>, so that we can take legal action immediately.<img src="http://blogsessive.com/?ak_action=api_record_view&id=418&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://blogsessive.com/blogging-tools/wordpress-post-excerpts-more-tag/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>

