<?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>Don&#039;t Panic &#187; 2.8</title>
	<atom:link href="http://danielfree.net/archives/tag/2-8/feed" rel="self" type="application/rss+xml" />
	<link>http://danielfree.net</link>
	<description>时间足够你爱</description>
	<lastBuildDate>Wed, 08 Feb 2012 15:45:42 +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>原来wordpress2.7之后就自带了thread comments了</title>
		<link>http://danielfree.net/archives/655?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25e5%258e%259f%25e6%259d%25a5wordpress2-7%25e4%25b9%258b%25e5%2590%258e%25e5%25b0%25b1%25e8%2587%25aa%25e5%25b8%25a6%25e4%25ba%2586thread-comments%25e4%25ba%2586</link>
		<comments>http://danielfree.net/archives/655#comments</comments>
		<pubDate>Sun, 06 Sep 2009 01:01:27 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[术业]]></category>
		<category><![CDATA[2.8]]></category>
		<category><![CDATA[fervens a]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[thread comments]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://daniel.codetea.co.uk/?p=655</guid>
		<description><![CDATA[怪不得找了几个plugin都不能用 看来wordpress从2.7以后改动还是不少 稍微修改了一下这个Fervens A模板 让它能够正确支持自带的thread comment方法 主要参考的是这篇文章 Migrating Plugins and Themes to 2.7/Enhanced Comment Display 关键函数就是那个 wp_list_comments 调用callback函数来显示自定义的comment格式 最简单的用法比如 然后在functions.php里写一下mytheme_comment函数即可]]></description>
			<content:encoded><![CDATA[<p>怪不得找了几个plugin都不能用 看来wordpress从2.7以后改动还是不少</p>
<p>稍微修改了一下这个Fervens A模板 让它能够正确支持自带的thread comment方法</p>
<p>主要参考的是这篇文章</p>
<p><a href="http://codex.wordpress.org/Migrating_Plugins_and_Themes_to_2.7/Enhanced_Comment_Display">Migrating Plugins and Themes to 2.7/Enhanced Comment Display</a></p>
<p>关键函数就是那个 <a href="http://codex.wordpress.org/Template_Tags/wp_list_comments">wp_list_comments</a> 调用callback函数来显示自定义的comment格式</p>
<p>最简单的用法比如</p>
<pre class="brush: php; title: ; notranslate">wp_list_comments('type=comment&amp;callback=mytheme_comment');</pre>
<p>然后在functions.php里写一下mytheme_comment函数即可</p>
]]></content:encoded>
			<wfw:commentRss>http://danielfree.net/archives/655/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: danielfree.net @ 2012-02-10 10:51:10 by W3 Total Cache -->
