<?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>爱周末 &#187; wordpress摘要</title>
	<atom:link href="http://zhoumo123.cn/tag/wordpress%e6%91%98%e8%a6%81/feed" rel="self" type="application/rss+xml" />
	<link>http://zhoumo123.cn</link>
	<description>知识分享，共同进步。zhoumo123.cn</description>
	<lastBuildDate>Thu, 07 Nov 2019 05:53:49 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.0.1</generator>
	<item>
		<title>wordpress 摘要添加“阅读全文”及文章链接</title>
		<link>http://zhoumo123.cn/wordpress/164.html</link>
		<comments>http://zhoumo123.cn/wordpress/164.html#comments</comments>
		<pubDate>Wed, 23 Jul 2014 09:08:52 +0000</pubDate>
		<dc:creator><![CDATA[zhangc]]></dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress摘要]]></category>

		<guid isPermaLink="false">http://zhoumo123.cn/?p=164</guid>
		<description><![CDATA[给文章&#8221;阅读全文&#8221;添加链接,将如下代码放到主题的functions.php文件。]]></description>
				<content:encoded><![CDATA[<p>给文章&#8221;阅读全文&#8221;添加链接,将如下代码放到主题的functions.php文件。</p>
<pre class="brush: php; title: ; notranslate">
function new_excerpt_more($more) {

global $post;

return ' &lt;a href=&quot;'.get_permalink($post-&amp;gt;ID). '&quot;&gt; 阅读全文 &lt;/a&gt; ';
}

add_filter('excerpt_more', 'new_excerpt_more'); 

</pre>
]]></content:encoded>
			<wfw:commentRss>http://zhoumo123.cn/wordpress/164.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress 更改摘要字数，改变excerpt的长度</title>
		<link>http://zhoumo123.cn/wordpress/153.html</link>
		<comments>http://zhoumo123.cn/wordpress/153.html#comments</comments>
		<pubDate>Wed, 23 Jul 2014 08:52:11 +0000</pubDate>
		<dc:creator><![CDATA[zhangc]]></dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress摘要]]></category>

		<guid isPermaLink="false">http://zhoumo123.cn/?p=153</guid>
		<description><![CDATA[更改系统默认excerpt的长度 可以使用excerpt_length过滤器改变excerpt的长度，添加如下代码到主题的functions.php文件即可。 &#160; &#160; &#160;]]></description>
				<content:encoded><![CDATA[<p>更改系统默认excerpt的长度</p>
<p>可以使用excerpt_length过滤器改变excerpt的长度，添加如下代码到主题的functions.php文件即可。</p>
<pre class="brush: java; title: ; notranslate">


function new_excerpt_length($length) {
    return 200; //控制摘要的输出个数
}
add_filter('excerpt_length', 'new_excerpt_length');


</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://zhoumo123.cn/wordpress/153.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
