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

WP YouTube Counters

描述

Adds shortcodes to show YouTube channel’s subscribers and video views count. For both shortcodes YouTube Channel ID and YouTube API Key is needed.

For performance reasons the data is refreshed once every 12 hours. This can be modified with “timeout” parameter (value in hours).

Shortcodes are as follows:

  • youtube_views_count – for channel video views count
  • youtube_subscribers_count – for channel subscribers count

Parameters are as follows:

  • id – YouTube channel ID (How to get YouTube channel ID? https://support.google.com/youtube/answer/3250431?hl=en)
  • key – YouTube API key for browser (How to get YouTube API key? https://developers.google.com/youtube/registering_an_application#Create_API_Keys)
  • timeout – cache timeout (value in hours) /default is 12 hours/

For example:

  • [youtube_views_count id=’YOUR_CHANNEL_ID’ key=’YOUR_API_KEY’]
  • [youtube_views_count id=’YOUR_CHANNEL_ID’ key=’YOUR_API_KEY’ timeout=’1′]

安装

  1. Download *.zip file with plugin contents
  2. Extract plugin from the *.zip file
  3. Upload all extracted files and folders to the /wp-content/plugins/wp-youtube-counters directory
  4. Activate the plugin through the ‘Plugins’ menu in WordPress

评价

此插件暂无评价。

贡献者及开发者

“WP YouTube Counters” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“WP YouTube Counters”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.2

  • Added caching of YouTube data to lower the use of Google API

0.1

  • Initial release of the plugin