<?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; 数目</title>
	<atom:link href="http://www.jiehoo.me/tag/%e6%95%b0%e7%9b%ae/feed" rel="self" type="application/rss+xml" />
	<link>http://www.jiehoo.me</link>
	<description>解己之惑，解人之惑</description>
	<lastBuildDate>Mon, 19 Jul 2010 10:01:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>修改首页显示的日志数</title>
		<link>http://www.jiehoo.me/%e4%bf%ae%e6%94%b9%e9%a6%96%e9%a1%b5%e6%98%be%e7%a4%ba%e7%9a%84%e6%97%a5%e5%bf%97%e6%95%b0.htm</link>
		<comments>http://www.jiehoo.me/%e4%bf%ae%e6%94%b9%e9%a6%96%e9%a1%b5%e6%98%be%e7%a4%ba%e7%9a%84%e6%97%a5%e5%bf%97%e6%95%b0.htm#comments</comments>
		<pubDate>Tue, 27 Mar 2007 08:17:41 +0000</pubDate>
		<dc:creator>Cherami</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[首页]]></category>
		<category><![CDATA[数目]]></category>

		<guid isPermaLink="false">http://www.jiehoo.com/%e4%bf%ae%e6%94%b9%e9%a6%96%e9%a1%b5%e6%98%be%e7%a4%ba%e7%9a%84%e6%97%a5%e5%bf%97%e6%95%b0.htm</guid>
		<description><![CDATA[把JR的blog上的很多内容导到这里来了以后，我的侧栏就变得很长了，这样看着不太美观，想把首页的日志输出的条目数修改下，结果google了半天也没有个结果，后来修改了查询条件，从这个帖子里面获得了启发，搜索了下我的主题里面使用到query_posts的地方，发现是recent_entries.php里面使用了query_posts(&#8216;showposts=10&#8242;);，修改为query_posts(&#8216;showposts=12&#8242;);问题搞定。 其实搜索的时候看到一些帖子说在后台管理的输出选项里面可以控制，但是我的没有，不知道是版本变化的缘故还是使用不同的主题的缘故，不过搜索使用query_posts是一个通用的方法，缺点就是不是通过配置而是通过修改源代码，好在不是经常改，应该问题不大。]]></description>
			<content:encoded><![CDATA[<p class='fp'>把<a href="http://www.jiehoo.com/%e5%af%bc%e5%85%a5jr%e7%9a%84blog.htm">JR的blog上的很多内容导到这里</a>来了以后，我的侧栏就变得很长了，这样看着不太美观，想把首页的日志输出的条目数修改下，结果google了半天也没有个结果，后来修改了查询条件，从<a href="http://jesse.blogs-china.com/200607/200.html">这个帖子里面获得了启发</a>，搜索了下我的主题里面使用到query_posts的地方，发现是recent_entries.php里面使用了query_posts(&#8216;showposts=10&#8242;);，修改为query_posts(&#8216;showposts=12&#8242;);问题搞定。<br />
其实搜索的时候看到一些帖子说在后台管理的输出选项里面可以控制，但是我的没有，不知道是版本变化的缘故还是使用不同的主题的缘故，不过搜索使用query_posts是一个通用的方法，缺点就是不是通过配置而是通过修改源代码，好在不是经常改，应该问题不大。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jiehoo.me/%e4%bf%ae%e6%94%b9%e9%a6%96%e9%a1%b5%e6%98%be%e7%a4%ba%e7%9a%84%e6%97%a5%e5%bf%97%e6%95%b0.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
