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

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)
  • Part of plugin configuration page
  • 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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

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