【全站停止维护】WechatFansForTypecho微信公众号涨粉插件
插件截图:

插件介绍:
一款利于微信公众号涨粉的Typecho插件
安装方法:
第一步:下载本插件,放在 `usr/plugins/` 目录中(插件文件夹名必须为WechatFans);
第二步:激活插件;
第三步:填写微博小号等等配置;
第四步:完成。
关于支持PJAX
若想支持pjax需要在pjax的submit监听方法的第二个参数中加上form[name!=wechatFansForm]中的[name!=wechatFansForm]判断,取消其WechatFans插件的PJAX提交即可支持此插件pjax。
使用方法:
1、配置各项参数;
2、编写文章时点击编辑器VX按钮,插入以下代码:
<!--wechatfans start-->
<!--wechatfans end-->
代码,中间的文字即为隐藏内容;
3、【旧版本(需手动修改代码),可选】
替换主题目录下post.php中输出内容的代码,如:
<?php $this->content; ?>替换成<?php echo WechatFans_Plugin::parseContent($this); ?>
替换主题目录下archive.php或index.php中输出摘要或内容的代码,没有则不替换,如:
<?php $this->excerpt(140, "…"); ?>替换成<?php echo WechatFans_Plugin::parseExcerpt($this,140, "…"); ?>
4、【新版本(自动匹配标签规则)】
替换主题目录下post.php中输出内容的代码,若已有自定义的输出内容代码,则可以不替换,如:
<?php $this->content; ?>替换成<?php echo $this->content; ?>
插件获取: