<?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>Mike R :: R ekim &#187; wordpress</title>
	<atom:link href="http://www.rekim.com/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.rekim.com</link>
	<description>Mike Robinson</description>
	<lastBuildDate>Sat, 27 Jan 2024 18:04:13 +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>After the break wordpress text</title>
		<link>https://www.rekim.com/2011/11/04/after-the-break-wordpress-text/</link>
		<comments>https://www.rekim.com/2011/11/04/after-the-break-wordpress-text/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 12:36:31 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[read more]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.rekim.com/?p=156</guid>
		<description><![CDATA[I like to add a little description of what&#8217;s to come when clicking read more on a wordpress article and sometimes add preview images and thumbs. Here&#8217;s a simple little way of adding an after_break tag for posts that is &#8230; <a href="https://www.rekim.com/2011/11/04/after-the-break-wordpress-text/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I like to add a little description of what&#8217;s to come when clicking read more on a wordpress article and sometimes add preview images and thumbs. Here&#8217;s a simple little way of adding an after_break tag for posts that is ignored when on the full page.</p>
<p>Add the following to your template function.</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">function</span> after_the_break_shortcode<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$atts</span><span style="color: #339933;">,</span> <span style="color: #000088;">$content</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">null</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp;<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span>is_single<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #000088;">$content</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#125;</span><span style="color: #b1b100;">else</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span><br />
add_shortcode<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'after_break'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'after_the_break_shortcode'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>you can now enter</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&#91;</span>after_break<span style="color: #009900;">&#93;</span><br />
Click read more to check out some great photos from x<br />
<span style="color: #009900;">&#91;</span><span style="color: #339933;">/</span>after_break<span style="color: #009900;">&#93;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>https://www.rekim.com/2011/11/04/after-the-break-wordpress-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
