這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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