<?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://sexywp.com/template-hierarchy.htm/feed" rel="self" type="application/rss+xml" />
	<link>http://sexywp.com/template-hierarchy.htm</link>
	<description>Building another myself~~</description>
	<lastBuildDate>Sat, 04 Feb 2012 23:11:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>作者：Dianso</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-2264</link>
		<dc:creator>Dianso</dc:creator>
		<pubDate>Tue, 10 Feb 2009 07:12:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-2264</guid>
		<description>以前用过一个老外的主题，只有五个模板文件，single等都缺省了。</description>
		<content:encoded><![CDATA[<p>以前用过一个老外的主题，只有五个模板文件，single等都缺省了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：独木</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1483</link>
		<dc:creator>独木</dc:creator>
		<pubDate>Thu, 09 Oct 2008 03:26:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1483</guid>
		<description>嗯，都是是——必须的（东北话？），不过可以把它转移到另一个文件上去或者独立目录内的文件
然后再加个空的index.php，这样别人就不那么容易下载你的CSS了，哈哈</description>
		<content:encoded><![CDATA[<p>嗯，都是是——必须的（东北话？），不过可以把它转移到另一个文件上去或者独立目录内的文件<br />
然后再加个空的index.php，这样别人就不那么容易下载你的CSS了，哈哈</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：独木</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1482</link>
		<dc:creator>独木</dc:creator>
		<pubDate>Thu, 09 Oct 2008 03:24:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1482</guid>
		<description>很不错，对WP新手修改模板就很有意义了</description>
		<content:encoded><![CDATA[<p>很不错，对WP新手修改模板就很有意义了</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：冰古</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1429</link>
		<dc:creator>冰古</dc:creator>
		<pubDate>Sat, 27 Sep 2008 12:58:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1429</guid>
		<description>index.php
style.css
就这两个才是必须的。</description>
		<content:encoded><![CDATA[<p>index.php<br />
style.css<br />
就这两个才是必须的。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：猎武神</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1167</link>
		<dc:creator>猎武神</dc:creator>
		<pubDate>Mon, 08 Sep 2008 15:38:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1167</guid>
		<description>这个图正是一直在找的啊！太有用了！
对我这种人来说 每一个文件都是必须的！哈哈！</description>
		<content:encoded><![CDATA[<p>这个图正是一直在找的啊！太有用了！<br />
对我这种人来说 每一个文件都是必须的！哈哈！</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：stephen</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1166</link>
		<dc:creator>stephen</dc:creator>
		<pubDate>Mon, 08 Sep 2008 14:21:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1166</guid>
		<description>是的，他是非常的在乎用户体验这方面的事情～～
其实他的模板我自己也修改过，呵呵～～不知道这方面有没有打折扣了～～</description>
		<content:encoded><![CDATA[<p>是的，他是非常的在乎用户体验这方面的事情～～<br />
其实他的模板我自己也修改过，呵呵～～不知道这方面有没有打折扣了～～</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Charles</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1160</link>
		<dc:creator>Charles</dc:creator>
		<pubDate>Mon, 08 Sep 2008 11:06:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1160</guid>
		<description>哈哈，欢迎收藏~~</description>
		<content:encoded><![CDATA[<p>哈哈，欢迎收藏~~</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Charles</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1159</link>
		<dc:creator>Charles</dc:creator>
		<pubDate>Mon, 08 Sep 2008 11:05:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1159</guid>
		<description>嗯，我是看着template hierarchy的文档写的这个文章，所以，正好就没有带上comments.php和sidebar.php。不过，我倒是没注意到，竟然会去调用default的文件，以后我去研究下^_^。sidebar.php 还是有一些东西可说的，所以，我想专门开个文章来说，哈哈，欢迎到时候过来切磋切磋(*^__^*) 。</description>
		<content:encoded><![CDATA[<p>嗯，我是看着template hierarchy的文档写的这个文章，所以，正好就没有带上comments.php和sidebar.php。不过，我倒是没注意到，竟然会去调用default的文件，以后我去研究下^_^。sidebar.php 还是有一些东西可说的，所以，我想专门开个文章来说，哈哈，欢迎到时候过来切磋切磋(*^__^*) 。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Charles</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1158</link>
		<dc:creator>Charles</dc:creator>
		<pubDate>Mon, 08 Sep 2008 11:02:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1158</guid>
		<description>你是第二个这么说的了……好打击我啊……</description>
		<content:encoded><![CDATA[<p>你是第二个这么说的了……好打击我啊……</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Charles</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1157</link>
		<dc:creator>Charles</dc:creator>
		<pubDate>Mon, 08 Sep 2008 11:02:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1157</guid>
		<description>广告？有人看么？404不是展示频率最低的网页么……</description>
		<content:encoded><![CDATA[<p>广告？有人看么？404不是展示频率最低的网页么……</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Sivan</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1156</link>
		<dc:creator>Sivan</dc:creator>
		<pubDate>Mon, 08 Sep 2008 08:59:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1156</guid>
		<description>非常好，一定要收藏。</description>
		<content:encoded><![CDATA[<p>非常好，一定要收藏。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Andor</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1155</link>
		<dc:creator>Andor</dc:creator>
		<pubDate>Mon, 08 Sep 2008 08:44:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1155</guid>
		<description>其实所有这些模板都可以包含在 index.php 之中，多做一些判断就是了，is_home 解析某段代码，is_single 解析某段代码，依此类推……这样做会导致 index.php 过意繁琐和不易修改，能分解为以上的单个模板是最好不过的……建议加入 comments.php 和 sidebar.php ，没有这两个模板也没事，当引述这两个模板时，如果发现当前主题没有，便会从 default 中调出……</description>
		<content:encoded><![CDATA[<p>其实所有这些模板都可以包含在 index.php 之中，多做一些判断就是了，is_home 解析某段代码，is_single 解析某段代码，依此类推……这样做会导致 index.php 过意繁琐和不易修改，能分解为以上的单个模板是最好不过的……建议加入 comments.php 和 sidebar.php ，没有这两个模板也没事，当引述这两个模板时，如果发现当前主题没有，便会从 default 中调出……</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：小墨</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1154</link>
		<dc:creator>小墨</dc:creator>
		<pubDate>Mon, 08 Sep 2008 08:41:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1154</guid>
		<description>你的404好丑@@</description>
		<content:encoded><![CDATA[<p>你的404好丑@@</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：小墨</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1153</link>
		<dc:creator>小墨</dc:creator>
		<pubDate>Mon, 08 Sep 2008 08:40:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1153</guid>
		<description>我在404里面加了好几个广告@@</description>
		<content:encoded><![CDATA[<p>我在404里面加了好几个广告@@</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Charles</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1148</link>
		<dc:creator>Charles</dc:creator>
		<pubDate>Mon, 08 Sep 2008 02:11:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1148</guid>
		<description>很不错的文章，这个事情要是做得更进一步，我想用户会更喜欢吧，比如做成插件，通过shortcode直接注入到页面里，就可以给页面加上原生的相册，以此来弥补主题作者考虑的不足。</description>
		<content:encoded><![CDATA[<p>很不错的文章，这个事情要是做得更进一步，我想用户会更喜欢吧，比如做成插件，通过shortcode直接注入到页面里，就可以给页面加上原生的相册，以此来弥补主题作者考虑的不足。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Charles</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1147</link>
		<dc:creator>Charles</dc:creator>
		<pubDate>Mon, 08 Sep 2008 02:07:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1147</guid>
		<description>这个功能留给了用户完全使用php来编写页面的自由，这个页面内完全可以不调用the loop。但是页面模板，我觉得应该是要调用the loop的。不过呢，WP里面，无论是否使用模板撰写页面，都会调出那个输入框的。这肯定会让用户迷惑的，为啥我写了半天，页面上啥也没有呢？所以，从这点来说，页面模板和pagename.php这两个东西功能上很含糊，要是主题作者或者用户不按照其本来的逻辑来使用这两个东西，那么这两个东西看起来是完全一样的。</description>
		<content:encoded><![CDATA[<p>这个功能留给了用户完全使用php来编写页面的自由，这个页面内完全可以不调用the loop。但是页面模板，我觉得应该是要调用the loop的。不过呢，WP里面，无论是否使用模板撰写页面，都会调出那个输入框的。这肯定会让用户迷惑的，为啥我写了半天，页面上啥也没有呢？所以，从这点来说，页面模板和pagename.php这两个东西功能上很含糊，要是主题作者或者用户不按照其本来的逻辑来使用这两个东西，那么这两个东西看起来是完全一样的。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Charles</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1146</link>
		<dc:creator>Charles</dc:creator>
		<pubDate>Mon, 08 Sep 2008 02:00:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1146</guid>
		<description>你用的那个是aw的模板吧，aw貌似在可用性上和用户体验上下了大功夫了，他的主题我是相当喜欢的。等我把自己的基本框架搭好以后，一定要把他的优秀功能都学过来，嘿嘿o(∩_∩)o</description>
		<content:encoded><![CDATA[<p>你用的那个是aw的模板吧，aw貌似在可用性上和用户体验上下了大功夫了，他的主题我是相当喜欢的。等我把自己的基本框架搭好以后，一定要把他的优秀功能都学过来，嘿嘿o(∩_∩)o</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Dreamcolor</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1143</link>
		<dc:creator>Dreamcolor</dc:creator>
		<pubDate>Mon, 08 Sep 2008 01:42:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1143</guid>
		<description>貌似从2.5引入 Gallery 功能后.主题文件里面需要有一个叫 image.php 的文件才能够实现默认主题那样的图片浏览功能.

之前写了一个东西,不知道有用没!

http://dreamcolor.net/2008/04/how-to-add-wordpress-25-gallery-to-your-current-theme-cn/</description>
		<content:encoded><![CDATA[<p>貌似从2.5引入 Gallery 功能后.主题文件里面需要有一个叫 image.php 的文件才能够实现默认主题那样的图片浏览功能.</p>
<p>之前写了一个东西,不知道有用没!</p>
<p><a href="http://sexywp.com/?r=http://dreamcolor.net/2008/04/how-to-add-wordpress-25-gallery-to-your-current-theme-cn/" rel="nofollow">http://dreamcolor.net/2008/04/how-to-add-wordpress-25-gallery-to-your-current-theme-cn/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：ThinkAgain</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1142</link>
		<dc:creator>ThinkAgain</dc:creator>
		<pubDate>Mon, 08 Sep 2008 01:25:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1142</guid>
		<description>pagename.php这个模板是以前所没有的。看文中的介绍，这个和自定义页面模板的作用很类似。</description>
		<content:encoded><![CDATA[<p>pagename.php这个模板是以前所没有的。看文中的介绍，这个和自定义页面模板的作用很类似。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：stephen</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1141</link>
		<dc:creator>stephen</dc:creator>
		<pubDate>Mon, 08 Sep 2008 01:09:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1141</guid>
		<description>除了attachment.php没有，其他都全～～而且pagename.php还有好几个呢～～
Picasa 的外链使用起来不怎么方面，每次都是直接拷贝代码才可以。。。</description>
		<content:encoded><![CDATA[<p>除了attachment.php没有，其他都全～～而且pagename.php还有好几个呢～～<br />
Picasa 的外链使用起来不怎么方面，每次都是直接拷贝代码才可以。。。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Charles</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1140</link>
		<dc:creator>Charles</dc:creator>
		<pubDate>Mon, 08 Sep 2008 00:56:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1140</guid>
		<description>嗯，合并起来也是很有道理的，主要是揣摩一下用户的意图，他们打开archive和search，都是想要找到什么，如果是这样，那么这两个页面采用完全相同的样式倒也没有什么不好。</description>
		<content:encoded><![CDATA[<p>嗯，合并起来也是很有道理的，主要是揣摩一下用户的意图，他们打开archive和search，都是想要找到什么，如果是这样，那么这两个页面采用完全相同的样式倒也没有什么不好。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Charles</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1139</link>
		<dc:creator>Charles</dc:creator>
		<pubDate>Mon, 08 Sep 2008 00:53:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1139</guid>
		<description>嘿嘿^_^……这不是去看了嘛，看完产生了很多没好的想法，可惜发现我不一定能够全部搞定啊，好难，只好慢慢来了~~</description>
		<content:encoded><![CDATA[<p>嘿嘿^_^……这不是去看了嘛，看完产生了很多没好的想法，可惜发现我不一定能够全部搞定啊，好难，只好慢慢来了~~</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Charles</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1138</link>
		<dc:creator>Charles</dc:creator>
		<pubDate>Mon, 08 Sep 2008 00:51:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1138</guid>
		<description>你做的模板好漂亮啊，难怪Otheme会看上，而且还是MM，真是难得啊~~</description>
		<content:encoded><![CDATA[<p>你做的模板好漂亮啊，难怪Otheme会看上，而且还是MM，真是难得啊~~</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Charles</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1137</link>
		<dc:creator>Charles</dc:creator>
		<pubDate>Mon, 08 Sep 2008 00:50:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1137</guid>
		<description>那个页面确实不是很重要的，不过，让我联想起了有人把WP改成微博客，那个东西的存在，也预示了WP的功能上的一种可能性而已，并不一定要去用</description>
		<content:encoded><![CDATA[<p>那个页面确实不是很重要的，不过，让我联想起了有人把WP改成微博客，那个东西的存在，也预示了WP的功能上的一种可能性而已，并不一定要去用</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：fisio</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1134</link>
		<dc:creator>fisio</dc:creator>
		<pubDate>Sun, 07 Sep 2008 14:55:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1134</guid>
		<description>我用的模板，archive.php只是单纯 include了一下 search.php, 这样我可以直接改 search.php 来定义存档和搜索结果页面，我觉得挺好的。。。</description>
		<content:encoded><![CDATA[<p>我用的模板，archive.php只是单纯 include了一下 search.php, 这样我可以直接改 search.php 来定义存档和搜索结果页面，我觉得挺好的。。。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：ThinkAgain</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1133</link>
		<dc:creator>ThinkAgain</dc:creator>
		<pubDate>Sun, 07 Sep 2008 14:00:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1133</guid>
		<description>严重批评一下，要写模板的同学，竟然不去了解下wp模板的层次图。</description>
		<content:encoded><![CDATA[<p>严重批评一下，要写模板的同学，竟然不去了解下wp模板的层次图。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：锐风</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1132</link>
		<dc:creator>锐风</dc:creator>
		<pubDate>Sun, 07 Sep 2008 13:03:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1132</guid>
		<description>同感.</description>
		<content:encoded><![CDATA[<p>同感.</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：page</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1131</link>
		<dc:creator>page</dc:creator>
		<pubDate>Sun, 07 Sep 2008 11:47:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1131</guid>
		<description>真是好文章啊，我一直都是迷迷糊糊的。你这个说明 真是清晰。</description>
		<content:encoded><![CDATA[<p>真是好文章啊，我一直都是迷迷糊糊的。你这个说明 真是清晰。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：MY-Hou</title>
		<link>http://sexywp.com/template-hierarchy.htm/comment-page-1#comment-1130</link>
		<dc:creator>MY-Hou</dc:creator>
		<pubDate>Sun, 07 Sep 2008 11:23:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.charlestang.cn/?p=235#comment-1130</guid>
		<description>感觉 attachment.php 只适合那些“特殊人群”</description>
		<content:encoded><![CDATA[<p>感觉 attachment.php 只适合那些“特殊人群”</p>
]]></content:encoded>
	</item>
</channel>
</rss>

