<?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>任鸟飞网页设计博客-关注网页设计、网站开发、图形图像设计、互联网趣味信息及搜素引擎的IT原创博客 &#187; WordPress 教程</title>
	<atom:link href="http://www.renniaofei.com/tag/wordpress-tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.renniaofei.com</link>
	<description>任鸟飞网页设计博客-关注网页设计、网站开发、图形图像设计、互联网趣味信息及搜素引擎的IT原创博客</description>
	<lastBuildDate>Fri, 30 Jul 2010 10:51:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>忘记 Wordpress 管理员密码怎么办？</title>
		<link>http://www.renniaofei.com/code/wordpress-guanliyuan-mima/</link>
		<comments>http://www.renniaofei.com/code/wordpress-guanliyuan-mima/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 10:57:08 +0000</pubDate>
		<dc:creator>任鸟飞</dc:creator>
				<category><![CDATA[编码]]></category>
		<category><![CDATA[Datebase]]></category>
		<category><![CDATA[WordPress 教程]]></category>
		<category><![CDATA[中文独立博客]]></category>
		<category><![CDATA[创意]]></category>

		<guid isPermaLink="false">http://www.renniaofei.com/?p=1453</guid>
		<description><![CDATA[大多数的服务器都支持邮件传送服务，如果忘记 Wordpress 管理员密码，可以通过“忘记密码”来重设密码；而本地机器可能不支持邮件传送服务，如果忘记本地机器上的 Wordpress 管理密码的话，该如何找回呢？

重设本机 Wordpress 管理员密码的方法
默认情况下，Wordpress 将用户密码存放在wp-users表中，利用 phpMyAdmin 查看 wp-users 表，如下所示：

user_pass 即 Wordpress 中的用户 admin 对应的密码，但此密码是经过 MD5 算法进行过加密，所以从这里是不可能反推出未经加密的密码的，所以只能通过重设 admin 对应的密码才可以。
知道 Wordpress 是利用 MD5 进行加密之后，就很容易找出问题的解决方法了。
点击此行左端的 “铅笔” 图标，进入编辑页面，如下所示：

找到第二行的  user_pass ，将此行对应的第5列的 “值”（即密码）设置为新的密码（本例将密码设置为 mima-666666），然后将此行对应的第3列的 “函数” 设置为 “MD5” （从下拉列表中选择 MD5 即可），点击“执行”按钮保存即可。
总结：phpMyAdmin 实在是很强大啊！利用 phpMyAdmin 可以处理各种数据库问题。
]]></description>
			<content:encoded><![CDATA[<p>大多数的服务器都支持邮件传送服务，如果忘记 <a href="http://www.renniaofei.com/tag/wordpress-tutorials/">Wordpress</a> 管理员密码，可以通过“忘记密码”来重设密码；而本地机器可能不支持邮件传送服务，如果忘记本地机器上的 Wordpress 管理密码的话，该如何找回呢？<span id="more-1453"></span></p>
<p><a title="任鸟飞网页设计博客" href="http://www.renniaofei.com"><img class="aligncenter size-full wp-image-1454" title="忘记 Wordpress 管理员密码怎么办?" src="http://www.renniaofei.com/wp-content/uploads/2010/07/wordpress-guanliyuan-mima-1.gif" alt="忘记 Wordpress 管理员密码怎么办?" width="355" height="397" /></a></p>
<h4>重设本机 Wordpress 管理员密码的方法</h4>
<p>默认情况下，Wordpress 将用户密码存放在wp-users表中，利用 <a href="http://www.renniaofei.com/tag/sql/">phpMyAdmin</a> 查看 wp-users 表，如下所示：</p>
<p><a title="任鸟飞网页设计博客" href="http://www.renniaofei.com"><img class="aligncenter size-full wp-image-1455" title="忘记 Wordpress 管理员密码怎么办？" src="http://www.renniaofei.com/wp-content/uploads/2010/07/wordpress-guanliyuan-mima-2.gif" alt="忘记 Wordpress 管理员密码怎么办？" width="487" height="42" /></a></p>
<p>user_pass 即 Wordpress 中的用户 admin 对应的密码，但此密码是经过 MD5 算法进行过加密，所以从这里是不可能反推出未经加密的密码的，所以只能通过重设 admin 对应的密码才可以。</p>
<p>知道 <a href="http://www.renniaofei.com/tag/wordpress-tutorials/">Wordpress</a> 是利用 MD5 进行加密之后，就很容易找出问题的解决方法了。</p>
<p>点击此行左端的 “铅笔” 图标，进入编辑页面，如下所示：</p>
<p><a title="任鸟飞网页设计博客" href="http://www.renniaofei.com"><img class="aligncenter size-full wp-image-1456" title="忘记 Wordpress 管理员密码怎么办？" src="http://www.renniaofei.com/wp-content/uploads/2010/07/wordpress-guanliyuan-mima-3.gif" alt="忘记 Wordpress 管理员密码怎么办？" width="530" height="312" /></a></p>
<p>找到第二行的  user_pass ，将此行对应的第5列的 “值”（即密码）设置为新的密码（本例将密码设置为 mima-666666），然后将此行对应的第3列的 “函数” 设置为 “MD5” （从下拉列表中选择 MD5 即可），点击“执行”按钮保存即可。</p>
<p>总结：phpMyAdmin 实在是很强大啊！利用 phpMyAdmin 可以处理各种数据库问题。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.renniaofei.com/code/wordpress-guanliyuan-mima/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>我的留言哪里去了？</title>
		<link>http://www.renniaofei.com/internet/wo-de-liuyan-nali-qule/</link>
		<comments>http://www.renniaofei.com/internet/wo-de-liuyan-nali-qule/#comments</comments>
		<pubDate>Sat, 17 Jul 2010 15:15:43 +0000</pubDate>
		<dc:creator>任鸟飞</dc:creator>
				<category><![CDATA[网络]]></category>
		<category><![CDATA[WordPress 插件]]></category>
		<category><![CDATA[WordPress 教程]]></category>

		<guid isPermaLink="false">http://www.renniaofei.com/?p=1428</guid>
		<description><![CDATA[如果你在本博客留言没有显示出来，可能是你的留言被 Wordpress 平台的 akismet 插件当成是垃圾评论而被屏蔽了。我会不定期检查被 akismet 插件屏蔽的留言，以免有误杀。

由于反链（backlinks）的数量对 SEO 及 PR 值都有较大的影响，所以通过留言增加反链数量，是站长们经常采用的一个手段。但是总有一些喜欢走“捷径”的人，发布大量的垃圾评论，只是没人喜欢垃圾评论，所以发布垃圾评论的时候，请三思。
由于 Wordpress 提供了 akismet 插件，这是一款专门用于识别及区分垃圾评论的插件，准确率想当高（96.006%），推荐使用 Wordpress 的博客安装此插件。
对于那些发布垃圾评论的人，请远离 Wordpress 平台吧，因为 akismet 插件太强大了，垃圾评论逃不过它的眼睛。
我们期待您留言，特别是真诚实意的留言！
]]></description>
			<content:encoded><![CDATA[<p>如果你在本博客留言没有显示出来，可能是你的留言被 Wordpress 平台的 akismet <a href="http://www.renniaofei.com/tag/wordpress-plugin/">插件</a>当成是垃圾评论而被屏蔽了。我会不定期检查被 akismet 插件屏蔽的留言，以免有误杀。<span id="more-1428"></span></p>
<p><img class="aligncenter size-full wp-image-1429" title="我的留言哪里去了？" src="http://www.renniaofei.com/wp-content/uploads/2010/07/wo-de-liuyan-nali-qule.gif" alt="我的留言哪里去了？" width="499" height="426" /></p>
<p>由于反链（backlinks）的数量对 <a href="http://www.renniaofei.com/tag/seo/">SEO</a> 及 PR 值都有较大的影响，所以通过留言增加反链数量，是站长们经常采用的一个手段。但是总有一些喜欢走“捷径”的人，发布大量的垃圾评论，只是没人喜欢垃圾评论，所以发布垃圾评论的时候，请三思。</p>
<p>由于 Wordpress 提供了 akismet 插件，这是一款专门用于识别及区分垃圾评论的插件，准确率想当高（96.006%），推荐使用 Wordpress 的博客安装此插件。</p>
<p>对于那些发布垃圾评论的人，请远离 <a href="http://www.renniaofei.com/tag/wordpress-tutorials/">Wordpress</a> 平台吧，因为 akismet 插件太强大了，垃圾评论逃不过它的眼睛。</p>
<p>我们期待您留言，特别是真诚实意的留言！</p>
]]></content:encoded>
			<wfw:commentRss>http://www.renniaofei.com/internet/wo-de-liuyan-nali-qule/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>任鸟飞网页设计博客主题微调</title>
		<link>http://www.renniaofei.com/design/renniaofei-blog-theme-adjust/</link>
		<comments>http://www.renniaofei.com/design/renniaofei-blog-theme-adjust/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 07:01:22 +0000</pubDate>
		<dc:creator>任鸟飞</dc:creator>
				<category><![CDATA[设计]]></category>
		<category><![CDATA[wordpress 主题]]></category>
		<category><![CDATA[WordPress 插件]]></category>
		<category><![CDATA[WordPress 教程]]></category>
		<category><![CDATA[中文独立博客]]></category>
		<category><![CDATA[技巧]]></category>

		<guid isPermaLink="false">http://www.renniaofei.com/?p=1345</guid>
		<description><![CDATA[不知道为什么，一直在调整博客的主题样式，从开通博客到现在，大大小小的调整估计得几十次了，这是不是就是所谓的审美疲劳啊？完蛋了，我发现我喜新厌旧……
前端时间有朋友（快乐的村长）提出页面不够简洁，而且广告偏多，在这里表示特别的感谢，希望以后能有更多的朋友对本博客提出意见，本人将虚心听取。
本次调整的内容如下：
1. 为了使页面简洁一点，本人将右边栏的内容进行了调整。正如你现在看到的样式。采用不同背景来区分广告和内容，然后采用tab 导航的形式来展现热门、读者墙、友情链接和标签。
2. 页面导航部分将 Number Of Pages To Show 由8修改为6，Number Of Larger Page 由3修改为2。原因是在页码较大的时候，导航菜单的宽度容易溢出。注：这里使用的 pagenav 插件。
3. 博客页面最多显示 由8修改为5。原因是由于右边栏高度变小，为了协调左右边栏高度方向的平衡。
4. Google 自定义搜索显示页面的宽度由640px调整为550px， Google 自定义搜索显示页面的宽度默认是640px，显然已经超过本博客左边栏的宽度了，造成部分内容被隐藏。
我觉得善于吸取别人的教训也是一个好习惯，上面就是我在设计博客主题时出现的一些问题，希望你能有所避免。
]]></description>
			<content:encoded><![CDATA[<p>不知道为什么，一直在调整<a href="http://www.renniaofei.com/tag/wordpress-theme/">博客的主题</a>样式，从开通博客到现在，大大小小的调整估计得几十次了，这是不是就是所谓的审美疲劳啊？完蛋了，我发现我喜新厌旧……<span id="more-1345"></span></p>
<p>前端时间有朋友（<a href="http://imheaventree.com/">快乐的村长</a>）提出页面不够简洁，而且广告偏多，在这里表示特别的感谢，希望以后能有更多的朋友对本博客提出意见，本人将虚心听取。</p>
<h4>本次调整的内容如下：</h4>
<p>1. 为了使页面简洁一点，本人将右边栏的内容进行了调整。正如你现在看到的样式。采用不同背景来区分广告和内容，然后采用tab 导航的形式来展现热门、读者墙、<a href="http://www.renniaofei.com/friendlink/">友情链接</a>和标签。</p>
<p>2. 页面导航部分将 <strong>Number Of Pages To Show </strong>由8修改为6，<strong>Number Of Larger Page </strong>由3修改为2。原因是在页码较大的时候，导航菜单的宽度容易溢出。注：这里使用的 pagenav 插件。</p>
<p>3. <strong>博客页面最多显示</strong> 由8修改为5。原因是由于右边栏高度变小，为了协调左右边栏高度方向的平衡。</p>
<p>4. <a href="http://www.renniaofei.com/tag/google/">Google </a>自定义搜索显示页面的宽度由640px调整为550px， Google 自定义搜索显示页面的宽度默认是640px，显然已经超过本博客左边栏的宽度了，造成部分内容被隐藏。</p>
<p>我觉得善于吸取别人的教训也是一个好习惯，上面就是我在设计博客主题时出现的一些问题，希望你能有所避免。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.renniaofei.com/design/renniaofei-blog-theme-adjust/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Wordpress安全密钥简介及使用方法</title>
		<link>http://www.renniaofei.com/code/wordpress-wordpress-security-keys/</link>
		<comments>http://www.renniaofei.com/code/wordpress-wordpress-security-keys/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 07:54:35 +0000</pubDate>
		<dc:creator>任鸟飞</dc:creator>
				<category><![CDATA[编码]]></category>
		<category><![CDATA[WordPress 教程]]></category>
		<category><![CDATA[中文独立博客]]></category>
		<category><![CDATA[优化]]></category>

		<guid isPermaLink="false">http://www.renniaofei.com/?p=1340</guid>
		<description><![CDATA[随着Wordpress的普及，大量的“坏蛋”也盯上了Wordpress，Wordpress当然不会坐视不理，Wordpress本身也提供了很多措施来提高其安全性，这里要介绍的就是 Wordpress安全密钥（Wordpress Secret Kyes）。
1. 什么是Wordpress安全密钥（WordPress Security Keys）？
Wordpress安全密钥（WordPress Security Keys）是一组存储在客户端Cookies中的随机生成的经过加密的变量值。总共包括4个安全密钥（AUTH_KEY，SECURE_AUTH_KEY，LOGGED_IN_KEY，NONCE_KEY）。
2. 为什么要使用Wordpress安全密钥（WordPress Security Keys）？
安全密钥能够有效阻止黑客破解你的密码，一组未经加密的用户和密码，很容易被黑客破解。而如果要破解一组随机生成的，不可预测，经过加密的密码组合，例如 88a7da62429ba6ad3cb3c76a09641fc ，则可能需要好几年的时间。
3. 如何使用Wordpress安全密钥（WordPress Security Keys）？
默认情况下，Wordpress并没有定义Wordpress安全密钥（WordPress Security Keys），你需要自己添加这4组密钥。

首先，你需要到这里生成Wordpress安全密钥，这是Wordpress提供的随机生成安全密钥的页面。
其次，到Wordpress安装根目录找到wp-config.php文件，在45行以后添加上面生成的4组Wordpress安全密钥。
最后，推出重新登录即可。


说明：此安全密钥设置一次即可，且无需记住。
]]></description>
			<content:encoded><![CDATA[<p>随着Wordpress的普及，大量的“坏蛋”也盯上了Wordpress，Wordpress当然不会坐视不理，Wordpress本身也提供了很多措施来提高其安全性，这里要介绍的就是 Wordpress安全密钥（Wordpress Secret Kyes）。<span id="more-1340"></span></p>
<h4>1. 什么是Wordpress安全密钥（WordPress Security Keys）？</h4>
<p>Wordpress安全密钥（WordPress Security Keys）是一组存储在客户端Cookies中的随机生成的经过加密的变量值。总共包括4个安全密钥（AUTH_KEY，SECURE_AUTH_KEY，LOGGED_IN_KEY，NONCE_KEY）。</p>
<h4>2. 为什么要使用Wordpress安全密钥（WordPress Security Keys）？</h4>
<p>安全密钥能够有效阻止黑客破解你的密码，一组未经加密的用户和密码，很容易被黑客破解。而如果要破解一组随机生成的，不可预测，经过加密的密码组合，例如 88a7da62429ba6ad3cb3c76a09641fc ，则可能需要好几年的时间。</p>
<h4>3. 如何使用Wordpress安全密钥（WordPress Security Keys）？</h4>
<p>默认情况下，Wordpress并没有定义Wordpress安全密钥（WordPress Security Keys），你需要自己添加这4组密钥。</p>
<ul>
<li>首先，你需要到这里<a href="https://api.wordpress.org/secret-key/1.1/">生成Wordpress安全密钥</a>，这是Wordpress提供的随机生成安全密钥的页面。</li>
<li>其次，到Wordpress安装根目录找到wp-config.php文件，在45行以后添加上面生成的4组Wordpress安全密钥。</li>
<li>最后，推出重新登录即可。</li>
</ul>
<p><img class="aligncenter size-full wp-image-1342" title="Wordpress安全密钥简介及使用方法" src="http://www.renniaofei.com/wp-content/uploads/2010/07/wordpress-securitykeys.gif" alt="Wordpress安全密钥简介及使用方法" width="520" height="232" /></p>
<p>说明：此安全密钥设置一次即可，且无需记住。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.renniaofei.com/code/wordpress-wordpress-security-keys/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>提高Wordpress安全性必须掌握的5种方法</title>
		<link>http://www.renniaofei.com/code/top-5-wordpress-security-tips/</link>
		<comments>http://www.renniaofei.com/code/top-5-wordpress-security-tips/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 11:41:44 +0000</pubDate>
		<dc:creator>任鸟飞</dc:creator>
				<category><![CDATA[编码]]></category>
		<category><![CDATA[Datebase]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[WordPress 教程]]></category>

		<guid isPermaLink="false">http://www.renniaofei.com/?p=1180</guid>
		<description><![CDATA[WordPress是一种使用 PHP 语言开发的博客平台，用户可以在支持 PHP 和 MySQL 数据库的服务器上架设自己的博客。全球大约有20%的用户在使用 Wordpress，其中包括 yahoo，BBC 等。
随着用户的增加，其安全性也日渐提上日程，这里整理了5条提高 Wordpress 安全性的建议供参考。
1. 尽量避免使用admin用户
admin 是安装 Wordpress 时产生的管理员用户，拥有所有权限，在安装 Wordpress 时，尽量将 admin 对应的密码设置的复杂一些。
2. 将wp-config.php移动到其他目录
如果根目录下没有找到wp-config.php，Wordpress会自动寻找其他目录。
3. 更改Wordpress数据库中的表名前缀
在安装 Wordpress 时，默认会将数据库中的表名前缀设置为“wp_”，应尽量修改此前缀。如果 wordpress 已安装完毕，可以利用这个插件 WP Security Scan  来设置。
4. 使用密钥 Secret Keys
访问 http://api.wordpress.org/secret-key/1.1/ ，生成4组密钥，将此4组密钥复制到 wp-config.php。
5.使用 .htaccess
可以限制其他用户访问 wp-admin 目录，我们可以利用下面的代码来指定允许某些特定的IP访问此目录。
AuthUserFile /dev/null
AuthGroupFile /dev/null
AuthName "Access Control"
AuthType Basic
order deny,allow
deny from all
#IP address to Whitelist
allow from xxx.xxx.xxx.xxx
说明：如果需要指定多个IP，可以重复“allow from xxx.xxx.xxx.xxx”（不含引号）即可。
]]></description>
			<content:encoded><![CDATA[<p>WordPress是一种使用 <a href="http://www.renniaofei.com/tag/php/">PHP</a> 语言开发的博客平台，用户可以在支持 <a href="http://www.renniaofei.com/tag/php/">PHP</a> 和 <a href="http://www.renniaofei.com/tag/datebase/">MySQL</a> 数据库的服务器上架设自己的博客。全球大约有20%的用户在使用 <a href="http://www.renniaofei.com/">Wordpress</a>，其中包括 yahoo，BBC 等。<span id="more-1180"></span><br />
随着用户的增加，其安全性也日渐提上日程，这里整理了5条提高 Wordpress 安全性的建议供参考。</p>
<h4>1. 尽量避免使用admin用户</h4>
<p>admin 是安装 Wordpress 时产生的管理员用户，拥有所有权限，在安装 Wordpress 时，尽量将 admin 对应的密码设置的复杂一些。</p>
<h4>2. 将wp-config.php移动到其他目录</h4>
<p>如果根目录下没有找到wp-config.php，Wordpress会自动寻找其他目录。</p>
<h4>3. 更改Wordpress数据库中的表名前缀</h4>
<p>在安装 Wordpress 时，默认会将数据库中的表名前缀设置为“wp_”，应尽量修改此前缀。如果 wordpress 已安装完毕，可以利用这个插件 <a href="http://wordpress.org/extend/plugins/wp-security-scan/" target="_blank">WP Security Scan</a>  来设置。</p>
<h4>4. 使用密钥 Secret Keys</h4>
<p>访问 <a href="http://api.wordpress.org/secret-key/1.1/ ">http://api.wordpress.org/secret-key/1.1/</a> ，生成4组密钥，将此4组密钥复制到 wp-config.php。</p>
<h4>5.使用 .htaccess</h4>
<p>可以限制其他用户访问 wp-admin 目录，我们可以利用下面的代码来指定允许某些特定的IP访问此目录。</p>
<pre><code>AuthUserFile /dev/null
AuthGroupFile /dev/null
AuthName "Access Control"
AuthType Basic
order deny,allow
deny from all
#IP address to Whitelist
allow from xxx.xxx.xxx.xxx</code></pre>
<p>说明：如果需要指定多个IP，可以重复“allow from xxx.xxx.xxx.xxx”（不含引号）即可。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.renniaofei.com/code/top-5-wordpress-security-tips/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Wordpress 3.0 横空出世</title>
		<link>http://www.renniaofei.com/internet/wordpress-3-release/</link>
		<comments>http://www.renniaofei.com/internet/wordpress-3-release/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 15:05:49 +0000</pubDate>
		<dc:creator>任鸟飞</dc:creator>
				<category><![CDATA[网络]]></category>
		<category><![CDATA[wordpress 主题]]></category>
		<category><![CDATA[WordPress 插件]]></category>
		<category><![CDATA[WordPress 教程]]></category>
		<category><![CDATA[中文独立博客]]></category>

		<guid isPermaLink="false">http://www.renniaofei.com/?p=1169</guid>
		<description><![CDATA[WordPress 是一个注重美学、易用性和网络标准的个人信息发布平台。而 Wordpress 3.0 经过一段时间的测试后，今天终于正式推出，但目前 Wordpress 中文版还没有出来。

使用 WordPress 可以搭建功能强大的网络信息发布平台，但更多的是应用于个性化的博客。针对博客的应用，WordPress 能让您省却对后台技术的担心，集中精力做好网站的内容。
现在进入Wordpress后台会有升级提示，但因中文版还没出来，国内用户暂时还不能升级到Wordpress 3.0。


英文版Wordpress后台界面：

升级到 Wordpress 3.0 后，主题没有什么影响，升级过程很顺利，但升级之前最好还是备份一下，期待Wordprss 3.0中文版早日出来。
如果你也想拥有一个独立博客，推荐使用Wordpress，其大量的主题和插件，是其他博客平台所不能媲美的。
]]></description>
			<content:encoded><![CDATA[<p><strong>WordPress</strong> 是一个注重美学、易用性和网络标准的个人信息发布平台。而 <a href="http://wordpress.org/download/">Wordpress 3.0</a> 经过一段时间的测试后，今天终于正式推出，但目前 <a href="http://www.renniaofei.com/tag/wordpress-tutorials/">Wordpress</a> 中文版还没有出来。<br />
<span id="more-1169"></span></p>
<p>使用 <strong>WordPress</strong> 可以搭建功能强大的网络信息发布平台，但更多的是应用于<a href="http://www.renniaofei.com">个性化的博客</a>。针对博客的应用，<strong>WordPress</strong> 能让您省却对后台技术的担心，集中精力做好网站的内容。</p>
<p>现在进入Wordpress后台会有升级提示，但因中文版还没出来，国内用户暂时还不能升级到Wordpress 3.0。</p>
<p><img class="aligncenter size-full wp-image-1170" title="wordpress 3.0 发布" src="http://www.renniaofei.com/wp-content/uploads/2010/06/wordpress-3-release-1.jpg" alt="wordpress 3.0 发布" width="600" height="80" /></p>
<p><img class="aligncenter size-full wp-image-1171" title="wordpress 3.0 发布" src="http://www.renniaofei.com/wp-content/uploads/2010/06/wordpress-3-release-2.jpg" alt="wordpress 3.0 发布" width="600" height="200" /></p>
<p>英文版Wordpress后台界面：</p>
<p><img class="aligncenter size-full wp-image-1172" title="wordpress 3.0 发布" src="http://www.renniaofei.com/wp-content/uploads/2010/06/wordpress-3-release-3.jpg" alt="wordpress 3.0 发布" width="600" height="432" /></p>
<p>升级到 Wordpress 3.0 后，<a href="http://www.renniaofei.com/tag/wordpress-theme/">主题</a>没有什么影响，升级过程很顺利，但升级之前最好还是备份一下，期待Wordprss 3.0中文版早日出来。</p>
<p>如果你也想拥有一个<a href="http://www.renniaofei.com/tag/chinese-independent-blog/">独立博客</a>，推荐使用Wordpress，其大量的<a href="http://www.renniaofei.com/tag/wordpress-theme/">主题</a>和<a href="http://www.renniaofei.com/tag/wordpress-plugin/">插件</a>，是其他博客平台所不能媲美的。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.renniaofei.com/internet/wordpress-3-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在Wordpress中使用Bitly短网址服务</title>
		<link>http://www.renniaofei.com/code/wordpress-code-url-shortener-with-bitly/</link>
		<comments>http://www.renniaofei.com/code/wordpress-code-url-shortener-with-bitly/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 00:45:47 +0000</pubDate>
		<dc:creator>任鸟飞</dc:creator>
				<category><![CDATA[编码]]></category>
		<category><![CDATA[wordpress 主题]]></category>
		<category><![CDATA[WordPress 教程]]></category>
		<category><![CDATA[微博]]></category>
		<category><![CDATA[技巧]]></category>

		<guid isPermaLink="false">http://www.renniaofei.com/internet/c060fd8b/</guid>
		<description><![CDATA[由于某些类似于Twitter的微博客服务对于每条贴子或消息有字数限制（多为140字），因此需要通过缩短网址的功能来达到网址缩短的目的。
短网址，又称短址、缩址、网址缩短、缩短网址、URL缩短等，指的是一种互联网上的技术与服务。此服务可以提供一个非常短小的URL以代替原来的可能较长的URL，将长的URL地址缩短。
短网址另外也有方便用户记忆及传送网址的功能，短址可将太长的网址转换成15个字以内的替代网址，也有部分网站提供自定义名称以及密码保护的功能，可以让用户取得更有自己风格的短网址。
前端时间中国解禁了http://bit.ly/短网址服务，这里就介绍一下如何在Wordpress中使用Bitly短网址服务。
1. 申请Bitly的 API key , 申请地址 http://bit.ly/a/your_api_key

2. 在Wordpress主题文件夹的functions.php文件中增加下面的函数
function bitly($url) {
$content = file_get_contents("http://api.bit.ly/v3/shorten?login=YOURLOGIN
&#38;apiKey=YOURAPIKEY
&#38;longUrl=".$url."&#38;format=xml");
$element = new SimpleXmlElement($content);
$bitly = $element-&#62;data-&#62;url;
if($bitly){
echo $bitly;}
else{
echo '0';
}
}
将上面代码中的YOURLOGIN和YOURAPIKEY替换成第一步申请的LOGIN 和 API KEY。
3. 在single.php 中需要显示短网址的地方增加下面的代码
&#60;?php bitly(get_permalink($post-&#62;post_id)); ?&#62;
具体的实例样式可参考本博客底部的转载说明处。
附：反解短网址利器-Untiny
]]></description>
			<content:encoded><![CDATA[<p>由于某些类似于Twitter的微博客服务对于每条贴子或消息有字数限制（多为140字），因此需要通过缩短网址的功能来达到网址缩短的目的。<span id="more-1150"></span></p>
<p>短网址，又称短址、缩址、网址缩短、缩短网址、URL缩短等，指的是一种互联网上的技术与服务。此服务可以提供一个非常短小的URL以代替原来的可能较长的URL，将长的URL地址缩短。</p>
<p>短网址另外也有方便用户记忆及传送网址的功能，短址可将太长的网址转换成15个字以内的替代网址，也有部分网站提供自定义名称以及密码保护的功能，可以让用户取得更有自己风格的短网址。</p>
<p>前端时间中国解禁了<a href="http://bit.ly/">http://bit.ly/</a>短网址服务，这里就介绍一下如何在Wordpress中使用Bitly短网址服务。</p>
<p>1. 申请Bitly的 <a href="http://bit.ly/account/your_api_key">API key</a> , 申请地址 <a href="http://bit.ly/a/your_api_key">http://bit.ly/a/your_api_key</a></p>
<p><img class="aligncenter size-full wp-image-1152" title="wordpress code url shortener with bitly" src="http://www.renniaofei.com/wp-content/uploads/2010/06/wordpress-code-url-shortener-with-bitly-1.jpg" alt="wordpress code url shortener with bitly" width="441" height="325" /></p>
<p>2. 在Wordpress主题文件夹的functions.php文件中增加下面的函数</p>
<pre><code>function bitly($url) {
$content = file_get_contents("http://api.bit.ly/v3/shorten?login=YOURLOGIN
&amp;apiKey=YOURAPIKEY
&amp;longUrl=".$url."&amp;format=xml");
$element = new SimpleXmlElement($content);
$bitly = $element-&gt;data-&gt;url;
if($bitly){
echo $bitly;}
else{
echo '0';
}
}</code></pre>
<p>将上面代码中的YOURLOGIN和YOURAPIKEY替换成第一步申请的LOGIN 和 API KEY。</p>
<p>3. 在single.php 中需要显示短网址的地方增加下面的代码</p>
<pre><code>&lt;?php bitly(get_permalink($post-&gt;post_id)); ?&gt;</code></pre>
<p>具体的实例样式可参考本博客底部的转载说明处。</p>
<p>附：<a href="http://www.renniaofei.com/tools/short-url-untiny/">反解短网址利器-Untiny</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.renniaofei.com/code/wordpress-code-url-shortener-with-bitly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress固定链接模块——Permalink Template Tags</title>
		<link>http://www.renniaofei.com/code/wordpress-permalink-template-tags/</link>
		<comments>http://www.renniaofei.com/code/wordpress-permalink-template-tags/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 07:01:04 +0000</pubDate>
		<dc:creator>任鸟飞</dc:creator>
				<category><![CDATA[编码]]></category>
		<category><![CDATA[wordpress 主题]]></category>
		<category><![CDATA[WordPress 教程]]></category>
		<category><![CDATA[中文独立博客]]></category>
		<category><![CDATA[标准]]></category>

		<guid isPermaLink="false">http://www.renniaofei.com/?p=1065</guid>
		<description><![CDATA[Permalink Template Tags 中函数的作用是在Wordpress主题中生成固定链接,包括Permalink Anchor、 Permalink (PHP) 、Permalink URL 、Permalink(formatted for syndication feeds)。
一. Permalink Anchor——输出带有标识符的文章链接
语法：&#60;?php permalink_anchor(&#8216;type&#8217;); ?&#62;
参数说明：type[id&#124;title]
id——post ID
tile——postname
输出样式&#60;a id=&#8221;&#8230;.
例：&#60;?php permalink_anchor(&#8216;type=title&#8217;); ?&#62;
二. Permalink (PHP)——在php中调用文章permalink
语法：&#60;?php get_permalink(id); ?&#62;
参数说明：
id——文章ID（post ID）,若函数用于循环（loop）内，并且没有指定id时，id默认取值当前文章的post ID。
例：&#60;?php get_permalink(17); ?&#62;
三. Permalink URL——文章固定链接
语法：&#60;?php the_permalink(); ?&#62;
参数说明：无参数，此函数必须用于循环（loop）中，返回正在处理的文章固定链接。
四. Permalink(formatted for syndication feeds)
语法：&#60;?php permalink_single_rss(&#8216;file&#8217;); ?&#62;
参数说明：
file——链接指向的页面，默认为当前页。
例：&#60;?php permalink_single_rss(&#8216;index.php&#8217;); ?&#62;
]]></description>
			<content:encoded><![CDATA[<p>Permalink Template Tags 中函数的作用是在<a href="http://www.renniaofei.com/tag/wordpress-tutorials/">Wordpress主题</a>中生成固定链接,包括Permalink Anchor、 Permalink (PHP) 、Permalink URL 、Permalink(formatted for syndication feeds)。<span id="more-1065"></span></p>
<h4>一. Permalink Anchor——输出带有标识符的文章链接</h4>
<p>语法：&lt;?php permalink_anchor(&#8216;type&#8217;); ?&gt;<br />
参数说明：type[id|title]<br />
id——post ID<br />
tile——postname<br />
输出样式&lt;a id=&#8221;&#8230;.<br />
例：&lt;?php permalink_anchor(&#8216;type=title&#8217;); ?&gt;</p>
<h4>二. Permalink (PHP)——在php中调用文章permalink</h4>
<p>语法：&lt;?php get_permalink(id); ?&gt;<br />
参数说明：<br />
id——文章ID（post ID）,若函数用于循环（loop）内，并且没有指定id时，id默认取值当前文章的post ID。<br />
例：&lt;?php get_permalink(17); ?&gt;</p>
<h4>三. Permalink URL——文章固定链接</h4>
<p>语法：&lt;?php the_permalink(); ?&gt;<br />
参数说明：无参数，此函数必须用于循环（loop）中，返回正在处理的文章固定链接。</p>
<h4>四. Permalink(formatted for syndication feeds)</h4>
<p>语法：&lt;?php permalink_single_rss(&#8216;file&#8217;); ?&gt;<br />
参数说明：<br />
file——链接指向的页面，默认为当前页。<br />
例：&lt;?php permalink_single_rss(&#8216;index.php&#8217;); ?&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.renniaofei.com/code/wordpress-permalink-template-tags/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress主题链接函数—— Link Template Tags</title>
		<link>http://www.renniaofei.com/code/wordpress-link-template-tags/</link>
		<comments>http://www.renniaofei.com/code/wordpress-link-template-tags/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 15:37:38 +0000</pubDate>
		<dc:creator>任鸟飞</dc:creator>
				<category><![CDATA[编码]]></category>
		<category><![CDATA[wordpress 主题]]></category>
		<category><![CDATA[WordPress 教程]]></category>
		<category><![CDATA[中文独立博客]]></category>
		<category><![CDATA[标准]]></category>

		<guid isPermaLink="false">http://www.renniaofei.com/?p=1058</guid>
		<description><![CDATA[Link Template Tags 中函数的作用是在Wordpress主题中生成相关链接，包括 Edit Post 链接、 Edit Comment 链接、Page 链接、Yearly Archive URL 、Monthly Archive  URL、Daily Archive URL 、Previous Post Links。
一. Edit Post 链接——在用户登录的情况下，显示文章编辑链接
语法：&#60;?php edit_post_link(&#8216;link&#8217;, &#8217;before&#8217;, &#8217;after&#8217;); ?&#62;
参数说明：

link：链接文本，默认值为 Edit This，例：&#60;?php edit_post_link(&#8216;Edit&#8217;, &#8217;before&#8217;, &#8217;after&#8217;); ?&#62;。
before：链接文本前导符，默认值为空，例：&#60;?php edit_post_link(&#8216;link&#8217;, &#8217;&#38;raquo;&#8217;, &#8217;after&#8217;); ?&#62;
after：链接文本后导符，默认值为空，例：&#60;?php edit_post_link(&#8216;link&#8217;, &#8217;before&#8217;, &#8217;&#38;laquo;&#8217;); ?&#62;

二. Edit Comment 链接——在用户登录的情况下，显示评论编辑链接
语法：&#60;?php edit_comment_link(&#8216;link&#8217;, &#8217;before&#8217;, &#8217;after&#8217;); ?&#62;
参数说明：

link：链接文本，默认值为 Edit This，例：&#60;?php edit_comment_link(&#8216;Edit&#8217;, &#8217;before&#8217;, &#8217;after&#8217;); ?&#62;
before：链接文本前导符，默认值为空，例：&#60;?php edit_comment_link(&#8216;link&#8217;, &#8217;&#38;raquo;&#8217;, &#8217;after&#8217;); ?&#62;
after：链接文本后导符，默认值为空，例：&#60;?php edit_comment_link(&#8216;link&#8217;, &#8217;before&#8217;, &#8217;&#38;laquo;&#8217;); ?&#62;

三. Page Links——页面导航链接
语法：&#60;?php wp_page_links(&#8216;arguments&#8217;); ?&#62;
参数说明：

before：整个页面链接的前导符，默认值为&#60;p&#62;Pages:，例：&#60;?php wp_page_links(&#8216;before=&#60;div&#62;&#8217;); ?&#62;
after：整个页面链接的后导符，默认值为&#60;/p&#62;，例：&#60;?php wp_page_links(&#8216;after=&#60;/div&#62;&#8217;); ?&#62;
next_or_number：是否使用页码，参数范围 [number &#124; next]，例：&#60;?php wp_page_links(&#8216;next_or_number=next&#8217;); ?&#62;
nextpagelink：下一页链接文本，默认值为Next page，例：&#60;?php wp_page_links(&#8216;nextpagelink=Next&#8217;); ?&#62;
previouspagelink：前一页链接文本，默认值为Previous page，例：&#60;?php wp_page_links(&#8216;previouspagelink=Previous&#8217;); ?&#62;
pagelink：链接格式，%代表页码，例：&#60;?php wp_page_links(&#8216;pagelink=[%]&#8216;); ?&#62;
more_file：链接指向的页面，默认只向当前页面，例：&#60;?php wp_page_links(&#8216;more_file=more.php&#8217;); ?&#62;

四. Yearly Archive URL —— 年份归档链接，供PHP调用
语法：&#60;?php get_year_link(&#8216;year&#8217;); ?&#62;
参数说明：默认值为当前年份，例：&#60;?php get_year_link(&#8216;2003&#8242;); ?&#62;
五. Monthly Archive URL——年份/月份归档链接，供PHP调用
语法：&#60;?php get_month_link(&#8216;year&#8217;,'month&#8217;); ?&#62;
参数说明：
year：年份；month：月份
例：&#60;?php get_month_link(&#8216;2003&#8242;,&#8217;month&#8217;); ?&#62; &#60;?php get_month_link(&#8216;2003&#8242;,&#8217;month&#8217;); ?&#62;
六. Daily Archive URL 按天归档文件链接，供PHP [...]]]></description>
			<content:encoded><![CDATA[<p>Link Template Tags 中函数的作用是在<a href="http://www.renniaofei.com/tag/wordpress-tutorials/">Wordpress主题</a>中生成相关链接，包括 Edit Post 链接、 Edit Comment 链接、Page 链接、Yearly Archive URL 、Monthly Archive  URL、Daily Archive URL 、Previous Post Links。<span id="more-1058"></span></p>
<h4>一. Edit Post 链接——在用户登录的情况下，显示文章编辑链接</h4>
<p>语法：&lt;?php edit_post_link(&#8216;link&#8217;, &#8217;before&#8217;, &#8217;after&#8217;); ?&gt;</p>
<p>参数说明：</p>
<ul>
<li>link：链接文本，默认值为 Edit This，例：&lt;?php edit_post_link(&#8216;Edit&#8217;, &#8217;before&#8217;, &#8217;after&#8217;); ?&gt;。</li>
<li>before：链接文本前导符，默认值为空，例：&lt;?php edit_post_link(&#8216;link&#8217;, &#8217;&amp;raquo;&#8217;, &#8217;after&#8217;); ?&gt;</li>
<li>after：链接文本后导符，默认值为空，例：&lt;?php edit_post_link(&#8216;link&#8217;, &#8217;before&#8217;, &#8217;&amp;laquo;&#8217;); ?&gt;</li>
</ul>
<h4>二. Edit Comment 链接——在用户登录的情况下，显示评论编辑链接</h4>
<p>语法：&lt;?php edit_comment_link(&#8216;link&#8217;, &#8217;before&#8217;, &#8217;after&#8217;); ?&gt;</p>
<p>参数说明：</p>
<ul>
<li>link：链接文本，默认值为 Edit This，例：&lt;?php edit_comment_link(&#8216;Edit&#8217;, &#8217;before&#8217;, &#8217;after&#8217;); ?&gt;</li>
<li>before：链接文本前导符，默认值为空，例：&lt;?php edit_comment_link(&#8216;link&#8217;, &#8217;&amp;raquo;&#8217;, &#8217;after&#8217;); ?&gt;</li>
<li>after：链接文本后导符，默认值为空，例：&lt;?php edit_comment_link(&#8216;link&#8217;, &#8217;before&#8217;, &#8217;&amp;laquo;&#8217;); ?&gt;</li>
</ul>
<h4>三. Page Links——页面导航链接</h4>
<p>语法：&lt;?php wp_page_links(&#8216;arguments&#8217;); ?&gt;</p>
<p>参数说明：</p>
<ul>
<li>before：整个页面链接的前导符，默认值为&lt;p&gt;Pages:，例：&lt;?php wp_page_links(&#8216;before=&lt;div&gt;&#8217;); ?&gt;</li>
<li>after：整个页面链接的后导符，默认值为&lt;/p&gt;，例：&lt;?php wp_page_links(&#8216;after=&lt;/div&gt;&#8217;); ?&gt;</li>
<li>next_or_number：是否使用页码，参数范围 [number | next]，例：&lt;?php wp_page_links(&#8216;next_or_number=next&#8217;); ?&gt;</li>
<li>nextpagelink：下一页链接文本，默认值为Next page，例：&lt;?php wp_page_links(&#8216;nextpagelink=Next&#8217;); ?&gt;</li>
<li>previouspagelink：前一页链接文本，默认值为Previous page，例：&lt;?php wp_page_links(&#8216;previouspagelink=Previous&#8217;); ?&gt;</li>
<li>pagelink：链接格式，%代表页码，例：&lt;?php wp_page_links(&#8216;pagelink=[%]&#8216;); ?&gt;</li>
<li>more_file：链接指向的页面，默认只向当前页面，例：&lt;?php wp_page_links(&#8216;more_file=more.php&#8217;); ?&gt;</li>
</ul>
<h4>四. Yearly Archive URL —— 年份归档链接，供PHP调用</h4>
<p>语法：&lt;?php get_year_link(&#8216;year&#8217;); ?&gt;</p>
<p>参数说明：默认值为当前年份，例：&lt;?php get_year_link(&#8216;2003&#8242;); ?&gt;</p>
<h4>五. Monthly Archive URL——年份/月份归档链接，供PHP调用</h4>
<p>语法：&lt;?php get_month_link(&#8216;year&#8217;,'month&#8217;); ?&gt;</p>
<p>参数说明：</p>
<p>year：年份；month：月份</p>
<p>例：&lt;?php get_month_link(&#8216;2003&#8242;,&#8217;month&#8217;); ?&gt; &lt;?php get_month_link(&#8216;2003&#8242;,&#8217;month&#8217;); ?&gt;</p>
<h4>六. Daily Archive URL 按天归档文件链接，供PHP 调用</h4>
<p>语法：&lt;?php get_day_link(&#8216;year&#8217;,'month&#8217;,'day&#8217;); ?&gt;</p>
<p>参数说明：</p>
<p>year：年份；month：月份；day：天</p>
<p>例：&lt;?php get_day_link(&#8216;year&#8217;,'month&#8217;,'23&#8242;); ?&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.renniaofei.com/code/wordpress-link-template-tags/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在Wordpress中设置24小时内的文章日期格式为“之前”发表</title>
		<link>http://www.renniaofei.com/code/display-timeago-for-wordpress-if-less-than-24-hours/</link>
		<comments>http://www.renniaofei.com/code/display-timeago-for-wordpress-if-less-than-24-hours/#comments</comments>
		<pubDate>Thu, 20 May 2010 13:45:23 +0000</pubDate>
		<dc:creator>任鸟飞</dc:creator>
				<category><![CDATA[编码]]></category>
		<category><![CDATA[wordpress 主题]]></category>
		<category><![CDATA[WordPress 教程]]></category>
		<category><![CDATA[创意]]></category>
		<category><![CDATA[技巧]]></category>

		<guid isPermaLink="false">http://www.renniaofei.com/?p=989</guid>
		<description><![CDATA[Wordpress主题中，常见的日期显示格式——“2010年5月20日”，本文将介绍一种新的日期显示格式——“20分钟之前发表”，这种日期显示格式很适合那些内容更新比较频繁的博客。
一. 先看一下 Google实时搜索 中的日期显示格式

上面的日期显示格式效果很酷吧，在wordpress中只需要增加简单的几行代码也可以实现上述的效果。
二. 具体实现方法
只需要在主题文件夹的 functions.php 文件中增加下面的代码即可。
add_filter('the_time', 'timeago');

function timeago() {
global $post;
$date = $post-&#62;post_date;
$time = get_post_time('G', true, $post);
$time_diff = time() - $time;
if ( $time_diff &#62; 0 &#38;&#38; $time_diff &#60; 24*60*60 )
$display = sprintf( __('%s 之前发表'), human_time_diff( $time ) );
else
$display = date(get_option('date_format'), strtotime($date) );
return $display;
}
三. 说明
sprintf( __(&#8216;%s 之前发表&#8217;), human_time_diff( $time ) ) ——日期显示格式，可根据需要自行修改“ %s 之前发表 ”（不包含引号）即可。
]]></description>
			<content:encoded><![CDATA[<p>Wordpress主题中，常见的日期显示格式——“2010年5月20日”，本文将介绍一种新的日期显示格式——“20分钟之前发表”，这种日期显示格式很适合那些内容更新比较频繁的博客。<span id="more-989"></span></p>
<h4>一. 先看一下 Google实时搜索 中的日期显示格式<br />
<img class="aligncenter size-full wp-image-990" title="在wordpress 中设置24小时内文章日期格式为“之前发表”" src="http://www.renniaofei.com/wp-content/uploads/2010/05/display-timeago-for-wordpress-if-less-than-24-hours-preview1.jpg" alt="在wordpress 中设置24小时内文章日期格式为“之前发表”" width="563" height="454" /></h4>
<p>上面的日期显示格式效果很酷吧，在wordpress中只需要增加简单的几行代码也可以实现上述的效果。</p>
<h4>二. 具体实现方法</h4>
<p>只需要在主题文件夹的 functions.php 文件中增加下面的代码即可。</p>
<pre><code>add_filter('the_time', 'timeago');

function timeago() {
global $post;
$date = $post-&gt;post_date;
$time = get_post_time('G', true, $post);
$time_diff = time() - $time;
if ( $time_diff &gt; 0 &amp;&amp; $time_diff &lt; 24*60*60 )
$display = sprintf( __('%s 之前发表'), human_time_diff( $time ) );
else
$display = date(get_option('date_format'), strtotime($date) );
return $display;
}</code></pre>
<h4>三. 说明</h4>
<p>sprintf( __(&#8216;%s 之前发表&#8217;), human_time_diff( $time ) ) ——日期显示格式，可根据需要自行修改“ %s 之前发表 ”（不包含引号）即可。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.renniaofei.com/code/display-timeago-for-wordpress-if-less-than-24-hours/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.387 seconds -->
