<?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>Palmback™菜园地 &#187; WordPress</title>
	<atom:link href="http://palmback.cn/category/backs/worpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://palmback.cn</link>
	<description>You are Palm and I am Back</description>
	<lastBuildDate>Sun, 06 Jun 2010 14:57:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>主题Wishing Box</title>
		<link>http://palmback.cn/2008/10/wishing-box-wordpress-theme/</link>
		<comments>http://palmback.cn/2008/10/wishing-box-wordpress-theme/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 07:32:19 +0000</pubDate>
		<dc:creator>handback</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Theme]]></category>

		<guid isPermaLink="false">http://palmback.cn/?p=829</guid>
		<description><![CDATA[现在的主题已经使用快一个月了，还没正式介绍一下。
这是一个基于WordPress默认主题K2修改、移植Boxwish的主题，其设计出自Kyan之手；也是我使用WordPress一年多以来自己动手的第一款主题，就叫Wishing Box吧。期间有几个网友留言或发信问我能否分享这个主题，因Boxwish是商业网站，我也是未得到对方许可便私自移植了，所以不便传播，请见谅。
以下可能是主题中大家比较感兴趣的地方：

顶部滑动显隐的工具条。这是用jQuery实现，初接触jQuery，对jQuery的函数不太了解，代码写得很累赘，就不在这丢人现眼了。
文章标题前作者头像的调用。这个比较适合多用户博客，单用户就没必要了，现在Gravatar在国内的载入速度还是很不理想。通过WordPress内置的get_avatar函数就可以实现：
&#60;?php echo get_avatar( get_the_author_id(), 48 , get_bloginfo('template_url').'/images/AvatarDefault.jpg' ); ?&#62;
sidebar上最新评论头像的调用参考ThinkElegant WordPress   Theme，应该还有其它类似的插件，参看G7v6。
……

应该就这些了吧。

Related Posts

WordPress主题高级技巧 - Nov 4, 2007
WordPress 2.5.1 - Apr 26, 2008
wordpress 2.5 brecker官方详细介绍 - Mar 30, 2008
WordPress 2.5 SNEAK PEEK - Mar 18, 2008
升级WordPress主题使支持Widgets - Mar 14, 2008
有用的WordPress插件 - Nov 9, 2007
新主题Illacrimo - Nov 4, 2007
Upgrade blog to WordPress 2.3 - Sep [...]]]></description>
			<content:encoded><![CDATA[<p>现在的主题已经使用快一个月了，还没正式介绍一下。</p>
<p>这是一个基于WordPress默认主题K2修改、移植<a href="http://boxwish.com/" target="_blank">Boxwish</a>的主题，其设计出自<a href="http://kyanmedia.com/" target="_blank">Kyan</a>之手；也是我使用WordPress一年多以来自己动手的第一款主题，就叫Wishing Box吧。期间有几个网友留言或发信问我能否分享这个主题，因<a href="http://boxwish.com/" target="_blank">Boxwish</a>是商业网站，我也是未得到对方许可便私自移植了，所以<strong>不便传播，请见谅</strong>。</p>
<p>以下可能是主题中大家比较感兴趣的地方：</p>
<ul>
<li>顶部滑动显隐的工具条。这是用jQuery实现，初接触jQuery，对jQuery的函数不太了解，代码写得很累赘，就不在这丢人现眼了。</li>
<li>文章标题前作者头像的调用。这个比较适合多用户博客，单用户就没必要了，现在<a href="http://www.gravatar.com/" target="_blank">Gravatar</a>在国内的载入速度还是很不理想。通过WordPress内置的get_avatar函数就可以实现：<br />
<code>&lt;?php echo get_avatar( get_the_author_id(), 48 , get_bloginfo('template_url').'/images/AvatarDefault.jpg' ); ?&gt;</code></li>
<li>sidebar上最新评论头像的调用参考<a title="ThinkElegant WordPress Theme" href="http://www.thinknext.net/thinkelegant-theme" target="_blank">ThinkElegant WordPress   Theme</a>，应该还有其它类似的插件，参看<a href="http://www.underone.com/2008/07/30/wordpress-theme-g7v6-final/" target="_blank">G7v6</a>。</li>
<li>……</li>
</ul>
<p>应该就这些了吧。</p>
<p><a href="http://palmback.cn/2008/10/wishing-box-wordpress-theme/"><img class="alignnone" title="wishing box wordpress theme" src="http://palmback.cn/wp-content/themes/WishingBox/screenshot.png" alt="" width="300" height="225" /></a><br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://palmback.cn/2007/11/wordpress-theme-hacks/" title="WordPress主题高级技巧">WordPress主题高级技巧</a> - Nov 4, 2007</li>
<li><a href="http://palmback.cn/2008/04/wordpress-251/" title="WordPress 2.5.1">WordPress 2.5.1</a> - Apr 26, 2008</li>
<li><a href="http://palmback.cn/2008/03/wordpress-2.5-brecker/" title="wordpress 2.5 brecker官方详细介绍">wordpress 2.5 brecker官方详细介绍</a> - Mar 30, 2008</li>
<li><a href="http://palmback.cn/2008/03/wordpress-2.5-sneak-peek/" title="WordPress 2.5 SNEAK PEEK">WordPress 2.5 SNEAK PEEK</a> - Mar 18, 2008</li>
<li><a href="http://palmback.cn/2008/03/widgetizing-themes/" title="升级WordPress主题使支持Widgets">升级WordPress主题使支持Widgets</a> - Mar 14, 2008</li>
<li><a href="http://palmback.cn/2007/11/useful-wordpress-plugins/" title="有用的WordPress插件">有用的WordPress插件</a> - Nov 9, 2007</li>
<li><a href="http://palmback.cn/2007/11/new-blog-theme-illacrimo/" title="新主题Illacrimo">新主题Illacrimo</a> - Nov 4, 2007</li>
<li><a href="http://palmback.cn/2007/09/upgrade-blog-to-wordpress-23/" title="Upgrade blog to WordPress 2.3">Upgrade blog to WordPress 2.3</a> - Sep 25, 2007</li>
<li><a href="http://palmback.cn/2007/09/wordpress-2.3/" title="WordPress 2.3 “Dexter”">WordPress 2.3 “Dexter”</a> - Sep 25, 2007</li>
<li><a href="http://palmback.cn/2007/09/wordpress-23-release-candidate-1/" title="WordPress 2.3 Release Candidate 1">WordPress 2.3 Release Candidate 1</a> - Sep 19, 2007</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://palmback.cn/2008/10/wishing-box-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>WordPress 2.5.1</title>
		<link>http://palmback.cn/2008/04/wordpress-251/</link>
		<comments>http://palmback.cn/2008/04/wordpress-251/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 00:56:16 +0000</pubDate>
		<dc:creator>handback</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://palmback.cn/?p=639</guid>
		<description><![CDATA[今天中午打开博客，提示升级WordPress 2.5.1。
据官方介绍，WordPress 2.5.1主要是bug修复、性能改进及安全漏洞修复，推荐立即升级，特别是开放注册的博客。虽然安全漏斗不是公开的，但马上就会被黑客发现。
除了安全漏洞修复以外，WordPress 2.5.1包含许多bug修复，如果你只关心安全漏洞修复的话，你可以下载修正的拷 wp-includes/pluggable.php、 wp-admin/includes/media.php及 wp-admin/media.php，并替换现有的文件。
如果你下载完整的WordPress 2.5.1，将有 超过70个的bug被修复。WordPress 2.5.1 集中于修复令人讨厌的bug和提高性能，以下是一些亮点：

状态面板（Dashboard）、撰写文章、编辑评论页面改进；
许多类别的博客有更好的表现；
多媒体上传工具修复；
升级TinyMCE 3.0.7；
Widget管理修复；
各种可用性改进；
IE布局修复。

博客的隐私生活（Secret lives of blogs）
从WordPress 2.5 开始，wp-config.php中允许一个新的常量叫 SECRET_KEY，主要用于引进一些持久的随机性到cookies加密函数中。你可以访问这个链接 为你的设置文件获取机密密钥。（对每个载入页面密钥是随机、唯一的。）在你的设置文件中添加此行有助于提高博客的安全性。
Related Posts

wordpress 2.5 brecker官方详细介绍 - Mar 30, 2008
Upgrade blog to WordPress 2.3 - Sep 25, 2007
主题Wishing Box - Oct 30, 2008
WordPress 2.5 SNEAK PEEK - Mar 18, 2008
有用的WordPress插件 - Nov 9, 2007
WordPress主题高级技巧 - Nov 4, 2007
WordPress 2.3 [...]]]></description>
			<content:encoded><![CDATA[<p>今天中午打开博客，提示升级WordPress 2.5.1。</p>
<p>据<a href="http://wordpress.org/development/2008/04/wordpress-251/" target="_blank">官方介绍</a>，WordPress 2.5.1主要是bug修复、性能改进及安全漏洞修复，推荐立即升级，特别是开放注册的博客。虽然安全漏斗不是公开的，但马上就会被黑客发现。</p>
<p>除了安全漏洞修复以外，WordPress 2.5.1包含许多bug修复，如果你只关心安全漏洞修复的话，你可以下载修正的拷 <a href="http://trac.wordpress.org/browser/tags/2.5.1/wp-includes/pluggable.php?format=raw">wp-includes/pluggable.php</a>、 <a href="http://trac.wordpress.org/browser/tags/2.5.1/wp-admin/includes/media.php?format=raw">wp-admin/includes/media.php</a>及 <a href="http://trac.wordpress.org/browser/tags/2.5.1/wp-admin/media.php?format=raw">wp-admin/media.php</a>，并替换现有的文件。</p>
<p>如果你下载完整的WordPress 2.5.1，将有 <a href="http://trac.wordpress.org/query?status=closed&amp;milestone=2.5.1&amp;resolution=fixed&amp;order=priority">超过70个的bug被修复</a>。WordPress 2.5.1 集中于修复令人讨厌的bug和提高性能，以下是一些亮点：</p>
<ul>
<li>状态面板（Dashboard）、撰写文章、编辑评论页面改进；</li>
<li>许多类别的博客有更好的表现；</li>
<li>多媒体上传工具修复；</li>
<li>升级TinyMCE 3.0.7；</li>
<li>Widget管理修复；</li>
<li>各种可用性改进；</li>
<li>IE布局修复。</li>
</ul>
<h4>博客的隐私生活（Secret lives of blogs）</h4>
<p>从WordPress 2.5 开始，wp-config.php中允许一个新的常量叫 SECRET_KEY，主要用于引进一些持久的随机性到cookies加密函数中。你可以<a href="http://api.wordpress.org/secret-key/1.0/">访问这个链接</a> 为你的设置文件获取机密密钥。（对每个载入页面密钥是随机、唯一的。）在你的设置文件中添加此行有助于提高博客的安全性。<br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://palmback.cn/2008/03/wordpress-2.5-brecker/" title="wordpress 2.5 brecker官方详细介绍">wordpress 2.5 brecker官方详细介绍</a> - Mar 30, 2008</li>
<li><a href="http://palmback.cn/2007/09/upgrade-blog-to-wordpress-23/" title="Upgrade blog to WordPress 2.3">Upgrade blog to WordPress 2.3</a> - Sep 25, 2007</li>
<li><a href="http://palmback.cn/2008/10/wishing-box-wordpress-theme/" title="主题Wishing Box">主题Wishing Box</a> - Oct 30, 2008</li>
<li><a href="http://palmback.cn/2008/03/wordpress-2.5-sneak-peek/" title="WordPress 2.5 SNEAK PEEK">WordPress 2.5 SNEAK PEEK</a> - Mar 18, 2008</li>
<li><a href="http://palmback.cn/2007/11/useful-wordpress-plugins/" title="有用的WordPress插件">有用的WordPress插件</a> - Nov 9, 2007</li>
<li><a href="http://palmback.cn/2007/11/wordpress-theme-hacks/" title="WordPress主题高级技巧">WordPress主题高级技巧</a> - Nov 4, 2007</li>
<li><a href="http://palmback.cn/2007/09/wordpress-2.3/" title="WordPress 2.3 “Dexter”">WordPress 2.3 “Dexter”</a> - Sep 25, 2007</li>
<li><a href="http://palmback.cn/2007/09/wordpress-23-release-candidate-1/" title="WordPress 2.3 Release Candidate 1">WordPress 2.3 Release Candidate 1</a> - Sep 19, 2007</li>
<li><a href="http://palmback.cn/2007/09/akismet-gfwed/" title="Akismet GFWed导致WordPress评论乱码">Akismet GFWed导致WordPress评论乱码</a> - Sep 10, 2007</li>
<li><a href="http://palmback.cn/2007/09/wordpress-223-released/" title="WordPress 2.2.3 released">WordPress 2.2.3 released</a> - Sep 8, 2007</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://palmback.cn/2008/04/wordpress-251/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress 2.5 brecker官方详细介绍</title>
		<link>http://palmback.cn/2008/03/wordpress-2.5-brecker/</link>
		<comments>http://palmback.cn/2008/03/wordpress-2.5-brecker/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 11:58:02 +0000</pubDate>
		<dc:creator>handback</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wordpress 2.5 brecker]]></category>

		<guid isPermaLink="false">http://palmback.cn/2008/03/wordpress-2.5-brecker/</guid>
		<description><![CDATA[昨天下午刚刚安装测试了一下WordPress  2.5 RC3，晚上11点多打开WordPress官方主页——WordPress.org已经焕然一新，界面配色和2.5的后台完全匹配，更重要的是页面上赫然写着"Download WordPress 2.5"，这离RC3仅几个小时。比起RC1的介绍和RC2的屏幕录像，2.5正式版的介绍可真相史诗那么长。本来我已经不打算翻译了，感觉意义不大；但今天起来又有点心情，经过几个小时的时间，你现在看到的译文产生了。
你现在看到的Palmback·菜园地并未升级到WordPress 2.5，考虑到近段时间可能会更换主机，所以暂不升级了。还是犹豫——国外虽然限制更少一些，不过速度上却有点滞后……对于新版的的WordPress，我也不想做任何评价。在我看来，新事物都是在进步，这种进步是不以开始的时候人们对她的态度而改变的。
以下为WordPress 2.5译文：
经过WordPress六个月的工作，终于迎来了WordPress 2.5。WordPress 2.5的改进数不胜数，而且几乎完全是以用户反馈为依据：文件批量上传、一键插件升级、内建相册、可定制面板、密码增强和cookie加密、媒体库、不会弄乱代码的所见即所得编辑器、并行编辑保护、全屏编辑以及包含文章和页面的搜索。
WordPress 2.5 新功能截图概览，请访问 	WordPress 2.5 RC1  	发布公告，或者查看四分钟的新界面操作屏幕录像  	。如果你想直接使用正式版，你可以在这里找到 	WordPress2.5升级和下载信息。
如果你想详细了解WordPress2.5的功能，我需要一杯咖啡或者莫吉托，因为这篇介绍新功能的文章像史诗般冗长。
用户功能
简洁、快速、有序的状态面板 — 我们尽量根据用户反馈来确定状态面板中什么是最重要的，重新组织模块让用户以一种新的方式关注Blog的主要信息。从1.5版开始，WordPress团队与 	Happy Cog合作，在WordPress界面上向前迈出了关键的第一步。
Dashboard Widgets（状态面板小工具） —  	状态面板首页现在由一系列的widgets组成，包括显示博客发表状态、最新评论、来访链接、最新最受欢迎及更新的插件、WordPress新闻。用户可以自定义任一个状态面板的小工具，比如用用户本地新闻替代WordPress新闻。插件也可以嵌入到状态面板中，例如WordPress.com stats  	widget 添加一个双倍宽的状态栏。

显示进度条的文件批量上传 —  	以前用户上传大文件时只能等着，无从知道上传将持续多长时间。上传多张照片简直就是在考验用户耐心，因为你一次仅可以传一张。现在你可以一次性选择整个文件夹的图片、音乐或者视频，而且还会显示每个文件上传的进度。
惊喜：EXIF提取—如果你上传的JPEG文件包含EXIF（Exchangeable image 	file format-可交换图像文件）诸如相机厂商及型号、光圈、快门速度、ISO（感光度）等元数据，WordPress将提取所有信息到自定义域（custom fields），你可以在你的模板中使用。你使用的EXIF标题域及与之相似的将被存储到WordPress相同的域中。几乎全部现代的数码相机都生成EXIF数据。
搜索文章和页面 —搜索以前只涉及文章，现在也包含页面，这对用WordPress作CMS（内容管理系统）的用户带来极大的好处。新主题可以设计或排序不同的页面。
Tag管理 —  	现在用户可以在WordPress中方便地管理Tag，添加、重命名、删除以及其他操作，不再需要任何插件。
密码强度测量 — 用户在个人资料中更改密码时，会显示密码强度以帮助用户获取一个更安全的密码。
并行编辑保护 —  	对于多作者博客而言，你是否遇到打开一篇文章时有人已经在编辑它，而且自动保存持续覆盖彼此的内容，几个小时的工作无法挽回的情况？我敢打赌发生过这样的事情。现在如果你打开一篇其他用户正在编辑的文章，WordPress将锁定文章并阻止你保存，直到其他用户完成为止。你会看到如下消息。

点击升级插件 —  	如果你使用插件库的插件，从2.3开始当有可用更新时WordPress便会通知你。现在我们顺理成章地采取了下一步——为你下载、安装更新。这有点依赖用户的主机设置，OS  	X可能要求用户输入FTP密码，Windows可能要求输入密码，但是在我们力所能及的主机测试中运行良好，你的主机可能正好，镜像里的插件可能比显示的要大。
更友善的可视编辑器 —  [...]]]></description>
			<content:encoded><![CDATA[<p>昨天下午刚刚安装测试了一下WordPress  2.5 RC3，晚上11点多打开WordPress官方主页——WordPress.org已经焕然一新，界面配色和2.5的后台完全匹配，更重要的是页面上赫然写着"Download WordPress 2.5"，这离RC3仅几个小时。比起<a href="http://palmback.cn/2008/03/wordpress-2.5-sneak-peek">RC1的介绍</a>和RC2的屏幕录像，2.5正式版的介绍可真相史诗那么长。本来我已经不打算翻译了，感觉意义不大；但今天起来又有点心情，经过几个小时的时间，你现在看到的译文产生了。</p>
<p>你现在看到的Palmback·菜园地并未升级到WordPress 2.5，考虑到近段时间可能会更换主机，所以暂不升级了。还是犹豫——国外虽然限制更少一些，不过速度上却有点滞后……对于新版的的WordPress，我也不想做任何评价。在我看来，新事物都是在进步，这种进步是不以开始的时候人们对她的态度而改变的。</p>
<p>以下为<a href="http://wordpress.org/development/2008/03/wordpress-25-brecker/" target="_blank">WordPress 2.5</a>译文：</p>
<p>经过WordPress六个月的工作，终于迎来了WordPress 2.5。WordPress 2.5的改进数不胜数，而且几乎完全是以用户反馈为依据：文件批量上传、一键插件升级、内建相册、可定制面板、密码增强和cookie加密、媒体库、不会弄乱代码的所见即所得编辑器、并行编辑保护、全屏编辑以及包含文章和页面的搜索。</p>
<p>WordPress 2.5 新功能截图概览，请访问 	<a href="http://palmback.cn/2008/03/wordpress-2.5-sneak-peek">WordPress 2.5 RC1  	发布公告</a>，或者查看<a href="http://wordpress.org/development/2008/03/wordpress-25-rc2/">四分钟的新界面操作屏幕录像  	</a>。如果你想直接使用正式版，你可以在这里找到<a href="http://wordpress.org/download/"> 	WordPress2.5升级和下载信息</a>。</p>
<p>如果你想详细了解WordPress2.5的功能，我需要一杯咖啡或者莫吉托，因为这篇介绍新功能的文章像史诗般冗长。</p>
<h4>用户功能</h4>
<p><strong>简洁、快速、有序的状态面板</strong> — 我们尽量根据用户反馈来确定状态面板中什么是最重要的，重新组织模块让用户以一种新的方式关注Blog的主要信息。从1.5版开始，WordPress团队与<a href="http://happycog.com/"> 	Happy Cog</a>合作，在WordPress界面上向前迈出了关键的第一步。</p>
<p><strong>Dashboard Widgets（状态面板小工具）</strong> —  	状态面板首页现在由一系列的widgets组成，包括显示博客发表状态、最新评论、来访链接、最新最受欢迎及更新的插件、WordPress新闻。用户可以自定义任一个状态面板的小工具，比如用用户本地新闻替代WordPress新闻。插件也可以嵌入到状态面板中，例如<a href="http://wordpress.org/extend/plugins/stats/">WordPress.com stats  	widget</a> 添加一个双倍宽的状态栏。</p>
<p><a href="http://picasaweb.google.com/hegfirose/WPContent/photo#5183509669825140434" title="wordpress-stats-widget"><img src="http://lh6.google.com/hegfirose/R--GlM-61tI/AAAAAAAABRc/0bS_KkCRWFY/s400/stats-widget.png" alt="wordpress-stats-widget" /></a></p>
<p><strong>显示进度条的文件批量上传</strong> —  	以前用户上传大文件时只能等着，无从知道上传将持续多长时间。上传多张照片简直就是在考验用户耐心，因为你一次仅可以传一张。现在你可以一次性选择整个文件夹的图片、音乐或者视频，而且还会显示每个文件上传的进度。</p>
<p><strong>惊喜：EXIF提取</strong>—如果你上传的JPEG文件包含EXIF（Exchangeable image 	file format-可交换图像文件）诸如相机厂商及型号、光圈、快门速度、ISO（感光度）等元数据，WordPress将提取所有信息到自定义域（custom fields），你可以在你的模板中使用。你使用的EXIF标题域及与之相似的将被存储到WordPress相同的域中。几乎全部现代的数码相机都生成EXIF数据。</p>
<p><strong>搜索文章和页面</strong> —搜索以前只涉及文章，现在也包含页面，这对用WordPress作CMS（内容管理系统）的用户带来极大的好处。新主题可以设计或排序不同的页面。</p>
<p><strong>Tag管理</strong> —  	现在用户可以在WordPress中方便地管理Tag，添加、重命名、删除以及其他操作，不再需要任何插件。</p>
<p><strong>密码强度测量</strong> — 用户在个人资料中更改密码时，会显示密码强度以帮助用户获取一个更安全的密码。</p>
<p><strong>并行编辑保护</strong> —  	对于多作者博客而言，你是否遇到打开一篇文章时有人已经在编辑它，而且自动保存持续覆盖彼此的内容，几个小时的工作无法挽回的情况？我敢打赌发生过这样的事情。现在如果你打开一篇其他用户正在编辑的文章，WordPress将锁定文章并阻止你保存，直到其他用户完成为止。你会看到如下消息。</p>
<p><a href="http://picasaweb.google.com/hegfirose/WPContent/photo#5183509669825140450" title="write-currently-editing"><img src="http://lh6.google.com/hegfirose/R--GlM-61uI/AAAAAAAABRk/cu4EToJqyEw/s400/write-currently-editing.png" alt="write-currently-editing" /></a></p>
<p><strong>点击升级插件</strong> —  	如果你使用插件库的插件，从2.3开始当有可用更新时WordPress便会通知你。现在我们顺理成章地采取了下一步——为你下载、安装更新。这有点依赖用户的主机设置，OS  	X可能要求用户输入FTP密码，Windows可能要求输入密码，但是在我们力所能及的主机测试中运行良好，你的主机可能正好，镜像里的插件可能比显示的要大。</p>
<p><strong>更友善的可视编辑器</strong> —  	我不确定怎样确切地说明这一改进，只能说：它不会再弄乱你的代码。我们现在使用更好兼容Safari的3.0版TinyMCE,  	而且我们特别关注这个版本与复杂的HTML的整合与互动。同时还具有把浏览器变成写作空间的全屏模式。</p>
<p><strong>内建相册</strong> — 当你充分利用批量文件上传来上传大量照片时，只要简单地输入<strong></strong>即可让你在文章中嵌入相册。相册将显示缩略图和标题并链接到访客可以对单个照片发表评论的页面。我已经在我的blog中使用这个功能而且已经上传了超过 	<a href="http://ma.tt/category/gallery/">1200张图片到23个相册</a>。<strong></strong>还有一些隐藏的选项，详情 	<a href="http://codex.wordpress.org/Using_the_gallery_shortcode">查看这篇文档</a>。</p>
<h4>开发人员功能</h4>
<p>现在开始令人讨厌的工作。当我们为以上功能兴奋的同时，对其他开发者而言，每一个功能代表着能把他们带到另一个水平的一个新机会或API。（其中最优秀的特性将被整合到WordPress中。）</p>
<p><strong>密码加密（Salted passwords）</strong> — 我们现在使用<a href="http://www.openwall.com/phpass/">phpass</a>库加密存储在数据库中的密码，以此使暴力破解失效。如果你使用类似 	<a href="http://modauthmysql.sourceforge.net/">mod_auth_mysql</a>的工具，我们<a href="http://wordpress.org/extend/plugins/md5-password-hashes/">开发了一个插件允许你使用原有的MD5散列</a>。（散列法是完全可以插入的）用户下次登录时将自动切换到更安全的密码。</p>
<p><strong>安全的cookies</strong> — cookies现在居于<a href="http://www.cse.msu.edu/~alexliu/publications/Cookie/cookie.pdf">这个PDF文档中</a>描述的方法加密，诸如 <code>user name|expiration  	time|HMAC( user name|expiration time, k)</code>  <code>k = HMAC(user  	name|expiration time, sk)</code>，其中<code>sk</code>是一个可以自定义设置的密钥。</p>
<p><strong>简易分类和URL构造</strong> — 例子也许是最好的说明：我可以调有几个参数的函数<code>register_taxonomy()</code>注册“people”分类，并且无论我什么时候编辑图片我将看到一个类似于tag的UI，通过照片来识别，用 <code>/person/firstname-lastname/</code>是URL可寻址的。这全部集中于单个函数调用。</p>
<p><strong>内嵌文档</strong> — 大多数WordPress加入的新代码包含内嵌文档，解释说明函数及参数。</p>
<p><strong>数据库优化</strong> —  	这一版本中我们未改变数据表设计，这是如此多的插件在2.5中运行良好的原因之一。我们添加了一些新的指数，基于在已有207万用户的WordPress.com中发现的一些瓶颈，我们标记了一些默认域使其更灵活。这对应用程序是无形的，仅是数据库方面更快一点。</p>
<p><strong>$wpdb-&gt;prepare()</strong> — 现在几乎所有WordPress中的SQL已经准备好，相同的函数在你的插件中可用。这能防止基本的SQL溢出问题。</p>
<p><strong>多媒体按钮</strong> — 编辑框上面的添加媒体按钮都是可扩展的，所以如果愿意你可以添加一个“Add Google Map”按钮。你可以拒绝这些按钮，如如果你觉得你可以把视频或者音频按钮做得比我们好，你可以替换默认的。</p>
<p><strong>Shortcode API</strong> — 新的相册功能由新的shortcode API驱动。Shortcodes是括号描绘的（bracket-delineated）字符串，它能神奇地扩展成更有趣的东西，给用户带来简短、易于输入及拷贝/粘贴的字符，用户可以在文章中随意放置而不用担心弄乱复杂的HTML或者嵌入的代码。<a href="http://codex.wordpress.org/Shortcode_API">Shortcode API全文</a></p>
<p>现在你知道为什么WordPress 2.5 花费了那么多时间了吧。</p>
<h4>升级指南</h4>
<p><a href="http://codex.wordpress.org/Upgrading_WordPress">这个版本的升级说明和其他版本没什么大的区别</a>。最重要的是检查你的插件，假如除新的上传页面外所有的东西运行良好，那么可能是原来的插件导致javascript错误破坏了它。如果遇到问题，最安全的做法是禁用所有的插件（我们已经提供一个按钮关闭所有插件），然后一个一个依次启用，以在这个过程中发现问题所在。这几乎解决了每个人在测试中遇到的问题，这也可以让你知道哪个插件的作者应该更新他们的插件了；如果他们已经更新了，你可以在你的blog中赞赏他们一番。</p>
<p>关于新的上传页面和插件升级功能的简短说明，一些过失的主机平台比如Lighttpd  	1.5以前的版本或者过于严厉的安全规则可能破坏新功能。假如某些功能不像截图一样运行，询问你的主机商，以解决服务器方面存在的干扰。主机商如果有一个环境需要加入额外的代码才能工作，可以自由加入并发送到 	<a href="http://lists.automattic.com/mailman/listinfo/wp-testers">WordPress测试者邮件列表</a>  	。我们很乐意在下一个更新中添加。</p>
<p><em>快速提示:</em>在WordPress 2.5中你可以点击对象的名字进行编辑，比如点击你的用户名编辑你的个人资料，或者点击文章标题编辑文章。</p>
<h4>WordPress团队在成长</h4>
<p>（部分省略）</p>
<p>WordPress 2.5 的代号是 “Brecker”以纪念<a href="http://en.wikipedia.org/wiki/Michael_Brecker">Michael Brecker</a>，一个才华横溢的萨克斯演奏家，他自如地变换风格而且从未停止尝试，一生投身于萨克斯演奏直至去年去世。</p>
<h4>焕然一新的<a href="http://wordpress.org/" target="_blank" title="WordPress Offical">WordPress.org</a></h4>
<p>在我们的空闲时间，我们决定重新设计WordPress.org，使其在视觉风格上与新的状态面板相匹配，也使一些区域看起来更加时尚。站点的一些部分比如Codex还要以旧风格显示一两天——再给我们一点点时间。</p>
<h4>下一步计划</h4>
<p>一如既往的WordPress，我们不要求任何一个功能是完美的或者优于世界上的其他人，但是这些功能被开发出来并被用户所采用，我们的承诺：聆听用户反馈，竭尽全力改善WordPress。</p>
<p>2.5是WordPress的一个里程碑，不仅因为它增加了许多用户要求的功能，而且它重申：我们blogging的热情仍然和开始一样。我们的团队不会因为即已取得的荣耀而却步——和学者宣称的相反，blogging离“finished”还很远，每一个改进仅仅引起我们更多改进欲望的开胃品，更多的功能将会来临。</p>
<p>还好WordPress不限制文章的长度，不然这篇文章要遇到问题。今天到此为止，感谢你与我们分享一天的一段时光。我衷心希望新版本的WordPress能帮助做你喜欢做的事情。</p>
<p>via：<a href="http://wordpress.org/development/2008/03/wordpress-25-brecker/" target="_blank"><strong>WordPress 2.5</strong></a><br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://palmback.cn/2008/04/wordpress-251/" title="WordPress 2.5.1">WordPress 2.5.1</a> - Apr 26, 2008</li>
<li><a href="http://palmback.cn/2007/09/upgrade-blog-to-wordpress-23/" title="Upgrade blog to WordPress 2.3">Upgrade blog to WordPress 2.3</a> - Sep 25, 2007</li>
<li><a href="http://palmback.cn/2008/10/wishing-box-wordpress-theme/" title="主题Wishing Box">主题Wishing Box</a> - Oct 30, 2008</li>
<li><a href="http://palmback.cn/2008/03/wordpress-2.5-sneak-peek/" title="WordPress 2.5 SNEAK PEEK">WordPress 2.5 SNEAK PEEK</a> - Mar 18, 2008</li>
<li><a href="http://palmback.cn/2007/11/useful-wordpress-plugins/" title="有用的WordPress插件">有用的WordPress插件</a> - Nov 9, 2007</li>
<li><a href="http://palmback.cn/2007/11/wordpress-theme-hacks/" title="WordPress主题高级技巧">WordPress主题高级技巧</a> - Nov 4, 2007</li>
<li><a href="http://palmback.cn/2007/09/wordpress-2.3/" title="WordPress 2.3 “Dexter”">WordPress 2.3 “Dexter”</a> - Sep 25, 2007</li>
<li><a href="http://palmback.cn/2007/09/wordpress-23-release-candidate-1/" title="WordPress 2.3 Release Candidate 1">WordPress 2.3 Release Candidate 1</a> - Sep 19, 2007</li>
<li><a href="http://palmback.cn/2007/09/akismet-gfwed/" title="Akismet GFWed导致WordPress评论乱码">Akismet GFWed导致WordPress评论乱码</a> - Sep 10, 2007</li>
<li><a href="http://palmback.cn/2007/09/wordpress-223-released/" title="WordPress 2.2.3 released">WordPress 2.2.3 released</a> - Sep 8, 2007</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://palmback.cn/2008/03/wordpress-2.5-brecker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.5 SNEAK PEEK</title>
		<link>http://palmback.cn/2008/03/wordpress-2.5-sneak-peek/</link>
		<comments>http://palmback.cn/2008/03/wordpress-2.5-sneak-peek/#comments</comments>
		<pubDate>Tue, 18 Mar 2008 13:42:59 +0000</pubDate>
		<dc:creator>handback</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress 2.5 SNEAK PEEK]]></category>

		<guid isPermaLink="false">http://palmback.cn/2008/03/wordpress-2.5-sneak-peek/</guid>
		<description><![CDATA[WordPress官方发布了WordPress 2.5 SNEAK PEEK RC1，有许多令人期待的新功能。请看Matt的介绍（译文）吧。
可定制的Dashboard、批量文件上传、内置画廊、一键升级插件、tag管理、内置Gravatar、全文feed输出以及更快的载入速度，听起来很吸引人吧？WordPress 2.5将包含以上新功能。它已经烤制一段时间了，我们终于准备打开门让你尝尝鲜。
过去的几个月，我们一直与我们Happy Cog（一个网页设计工作室）的朋友—— Jeffrey Zeldman、Jason Santa Maria及Liz Danzico重新设计WordPress。WordPress新的交互方式将对有经验的用户保持亲切感，同时提高用户体验  	。这不仅仅是一件光鲜的外衣，我们重新考虑WordPress的外观以及如何更加条理化，使你忘记软件、聚焦于你的创造性追求。
下面是一些即将来临版本的插图介绍：
Dashboard（状态面板）

Dashboard是WordPress最重要的角色之一，通过它可以快速了解博客状态、到达你想去的管理界面中。在访问用户的过程中，我们发现大多数用户完全忽略了Dashboard——因为有用的信息几乎被隐藏于过度复杂的设计中。新的Dashboard聚焦于用户手头最相关的任务：已发表文章和订阅主题的快速概览、最新评论及来访源链接  、博客状态以及WordPress更新和新闻。你还可以添加自己的RSS feeds并编辑其显示方式，以便新的Dashboard顺应你使用WordPress的方式。
Navigation（导航）

WordPress的导航曾经搞得用户很狼狈，即便有经验的用户。新的设计我们把导航选项减半，把主要功能（撰写、管理文章和页面、编辑博客设计、管理评论）从次要功能中分离出来，使信息以更舒服的格调呈现，仅显示必要的信息。你需要的所有东西都在这，只是更加条理化。（特别是对WP新手们）
Write


到目前为止，撰写日志页面是WordPress中访问最频繁的一部分。它可以完成工作，但是过多的选项足以让人感到沮丧。新的撰写页面只显示最常使用的信息，显示最常用领域的方式使发表难以置信的容易。不需要的时候附加选项都是隐藏的。新的撰写页面预期你自然的撰写方式，它可以聪明地记住你的使用偏好，使你钟情的撰写环境保持快速有效。新的可视化编辑器甚至有方便的全屏模式，帮助你排版最新发表文章。（我个人最喜欢的新功能）
Manage


新的管理页面已经重新设计并统一标准，管理页面、发表、多媒体、评论都是相似的、一致的界面。我们已经省略了冗余信息，使重要信息能更快的找到。我们相信这一改变将使你成为一个更快、更熟练的blogger。
你可能也注意到了一些新的色彩，Dashboard感觉更时尚、亮丽。如果你钟情把选项置于旧的外观，可以选择“classic”色彩以回到以前的颜色界面。（这也是可插入式的，人们可以方便地添加或者分享他们的配色方案。）
如果你经常备份，而且对帮助我们测试代码促进我们发展感兴趣，那就下载  安装  WordPress 2.5Release Candidate 1  ，并加入我们的测试者邮件列表以报告你发现的bug  吧。
我们对新界面的反馈也感兴趣，同时也乐意倾听你们的意见、建议、不满、愤怒以及相关的任何事，为此我们建立了一个新的电子邮件地址：2.5-feedback@wordpress.org。
WordPress 2.5  基本上完成了而且很稳定，本来今天就可以发布，但是在发布给普通公众之前我们希望得到更广泛的反馈。反馈过后几天我们会确定一个最终发布日期。就个人而言，我也很迫不及待。
via：2.5 SNEAK PEEK 
Related Posts

主题Wishing Box - Oct 30, 2008
WordPress 2.5.1 - Apr 26, 2008
wordpress 2.5 brecker官方详细介绍 - Mar 30, 2008
有用的WordPress插件 - Nov 9, 2007
WordPress主题高级技巧 [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress官方发布了WordPress 2.5 SNEAK PEEK RC1，有许多令人期待的新功能。请看<a href="http://ma.tt/" target="_blank">Matt</a>的介绍（译文）吧。</p>
<p>可定制的Dashboard、批量文件上传、内置画廊、一键升级插件、tag管理、内置Gravatar、全文feed输出以及更快的载入速度，听起来很吸引人吧？WordPress 2.5将包含以上新功能。它已经烤制一段时间了，我们终于准备打开门让你尝尝鲜。</p>
<p>过去的几个月，我们一直与我们Happy Cog（一个网页设计工作室）的朋友—— <a href="http://zeldman.com/">Jeffrey Zeldman</a>、<a href="http://jasonsantamaria.com/">Jason Santa Maria</a>及<a href="http://bobulate.com/">Liz Danzico</a>重新设计WordPress。WordPress新的交互方式将对有经验的用户保持亲切感，同时提高用户体验  	。这不仅仅是一件光鲜的外衣，我们重新考虑WordPress的外观以及如何更加条理化，使你忘记软件、聚焦于你的创造性追求。</p>
<p>下面是一些即将来临版本的插图介绍：</p>
<h4>Dashboard（状态面板）</h4>
<p><a href="http://picasaweb.google.com/hegfirose/WPContent/photo#5179072950266116354"><img src="http://lh6.google.com/hegfirose/R9_DaIpyOQI/AAAAAAAABPs/unOjvBuPN3Y/s400/dashboard-wide.png.jpg" alt="dashboard-wide.png" /></a></p>
<p>Dashboard是WordPress最重要的角色之一，通过它可以快速了解博客状态、到达你想去的管理界面中。在访问用户的过程中，我们发现大多数用户完全忽略了Dashboard——因为有用的信息几乎被隐藏于过度复杂的设计中。新的Dashboard聚焦于用户手头最相关的任务：已发表文章和订阅主题的快速概览、最新评论及来访源链接  、博客状态以及WordPress更新和新闻。你还可以添加自己的RSS feeds并编辑其显示方式，以便新的Dashboard顺应你使用WordPress的方式。</p>
<h4>Navigation（导航）</h4>
<p><a href="http://picasaweb.google.com/hegfirose/WPContent/photo#5179072950266116370"><img src="http://lh6.google.com/hegfirose/R9_DaIpyORI/AAAAAAAABP0/WR7mHv1E-SI/s400/nav-wide.png.jpg" /></a></p>
<p>WordPress的导航曾经搞得用户很狼狈，即便有经验的用户。新的设计我们把导航选项减半，把主要功能（撰写、管理文章和页面、编辑博客设计、管理评论）从次要功能中分离出来，使信息以更舒服的格调呈现，仅显示必要的信息。你需要的所有东西都在这，只是更加条理化。（特别是对WP新手们）</p>
<h4>Write</h4>
<p><a href="http://picasaweb.google.com/hegfirose/WPContent/photo#5179072954561083682"><img src="http://lh4.google.com/hegfirose/R9_DaYpyOSI/AAAAAAAABP8/jV2aa53JW-Q/s400/write-wide.png.jpg" /></a></p>
<p><a href="http://picasaweb.google.com/hegfirose/WPContent/photo#5179072954561083698"><img src="http://lh4.google.com/hegfirose/R9_DaYpyOTI/AAAAAAAABQE/OhCXqBxzmek/s400/write3.png.jpg" /></a></p>
<p>到目前为止，撰写日志页面是WordPress中访问最频繁的一部分。它可以完成工作，但是过多的选项足以让人感到沮丧。新的撰写页面只显示最常使用的信息，显示最常用领域的方式使发表难以置信的容易。不需要的时候附加选项都是隐藏的。新的撰写页面预期你自然的撰写方式，它可以聪明地记住你的使用偏好，使你钟情的撰写环境保持快速有效。新的可视化编辑器甚至有方便的全屏模式，帮助你排版最新发表文章。（我个人最喜欢的新功能）</p>
<h4>Manage</h4>
<p><a href="http://picasaweb.google.com/hegfirose/WPContent/photo#5179072958856051010"><img src="http://lh4.google.com/hegfirose/R9_DaopyOUI/AAAAAAAABQM/H9Pb4YeU_bI/s400/manage-wide.png.jpg" /></a></p>
<p><a href="http://picasaweb.google.com/hegfirose/WPContent/photo#5179072958856051026"><img src="http://lh4.google.com/hegfirose/R9_DaopyOVI/AAAAAAAABQU/L_O3uiaukZc/s400/manage.png.jpg" /></a></p>
<p>新的管理页面已经重新设计并统一标准，管理页面、发表、多媒体、评论都是相似的、一致的界面。我们已经省略了冗余信息，使重要信息能更快的找到。我们相信这一改变将使你成为一个更快、更熟练的blogger。</p>
<p>你可能也注意到了一些新的色彩，Dashboard感觉更时尚、亮丽。如果你钟情把选项置于旧的外观，可以选择“classic”色彩以回到以前的颜色界面。（这也是可插入式的，人们可以方便地添加或者分享他们的配色方案。）</p>
<p>如果你经常备份，而且对帮助我们测试代码促进我们发展感兴趣，那就<a href="http://wordpress.org/wordpress-2.5-RC1.zip">下载</a>  安装  <a href="http://wordpress.org/wordpress-2.5-RC1.zip">WordPress 2.5Release Candidate 1</a>  ，并<a href="http://lists.automattic.com/mailman/listinfo/wp-testers">加入我们的测试者邮件列表</a>以报告你发现的bug  吧。</p>
<p>我们对新界面的反馈也感兴趣，同时也乐意倾听你们的意见、建议、不满、愤怒以及相关的任何事，为此我们建立了一个新的电子邮件地址：<a href="mailto:2.5-feedback@wordpress.org">2.5-feedback@wordpress.org</a>。</p>
<p>WordPress 2.5  基本上完成了而且很稳定，本来今天就可以发布，但是在发布给普通公众之前我们希望得到更广泛的反馈。反馈过后几天我们会确定一个最终发布日期。就个人而言，我也很迫不及待。</p>
<p>via：<a href="http://wordpress.org/development/2008/03/25-sneak-peek/" target="_blank">2.5 SNEAK PEEK </a><br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://palmback.cn/2008/10/wishing-box-wordpress-theme/" title="主题Wishing Box">主题Wishing Box</a> - Oct 30, 2008</li>
<li><a href="http://palmback.cn/2008/04/wordpress-251/" title="WordPress 2.5.1">WordPress 2.5.1</a> - Apr 26, 2008</li>
<li><a href="http://palmback.cn/2008/03/wordpress-2.5-brecker/" title="wordpress 2.5 brecker官方详细介绍">wordpress 2.5 brecker官方详细介绍</a> - Mar 30, 2008</li>
<li><a href="http://palmback.cn/2007/11/useful-wordpress-plugins/" title="有用的WordPress插件">有用的WordPress插件</a> - Nov 9, 2007</li>
<li><a href="http://palmback.cn/2007/11/wordpress-theme-hacks/" title="WordPress主题高级技巧">WordPress主题高级技巧</a> - Nov 4, 2007</li>
<li><a href="http://palmback.cn/2007/09/upgrade-blog-to-wordpress-23/" title="Upgrade blog to WordPress 2.3">Upgrade blog to WordPress 2.3</a> - Sep 25, 2007</li>
<li><a href="http://palmback.cn/2007/09/wordpress-2.3/" title="WordPress 2.3 “Dexter”">WordPress 2.3 “Dexter”</a> - Sep 25, 2007</li>
<li><a href="http://palmback.cn/2007/09/wordpress-23-release-candidate-1/" title="WordPress 2.3 Release Candidate 1">WordPress 2.3 Release Candidate 1</a> - Sep 19, 2007</li>
<li><a href="http://palmback.cn/2007/09/akismet-gfwed/" title="Akismet GFWed导致WordPress评论乱码">Akismet GFWed导致WordPress评论乱码</a> - Sep 10, 2007</li>
<li><a href="http://palmback.cn/2007/09/wordpress-223-released/" title="WordPress 2.2.3 released">WordPress 2.2.3 released</a> - Sep 8, 2007</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://palmback.cn/2008/03/wordpress-2.5-sneak-peek/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>升级WordPress主题使支持Widgets</title>
		<link>http://palmback.cn/2008/03/widgetizing-themes/</link>
		<comments>http://palmback.cn/2008/03/widgetizing-themes/#comments</comments>
		<pubDate>Fri, 14 Mar 2008 14:17:11 +0000</pubDate>
		<dc:creator>handback</dc:creator>
				<category><![CDATA[Sharing]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Widgetizing]]></category>
		<category><![CDATA[WordPress Theme]]></category>

		<guid isPermaLink="false">http://palmback.cn/2008/03/widgetizing-themes/</guid>
		<description><![CDATA[昨天花了点时间把主题升级了一下，使之支持Widgets，其实就是在sidebar.php和functions.php里加了几行代码。参考WordPress官方的一篇文章，顺手翻译了一下，以直译为主，感觉很别扭，这也许也是我不愿看中文配音的外语片的原因吧。
Widgetizing Themes
这个页面包含了关于升级主题使之能使用widgets（小工具）的技术指南。大多主题能在5到10分钟完成升级。其他主题要花费一两个小时以完成所有的操作。一些主题不管你怎么做都看起来很糟糕。这个文档只负责基本的PHP编辑技巧，但你可能没有必要自己写任何代码。
我是一个主题作者，怎么所有邮件都是要求我升级主题的？
你应该感到高兴他们喜欢你的主题，联系你比更换使用别人的主题好。干得好，使用户满意！现在我们正在使这个插件可用，以示WordPress团队如何喜欢它，同时也给人们写widgets的机会。如果一切进展顺利，这个功能将整合到标准的WordPress分布，任何不支持widgets的主题也将支持，如果你不相信我们的预言，（你的主题）很快就会过失。
我们很抱歉如果这看起来有威胁意味。它伤害我们比伤害你多。请修正你的主题吧。
我投降。我怎么修正我的主题？
首先你应该问自己：我了解关于我的主题吗？它是用无序列表创建边栏的吗？（如果你不能回答以上问题，那在这项任务中你需要深入的帮助，这通常以为着你要支付某人很多钱，或者爽快地到论坛请教吧。更好的，你可以学习HTML。抱歉，我们这不教这个。）
这是一个很好的边栏标签的例子：
&#60;ul id="sidebar"&#62;
&#60;li id="about"&#62;
&#60;h2&#62;About&#60;/h2&#62;
&#60;p&#62;This is my blog.&#60;/p&#62;
&#60;/li&#62;
&#60;li id="links"&#62;
&#60;h2&#62;Links&#60;/h2&#62;
&#60;ul&#62;
&#60;li&#62;&#60;a href="http://example.com"&#62;Example&#60;/a&#62;&#60;/li&#62;
&#60;/ul&#62;
&#60;/li&#62;
&#60;/ul&#62;注意整个边栏是一个无序列表，而且标题都在&#60;h2&#62;标记里。并非每个主题都这样构建边栏的，也没必要这样做，但是据我观察这是目前主题边栏普遍的标记法，所以我采用了。id=”links”的元素等价于一个基本的小工具（widget）。
激活后，动态边栏插件给你的模板一些类似于模板标记的功能。这些功能使WordPress用一个动态的边栏替代主题的默认边栏，如果禁用插件或者移除所有的小工具，那么动态边栏又恢复到默认的边栏。
这是一个例子，一个基本的边栏升级使用同下标记：
&#60;ul id="sidebar"&#62;
&#60;?php if ( !function_exists('dynamic_sidebar')
&#124;&#124; !dynamic_sidebar() ) : ?&#62;
&#60;li id="about"&#62;
&#60;h2&#62;About&#60;/h2&#62;
&#60;p&#62;This is my blog.&#60;/p&#62;
&#60;/li&#62;
&#60;li id="links"&#62;
&#60;h2&#62;Links&#60;/h2&#62;
&#60;ul&#62;
&#60;li&#62;&#60;a href="http://example.com"&#62;Example&#60;/a&#62;&#60;/li&#62;
&#60;/ul&#62;
&#60;/li&#62;
&#60;?php endif; ?&#62;
&#60;/ul&#62;
看到了吧？我们仅仅添加了两行代码到模板中，如果可能将会显示一个动态边栏，否则显示原来的边栏。在管理界面中禁用插件或者移除所有的小工具将显示原来的边栏。
现在对主题还有一件事要做。如果你正在使用WordPress 2.0或者更高版本，这个更改将在主题目录里的functions.php中进行。（WordPress 1.5用户：我们不再鼓励用户使用WordPress 1.5，所以你在这里找不到任何帮助，我们甚至不知道是不是可能，因为没有试过。）
这是一个没有functions.php这个文件的主题的示例（文件的开头和结尾请勿留空白行）：:
&#60;?php
if ( function_exists('register_sidebar') )
register_sidebar();
?&#62;
就是他，仅仅四行。这写代码告诉插件你的主题正好需要一个动态边栏。到此，你的管理界面中的Presentation菜单上应该多出一个额外的条目：Sidebar  Widgets。从左边的面板上拖拽一些小工具到标有Sidebar 1的盒子里并保存更改。生效了吗？难以置信。
我的边栏不是一个列表，我该怎么做？
我们了解你所问的。你必须发现你边栏的设计模式，然后用一些额外的参数告诉插件如何设计他们对你的主题起作用，我们将通过一个例子。
这是原始的标记：
&#60;div id="sidebar"&#62;
&#60;div class="title"&#62;About&#60;/div&#62;
&#60;p&#62;This is my blog.&#60;/p&#62;
&#60;div class="title"&#62;Links&#60;/div&#62;
&#60;ul&#62;
&#60;li&#62;&#60;a href="http://example.com"&#62;Example&#60;/a&#62;&#60;/li&#62;
&#60;/ul&#62;
&#60;/div&#62;
是的，你已经看到像这样的标记。这是第二种最普遍的边栏设计模式，这也是我们为什么选择它作为例子的原因。第一个区别是边栏没有构建在 &#60;ul&#62;标记内，这意味着我们不能使用&#60;li&#62;标记作为小工具的容器。第二个区别是标题被放在&#60;div class=”title”&#62;容器内，而不是&#60;h2&#62;标记。
我们宁愿以ul/li/h2标准改变标记，但是API足够强大，我们没有必要那么做。相反的是，我们通过添加一些参数到functions.php代码中以解决这些问题：
&#60;?php
if ( function_exists('register_sidebar') )
register_sidebar(array(
'before_widget' =&#62; '',
'after_widget' =&#62; '',
'before_title' =&#62; '&#60;div class="title"&#62;',
'after_title' =&#62; '&#60;/div&#62;',
));
?&#62;
这是已经插入特别模板标记的sidebar.php标记：
&#60;div [...]]]></description>
			<content:encoded><![CDATA[<p>昨天花了点时间把主题升级了一下，使之支持Widgets，其实就是在sidebar.php和functions.php里加了几行代码。参考WordPress官方的一篇文章，顺手翻译了一下，以直译为主，感觉很别扭，这也许也是我不愿看中文配音的外语片的原因吧。</p>
<h3>Widgetizing Themes</h3>
<p>这个页面包含了关于升级主题使之能使用widgets（小工具）的技术指南。大多主题能在5到10分钟完成升级。其他主题要花费一两个小时以完成所有的操作。一些主题不管你怎么做都看起来很糟糕。这个文档只负责基本的PHP编辑技巧，但你可能没有必要自己写任何代码。</p>
<h4>我是一个主题作者，怎么所有邮件都是要求我升级主题的？</h4>
<p>你应该感到高兴他们喜欢你的主题，联系你比更换使用别人的主题好。干得好，使用户满意！现在我们正在使这个插件可用，以示WordPress团队如何喜欢它，同时也给人们写widgets的机会。如果一切进展顺利，这个功能将整合到标准的WordPress分布，任何不支持widgets的主题也将支持，如果你不相信我们的预言，（你的主题）很快就会过失。</p>
<p>我们很抱歉如果这看起来有威胁意味。它伤害我们比伤害你多。请修正你的主题吧。</p>
<h4>我投降。我怎么修正我的主题？</h4>
<p>首先你应该问自己：我了解关于我的主题吗？它是用无序列表创建边栏的吗？（如果你不能回答以上问题，那在这项任务中你需要深入的帮助，这通常以为着你要支付某人很多钱，或者爽快地到<a href="http://wordcodess.org/support">论坛</a>请教吧。更好的，你可以学习HTML。抱歉，我们这不教这个。）</p>
<p>这是一个很好的边栏标签的例子：</p>
<p><code>&lt;ul id="sidebar"&gt;<br />
&lt;li id="about"&gt;<br />
&lt;h2&gt;About&lt;/h2&gt;<br />
&lt;p&gt;This is my blog.&lt;/p&gt;<br />
&lt;/li&gt;<br />
&lt;li id="links"&gt;<br />
&lt;h2&gt;Links&lt;/h2&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;&lt;a href="http://example.com"&gt;Example&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/li&gt;<br />
&lt;/ul&gt;</code>注意整个边栏是一个无序列表，而且标题都在&lt;h2&gt;标记里。并非每个主题都这样构建边栏的，也没必要这样做，但是据我观察这是目前主题边栏普遍的标记法，所以我采用了。id=”links”的元素等价于一个基本的小工具（widget）。</p>
<p>激活后，动态边栏插件给你的模板一些类似于模板标记的功能。这些功能使WordPress用一个动态的边栏替代主题的默认边栏，如果禁用插件或者移除所有的小工具，那么动态边栏又恢复到默认的边栏。</p>
<p>这是一个例子，一个基本的边栏升级使用同下标记：</p>
<p><code>&lt;ul id="sidebar"&gt;<br />
&lt;?php if ( !function_exists('dynamic_sidebar')<br />
|| !dynamic_sidebar() ) : ?&gt;<br />
&lt;li id="about"&gt;<br />
&lt;h2&gt;About&lt;/h2&gt;<br />
&lt;p&gt;This is my blog.&lt;/p&gt;<br />
&lt;/li&gt;<br />
&lt;li id="links"&gt;<br />
&lt;h2&gt;Links&lt;/h2&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;&lt;a href="http://example.com"&gt;Example&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/li&gt;<br />
&lt;?php endif; ?&gt;<br />
&lt;/ul&gt;</code></p>
<p>看到了吧？我们仅仅添加了两行代码到模板中，如果可能将会显示一个动态边栏，否则显示原来的边栏。在管理界面中禁用插件或者移除所有的小工具将显示原来的边栏。</p>
<p>现在对主题还有一件事要做。如果你正在使用WordPress 2.0或者更高版本，这个更改将在主题目录里的functions.php中进行。（WordPress 1.5用户：我们不再鼓励用户使用WordPress 1.5，所以你在这里找不到任何帮助，我们甚至不知道是不是可能，因为没有试过。）</p>
<p>这是一个没有functions.php这个文件的主题的示例（文件的开头和结尾请勿留空白行）：:</p>
<p><code>&lt;?php<br />
if ( function_exists('register_sidebar') )<br />
register_sidebar();<br />
?&gt;</code></p>
<p>就是他，仅仅四行。这写代码告诉插件你的主题正好需要一个动态边栏。到此，你的管理界面中的Presentation菜单上应该多出一个额外的条目：Sidebar  Widgets。从左边的面板上拖拽一些小工具到标有Sidebar 1的盒子里并保存更改。生效了吗？难以置信。</p>
<h4>我的边栏不是一个列表，我该怎么做？</h4>
<p>我们了解你所问的。你必须发现你边栏的设计模式，然后用一些额外的参数告诉插件如何设计他们对你的主题起作用，我们将通过一个例子。</p>
<p>这是原始的标记：</p>
<p><code>&lt;div id="sidebar"&gt;<br />
&lt;div class="title"&gt;About&lt;/div&gt;<br />
&lt;p&gt;This is my blog.&lt;/p&gt;<br />
&lt;div class="title"&gt;Links&lt;/div&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;&lt;a href="http://example.com"&gt;Example&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;/div&gt;</code></p>
<p>是的，你已经看到像这样的标记。这是第二种最普遍的边栏设计模式，这也是我们为什么选择它作为例子的原因。第一个区别是边栏没有构建在 &lt;ul&gt;标记内，这意味着我们不能使用&lt;li&gt;标记作为小工具的容器。第二个区别是标题被放在&lt;div class=”title”&gt;容器内，而不是&lt;h2&gt;标记。</p>
<p>我们宁愿以ul/li/h2标准改变标记，但是API足够强大，我们没有必要那么做。相反的是，我们通过添加一些参数到functions.php代码中以解决这些问题：</p>
<p><code>&lt;?php<br />
if ( function_exists('register_sidebar') )<br />
register_sidebar(array(<br />
'before_widget' =&gt; '',<br />
'after_widget' =&gt; '',<br />
'before_title' =&gt; '&lt;div class="title"&gt;',<br />
'after_title' =&gt; '&lt;/div&gt;',<br />
));<br />
?&gt;</code></p>
<p>这是已经插入特别模板标记的sidebar.php标记：</p>
<p><code>&lt;div id="sidebar"&gt;<br />
&lt;?php if ( !function_exists('dynamic_sidebar')<br />
|| !dynamic_sidebar() ) : ?&gt;<br />
&lt;div class="title"&gt;About&lt;/div&gt;<br />
&lt;p&gt;This is my blog.&lt;/p&gt;<br />
&lt;div class="title"&gt;Links&lt;/div&gt;<br />
&lt;ul&gt;<br />
&lt;li&gt;&lt;a href="http://example.com"&gt;Example&lt;/a&gt;&lt;/li&gt;<br />
&lt;/ul&gt;<br />
&lt;?php endif; ?&gt;<br />
&lt;/div&gt;</code></p>
<p>这样也就照顾了你的HTML标记。</p>
<p>这样，主要的得到照顾了。默认的before_widget是一个小点点而不止是 &lt;li&gt;。它包含ID和类Well, 到这里有点复杂。默认的before_widget  包含把字符串格式化为%1$s和  %2$s的指令，分别被ID和类取代。ID由小工具名称生成（这就是为什么应该小心命名小工具，不能在一个HTML文档里重复ID！），类由小工具回调函数生成。举例来说，这确保所有的文本和RSS小工具具备独一无二的ID和相似的类名。此外，每个小工具都有一个“widget”类。</p>
<p>所以，如果你想让你的主题更加灵活，你应该使用以下取代空字符：</p>
<p><code>    'before_widget' =&gt; '&lt;div id="%1$s" class="widget %2$s"&gt;',<br />
'after_widget' =&gt; '&lt;/div&gt;',</code></p>
<p>现在真正地照顾到你的HTML标记了。</p>
<h4>HTML看起来很好但页面在浏览器里看起来很糟糕！</h4>
<p>是的，我知道会发生这样的事。你的主题可能在小工具为诞生之前就写出来了，所以作者不知道她应该使样式表足够灵活以处理边栏中的新标记。如果你懂一些CSS，你应该能够在你的样式表末尾用一些新的规则处理这个问题。在你blog的标记中查找属于你想设计的小工具的选择符（ID或者类）。</p>
<p>如果CSS对你来说是一个神秘的东西，我们很以后不能提供你任何帮助。尽管我们非常想帮助你，它不可能应归于主题的原始变化。联系你主题的作者并要求她升级主题，使之能更好地兼容小工具。</p>
<h4>搜索小工具仍然很难看，我想要我主题原始的搜索框作一个小工具。</h4>
<p>小工具是CSS可选择的，你可以特别地设计它们。然而，标记不可能符合你的嗜好。如果提供他们自己的小工具替代基本的小工具，很多主题看起来会更好，例如Search和Meta。通常最好的办法就是从拷贝sidebar.php已经存在的标记到 functions.php成了一个新的小工具，然后用注册函数把标准的小工具替换为自定义的。</p>
<p>你可以在你主题边栏的任何部分这样做，或者所有都这样。下面是一个示例：</p>
<p><code>function widget_mytheme_search() {<br />
?&gt;<br />
&lt;&lt; PASTE YOUR SEARCH FORM HERE &gt;&gt;<br />
&lt;?php<br />
}<br />
if ( function_exists('register_sidebar_widget') )<br />
register_sidebar_widget(__('Search'), 'widget_mytheme_search');</code></p>
<h4>我的主题边栏多于一个，我如何使它们都变成动态的？</h4>
<p>噢，这很简单。你应该用register_sidebars(n)替代register_sidebar()，N是边栏的数目。然后把适当的数目放在dynamic_sidebar() 函数中，从1开始。（有很多种其他的方法用这个函数，参见 <a href="http://automattic.com/code/widgets/api/" linkindex="9">API</a>）。</p>
<p>你甚至可以给你边栏起名字而不是数字，让你为每个主题保存不同的设置。如果你需要了解那么多关于插件的知识，为何不阅读API或者源代码呢？</p>
<h4>更多详情！</h4>
<p>请阅读我们其他文档、<a href="http://automattic.com/code/widgets/plugins/" linkindex="10">Widgetizing Plug-ins</a>以及 <a href="http://automattic.com/code/widgets/api/" linkindex="11">Widget API</a>。如果它们没有满足你的需求，去读源代码吧！</p>
<p>via：<a href="http://automattic.com/code/widgets/themes/" target="_blank">Widgetizing Themes </a><br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://palmback.cn/2008/10/wishing-box-wordpress-theme/" title="主题Wishing Box">主题Wishing Box</a> - Oct 30, 2008</li>
<li><a href="http://palmback.cn/2007/11/wordpress-theme-hacks/" title="WordPress主题高级技巧">WordPress主题高级技巧</a> - Nov 4, 2007</li>
<li><a href="http://palmback.cn/2007/11/new-blog-theme-illacrimo/" title="新主题Illacrimo">新主题Illacrimo</a> - Nov 4, 2007</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://palmback.cn/2008/03/widgetizing-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>有用的WordPress插件</title>
		<link>http://palmback.cn/2007/11/useful-wordpress-plugins/</link>
		<comments>http://palmback.cn/2007/11/useful-wordpress-plugins/#comments</comments>
		<pubDate>Fri, 09 Nov 2007 07:21:16 +0000</pubDate>
		<dc:creator>handback</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://palmback.cn/2007/11/useful-wordpress-plugins/</guid>
		<description><![CDATA[生化危机3上演了，疯狗也明显增多，这不，都咬到学校了。兹决定少谈政治、少谈国事，防止疯狗扑上来咬我一口。已经伸手不见五指了，再说黑那不是废话嘛，估计差不多也该指鹿为马了。
继续翻译文章。水平有点烂，连我自己都觉得像机器翻的。
WordPress community有成千上万的WordPress插件 而且每天都有新插件发布。但是并非所有插件都是有用的，事实上有些写得很烂的插件会使你的站点陷入困境或者对你的WordPress安装有害。所以，你如何了解哪个插件适合你呢？下面是我以前用过的插件列表，希望对你有所帮助。
WP Cache
为节省MySQL服务器资源， WP Cache缓存页面并存储为静态文件，当服务器请求时直接读取缓存文件，相比载入、解析所有PHP代码然后从数据库中生成页面，更胜一筹。这对流量较大或者服务器性能较差的站点是非常实用的。
WP eCommerce
想在博客中卖东西吗？你应该试试 Instinct编写的WP eCommerce 插件。这是一个Ajax驱动的购物车，非常易用。你可以在管理面板中用几分钟时间设置你的网店。
Intouch Ajax contact form
我已经用这个联系表一年多了。它运行得很好，而且过滤了所有的垃圾邮件。诚恳地说，根本没有垃圾邮件！你也可以自定义邮件信息、致谢信息和添加额外的表单。
Secure and Accessible Contact Form
Mike Cherim 和 Mike Jolley写的另外一个联系表单。虽然我以前从来没用过这个联系表单，但我听到对他们的评价很好。所以，可以考虑一下它。
Sideblog
一个流行的WordPress插件， Sideblog是在侧边栏发布简短信息的最佳选择。我在 Best Web Gallery使用它。提供的选项有：定义 sideblog分类、显示条数、是否在RSS feeds中显示。
WP PageNavi
WP PageNavi在你的WordPress站点中添加一个更好的导航。这个插件对有很多文章的用户来说尤其方便，它可以让访客在页面之间切换。我在 N.Design Studio和Best Web Gallery中使用它。
Sociable
Sociable在你的文章末尾添加一个社交书签（例如 Digg,  Del.icio.us, Reddit），让你的访客可以添加书签。我以前用这个插件而且运行得很好。
Ajax Post Rating
WP Post Ratings在文章/页面中添加一个五星的ajax评级系统。它工作得如神。提示：很多CSS画廊站点用这个插件。
Ajax Comment
一个简单有效的Ajax评论插件，它检查所有填写的信息是否正确（所以访客再也看不到默认的错误提示），而且确保避免重复评论，and  has flood protection capabilities as well。
Ajax Inline Comment
这个插件允许访客实时预览评论。它对需要在评论中插入HTML标签的访客是非常有用的，能够有效评论中的语法错误。
Ajax Polls
类似于Web Designer Wall，这个插件在你的站点中增加Ajax投票系统，有许多功能，非常灵活。版面完全可以通过管理面板自定义，而且允许你存档投票。强烈推荐！
Gravatar 2 [...]]]></description>
			<content:encoded><![CDATA[<p>生化危机3上演了，疯狗也明显增多，这不，都咬到学校了。兹决定少谈政治、少谈国事，防止疯狗扑上来咬我一口。已经伸手不见五指了，再说黑那不是废话嘛，估计差不多也该指鹿为马了。</p>
<p>继续翻译文章。水平有点烂，连我自己都觉得像机器翻的。</p>
<p><a href="http://wp-plugins.net/" target="_blank">WordPress community</a>有成千上万的<a href="http://wordpress.org/extend/plugins/" target="_blank">WordPress插件</a> 而且每天都有新插件发布。但是并非所有插件都是有用的，事实上有些写得很烂的插件会使你的站点陷入困境或者对你的WordPress安装有害。所以，你如何了解哪个插件适合你呢？下面是我以前用过的插件列表，希望对你有所帮助。</p>
<h4><a href="http://mnm.uib.es/gallir/wp-cache-2/" target="_blank">WP Cache</a></h4>
<p>为节省MySQL服务器资源， WP Cache缓存页面并存储为静态文件，当服务器请求时直接读取缓存文件，相比载入、解析所有PHP代码然后从数据库中生成页面，更胜一筹。这对流量较大或者服务器性能较差的站点是非常实用的。</p>
<h4><a href="http://www.instinct.co.nz/?p=16" target="_blank">WP eCommerce</a></h4>
<p>想在博客中卖东西吗？你应该试试 <a href="http://www.instinct.co.nz" target="_blank">Instinct</a>编写的<a href="http://www.instinct.co.nz/?p=16" target="_blank">WP eCommerce</a> 插件。这是一个Ajax驱动的购物车，非常易用。你可以在管理面板中用几分钟时间设置你的网店。</p>
<h4><a href="http://adahas.com/work/intouch/" target="_blank">Intouch Ajax contact form</a></h4>
<p>我已经用这个联系表一年多了。它运行得很好，而且过滤了所有的垃圾邮件。诚恳地说，根本没有垃圾邮件！你也可以自定义邮件信息、致谢信息和添加额外的表单。</p>
<h4><a href="http://green-beast.com/blog/?page_id=136" target="_blank">Secure and Accessible Contact Form</a></h4>
<p><a href="http://green-beast.com" target="_blank">Mike Cherim</a> 和 <a href="http://www.blue-anvil.com" target="_blank">Mike Jolley</a>写的另外一个联系表单。虽然我以前从来没用过这个联系表单，但我听到对他们的评价很好。所以，可以考虑一下它。</p>
<h4><a href="http://katesgasis.com/2006/05/02/sideblog-plugin-v30/" target="_blank">Sideblog</a></h4>
<p>一个流行的WordPress插件， Sideblog是在侧边栏发布简短信息的最佳选择。我在 <a href="http://bestwebgallery.com" target="_blank">Best Web Gallery</a>使用它。提供的选项有：定义 sideblog分类、显示条数、是否在RSS feeds中显示。</p>
<h4><a href="http://lesterchan.net/wordpress/readme/wp-pagenavi.html" target="_blank">WP PageNavi</a></h4>
<p>WP PageNavi在你的WordPress站点中添加一个更好的导航。这个插件对有很多文章的用户来说尤其方便，它可以让访客在页面之间切换。我在 <a href="http://www.ndesign-studio.com" target="_blank">N.Design Studio</a>和<a href="http://bestwebgallery.com" target="_blank">Best Web Gallery</a>中使用它。</p>
<h4><a href="http://push.cx/sociable" target="_blank">Sociable</a></h4>
<p>Sociable在你的文章末尾添加一个社交书签（例如 Digg,  Del.icio.us, Reddit），让你的访客可以添加书签。我以前用这个插件而且运行得很好。</p>
<h4><a href="http://lesterchan.net/wordpress/readme/wp-postratings.html" target="_blank">Ajax Post Rating</a></h4>
<p>WP Post Ratings在文章/页面中添加一个五星的ajax评级系统。它工作得如神。提示：很多CSS画廊站点用这个插件。</p>
<h4><a href="http://wordpress.org/extend/plugins/ajax-comments-208/" target="_blank">Ajax Comment</a></h4>
<p>一个简单有效的Ajax评论插件，它检查所有填写的信息是否正确（所以访客再也看不到默认的错误提示），而且确保避免重复评论，and  has flood protection capabilities as well。</p>
<h4><a href="http://kashou.net/blog/inline-ajax-comments/" target="_blank">Ajax Inline Comment</a></h4>
<p>这个插件允许访客实时预览评论。它对需要在评论中插入HTML标签的访客是非常有用的，能够有效评论中的语法错误。</p>
<h4><a href="http://lesterchan.net/wordpress/readme/wp-polls.html" target="_blank">Ajax Polls</a></h4>
<p>类似于Web Designer Wall，这个插件在你的站点中增加Ajax投票系统，有许多功能，非常灵活。版面完全可以通过管理面板自定义，而且允许你存档投票。强烈推荐！</p>
<h4><a href="http://zenpax.com/gravatars2/" target="_blank">Gravatar 2 Plugin</a></h4>
<p>显示评论人的<a href="http://site.gravatar.com" target="_blank">Gravatar</a>（全球公认的avatar）。也许你还不知道， <a href="http://automattic.com" target="_blank">Automattic</a> (WordPress开发者)刚刚  <a href="http://blog.gravatar.com/2007/10/18/automattic-gravatar/" target="_blank">获得Gravatar</a> ，将来Gravatar服务将更快更大（达 128px）。</p>
<h4><a href="http://www.aviransplace.com/index.php/digg-this-wordpress-plugin/" target="_blank">Digg This</a></h4>
<p>Digg this探测由 <a href="http://digg.com" target="_blank">Digg.com</a>链接引入wordpress文章的WordPress插件，自动显示一个回访到digg的链接， 让人们digg你的故事。当一个digg第一次通过验证时，将会发送邮件给站点管理员。</p>
<h4><a href="http://txfx.net/code/wordpress/subscribe-to-comments/" target="_blank">Subscribe to comment</a></h4>
<p>Subscribe to Comments 2.1是一个有新评论是邮件通知评论人。你可能已经见过了，插件增加一个  "Notify me of followup comments via e-mail"的复选框。</p>
<h4><a href="http://planetozh.com/blog/my-projects/wordpress-admin-menu-drop-down-css/" target="_blank">Admin Drop Down Menu</a></h4>
<p>我从我的第一个WordPress站点开始用这个插件，这对每个WordPress都是必备的。这个插件节省了我很多时间，减少点击次数。鼠标上移的时候激活二级菜单。例如，取代点击Write，然后再点Page，你可以把鼠标移到Write上点击 Page（这将减少一次点击和页面载入）。非常节省时间。</p>
<h4> <a href="http://www.acmetech.com/blog/2005/07/26/adsense-deluxe-wordpress-plugin/" target="_blank">Adsense Deluxe</a></h4>
<p>Adsense Deluxe可能是网络上可用的最好的Adsense插件。使用非常简单：首先通过管理选项广告代码，然后在你文章内容的任何地方插入一个HTML片断("&lt;!–adsense–&gt;") ，插件将自动使用广告代码替换。</p>
<h4><a href="http://dancameron.org/wordpress/wordpress-plugins/search-everything-wordpress-plugin" target="_blank">Search Everything</a></h4>
<p>默认的WordPress搜索引擎不搜索meta数据和静态页面等。这个插件允许你在数据库中搜索所有内容。当然，插件有选项，你可以设置你想搜索的内容。</p>
<h4><a href="http://wordpress.org/extend/plugins/ajax-calendar/" target="_blank">Ajax Calendar</a></h4>
<p>如果你在边栏中使用日历，考虑一下 <a href="http://wordpress.org/extend/plugins/ajax-calendar/" target="_blank">Ajax Calendar</a>。访客可以通过日历不用刷新浏览页面。</p>
<h4><a href="http://mtekk.weblogs.us/code/breadcrumb-nav-xt/" target="_blank">Breadcrumb Navigation XT</a></h4>
<p>虽然现在不是很多网站使用breadcrumb导航，但如果你想用的话，这个里有一个  <a href="http://mtekk.weblogs.us/code/breadcrumb-nav-xt/" target="_blank">Breadcrumb Navigation XT</a>，让你在你的网站中添加一个breabcrumb导航。</p>
<h4><a href="http://www.arnebrachhold.de/projects/wordpress-plugins/google-xml-sitemaps-generator/" target="_blank">Google Sitemap Generator</a></h4>
<p>如果你需要为搜索引擎生成一个XML站点地图，, <a href="http://www.arnebrachhold.de/projects/wordpress-plugins/google-xml-sitemaps-generator/" target="_blank">Google Sitemap Generator</a> 是最好的选择（支持最流行的搜索引擎：Google，Yahoo，Ask.com，MSN）</p>
<h4><a href="http://www.g-loaded.eu/2006/01/15/simple-recent-comments-wordpress-plugin/" target="_blank">Simple Recent Comments</a></h4>
<p>另外一个必备的插件。事实上，我在我所有的WordPress网站中使用它。插件输出一个最近评论摘要的列表。你可以作为插件安装或者简单地放在主题文件夹中（不需要激活）。简单吧！</p>
<h4><a href="http://www.herewithme.fr/wordpress-plugins/simple-tags" target="_blank">Simple Tags</a></h4>
<p>WordPress 2.3已经内建Tag系统，但功能非常有限。 <a href="http://www.herewithme.fr/wordpress-plugins/simple-tags" target="_blank">Simple Tags</a> 增加更多功能：head输出 / 自动tag提示，tag管理（修改、添加、删除…），批量编辑，动态tag云集颜色等！</p>
<h4><a href="http://www.tribulant.com/products/products-wordpress-plugins/wordpress-mailing-list-plugin/" target="_blank">WP Mailing List</a></h4>
<p>自从RSS发明一来，不确定是否还有人注册新闻通知。但是新闻通知是有新产品和更新时通知订户的最好方式。我觉得如果使用 <a href="http://www.instinct.co.nz/?p=16" target="_blank">WP eCommerce</a> 网店的话这个插件很有用。它不是免费的 （花费$14.99），但总的来说是值得的（查看<a href="http://www.tribulant.com/products/products-wordpress-plugins/wordpress-mailing-list-plugin/features-wordpress-mailing-list-plugin/" target="_blank">功能</a>）。</p>
<h4><a href="http://sw-guide.de/wordpress/plugins/category-tagging/" target="_blank">Category Tag Cloud</a></h4>
<p>如果你想像我在<a href="http://bestwebgallery.com" target="_blank">Best Web Gallery</a>中一样将分类伪装成tag云集，这有一个插件  <a href="http://sw-guide.de/wordpress/plugins/category-tagging/" target="_blank">Category Tag Cloud</a>。安装和自定义非常简单。</p>
<h4><a href="http://www.keyvan.net/code/paged-comments/" target="_blank">Paged Comments</a></h4>
<p>这个插件对评论很多的blog非常有用。它将评论分成许多页。想象一下如果你的blog超过1000条评论?你确实需要这个插件。</p>
<h4><a href="http://wordpress.org/extend/plugins/flickr-rss/" target="_blank">flickrRSS</a></h4>
<p>这个插件能很容易地在blog中显示Flickr照片。支持 user、public 、group photostreams。这个插件相对来说容易通过选项面板安装和设置。 它还支持在服务器本地建立图片缓存。</p>
<h4><a href="http://dev.wp-plugins.org/wiki/ThemeSwitcher" target="_blank">Theme Switcher</a></h4>
<p>Theme Switcher允许访客更换已经安装的主题。如果你提供WordPress主题并想让你的用户预览主题，那这个插件很有用。我用它展示免费 <a href="http://www.ndesign-studio.com/resources/wp-themes/" target="_blank">WordPress主题</a>(<a href="http://www.ndesign-studio.com/demo/wordpress/" target="_blank">demo here</a>).</p>
<h4>还不够吗？</h4>
<p>如果你觉得这些还不够，有可以在下面找到更多：</p>
<ul>
<li> <a href="http://wordpress.org/extend/plugins/" target="_blank">Official WordPress Plugins</a></li>
<li><a href="http://wp-plugins.net/" target="_blank">Plugin Database</a></li>
<li><a href="http://www.bloggingpro.com/archives/category/wordpress-plugins/" target="_blank">Bloggingpro plugin list</a></li>
<li><a href="http://weblogtoolscollection.com/archives/category/wordpress-plugins/" target="_blank">Weblogtoolscollection plugin list</a></li>
</ul>
<p><strong>via <a href="http://www.webdesignerwall.com/general/useful-wordpress-plugins/" target="_blank">Useful WordPress Plugins</a></strong><br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://palmback.cn/2007/09/akismet-gfwed/" title="Akismet GFWed导致WordPress评论乱码">Akismet GFWed导致WordPress评论乱码</a> - Sep 10, 2007</li>
<li><a href="http://palmback.cn/2007/08/tinymce-plus/" title="增强TinyMCE 编辑器">增强TinyMCE 编辑器</a> - Aug 26, 2007</li>
<li><a href="http://palmback.cn/2008/10/wishing-box-wordpress-theme/" title="主题Wishing Box">主题Wishing Box</a> - Oct 30, 2008</li>
<li><a href="http://palmback.cn/2008/04/wordpress-251/" title="WordPress 2.5.1">WordPress 2.5.1</a> - Apr 26, 2008</li>
<li><a href="http://palmback.cn/2008/03/wordpress-2.5-brecker/" title="wordpress 2.5 brecker官方详细介绍">wordpress 2.5 brecker官方详细介绍</a> - Mar 30, 2008</li>
<li><a href="http://palmback.cn/2008/03/wordpress-2.5-sneak-peek/" title="WordPress 2.5 SNEAK PEEK">WordPress 2.5 SNEAK PEEK</a> - Mar 18, 2008</li>
<li><a href="http://palmback.cn/2007/11/wordpress-theme-hacks/" title="WordPress主题高级技巧">WordPress主题高级技巧</a> - Nov 4, 2007</li>
<li><a href="http://palmback.cn/2007/09/upgrade-blog-to-wordpress-23/" title="Upgrade blog to WordPress 2.3">Upgrade blog to WordPress 2.3</a> - Sep 25, 2007</li>
<li><a href="http://palmback.cn/2007/09/wordpress-2.3/" title="WordPress 2.3 “Dexter”">WordPress 2.3 “Dexter”</a> - Sep 25, 2007</li>
<li><a href="http://palmback.cn/2007/09/wordpress-23-release-candidate-1/" title="WordPress 2.3 Release Candidate 1">WordPress 2.3 Release Candidate 1</a> - Sep 19, 2007</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://palmback.cn/2007/11/useful-wordpress-plugins/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress主题高级技巧</title>
		<link>http://palmback.cn/2007/11/wordpress-theme-hacks/</link>
		<comments>http://palmback.cn/2007/11/wordpress-theme-hacks/#comments</comments>
		<pubDate>Sun, 04 Nov 2007 14:54:22 +0000</pubDate>
		<dc:creator>handback</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[WordPress Theme]]></category>

		<guid isPermaLink="false">http://palmback.cn/2007/11/wordpress-theme-hacks/</guid>
		<description><![CDATA[今天在Web Designer Wall上看到这篇文章，感觉对WordPress主题制作和修改比较有用，翻译了一下，个别地方不是特别准确，但应该不影响理解。对我个人来讲，看英文还更容易，因为WordPress本身就是英文的，许多东西也没法准确地译成中文或者说译法不同。
 WordPress 本来是作为一个blog或者blog平台开发的。但是现在WordPress变得越来越强大，你可以用它创建任何类型的网站，并把它当作内容管理系统（CMS）。 在本文中，我将与你分享一些制作更好的WordPress主题的技巧。我不是程序员也不是开发者，所以我更专注于前端的发展。噢，我忘了说WordPress如此易用，即使一个非程序员 （像我这样的设计师）也能建立精彩的网站。我的WordPress站点包括： N.Design Studio，Best Web Gallery， Web Designer Wall，以及一些免费的 WordPress主题。
WordPress条件标签（Conditional Tags）
条件标签（Conditional Tags） 在创建动态WordPress主题过程中非常有用。你可以用它来控制显示什么内容、如何显示。下面是条件标签的一些应用：


突出动态菜单（Dynamic Highlight Menu）
这是我在 Best Web Gallery中用来创建突出动态菜单的。在第一个列表项中，如果是Home或者Category或者Archive或者Search或者Single，则添加class="current" 到&#60;li&#62;标签， 这样将突出 "Gallery" 按钮。第二个列表项，如果是 名为 "about"的页，则添加class="current"。 &#60;ul id="nav"&#62; &#60;li&#60;?php if ( is_home() &#124;&#124; is_category() &#124;&#124; is_archive() &#124;&#124; is_search() &#124;&#124; is_single() &#124;&#124; is_date() ) { echo ' class="current"'; } ?&#62;&#62;&#60;a href="#" mce_href="#"&#62;Gallery&#60;/a&#62;&#60;/li&#62; &#60;li&#60;?php if [...]]]></description>
			<content:encoded><![CDATA[<p><strong>今天在</strong><a target="_blank" href="http://www.webdesignerwall.com/"><strong>Web Designer Wall</strong></a><strong>上看到这篇文章，感觉对WordPress主题制作和修改比较有用，翻译了一下，个别地方不是特别准确，但应该不影响理解。对我个人来讲，看英文还更容易，因为WordPress本身就是英文的，许多东西也没法准确地译成中文或者说译法不同。</strong></p>
<p> <a target="_blank" href="http://wordpress.org/">WordPress</a> 本来是作为一个blog或者blog平台开发的。但是现在WordPress变得越来越强大，你可以用它创建任何类型的网站，并把它当作内容管理系统（CMS）。 在本文中，我将与你分享一些制作更好的WordPress主题的技巧。我不是程序员也不是开发者，所以我更专注于前端的发展。噢，我忘了说WordPress如此易用，即使一个非程序员 （像我这样的设计师）也能建立精彩的网站。我的WordPress站点包括： <a target="_blank" href="http://www.ndesign-studio.com/">N.Design Studio</a>，<a target="_blank" href="http://bestwebgallery.com/">Best Web Gallery</a>， <a target="_blank" href="http://www.webdesignerwall.com/">Web Designer Wall</a>，以及一些免费的 <a target="_blank" href="http://www.ndesign-studio.com/resources/wp-themes/">WordPress主题</a>。</p>
<h3>WordPress条件标签（Conditional Tags）</h3>
<p><a target="_blank" href="http://codex.wordpress.org/Conditional_Tags">条件标签（Conditional Tags）</a> 在创建动态WordPress主题过程中非常有用。你可以用它来控制显示什么内容、如何显示。下面是条件标签的一些应用：</p>
<ul>
<li>
<h4>突出动态菜单（Dynamic Highlight Menu）</h4>
<p>这是我在 <a target="_blank" href="http://bestwebgallery.com/">Best Web Gallery</a>中用来创建突出动态菜单的。在第一个列表项中，如果是Home或者Category或者Archive或者Search或者Single，则添加class="current" 到&lt;li&gt;标签， 这样将突出 "Gallery" 按钮。第二个列表项，如果是 名为 "about"的页，则添加class="current"。 <code>&lt;ul id="nav"&gt; &lt;li&lt;?php if ( is_home() || is_category() || is_archive() || is_search() || is_single() || is_date() ) { echo ' class="current"'; } ?&gt;&gt;&lt;a href="#" mce_href="#"&gt;Gallery&lt;/a&gt;&lt;/li&gt; &lt;li&lt;?php if ( is_page('about') ) { echo ' class="current"'; } ?&gt;&gt;&lt;a href="#" mce_href="#"&gt;About&lt;/a&gt;&lt;/li&gt; &lt;li&lt;?php if ( is_page('submit') ) { echo ' class="current"'; } ?&gt;&gt;&lt;a href="#" mce_href="#"&gt;Submit&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; </code></li>
<li>
<h4>动态标题标签（Dynamic Title tag）</h4>
<p>我再次利用条件标签在 header.php中输出 &lt;title&gt; 标签。 <code>&lt;title&gt; &lt;?php if (is_home()) { echo bloginfo('name'); } elseif (is_404()) { echo '404 Not Found'; } elseif (is_category()) { echo 'Category:'; wp_title(''); } elseif (is_search()) { echo 'Search Results'; } elseif ( is_day() || is_month() || is_year() ) { echo 'Archives:'; wp_title(''); } else { echo wp_title(''); } ?&gt; &lt;/title&gt;</code></li>
<li>
<h4>动态内容（Dynamic Content）</h4>
<p>如过你只想在第一页包含一个文件，下面是代码： <code>&lt;?php if ( is_home() ) { include ('file.php'); } ?&gt;</code></li>
<li>
<h4>突出某个分类的文章（Feature post highlighting）</h4>
<p>假设你想添加一个CSS到categoryID 2以突出这个分类的所有文章，你可以用下面的片断 。 <code>&lt;?php if ( in_category('2') ) { echo ('class="feature"'); } ?&gt;</code></li>
<li>
<h4>独特的单模板（Unique Single template）</h4>
<p>假如你想使用独特的模板显示某个的分类的个别文章，你可以用 in_category 检查文章属于哪个分类然后使用独特的单模板。在你的默认单模板single.php中加入以下代码。如果文章在category 1，则用single1.php；如果在category 2则用 single2.php； 其它的用single_other.php。 <code>&lt;?php $post = $wp_query- &gt;post; if ( in_category('1') ) { include(TEMPLATEPATH . '/single1.php'); } elseif ( in_category('2') ) { include(TEMPLATEPATH . '/single2.php'); } else { include(TEMPLATEPATH . '/single_other.php'); } ? &gt;</code></li>
</ul>
<h3>独特类模板Unique Category template</h3>
<p>如果你想用不同的分类模板展示特别的分类，将你的分类模板（Category template）另存为 category-2.php（文件名添加 “-” 和分类ID数 ）。所以，category-2.php将用来显示categoryID 2，category-3.php将用来显示 categoryID 3， 等等。</p>
<h3>在第一篇文章后显示Google AD</h3>
<p>很多人问我如何在第一篇文章后面显示Google广告，其实很简单，只需要在循环中加一个变量 ($loopcounter) ，如果 $loopcounter小于或等于1，则加入 google-ad.php 代码。 <code>&lt;?php if (have_posts()) : ?&gt; &lt;?php while (have_posts()) : the_post(); $loopcounter++; ?&gt; // the loop stuffs &lt;?php if ($loopcounter &lt;= 1) { include (TEMPLATEPATH . '/ad.php'); } ?&gt; &lt;?php endwhile; ?&gt; &lt;?php else : ?&gt; &lt;?php endif; ?&gt;</code></p>
<h3>查询文章（Query Posts）</h3>
<p>你可一用 <a target="_blank" href="http://codex.wordpress.org/Template_Tags/query_posts">query_posts</a> 控制那些内容在循环中显示。它可以让你控制显示哪些内容、在哪显示、如何显示。你可以查询或者排除某些分类，你完全可以控制。下面我将介绍如何使用 query_posts 显示最新文章、特定文章以及如何排除特定分类。</p>
<ul>
<li>
<h4>显示最新文章（Display Latest Posts）</h4>
<p>下面的代码将输出5篇最新文章的列表： <code>&lt;?php query_posts('showposts=5'); ?&gt; &lt;ul&gt; &lt;?php while (have_posts()) : the_post(); ?&gt; &lt;li&gt;&lt;a href="&lt;?php the_permalink() ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/li&gt; &lt;?php endwhile;?&gt; &lt;/ul&gt;</code></li>
<li>
<h4>显示特定文章（Display Feature Posts）</h4>
<p>假设分类2（categoryID 2）是你的特定分类（Feature category），你想在边栏中显示五篇 Feature posts，把这些加入sidebar.php： <code>&lt;?php query_posts('cat=2&amp;showposts=5'); ?&gt; &lt;ul&gt; &lt;?php while (have_posts()) : the_post(); ?&gt; &lt;li&gt;&lt;a href="&lt;?php the_permalink() ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/li&gt; &lt;?php endwhile;?&gt; &lt;/ul&gt;</code></li>
<li>
<h4>排除特定分类（Exclude specific category）</h4>
<p>你可以用 query_posts 排除特定分类不让它显示，下面的代码将排除分类ID2的所有文章（注意：ID数前面有个减号-）： <code>&lt;?php query_posts('cat=-2'); ?&gt; &lt;?php while (have_posts()) : the_post(); ?&gt; //the loop here &lt;?php endwhile;?&gt;</code> <em>Tips:</em> 你可一用 覆盖文章每页的设置 posts_per_page 即 <code>ie. &lt;?php query_posts('posts_per_page=6'); ?&gt;</code></li>
</ul>
<h3>自定义域（Custom Fields）</h3>
<p>自定义域（<a target="_blank" href="http://codex.wordpress.org/Using_Custom_Fields">Custom field</a> ）是WordPress最强大的功能之一 。你可以连同文章和摘要附加额外的数据和文字。在自定义域，你可以逐字地把 WordPress变成CMS入口。在Web Designer Wall,，我用自定义域显示文章图片并把它链接到文章。 首先在文章中添加自定义域。 <a rel="lightbox" href="http://palmback.cn/wp-content/uploads/2007/11/custom-fields.gif"><img src="http://palmback.cn/wp-content/uploads/2007/11/custom-fields.gif" alt="custom fields" /></a> 把下面的代码加到循环中，以显示文章图片并附加文章链接。 <code>&lt;?php //get article_image (custom field) ?&gt; &lt;?php $image = get_post_meta($post-&gt;ID, 'article_image', true); ?&gt; &lt;a href="&lt;?php the_permalink() ?&gt;"&gt;&lt;img src="&lt;?php echo $image; ?&gt;" alt="&lt;?php the_title(); ?&gt;" /&gt;&lt;/a&gt;</code> <em>Tips</em>: WordPress允许你创建/存储若干关键字（keys），关键字在文章中可多次使用。 我用同样的方法在 <a target="_blank" href="http://bestwebgallery.com/">Best Web Gallery</a>中创建了极具动态的模板，我用自定义域（Custom Fields）显示站点缩略图、工具图片 及URL。</p>
<h3>WP页面列表（WP List Pages）</h3>
<p>基于导航的目的，模板标签 <a target="_blank" href="http://codex.wordpress.org/Template_Tags/wp_list_pages">wp_list_pages</a> 一般用来在顶部（header）和侧边栏显示WP页面（Pages）列表 。下面我将介绍如何使用 wp_list_pages显示站点地图和子菜单。</p>
<ul>
<li>
<h4>站点地图（Site map）</h4>
<p>把下面的代码放到你的站点地图页面模板（<a target="_blank" href="http://codex.wordpress.org/Pages#Creating_your_own_Page_Templates">Page Template</a> ）中，为所有的页面生成一个站点地图（<a target="_blank" href="http://www.ndesign-studio.com/sitemap/">sample</a>）（注意：我排除了pageID 12 ，因为page12 是我的站点地图页面，我不想让它显示）： <code>&lt;ul&gt; &lt;?php wp_list_pages('exclude=12&amp;title_li=' ); ?&gt; &lt;/ul&gt;</code></li>
<li>
<h4>动态二级页面菜单（Dynamic Subpage Menu）</h4>
<p>如果当前页面有二级页面，把下面的代码加入sidebar.php 将输出二级页面菜单： <code>&lt;?php $children = wp_list_pages('title_li=&amp;child_of='.$post-&gt;ID.'&amp;echo=0'); if ($children) { ?&gt; &lt;ul&gt; &lt;?php echo $children; ?&gt; &lt;/ul&gt; &lt;?php } ?&gt;</code></li>
</ul>
<h3>页面模板（Page Template）</h3>
<p>如果你用WordPress作为基本的页面管理，你最好别遗漏页面模板（ <a target="_blank" href="http://codex.wordpress.org/Pages#Creating_your_own_Page_Templates">Page Template </a>）功能。你可以自定义页面显示。<br />
首先，你需要创建一个页面模板，然后你可以为页面指派特定模板。 下面是页面模板的结构 (ie. portfolio.php)： <code>&lt;?php /* Template Name: Portfolio */ ?&gt; &lt;?php get_header(); ?&gt; //the loop here &lt;?php get_footer(); ?&gt;</code><br />
当你撰写或编辑一个页面，注意右边菜单 “Page Template” 你可以看到可用的模板。<br />
<a rel="lightbox" href="http://palmback.cn/wp-content/uploads/2007/11/page-template.gif"><img src="http://palmback.cn/wp-content/uploads/2007/11/page-template.gif" alt="page template" /></a></p>
<h3>WordPress选项（WordPress Options）</h3>
<p>管理面板中有许多内建的选项可以使你的站点更雅观，下面是一部分：</p>
<ul>
<li>
<h4>定义第一页（Custom Frontpage）</h4>
<p>WordPress在第一页默认显示blog文章，如果你想用一个静态的页面 取代(ie. welcome or splash page) ，你可以在 Admin &gt; Options &gt; Reading设置。 <a rel="lightbox" href="http://palmback.cn/wp-content/uploads/2007/11/frontpage-setting.gif"><img src="http://palmback.cn/wp-content/uploads/2007/11/frontpage-setting.gif" alt="frontpage setting" /></a></li>
<li>
<h4>Permalinks</h4>
<p>WordPress默认用 www.yoursite.com/?p=123 f作为文章URLs, 这不是URL 对搜索引擎也不友好。你可以通过 Admin &gt; Options &gt; Permalinks更改 <a target="_blank" href="http://codex.wordpress.org/Using_Permalinks#Structure_Tags">Permalinks</a> 设置。我个人喜欢吧Permalinks设置为：/%category%/%postname%/ <a rel="lightbox" href="http://palmback.cn/wp-content/uploads/2007/11/permalinks.gif"><img src="http://palmback.cn/wp-content/uploads/2007/11/permalinks.gif" alt="permalinks" /></a></li>
<li>
<h4>分类前缀（Category prefix）</h4>
<p>WordPress默认的分类前置是 "category" (ie. yoursite.com/category/cat-name/)。在Category base (Options &gt; Permalinks)键入"article" ，你分类的URLs 将变成：yoursite.com/article/cat-name/ <a rel="lightbox" href="http://palmback.cn/wp-content/uploads/2007/11/category-base.gif"><img src="http://palmback.cn/wp-content/uploads/2007/11/category-base.gif" alt="category prefix" /></a></li>
</ul>
<h3>想要更多？</h3>
<p><a target="_blank" href="http://codex.wordpress.org/">WordPress Codex</a>一直是学习WordPress相关知识的最好地方。 感谢WordPress，快乐地blogging吧！ via <a target="_blank" href="http://www.webdesignerwall.com/tutorials/wordpress-theme-hacks/"><strong>WordPress Theme Hacks</strong></a><br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://palmback.cn/2008/10/wishing-box-wordpress-theme/" title="主题Wishing Box">主题Wishing Box</a> - Oct 30, 2008</li>
<li><a href="http://palmback.cn/2008/04/wordpress-251/" title="WordPress 2.5.1">WordPress 2.5.1</a> - Apr 26, 2008</li>
<li><a href="http://palmback.cn/2008/03/wordpress-2.5-brecker/" title="wordpress 2.5 brecker官方详细介绍">wordpress 2.5 brecker官方详细介绍</a> - Mar 30, 2008</li>
<li><a href="http://palmback.cn/2008/03/wordpress-2.5-sneak-peek/" title="WordPress 2.5 SNEAK PEEK">WordPress 2.5 SNEAK PEEK</a> - Mar 18, 2008</li>
<li><a href="http://palmback.cn/2008/03/widgetizing-themes/" title="升级WordPress主题使支持Widgets">升级WordPress主题使支持Widgets</a> - Mar 14, 2008</li>
<li><a href="http://palmback.cn/2007/11/useful-wordpress-plugins/" title="有用的WordPress插件">有用的WordPress插件</a> - Nov 9, 2007</li>
<li><a href="http://palmback.cn/2007/11/new-blog-theme-illacrimo/" title="新主题Illacrimo">新主题Illacrimo</a> - Nov 4, 2007</li>
<li><a href="http://palmback.cn/2007/09/upgrade-blog-to-wordpress-23/" title="Upgrade blog to WordPress 2.3">Upgrade blog to WordPress 2.3</a> - Sep 25, 2007</li>
<li><a href="http://palmback.cn/2007/09/wordpress-2.3/" title="WordPress 2.3 “Dexter”">WordPress 2.3 “Dexter”</a> - Sep 25, 2007</li>
<li><a href="http://palmback.cn/2007/09/wordpress-23-release-candidate-1/" title="WordPress 2.3 Release Candidate 1">WordPress 2.3 Release Candidate 1</a> - Sep 19, 2007</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://palmback.cn/2007/11/wordpress-theme-hacks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.3 “Dexter”</title>
		<link>http://palmback.cn/2007/09/wordpress-2.3/</link>
		<comments>http://palmback.cn/2007/09/wordpress-2.3/#comments</comments>
		<pubDate>Tue, 25 Sep 2007 01:39:35 +0000</pubDate>
		<dc:creator>handback</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://palmback.cn/archives/336.htm</guid>
		<description><![CDATA[WordPress 2.3 “Dexter”如期而至，就目前而言，还有比这好的中秋节礼物么？
Enjoy it，guys！
I'm thrilled to announce that Version 2.3 "Dexter" of WordPress is now ready for the world. This release includes native tagging support, plugin update notification, URL handling improvements, and much more. This release is named for the great tenor saxophonist Dexter Gordon.
The entire team is really proud of this release, and I'm [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress 2.3 “Dexter”如期而至，就目前而言，还有比这好的中秋节礼物么？<br />
Enjoy it，guys！</p>
<blockquote><p>I'm thrilled to announce that Version 2.3 "Dexter" of WordPress is <a href="http://wordpress.org/download/">now ready for the world</a>. This release includes native tagging support, plugin update notification, URL handling improvements, and much more. This release is named for the great tenor saxophonist <a href="http://en.wikipedia.org/wiki/Dexter_Gordon">Dexter Gordon</a>.</p>
<p>The entire team is really proud of this release, and I'm happy that this is our second on-time release under our <a href="http://wordpress.org/about/readmap/">new development schedule</a>. The grand experiment of a more agile WordPress with significant features in the hands of users more often is working. I could write a blog post about each new feature, but I'll try to be brief:</p>
<ol>
<li><strong>Native tagging support</strong> allows you to use tags in addition to categories on your post, if you so choose. We've included importers for the Ultimate Tag Warrior, Jerome's Keywords, Simple Tags, and Bunny's Technorati Tag plugins so if you've already been using a tagging plugin you can bring your data into the new system. The tagging system is also wicked-fast, so your host won't mind.</li>
<li>Our new <strong>update notification</strong> lets you know when there is a new release of WordPress or when any of the plugins you use has an update available. It works by sending your blog URL, plugins, and version information to our new <code>api.wordpress.org</code> service which then compares it to the plugin database and tells you what the latest and greatest is you can use.</li>
<li>We've cleaned up URLs a bunch in a feature we call <strong>canonical URLs</strong> which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also <strong>helps your search engine optimization</strong>, as search engines like for each page to be available in one <a href="http://www.answers.com/canonical?cat=technology">canonical</a> location.</li>
<li>Our new <strong>pending review</strong> feature will be great for multi-author blogs. It allows authors to submit a post for review by an editor or administrator, where before they would just have to save a draft and hope someone noticed it.</li>
<li>There is new <strong>advanced WYSIWYG</strong> functionality (we call it the kitchen sink button) that allows you to access some features of TinyMCE that were previously hidden.</li>
</ol>
<p>You'll notice that two of those features are straight out of the <a href="http://wordpress.org/extend/ideas/?show=popular">most-voted for ideas list</a>. That's just the user facing stuff, if you're a developer you'll be interested in:</p>
<ol>
<li>Full and complete Atom 1.0 support, including the publishing protocol.</li>
<li>We're using the new jQuery whis is "800% faster."</li>
<li>Behind the user-facing tags system is a really <a href="http://codex.wordpress.org/index.php?title=Version_2.3:New_Taxonomy">kickass taxonomy system</a> which, which adds a ton of flexibility. It's probably the biggest schema upgrade since version 1.5.</li>
<li>The importers have been revamped to be more memory efficient, and you can now add an importer through a plugin.</li>
<li>Through hooks and filters you can now override the update system, the dashboard RSS feeds, the feed parser, and tons more than you could in 2.2.</li>
<li>The new <code>$wpdb-&gt;prepare()</code> way of doing SQL queries.</li>
<li>Finally there were <a href="http://trac.wordpress.org/query?status=closed&amp;milestone=2.3">over 351 tickets in Trac closed for this release</a>, with over a hundred people contributing. This is the polish, the hundreds of tiny bug fixes and features that make WordPress what it is.</li>
</ol>
<p>You can <a href="http://codex.wordpress.org/Version_2.3">view the Codex for more information about the release</a> and some screenshots. And of course <a href="http://wordpress.org/download/">the place to download is always the same</a>.</p></blockquote>
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://palmback.cn/2008/10/wishing-box-wordpress-theme/" title="主题Wishing Box">主题Wishing Box</a> - Oct 30, 2008</li>
<li><a href="http://palmback.cn/2008/04/wordpress-251/" title="WordPress 2.5.1">WordPress 2.5.1</a> - Apr 26, 2008</li>
<li><a href="http://palmback.cn/2008/03/wordpress-2.5-brecker/" title="wordpress 2.5 brecker官方详细介绍">wordpress 2.5 brecker官方详细介绍</a> - Mar 30, 2008</li>
<li><a href="http://palmback.cn/2008/03/wordpress-2.5-sneak-peek/" title="WordPress 2.5 SNEAK PEEK">WordPress 2.5 SNEAK PEEK</a> - Mar 18, 2008</li>
<li><a href="http://palmback.cn/2007/11/useful-wordpress-plugins/" title="有用的WordPress插件">有用的WordPress插件</a> - Nov 9, 2007</li>
<li><a href="http://palmback.cn/2007/11/wordpress-theme-hacks/" title="WordPress主题高级技巧">WordPress主题高级技巧</a> - Nov 4, 2007</li>
<li><a href="http://palmback.cn/2007/09/upgrade-blog-to-wordpress-23/" title="Upgrade blog to WordPress 2.3">Upgrade blog to WordPress 2.3</a> - Sep 25, 2007</li>
<li><a href="http://palmback.cn/2007/09/wordpress-23-release-candidate-1/" title="WordPress 2.3 Release Candidate 1">WordPress 2.3 Release Candidate 1</a> - Sep 19, 2007</li>
<li><a href="http://palmback.cn/2007/09/akismet-gfwed/" title="Akismet GFWed导致WordPress评论乱码">Akismet GFWed导致WordPress评论乱码</a> - Sep 10, 2007</li>
<li><a href="http://palmback.cn/2007/09/wordpress-223-released/" title="WordPress 2.2.3 released">WordPress 2.2.3 released</a> - Sep 8, 2007</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://palmback.cn/2007/09/wordpress-2.3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.3 Release Candidate 1</title>
		<link>http://palmback.cn/2007/09/wordpress-23-release-candidate-1/</link>
		<comments>http://palmback.cn/2007/09/wordpress-23-release-candidate-1/#comments</comments>
		<pubDate>Wed, 19 Sep 2007 09:21:26 +0000</pubDate>
		<dc:creator>handback</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://palmback.cn/archives/330.htm</guid>
		<description><![CDATA[WordPress2.3 RC了，下周就正式发布了。继续等待吧，等待的意义并不在于等到什么结果，而在于等待的过程中得到了什么。
The first release candidate for WordPress 2.3 is now available. We've spent the week since beta 3 fixing bugs and shaping RC1 into release candidate material. If you would like try RC1 and help us get 2.3 ready for its final release on Monday the 24th, download RC1 here and report any bugs you [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress2.3 RC了，下周就正式发布了。继续等待吧，等待的意义并不在于等到什么结果，而在于等待的过程中得到了什么。</p>
<blockquote><p>The first release candidate for WordPress 2.3 is now available. We've spent the week since beta 3 fixing bugs and shaping RC1 into release candidate material. If you would like try RC1 and help us get 2.3 ready for its final release on Monday the 24th, <a href="http://wordpress.org/wordpress-2.3-RC1.zip">download RC1 here</a> and <a href="http://trac.wordpress.org/newticket">report any bugs you find</a>. Although we consider this release candidate to be stable, keep in mind that this is still pre-release software. You may find some lingering bugs. Please back up your database before upgrading. If you have problems with RC1, you will not be able to revert back to your previous release without a database backup.</p>
<p>And a big thanks to those of you who have been testing the betas and now the RC. Your efforts make 2.3 better for everyone.</p></blockquote>
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://palmback.cn/2008/10/wishing-box-wordpress-theme/" title="主题Wishing Box">主题Wishing Box</a> - Oct 30, 2008</li>
<li><a href="http://palmback.cn/2008/04/wordpress-251/" title="WordPress 2.5.1">WordPress 2.5.1</a> - Apr 26, 2008</li>
<li><a href="http://palmback.cn/2008/03/wordpress-2.5-brecker/" title="wordpress 2.5 brecker官方详细介绍">wordpress 2.5 brecker官方详细介绍</a> - Mar 30, 2008</li>
<li><a href="http://palmback.cn/2008/03/wordpress-2.5-sneak-peek/" title="WordPress 2.5 SNEAK PEEK">WordPress 2.5 SNEAK PEEK</a> - Mar 18, 2008</li>
<li><a href="http://palmback.cn/2007/11/useful-wordpress-plugins/" title="有用的WordPress插件">有用的WordPress插件</a> - Nov 9, 2007</li>
<li><a href="http://palmback.cn/2007/11/wordpress-theme-hacks/" title="WordPress主题高级技巧">WordPress主题高级技巧</a> - Nov 4, 2007</li>
<li><a href="http://palmback.cn/2007/09/upgrade-blog-to-wordpress-23/" title="Upgrade blog to WordPress 2.3">Upgrade blog to WordPress 2.3</a> - Sep 25, 2007</li>
<li><a href="http://palmback.cn/2007/09/wordpress-2.3/" title="WordPress 2.3 “Dexter”">WordPress 2.3 “Dexter”</a> - Sep 25, 2007</li>
<li><a href="http://palmback.cn/2007/09/akismet-gfwed/" title="Akismet GFWed导致WordPress评论乱码">Akismet GFWed导致WordPress评论乱码</a> - Sep 10, 2007</li>
<li><a href="http://palmback.cn/2007/09/wordpress-223-released/" title="WordPress 2.2.3 released">WordPress 2.2.3 released</a> - Sep 8, 2007</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://palmback.cn/2007/09/wordpress-23-release-candidate-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Akismet GFWed导致WordPress评论乱码</title>
		<link>http://palmback.cn/2007/09/akismet-gfwed/</link>
		<comments>http://palmback.cn/2007/09/akismet-gfwed/#comments</comments>
		<pubDate>Mon, 10 Sep 2007 04:57:08 +0000</pubDate>
		<dc:creator>handback</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Plugin]]></category>

		<guid isPermaLink="false">http://palmback.cn/archives/318.htm</guid>
		<description><![CDATA[昨天晚上发现WordPress评论出现乱码，经过测试还有一条乱下一条不乱再下一条又乱交替出现之势。Google了一下，网上已有都是整个WordPress出现乱码，皆是由数据库编码问题引起，似乎没有评论出现乱码的先例。先排除了数据库编码的问题：编码无误，而且文章没有乱码。其次可能出问题的就是评论插件，把WP AJAX Edit Comments、TinyMCEComments禁用后，仍然乱码！折腾了一个晚上，还是没能找出乱码的原因，难道是WordPress2.2.3的bug？郁郁而眠。
早上起来向拉比，仍然没有发现问题的根源所在。后来有点一语惊醒梦中人之意，拉比突然说他知道原因了，是因为Akismet服务器被GFW了，所以……我怎么就把Akismet给忘了呢，它也与评论有关哪。禁用Akismet，Oh yeah，终于他妈的不乱了，悬着的心里可以放下来了。至于Spam，等多了再说吧。
可Akismet（wordpress.com）招谁惹谁了啊，凭什么被和谐？So, let's fuck the GFW again and again, the more, we should fuck mother of the GFW, son of a bitch.
Related Posts

有用的WordPress插件 - Nov 9, 2007
增强TinyMCE 编辑器 - Aug 26, 2007
主题Wishing Box - Oct 30, 2008
WordPress 2.5.1 - Apr 26, 2008
wordpress 2.5 brecker官方详细介绍 - Mar 30, 2008
WordPress 2.5 SNEAK PEEK - [...]]]></description>
			<content:encoded><![CDATA[<p>昨天晚上发现WordPress评论出现乱码，经过测试还有一条乱下一条不乱再下一条又乱交替出现之势。Google了一下，网上已有都是整个WordPress出现乱码，皆是由数据库编码问题引起，似乎没有评论出现乱码的先例。先排除了数据库编码的问题：编码无误，而且文章没有乱码。其次可能出问题的就是评论插件，把<strong><a href="http://www.raproject.com/wordpress/wp-ajax-edit-comments/" title="Visit plugin homepage">WP AJAX Edit Comments</a></strong>、<strong><a href="http://mk.netgenes.org/my-plugins/mcecomments/" title="Visit plugin homepage">TinyMCEComments</a></strong>禁用后，仍然乱码！折腾了一个晚上，还是没能找出乱码的原因，难道是WordPress2.2.3的bug？郁郁而眠。</p>
<p>早上起来向<a href="http://www.voidpage.com/" target="_blank">拉比</a>，仍然没有发现问题的根源所在。后来有点一语惊醒梦中人之意，<a href="http://www.voidpage.com/" target="_blank">拉比</a>突然说他知道原因了，是因为<a href="http://akismet.com/" title="Visit plugin homepage">Akismet</a>服务器被GFW了，所以……我怎么就把<a href="http://akismet.com/" title="Visit plugin homepage">Akismet</a>给忘了呢，它也与评论有关哪。禁用<a href="http://akismet.com/" title="Visit plugin homepage">Akismet</a>，Oh yeah，终于他妈的不乱了，悬着的心里可以放下来了。至于Spam，等多了再说吧。</p>
<p>可<a href="http://akismet.com/" title="Visit plugin homepage">Akismet</a>（wordpress.com）招谁惹谁了啊，凭什么被和谐？<strong>So, let's fuck the GFW again and again, the more, we should fuck mother of the GFW, son of a bitch.</strong><br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://palmback.cn/2007/11/useful-wordpress-plugins/" title="有用的WordPress插件">有用的WordPress插件</a> - Nov 9, 2007</li>
<li><a href="http://palmback.cn/2007/08/tinymce-plus/" title="增强TinyMCE 编辑器">增强TinyMCE 编辑器</a> - Aug 26, 2007</li>
<li><a href="http://palmback.cn/2008/10/wishing-box-wordpress-theme/" title="主题Wishing Box">主题Wishing Box</a> - Oct 30, 2008</li>
<li><a href="http://palmback.cn/2008/04/wordpress-251/" title="WordPress 2.5.1">WordPress 2.5.1</a> - Apr 26, 2008</li>
<li><a href="http://palmback.cn/2008/03/wordpress-2.5-brecker/" title="wordpress 2.5 brecker官方详细介绍">wordpress 2.5 brecker官方详细介绍</a> - Mar 30, 2008</li>
<li><a href="http://palmback.cn/2008/03/wordpress-2.5-sneak-peek/" title="WordPress 2.5 SNEAK PEEK">WordPress 2.5 SNEAK PEEK</a> - Mar 18, 2008</li>
<li><a href="http://palmback.cn/2007/11/wordpress-theme-hacks/" title="WordPress主题高级技巧">WordPress主题高级技巧</a> - Nov 4, 2007</li>
<li><a href="http://palmback.cn/2007/09/upgrade-blog-to-wordpress-23/" title="Upgrade blog to WordPress 2.3">Upgrade blog to WordPress 2.3</a> - Sep 25, 2007</li>
<li><a href="http://palmback.cn/2007/09/wordpress-2.3/" title="WordPress 2.3 “Dexter”">WordPress 2.3 “Dexter”</a> - Sep 25, 2007</li>
<li><a href="http://palmback.cn/2007/09/wordpress-23-release-candidate-1/" title="WordPress 2.3 Release Candidate 1">WordPress 2.3 Release Candidate 1</a> - Sep 19, 2007</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://palmback.cn/2007/09/akismet-gfwed/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
