<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>jokerliang.com</title>
	<link>http://jokerliang.com</link>
	<description>学习与分享美的网络！</description>
	<lastBuildDate>Thu, 10 May 2012 16:38:40 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.2.1" -->

	<item>
		<title>如何在15分钟内掌握JavaScript面向对象编程[转]</title>
		<description><![CDATA[导读：经常看到一些JavaScript的代码脏乱得无法理解，到处都是属性和方法，或者一个循环套着一个循环。但如果使用面向对象就能很好的理清代码，并方便理解和修改代码。如果你不希望自己的代码只有上帝理解的话，就请尽量考虑使用面向对象的模式。 译文正文： 到处都是属性、方法，代码极其难懂，天哪，我的程序员，你究竟在做什么？仔细看看这篇指南，让我们一起写出优雅的面向对象的JavaScript代码吧！ 作为一个开发者，能否写出优雅的代码对于你的职业生涯至关重要。随着像Node.js这类技术的发展，你甚至可以在服务器端使用JavaScript了。同样的，你也可以使用JavaScript来控制MongoDB的持续数据存储。 文本标记 文本标记只是JavaScript里创建对象的一种方法，当然这里肯定不止这一种，但它是你在只打算创建一个对象实例时的首选方法。 var bill = {}; 上面的代码并不实用，它只是一个空对象。接下来我们动态地向这个对象中添加一些属性和方法。 bill.name = "Bill E Goat"; bill.sound = function() { console.log( 'bahhh!' ); }; 这里添加了属性name，并且给它分配了值”Bill E Goat”。我们并不需要先创建一个空对象，而可以把所有代码直接写在一对括号里。 var bill = { name: "Bill E Goat", sound: function() { console.log( 'bahhh!' ); } }; 是不是很美观？访问它的属性和方法就像呼吸一样简单、自然。 bill.name; // "Bill E Goat" bill.sound(); // "bahhh" 如果属性名不是一个合法的标志符，我们还可以这样访问它： bill['name']; // [...]<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Javascript动态载入CSS的最佳方法" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fthe-best-way-to-dynamic-load-css-with-javascript.html&from=http%3A%2F%2Fjokerliang.com%2Foo-js-in-15mins-or-less.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Javascript动态载入CSS的最佳方法</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="迈向专业设计师的八步秘诀" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fuseful-design-secrets-for-engineers.html&from=http%3A%2F%2Fjokerliang.com%2Foo-js-in-15mins-or-less.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/12/29/13214198.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">迈向专业设计师的八步秘诀</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="一曲《花旦》,HOLD住全场的不仅是动人歌声,还有那飘然花旦!" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Factress-music-and-technology.html&from=http%3A%2F%2Fjokerliang.com%2Foo-js-in-15mins-or-less.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2012/01/01/13320276.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">一曲《花旦》,HOLD住全场的不仅是动人歌声,还有那飘然花旦!</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="三步轻松实现在wordpress后台添加自定义面板" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fthree-steps-way-to-use-wordpress-custom-dashboard.html&from=http%3A%2F%2Fjokerliang.com%2Foo-js-in-15mins-or-less.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">三步轻松实现在wordpress后台添加自定义面板</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="less.js使CSS更简单、更整洁、更高效" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fwrite-simple-css-with-less-dot-js.html&from=http%3A%2F%2Fjokerliang.com%2Foo-js-in-15mins-or-less.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2012/05/08/25194227.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">less.js使CSS更简单、更整洁、更高效</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
		<link>http://jokerliang.com/oo-js-in-15mins-or-less.html</link>
			</item>
	<item>
		<title>less.js使CSS更简单、更整洁、更高效</title>
		<description><![CDATA[LESS 将 CSS 赋予了动态语言的特性，如 变量， 继承， 运算， 函数. LESS 既可以在 客户端 上运行 (支持IE 6+, Webkit, Firefox)，也可以借助Node.js或者Rhino在服务端运行。&#8211; http://www.lesscss.net/ 不记得是什么时候就见到过LESS.JS的介绍，但一直未接触与了解。因最近在熟悉Twitter Bootstrap的结构时，看到了Mark Otto和Jacob Thornton推荐了LESS.JS时，就花点时间学习了一下。(国内的dnspod正是基于Twitter Bootstrap而成，建议看看~) 如何将less.js引入到页面中使用？ 官网给了段示例代码，如下： 引入你的 .less 样式文件的时候要设置 rel 属性值为 “stylesheet/less”: 然后在head中引入: 注意你的less样式文件一定要在引入less.js前先引入。 备注：请在服务器环境下使用！本地直接打开可能会报错！(服务器环境配置LESS.JS目前我尚还不知，有会的大虾还请多指教呀~) 在head头部引入后，就可以在styles.less中动工了，看个简单的示例： //定义点变量 @blue: #049cdb; @blueDark: #0064cd; @gray: #999; @baseFontSize: 13px; @baseLineHeight: 18px; @baseFontFamily: "Microsoft Yahei", "Segoe UI", Tahoma, Arial; //应用 body { [...]<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Foo-js-in-15mins-or-less.html&from=http%3A%2F%2Fjokerliang.com%2Fwrite-simple-css-with-less-dot-js.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">如何在15分钟内掌握JavaScript面向对象编程[转]</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2F2008%2F10%2F30%2Fjquery-use-of-the-realization-of-the-rotation-per-click-css-style%2F&from=http%3A%2F%2Fjokerliang.com%2Fwrite-simple-css-with-less-dot-js.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">利用jQuery实现每次点击轮换CSS样式</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fseven-pages-fine-style-switch-element.html&from=http%3A%2F%2Fjokerliang.com%2Fwrite-simple-css-with-less-dot-js.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">七款精美页面样式切换元素</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2F2008%2F10%2F26%2Fthe-best-way-to-dynamic-load-css-with-javascript%2F&from=http%3A%2F%2Fjokerliang.com%2Fwrite-simple-css-with-less-dot-js.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Javascript动态载入CSS的最佳方法</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fthree-steps-way-to-use-wordpress-custom-dashboard.html&from=http%3A%2F%2Fjokerliang.com%2Fwrite-simple-css-with-less-dot-js.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">三步轻松实现在wordpress后台添加自定义面板</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
		<link>http://jokerliang.com/write-simple-css-with-less-dot-js.html</link>
			</item>
	<item>
		<title>重设wordpress密码的最实用方法</title>
		<description><![CDATA[遇到忘记密码应该是常事；不过经常使用的也能忘，就容易让人见笑了！ 忘了就忘了呗~咱想个办法重设一下，动手吧！ &#60;?php include('wp-config.php'); include('wp-blog-header.php'); $to_check = "http://jokerliang.com"; $default_password = '$P$Bdhc5gWxRrprI3UGzASM.HsDbGlAvB/'; //admin if (empty($_POST['emergency_pass'])) { ?&#62; &#60;form method='post'&#62; 重设管理员(admin)密码: &#60;input name='emergency_pass' type='password' /&#62; &#60;input name='check_str' type='text' /&#62; &#60;input name="type" type="radio" value="1" checked="checked" /&#62;输入新密码 &#60;input name="type" type="radio" value="0" /&#62;恢复成"admin" &#60;input type='submit' /&#62; &#60;/form&#62; &#60;?php } else { if( isset( $_POST['check_str'] ) &#38;&#38; trim ( stripslashes( $_POST['check_str'] [...]<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="关于wordpress插件的几点基础知识" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fsome-of-the-basics-of-wordpress-plugin.html&from=http%3A%2F%2Fjokerliang.com%2Ftwo-ways-to-reset-wordpress-password.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/12/14/12354773.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">关于wordpress插件的几点基础知识</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="几招搞定wordpress自由获取指定分类中的日志" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fget-posts-from-specific-category-in-wordpress.html&from=http%3A%2F%2Fjokerliang.com%2Ftwo-ways-to-reset-wordpress-password.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2012/03/29/18409549.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">几招搞定wordpress自由获取指定分类中的日志</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="完美解决wordpress的301重定向" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fright-way-to-use-301-redirect-url-in-wordpress.html&from=http%3A%2F%2Fjokerliang.com%2Ftwo-ways-to-reset-wordpress-password.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2012/04/01/18617357.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">完美解决wordpress的301重定向</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="三步轻松实现在wordpress后台添加自定义面板" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fthree-steps-way-to-use-wordpress-custom-dashboard.html&from=http%3A%2F%2Fjokerliang.com%2Ftwo-ways-to-reset-wordpress-password.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">三步轻松实现在wordpress后台添加自定义面板</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="WordPress扩展变量输出函数:dump()" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fwordpress-expansion-output-variable-function-dump.html&from=http%3A%2F%2Fjokerliang.com%2Ftwo-ways-to-reset-wordpress-password.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress扩展变量输出函数:dump()</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
		<link>http://jokerliang.com/two-ways-to-reset-wordpress-password.html</link>
			</item>
	<item>
		<title>三步轻松实现在wordpress后台添加自定义面板</title>
		<description><![CDATA[今天在百度知道里看到一道友询问，怎么向仪表盘添加能够显示统计信息的面板？我给其弄了一段示例代码，顺道在这里整理一下： 第一步，了解wp_add_dashboard_widgets函数 wp_add_dashboard_widgets函数主要用来向后台“仪表盘”内添加新的内容。位于/wp-admin/includes/dashboard.php。参数说明如下： &#60;?php wp_add_dashboard_widget($widget_id, $widget_name, $callback, $control_callback = null) //$widget_id 是用来和区别其他面板的ID名称,也可以理解成div标签里面的ID名称(必填) //$widget_name 是用来显示在控制面板的标题名称(必填) //$callback 是用来返回的方法名称,在该方法名称下可以自定义自己的一些内容(必填) //$control_callback = null 这个默认为空即可,因为是可选的,所以很少使用. ?&#62; 第二步，找到添加面板的hooks 向仪表盘添加自定义面板时，可以通过向wp_dashboard_setup这个钩子添回自定义函数即可。 第三步，加上您的自定义代码 综合以上两步，我们来列一段代码试试效果 &#60;?php add_action('wp_dashboard_setup', 'my_counter_dashboard_widgets'); function my_counter_dashboard_widgets(){ wp_add_dashboard_widgets('my_counter_dashboard','流量统计','my_custom_counter_dashboard'); } function my_custom_counter_dashboard(){ echo '你想说的内容！'; //或者放您的统计代码 } ?&#62;<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="完美解决wordpress的301重定向" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fright-way-to-use-301-redirect-url-in-wordpress.html&from=http%3A%2F%2Fjokerliang.com%2Fthree-steps-way-to-use-wordpress-custom-dashboard.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2012/04/01/18617357.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">完美解决wordpress的301重定向</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="几招搞定wordpress自由获取指定分类中的日志" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fget-posts-from-specific-category-in-wordpress.html&from=http%3A%2F%2Fjokerliang.com%2Fthree-steps-way-to-use-wordpress-custom-dashboard.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2012/03/29/18409549.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">几招搞定wordpress自由获取指定分类中的日志</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="关于wordpress插件的几点基础知识" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2F2011%2F11%2F03%2Fsome-of-the-basics-of-wordpress-plugin%2F&from=http%3A%2F%2Fjokerliang.com%2Fthree-steps-way-to-use-wordpress-custom-dashboard.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/11/03/10222376.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">关于wordpress插件的几点基础知识</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="wordpress文章页如何调用当前文章前第3篇的文章链接？" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fuseful-of-previous-post-link-in-wordpress.html&from=http%3A%2F%2Fjokerliang.com%2Fthree-steps-way-to-use-wordpress-custom-dashboard.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">wordpress文章页如何调用当前文章前第3篇的文章链接？</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="WordPress扩展变量输出函数:dump()" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fwordpress-expansion-output-variable-function-dump.html&from=http%3A%2F%2Fjokerliang.com%2Fthree-steps-way-to-use-wordpress-custom-dashboard.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress扩展变量输出函数:dump()</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
		<link>http://jokerliang.com/three-steps-way-to-use-wordpress-custom-dashboard.html</link>
			</item>
	<item>
		<title>Ellen Jewett精品工艺欣赏</title>
		<description><![CDATA[这组手工艺作品，由位于加拿大的Ellen Jewett发布于Etsy!每件成品均栩栩如生，色彩鲜丽且充满活力！ 查看其他全部作品，请访问：http://www.etsy.com/shop/creaturesfromel<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="抢眼的万圣节设计" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2F2011%2F10%2F31%2Fdazzling-halloween%2F&from=http%3A%2F%2Fjokerliang.com%2Ffantastic-manual-sculpture-by-ellen-jewett.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/10/31/10076784.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">抢眼的万圣节设计</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="昙花一现，绽放永恒" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fthe-transient-bloom-but-eternal-beauty-by-martin-klimas.html&from=http%3A%2F%2Fjokerliang.com%2Ffantastic-manual-sculpture-by-ellen-jewett.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2012/04/12/19320939.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">昙花一现，绽放永恒</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="欣赏:体育数字艺术" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2F2009%2F11%2F11%2Fenjoy-sports-digital-art%2F&from=http%3A%2F%2Fjokerliang.com%2Ffantastic-manual-sculpture-by-ellen-jewett.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/10/28/9939930.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">欣赏:体育数字艺术</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Head and Torso,纸艺欣赏" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fhead-and-torso.html&from=http%3A%2F%2Fjokerliang.com%2Ffantastic-manual-sculpture-by-ellen-jewett.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2012/02/13/15321420.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Head and Torso,纸艺欣赏</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="又见逼真手绘" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Farts-on-hands-2.html&from=http%3A%2F%2Fjokerliang.com%2Ffantastic-manual-sculpture-by-ellen-jewett.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2012/01/01/13327076.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">又见逼真手绘</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
		<link>http://jokerliang.com/fantastic-manual-sculpture-by-ellen-jewett.html</link>
			</item>
	<item>
		<title>完美解决wordpress的301重定向</title>
		<description><![CDATA[页面永久性移走（301重定向）是一种非常重要的“自动转向”技术。 关于重定向 301代表永久性转移(Permanently Moved)，301重定向是网页更改地址后对搜索引擎友好的最好方法，只要不是暂时搬移的情况，都建议使用301来做转址。 同样，在使用301永久性重定向命令让多个域名指向网站主域时，亦不会对网站的排名产生任何负面影响。 关于重定向实现的几种方法 关于重定向实现的几种方法，月光博客上有详细讲解，不再重复劳动，需要的朋友可以前去认真学习！文章地址：http://www.williamlong.info/archives/484.html wordpress中实现301跳转的方法 google的站长管理工具，在网站诊断方面，可以有效协助我们避免一些SEO方面的错误；比如页面抓取错误，这是我在做301重定向处理前的抓取错误数： 因为博客地址在使用过程中，随意更改过几次，一直都未注意过这方面的问题，直至用了google的站长管理工具才发现严重性。 在wordpress实现301重定向的方法，有很多技术类、seo类博客均有提到，我仅整理下我的方法，以作备用；将以下代码断放置于wordpress根目录下的wp-blog-header.php里原代码前即可。 $URIRedirect = strtolower( $_SERVER['REQUEST_URI'] ); if ( preg_match( '/(\/[0-9]{0,4})(\/[0-9]{0,2})(\/[0-9]{0,2})(\/([a-z0-9+\$_-]\.?)+)*\/?/', $URIRedirect, $matchs ) ) { header('HTTP/1.1 301 Moved Permanently'); header('Location:http://jokerliang.com'.$matchs[4].'.html'); exit(); } 这段代码主要是将固定链接格式“/%year%/%monthnum%/%day%/%postname%/”转成“/%postname%.html”。 这样处理后，经过一段时间再查google抓取错误结果，如图：<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="几招搞定wordpress自由获取指定分类中的日志" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fget-posts-from-specific-category-in-wordpress.html&from=http%3A%2F%2Fjokerliang.com%2Fright-way-to-use-301-redirect-url-in-wordpress.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2012/03/29/18409549.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">几招搞定wordpress自由获取指定分类中的日志</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="关于wordpress插件的几点基础知识" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2F2011%2F11%2F03%2Fsome-of-the-basics-of-wordpress-plugin%2F&from=http%3A%2F%2Fjokerliang.com%2Fright-way-to-use-301-redirect-url-in-wordpress.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/11/03/10222376.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">关于wordpress插件的几点基础知识</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="wordpress文章页如何调用当前文章前第3篇的文章链接？" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fuseful-of-previous-post-link-in-wordpress.html&from=http%3A%2F%2Fjokerliang.com%2Fright-way-to-use-301-redirect-url-in-wordpress.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">wordpress文章页如何调用当前文章前第3篇的文章链接？</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="三步轻松实现在wordpress后台添加自定义面板" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fthree-steps-way-to-use-wordpress-custom-dashboard.html&from=http%3A%2F%2Fjokerliang.com%2Fright-way-to-use-301-redirect-url-in-wordpress.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">三步轻松实现在wordpress后台添加自定义面板</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="WordPress扩展变量输出函数:dump()" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2F2008%2F11%2F06%2Fwordpress-expansion-output-variable-function-dump%2F&from=http%3A%2F%2Fjokerliang.com%2Fright-way-to-use-301-redirect-url-in-wordpress.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">WordPress扩展变量输出函数:dump()</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
		<link>http://jokerliang.com/right-way-to-use-301-redirect-url-in-wordpress.html</link>
			</item>
	<item>
		<title>wordpress文章页如何调用当前文章前第3篇的文章链接？</title>
		<description><![CDATA[在百度知道，看到一道友提出疑问：wordpress文章页如何调用当前文章前第3篇的文章链接？甚感好奇~ 大多数情况，在single.php页面，都习惯添加“上一篇”和“下一篇”的链接，以方便用户便捷浏览；这道友的需求到是非常别具一格； 在wordpress官方文档里，有previous_post_link()和next_post_link()详细解释，再结合查看源码，得出解决方法如下： add_filter( 'get_previous_post_sort', 'find_no_three_link'); function find_no_three_link(){ return 'ORDER BY p.post_date DESC LIMIT 2,3'; } 经测试，返回的结果是正确的，最后只需要在显示链接的地方使用previous_post_link()即可；<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="几招搞定wordpress自由获取指定分类中的日志" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fget-posts-from-specific-category-in-wordpress.html&from=http%3A%2F%2Fjokerliang.com%2Fuseful-of-previous-post-link-in-wordpress.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2012/03/29/18409549.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">几招搞定wordpress自由获取指定分类中的日志</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="完美解决wordpress的301重定向" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fright-way-to-use-301-redirect-url-in-wordpress.html&from=http%3A%2F%2Fjokerliang.com%2Fuseful-of-previous-post-link-in-wordpress.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2012/04/01/18617357.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">完美解决wordpress的301重定向</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="关于wordpress插件的几点基础知识" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fsome-of-the-basics-of-wordpress-plugin.html&from=http%3A%2F%2Fjokerliang.com%2Fuseful-of-previous-post-link-in-wordpress.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/12/14/12354773.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">关于wordpress插件的几点基础知识</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="三步轻松实现在wordpress后台添加自定义面板" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fthree-steps-way-to-use-wordpress-custom-dashboard.html&from=http%3A%2F%2Fjokerliang.com%2Fuseful-of-previous-post-link-in-wordpress.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">三步轻松实现在wordpress后台添加自定义面板</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="实用工具：PHPXref试用笔记" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Futilities-phpxref-trial-notes.html&from=http%3A%2F%2Fjokerliang.com%2Fuseful-of-previous-post-link-in-wordpress.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">实用工具：PHPXref试用笔记</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
		<link>http://jokerliang.com/useful-of-previous-post-link-in-wordpress.html</link>
			</item>
	<item>
		<title>几招搞定wordpress自由获取指定分类中的日志</title>
		<description><![CDATA[在利用wordpress制作CMS皮肤时，经常性地需要在页面某区块显示指定分类下的日志。 想实现这样的功能需求，可利用的方法有很多，包括query_posts函数、$wpdb全局变量、WP_Query类等等。 假设条件：以我的博客分类为例。 分类ID:61 分类名称：技术前端 需要获取10条记录 1、利用query_posts()函数 query_posts()是wordpress用来显示内容的最容易的方法之一，它可以通过各种灵活的方式检索或过滤你所需要的内容。 代码如下： &#60;?php //The args $args = 'cat=61&#38;posts_per_page=10'; // The Query query_posts( $args ); // The Loop while ( have_posts() ) : the_post(); echo '&#60;li&#62;'; the_title(); echo '&#60;/li&#62;'; endwhile; // Reset Query wp_reset_query(); ?&#62; 简单吧，这样就可以实现自由调用指定分类下的日志了。query_posts函数虽好用，但在使用该函数时，我们仍需要注意和尽量减少使用该函数的频率。具体说明可以参考wordpress啦！中有关这方面的说明。 同时，在官方文档中，这样强调：“如果我们不得不用到query_posts(),必须确保每次使用query_posts()后同时执行wp_reset_query();”。这就是为什么我在上面的代码中加上了wp_reset_query()的原因。 另外，大多数使用wordpress的朋友们，可能都对wp-pagenavi这个插件不再陌生。这是作为辅助分页的插件成为很多wper的常用工具之一。其作者在自己的博客中，分析并强调了部分朋友在分页时会出现数据差异情况的原因，并提出了正确使用query_posts()函数的方法。具体可移步至”Right Way to Use Query Posts” 综合以上几点，加上易维护性的目的，我们重新来理一下代码： &#60;?php //The args $args = [...]<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="完美解决wordpress的301重定向" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fright-way-to-use-301-redirect-url-in-wordpress.html&from=http%3A%2F%2Fjokerliang.com%2Fget-posts-from-specific-category-in-wordpress.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2012/04/01/18617357.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">完美解决wordpress的301重定向</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="关于wordpress插件的几点基础知识" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fsome-of-the-basics-of-wordpress-plugin.html&from=http%3A%2F%2Fjokerliang.com%2Fget-posts-from-specific-category-in-wordpress.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/12/14/12354773.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">关于wordpress插件的几点基础知识</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="wordpress文章页如何调用当前文章前第3篇的文章链接？" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fuseful-of-previous-post-link-in-wordpress.html&from=http%3A%2F%2Fjokerliang.com%2Fget-posts-from-specific-category-in-wordpress.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">wordpress文章页如何调用当前文章前第3篇的文章链接？</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="三步轻松实现在wordpress后台添加自定义面板" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fthree-steps-way-to-use-wordpress-custom-dashboard.html&from=http%3A%2F%2Fjokerliang.com%2Fget-posts-from-specific-category-in-wordpress.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">三步轻松实现在wordpress后台添加自定义面板</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="实用工具：PHPXref试用笔记" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2F2011%2F10%2F17%2Futilities-phpxref-trial-notes%2F&from=http%3A%2F%2Fjokerliang.com%2Fget-posts-from-specific-category-in-wordpress.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">实用工具：PHPXref试用笔记</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
		<link>http://jokerliang.com/get-posts-from-specific-category-in-wordpress.html</link>
			</item>
	<item>
		<title>超慢镜头展示驾车狂飙的代价</title>
		<description><![CDATA[飙车，一直以来都被自称为“勇士”所钟爱的项目，但却很少有人知道，狂飙之后猛烈碰撞所发生的一切！ 收集了两个公益性广告，广告中将以慢镜头告诉你，车祸时，到底会发生什么！ 1、年幼的生命，痛！ 2、撕裂的一切，悲！ 亲们，请为了您及您的家人，别再开快车……<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="90后的情感创意" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2F2011%2F05%2F06%2F90-after-the-emotional-creativity%2F&from=http%3A%2F%2Fjokerliang.com%2Fdo-not-faster.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/06/15/12472425.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">90后的情感创意</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="哎油哎油，膘你带~" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fnanjinahua.html&from=http%3A%2F%2Fjokerliang.com%2Fdo-not-faster.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2012/01/03/13360053.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">哎油哎油，膘你带~</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="逗你玩儿" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fbe-happy.html&from=http%3A%2F%2Fjokerliang.com%2Fdo-not-faster.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2012/03/26/18207555.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">逗你玩儿</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="悠着点，没事别开房！" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2F2011%2F05%2F14%2Fcareful-dont-open-house%2F&from=http%3A%2F%2Fjokerliang.com%2Fdo-not-faster.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/10/28/9939781.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">悠着点，没事别开房！</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="左还是右" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2F2009%2F06%2F08%2Fleft-or-right%2F&from=http%3A%2F%2Fjokerliang.com%2Fdo-not-faster.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/10/28/9939875.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">左还是右</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
		<link>http://jokerliang.com/do-not-faster.html</link>
			</item>
	<item>
		<title>逗你玩儿</title>
		<description><![CDATA[分享一段滑稽魔术表演； 我就喜欢个乐，但生活中有太多讲究，沟通讲究个默契、工作讲究个氛围、情侣讲究个门当户对、小三讲究个高挑韵味。。。。扯哪去了，反正就是个累！寂静夜晚，还是来段快乐滑稽，来得惬意！<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="5"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="超慢镜头展示驾车狂飙的代价" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Fdo-not-faster.html&from=http%3A%2F%2Fjokerliang.com%2Fbe-happy.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2012/03/27/18284927.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">超慢镜头展示驾车狂飙的代价</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="真假100元" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2F2009%2F01%2F13%2Fhd90-100rmb%2F&from=http%3A%2F%2Fjokerliang.com%2Fbe-happy.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/10/28/9940044.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">真假100元</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="改革开放后时代周刊上的中国人" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2F2008%2F11%2F20%2Ftime-magazine-on-the-chinese-people%2F&from=http%3A%2F%2Fjokerliang.com%2Fbe-happy.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/10/28/9940050.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">改革开放后时代周刊上的中国人</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="BruceLee" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2F2008%2F10%2F16%2Fabout-of-brucelee%2F&from=http%3A%2F%2Fjokerliang.com%2Fbe-happy.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2011/08/29/26204922.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">BruceLee</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="见证生命形成的奇迹" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fjokerliang.com%2Flife-is-miracle.html&from=http%3A%2F%2Fjokerliang.com%2Fbe-happy.html">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2012/01/31/14568473.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">见证生命形成的奇迹</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="5" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
		<link>http://jokerliang.com/be-happy.html</link>
			</item>
</channel>
</rss>

