<?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; Apple4us</title>
	<atom:link href="http://dupola.com/tag/apple4us/feed" rel="self" type="application/rss+xml" />
	<link>http://dupola.com</link>
	<description>真理和美女都是赤裸裸的。</description>
	<lastBuildDate>Fri, 16 Dec 2011 07:52:46 +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>Theme 2.8：Twitter、Apple、Keso</title>
		<link>http://dupola.com/post/283</link>
		<comments>http://dupola.com/post/283#comments</comments>
		<pubDate>Tue, 03 Feb 2009 12:57:27 +0000</pubDate>
		<dc:creator>dupola</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Apple4us]]></category>
		<category><![CDATA[Keso]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[TwitterTheme]]></category>

		<guid isPermaLink="false">http://dupola.com/post/283</guid>
		<description><![CDATA[今天发布三个 WordPress 主题的 2.8 版。Twitter Theme、Apple Theme、Keso Theme。这三款主题都支持 WordPress 2.7 的新功能，如嵌套评论、评论分页及置顶文章。但，不建议您在 WordPress 2.7 之前的版本中使用，否则可能有些地方会出错。 同时，这三款主题在 Firefox 下效果会更好。所以，请不要就主题在 IE 下的显示问题给我发邮件。其他问题您可以随时发邮件给我，如果问题比较有条理，我可能回复得相当快。反之则可能不会回复。 更新：如要启用 WordPress 2.7 评论方面的新功能，请先在 wp-admin/options-discussion.php 里开启，然后前台才有效果。自定义评论作者的默认 Gravatar 头像也在这里设置。 并且，不要在 IM 上尤其是我的状态是“busy”时询问，请发邮件！！！&#8212; 更新结束。 本来准备在新版本里加上 Ajax 无刷新评论效果，可是和 iFire 一起弄了很久，仍然没找着一个比较好的方案。如果您有比较好的方法，烦请留言告知。 Twitter Theme、Apple Theme、Keso Theme 这三款主题同样具有的特色如下： 支持的 WordPress 2.7 功能： 评论嵌套回复（Comment threading） 评论分页（Comments Paging） 置顶文章（Sticky Posts） 特色： 自定义评论作者的默认 Gravatar 头像（需在wp-admin/options-discussion.php启用） [...]]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript"><!--
google_ad_client = "pub-9616737115243457";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
//2006-12-15: dupola.com
google_ad_channel = "1970191960";
google_color_border = "EAF4F9";
google_color_bg = "EAF4F9";
google_color_link = "006699";
google_color_text = "425E6A";
google_color_url = "425E6A";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></-> <p>今天发布三个 <a title="WordPress" href="http://dupola.com/tag/wordpress" target="_blank">WordPress</a> 主题的 2.8 版。<a title="Twitter Theme" href="http://dupola.com/wordpress/twitter" target="_blank">Twitter Theme</a>、<a title="Apple Theme" href="http://dupola.com/wordpress/apple" target="_blank">Apple Theme</a>、<a title="Keso Theme" href="http://dupola.com/post/85" target="_blank">Keso Theme</a>。这三款主题都支持 WordPress 2.7 的新功能，如嵌套评论、评论分页及置顶文章。但，不建议您在 WordPress 2.7 之前的版本中使用，否则可能有些地方会出错。</p>
<p>同时，这三款主题在 <a title="Firefox" href="http://dupola.com/firefox" target="_blank">Firefox</a> 下效果会更好。所以，请不要就主题在 IE 下的显示问题给我发邮件。其他问题您可以随时发邮件给我，如果问题比较有条理，我可能回复得相当快。反之则可能不会回复。</p>
<p><strong>更新：</strong>如要启用 WordPress 2.7 评论方面的新功能，请先在 wp-admin/options-discussion.php 里开启，然后前台才有效果。自定义评论作者的默认 Gravatar 头像也在这里设置。</p>
<p>并且，<strong>不要在 IM 上</strong>尤其是我的状态是“busy”时询问，请发邮件！！！&#8212; 更新结束。</p>
<p>本来准备在新版本里加上 Ajax 无刷新评论效果，可是和 <a title="iFire" href="http://ifire.cn" target="_blank">iFire</a> 一起弄了很久，仍然没找着一个比较好的方案。如果您有比较好的方法，烦请留言告知。</p>
<p><a title="Twitter Theme" href="http://dupola.com/wordpress/twitter" target="_blank"><strong>Twitter Theme</strong></a><strong>、</strong><a title="Apple Theme" href="http://dupola.com/wordpress/apple" target="_blank"><strong>Apple Theme</strong></a><strong>、</strong><a title="Keso Theme" href="http://dupola.com/post/85" target="_blank"><strong>Keso Theme</strong></a><strong> 这三款主题同样具有的特色如下：</strong></p>
<p><strong>支持的 <strong>WordPress 2.7 </strong>功能：</strong></p>
<ul>
<li>评论嵌套回复（Comment threading）</li>
<li>评论分页（Comments Paging）</li>
<li>置顶文章（Sticky Posts）</li>
</ul>
<p><strong>特色：</strong></p>
<ul>
<li>自定义评论作者的默认 Gravatar 头像（需在wp-admin/options-discussion.php启用）</li>
<li>快捷管理（Blog 前台）（Keso Theme 无）</li>
<li>自动以背景色区分 Blog 作者评论与普通评论</li>
<li>分别显示评论（Comments）与 Trackbacks/Pingbacks</li>
</ul>
<p><strong>支持的插件：</strong></p>
<ul>
<li><a href="http://fairyfish.net/2007/09/12/wordpress-23-related-posts-plugin/">WP 2.3 Related Posts</a><br />
相关日志</li>
<li><a href="http://lesterchan.net/wordpress/readme/wp-pagenavi.html">WP-PageNavi</a><br />
翻页插件</li>
<li><a href="http://lesterchan.net/portfolio/programming.php">WP-PostViews</a><br />
浏览次数</li>
<li><a href="http://www.viper007bond.com/wordpress-plugins/clean-archives-reloaded/">Clean Archives Reloaded</a><br />
简洁存档（Ajax收缩效果）</li>
<li><a href="http://www.viper007bond.com/wordpress-plugins/clean-archives-reloaded/">Get Recent Comments</a><br />
获取最新评论，定制性强。</li>
<li><a href="http://txfx.net/code/wordpress/subscribe-to-comments/">Subscribe To Comments</a><br />
订阅评论更新到邮箱。</li>
</ul>
<p><strong>下载地址：(<a href="http://code.google.com/feeds/p/dupola/downloads/basic" target="_blank">订阅下载更新</a>)</strong></p>
<p><a href="http://code.google.com/p/dupola/downloads/list" target="_blank">http://code.google.com/p/dupola/downloads/list</a></p>
	<p style="line-height:22px;"><br/><br/>
	评论数量(52) | <a href="http://dupola.com/post/283#commentform" target="_blank">你来评论</a><br/>
	原文标题：<a href="http://dupola.com/post/283" title="Theme 2.8：Twitter、Apple、Keso"  target="_blank">Theme 2.8：Twitter、Apple、Keso</a><br/>
	原文地址：<a href="http://dupola.com/post/283" title="Theme 2.8：Twitter、Apple、Keso"  target="_blank">http://dupola.com/post/283</a><br/><br/>
	&copy; <strong>版权声明：</strong> 除非特别声明，<a href="http://dupola.com">肚破惊天</a> 所有文章均为 <a href="http://dupola.com" target="_blank" title="dupola">dupola</a> 原创。默认自由转摘且遵守 <a href="http://creativecommons.org/licenses/by-nc-sa/2.5/deed.zh" title="CC" target="_blank">CC 版权协议</a>(署名-保持一致-非商业)。转摘请注明出处，并以超连接形式标明文章原始出处和作者信息。
<img src="http://c32.statcounter.com/3846473/0/c7b6894b/0/" border="0"><img src="http://img.tongji.linezing.com/5222/tongji.gif" border="0"><br/><br/>
    @dupola 在各微博平台：<a href="https://twitter.com/dupola" target="_blank">推特 Twitter（墙站）</a>、<a href="http://t.sina.com.cn/dupola"  target="_blank">新浪微博</a>、<a href="http://t.qq.com/dupola"  target="_blank">腾讯微博</a>、<a href="http://t.163.com/dupola"  target="_blank">网易微博</a><br/><br/>
</p><h3  class="related_post_title">相关日志</h3><ul class="related_post"><li><a href="http://dupola.com/post/275" title="Twitter Theme，Always Twitting&#8230;">Twitter Theme，Always Twitting&#8230;</a></li><li><a href="http://dupola.com/post/266" title="Apple Theme(apple4us) 2.7 正式版">Apple Theme(apple4us) 2.7 正式版</a></li><li><a href="http://dupola.com/post/255" title="Apple Theme (apple4us) 2.7">Apple Theme (apple4us) 2.7</a></li><li><a href="http://dupola.com/post/203" title="Apple Theme For WordPress">Apple Theme For WordPress</a></li><li><a href="http://dupola.com/post/85" title="WordPress Theme:Keso Blog">WordPress Theme:Keso Blog</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://dupola.com/post/283/feed</wfw:commentRss>
		<slash:comments>52</slash:comments>
		</item>
		<item>
		<title>Apple Theme(apple4us) 2.7 正式版</title>
		<link>http://dupola.com/post/266</link>
		<comments>http://dupola.com/post/266#comments</comments>
		<pubDate>Mon, 24 Nov 2008 00:04:13 +0000</pubDate>
		<dc:creator>dupola</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Apple4us]]></category>
		<category><![CDATA[Theme]]></category>

		<guid isPermaLink="false">http://dupola.com/?p=266</guid>
		<description><![CDATA[上次做 Apple Theme 2.7 的预告已经是两个月前了，这次终于玩儿真的了。在正式版前我已经在 Beta dupola 做了几个测试版的演示，觉着还能过的去，就放出正式版吧。 相比旧版，Apple Theme 2.7 的变化可谓“翻天覆地”： 布局：首页和存档页3栏（sidebar1.php+sidebar2.php），文章页2栏（sidebar3.php）。更好的展示 Blog 里最重要的“文章内容”。2栏版的 Apple Theme 将不复存在（有需要的自行更改，很简单）。 宽度自适应：旧版本里，除了顶部header是自适应以外其他大部分地方都是固定宽度，2.7里全部改为自适应。如果要嵌入图片，不需要设置宽度，这样的话不管在2栏还是3栏时都可以自动调整到适合宽度。 CSS圆角：之前固定宽度时背景图片带有圆角以及区块分割线，现在这两个都没有了。我在导航栏等多个地方用 CSS 写了圆角，不过只在 Firefox 和 Chrome 等浏览器上有效。 颜色：整体更加简洁明快，侧边栏较之前更加突出（以前边栏太冷清了）。另外把一些地方的颜色故意弄的比较淡，主要是突出 blog 名字以及文章本身。 优化了 Widgets 设置：你将会看到3个 sidebar，可以在不同的 sidebar 放置 widgets。 其他一些细节完善：如果你之前在用 Apple Theme 2.6，那么很轻易就可以看出变化。 使用 Apple Theme 2.7 以前： 你可以点这里看看 Apple Theme 支持哪些插件。模板的整体变化不大，所以你同时可以看看一些细节方面的说明。并且这篇文章本身以及后面的评论，都可以帮你解决一些小问题。 除非你晓的 WordPress 的Conditional Tags，否则不要修改 sidebar.php 里的内容。 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://dupola.com/post/255" target="_blank">上次</a>做 <a title="Apple Theme" href="http://dupola.com/wordpress/apple" target="_blank">Apple Theme</a> 2.7 的预告已经是两个月前了，这次终于玩儿真的了。在正式版前我已经在 <a href="http://beta.dupola.com" target="_blank">Beta dupola</a> 做了几个测试版的演示，觉着还能过的去，就放出正式版吧。</p>
<p><strong>相比旧版，<a title="Apple Theme" href="http://dupola.com/wordpress/apple" target="_blank">Apple Theme</a> 2.7 的变化可谓“翻天覆地</strong><strong>”</strong><strong>：</strong></p>
<ol>
<li><strong>布局</strong>：首页和存档页3栏（sidebar1.php+sidebar2.php），文章页2栏（sidebar3.php）。更好的展示 Blog 里最重要的“文章内容”。2栏版的 Apple Theme 将不复存在（有需要的自行更改，很简单）。</li>
<li><strong>宽度自适应</strong>：旧版本里，除了顶部header是自适应以外其他大部分地方都是固定宽度，2.7里全部改为自适应。如果要嵌入图片，不需要设置宽度，这样的话不管在2栏还是3栏时都可以自动调整到适合宽度。</li>
<li><strong>CSS圆角：</strong>之前固定宽度时背景图片带有圆角以及区块分割线，现在这两个都没有了。我在导航栏等多个地方用 CSS 写了圆角，不过只在 <a href="http://dupola.com/firefox" target="_blank">Firefox</a> 和 <a href="http://www.google.com/chrome" target="_blank">Chrome</a> 等浏览器上有效。</li>
<li><strong>颜色</strong>：整体更加简洁明快，侧边栏较之前更加突出（以前边栏太冷清了）。另外把一些地方的颜色故意弄的比较淡，主要是突出 blog 名字以及文章本身。</li>
<li><strong>优化了 Widgets 设置</strong>：你将会看到3个 sidebar，可以在不同的 sidebar 放置 widgets。</li>
<li>其他一些细节完善：如果你之前在用 Apple Theme 2.6，那么很轻易就可以看出变化。</li>
</ol>
<p><strong>使用 Apple Theme 2.7 以前：</strong></p>
<ol>
<li>你可以<a href="http://dupola.com/post/203/" target="_blank">点这里看看</a> Apple Theme 支持哪些插件。模板的整体变化不大，所以你同时可以看看一些细节方面的说明。并且这篇文章本身以及后面的评论，都可以帮你解决一些小问题。</li>
<li>除非你晓的 WordPress 的<a rel="nofollow" href="http://codex.wordpress.org/Conditional_Tags#The_Main_Page" target="_blank">Conditional Tags</a>，否则不要修改 sidebar.php 里的内容。</li>
<li>如果你要修改某些页面的侧边栏个数，记得同时注意正文部分和侧边栏的 div id 的搭配。具体的例子可以参看index.php和page.php，这是两个不同搭配方案。</li>
<li>Apple Theme 2.7 并没有针对 WordPress 2.7 做特别的修改，但它可以用于 WP 2.7。</li>
</ol>
<p><strong>Apple Theme 任何一个版本都具有的特色：</strong></p>
<ol>
<li>将管理员的评论用背景色与普通评论区分。</li>
<li>评论和 Trackbacks 分开展示。</li>
<li>Ajax 无刷新发表评论。</li>
<li>一些 <a href="http://dupola.com/tag/seo" target="_blank">SEO</a> 方面的优化。</li>
</ol>
<p>在制作 Apple Theme 2.7 的时候得到了 <a href="http://utombox.com" target="_blank">utom</a> 的指点，非常感谢。同时感谢 <a href="http://www.ownlinux.cn" target="_blank">OwnLinux</a>、<a href="https://twitter.com/jason2be" target="_blank">Jason</a>、<a href="http://www.sunbo.name" target="_blank">孙波</a>、<a href="http://vivilog.com" target="_blank">Vivi</a> 的测试、使用和建议。</p>
<p>因为变化太大了，可能一些用过旧版本的朋友会觉得有点怪异，仿佛一瞬间变成另一个主题了。如果 2.7.x 版用的人少，我就不再更新和完善了。一是没精力没时间了，二是我也不是专业人士，至多也就弄成这个半调子……</p>
<p>当然了，如果你在使用的过程中有任何意见建议或批评赞美，请在相关文章后面留言。如果你想将自己修改过的样式（CSS styles）分享出来，也非常欢迎。</p>
<p><strong>Update(081125)：</strong>如果你介意日志页里，正文下面的导航栏里，“上一篇”和“下一篇”的位置出错，请在 css/layout.css 的第77行添加一个 “}”（无引号），其实就是把 .content-bg-bottom 的标签关上。感谢 <a title="王凯" href="http://www.wangkai.org" target="_blank">王凯</a> 提醒。</p>
<p><strong>下载 Apple Theme 2.7：</strong></p>
<p><a href="http://code.google.com/p/dupola/downloads/list" target="_blank">http://code.google.com/p/dupola/downloads/list</a></p>
<p><strong>Apple Theme 2.7 预览图如下（<a href="http://beta.dupola.com" target="_blank">演示</a>）：</strong></p>
<p><a title="Apple Theme 2.7" rel="nofollow" href="http://picasaweb.google.com/lh/photo/anClXlCBRFPK8znYSKPuxg" target="_blank"><img src="http://lh5.ggpht.com/_JNt9fh3XI5Q/SSmN5y446VI/AAAAAAAAAro/huYeyzy9a9g/s800/apple4us27_screenshot.png" alt="Apple Theme 2.7" /></a></p>
	<p style="line-height:22px;"><br/><br/>
	评论数量(31) | <a href="http://dupola.com/post/266#commentform" target="_blank">你来评论</a><br/>
	原文标题：<a href="http://dupola.com/post/266" title="Apple Theme(apple4us) 2.7 正式版"  target="_blank">Apple Theme(apple4us) 2.7 正式版</a><br/>
	原文地址：<a href="http://dupola.com/post/266" title="Apple Theme(apple4us) 2.7 正式版"  target="_blank">http://dupola.com/post/266</a><br/><br/>
	&copy; <strong>版权声明：</strong> 除非特别声明，<a href="http://dupola.com">肚破惊天</a> 所有文章均为 <a href="http://dupola.com" target="_blank" title="dupola">dupola</a> 原创。默认自由转摘且遵守 <a href="http://creativecommons.org/licenses/by-nc-sa/2.5/deed.zh" title="CC" target="_blank">CC 版权协议</a>(署名-保持一致-非商业)。转摘请注明出处，并以超连接形式标明文章原始出处和作者信息。
<img src="http://c32.statcounter.com/3846473/0/c7b6894b/0/" border="0"><img src="http://img.tongji.linezing.com/5222/tongji.gif" border="0"><br/><br/>
    @dupola 在各微博平台：<a href="https://twitter.com/dupola" target="_blank">推特 Twitter（墙站）</a>、<a href="http://t.sina.com.cn/dupola"  target="_blank">新浪微博</a>、<a href="http://t.qq.com/dupola"  target="_blank">腾讯微博</a>、<a href="http://t.163.com/dupola"  target="_blank">网易微博</a><br/><br/>
</p><h3  class="related_post_title">相关日志</h3><ul class="related_post"><li><a href="http://dupola.com/post/283" title="Theme 2.8：Twitter、Apple、Keso">Theme 2.8：Twitter、Apple、Keso</a></li><li><a href="http://dupola.com/post/255" title="Apple Theme (apple4us) 2.7">Apple Theme (apple4us) 2.7</a></li><li><a href="http://dupola.com/post/203" title="Apple Theme For WordPress">Apple Theme For WordPress</a></li><li><a href="http://dupola.com/post/275" title="Twitter Theme，Always Twitting&#8230;">Twitter Theme，Always Twitting&#8230;</a></li><li><a href="http://dupola.com/wordpress/apple" title="Apple Theme for WordPress">Apple Theme for WordPress</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://dupola.com/post/266/feed</wfw:commentRss>
		<slash:comments>31</slash:comments>
		</item>
		<item>
		<title>Apple Theme (apple4us) 2.7</title>
		<link>http://dupola.com/post/255</link>
		<comments>http://dupola.com/post/255#comments</comments>
		<pubDate>Sat, 27 Sep 2008 13:40:43 +0000</pubDate>
		<dc:creator>dupola</dc:creator>
				<category><![CDATA[Resources]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Apple4us]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Theme]]></category>

		<guid isPermaLink="false">http://dupola.com/?p=255</guid>
		<description><![CDATA[目前 Apple Theme 最新版是 2.6.2，分两栏版和三栏版。在上一篇 Apple Theme 的中文介绍里，有许多具体的使用和修改方法，评论里也有。建议提问前先按 Ctrl+F 站内搜索一下。Twitter 上的朋友可以 follow AppleTheme 获取动态。 这里再更新一下：我刚才又放出了一个2.6.3版（去下载），解决了 Subscribe To Comments 错位问题，把 WP-Pagenavi 的样式弄到了 Apple Theme 的 CSS 里，这样可以自己修改了。 另外，从2.6.3起，新版本的重要更新内容我会增加到 Apple Theme Wiki 里，有需要的请点击查看。&#8212;20080929 我准备再升一次级，继续完善一下它，下一个版本是 2.7。现在还在制作，本文主要为了 Apple Theme 的交流，上一篇的评论太多了，页面载入很费劲。 我现在的想法是，在图标和一些设计细节上再美化一下，最重要的是，把两栏和三栏合并为一个包，并且增加一个后台，可以自由选择2栏或3栏。还有就是，因为 WordPress 内置的 Widget 已经越来越成熟，所以我准备将 Apple Theme 的一些小区块儿设置成 Widget，这样在使用的时候就可以当作一个 Widget 添加，并且如果有可能的话，我会增加一点设置。 现在的进度是，设计美化不存在什么大问题，但 IE 8 出来后我测试了一下，仿佛有点小问题，IE 很难搞。现在正在逐步设添加后台。 另外建议，如果你不是像我一样不出意外便一直使用 Apple Theme，那么侧边栏的东西就不需要做什么修改，使用内置的 [...]]]></description>
			<content:encoded><![CDATA[<p>目前 <a href="http://dupola.com/wordpress/apple">Apple Theme</a> <span style="text-decoration: line-through;">最新版是 2.6.2</span>，分两栏版和三栏版。在<a href="http://dupola.com/post/203" target="_blank">上一篇 Apple Theme 的中文介绍里</a>，有许多具体的使用和修改方法，评论里也有。建议提问前先按 Ctrl+F 站内搜索一下。<a href="https://twitter.com/dupola" target="_blank">Twitter</a> 上的朋友可以 <a href="https://twitter.com/AppleTheme" target="_blank">follow AppleTheme</a> 获取动态。</p>
<p>这里再更新一下：我刚才又放出了一个2.6.3版（<a href="http://code.google.com/p/dupola/" target="_blank">去下载</a>），解决了 <a href="http://txfx.net/code/wordpress/subscribe-to-comments/" target="_blank">Subscribe To Comments</a> 错位问题，把 <a href="http://lesterchan.net/portfolio/programming/php/#wp-pagenavi" target="_blank">WP-Pagenavi</a> 的样式弄到了 Apple Theme 的 CSS 里，这样可以自己修改了。<br />
另外，从2.6.3起，新版本的重要更新内容我会增加到 <a href="http://code.google.com/p/dupola/wiki/AppleTheme_CN" target="_blank">Apple Theme Wiki</a> 里，有需要的请点击查看。&#8212;20080929</p>
<p>我准备再升一次级，继续完善一下它，下一个版本是 2.7。现在还在制作，本文主要为了 <a href="http://dupola.com/wordpress/apple">Apple Theme</a> 的交流，<a href="http://dupola.com/post/203" target="_blank">上一篇</a>的评论太多了，页面载入很费劲。</p>
<p>我现在的想法是，在图标和一些设计细节上再美化一下，最重要的是，把<strong>两栏和三栏合并为一个包</strong>，并且增加一个<strong>后台</strong>，可以自由选择2栏或3栏。还有就是，因为 WordPress 内置的 Widget 已经越来越成熟，所以我准备将 <a href="http://dupola.com/wordpress/apple">Apple Theme</a> 的一些小区块儿设置成 Widget，这样在使用的时候就可以当作一个 Widget 添加，并且如果有可能的话，我会增加一点设置。</p>
<p>现在的进度是，设计美化不存在什么大问题，但 IE 8 出来后我测试了一下，仿佛有点小问题，IE 很难搞。现在正在逐步设添加后台。</p>
<p>另外建议，如果你不是像我一样不出意外便一直使用 <a href="http://dupola.com/wordpress/apple">Apple Theme</a>，那么侧边栏的东西就不需要做什么修改，使用内置的 Widget 插件就好。</p>
<p>我不懂 PHP，正到处偷师，欢迎推举良师。</p>
<p><strong>下面发送本文的小甜品，我的主题包：</strong></p>
<ol>
<li>我把我现在使用的主题和插件（都是最新版）打了一个包，有需要的请到<a href="http://code.google.com/p/dupola/downloads/list" target="_blank">我的 Google Code</a>下载。</li>
<li>插件里，有一些我自己做了中文包，或许你可以用的上。你也可以在<a href="http://code.google.com/p/dupola/downloads/list" target="_blank">我的 Google Code</a> 上下载到它们。</li>
<li>主题里包含了几个page模板，包括一个借助 <a href="http://www.google.com/uds/solutions/wizards/dynamicfeed.html" target="_blank">Google Ajax API</a> 做的 <a href="http://dupola.com/ing" target="_blank">LifeStream</a>（page-lifestream.php，<a href="http://dupola.com/ing" target="_blank">演示</a>）；还有 Google CSE 的搜索结果页面等。</li>
<li>OpenID：将dupola.com设置为我的 OpenID 账号，桥接了一下。查源码可知，就两行代码，换成你自己的就可以。或参见 <a title="如何把自已的Blog地址变成OpenID？" href="http://riku.me/2007/12/07/tips_active_blog_to_openid.html" target="_blank">riku 的文章</a>。</li>
<li>OpenSearch：你可能注意到肚破惊天底部的一个下箭头，如果你在 <a href="http://dupola.com/firefox/" target="_blank">Firefox</a> 下点击它，那么会添加 <a href="http://dupola.com" target="_blank">肚破惊天</a> 到你的搜索引擎列表，IE 7+ 和 Google Chrome 下也是。</li>
<li>还有一些小细节，自己去发现:)</li>
</ol>
<p><strong><a href="http://www.opensearch.org/" target="_blank">OpenSearch</a> 是什么？</strong>概括地讲，它是一种用于浏览器搜索引擎的第三方通用标准，或者叫插件，目前在 IE 7+、<a href="http://dupola.com/firefox/" target="_blank">Firefox</a> 以及 <a href="http://www.google.com/chrome" target="_blank">Google Chrome</a> 下可以通用。在你为你的网站制作了 OpenSearch 插件以后，访客安装以后就可以在浏览器的搜索框处直接搜索你的站内文章。</p>
<p><a href="http://www.opensearch.org/" target="_blank">OpenSearch</a> 的搜索模板可以有很多种，包括 <a href="http://dupola.com/tag/wordpress" target="_blank">WordPress</a> 自带的站内搜索，Google 的站内搜索，还有 <a href="http://www.google.com/coop/cse/" target="_blank">Google Custom Search Engine</a>（Google CSE） 等。<br />
我用的是 Google CSE，最大的优点是<strong>不用查询自己的数据库</strong>，并且 Google 收录的很齐全，而且还可以往同一个搜索引擎里<strong>添加多个站点</strong>，还可以利用这个搜索来结合你的 <strong><a href="http://dupola.com/adsense" target="_blank">Google Adsense</a> 赚点美金</strong>等等。<br />
Google CSE 现在还没有中文界面，使用方法可参见 <a href="http://fairyfish.net/2008/04/29/integrate-google-custom-search-into-wordpress/" target="_blank">Denis 的文章</a>，我的主题包里已经包含 <a href="http://dupola.com/wordpress/apple" target="_blank">Apple Theme</a> 下的 Google CSE 搜索结果页的模板（page-gsearch.php）。</p>
<p><strong>下面是基于 Google CSE 的 OpenSearch 通用修改方法：</strong></p>
<p><strong>我用的这个 OpenSearch for WordPress 一共需要四步</strong>：1.JS 代码；2.XML 格式的搜索模板；3.Header 里包含 JS 代码及 OpenSearch 的 Link 标识；网站页面上的添加按钮。</p>
<p><strong>这四步里，都有一些信息需要修改成你的：</strong>JS 代码里的 xml 文件的绝对地址；XML 文件里的 Google CSE ID 号码；Header 里 link 标识里的 XML 文件的绝对地址，以及 JS 文件地址；网站页面添加按钮的链接里的 XML 文件的绝对地址。</p>
<p><strong>注意，XML 文件里的 Google CSE ID 号码这样修改：</strong>template 的地址里有一串“cx=012126194873168607483%3Aaxpnh6qpqho&amp;amp”，这个相当于 Google CSE 生成的搜索模板里的“012126194873168607483:axpnh6qpqho”，而前者的“%3A”相当于后者的“:”，“&amp;amp”保留。这里一定要改对，否则不能搜索，因为这个ID专属于你blog。</p>
<p>JS 代码我放到了一个名为 all.js 的文件里，代码虽然不多但如果直接放到 header.php 里我觉得太丑，建个文件的话以后有 JS 代码也可以一块儿放进去。JS 文件里的 opensearch.xml 文件现在是我的，你要改成你的，绝对地址。</p>
<p>Header 里的修改起来很简单，不赘述了。</p>
<p>最后一步就是添加按钮，这个你复制 footer.php 里的下箭头↓的HTML链接代码，把其中的opensearch文件地址换成你自己的就可以。（但不幸的是，刚才这个添加按钮突然不起作用了，Firefox 提示说不支持此搜索引擎，那会儿还是好着呢。但在 GCSE 的搜索结果页面又可以正常安装。在 <a href="https://twitter.com/dupola" target="_blank">twitter</a> 上问了一些朋友，他们在首页也可以正常安装，可能是RPWT:)）</p>
<p><strong>到此为止，你已经跟着一个菜鸟一步步地安装完毕</strong>。Firefox 和 IE 7+下的<a href="http://www.cnblogs.com/dflying/archive/2008/01/29/1056938.html" target="_blank">添加演示在这里查看</a>，<a href="http://www.google.com/chrome" target="_blank">Google Chrome</a> 是自动安装的，当你在 Google Chrome 浏览一下你的blog以后，再点选项里的搜索引擎就可以看到它，你还可以设置它的关键词，这样在 Chrome 地址栏里输入关键字词便可以开始搜索。</p>
<p>如果你觉得上面所说的方法极度复杂你已经快疯掉了，你还可以使用 花儿开了 的 <a href="http://blog.istef.info/2007/02/10/wordpress-opensearch-plugin/" target="_blank">WP-OpenSearch</a> 插件，不过貌似它的搜索模板是 WP 站内搜索，而 <a href="http://www.google.com/coop/cse/" target="_blank">Google CSE</a> 可做的更多。另外如何你不需要添加按钮的话，那么只需要在 header 里包含一个 OpenSearch XML 文件的 Link 标识即可。</p>
	<p style="line-height:22px;"><br/><br/>
	评论数量(30) | <a href="http://dupola.com/post/255#commentform" target="_blank">你来评论</a><br/>
	原文标题：<a href="http://dupola.com/post/255" title="Apple Theme (apple4us) 2.7"  target="_blank">Apple Theme (apple4us) 2.7</a><br/>
	原文地址：<a href="http://dupola.com/post/255" title="Apple Theme (apple4us) 2.7"  target="_blank">http://dupola.com/post/255</a><br/><br/>
	&copy; <strong>版权声明：</strong> 除非特别声明，<a href="http://dupola.com">肚破惊天</a> 所有文章均为 <a href="http://dupola.com" target="_blank" title="dupola">dupola</a> 原创。默认自由转摘且遵守 <a href="http://creativecommons.org/licenses/by-nc-sa/2.5/deed.zh" title="CC" target="_blank">CC 版权协议</a>(署名-保持一致-非商业)。转摘请注明出处，并以超连接形式标明文章原始出处和作者信息。
<img src="http://c32.statcounter.com/3846473/0/c7b6894b/0/" border="0"><img src="http://img.tongji.linezing.com/5222/tongji.gif" border="0"><br/><br/>
    @dupola 在各微博平台：<a href="https://twitter.com/dupola" target="_blank">推特 Twitter（墙站）</a>、<a href="http://t.sina.com.cn/dupola"  target="_blank">新浪微博</a>、<a href="http://t.qq.com/dupola"  target="_blank">腾讯微博</a>、<a href="http://t.163.com/dupola"  target="_blank">网易微博</a><br/><br/>
</p><h3  class="related_post_title">相关日志</h3><ul class="related_post"><li><a href="http://dupola.com/post/203" title="Apple Theme For WordPress">Apple Theme For WordPress</a></li><li><a href="http://dupola.com/post/283" title="Theme 2.8：Twitter、Apple、Keso">Theme 2.8：Twitter、Apple、Keso</a></li><li><a href="http://dupola.com/post/266" title="Apple Theme(apple4us) 2.7 正式版">Apple Theme(apple4us) 2.7 正式版</a></li><li><a href="http://dupola.com/post/275" title="Twitter Theme，Always Twitting&#8230;">Twitter Theme，Always Twitting&#8230;</a></li><li><a href="http://dupola.com/wordpress/apple" title="Apple Theme for WordPress">Apple Theme for WordPress</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://dupola.com/post/255/feed</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>Apple Theme For WordPress</title>
		<link>http://dupola.com/post/203</link>
		<comments>http://dupola.com/post/203#comments</comments>
		<pubDate>Sat, 08 Mar 2008 22:23:35 +0000</pubDate>
		<dc:creator>dupola</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Apple4us]]></category>
		<category><![CDATA[Theme]]></category>

		<guid isPermaLink="false">http://dupola.com/post/203</guid>
		<description><![CDATA[2008.09.11 说明： 我暂时把本文的评论关闭了，太多了，页面暴长，载入相当费时。改天我会重新写篇文章用来弄新评论。 新文章里，我将会发布一个新版本，Apple Theme 2.7。我准备增加一个后台，这样一些前台的东西就可以在后台设置了。 注意：我发布 Apple Theme，并不代表我有义务为你解答任何关于这个主题的问题。 所以，当你遇到问题的时候，先在本页按 Ctrl+F 页内搜索一下，然后再到搜索引擎搜索一下你的问题，然后再到专业的 WordPress 论坛求助。 请确定你所遇到的问题是因为主题本身，否则，你发给我的求助信我可能无法及时回复（更不要在IM里问我，否则直接屏蔽，拉黑）。 当然，如果主题本身有问题，请发邮件给我，我会尽早回复你（无论能否解决），如果有好的建议当然也非常欢迎。 2008.07.01 更新： 当前版本为2.6.1，相比之前的版本，2.6.x 增加或修改了以下几个模板文件： Google Custom Search 结果页。非必须，仅在你使用的时候需要。 author template 作者模板。点击作者昵称，会进入该作者的档案页，包含了头像，联系邮箱，个人网址，文章数以及文章列表。 author list template.作者列表页。在后台创建作者列表时选用该模板，展示效果为作者列表，比较简单。作者名字+文章数+ RSS 链接，点击这里的作者名字，会进入 2 的页面。 Paged Comments 插件支持模板。这个插件可以将评论分页，对于评论比较多的名博尤其有用，Apple Theme 已经集成了该插件所需要的评论模板文件。 comments_NoAjax_2.6.php 这个是专门为一些不想要 Ajax 无刷新回复效果的朋友准备的，只需要将这个文件改名为 comments.php 即可（记得删除或重命名原comments.php文件）。 LifeStream 模板。这个模板是用 Google Feed API 做的，肚破惊天的效果见这里。如果你想要一个这样的页面，查看一下 LifeStream.php 的代码，做简单修改即可实现。 Gravatar 头像。因为 [...]]]></description>
			<content:encoded><![CDATA[<p><strong><span style="color: #ff0000;">2008.09.11 说明：</span></strong><br />
我暂时把本文的评论关闭了，太多了，页面暴长，载入相当费时。改天我会重新写篇文章用来弄新评论。<br />
新文章里，我将会发布一个新版本，Apple Theme 2.7。我准备增加一个后台，这样一些前台的东西就可以在后台设置了。<br />
<strong>注意：</strong>我发布 Apple Theme，并不代表我有义务为你解答任何关于这个主题的问题。</p>
<p>所以，当你遇到问题的时候，先在本页按 Ctrl+F 页内搜索一下，然后再到搜索引擎搜索一下你的问题，然后再到专业的 WordPress 论坛求助。</p>
<p>请确定你所遇到的问题是因为主题本身，否则，你发给我的求助信我可能无法及时回复（更不要在IM里问我，否则直接屏蔽，拉黑）。<br />
当然，如果主题本身有问题，请发邮件给我，我会尽早回复你（无论能否解决），如果有好的建议当然也非常欢迎。</p>
<p><strong><span style="color: #ff0000;">2008.07.01 更新：</span></strong></p>
<p>当前版本为2.6.1，相比之前的版本，2.6.x 增加或修改了以下几个模板文件：</p>
<ol>
<li> Google Custom Search 结果页。非必须，仅在你使用的时候需要。</li>
<li>author template 作者模板。点击作者昵称，会进入该作者的档案页，包含了头像，联系邮箱，个人网址，文章数以及文章列表。</li>
<li>author list template.作者列表页。在后台创建作者列表时选用该模板，展示效果为作者列表，比较简单。作者名字+文章数+ RSS 链接，点击这里的作者名字，会进入 2 的页面。</li>
<li><a href="http://www.keyvan.net/code/paged-comments/" target="_blank">Paged Comments 插件</a>支持模板。这个插件可以将评论分页，对于评论比较多的名博尤其有用，Apple Theme 已经集成了该插件所需要的评论模板文件。</li>
<li>comments_NoAjax_2.6.php 这个是专门为一些不想要 Ajax 无刷新回复效果的朋友准备的，只需要将这个文件改名为 comments.php 即可（记得删除或重命名原comments.php文件）。</li>
<li>LifeStream 模板。这个模板是用 <a href="http://www.google.com/uds/solutions/wizards/dynamicfeed.html " target="_blank">Google Feed API</a> 做的，<a href="http://dupola.com/" target="_blank">肚破惊天</a>的效果见<a href="http://dupola.com/ing" target="_blank">这里</a>。如果你想要一个这样的页面，查看一下 LifeStream.php 的代码，做简单修改即可实现。</li>
<li>Gravatar 头像。因为 WordPress 2.5 的核心代码里已经包含了 Gravatar 头像功能，所以，如果你使用的是 WordPress 2.5 ＋，就不需要再启用 Gravatar 插件。如果是 WP 之前的版本，你仍然需要启用 Gravatar 插件才能显示评论者的 Gravatar 头像。</li>
</ol>
<p>此外，<strong>2栏和3栏</strong>的文件和功能都是一样的，不同的就是样式表，前台展示的宽度有所不同。再提醒一下关于顶部导航栏，如果你想要和肚破惊天的顶部一样，请参照下面的方法修改 header.php 文件，很简单，但别忘了在侧边栏添加一个搜索框，侧边栏的搜索框的代码也已经准备好，如何显示出来，请参照下面的方法。</p>
<p>再次声明，你<strong>必须保持底部的主题信息</strong>（即 Apple Theme by dupola 和上面的链接）按<strong>原样输出</strong>，否则请不要使用 <a title="Apple Theme" href="http://dupola.com/wordpress/apple/" target="_self">Apple Theme</a>。除此之外，一切代码任你修改。</p>
<p>另外说一下文件下载，下面的 ./apple4us.zip 永远是最新版本，其他版本请选择下载。另外可能有的时候我的主机连接状态不太好（？）所以文件下载的不完整？如果你下载的文件被损坏了（一般情况下很少遇到&#8230;），那请到我的 Google Code 页面下载，在下载列表按文件名排序以后可以很直观地看到不同版本的文件和简单描述。下载地址：</p>
<p><a href="http://code.google.com/p/dupola/downloads/list" target="_blank">http://code.google.com/p/dupola/downloads/list</a></p>
<p>此次更新效果可以在 <a title="Beta dupola" href="http://beta.dupola.com" target="_blank">Beta dupola</a> 或 <a title="反调" href="http://fandiao.org" target="_blank">反调</a> 在线查看。</p>
<p><strong>2008.04.01更新</strong>：</p>
<p>为了全面支持 <a href="http://dupola.com/tag/wordpress" target="_blank">WordPress 2.5</a>，新版本即当前版本为2.5。<br />
*增加了image.php文件，你在2.5的管理后台里会看到有附件的永久链接，这个模板文件就是为浏览这些附件而准备的。不需要做任何设定，访问附件时会自动检测。<br />
*增加了中英文语言包，主题配置文件中会自动检测。如果你不想使用语言包，直接将zh_CN.mo删除或改名。<br />
*增加了一个mini admin bar到右侧边栏，这个快捷管理区块儿只在你登录以后才会显示，<a href="http://twitxr.com/image/22611/" target="_blank">图示</a>。（再次向web2.0* theme 致敬）<br />
*在header里控制了一下meta信息，所谓的小小的SEO了一下，目前是自动在文章页获取该文章的tags并将其添加到keywords，将文章title加上blog标题和描述一起加到description里。而首页的keywords则是默认的blog标题，你可以自己加一些你的特色tag进去，首页的description默认是blog标题加描述。如果你在用 <a href="http://wp.uberdose.com/2007/03/24/all-in-one-seo-pack/" target="_blank">All  IN ONE SEO PACK</a> 之类的插件，你需要将header里的meta信息去掉，这些插件目前还太笨，不会自动去除。<br />
*将文件放到 <a href="http://dupola.googlecode.com" target="_blank">Google Code</a> 上。如果你想为我节省流量也可以<a href="http://code.google.com/p/dupola/downloads/list">到那边下载</a>。<br />
*去除侧边栏多余的区块。<br />
*<strong>2栏用户请注意</strong>：可能你已经发现了，在文章不够多的时候，首页的下面会是一面空白。不过如果你已经发了很多文章的话就没什么了。这个问题我还没有解决。<br />
<em>&#8212;(2008,04,01)</em></p>
<p><em><br />
</em></p>
<p><strong>更</strong>新：如果你在3月18日之前下载，那么请重新下载一下，并覆盖其中的single.php和comments.php。另外增加了一个友情链接的page模板，需要者将上传page-links.php，并覆盖css文件夹中的content.css。感谢<a title="Vista" href="http://blog.vista.tw" target="_blank">Vista</a>的疯狂测试。<em>(2008,03,18)</em></p>
<p><span style="color: #ff0000;"><strong>注意：</strong></span>我发现有些人特别贱。老要删除底部的主题和作者信息。我再声明一次，如果你要使用 <a title="Apple Theme" href="http://dupola.com/wordpress/apple" target="_blank">Apple Theme</a>，<strong>必须</strong>保持底部的主题和作者信息以及它们的超链接<strong>保持原样</strong>输出。否则别怪我<a href="http://dupola.com/post/209" target="_blank">不客气</a>。</p>
<p>这个主题原是<a title="Apple " href="http://apple4.us/" target="_blank">Apple4.us</a>的<a title="MT" href="http://www.sixapart.com/movabletype/" target="_blank">MT</a>平台上的，由<a title="Woody" href="http://www.ashowbox.com/" target="_blank">Woody</a>设计。当初看到的时候我正在寻找WP的3栏主题，非常喜欢它。所以我就移植到<a title="WordPress" href="http://dupola.com/tag/wordpress/" target="_blank">WordPress</a>平台，做了一些修改，改了三个晚上加半个白天，终于搞定。征得<a title="Woody" href="http://www.ashowbox.com/" target="_blank">Woody</a>同意后，共享给大伙儿使用。<br />
现在你可以在<a title="操蛋" href="http://caodan.net" target="_blank">操蛋</a>和<a title="WordPress" href="http://beta.dupola.com" target="_blank">WP 2.5 Beta</a>上看到演示，目前在<a title="FireFox" href="http://dupola.com/firefox" target="_blank">FireFox</a>、IE6、IE7、Opera下都没有问题。<br />
这个主题使用了暴多的DIV框架，而且原来几乎每个div都使用了不同的CSS控制，这样对WP的侧边栏的显示就有些问题。所以我将侧边栏的CSS都基本地统一了一下，并且已经在一些重要的div的开始和结尾处给了注释。CSS 文件分成几个，放在CSS目录下，每个CSS文件里也都有相应的注释，方便修改。<br />
现在唯一感觉不是太好的地方就是在FireFox下，日志内容的字体我看着不是很舒服，但我又不知道改成哪个更好些。有朋友说仅仅是字号有点大，字体还可以。<br />
不管怎么样，在你使用的过程中，有什么问题和建议，或者将其改为两栏或左中右三栏式，都请在这里以评论的形式告知我，或者<a title="发邮件" href="http://dupola.com/about/#contact" target="_blank">发邮件</a>给我。</p>
<p>下面是<a title="Apple Theme" href="http://dupola.com/wordpress/apple" target="_blank">Apple Theme</a>的一些信息：</p>
<p><strong>布局</strong>：3栏<br />
<strong>色调：</strong>黑白灰<br />
<strong>必须插件</strong>：无<br />
<strong>WordPress：</strong>2.3+…….<a title="2.5下演示" href="http://beta.dupola.com" target="_blank">2.5下演示</a>。<br />
<strong>Widgets</strong>：支持。强烈推荐<a title="傻逼妹" href="http://dupola.com/post/65/" target="_blank">傻逼妹</a>。(主题配置文件中，我已经将Widgets输出的标签设置妥当，不必担心区块错位)<br />
<strong>支持的插件</strong>：</p>
<ul>
<li><a title="Gravatar" href="http://site.gravatar.com/" target="_blank">Gravatar</a>：评论者头像，<a title="Gravatar" href="http://site.gravatar.com/plugins/wp_gravatar.zip" target="_blank">点击下载插件</a>。没有安装则不显示，这里查看<a title="演示" href="http://caodan.net/post/45.html" target="_blank">演示</a>。</li>
<li><a title="wp-pagenavi" href="http://lesterchan.net/wordpress/readme/wp-pagenavi.html" target="_blank">WP PageNavi</a>：翻页，<a title="wp-pagenavi" href="http://lesterchan.net/others/downloads.php?id=11" target="_blank">点击下载插件（不要另存为）</a>。</li>
<li><a href="http://fairyfish.net/2007/09/12/wordpress-23-related-posts-plugin/" target="_blank">WP 2.3 Related Posts</a>：相关日志（仅可在WP 2.3或更高的版本中运行），在单篇日志中显示，<a href="http://downloads.wordpress.org/plugin/wordpress-23-related-posts-plugin.zip" target="_blank">点击下载</a>。查看<a title="演示" href="http://caodan.net/post/45.html" target="_blank">演示</a>。</li>
<li><a href="http://zeo.unic.net.my/notes/wordpress-ajax-commenting-revisited/" target="_blank">AJAX Commenting</a>：Ajax无刷新评论，无须安装，已经集成，这里来<a title="测试" href="http://caodan.net/post/45.html" target="_blank">测试</a>。</li>
<li><a title="Clean Archives Reloaded" href="http://www.viper007bond.com/wordpress-plugins/clean-archives-reloaded/" target="_blank">Clean Archives Reloaded</a>：这个插件可以输出一个日志列表，<a title="Clean Archives Reloaded" href="http://downloads.wordpress.org/plugin/clean-archives-reloaded.zip" target="_blank">点击下载</a>，查看<a title="演示" href="http://caodan.net/archives/" target="_blank">演示</a>。</li>
<li><a title="Get Recent Comments" href="http://blog.jodies.de/archiv/2004/11/13/recent-comments/" target="_blank">Get Recent Comments</a>：输出最新评论列表，目前在左边栏。<a title="Get Recent Comments" href="http://downloads.wordpress.org/plugin/get-recent-comments.zip" target="_blank">点击下载插件</a>，在<a title="操蛋" href="http://caodan.net" target="_blank">操蛋</a>查看演示。</li>
<li><a title="WP-PostViews" href="http://lesterchan.net/wordpress/readme/wp-postviews.html" target="_blank">WP-PostViews</a>，显示页面被浏览的次数。<a href="http://lesterchan.net/others/downloads.php?id=19" target="_blank">点击下载插件</a>(wp2.3+)。</li>
<li><a href="http://www.keyvan.net/code/paged-comments/" target="_blank">Paged Comments 插件</a>：这个插件可以将评论分页，对于评论比较多的名博尤其有用，Apple Theme 已经集成了该插件所需要的评论模板文件。</li>
<li><a href="http://txfx.net/code/wordpress/subscribe-to-comments/" target="_blank">Subscribe To Comments</a>：允许读者用邮箱订阅文章评论，当评论有更新时系统会发邮件给他。</li>
</ul>
<p>注意：所有插件都<strong>非必须</strong>，当你安装并启用这些插件以后，前台会有相应的效果。<br />
目前<a title="操蛋" href="http://caodan.net" target="_blank">操蛋</a>已经安装并启用了这些插件，你可以去看看效果。</p>
<p><strong>其他</strong>：</p>
<ul>
<li>为管理员的评论添加特别的背景颜色，我是用ID来判断的。没为多人blog做准备，所以多人blog还请自行hack。</li>
<li>评论模板中的评论和trackback/pingback 已经区分，tb/pb列表都在评论的下面显示。<a title="这里" href="http://caodan.net/post/36.html" target="_blank">这里</a>看效果。</li>
<li>为评论添加 Quick Tags，快捷加入链接、代码等内容。</li>
<li>你注意到了，我在CSS里把MyBlogLog的Widget给hack了一下，不会显示Joinxxx之类的了，如果你要恢复原样需要在css文件夹里的misc.css 里的mybloglog处把那段代码注释掉。主要是默认的样式太丑了。</li>
<li>如果你要使用widgets，你会注意到两个侧边栏的上面都保留了一些，widgets的内容会在之后输出。左边保留的是Feed订阅，右边保留的是blog介绍和Tag Cloud即标签云。</li>
<li>存档页面，如果你没有启用<a title="Clean Archives Reloaded" href="http://www.viper007bond.com/wordpress-plugins/clean-archives-reloaded/" target="_blank">Clean Archives Reloaded</a>插件，它将显示Tag Cloud和一个简单的按月和按分类的存档列表。如果你启用了该插件，将会在Tag Cloud下面输出插件生成的存档列表。查看<a title="演示" href="http://caodan.net/archives/" target="_blank">演示</a>。</li>
<li>除WP必须的主题文件以外，我还增加了404页和Tags存档之类的。在存档页已经有Tag云，如果你想单独弄一个Tags存档页，可以新建一个页面，用Tag Cloud模板。</li>
<li>管理员评论的背景颜色，在css/comments.css 里的comment-entry-owner处修改。</li>
<li>如果你启用了<a title="wp-pagenavi" href="http://lesterchan.net/wordpress/readme/wp-pagenavi.html" target="_blank">WP PageNavi</a> 翻页插件，该翻页的地方会生成列表，如果没有，它会显示WP默认的翻页链接。<a title="wp-pagenavi" href="http://lesterchan.net/wordpress/readme/wp-pagenavi.html" target="_blank">WP PageNavi </a>插件本身的CSS效果在<a title="Apple Theme" href="http://dupola.com/wordpress/apple" target="_blank">Apple Theme</a>下也还不错，除了那个框有点丑。</li>
<li>我看到一些主题说SEO做的很好，老实说，用WP三年了，个人感觉在主题上做SEO的空间非常有限。至多就是一些标题标签之类的而已。<a title="Apple Theme" href="http://dupola.com/wordpress/apple" target="_blank">Apple Theme</a>里，日志标题用了h1，侧边栏区块标题用h2，其他地方大多是h2和h3。</li>
<li>在底部和侧边栏，我加入了CC协议声明，如果你的blog不遵循这个原则请将它删除。</li>
<li>侧边栏里有我Blog在豆瓣九点和MyBlogLog的Widget，如果你同样使用这些服务，只需要在里边修改你Blog的ID即可。否则就将那两个区块完全删除。</li>
<li>本主题不含任何统计和<a title="Adsense" href="http://dupola.com/adsense/" target="_blank">Adsense</a>代码，需要者请自行添加。</li>
<li>主题中使用 gettext 结构，能用的地方我都已经使用，相应的地方会从语言包里读取翻译，否则是英文。</li>
<li><strong>注意：</strong>在底部，我加入了主题信息，很简单，只有两个连接。我希望使用者保留这个连接，让别人可以点过去看到这个主题的详细信息。我在footer.php 里加了三行中文注释（其他注释都是简单的英文）作为提醒。如果你没发现那段注释，在我发现你去掉主题信息会，我会去通知你:)。</li>
</ul>
<p><strong>下载和使用</strong><br />
<strong>更新：</strong>后续版本请到 Google Codes 页面下载：<br />
<a href="http://code.google.com/p/dupola/downloads/list" target="_blank">http://code.google.com/p/dupola/downloads/list</a></p>
<ul>
<li>如果你使用<a title="DreamHost" href="http://dupola.com/dreamhost/" target="_blank">DreamHost</a>主机，直接<a title="在win下使用SSH命令" href="http://dupola.com/post/79/" target="_blank">wget</a>到你的主题目录，然后unzip解压后，便可以在主题管理页看到。</li>
<li>非<a title="DreamHost" href="http://dupola.com/dreamhost/" target="_blank">DreamHost</a>主机，下载解压后，将apple4us文件夹上传到你blog的wp-content/themes/目录（最终为wp-content/themes/apple4us/style.css），然后便可在主题管理页看到。</li>
<li>然后修改header.php中的feed地址，以及侧边栏(sidebarl.php是左边，sidebarr.php是右边)的feed地址和blog介绍等，如果你不能修改模板文件的写入权限，可以在本地修改好后再上传。</li>
<li><span style="text-decoration: line-through;"><a title="dupola at Yo2." href="http://dupola.yo2.cn" target="_blank">Yo2</a>用户不能直接上传主题的zip包，可能是因为文件中有检测admin的函数(?)</span>。Y<strong>o2用户现在可以在主题管理员看到 Apple Theme了，谢谢 Yo2 团队</strong>。</li>
</ul>
<p><strong>感谢</strong></p>
<ul>
<li><a title="Woody" href="http://www.ashowbox.com/" target="_blank">Woody</a> 和 <a title="Apple 4 us" href="http://apple4.us/" target="_blank">Apple4us</a>，使用其布局配色等基本设计。</li>
<li>Safirul Alredha，使用其<a title="Ajax Commenting" href="http://zeo.unic.net.my/notes/wordpress-ajax-commenting-revisited/" target="_blank">AJAX Commenting</a>。</li>
<li>苏昱的《CSS2.0中文手册》，从开始倒腾网页的时候就从这里学习了不少东西。</li>
<li><a href="http://www.sw-guide.de/" target="_blank">Michael</a>，使用其基于Alex King制作的Quick Tags。</li>
<li><a href="http://www.feedicons.com/" target="_blank">Matt Brett</a>，使用其两个Feed图标。</li>
<li><a href="http://www.neilmerton.co.uk/" target="_blank">Neil Merton</a>，他的<a title="web20 theme" href="http://web2wptheme.com/" target="_blank">Web 2.0* theme</a>清晰的布局和规范的结构及详尽的注释，让我很容易地学习到了很多东西。</li>
</ul>
<p><strong>技巧</strong></p>
<ul>
<li>MyBlogLog Widget<br />
我把它小小的hack了一下，在css/misc.css 里加了些代码，把MyBlogLog的Widget中头像列表下面的Joinxxx之类的文字去掉了，如果你想恢复它，就把misc.css里的相关代码去掉。</li>
<li>顶部page列表（CSS里相关设置已准备好了）<br />
在1.1版中新加的，如果你想像“<a href="http://caodan.net" target="_blank">操蛋</a>”那样显示一个Page列表，就照下面的来做（默认是搜索框）：<br />
首先，在header.php里，把搜索框的代码删除或者像begin header menu那样先注释掉，让它不起作用。<br />
然后，在header.php里，把begin header menu处的注释符号去掉，让它起作用。<br />
此时搜索框被page列表代替了，整个页面没有搜索框了。如果你在使用widgets，那就添加一个搜索框，如果没有使用，在sidebarr.php 里已经为你准备好了搜索框代码，只需要把现在注释掉搜索框的那段代码删除即可，方法跟激活page列表一样。</li>
</ul>
<p><strong>版本</strong></p>
<ul>
<li>v.1.1 &#8211; 2008.03.22(默认与1.0无变化，想变化看技巧)</li>
<p>增加友情链接page模板。<br />
增加header处的page列表（CSS里相关设置已准备好了），可选，选后会替换顶部的搜索框。<br />
去除header.php 里的WordPress版本信息，2.5会自动生成。</p>
<li>v.1.0 &#8211; 2008.02.26</li>
<p>结构完善，功能实现，插件支持配置完善。</ul>
<p><strong>预览</strong>：见下图，点击见大图。<br />
<a href="http://photo1.bababian.com/upload7/20080229/23C257EC0E17EB6A336B2F6435F8FE37.jpg" target="_blank"><img src="http://photo1.bababian.com/upload7/20080229/23C257EC0E17EB6A336B2F6435F8FE37_500.jpg" alt="Screenshot,chick it to see the big one." /></a></p>
	<p style="line-height:22px;"><br/><br/>
	评论数量(154) | <a href="http://dupola.com/post/203#commentform" target="_blank">你来评论</a><br/>
	原文标题：<a href="http://dupola.com/post/203" title="Apple Theme For WordPress"  target="_blank">Apple Theme For WordPress</a><br/>
	原文地址：<a href="http://dupola.com/post/203" title="Apple Theme For WordPress"  target="_blank">http://dupola.com/post/203</a><br/><br/>
	&copy; <strong>版权声明：</strong> 除非特别声明，<a href="http://dupola.com">肚破惊天</a> 所有文章均为 <a href="http://dupola.com" target="_blank" title="dupola">dupola</a> 原创。默认自由转摘且遵守 <a href="http://creativecommons.org/licenses/by-nc-sa/2.5/deed.zh" title="CC" target="_blank">CC 版权协议</a>(署名-保持一致-非商业)。转摘请注明出处，并以超连接形式标明文章原始出处和作者信息。
<img src="http://c32.statcounter.com/3846473/0/c7b6894b/0/" border="0"><img src="http://img.tongji.linezing.com/5222/tongji.gif" border="0"><br/><br/>
    @dupola 在各微博平台：<a href="https://twitter.com/dupola" target="_blank">推特 Twitter（墙站）</a>、<a href="http://t.sina.com.cn/dupola"  target="_blank">新浪微博</a>、<a href="http://t.qq.com/dupola"  target="_blank">腾讯微博</a>、<a href="http://t.163.com/dupola"  target="_blank">网易微博</a><br/><br/>
</p><h3  class="related_post_title">相关日志</h3><ul class="related_post"><li><a href="http://dupola.com/post/255" title="Apple Theme (apple4us) 2.7">Apple Theme (apple4us) 2.7</a></li><li><a href="http://dupola.com/post/283" title="Theme 2.8：Twitter、Apple、Keso">Theme 2.8：Twitter、Apple、Keso</a></li><li><a href="http://dupola.com/post/266" title="Apple Theme(apple4us) 2.7 正式版">Apple Theme(apple4us) 2.7 正式版</a></li><li><a href="http://dupola.com/post/275" title="Twitter Theme，Always Twitting&#8230;">Twitter Theme，Always Twitting&#8230;</a></li><li><a href="http://dupola.com/wordpress/apple" title="Apple Theme for WordPress">Apple Theme for WordPress</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://dupola.com/post/203/feed</wfw:commentRss>
		<slash:comments>154</slash:comments>
		</item>
	</channel>
</rss>

