<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>评论：站务</title>
	<atom:link href="http://www.zhaolei.net/lo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zhaolei.net</link>
	<description>故事总有开始，也会结束，我选择体味过程——《石头记之我的名字叫赵磊》</description>
	<pubDate>Tue, 06 Jan 2009 01:38:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>来自：赵磊</title>
		<link>http://www.zhaolei.net/lo/comment-page-1/#comment-21</link>
		<dc:creator>赵磊</dc:creator>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.zhaolei.net/?page_id=7#comment-21</guid>
		<description>首页调用最新的评论和留言
修改sidebar.php
&lt;coolcode lang="php"&gt;
&lt;?php if(is_home (function_exists('get_recent_comments'))) { ?&gt;
   &lt;li class="sidebox"&gt;
   &lt;h3&gt;&lt;?php _e('Recent Comments:'); ?&gt;&lt;/h3&gt;
   &lt;ul&gt;&lt;?php get_recent_comments(); ?&gt;&lt;/ul&gt;
   &lt;/li&gt;
&lt;?php } ?&gt;  
&lt;/coolcode&gt;</description>
		<content:encoded><![CDATA[<p>首页调用最新的评论和留言<br />
修改sidebar.php</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Blue;">&lt;?php</span><span style="color: Gray;"> </span><span style="color: Green;">if</span><span style="color: Olive;">(</span><span style="color: Blue;">is_home</span><span style="color: Gray;"> </span><span style="color: Olive;">(</span><span style="color: Blue;">function_exists</span><span style="color: Olive;">(</span><span style="color: #8b0000;">'</span><span style="color: Red;">get_recent_comments</span><span style="color: #8b0000;">'</span><span style="color: Olive;">)))</span><span style="color: Gray;"> </span><span style="color: Olive;">{</span><span style="color: Gray;"> </span><span style="color: Blue;">?&gt;</span></li>
<li><span style="color: Black;">&nbsp;&nbsp; &lt;li class=&quot;sidebox&quot;&gt;</span></li>
<li><span style="color: Black;">&nbsp;&nbsp; &lt;h3&gt;</span><span style="color: Blue;">&lt;?php</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">_e</span><span style="color: Olive;">(</span><span style="color: #8b0000;">'</span><span style="color: Red;">Recent Comments:</span><span style="color: #8b0000;">'</span><span style="color: Olive;">)</span><span style="color: Gray;">; </span><span style="color: Blue;">?&gt;</span><span style="color: Black;">&lt;/h3&gt;</span></li>
<li><span style="color: Black;">&nbsp;&nbsp; &lt;ul&gt;</span><span style="color: Blue;">&lt;?php</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">get_recent_comments</span><span style="color: Olive;">()</span><span style="color: Gray;">; </span><span style="color: Blue;">?&gt;</span><span style="color: Black;">&lt;/ul&gt;</span></li>
<li><span style="color: Black;">&nbsp;&nbsp; &lt;/li&gt;</span></li>
<li><span style="color: Blue;">&lt;?php</span><span style="color: Gray;">&nbsp;</span><span style="color: Olive;">}</span><span style="color: Gray;"> </span><span style="color: Blue;">?&gt;</span></li></ol></div>
]]></content:encoded>
	</item>
	<item>
		<title>来自：赵磊</title>
		<link>http://www.zhaolei.net/lo/comment-page-1/#comment-14</link>
		<dc:creator>赵磊</dc:creator>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.zhaolei.net/?page_id=7#comment-14</guid>
		<description>真是无语啊，连分类排序wordpress都需要插件定义，当然从另外一个方面来看，这只能说明wp内核的优秀！
&lt;strong&gt;插件:My Category Order&lt;/strong&gt;

Sidebar Modification: If you aren’t using widgets then you’ll need to change your template to use the new sort parameter, “orderby=order”:

&lt;coolcode lang="php"&gt;wp_list_categories(’orderby=order&#038;hierarchical=0&#038;title_li=’);&lt;/coolcode&gt;</description>
		<content:encoded><![CDATA[<p>真是无语啊，连分类排序wordpress都需要插件定义，当然从另外一个方面来看，这只能说明wp内核的优秀！<br />
<strong>插件:My Category Order</strong></p>
<p>Sidebar Modification: If you aren’t using widgets then you’ll need to change your template to use the new sort parameter, “orderby=order”:</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Blue;">wp_list_categories</span><span style="color: Olive;">(</span><span style="color: Gray;">’</span><span style="color: Blue;">orderby</span><span style="color: Gray;">=</span><span style="color: Blue;">order</span><span style="color: Gray;">&amp;</span><span style="color: Blue;">hierarchical</span><span style="color: Gray;">=</span><span style="color: Maroon;">0</span><span style="color: Gray;">&amp;</span><span style="color: Blue;">title_li</span><span style="color: Gray;">=’</span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
</ol></div>
]]></content:encoded>
	</item>
</channel>
</rss>
