<?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>Alan&#039;s World &#187; Wordpress</title>
	<atom:link href="http://www.alanoy.com/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alanoy.com</link>
	<description>Do what you want to do</description>
	<lastBuildDate>Mon, 06 Sep 2010 03:41:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Mail to Commenter邮件通知和发件人问题</title>
		<link>http://www.alanoy.com/fix-mail-to-commenter/</link>
		<comments>http://www.alanoy.com/fix-mail-to-commenter/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 07:46:48 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Plugin]]></category>

		<guid isPermaLink="false">http://www.alanoy.com/?p=276</guid>
		<description><![CDATA[一直使用 WordPress 插件 Mail To Commenter，但是 WordPress 2.8 的时候用了 WP 自带的嵌套回复后，一直没注意这个插件的问题，我也以为大家都能在收到回复通知邮件，直到前天，自己在测试的时候发现怎么没有回复通知邮件？原来设置启用后，要有 @name 或者 @name: 才会有邮件通知，囧，一直没注意，以为是自动会发送通知的。 然后开始折腾，又发现在邮件通知的时候，发件人显示是未知发件人，邮件地址是服务器的地址，开始以为是我自己博客设置问题，或者服务器设置问题，结果折腾好久发现不是，囧死了；在 google 找了好阵子解决方法，实在很少关于这个的，但还是找到了。解决办法是在 mailtocommenter_functions.php 文件找到 1function mailtocommenter_send_email&#40;$to,$subject,$message&#41; 把该函数的内容按如下修改： 12345678910111213function mailtocommenter_send_email&#40;$to,$subject,$message&#41;&#123; &#160; &#160; $blogname = &#34;此处填你要显示的发件人名称&#34;; &#160; &#160; $blognameO = $blogname; &#160; &#160; $blogname .= &#34; &#60;no-reply@这里填你的域名，如alanoy.com&#34;; &#160; &#160; $blogname .= &#34;&#62;&#34;; &#160; &#160; $charset = get_option&#40;'blog_charset'&#41;; &#160; &#160; $headers &#160;= [...]]]></description>
			<content:encoded><![CDATA[<p>一直使用 WordPress 插件 <a href="http://www.thinkagain.cn/archives/989.html" title="Mail To Commenter" rel="external nofollow">Mail To Commenter</a>，但是 WordPress 2.8 的时候用了 WP 自带的嵌套回复后，一直没注意这个插件的问题，我也以为大家都能在收到回复通知邮件，直到前天，自己在测试的时候发现怎么没有回复通知邮件？原来设置启用后，要有 <em>@name </em> 或者 <em>@name:</em> 才会有邮件通知，囧，一直没注意，以为是自动会发送通知的。<span id="more-276"></span></p>
<p>然后开始折腾，又发现在邮件通知的时候，发件人显示是<strong>未知发件人</strong>，邮件地址是服务器的地址，开始以为是我自己博客设置问题，或者服务器设置问题，结果折腾好久发现不是，囧死了；在 google 找了好阵子解决方法，实在很少关于这个的，但还是找到了。解决办法是在  <em>mailtocommenter_functions.php</em> 文件找到</p>
<div class="codecolorer-container php dawn codes" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:98%;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">function</span> mailtocommenter_send_email<span style="color: #009900;">&#40;</span><span style="color: #000088;">$to</span><span style="color: #339933;">,</span><span style="color: #000088;">$subject</span><span style="color: #339933;">,</span><span style="color: #000088;">$message</span><span style="color: #009900;">&#41;</span></div></td></tr></tbody></table></div>
<p>把该函数的内容按如下修改：</p>
<div class="codecolorer-container php dawn codes" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:98%;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">function</span> mailtocommenter_send_email<span style="color: #009900;">&#40;</span><span style="color: #000088;">$to</span><span style="color: #339933;">,</span><span style="color: #000088;">$subject</span><span style="color: #339933;">,</span><span style="color: #000088;">$message</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$blogname</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;此处填你要显示的发件人名称&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$blognameO</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$blogname</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$blogname</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot; &lt;no-reply@这里填你的域名，如alanoy.com&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$blogname</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;&gt;&quot;</span><span style="color: #339933;">;</span><br />
<br />
&nbsp; &nbsp; <span style="color: #000088;">$charset</span> <span style="color: #339933;">=</span> get_option<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'blog_charset'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$headers</span> &nbsp;<span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;From: <span style="color: #006699; font-weight: bold;">$blognameO</span> &lt;no-reply@这里填你的域名，如alanoy.com&gt; <span style="color: #000099; font-weight: bold;">\n</span>&quot;</span> <span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;MIME-Version: 1.0<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$headers</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;Content-Type: text/html;charset=<span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #006699; font-weight: bold;">$charset</span><span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000088;">$to</span> <span style="color: #339933;">=</span> <span style="color: #990000;">strtolower</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$to</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #339933;">@</span>wp_mail<span style="color: #009900;">&#40;</span><span style="color: #000088;">$to</span><span style="color: #339933;">,</span> <span style="color: #000088;">$subject</span><span style="color: #339933;">,</span> <span style="color: #000088;">$message</span><span style="color: #339933;">,</span> <span style="color: #000088;">$headers</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></td></tr></tbody></table></div>
<p>这样就可以正常显示了。Think Again 已经说了此插件不再更新了，希望有人能接着开发此插件。</p>
<h4  class="related_post_title">Related Posts</h4><ul class="related_post"><li><a href="http://www.alanoy.com/wordpress-theme-darklight-3/" title="Wordpress主题：DarkLight 3.0">Wordpress主题：DarkLight 3.0</a> (62)<br /><small>当有了计划，马上就想去完成它，但我也没想到这么快，大概主题结构的折腾少了的缘故吧。Twenty Te...</small></li><li><a href="http://www.alanoy.com/use-jquery-to-hide-the-comment-author-info-for-commented-users/" title="jQuery 隐藏老用户评论资料框">jQuery 隐藏老用户评论资料框</a> (10)<br /><small>之前一直用的是 xiaorsz 的方法来隐藏老用户评论资料框，包括我发布的 DarkLight 和 ...</small></li><li><a href="http://www.alanoy.com/about-new-darklight-theme/" title="关于DarkLight主题新版本的开发">关于DarkLight主题新版本的开发</a> (18)<br /><small>在 G-White 更新到 v2.4 后，其实前阵子还是在对 G-White 进行修改，因为主题的结...</small></li><li><a href="http://www.alanoy.com/wordpress-gravatar-cache/" title="Wordpress Gravatar 头像缓存">Wordpress Gravatar 头像缓存</a> (17)<br /><small>最近 Gravatar 头像老是显示不能，google 之得一好方法。来自 Willin 方法，将 ...</small></li><li><a href="http://www.alanoy.com/show-excerpt-and-read-more-for-g-white-theme/" title="G-White主题显示文章摘要">G-White主题显示文章摘要</a> (20)<br /><small>Wordpress 显示文章摘要，其实在文章编辑器有个 more 标签，很多人都知道啦，昨天有位同学...</small></li><li><a href="http://www.alanoy.com/updated-g-whtie-wordpress-theme-to-verson-2-4/" title="WordPress主题G-White更新到Ver 2.4">WordPress主题G-White更新到Ver 2.4</a> (89)<br /><small>G-White 和 DarkLight 都许久没更新，这次先对 G-White 动手。修改的时候发现...</small></li></ul><hr />
<p>© Alan for <a href="http://www.alanoy.com">Alan&#039;s World</a>, 2010. |
<a href="http://www.alanoy.com/fix-mail-to-commenter/">Permalink</a> |
<a href="http://www.alanoy.com/fix-mail-to-commenter/#comments">36 comments</a><br />
Add to <a href="http://del.icio.us/post?url=http://www.alanoy.com/fix-mail-to-commenter/&title=Mail to Commenter邮件通知和发件人问题">del.icio.us</a> | <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http://www.alanoy.com/fix-mail-to-commenter/&title=Mail to Commenter邮件通知和发件人问题" alt="Google Bookmark" title="add to google bookmark">Google Bookmark</a> | <a href="http://digg.com/submit?phase=2&url=http://www.alanoy.com/fix-mail-to-commenter/&title=Mail to Commenter邮件通知和发件人问题" alt="Digg" title="add to Digg">Digg</a> | <a href="https://favorites.live.com/quickadd.aspx?url=http://www.alanoy.com/fix-mail-to-commenter/&title=Mail to Commenter邮件通知和发件人问题" alt="Live Bookmark" title="add to Live Bookmark">Live Bookmark</a> | <a href="http://www.facebook.com/share.php?u=http://www.alanoy.com/fix-mail-to-commenter/&title=Mail to Commenter邮件通知和发件人问题" alt="Facebook" title="add to Facebook">Facebook</a>  
<br/>
Post tags: <a href="http://www.alanoy.com/tag/plugin/" rel="tag">Plugin</a>, <a href="http://www.alanoy.com/tag/wordpress/" rel="tag">Wordpress</a><br/>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.alanoy.com/fix-mail-to-commenter/feed/</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
		<item>
		<title>WordPress主题：DarkLight 3.0</title>
		<link>http://www.alanoy.com/wordpress-theme-darklight-3/</link>
		<comments>http://www.alanoy.com/wordpress-theme-darklight-3/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 11:04:12 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[DarkLight]]></category>
		<category><![CDATA[Wordpress Theme]]></category>

		<guid isPermaLink="false">http://www.alanoy.com/?p=230</guid>
		<description><![CDATA[当有了计划，马上就想去完成它，但我也没想到这么快，大概主题结构的折腾少了的缘故吧。Twenty Ten 真是一个强大的主题，DarkLight 3.0 主题的功能基本与其保持一致。外观上基本保持 DarkLight 原有风格，换了些小图标，用了 Sprites 集成图片，技术一般，有点乱，不过不影响主题使用就是了。下面来个图文并茂的介绍。 首先 Header 部分： 相对之前的主题，导航栏这次用 jQuery 实现多级菜单，样式相对改进了，增加 box-show 效果（IE 不会有这个效果），包括侧边栏，如果有多级菜单的话，也加了这个效果，当然，你不要的话可以自己去掉；主题支持 WordPress 3.0 的菜单功能，Twenty Ten 自带有了。 其次是内容部分： 把之前使用内嵌的 wp-pagenavi 插件函数换成 willin 的 Mini Pagenavi，更加小巧，样式有轻微改动。 单篇文章中显示上一篇文章和下一篇文章的链接，在顶部和底部都有，这是 Twenty Ten 原来有的，我也保留了，不需要删除掉也比较简单。 相关文章本来想内嵌使用 willin 的方法，但还是放弃，不过样式还是保留在 style.css 文件里面，而且用 jQuery 实现类斑马纹样式，同样保留 js 代码，无论你用什么方法实现相关文章，只要给标题添加类 class=&#34;related_post_title&#34;，给列表 ul 或者 ol 添加类 class=&#34;related_post&#34;，那效果就类似下图： 作者信息栏，这个也是 Twenty Ten 自带，只要文章发布者有关于自己的描述说明，那么就会在文章底部显示作者信息，并可以点击链接查看该作者的全部文章。对于单人博客来说没啥用，如果多人参与的话，那相当有必要： 第三是评论部分： [...]]]></description>
			<content:encoded><![CDATA[<p>当有了计划，马上就想去完成它，但我也没想到这么快，大概主题结构的折腾少了的缘故吧。Twenty Ten 真是一个强大的主题，DarkLight 3.0 主题的功能基本与其保持一致。外观上基本保持 DarkLight 原有风格，换了些小图标，用了 Sprites 集成图片，技术一般，有点乱，不过不影响主题使用就是了。下面来个图文并茂的介绍。<span id="more-230"></span></p>
<h4>首先 Header 部分：</h4>
<p>相对之前的主题，导航栏这次用 jQuery 实现多级菜单，样式相对改进了，增加 <code class="codecolorer text dawn codes"><span class="text">box-show</span></code> 效果（IE 不会有这个效果），包括侧边栏，如果有多级菜单的话，也加了这个效果，当然，你不要的话可以自己去掉；主题支持 WordPress 3.0 的菜单功能，Twenty Ten 自带有了。</p>
<p><a href="http://www.alanoy.com/wp-content/uploads/2010/08/header.png"><img src="http://www.alanoy.com/wp-content/uploads/2010/08/header.png" alt="Header Nav Menu" title="导航栏用jQuery实现多级下拉菜单" width="500" height="140" class="alignnone size-full wp-image-231" /></a></p>
<h4>其次是内容部分：</h4>
<p>把之前使用内嵌的 wp-pagenavi 插件函数换成 willin 的 <a href="http://kan.willin.org/?p=1323" rel="nofollow external">Mini Pagenavi</a>，更加小巧，样式有轻微改动。</p>
<p><a href="http://www.alanoy.com/wp-content/uploads/2010/08/pagenavi.png"><img src="http://www.alanoy.com/wp-content/uploads/2010/08/pagenavi.png" alt="Mini Pagenavi" title="Mini Pagenavi" width="300" height="86" class="alignnone size-full wp-image-232" /></a></p>
<p>单篇文章中显示上一篇文章和下一篇文章的链接，在顶部和底部都有，这是 Twenty Ten 原来有的，我也保留了，不需要删除掉也比较简单。</p>
<p><a href="http://www.alanoy.com/wp-content/uploads/2010/08/post-navigation.png"><img src="http://www.alanoy.com/wp-content/uploads/2010/08/post-navigation.png" alt="Posts Navigation" title="Posts Navigation" width="500" height="99" class="alignnone size-full wp-image-233" /></a></p>
<p>相关文章本来想内嵌使用 willin 的方法，但还是放弃，不过样式还是保留在 <em>style.css</em> 文件里面，而且用 jQuery 实现类斑马纹样式，同样保留 js 代码，无论你用什么方法实现相关文章，只要给标题添加类 <code class="codecolorer text dawn codes"><span class="text">class=&quot;related_post_title&quot;</span></code>，给列表 <code class="codecolorer text dawn codes"><span class="text">ul</span></code> 或者 <code class="codecolorer text dawn codes"><span class="text">ol</span></code> 添加类 <code class="codecolorer text dawn codes"><span class="text">class=&quot;related_post&quot;</span></code>，那效果就类似下图：</p>
<p><a href="http://www.alanoy.com/wp-content/uploads/2010/08/related-posts.png"><img src="http://www.alanoy.com/wp-content/uploads/2010/08/related-posts.png" alt="Related Posts" title="相关文章样式" width="500" height="145" class="alignnone size-full wp-image-234" /></a></p>
<p>作者信息栏，这个也是 Twenty Ten 自带，只要文章发布者有关于自己的描述说明，那么就会在文章底部显示作者信息，并可以点击链接查看该作者的全部文章。对于单人博客来说没啥用，如果多人参与的话，那相当有必要：</p>
<p><a href="http://www.alanoy.com/wp-content/uploads/2010/08/about-author.png"><img src="http://www.alanoy.com/wp-content/uploads/2010/08/about-author.png" alt="About the Author" title="作者信息" width="500" height="105" class="alignnone size-full wp-image-235" /></a></p>
<h4>第三是评论部分：</h4>
<p>首先是评论样式，重新设计了评论样式，奇数评论层跟偶数层样式不同，然后内嵌回复部分使用左右对话框样式，依然只支持嵌套 3 层，复杂的样式设计多层，挺累人的，代码也会复杂；同时还有评论楼层，只显示主评论楼层，具体看图：</p>
<p><a href="http://www.alanoy.com/wp-content/uploads/2010/08/comments-style.png"><img src="http://www.alanoy.com/wp-content/uploads/2010/08/comments-style.png" alt="评论样式" title="评论样式" width="500" height="446" class="alignnone size-full wp-image-236" /></a></p>
<p>然后是 Ajax comment，使用的是 willin 的版本，然后 jQuery 增加 @reply，即点击回复会自动添加 <em>@somebody: </em>，还有 Ctrl+Enter 回复评论，隐藏回访用户资料框等常用功能。</p>
<h4>最后是 sidebar 和 footer 部分：</h4>
<p>这里似乎没什么好说的，因为用的 Twenty Ten 的结构，所以你完全可以使用主题的小工具来设置侧边栏，样式上不会存在问题，如果有那应该是我没有测试到吧。不仅侧边栏可以使用小工具，底部 footer 也可以：</p>
<p><a href="http://www.alanoy.com/wp-content/uploads/2010/08/footer.png"><img src="http://www.alanoy.com/wp-content/uploads/2010/08/footer.png" alt="页脚" title="页脚的 Widget 功能" width="500" height="163" class="alignnone size-full wp-image-237" /></a></p>
<p>至于返回顶部的 <em>Go Top</em>，像之前说的，我并没有打算给它加上 js 滚动效果，不过样式上做了下改动而已。</p>
<h4>其他：</h4>
<p>主题支持 Opera 10，Firefox 3.0，Chrome，IE8，IE7，IE6，手头没 Safari，没测试；Doctype 由 HTML5 改成 XHTML 1.0 Traditional；主题不能通过 CCS 3 验证，因为圆角和阴影效果的缘故，也不能通过 HTML 验证，因为 Twenty Ten 用了 HTML5 的 <code class="codecolorer text dawn codes"><span class="text">role</span></code> 属性，我也懒得去全部改掉了；关于 CSS Sprites，把很多图片弄成一张，省去加载多张图片的时间；然后我又去掉了 Twenty Ten 原有支持的单栏样式；测试时间并不长，所以可能还有一些细节上或者其他问题，请 DarkLight 3.0 使用者帮忙汇报 Bug，谢谢！</p>
<p>最后的最后，再次声明，DarkLight 3.0 主题是基于 Twenty Ten 主题，请遵循<a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" rel="external nofollow">署名-非商业性使用-相同方式共享 3.0.0  共享协议</a>，去掉 footer 版权信息的朋友请自重，不要连 WordPress 的也搞掉吧。</p>
<ol class="update">
<li>2010-9-4：增加回复邮件通知功能，使用 willin 的代码。</li>
<li>2010-9-3：修正在搜索不到内容时，正文中显示两个搜索框的问题。</li>
<li>2010-9-2：给正文增加 <em>overflow: hidden</em> 属性，避免溢出情况；修正“您的评论正在等待审核”评论的位置。</li>
<li>2010-08-29 早上更新：居然忘记测试 404 页面，稍微修改了下，并且增加一个说明文件。</li>
<li>2010-08-29 下午更新：修改 IE6、IE7 下鼠标滑过文章标题时，文章背景线显示不全的问题；修改 IE6 下，鼠标滑过文章内链接时，文章分割线下滑问题，IE 实在太囧了；修改在回复评论时，第二层回复者名字的显示位置；修改成功提交评论后，增加提示评论成功的句子的左边距，保持美感，汗。</li>
</ol>
<p>演示：<a href='http://www.alanoy.com/?theme=DarkLight+3.0&#038;passkey=8993360444c6f9714c842a' title="Live Demo">Live Demo</a><br />
<a href='http://www.alanoy.com/wp-content/uploads/2010/08/darklight.zip' title="Wordpress Theme DarkLight 3.0">下载 WordPress 主题：DarkLight 3.0</a></p>
<h4  class="related_post_title">Related Posts</h4><ul class="related_post"><li><a href="http://www.alanoy.com/about-new-darklight-theme/" title="关于DarkLight主题新版本的开发">关于DarkLight主题新版本的开发</a> (18)<br /><small>在 G-White 更新到 v2.4 后，其实前阵子还是在对 G-White 进行修改，因为主题的结...</small></li><li><a href="http://www.alanoy.com/darklight-2-3/" title="DarkLight 2.3">DarkLight 2.3</a> (107)<br /><small>这两天开始动手修改 G-White 主题，很多东西修改，还是比较麻烦的，费了不少时间，然后在各浏览器...</small></li><li><a href="http://www.alanoy.com/darklight-2/" title="DarkLight 2.0">DarkLight 2.0</a> (128)<br /><small>DarkLight 2.0 终于如期发布，上个版本 1.04 直接跳到 2.0，改了挺多东西的，优化...</small></li><li><a href="http://www.alanoy.com/new-born/" title="New Born">New Born</a> (26)<br /><small>A new start for Alan’s World，以前的文章全部删了，这在从 PJ Blog...</small></li><li><a href="http://www.alanoy.com/opacity-and-links-background-of-images-of-darklight-and-g-white-theme/" title="DarkLight和G-White主题的图片透明效果和超链接背景">DarkLight和G-White主题的图片透明效果和超链接背景</a> (13)<br /><small>DarkLight 和 G-White 主题中我都加了图片透明效果，现在看来有点蛋疼，许多童鞋问我如...</small></li><li><a href="http://www.alanoy.com/updated-g-whtie-wordpress-theme-to-verson-2-4/" title="WordPress主题G-White更新到Ver 2.4">WordPress主题G-White更新到Ver 2.4</a> (89)<br /><small>G-White 和 DarkLight 都许久没更新，这次先对 G-White 动手。修改的时候发现...</small></li></ul><hr />
<p>© Alan for <a href="http://www.alanoy.com">Alan&#039;s World</a>, 2010. |
<a href="http://www.alanoy.com/wordpress-theme-darklight-3/">Permalink</a> |
<a href="http://www.alanoy.com/wordpress-theme-darklight-3/#comments">62 comments</a><br />
Add to <a href="http://del.icio.us/post?url=http://www.alanoy.com/wordpress-theme-darklight-3/&title=WordPress主题：DarkLight 3.0">del.icio.us</a> | <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http://www.alanoy.com/wordpress-theme-darklight-3/&title=WordPress主题：DarkLight 3.0" alt="Google Bookmark" title="add to google bookmark">Google Bookmark</a> | <a href="http://digg.com/submit?phase=2&url=http://www.alanoy.com/wordpress-theme-darklight-3/&title=WordPress主题：DarkLight 3.0" alt="Digg" title="add to Digg">Digg</a> | <a href="https://favorites.live.com/quickadd.aspx?url=http://www.alanoy.com/wordpress-theme-darklight-3/&title=WordPress主题：DarkLight 3.0" alt="Live Bookmark" title="add to Live Bookmark">Live Bookmark</a> | <a href="http://www.facebook.com/share.php?u=http://www.alanoy.com/wordpress-theme-darklight-3/&title=WordPress主题：DarkLight 3.0" alt="Facebook" title="add to Facebook">Facebook</a>  
<br/>
Post tags: <a href="http://www.alanoy.com/tag/darklight/" rel="tag">DarkLight</a>, <a href="http://www.alanoy.com/tag/wordpress/" rel="tag">Wordpress</a>, <a href="http://www.alanoy.com/tag/wordpress-theme/" rel="tag">Wordpress Theme</a><br/>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.alanoy.com/wordpress-theme-darklight-3/feed/</wfw:commentRss>
		<slash:comments>62</slash:comments>
		</item>
		<item>
		<title>关于DarkLight主题新版本的开发</title>
		<link>http://www.alanoy.com/about-new-darklight-theme/</link>
		<comments>http://www.alanoy.com/about-new-darklight-theme/#comments</comments>
		<pubDate>Sun, 15 Aug 2010 02:18:23 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[DarkLight]]></category>
		<category><![CDATA[G-White]]></category>
		<category><![CDATA[Wordpress Theme]]></category>

		<guid isPermaLink="false">http://www.alanoy.com/%e5%85%b3%e4%ba%8edarklight%e4%b8%bb%e9%a2%98%e6%96%b0%e7%89%88%e6%9c%ac%e7%9a%84%e5%bc%80%e5%8f%91/</guid>
		<description><![CDATA[在 G-White 更新到 v2.4 后，其实前阵子还是在对 G-White 进行修改，因为主题的结构和 CSS 代码还有一些不合理和冗余的地方，结构方面已改好，正在重新写 CSS 代码。但受到 Jinwen 这篇文章的影响，我也有意尝试用 WordPress 官方主题进行开发，毕竟我的那些代码是从 WordPress 2.5 用到现在的，需要全面更新一下了，所以有了把 DarkLight 和 G-White 3.0 化的想法，即在 Twenty Ten 主题结构基础上的更新开发。 回到正题，首先是对 DarkLight 的更新，版本直接跳到 3.0 且不在对之前版本进行维护改进。说说几点特性，喜欢 DarkLight 主题的可以提提意见： Ajax Comment，这次会使用 Willin 最新的改进版。 嵌套评论，样式会有所改变，敬请关注 内嵌文章分页，这次不用 wp-pagenavi，而使用还是来自 Willin 的 Mini Pagenavi，很小巧。 一些 JavaScript 效果：如点击 Reply 自动添加 @somebody，下拉菜单，Ctrl+Enter 回复评论，在考虑要不要加页面滚动效果，个人觉得没什么必要。 进度不会很快，现在失业中，正在学习，杯具。 Related PostsWordpress主题：DarkLight 3.0 [...]]]></description>
			<content:encoded><![CDATA[<p>在 <a href="http://www.alanoy.com/tag/g-white" rel="nofollow" title="G-White Theme">G-White</a> 更新到 v2.4 后，其实前阵子还是在对 <a href="http://www.alanoy.com/tag/g-white" rel="nofollow" title="G-White Theme">G-White</a> 进行修改，因为主题的结构和 <abbr title="Cascading Style Sheet">CSS</abbr> 代码还有一些不合理和冗余的地方，结构方面已改好，正在重新写 <abbr title="Cascading Style Sheet">CSS</abbr> 代码。但受到 <a href="http://www.saywp.com/wordpress/my-new-theme-and-twentyten.html" rel="nofollow external" title="Jinwen">Jinwen</a> 这篇文章的影响，我也有意尝试用 WordPress 官方主题进行开发，毕竟我的那些代码是从 WordPress 2.5 用到现在的，需要全面更新一下了，所以有了把 <a href="http://www.alanoy.com/tag/darklight" rel="nofollow" title="DarkLight Theme">DarkLight</a> 和 <a href="http://www.alanoy.com/tag/g-white" rel="nofollow" title="G-White Theme">G-White</a> 3.0 化的想法，即在 Twenty Ten 主题结构基础上的更新开发。<span id="more-183"></span></p>
<p>回到正题，首先是对 <a href="http://www.alanoy.com/tag/darklight" rel="nofollow" title="DarkLight Theme">DarkLight</a> 的更新，版本直接跳到 3.0 且不在对之前版本进行维护改进。说说几点特性，喜欢 DarkLight 主题的可以提提意见：</p>
<ol>
<li>Ajax Comment，这次会使用 <a href="http://kan.willin.org/?p=1271" rel="external nofollow" title="Ajax Comment">Willin</a> 最新的改进版。</li>
<li>嵌套评论，样式会有所改变，敬请关注</li>
<li>内嵌文章分页，这次不用 wp-pagenavi，而使用还是来自 Willin 的 <a href="http://kan.willin.org/?p=1323" rel="external nofollow" title="Mini Pagenavi">Mini Pagenavi</a>，很小巧。</li>
<li>一些 JavaScript 效果：如点击 Reply 自动添加 @somebody，下拉菜单，Ctrl+Enter 回复评论，在考虑要不要加页面滚动效果，个人觉得没什么必要。</li>
</ol>
<p>进度不会很快，现在失业中，正在学习，杯具。</p>
<h4  class="related_post_title">Related Posts</h4><ul class="related_post"><li><a href="http://www.alanoy.com/wordpress-theme-darklight-3/" title="Wordpress主题：DarkLight 3.0">Wordpress主题：DarkLight 3.0</a> (62)<br /><small>当有了计划，马上就想去完成它，但我也没想到这么快，大概主题结构的折腾少了的缘故吧。Twenty Te...</small></li><li><a href="http://www.alanoy.com/opacity-and-links-background-of-images-of-darklight-and-g-white-theme/" title="DarkLight和G-White主题的图片透明效果和超链接背景">DarkLight和G-White主题的图片透明效果和超链接背景</a> (13)<br /><small>DarkLight 和 G-White 主题中我都加了图片透明效果，现在看来有点蛋疼，许多童鞋问我如...</small></li><li><a href="http://www.alanoy.com/updated-g-whtie-wordpress-theme-to-verson-2-4/" title="WordPress主题G-White更新到Ver 2.4">WordPress主题G-White更新到Ver 2.4</a> (89)<br /><small>G-White 和 DarkLight 都许久没更新，这次先对 G-White 动手。修改的时候发现...</small></li><li><a href="http://www.alanoy.com/wordpress-theme-g-white-2-2/" title="Wordpress Theme: G-White 2.0">Wordpress Theme: G-White 2.0</a> (116)<br /><small>G-White 是自己做的一个比较久远的主题了，跟 DarkLight 一样，这次也直接跳到 Ver...</small></li><li><a href="http://www.alanoy.com/darklight-2-3/" title="DarkLight 2.3">DarkLight 2.3</a> (107)<br /><small>这两天开始动手修改 G-White 主题，很多东西修改，还是比较麻烦的，费了不少时间，然后在各浏览器...</small></li><li><a href="http://www.alanoy.com/darklight-2/" title="DarkLight 2.0">DarkLight 2.0</a> (128)<br /><small>DarkLight 2.0 终于如期发布，上个版本 1.04 直接跳到 2.0，改了挺多东西的，优化...</small></li></ul><hr />
<p>© Alan for <a href="http://www.alanoy.com">Alan&#039;s World</a>, 2010. |
<a href="http://www.alanoy.com/about-new-darklight-theme/">Permalink</a> |
<a href="http://www.alanoy.com/about-new-darklight-theme/#comments">18 comments</a><br />
Add to <a href="http://del.icio.us/post?url=http://www.alanoy.com/about-new-darklight-theme/&title=关于DarkLight主题新版本的开发">del.icio.us</a> | <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http://www.alanoy.com/about-new-darklight-theme/&title=关于DarkLight主题新版本的开发" alt="Google Bookmark" title="add to google bookmark">Google Bookmark</a> | <a href="http://digg.com/submit?phase=2&url=http://www.alanoy.com/about-new-darklight-theme/&title=关于DarkLight主题新版本的开发" alt="Digg" title="add to Digg">Digg</a> | <a href="https://favorites.live.com/quickadd.aspx?url=http://www.alanoy.com/about-new-darklight-theme/&title=关于DarkLight主题新版本的开发" alt="Live Bookmark" title="add to Live Bookmark">Live Bookmark</a> | <a href="http://www.facebook.com/share.php?u=http://www.alanoy.com/about-new-darklight-theme/&title=关于DarkLight主题新版本的开发" alt="Facebook" title="add to Facebook">Facebook</a>  
<br/>
Post tags: <a href="http://www.alanoy.com/tag/darklight/" rel="tag">DarkLight</a>, <a href="http://www.alanoy.com/tag/g-white/" rel="tag">G-White</a>, <a href="http://www.alanoy.com/tag/wordpress/" rel="tag">Wordpress</a>, <a href="http://www.alanoy.com/tag/wordpress-theme/" rel="tag">Wordpress Theme</a><br/>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.alanoy.com/about-new-darklight-theme/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>WordPress主题G-White更新到Ver 2.4</title>
		<link>http://www.alanoy.com/updated-g-whtie-wordpress-theme-to-verson-2-4/</link>
		<comments>http://www.alanoy.com/updated-g-whtie-wordpress-theme-to-verson-2-4/#comments</comments>
		<pubDate>Sat, 03 Jul 2010 03:59:28 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[G-White]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Wordpress Theme]]></category>

		<guid isPermaLink="false">http://www.alanoy.com/?p=110</guid>
		<description><![CDATA[G-White 和 DarkLight 都许久没更新，这次先对 G-White 动手。修改的时候发现这个主题最后一次更新是在 09 年 9 月份，原来已经过了这么久了，之前说过要更新的东西似乎有些忘掉了，(-_-); 这次修改的东西也不多： Categories 增加子菜单样式，如果分类含有子分类的话，现在可以正常显示，鼠标滑过显示。 Header 的页面 Navigation 稍作修改，原来当 Navigation 有点多的时候，会下滑，样式改变了，稍作修正，下滑后不影响外观。 有童鞋反应需要显示文章的年份，于是在单篇文章中加入年份显示 上篇文章提到的随机文章问题，当然也修改了 其他一些样式小修小改，不提也罢 修改不多，也混了一个 Verson，呵呵。 演示：Demo 下载 G-White 2.4 Related PostsDarkLight和G-White主题的图片透明效果和超链接背景 (13)DarkLight 和 G-White 主题中我都加了图片透明效果，现在看来有点蛋疼，许多童鞋问我如...关于DarkLight主题新版本的开发 (18)在 G-White 更新到 v2.4 后，其实前阵子还是在对 G-White 进行修改，因为主题的结...G-White主题显示文章摘要 (20)Wordpress 显示文章摘要，其实在文章编辑器有个 more 标签，很多人都知道啦，昨天有位同学...Wordpress Theme: G-White 2.0 (116)G-White 是自己做的一个比较久远的主题了，跟 DarkLight 一样，这次也直接跳到 Ver...Wordpress主题：DarkLight 3.0 (62)当有了计划，马上就想去完成它，但我也没想到这么快，大概主题结构的折腾少了的缘故吧。Twenty [...]]]></description>
			<content:encoded><![CDATA[<p>G-White 和 DarkLight 都许久没更新，这次先对 G-White 动手。修改的时候发现这个主题最后一次更新是在 09 年 9 月份，原来已经过了这么久了，之前说过要更新的东西似乎有些忘掉了，(-_-); 这次修改的东西也不多：<span id="more-110"></span></p>
<ol>
<li>Categories 增加子菜单样式，如果分类含有子分类的话，现在可以正常显示，鼠标滑过显示。</li>
<li>Header 的页面 Navigation 稍作修改，原来当 Navigation 有点多的时候，会下滑，样式改变了，稍作修正，下滑后不影响外观。</li>
<li>有童鞋反应需要显示文章的年份，于是在单篇文章中加入年份显示</li>
<li>上篇文章提到的随机文章问题，当然也修改了</li>
<li>其他一些样式小修小改，不提也罢</li>
</ol>
<p>修改不多，也混了一个 Verson，呵呵。</p>
<p>演示：<a href="http://www.alanoy.com/?theme=G-White+2.4&#038;passkey=8993360444c6f9714c842a" title="Theme Demo" rel="nofollow">Demo</a></p>
<p><a href='http://www.alanoy.com/wp-content/uploads/2010/07/g-white_2.zip' titile="G-White 2.4">下载 G-White 2.4</a></p>
<h4  class="related_post_title">Related Posts</h4><ul class="related_post"><li><a href="http://www.alanoy.com/opacity-and-links-background-of-images-of-darklight-and-g-white-theme/" title="DarkLight和G-White主题的图片透明效果和超链接背景">DarkLight和G-White主题的图片透明效果和超链接背景</a> (13)<br /><small>DarkLight 和 G-White 主题中我都加了图片透明效果，现在看来有点蛋疼，许多童鞋问我如...</small></li><li><a href="http://www.alanoy.com/about-new-darklight-theme/" title="关于DarkLight主题新版本的开发">关于DarkLight主题新版本的开发</a> (18)<br /><small>在 G-White 更新到 v2.4 后，其实前阵子还是在对 G-White 进行修改，因为主题的结...</small></li><li><a href="http://www.alanoy.com/show-excerpt-and-read-more-for-g-white-theme/" title="G-White主题显示文章摘要">G-White主题显示文章摘要</a> (20)<br /><small>Wordpress 显示文章摘要，其实在文章编辑器有个 more 标签，很多人都知道啦，昨天有位同学...</small></li><li><a href="http://www.alanoy.com/wordpress-theme-g-white-2-2/" title="Wordpress Theme: G-White 2.0">Wordpress Theme: G-White 2.0</a> (116)<br /><small>G-White 是自己做的一个比较久远的主题了，跟 DarkLight 一样，这次也直接跳到 Ver...</small></li><li><a href="http://www.alanoy.com/wordpress-theme-darklight-3/" title="Wordpress主题：DarkLight 3.0">Wordpress主题：DarkLight 3.0</a> (62)<br /><small>当有了计划，马上就想去完成它，但我也没想到这么快，大概主题结构的折腾少了的缘故吧。Twenty Te...</small></li><li><a href="http://www.alanoy.com/use-jquery-to-hide-the-comment-author-info-for-commented-users/" title="jQuery 隐藏老用户评论资料框">jQuery 隐藏老用户评论资料框</a> (10)<br /><small>之前一直用的是 xiaorsz 的方法来隐藏老用户评论资料框，包括我发布的 DarkLight 和 ...</small></li></ul><hr />
<p>© Alan for <a href="http://www.alanoy.com">Alan&#039;s World</a>, 2010. |
<a href="http://www.alanoy.com/updated-g-whtie-wordpress-theme-to-verson-2-4/">Permalink</a> |
<a href="http://www.alanoy.com/updated-g-whtie-wordpress-theme-to-verson-2-4/#comments">89 comments</a><br />
Add to <a href="http://del.icio.us/post?url=http://www.alanoy.com/updated-g-whtie-wordpress-theme-to-verson-2-4/&title=WordPress主题G-White更新到Ver 2.4">del.icio.us</a> | <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http://www.alanoy.com/updated-g-whtie-wordpress-theme-to-verson-2-4/&title=WordPress主题G-White更新到Ver 2.4" alt="Google Bookmark" title="add to google bookmark">Google Bookmark</a> | <a href="http://digg.com/submit?phase=2&url=http://www.alanoy.com/updated-g-whtie-wordpress-theme-to-verson-2-4/&title=WordPress主题G-White更新到Ver 2.4" alt="Digg" title="add to Digg">Digg</a> | <a href="https://favorites.live.com/quickadd.aspx?url=http://www.alanoy.com/updated-g-whtie-wordpress-theme-to-verson-2-4/&title=WordPress主题G-White更新到Ver 2.4" alt="Live Bookmark" title="add to Live Bookmark">Live Bookmark</a> | <a href="http://www.facebook.com/share.php?u=http://www.alanoy.com/updated-g-whtie-wordpress-theme-to-verson-2-4/&title=WordPress主题G-White更新到Ver 2.4" alt="Facebook" title="add to Facebook">Facebook</a>  
<br/>
Post tags: <a href="http://www.alanoy.com/tag/g-white/" rel="tag">G-White</a>, <a href="http://www.alanoy.com/tag/tutorial/" rel="tag">Tutorial</a>, <a href="http://www.alanoy.com/tag/wordpress/" rel="tag">Wordpress</a>, <a href="http://www.alanoy.com/tag/wordpress-theme/" rel="tag">Wordpress Theme</a><br/>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.alanoy.com/updated-g-whtie-wordpress-theme-to-verson-2-4/feed/</wfw:commentRss>
		<slash:comments>89</slash:comments>
		</item>
		<item>
		<title>升级WordPress 3.0后随机文章显示不了</title>
		<link>http://www.alanoy.com/fix-radmo-post-problem-fater-update-to-wordpress-3/</link>
		<comments>http://www.alanoy.com/fix-radmo-post-problem-fater-update-to-wordpress-3/#comments</comments>
		<pubDate>Sun, 27 Jun 2010 10:49:43 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Radom Post]]></category>
		<category><![CDATA[Wordpress Theme]]></category>

		<guid isPermaLink="false">http://www.alanoy.com/?p=108</guid>
		<description><![CDATA[消失了很久了，最近升级到 WordPress 3.0 后，发现 DarkLight 和 G-White 主题的侧边栏中 Radom Post 一项不显示了，使用 DarkLight 和 G-White 主题的同学可以做如下修改，打开 sidebar.php 找到 &#60;h2 id=&#34;radom_posts&#34;&#62;RADOM POSTS&#60;/h2&#62;，把下面的 ul 标签中的内容替换为： 123456&#60;?php &#160; &#160; query_posts&#40;array&#40;'orderby' =&#62; 'rand', 'showposts' =&#62; 10&#41;&#41;; //需要显示的文章数量 &#160; &#160; if &#40;have_posts&#40;&#41;&#41; : &#160; &#160; while &#40;have_posts&#40;&#41;&#41; : the_post&#40;&#41;;?&#62; &#160; &#160; &#60;li&#62;&#60;a href=&#34;&#60;?php the_permalink&#40;&#41; ?&#62;&#34; rel=&#34;bookmark&#34; title=&#34;Permanent Link to &#60;?php the_title&#40;&#41;; [...]]]></description>
			<content:encoded><![CDATA[<p>消失了很久了，最近升级到 WordPress 3.0 后，发现 DarkLight 和 G-White 主题的侧边栏中 Radom Post 一项不显示了，使用 DarkLight 和 G-White 主题的同学可以做如下修改，打开 sidebar.php 找到 <code class="codecolorer html4strict dawn codes"><span class="html4strict"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">h2</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;radom_posts&quot;</span>&gt;</span>RADOM POSTS<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h2</span>&gt;</span></span></code>，把下面的 ul 标签中的内容替换为：<span id="more-108"></span></p>
<div class="codecolorer-container php dawn codes" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:98%;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span><br />
&nbsp; &nbsp; query_posts<span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'orderby'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'rand'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'showposts'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">10</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//需要显示的文章数量</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> the_post<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #000000; font-weight: bold;">?&gt;</span><br />
&nbsp; &nbsp; &lt;li&gt;&lt;a href=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_permalink<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link to <span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot;&gt;<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&lt;/a&gt;&lt;/li&gt;<br />
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span>endif<span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></div></td></tr></tbody></table></div>
<p>搞定！</p>
<h4  class="related_post_title">Related Posts</h4><ul class="related_post"><li><a href="http://www.alanoy.com/wordpress-theme-darklight-3/" title="Wordpress主题：DarkLight 3.0">Wordpress主题：DarkLight 3.0</a> (62)<br /><small>当有了计划，马上就想去完成它，但我也没想到这么快，大概主题结构的折腾少了的缘故吧。Twenty Te...</small></li><li><a href="http://www.alanoy.com/about-new-darklight-theme/" title="关于DarkLight主题新版本的开发">关于DarkLight主题新版本的开发</a> (18)<br /><small>在 G-White 更新到 v2.4 后，其实前阵子还是在对 G-White 进行修改，因为主题的结...</small></li><li><a href="http://www.alanoy.com/updated-g-whtie-wordpress-theme-to-verson-2-4/" title="WordPress主题G-White更新到Ver 2.4">WordPress主题G-White更新到Ver 2.4</a> (89)<br /><small>G-White 和 DarkLight 都许久没更新，这次先对 G-White 动手。修改的时候发现...</small></li><li><a href="http://www.alanoy.com/wordpress-theme-g-white-2-2/" title="Wordpress Theme: G-White 2.0">Wordpress Theme: G-White 2.0</a> (116)<br /><small>G-White 是自己做的一个比较久远的主题了，跟 DarkLight 一样，这次也直接跳到 Ver...</small></li><li><a href="http://www.alanoy.com/darklight-2-3/" title="DarkLight 2.3">DarkLight 2.3</a> (107)<br /><small>这两天开始动手修改 G-White 主题，很多东西修改，还是比较麻烦的，费了不少时间，然后在各浏览器...</small></li><li><a href="http://www.alanoy.com/darklight-2/" title="DarkLight 2.0">DarkLight 2.0</a> (128)<br /><small>DarkLight 2.0 终于如期发布，上个版本 1.04 直接跳到 2.0，改了挺多东西的，优化...</small></li></ul><hr />
<p>© Alan for <a href="http://www.alanoy.com">Alan&#039;s World</a>, 2010. |
<a href="http://www.alanoy.com/fix-radmo-post-problem-fater-update-to-wordpress-3/">Permalink</a> |
<a href="http://www.alanoy.com/fix-radmo-post-problem-fater-update-to-wordpress-3/#comments">11 comments</a><br />
Add to <a href="http://del.icio.us/post?url=http://www.alanoy.com/fix-radmo-post-problem-fater-update-to-wordpress-3/&title=升级WordPress 3.0后随机文章显示不了">del.icio.us</a> | <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http://www.alanoy.com/fix-radmo-post-problem-fater-update-to-wordpress-3/&title=升级WordPress 3.0后随机文章显示不了" alt="Google Bookmark" title="add to google bookmark">Google Bookmark</a> | <a href="http://digg.com/submit?phase=2&url=http://www.alanoy.com/fix-radmo-post-problem-fater-update-to-wordpress-3/&title=升级WordPress 3.0后随机文章显示不了" alt="Digg" title="add to Digg">Digg</a> | <a href="https://favorites.live.com/quickadd.aspx?url=http://www.alanoy.com/fix-radmo-post-problem-fater-update-to-wordpress-3/&title=升级WordPress 3.0后随机文章显示不了" alt="Live Bookmark" title="add to Live Bookmark">Live Bookmark</a> | <a href="http://www.facebook.com/share.php?u=http://www.alanoy.com/fix-radmo-post-problem-fater-update-to-wordpress-3/&title=升级WordPress 3.0后随机文章显示不了" alt="Facebook" title="add to Facebook">Facebook</a>  
<br/>
Post tags: <a href="http://www.alanoy.com/tag/radom-post/" rel="tag">Radom Post</a>, <a href="http://www.alanoy.com/tag/wordpress/" rel="tag">Wordpress</a>, <a href="http://www.alanoy.com/tag/wordpress-theme/" rel="tag">Wordpress Theme</a><br/>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.alanoy.com/fix-radmo-post-problem-fater-update-to-wordpress-3/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>关于DarkLight的相关文章和Bread Crumb样式</title>
		<link>http://www.alanoy.com/styles-of-related-posts-and-bread-crumb/</link>
		<comments>http://www.alanoy.com/styles-of-related-posts-and-bread-crumb/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 06:38:21 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Bread Crumb]]></category>
		<category><![CDATA[DarkLight]]></category>
		<category><![CDATA[Related Posts]]></category>

		<guid isPermaLink="false">http://www.alanoy.com/?p=53</guid>
		<description><![CDATA[首先提个与本文章内容无关的，发现太多朋友喜欢去掉版权信息了，想不明白，版权信息就那么碍眼？？！像 Jinwen 说的朋友加油，加个版权链接磊落点吧，囧rz。 好了，进入正题，关于我自用的 DarkLight 主题中相关文章和文章顶部导航的样式问题，由于每个 WordPress 用户的使用习惯不同，而且这两个效果都需要插件支持，所以没有在 DarkLight 发布版中放入代码和使用方法，不过最近挺多人询问关于这两个样式如何实现，于是在此把这两个样式的实现和相关的插件作下说明。PS，昨天有位朋友问了顶部 Breadcrumb 的实现问题，忘了把 CSS 代码给你了，你再看看这篇文章添加进去吧。 相关文章，需要 Simple Tags 插件支持。 在 single.php 文件中找到 ，在其后面加入以下代码： 12345678&#60;div class=&#34;related_post&#34;&#62; &#160; &#160; &#60;div class=&#34;related_post_mid&#34;&#62; &#160; &#160; &#160; &#160; &#60;?php if &#40;function_exists&#40;'st_get_related_posts'&#41;&#41;&#123;;?&#62; &#160; &#160; &#160; &#160; &#60;?php st_related_posts&#40;'number=5&#38;title=&#60;h4&#62;Related Posts&#60;/h4&#62;&#38;nopoststext=&#60;strong&#62;&#60;em&#62;No Related Posts&#60;/em&#62;&#60;/strong&#62;&#38;include_page=false&#38;order=random&#38;xformat=%title% (%post_comment%)&#60;p&#62;%post_excerpt%&#60;/p&#62;&#38;except_wrap=5');?&#62; &#160; &#160; &#160; &#160; &#60;?php &#125; ;?&#62; &#160; &#160; &#60;/div&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>首先提个与本文章内容无关的，发现太多朋友喜欢去掉版权信息了，想不明白，版权信息就那么碍眼？？！像 <a href="http://www.saywp.com" rel="nofollow">Jinwen</a> 说的<a href="http://www.saywp.com/freetalk/why-not-add-me-a-author-link-for-my-wordpress-theme.html" rel="nofollow">朋友加油，加个版权链接磊落点</a>吧，囧rz。<span id="more-53"></span></p>
<p>好了，进入正题，关于我自用的 DarkLight 主题中相关文章和文章顶部导航的样式问题，由于每个 WordPress 用户的使用习惯不同，而且这两个效果都需要插件支持，所以没有在 DarkLight 发布版中放入代码和使用方法，不过最近挺多人询问关于这两个样式如何实现，于是在此把这两个样式的实现和相关的插件作下说明。PS，昨天有位朋友问了顶部 Breadcrumb 的实现问题，忘了把 CSS 代码给你了，你再看看这篇文章添加进去吧。</p>
<ul>
<li>相关文章，需要 <a href="http://wordpress.org/extend/plugins/simple-tags" rel="nofollow" title="Simple Tags">Simple Tags</a> 插件支持。<br />
在 single.php 文件中找到 <!-- [entrymeta2] -->，在其后面加入以下代码：</p>
<div class="codecolorer-container html4strict dawn codes" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:98%;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;related_post&quot;</span>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;related_post_mid&quot;</span>&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;?php if <span style="color: #66cc66;">&#40;</span>function_exists<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'st_get_related_posts'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>;?&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;?php st_related_posts<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'number=5&amp;title=&lt;h4&gt;</span></span>Related Posts<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">h4</span>&gt;</span><span style="color: #ddbb00;">&amp;nopoststext=&lt;strong&gt;&lt;em&gt;No Related Posts&lt;/em&gt;&lt;/strong&gt;&amp;include_page=false&amp;order=random&amp;xformat=%title% (%post_comment%)&lt;p&gt;%post_excerpt%&lt;/p&gt;&amp;except_wrap=5');</span>?&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&lt;?php <span style="color: #66cc66;">&#125;</span> ;?&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;related_post_bottom&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></div></td></tr></tbody></table></div>
<p>CSS 已经在发布版的主题中了（并没有去掉，哈哈），这样就跟我自用的样式一致了。</li>
<li>Bread Crumb 导航，需要 <a href="http://mtekk.weblogs.us/code/breadcrumb-navxt/" rel="nofollow" title="Breadcrumb NavXT">Breadcrumb NavXT</a> 插件支持。<br />
首先在 single.php 中找到 <code class="codecolorer php dawn codes"><span class="php"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> the_post<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></span></code>，在其前面加入以下代码：</p>
<div class="codecolorer-container html4strict dawn codes" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:98%;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br /></div></td><td><div class="html4strict codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;breadcrumb&quot;</span>&gt;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&lt;?php</span><br />
<span style="color: #009900;"> &nbsp; &nbsp; &nbsp; &nbsp;if<span style="color: #66cc66;">&#40;</span>function_exists<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'bcn_display'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span></span><br />
<span style="color: #009900;">&nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span></span><br />
<span style="color: #009900;">&nbsp; &nbsp; &nbsp; &nbsp; bcn_display<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</span><br />
<span style="color: #009900;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></span><br />
<span style="color: #009900;"> &nbsp; &nbsp;?&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span><br />
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;clear&quot;</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></div></td></tr></tbody></table></div>
<p>其次，在 style.css 文件中加入以下样式：</p>
<div class="codecolorer-container css dawn codes" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:98%;height:480px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br /></div></td><td><div class="css codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6666ff;">.breadcrumb</span> <span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">margin-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">15px</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">padding-bottom</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">font-size</span><span style="color: #00AA00;">:</span> <span style="color: #933;">13px</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">line-height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">27px</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/entrybottom.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">repeat-x</span> <span style="color: #cc66cc;">0</span> <span style="color: #000000; font-weight: bold;">bottom</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#CCCCCC</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">font-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">italic</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
<span style="color: #00AA00;">*</span> html <span style="color: #6666ff;">.breadcrumb</span> <span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">27px</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span><span style="color: #808080; font-style: italic;">/*ie6*/</span><br />
<span style="color: #6666ff;">.breadcrumb</span> span <span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">float</span><span style="color: #00AA00;">:</span> <span style="color: #000000; font-weight: bold;">left</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">8px</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
<span style="color: #6666ff;">.breadcrumb</span> a<span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.breadcrumb</span> a<span style="color: #3333ff;">:visited </span><span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#CCCCCC</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
<span style="color: #6666ff;">.breadcrumb</span> a<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">text-decoration</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">underline</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
<span style="color: #6666ff;">.bread_home</span> <span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">text-indent</span><span style="color: #00AA00;">:</span> <span style="color: #933;">-99999em</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
<span style="color: #6666ff;">.bread_home</span> <span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">margin-right</span><span style="color: #00AA00;">:</span> <span style="color: #933;">6px</span> !important<span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
<span style="color: #6666ff;">.bread_home</span> a<span style="color: #00AA00;">,</span> <span style="color: #6666ff;">.bread_home</span> a<span style="color: #3333ff;">:visited </span><span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">block</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">images/bread_home.png</span><span style="color: #00AA00;">&#41;</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">height</span><span style="color: #00AA00;">:</span> <span style="color: #933;">24px</span><span style="color: #00AA00;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">width</span><span style="color: #00AA00;">:</span> <span style="color: #933;">24px</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span><br />
<span style="color: #6666ff;">.bread_current</span> <span style="color: #00AA00;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#EEEEEE</span><span style="color: #00AA00;">;</span><br />
<span style="color: #00AA00;">&#125;</span></div></td></tr></tbody></table></div>
<p>最后，在 WordPress 后台的 Breadcrumb NavXT 设置 General 下的：<br />
- Breadcrumb Separator: <code class="codecolorer html4strict dawn codes"><span class="html4strict"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;bread_sep&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">em</span>&gt;</span><span style="color: #ddbb00;">&amp;gt;</span> <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">em</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span></span></code><br />
- Home Prefix: <code class="codecolorer html4strict dawn codes"><span class="html4strict"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">span</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;bread_home&quot;</span>&gt;</span></span></code><br />
- Home Suffix: <code class="codecolorer html4strict dawn codes"><span class="html4strict"><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">span</span>&gt;</span></span></code><br />
当然你可以在其他页面添加类似导航，代码的放置类似，后台设置简单明了，自己摸索了。</li>
</ul>
<h4  class="related_post_title">Related Posts</h4><ul class="related_post"><li><a href="http://www.alanoy.com/opacity-and-links-background-of-images-of-darklight-and-g-white-theme/" title="DarkLight和G-White主题的图片透明效果和超链接背景">DarkLight和G-White主题的图片透明效果和超链接背景</a> (13)<br /><small>DarkLight 和 G-White 主题中我都加了图片透明效果，现在看来有点蛋疼，许多童鞋问我如...</small></li><li><a href="http://www.alanoy.com/jquery-image-tooltip/" title="jQuery 给图片添加标题提示">jQuery 给图片添加标题提示</a> (26)<br /><small>在进入正题之前，先提提 [cci]img[/cci] 标签的 alt 属性和 title 属性。al...</small></li><li><a href="http://www.alanoy.com/jquery-tab/" title="jQuery 实现网页选项卡">jQuery 实现网页选项卡</a> (27)<br /><small>很多网站都有使用网页选项卡，最常见的就是博客的侧边栏上，比如把最新文章、随机文章、最受欢迎文章三项集...</small></li><li><a href="http://www.alanoy.com/wordpress-theme-darklight-3/" title="Wordpress主题：DarkLight 3.0">Wordpress主题：DarkLight 3.0</a> (62)<br /><small>当有了计划，马上就想去完成它，但我也没想到这么快，大概主题结构的折腾少了的缘故吧。Twenty Te...</small></li><li><a href="http://www.alanoy.com/use-jquery-to-hide-the-comment-author-info-for-commented-users/" title="jQuery 隐藏老用户评论资料框">jQuery 隐藏老用户评论资料框</a> (10)<br /><small>之前一直用的是 xiaorsz 的方法来隐藏老用户评论资料框，包括我发布的 DarkLight 和 ...</small></li><li><a href="http://www.alanoy.com/about-new-darklight-theme/" title="关于DarkLight主题新版本的开发">关于DarkLight主题新版本的开发</a> (18)<br /><small>在 G-White 更新到 v2.4 后，其实前阵子还是在对 G-White 进行修改，因为主题的结...</small></li></ul><hr />
<p>© Alan for <a href="http://www.alanoy.com">Alan&#039;s World</a>, 2009. |
<a href="http://www.alanoy.com/styles-of-related-posts-and-bread-crumb/">Permalink</a> |
<a href="http://www.alanoy.com/styles-of-related-posts-and-bread-crumb/#comments">71 comments</a><br />
Add to <a href="http://del.icio.us/post?url=http://www.alanoy.com/styles-of-related-posts-and-bread-crumb/&title=关于DarkLight的相关文章和Bread Crumb样式">del.icio.us</a> | <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http://www.alanoy.com/styles-of-related-posts-and-bread-crumb/&title=关于DarkLight的相关文章和Bread Crumb样式" alt="Google Bookmark" title="add to google bookmark">Google Bookmark</a> | <a href="http://digg.com/submit?phase=2&url=http://www.alanoy.com/styles-of-related-posts-and-bread-crumb/&title=关于DarkLight的相关文章和Bread Crumb样式" alt="Digg" title="add to Digg">Digg</a> | <a href="https://favorites.live.com/quickadd.aspx?url=http://www.alanoy.com/styles-of-related-posts-and-bread-crumb/&title=关于DarkLight的相关文章和Bread Crumb样式" alt="Live Bookmark" title="add to Live Bookmark">Live Bookmark</a> | <a href="http://www.facebook.com/share.php?u=http://www.alanoy.com/styles-of-related-posts-and-bread-crumb/&title=关于DarkLight的相关文章和Bread Crumb样式" alt="Facebook" title="add to Facebook">Facebook</a>  
<br/>
Post tags: <a href="http://www.alanoy.com/tag/bread-crumb/" rel="tag">Bread Crumb</a>, <a href="http://www.alanoy.com/tag/darklight/" rel="tag">DarkLight</a>, <a href="http://www.alanoy.com/tag/related-posts/" rel="tag">Related Posts</a>, <a href="http://www.alanoy.com/tag/tutorial/" rel="tag">Tutorial</a><br/>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.alanoy.com/styles-of-related-posts-and-bread-crumb/feed/</wfw:commentRss>
		<slash:comments>71</slash:comments>
		</item>
		<item>
		<title>WordPress Theme: G-White 2.0</title>
		<link>http://www.alanoy.com/wordpress-theme-g-white-2-2/</link>
		<comments>http://www.alanoy.com/wordpress-theme-g-white-2-2/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 15:41:26 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[G-White]]></category>
		<category><![CDATA[Wordpress Theme]]></category>

		<guid isPermaLink="false">http://www.alanoy.com/?p=40</guid>
		<description><![CDATA[G-White 是自己做的一个比较久远的主题了，跟 DarkLight 一样，这次也直接跳到 Verson 2.0，两者的代码也是大同小异，主要就是外观上和部分细节的不同而已，自己感觉是还有可以继续美化完善的地方，在 JS 技术方面在下不懂，所以不会有太多这方面的效果，这是我的主题没什么特别了亮点的地方吧。 这次页面导航加入下拉菜单样式了（简陋的）；继续忽略子分类在侧边栏的样式问题；如果说还有什么特别需要说明的地方的话，就是嵌套评论在 IE6 下的继续与众不同和不那么完美了（老生常谈，非常厌恶）；然后是跟 DarkLight 基本一样的说明了（For English Usage, please read the “Read Before Use” file in the g-white_2 folder）： 只支持 WordPress 2.8 以上版本，相比 G-White 1.0，仅仅自带了一个 Links 模板，删去了 Guestbook 和 Archives 模板；G-White 2.0 已在 Firefox 3.5，Opera 10，Chrome 3，IE6，IE7，IE8 下测试，可正常使用（IE6 下评论样式与其他浏览器样式有些不一样，老生常谈了，如果您喜欢用 IE，建议用 IE8） 支持嵌套回复和评论分页，这两个都需要在后台的评论设置开启，嵌套回复目前只支持 3 层，目前未考虑增加更多层次的样式。 评论楼层显示楼层序号，支持 Ajax 评论，自动隐藏老用户资料框，支持 Ctrl+Enter [...]]]></description>
			<content:encoded><![CDATA[<p>G-White 是自己做的一个比较久远的主题了，跟 <a href="http://www.alanoy.com/darklight-2-3/" title="DarkLight 2.3">DarkLight</a> 一样，这次也直接跳到 Verson 2.0，两者的代码也是大同小异，主要就是外观上和部分细节的不同而已，自己感觉是还有可以继续美化完善的地方，在 JS 技术方面在下不懂，所以不会有太多这方面的效果，这是我的主题没什么特别了亮点的地方吧。<span id="more-40"></span></p>
<p>这次页面导航加入下拉菜单样式了（简陋的）；继续忽略子分类在侧边栏的样式问题；如果说还有什么特别需要说明的地方的话，就是嵌套评论在 IE6 下的继续与众不同和不那么完美了（老生常谈，非常厌恶）；然后是跟 <a href="http://www.alanoy.com/darklight-2-3/" title="DarkLight 2.3">DarkLight</a> 基本一样的说明了（For English Usage, please read the “Read Before Use” file in the g-white_2 folder）：</p>
<ul>
<li>只支持 WordPress 2.8 以上版本，相比 G-White 1.0，仅仅自带了一个 Links 模板，删去了 Guestbook 和 Archives 模板；G-White 2.0 已在 Firefox 3.5，Opera 10，Chrome 3，IE6，IE7，IE8 下测试，可正常使用（IE6 下评论样式与其他浏览器样式有些不一样，老生常谈了，如果您喜欢用 IE，建议用 IE8）</li>
<li>支持嵌套回复和评论分页，这两个都需要在后台的评论设置开启，嵌套回复目前只支持 3 层，目前未考虑增加更多层次的样式。</li>
<li>评论楼层显示楼层序号，支持 Ajax 评论，自动隐藏老用户资料框，支持 Ctrl+Enter 发表留言</li>
<li>本主题不使用任何插件也可以正常显示，并且已经内嵌 <a href="http://lesterchan.net/portfolio/programming/php/" rel="nofollow">WP-Pagenavi</a> 插件，所以如果您启用了该插件，请在后台将改插件禁用。</li>
<li>主题支持 Widget，但还是那句话，强烈建议使用 Sidebar.php，自定义性更强。</li>
<li>增加导航页面下拉菜单样式</li>
<li>主题可能存在本人未发现的 Bug，如果您使用了本主题并发现 Bug，欢迎联系我，谢谢！</li>
</ul>
<p class="update">
- 11/7 更新 G-White 2.2：修正 Search.php 的一个小错误；修正提交第一个回复评论后的样式错误。<br />
-11/30 更新 G-White 2.3：修正搜索结果页面和分类页面下 Pagenavi 不能显示的问题。<br />
-12/14 更新：把文章标题显示 Article-link(Permalink) 换成显示原标题
</p>
<p>预览：<a href="http://pic.yupoo.com/alanoy/479258512912/0xnics54.jpg" rel="nofollow">Preview 1</a> | <a href="http://pic.yupoo.com/alanoy/898268512916/a51gionf.jpg" rel="nofollow">Preview 2</a><br />
演示：<a href="http://www.alanoy.com/?theme=G-White+2.4&#038;passkey=8993360444c6f9714c842a" title="Theme Demo" rel="nofollow">Live Demo</a></p>
<p><a href='http://www.alanoy.com/wp-content/uploads/2010/07/g-white_2.zip' titile="G-White 2.4">下载 G-White 2.4</a></p>
<h4  class="related_post_title">Related Posts</h4><ul class="related_post"><li><a href="http://www.alanoy.com/about-new-darklight-theme/" title="关于DarkLight主题新版本的开发">关于DarkLight主题新版本的开发</a> (18)<br /><small>在 G-White 更新到 v2.4 后，其实前阵子还是在对 G-White 进行修改，因为主题的结...</small></li><li><a href="http://www.alanoy.com/updated-g-whtie-wordpress-theme-to-verson-2-4/" title="WordPress主题G-White更新到Ver 2.4">WordPress主题G-White更新到Ver 2.4</a> (89)<br /><small>G-White 和 DarkLight 都许久没更新，这次先对 G-White 动手。修改的时候发现...</small></li><li><a href="http://www.alanoy.com/wordpress-theme-darklight-3/" title="Wordpress主题：DarkLight 3.0">Wordpress主题：DarkLight 3.0</a> (62)<br /><small>当有了计划，马上就想去完成它，但我也没想到这么快，大概主题结构的折腾少了的缘故吧。Twenty Te...</small></li><li><a href="http://www.alanoy.com/opacity-and-links-background-of-images-of-darklight-and-g-white-theme/" title="DarkLight和G-White主题的图片透明效果和超链接背景">DarkLight和G-White主题的图片透明效果和超链接背景</a> (13)<br /><small>DarkLight 和 G-White 主题中我都加了图片透明效果，现在看来有点蛋疼，许多童鞋问我如...</small></li><li><a href="http://www.alanoy.com/show-excerpt-and-read-more-for-g-white-theme/" title="G-White主题显示文章摘要">G-White主题显示文章摘要</a> (20)<br /><small>Wordpress 显示文章摘要，其实在文章编辑器有个 more 标签，很多人都知道啦，昨天有位同学...</small></li><li><a href="http://www.alanoy.com/fix-radmo-post-problem-fater-update-to-wordpress-3/" title="升级WordPress 3.0后随机文章显示不了">升级WordPress 3.0后随机文章显示不了</a> (11)<br /><small>消失了很久了，最近升级到 Wordpress 3.0 后，发现 DarkLight 和 G-Whit...</small></li></ul><hr />
<p>© Alan for <a href="http://www.alanoy.com">Alan&#039;s World</a>, 2009. |
<a href="http://www.alanoy.com/wordpress-theme-g-white-2-2/">Permalink</a> |
<a href="http://www.alanoy.com/wordpress-theme-g-white-2-2/#comments">116 comments</a><br />
Add to <a href="http://del.icio.us/post?url=http://www.alanoy.com/wordpress-theme-g-white-2-2/&title=WordPress Theme: G-White 2.0">del.icio.us</a> | <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http://www.alanoy.com/wordpress-theme-g-white-2-2/&title=WordPress Theme: G-White 2.0" alt="Google Bookmark" title="add to google bookmark">Google Bookmark</a> | <a href="http://digg.com/submit?phase=2&url=http://www.alanoy.com/wordpress-theme-g-white-2-2/&title=WordPress Theme: G-White 2.0" alt="Digg" title="add to Digg">Digg</a> | <a href="https://favorites.live.com/quickadd.aspx?url=http://www.alanoy.com/wordpress-theme-g-white-2-2/&title=WordPress Theme: G-White 2.0" alt="Live Bookmark" title="add to Live Bookmark">Live Bookmark</a> | <a href="http://www.facebook.com/share.php?u=http://www.alanoy.com/wordpress-theme-g-white-2-2/&title=WordPress Theme: G-White 2.0" alt="Facebook" title="add to Facebook">Facebook</a>  
<br/>
Post tags: <a href="http://www.alanoy.com/tag/g-white/" rel="tag">G-White</a>, <a href="http://www.alanoy.com/tag/wordpress/" rel="tag">Wordpress</a>, <a href="http://www.alanoy.com/tag/wordpress-theme/" rel="tag">Wordpress Theme</a><br/>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.alanoy.com/wordpress-theme-g-white-2-2/feed/</wfw:commentRss>
		<slash:comments>116</slash:comments>
		</item>
		<item>
		<title>DarkLight 2.3</title>
		<link>http://www.alanoy.com/darklight-2-3/</link>
		<comments>http://www.alanoy.com/darklight-2-3/#comments</comments>
		<pubDate>Sun, 25 Oct 2009 19:32:52 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[DarkLight]]></category>
		<category><![CDATA[Wordpress Theme]]></category>

		<guid isPermaLink="false">http://www.alanoy.com/?p=30</guid>
		<description><![CDATA[这两天开始动手修改 G-White 主题，很多东西修改，还是比较麻烦的，费了不少时间，然后在各浏览器下调试的时候，发现 IE7 下有挺多细节问题要修正的，于是有了这篇 DarkLight 更新的文章，其实部分 DarkLight 2.0 的部分 Bug (根据用户的反馈)，已于 10/18 修正并更新，今天主要就是处理了 IE7 下的问题，当然应该还有一些其他的细节问题我没发现，还是需要大家继续反馈。Change Log 如下： - 9/20 更新：修改在无评论时 sidebar 和 footer 字体变大的 Bug。 - 10/18 更新：修改侧边栏样式，修正使用 Widget 工具时“标签云”样式，当添加工具时，侧边栏各个工具样式保持一致；修改嵌套评论“链接”的颜色；增加下拉菜单导航样式，当主页面包含子页面时，鼠标经过会出现下拉菜单(IE6 无视)。 - 10/26 更新：修正 IE7 下 Comment Author 居左问题；修正 IE7 下嵌套评论间距过大和嵌套评论内容高度过高问题；修正导航栏下拉菜单在 IE7 下异位问题。修正留言后 Leave a comment 这个链接变成 &#60;a href=&#8221;#commentform&#8221;&#62;Leave a comment&#60;/a&#62; 的 Bug，我把这个链接转移位置了。 - [...]]]></description>
			<content:encoded><![CDATA[<p>这两天开始动手修改 G-White 主题，很多东西修改，还是比较麻烦的，费了不少时间，然后在各浏览器下调试的时候，发现 IE7 下有挺多细节问题要修正的，于是有了这篇 DarkLight 更新的文章，其实部分 DarkLight 2.0 的部分 Bug (根据用户的反馈)，已于 10/18 修正并<a href="http://www.alanoy.com/darklight-2/">更新</a>，今天主要就是处理了 IE7 下的问题，当然应该还有一些其他的细节问题我没发现，还是需要大家继续反馈。Change Log 如下：<span id="more-30"></span></p>
<p class="update">- 9/20 更新：修改在无评论时 sidebar 和 footer 字体变大的 Bug。<br />
- 10/18 更新：修改侧边栏样式，修正使用 Widget 工具时“标签云”样式，当添加工具时，侧边栏各个工具样式保持一致；修改嵌套评论“链接”的颜色；增加下拉菜单导航样式，当主页面包含子页面时，鼠标经过会出现下拉菜单(IE6 无视)。<br />
- 10/26 更新：修正 IE7 下 Comment Author 居左问题；修正 IE7 下嵌套评论间距过大和嵌套评论内容高度过高问题；修正导航栏下拉菜单在 IE7 下异位问题。修正留言后 Leave a comment 这个链接变成 &lt;a href=&#8221;#commentform&#8221;&gt;Leave a comment&lt;/a&gt; 的 Bug，我把这个链接转移位置了。<br />
- 12/14 更新：把文章标题显示 Article-link(Permalink) 换成显示原标题</p>
<p>预览：<a href="http://pic.yupoo.com/alanoy/68308819243d/rp1ipbff.jpg" rel="nofollow">Preview 1</a> | <a href="http://pic.yupoo.com/alanoy/605028192441/se6jvjs1.jpg" rel="nofollow">Preview 2</a><br />
演示：<a href="http://www.alanoy.com/?theme=DarkLight+2.4&#038;passkey=8993360444c6f9714c842a" title="Theme Demo" rel="nofollow">Live Demo</a></p>
<p><a href='http://www.alanoy.com/wp-content/uploads/2009/10/darklight_2.zip'>下载 DarkLight 2.3</a></p>
<h4  class="related_post_title">Related Posts</h4><ul class="related_post"><li><a href="http://www.alanoy.com/wordpress-theme-darklight-3/" title="Wordpress主题：DarkLight 3.0">Wordpress主题：DarkLight 3.0</a> (62)<br /><small>当有了计划，马上就想去完成它，但我也没想到这么快，大概主题结构的折腾少了的缘故吧。Twenty Te...</small></li><li><a href="http://www.alanoy.com/about-new-darklight-theme/" title="关于DarkLight主题新版本的开发">关于DarkLight主题新版本的开发</a> (18)<br /><small>在 G-White 更新到 v2.4 后，其实前阵子还是在对 G-White 进行修改，因为主题的结...</small></li><li><a href="http://www.alanoy.com/darklight-2/" title="DarkLight 2.0">DarkLight 2.0</a> (128)<br /><small>DarkLight 2.0 终于如期发布，上个版本 1.04 直接跳到 2.0，改了挺多东西的，优化...</small></li><li><a href="http://www.alanoy.com/new-born/" title="New Born">New Born</a> (26)<br /><small>A new start for Alan’s World，以前的文章全部删了，这在从 PJ Blog...</small></li><li><a href="http://www.alanoy.com/opacity-and-links-background-of-images-of-darklight-and-g-white-theme/" title="DarkLight和G-White主题的图片透明效果和超链接背景">DarkLight和G-White主题的图片透明效果和超链接背景</a> (13)<br /><small>DarkLight 和 G-White 主题中我都加了图片透明效果，现在看来有点蛋疼，许多童鞋问我如...</small></li><li><a href="http://www.alanoy.com/updated-g-whtie-wordpress-theme-to-verson-2-4/" title="WordPress主题G-White更新到Ver 2.4">WordPress主题G-White更新到Ver 2.4</a> (89)<br /><small>G-White 和 DarkLight 都许久没更新，这次先对 G-White 动手。修改的时候发现...</small></li></ul><hr />
<p>© Alan for <a href="http://www.alanoy.com">Alan&#039;s World</a>, 2009. |
<a href="http://www.alanoy.com/darklight-2-3/">Permalink</a> |
<a href="http://www.alanoy.com/darklight-2-3/#comments">107 comments</a><br />
Add to <a href="http://del.icio.us/post?url=http://www.alanoy.com/darklight-2-3/&title=DarkLight 2.3">del.icio.us</a> | <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http://www.alanoy.com/darklight-2-3/&title=DarkLight 2.3" alt="Google Bookmark" title="add to google bookmark">Google Bookmark</a> | <a href="http://digg.com/submit?phase=2&url=http://www.alanoy.com/darklight-2-3/&title=DarkLight 2.3" alt="Digg" title="add to Digg">Digg</a> | <a href="https://favorites.live.com/quickadd.aspx?url=http://www.alanoy.com/darklight-2-3/&title=DarkLight 2.3" alt="Live Bookmark" title="add to Live Bookmark">Live Bookmark</a> | <a href="http://www.facebook.com/share.php?u=http://www.alanoy.com/darklight-2-3/&title=DarkLight 2.3" alt="Facebook" title="add to Facebook">Facebook</a>  
<br/>
Post tags: <a href="http://www.alanoy.com/tag/darklight/" rel="tag">DarkLight</a>, <a href="http://www.alanoy.com/tag/wordpress/" rel="tag">Wordpress</a>, <a href="http://www.alanoy.com/tag/wordpress-theme/" rel="tag">Wordpress Theme</a><br/>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.alanoy.com/darklight-2-3/feed/</wfw:commentRss>
		<slash:comments>107</slash:comments>
		</item>
		<item>
		<title>DarkLight 2.0</title>
		<link>http://www.alanoy.com/darklight-2/</link>
		<comments>http://www.alanoy.com/darklight-2/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 03:22:55 +0000</pubDate>
		<dc:creator>Alan</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[DarkLight]]></category>
		<category><![CDATA[Wordpress Theme]]></category>

		<guid isPermaLink="false">http://www.alanoy.com/?p=11</guid>
		<description><![CDATA[DarkLight 2.0 终于如期发布，上个版本 1.04 直接跳到 2.0，改了挺多东西的，优化了代码，外观上变化不大。DarkLight 2.0 只支持 WordPress 2.8+，这次没有必装的插件也可以正常运行了，支持嵌套回复，支持 Ajax 评论，支持评论分页，显示楼层序号，内嵌 WP-Pagenavi，支持 Widget……在 Firefox 3.5，Opera 10，Chrome 3 及 IE6 下测试正常，IE6 下的嵌套评论模式跟其他浏览器有点不一样，在此建议大家去弄个 IE6 必死吧，哈哈。 PS，发布出来的 DarkLight 2.0 会有部分样式跟我自己使用的主题不一样的，比如 Header 导航和 Sidebar 上的标题字体，因为每个人的使用习惯和博客内容跟我的一样，所以我这种太过自定义的样式不会放在发布版本里面。不多说，看具体说明（For English Usage, please read the &#8220;Read Before Use&#8221; file in the darklight_2 folder）： 只支持 WordPress 2.8 以上版本，相比 DarkLight 1.0，仅仅自带了一个 Links 模板，删去了 Guestbook 和 [...]]]></description>
			<content:encoded><![CDATA[<p>DarkLight 2.0 终于如期发布，上个版本 1.04 直接跳到 2.0，改了挺多东西的，优化了代码，外观上变化不大。DarkLight 2.0 只支持 WordPress 2.8+，这次没有必装的插件也可以正常运行了，支持嵌套回复，支持 Ajax 评论，支持评论分页，显示楼层序号，内嵌 WP-Pagenavi，支持 Widget……在 Firefox 3.5，Opera 10，Chrome 3 及 IE6 下测试正常，IE6 下的嵌套评论模式跟其他浏览器有点不一样，在此建议大家去弄个 <a href="http://www.neoease.com/ie6-must-die/" rel="nofollow">IE6 必死</a>吧，哈哈。<span id="more-11"></span></p>
<p>PS，发布出来的 DarkLight 2.0 会有部分样式跟我自己使用的主题不一样的，比如 Header 导航和 Sidebar 上的标题字体，因为每个人的使用习惯和博客内容跟我的一样，所以我这种太过自定义的样式不会放在发布版本里面。不多说，看具体说明（For English Usage, please read the &#8220;Read Before Use&#8221; file in the darklight_2 folder）：</p>
<ul>
<li>只支持 WordPress 2.8 以上版本，相比 DarkLight 1.0，仅仅自带了一个 Links 模板，删去了 Guestbook 和 Archives 模板；DarkLight 2.0 已在 Firefox 3.5，Opera 10，Chrome 3，IE6 下测试，可正常使用（不知道会不会有些问题没发现，如果您使用过程中发现问题，欢迎联系本人，谢谢！）</li>
<li>支持嵌套回复和评论分页，这两个都需要在后台的评论设置开启，嵌套回复目前只支持 3 层，目前未考虑增加更多层次的样式。</li>
<li>评论楼层显示楼层序号，支持 Ajax 评论，自动隐藏老用户资料框，支持 Ctrl+Enter 发表留言</li>
<li>本主题不使用任何插件也可以正常显示，并且已经内嵌 <a href="http://lesterchan.net/portfolio/programming/php/" rel="nofollow">WP-Pagenavi</a> 插件，所以如果您启用了该插件，请在后台将改插件禁用。</li>
<li>主题支持 Widget，但还是那句话，强烈建议使用 Sidebar.php，自定义性更强。</li>
<li>主题可能存在本人未发现的 Bug，如果您使用了本主题并发现 Bug，欢迎联系我，谢谢！</li>
</ul>
<p class="update">- 9/20 更新：修改在无评论时 sidebar 和 footer 字体变大的 Bug。<br />
- 10/18 更新：修改侧边栏样式，修正使用 Widget 工具时“标签云”样式；修改嵌套评论“链接”的颜色；增加下拉菜单导航样式，当主页面包含子页面时，鼠标经过会出现下拉菜单(IE6 无视)。</p>
<p>预览：<a href="http://pic.yupoo.com/alanoy/68308819243d/rp1ipbff.jpg" rel="nofollow">Preview 1</a> | <a href="http://pic.yupoo.com/alanoy/605028192441/se6jvjs1.jpg" rel="nofollow">Preview 2</a><br />
演示：<a href="http://www.alanoy.com/?theme=DarkLight+2.4&#038;passkey=8993360444c6f9714c842a" title="Theme Demo" rel="nofollow">Live Demo</a></p>
<p><a href="http://www.alanoy.com/wp-content/uploads/2009/10/darklight_2.zip">下载 DarkLight 2.0</a></p>
<h4  class="related_post_title">Related Posts</h4><ul class="related_post"><li><a href="http://www.alanoy.com/wordpress-theme-darklight-3/" title="Wordpress主题：DarkLight 3.0">Wordpress主题：DarkLight 3.0</a> (62)<br /><small>当有了计划，马上就想去完成它，但我也没想到这么快，大概主题结构的折腾少了的缘故吧。Twenty Te...</small></li><li><a href="http://www.alanoy.com/about-new-darklight-theme/" title="关于DarkLight主题新版本的开发">关于DarkLight主题新版本的开发</a> (18)<br /><small>在 G-White 更新到 v2.4 后，其实前阵子还是在对 G-White 进行修改，因为主题的结...</small></li><li><a href="http://www.alanoy.com/darklight-2-3/" title="DarkLight 2.3">DarkLight 2.3</a> (107)<br /><small>这两天开始动手修改 G-White 主题，很多东西修改，还是比较麻烦的，费了不少时间，然后在各浏览器...</small></li><li><a href="http://www.alanoy.com/new-born/" title="New Born">New Born</a> (26)<br /><small>A new start for Alan’s World，以前的文章全部删了，这在从 PJ Blog...</small></li><li><a href="http://www.alanoy.com/opacity-and-links-background-of-images-of-darklight-and-g-white-theme/" title="DarkLight和G-White主题的图片透明效果和超链接背景">DarkLight和G-White主题的图片透明效果和超链接背景</a> (13)<br /><small>DarkLight 和 G-White 主题中我都加了图片透明效果，现在看来有点蛋疼，许多童鞋问我如...</small></li><li><a href="http://www.alanoy.com/updated-g-whtie-wordpress-theme-to-verson-2-4/" title="WordPress主题G-White更新到Ver 2.4">WordPress主题G-White更新到Ver 2.4</a> (89)<br /><small>G-White 和 DarkLight 都许久没更新，这次先对 G-White 动手。修改的时候发现...</small></li></ul><hr />
<p>© Alan for <a href="http://www.alanoy.com">Alan&#039;s World</a>, 2009. |
<a href="http://www.alanoy.com/darklight-2/">Permalink</a> |
<a href="http://www.alanoy.com/darklight-2/#comments">128 comments</a><br />
Add to <a href="http://del.icio.us/post?url=http://www.alanoy.com/darklight-2/&title=DarkLight 2.0">del.icio.us</a> | <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http://www.alanoy.com/darklight-2/&title=DarkLight 2.0" alt="Google Bookmark" title="add to google bookmark">Google Bookmark</a> | <a href="http://digg.com/submit?phase=2&url=http://www.alanoy.com/darklight-2/&title=DarkLight 2.0" alt="Digg" title="add to Digg">Digg</a> | <a href="https://favorites.live.com/quickadd.aspx?url=http://www.alanoy.com/darklight-2/&title=DarkLight 2.0" alt="Live Bookmark" title="add to Live Bookmark">Live Bookmark</a> | <a href="http://www.facebook.com/share.php?u=http://www.alanoy.com/darklight-2/&title=DarkLight 2.0" alt="Facebook" title="add to Facebook">Facebook</a>  
<br/>
Post tags: <a href="http://www.alanoy.com/tag/darklight/" rel="tag">DarkLight</a>, <a href="http://www.alanoy.com/tag/wordpress/" rel="tag">Wordpress</a>, <a href="http://www.alanoy.com/tag/wordpress-theme/" rel="tag">Wordpress Theme</a><br/>
</p>]]></content:encoded>
			<wfw:commentRss>http://www.alanoy.com/darklight-2/feed/</wfw:commentRss>
		<slash:comments>128</slash:comments>
		</item>
	</channel>
</rss>
