<?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>Comments on: WordPress 主题教程 #6c：存档和链接列表</title>
	<atom:link href="http://fairyfish.net/2007/06/12/wp-theme-lesson-6c-get-archives-and-links/feed/" rel="self" type="application/rss+xml" />
	<link>http://fairyfish.net/2007/06/12/wp-theme-lesson-6c-get-archives-and-links/</link>
	<description>关注 WordPress，关注互联网</description>
	<lastBuildDate>Sat, 20 Mar 2010 15:01:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: XNOT</title>
		<link>http://fairyfish.net/2007/06/12/wp-theme-lesson-6c-get-archives-and-links/#comment-44564</link>
		<dc:creator>XNOT</dc:creator>
		<pubDate>Fri, 22 Jan 2010 11:13:39 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/06/12/wp-theme-lesson-6c-get-archives-and-links/#comment-44564</guid>
		<description>:shock: 今天有到这里上课了，恩，支持@</description>
		<content:encoded><![CDATA[<p> <img src='http://fairyfish.net/wp-includes/images/smilies/icon_eek.gif' alt=':shock:' class='wp-smiley' />  今天有到这里上课了，恩，支持@</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laden</title>
		<link>http://fairyfish.net/2007/06/12/wp-theme-lesson-6c-get-archives-and-links/#comment-40035</link>
		<dc:creator>Laden</dc:creator>
		<pubDate>Mon, 23 Mar 2009 11:48:58 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/06/12/wp-theme-lesson-6c-get-archives-and-links/#comment-40035</guid>
		<description>我倒！咋还发不上去代码？

			
				
			
		
就这篇教程的第一步，增加存档连接的代码，我加上就处错误，请帮下忙！谢谢了</description>
		<content:encoded><![CDATA[<p>我倒！咋还发不上去代码？</p>
<p>就这篇教程的第一步，增加存档连接的代码，我加上就处错误，请帮下忙！谢谢了</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laden</title>
		<link>http://fairyfish.net/2007/06/12/wp-theme-lesson-6c-get-archives-and-links/#comment-40034</link>
		<dc:creator>Laden</dc:creator>
		<pubDate>Mon, 23 Mar 2009 11:46:13 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/06/12/wp-theme-lesson-6c-get-archives-and-links/#comment-40034</guid>
		<description>晕了，怎么代码没发上去，具体出错代码是这个：




</description>
		<content:encoded><![CDATA[<p>晕了，怎么代码没发上去，具体出错代码是这个：</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laden</title>
		<link>http://fairyfish.net/2007/06/12/wp-theme-lesson-6c-get-archives-and-links/#comment-40033</link>
		<dc:creator>Laden</dc:creator>
		<pubDate>Mon, 23 Mar 2009 11:44:53 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/06/12/wp-theme-lesson-6c-get-archives-and-links/#comment-40033</guid>
		<description>水煮鱼大哥，今天按照你的教程我一步步去做，可是做到这步和前面的那一步总是提示出一个错误，不知道是什么原因，我查看了其他人的评论，好像没人出现过这个错误，具体如下：





再写这一步的时候浏览首页时出现错误，错误是这样
Fatal error: Call to undefined function php_e() in C:\xampp\htdocs\wordpress\wp-content\themes\tutorial\index.php on line 61
我用翻译软件看了下，好像是说php_e()这个函数没定义，具体的我也不太清楚，还又之前的一个用到这个函数的地方也是提示的这个错误，当时看你的教程说可以另一种方法写，我就换了方法，但是到这又出这个错了，请问能帮忙解决下么！谢谢水煮鱼！</description>
		<content:encoded><![CDATA[<p>水煮鱼大哥，今天按照你的教程我一步步去做，可是做到这步和前面的那一步总是提示出一个错误，不知道是什么原因，我查看了其他人的评论，好像没人出现过这个错误，具体如下：</p>
<p>再写这一步的时候浏览首页时出现错误，错误是这样<br />
Fatal error: Call to undefined function php_e() in C:\xampp\htdocs\wordpress\wp-content\themes\tutorial\index.php on line 61<br />
我用翻译软件看了下，好像是说php_e()这个函数没定义，具体的我也不太清楚，还又之前的一个用到这个函数的地方也是提示的这个错误，当时看你的教程说可以另一种方法写，我就换了方法，但是到这又出这个错了，请问能帮忙解决下么！谢谢水煮鱼！</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 纪小年</title>
		<link>http://fairyfish.net/2007/06/12/wp-theme-lesson-6c-get-archives-and-links/#comment-37310</link>
		<dc:creator>纪小年</dc:creator>
		<pubDate>Sat, 20 Dec 2008 12:05:09 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/06/12/wp-theme-lesson-6c-get-archives-and-links/#comment-37310</guid>
		<description>补充下~~
函数wp_get_archives是用来调用存档的，可以放在模板中的sidebar.php或者放在专门的存档页面archives.php。
具体写法如下：

  wp_get_archives
    (&#039;type=monthly&amp;limit=12&amp;format=
    html&amp;before=...&amp;after=...
    &amp;show_post_count=true&#039;);


  下面说明一下里面的每个函数的意思：
&lt;strong&gt;type:归档方式 &lt;/strong&gt;
type=monthly:按月显示
  type=daily:按天显示
  type=weekly:按周显示
  type=postbypost:显示文章标题
&lt;strong&gt;limit:显示篇数 &lt;/strong&gt;
limit=10:显示最近10篇文章
&lt;strong&gt;format:格式 &lt;/strong&gt;
format=html:默认方式
  format=link:输出格式: 

  &lt;?php
    &lt;link rel=&#039;archives&#039; title=&#039;$title_text&#039; href=&#039;$url&#039; /&gt;

&lt;strong&gt;format=option:输出格式: &lt;/strong&gt;

  &lt;?php
    &lt;option value=&#039;$url&#039;&gt;$before $text $after&lt;/option&gt;

&lt;strong&gt;before:archives前&lt;/strong&gt; 
before=…:要在前面加的文字
&lt;strong&gt;after:archives后&lt;/strong&gt; 
after=…:要在后面加的文字
&lt;strong&gt;show_post_count:是否显示文章数量 &lt;/strong&gt;
show_post_count=true:要在后面显示文章的数量</description>
		<content:encoded><![CDATA[<p>补充下~~<br />
函数wp_get_archives是用来调用存档的，可以放在模板中的sidebar.php或者放在专门的存档页面archives.php。<br />
具体写法如下：</p>
<p>  wp_get_archives<br />
    (&#8216;type=monthly&amp;limit=12&amp;format=<br />
    html&amp;before=&#8230;&amp;after=&#8230;<br />
    &amp;show_post_count=true&#8217;);</p>
<p>  下面说明一下里面的每个函数的意思：<br />
<strong>type:归档方式 </strong><br />
type=monthly:按月显示<br />
  type=daily:按天显示<br />
  type=weekly:按周显示<br />
  type=postbypost:显示文章标题<br />
<strong>limit:显示篇数 </strong><br />
limit=10:显示最近10篇文章<br />
<strong>format:格式 </strong><br />
format=html:默认方式<br />
  format=link:输出格式: </p>
<p>  &lt;?php<br />
    &lt;link target='_blank' rel=&#8217;archives&#8217; title=&#8217;$title_text&#8217; href=&#8217;$url&#8217; /&gt;</p>
<p><strong>format=option:输出格式: </strong></p>
<p>  &lt;?php<br />
    &lt;option value=&#8217;$url&#8217;&gt;$before $text $after&lt;/option&gt;</p>
<p><strong>before:archives前</strong><br />
before=…:要在前面加的文字<br />
<strong>after:archives后</strong><br />
after=…:要在后面加的文字<br />
<strong>show_post_count:是否显示文章数量 </strong><br />
show_post_count=true:要在后面显示文章的数量</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan</title>
		<link>http://fairyfish.net/2007/06/12/wp-theme-lesson-6c-get-archives-and-links/#comment-34767</link>
		<dc:creator>Evan</dc:creator>
		<pubDate>Mon, 03 Nov 2008 04:54:49 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/06/12/wp-theme-lesson-6c-get-archives-and-links/#comment-34767</guid>
		<description>不会. 用dl来写的话不符合xhtml的语义化要求. 而且li中本来就可再套其它块级元素. 所以这种写法很正常啊, 用纯CSS来写tip提示时就经常用到这种写法.</description>
		<content:encoded><![CDATA[<p>不会. 用dl来写的话不符合xhtml的语义化要求. 而且li中本来就可再套其它块级元素. 所以这种写法很正常啊, 用纯CSS来写tip提示时就经常用到这种写法.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: a-duo</title>
		<link>http://fairyfish.net/2007/06/12/wp-theme-lesson-6c-get-archives-and-links/#comment-23610</link>
		<dc:creator>a-duo</dc:creator>
		<pubDate>Wed, 19 Mar 2008 06:21:40 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/06/12/wp-theme-lesson-6c-get-archives-and-links/#comment-23610</guid>
		<description>重新在写一遍又是对的 郁闷 不知道是什么原因</description>
		<content:encoded><![CDATA[<p>重新在写一遍又是对的 郁闷 不知道是什么原因</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: a-duo</title>
		<link>http://fairyfish.net/2007/06/12/wp-theme-lesson-6c-get-archives-and-links/#comment-23609</link>
		<dc:creator>a-duo</dc:creator>
		<pubDate>Wed, 19 Mar 2008 06:16:52 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/06/12/wp-theme-lesson-6c-get-archives-and-links/#comment-23609</guid>
		<description>Parse error: syntax error, unexpected &#039;=&#039; in D:\xampp\htdocs\wordpress\wp-content\themes\tutorial\index.php on line 58
 自己一个写
与复制进去都提示错误？</description>
		<content:encoded><![CDATA[<p>Parse error: syntax error, unexpected &#8216;=&#8217; in D:\xampp\htdocs\wordpress\wp-content\themes\tutorial\index.php on line 58<br />
 自己一个写<br />
与复制进去都提示错误？</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 胡戈戈</title>
		<link>http://fairyfish.net/2007/06/12/wp-theme-lesson-6c-get-archives-and-links/#comment-20773</link>
		<dc:creator>胡戈戈</dc:creator>
		<pubDate>Thu, 31 Jan 2008 02:38:51 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/06/12/wp-theme-lesson-6c-get-archives-and-links/#comment-20773</guid>
		<description>要有点基础的,如果你以前一点都没碰到过这些东西看这些会很吃力的</description>
		<content:encoded><![CDATA[<p>要有点基础的,如果你以前一点都没碰到过这些东西看这些会很吃力的</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 黑色饼干</title>
		<link>http://fairyfish.net/2007/06/12/wp-theme-lesson-6c-get-archives-and-links/#comment-14430</link>
		<dc:creator>黑色饼干</dc:creator>
		<pubDate>Fri, 07 Dec 2007 10:03:59 +0000</pubDate>
		<guid isPermaLink="false">http://fairyfish.net/2007/06/12/wp-theme-lesson-6c-get-archives-and-links/#comment-14430</guid>
		<description>我汗!

在开始之前，我想解释下为什么我把我的课程分成比较小的节。你所学的一切都需要几个月时间来消化！

看样子真是难哦，要几个月来消化呢</description>
		<content:encoded><![CDATA[<p>我汗!</p>
<p>在开始之前，我想解释下为什么我把我的课程分成比较小的节。你所学的一切都需要几个月时间来消化！</p>
<p>看样子真是难哦，要几个月来消化呢</p>
]]></content:encoded>
	</item>
</channel>
</rss>
