Title: Subscribers Text Counter
Author: kreci
Published: <strong>2010 年 1 月 4 日</strong>
Last modified: 2023 年 7 月 27 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/subscribers-text-counter.svg)

# Subscribers Text Counter

 作者：[kreci](https://profiles.wordpress.org/kreci/)

[下载](https://downloads.wordpress.org/plugin/subscribers-text-counter.1.7.1.zip)

 * [详情](https://cn.wordpress.org/plugins/subscribers-text-counter/#description)
 * [评价](https://cn.wordpress.org/plugins/subscribers-text-counter/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/subscribers-text-counter/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/subscribers-text-counter/#developers)

 [支持](https://wordpress.org/support/plugin/subscribers-text-counter/)

## 描述

This plugin let you create your customized twitter (X) followers, Facebook fans,
YouTube Subscribers,
 WordPress members counters. It creates widget or let you display
these counters as raw text anywhere in your template or post/page content. You get
it as a text so you may customize design with your own HTML/CSS. All design and 
icons may be easily customized.

With this plugin you will not need any more third party buttons or scripts as it
connects directly to
 Facebook, twitter and YouTube APIs. This plugin should speed
up your blog as counters are cached in your database and are refreshed no more than
once per 2 hours. With third party buttons every page load gets all counter data
from external websites that slow down you blog.

Quick howto:

 1. To display counters use following tags: `twitter`, `facebook`, `youtube`, `wordpress`,`
    all`
 2. To display links use following tags: `twitterlink`, `facebooklink`, `youtubelink`
 3. In widget area use it like this: %twitter%
 4. In post/page content use it like this: [stcounter type=”twitter”]
 5. In templates use it like this: <?php echo stcounter(‘twitter’) ?>

This plugin require PHP in version 5 or higher!

## 屏幕截图

[⌊Widget in action (with default template)⌉⌊Widget in action (with default template
)⌉[

Widget in action (with default template)

[⌊Part of plugin configuration page⌉⌊Part of plugin configuration page⌉[

Part of plugin configuration page

[⌊Widget configuration window⌉⌊Widget configuration window⌉[

Widget configuration window

## 安装

 1. Upload `subscribers-text-counter` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Update your setting with ‘Settings/Subscriber Text Counter’ menu in WordPress and
    click Refresh to load counters (to set all counters read the instructions on settings
    page)
 4. You may put ‘Subscriber Text Counter’ widget on your sidebar through ‘Appearance/
    Widgets’ menu in WordPress
 5. Display your counters as described on top of ‘Settings/Subscriber Text Counter’
    page

## 常见问题

### Why counters refresh only once per 2 hours?

To speed up your website and to avoid bans for to many API calls.

### My links are not working after upgrade

Please refresh counters with “Refresh Counters Now” on “Settings/Subscribers Text
Counter” page

### What is `all` counter?

It displays sum of all your subscribers counters

## 评价

此插件暂无评价。

## 贡献者及开发者

「Subscribers Text Counter」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ kreci ](https://profiles.wordpress.org/kreci/)

[帮助将「Subscribers Text Counter」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/subscribers-text-counter)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/subscribers-text-counter/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/subscribers-text-counter/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/subscribers-text-counter/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/subscribers-text-counter/)。

## 更新日志

#### 1.7.1

 * Security bug fixes (XSS prevention)
 * Updated to work with new twitter (x) API
 * Removed Facebook counter due to new API policy

#### 1.7

 * Fixed twitter counter (please update your settings!)
 * Removed depracted Feedburner support

#### 1.6.4

 * Fixed ID of widget to keep it compatible with your previous CSS

#### 1.6.2

 * Updated depracted code

#### 1.6.1

 * Fixed default new look (closed tag)

#### 1.6

 * easier Facebook integration (only handle/id required)
 * added WordPress Members counter
 * added YouTube counter
 * new twitter, youtube and other icons
 * fixed twitter counter
 * fixed feedburner counter
 * display settings screen only to admin

#### 1.5.4

 * Fixed update problem with `all` counter – you don’t have to reset plugin anymore

#### 1.5.3

 * Fixed `all` counter in widget

#### 1.5.2

 * New counter `all` that is showing summ of all subscribers
 * Fixed reset of the counter when your account data is removed from settings

#### 1.5.1

 * Fixed cache (counters have been showing 0 on fetch error – fixed to show last
   correct value)
 * Fixed title display when it had special character

#### 1.5

 * Counters may be used outside of the widget (template and post/page content)

#### 1.4

 * Better looking default template
 * New tags %facebooklink% and %feedburneremail%
 * Possibility to reset plugin and template in settings panel
 * Improved compatibility (with diffrent PHP configurations)

#### 1.3

 * Facebook fans counter added
 * Some code clean up

#### 1.2

 * Optimized configuration page
 * Some code clean up

#### 1.1

 * If twitter or FeedBurner API return error, counters keep old value instead of‘
   N/A’ message
 * Improved plugin compatibility
 * Improved error handling
 * Optimized code

#### 1.0.1

 * Increased counter update interval

#### 1.0

 * First Release

## 额外信息

 *  版本 **1.7.1**
 *  最后更新：**3 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 2.8 或更高版本 **
 *  已测试的最高版本为 **6.2.9**
 *  语言
 * [English (US)](https://wordpress.org/plugins/subscribers-text-counter/)
 * 标签
 * [members](https://cn.wordpress.org/plugins/tags/members/)[rss](https://cn.wordpress.org/plugins/tags/rss/)
   [twitter](https://cn.wordpress.org/plugins/tags/twitter/)[x](https://cn.wordpress.org/plugins/tags/x/)
   [youtube](https://cn.wordpress.org/plugins/tags/youtube/)
 *  [高级视图](https://cn.wordpress.org/plugins/subscribers-text-counter/advanced/)

## 评级

 4.7 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/subscribers-text-counter/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/subscribers-text-counter/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/subscribers-text-counter/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/subscribers-text-counter/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/subscribers-text-counter/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/subscribers-text-counter/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/subscribers-text-counter/reviews/)

## 贡献者

 *   [ kreci ](https://profiles.wordpress.org/kreci/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/subscribers-text-counter/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://r.kreci.net/paypal)