Warning: Undefined array key "cperpage" in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 230

Warning: Undefined variable $output in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 300

Warning: Undefined variable $fixed_tags in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 301

Warning: Undefined variable $isshowdots in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 302

Warning: Undefined variable $tag_aditional in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 305

Warning: Undefined variable $tag_aditional in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 308

Warning: Undefined variable $tag_aditional in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 311

Warning: Undefined variable $post in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320

Warning: Attempt to read property "ID" on null in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320

Warning: Undefined variable $post in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320

Warning: Attempt to read property "ID" on null in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320

Warning: Undefined variable $more_text_link in /www/wwwroot/www.now163.com/wp-content/themes/typology/functions.php on line 320
插件 – 理想社会

Category插件

Nginx下启用wp-super-cache的mod_rewrite缓存模式及其配置规则

N

将以下代码扔到nginx.conf中,然后重启nginx。 # 如果请求的文件已存在,直接返回 if (-f $request_filename) { break; } set $supercache_file ''; set $supercache_uri $request_uri; set $supercache 1; set $ihttp_host ''; if ($request_method = POST) { set $supercache 0; } # 仅在访问文章永久链接时使用静态文件,请求中带参数则不使用静态缓存 set $qs 0; if ($query_string) { set $qs 1; } # 不过从 twitter, facebook, feedburner 链接点过来的,总是带参数,这些访问仍然可以使用静态文件 if ($query_string ~*...

Firefox常用插件

F

使用firefox浏览器好多年了,它丰富的插件功能还没有哪个浏览器可以取代。
常用的几个插件在这里备份一下。以防以后找不到了

Adblock                                         屏蔽广告
Xmarks                                          书签同步
Firegestures                                手势
Greasemonkey                            脚本
Autoproxy                                     自动翻墙 
Easy DragToGo+                         拖拽

在命令行下使用Plowshare下载网盘

Plowshare 是一个利用 Shell 脚本及 Perl 模块编写的 CLI 环境下的共享文件上传下载工具,支持 Megaupload, Rapidshare, 2Shared, 4Shared, ZShare, Badongo, Divshare.com, Depositfiles, Mediafire, Netload.in, Storage.to, Uploaded.to, Uploading.com, Sendspace, Usershare, X7.to 等大量流行的国外共享服务。
项目主页:
详细的使用方法见官方的 Readme 文档。
下面是所支持网盘的详细列表。

WordPress导航栏插件推荐

W

几乎所有的WordPress主题都会将页面设计成导航栏,对于这一点,我感觉不怎么好,相信很多朋友都跟我一样,希望将文章分类作为博客的导航栏。同时,这也是将WordPress打造成CMS不可或缺的一步。下面这几个插件,将帮助我们,打造一个丰富多彩的WordPress导航栏。

插件PostViews Plus

插件PostViews Plus是一个不错的插件,其基本功能是文章浏览记数,特色是可以区分机器人的访问次数。对版本的使用要求是wp 2.3 及以上,现在的版本是 1.1.13 。
官方下载:
使用方法:
1、显示文章浏览次数:
你想要显示浏览次数的页面(一般是 index.php 或 single.php )中的适当位置插入如下代码:
<!--p if(function_exists('the_views')) { the_views('次浏览', true); }-->
2、显示浏览次数最多的文章:

Your sidebar area is currently empty. Hurry up and add some widgets.