分类目录

Howto: 如何创建和发布自己的WordPress插件

发布插件到官网。当插件更新时,每个安装插件的博客就可以自动更新了。 [...]

wp-codec-cn: Encode / decode the posts and comments

Name / 名称: wp-codec-cn

Description / 描述: Encode / decode the posts and comments with one of the following algorithms: base64, phpjsrsa, rune word etc. 将博客的文章和评论进行编解码,避免G*F*W截获关键词。

插件下载:Plugin download

Principle / 原理: 服务端 WordPress:PHP 编码 客户端:JS 解码 插件:将编解码方法加入 WordPress

Refer to / 参考:

http://secret.moumentei.com/

http://jquery.com/

http://www.webtoolkit.info/

BTW: You could change the JS lib to your fastest [...]

制作了一个Google Adsense插件,copy from e-xia.com

昨天成功申请了Google Adsense帐户,网上找了一下相关的wordpress插件,根据轶侠的文章做了一个简单插件,据说要30年才能达到Google $100的标准 O(∩_∩)O~

原文在这里:给WP加上Google广告代码

<?php add_filter(‘the_content’, ‘google_ads’); function google_ads($content){ if(is_page()||is_single()){ ob_start(); ?> <div class=”google center”> <!–Google AdSense Code HERE–> </div> <?php $content = ob_get_contents().$content; ob_end_clean(); } return $content; } ?> [...]