<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: links for 2008-07-07</title>
	<atom:link href="http://www.alexhill.cn/archives/127/feed" rel="self" type="application/rss+xml" />
	<link>http://www.alexhill.cn/archives/127</link>
	<description></description>
	<pubDate>Wed, 08 Sep 2010 06:21:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Alexhill&#8217;s Moment &#187; Wordpress 2.6 更新日志</title>
		<link>http://www.alexhill.cn/archives/127#comment-22425</link>
		<dc:creator>Alexhill&#8217;s Moment &#187; Wordpress 2.6 更新日志</dc:creator>
		<pubDate>Thu, 24 Jul 2008 04:56:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexhill.cn/archives/127#comment-22425</guid>
		<description>[...] 之前Jason同学在回复里面问起首页摘要这个功能的实现方法，我是通过修改程序实现的。虽然貌似使用 wp 的摘要功能也能够实现，但是作为一种思路还是在这里重新 share 出来供大家参考。这是通过修改 wp 程序文件来实现的，并且在发布文章时需要使用 more 标签来分割显示在首页的部分和 post 文章部分。 [...]</description>
		<content:encoded><![CDATA[<p>[...] 之前Jason同学在回复里面问起首页摘要这个功能的实现方法，我是通过修改程序实现的。虽然貌似使用 wp 的摘要功能也能够实现，但是作为一种思路还是在这里重新 share 出来供大家参考。这是通过修改 wp 程序文件来实现的，并且在发布文章时需要使用 more 标签来分割显示在首页的部分和 post 文章部分。 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fm</title>
		<link>http://www.alexhill.cn/archives/127#comment-22405</link>
		<dc:creator>Fm</dc:creator>
		<pubDate>Wed, 23 Jul 2008 13:07:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexhill.cn/archives/127#comment-22405</guid>
		<description>去看看</description>
		<content:encoded><![CDATA[<p>去看看</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.alexhill.cn/archives/127#comment-21077</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Sat, 12 Jul 2008 16:03:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexhill.cn/archives/127#comment-21077</guid>
		<description>谢谢Nevic兄的帮助，使用MORE标签虽然不错，但用起来还是不太爽，我已经改成使用摘要了，相比之下摘要用起来更好些，不过还是谢谢你了，为我写了这么多，呵呵····3Q啦~</description>
		<content:encoded><![CDATA[<p>谢谢Nevic兄的帮助，使用MORE标签虽然不错，但用起来还是不太爽，我已经改成使用摘要了，相比之下摘要用起来更好些，不过还是谢谢你了，为我写了这么多，呵呵····3Q啦~</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nevic</title>
		<link>http://www.alexhill.cn/archives/127#comment-21076</link>
		<dc:creator>Nevic</dc:creator>
		<pubDate>Sat, 12 Jul 2008 15:41:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexhill.cn/archives/127#comment-21076</guid>
		<description>[Comment ID #21037 Will Be Quoted Here]

这个我来解答一下。这是通过修改wp程序文件来实现的，并且在发布文章时需要使用more标签来分割显示在首页的部分和post文章部分。

如果您是wp2.0.x这样略早一些的版本。请修改wp-includes文件夹下的template-functions-post.php文件第92行，将“$output . =”修改为“$output =”（也就是去掉output后面的点点），然后再删掉第93行和第94行（也就是else部分）；

如果您是wp2.5以上的版本。请修改wp-includes文件夹下的post-template.php文件第121行。同样，将“$output . =”修改为“$output =”（也就是去掉output后面的点点），然后再删掉下面else括住的部分。

这样，在发布文章的时候，把需要出现的首页部分的内容写在more标签前面，需要出现在正文部分的内容写在more标签后面，就OK啦。不过，需要注意的是，每次wp升级之后都需要再次更改。</description>
		<content:encoded><![CDATA[<blockquote class='comment_quote'><p><a href="http://www.alexhill.cn/archives/127#comment-21037" title="Click here to view the original comment"><em>Jason on July 12, 2008 at 3:08 pm said:</em></a></p>
<p>冒昧问下(因为找不到留言本,只好在此留言了),您的博客应该也是基于WP吧，我想问下，在首页显示图片而不显示全文，而点击进入文章后图片又不会显示，这个效果是怎么做出来的。。能帮下忙么，万分感谢</p></blockquote>
<p>这个我来解答一下。这是通过修改wp程序文件来实现的，并且在发布文章时需要使用more标签来分割显示在首页的部分和post文章部分。</p>
<p>如果您是wp2.0.x这样略早一些的版本。请修改wp-includes文件夹下的template-functions-post.php文件第92行，将“$output . =”修改为“$output =”（也就是去掉output后面的点点），然后再删掉第93行和第94行（也就是else部分）；</p>
<p>如果您是wp2.5以上的版本。请修改wp-includes文件夹下的post-template.php文件第121行。同样，将“$output . =”修改为“$output =”（也就是去掉output后面的点点），然后再删掉下面else括住的部分。</p>
<p>这样，在发布文章的时候，把需要出现的首页部分的内容写在more标签前面，需要出现在正文部分的内容写在more标签后面，就OK啦。不过，需要注意的是，每次wp升级之后都需要再次更改。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.alexhill.cn/archives/127#comment-21037</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Sat, 12 Jul 2008 07:08:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexhill.cn/archives/127#comment-21037</guid>
		<description>冒昧问下(因为找不到留言本,只好在此留言了),您的博客应该也是基于WP吧，我想问下，在首页显示图片而不显示全文，而点击进入文章后图片又不会显示，这个效果是怎么做出来的。。能帮下忙么，万分感谢</description>
		<content:encoded><![CDATA[<p>冒昧问下(因为找不到留言本,只好在此留言了),您的博客应该也是基于WP吧，我想问下，在首页显示图片而不显示全文，而点击进入文章后图片又不会显示，这个效果是怎么做出来的。。能帮下忙么，万分感谢</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alexhill</title>
		<link>http://www.alexhill.cn/archives/127#comment-20952</link>
		<dc:creator>alexhill</dc:creator>
		<pubDate>Fri, 11 Jul 2008 08:38:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexhill.cn/archives/127#comment-20952</guid>
		<description>你还知道出现哦。。。有了姑娘就不要俺了。。。=__=。。。。</description>
		<content:encoded><![CDATA[<p>你还知道出现哦。。。有了姑娘就不要俺了。。。=__=。。。。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dancemoon</title>
		<link>http://www.alexhill.cn/archives/127#comment-20940</link>
		<dc:creator>dancemoon</dc:creator>
		<pubDate>Fri, 11 Jul 2008 06:19:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.alexhill.cn/archives/127#comment-20940</guid>
		<description>有清楚版下载就更好了</description>
		<content:encoded><![CDATA[<p>有清楚版下载就更好了</p>
]]></content:encoded>
	</item>
</channel>
</rss>
