Linux 软件免费装
Banner图

Social Count Plus

开发者 claudiosanches
felipesantana
deblynprado
更新时间 2019年10月23日 15:28
捐献地址: 去捐款
PHP版本: 4.0 及以上
WordPress版本: 5.3
版权: GPLv2 or later
版权网址: 版权信息

标签

widget shortcode facebook twitter counter vimeo youtube instagram pinterest soundcloud linkedin twitch googleplus tumblr github steam

下载

3.4.1 3.1.1 3.2.0 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.4.0

详情介绍:

The Social Count Plus performs counting for: You can display your numbers using a Widget (with links and icons) or Shortcodes (to be used in posts and pages) or PHP functions in your theme. The results of the counters are cached and new values ​​are checked only once a day. This cache can be wiped when published a new post. The cache avoids not only that your blog be seeking new results every time a page is loaded, but also prevents collapse of services from Twitter and Facebook, if one of these services does not respond, the counter displays the last count it was successful. Contribute You can contribute to the source code in our GitHub page. Credits

安装:

Some counters depend on third-party APIs to work, follow the next steps to generate API keys for each of them: Instagram Get your User ID and Access Token in: https://socialcountplus-instagram.herokuapp.com/ LinkedIn Get your Company ID and Access Token in: https://socialcountplus-linkedin.herokuapp.com/ Facebook You must create a Facebook app to use the Facebook Graph API. Log in https://developers.facebook.com/ and go to "My Apps > Add a New App". Then follow the steps in this video: https://www.youtube.com/watch?v=m1QArbW2z4A Google+ and YouTube It's required a Google API Key for Google+ and YouTube. Access https://console.developers.google.com/project to create you Google API key following this steps: https://www.youtube.com/watch?v=KufdCMLMuFs Twitter You need access https://dev.twitter.com/apps, then create a Twitter App and copy the Consumer key, Consumer secret, Access token and Access token secret: https://www.youtube.com/watch?v=26dpo-g_jQc

屏幕截图:

  • Settings page.
  • Design page.
  • Shortcodes and Functions API page.
  • System Status page.
  • Widget.

升级注意事项:

3.4.1
  • Removed rel="nofollow" option and applied automatically to all links.

常见问题:

What is the plugin license?

  • This plugin is released under a GPL license.

Google+ is not working?

You probably have not been able to generate API keys as it should. You can test the API key with the following link: https://www.googleapis.com/plus/v1/people/+ClaudioSanches?key=API_KEY_HERE The answer must contain the following line: "circledByCount": XXX,

How to changing the amount of times the counter is updated daily?

You can change using the filter social_count_plus_transient_time.\ Example: function social_count_plus_custom_transient_time( $time ) { return 43200; // 12 hours in seconds. } add_filter( 'social_count_plus_transient_time', 'social_count_plus_custom_transient_time' );

How can I round numbers?

It's possible to round numbers using the social_count_plus_number_format filter. Example of rounding 1500 to 1.5K or 1000000 to 1M: function my_custom_scp_number_format( $total ) { if ( $total > 1000000 ) { return round( $total / 1000000, 1 ) . 'M'; } else if ( $total > 1000 ) { return round( $total / 1000, 1 ) . 'K'; } return $total; } add_filter( 'social_count_plus_number_format', 'my_custom_scp_number_format' );

Can I use my own icons?

Yes, you can! Select one of the options without icons in "WordPress admin > Social Count Plus > Design" and create your own CSS in your theme or anywhere you prefer. The CSS classes you will need to use: .social-count-plus .custom .count-comments a {} .social-count-plus .custom .count-facebook a {} .social-count-plus .custom .count-github a {} .social-count-plus .custom .count-googleplus a {} .social-count-plus .custom .count-instagram a {} .social-count-plus .custom .count-linkedin a {} .social-count-plus .custom .count-pinterest a {} .social-count-plus .custom .count-posts a {} .social-count-plus .custom .count-soundcloud a {} .social-count-plus .custom .count-steam a {} .social-count-plus .custom .count-tumblr a {} .social-count-plus .custom .count-twitch a {} .social-count-plus .custom .count-twitter a {} .social-count-plus .custom .count-users a {} .social-count-plus .custom .count-vimeo a {}

Having troubles?

If you have any problems with the numbers, go to the plugin settings and then to the "System Status" tab and click the "Get System Report" button. Copy the report file content and paste it in gist.github.com or pastebin.com, save and get a link, finally create a topic in our support forum.

更新日志:

3.4.1 - 2017/11/01 3.4.0 - 2017/10/25 3.3.6 - 2017/04/25 3.3.5 - 2016/08/20 3.3.4 - 2016/06/18 3.3.3 - 2016/04/26 3.3.2 - 2015/09/28 3.3.1 - 2015/09/28 3.3.0 - 2015/09/05