這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Plugin Directory Stats

描述

This plugin gets plugin’s download count and other stats from WordPress.ORG and allows you to show them on your blog using shortcode.

Features

  • Easy and flexible.
  • Caching stats data.
  • Localization: English(Default), 日本語(Japanese, UTF-8).

螢幕截圖

  • This is a plugin stats.
  • This is a list by author.
  • This is setting panel.

安裝

Installation

  1. Upload plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. If you need, go to “Settings” -> “Plugin Dir Stats” to configure.

Note: Don’t set “Keep data for” option to very short time. Frequent data requests may cause overload on your site and it isn’t a good thing for WordPress.ORG.

Usage

Insert following shortcode to your post/page/widget.

Formatted stats

  • Individual plugin stats: [plugin_stats src="PLUGIN_SLUG"]
  • All plugins list by author: [plugin_list src="AUTHOR'S_DISPLAY_NAME"]

Here are examples.

If plugin page’s url is https://wordpress.org/extend/plugins/plugin-directory-stats/, PLUGIN_SLUG is plugin-directory-stats.

  • e.g. [plugin_stats src="plugin-directory-stats"]

You can find AUTHOR'S_DISPLAY_NAME in indivisual plugin pages or author’s profile pages.

  • e.g. [plugin_list src="redcocker"]

Note: “All plugins list by author” is always run in “Directly” mode.

Individual values

You can show individual values.

For “API” mode

  • Author: [plugin_author src="PLUGIN_SLUG"]
  • Author’s site: [plugin_site src="PLUGIN_SLUG"]
  • Plugin page: [plugin_hp src="PLUGIN_SLUG"]
  • Release date: [plugin_added src="PLUGIN_SLUG"]
  • Compatibility with installed WP: [plugin_compatibility src="PLUGIN_SLUG"]

For “Directly” mode

  • Downloads today: [plugin_today src="PLUGIN_SLUG"]
  • Downloads yesterday: [plugin_yesterday src="PLUGIN_SLUG"]
  • Downloads last week: [plugin_last_week src="PLUGIN_SLUG"]

For both mode

  • Plugin name: [plugin_name src="PLUGIN_SLUG"]
  • Current version: [plugin_version src="PLUGIN_SLUG"]
  • Last Updated: [plugin_last_updated src="PLUGIN_SLUG"]
  • Requires: [plugin_requires src="PLUGIN_SLUG"]
  • Tested up to: [plugin_tested src="PLUGIN_SLUG"]
  • Downloads all time: [plugin_dl src="PLUGIN_SLUG"]
  • Average rating: [plugin_rating src="PLUGIN_SLUG"]
  • Number of ratings: [plugin_num_ratings src="PLUGIN_SLUG"]
  • Download link: [plugin_download_link src="PLUGIN_SLUG"]

評價

There are no reviews for this plugin.

貢獻者及開發者

“Plugin Directory Stats” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Plugin Directory Stats 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

0.1.4

  • Compatible with updated Plugin Directory.

0.1.3

  • Removed unnecessary loops.
  • Fix a bug: The database error occurs when this plugin is actevated for the first time.

0.1.2

  • Removed unnecessary loops.

0.1.1

  • Fix a bug: “Plugin Directory Stats version” doesn’t be shown in “3. Your System Info” setting section.
  • Fix a bug: “Plugin Directory Stats DB version” doesn’t be shown in “3. Your System Info” setting section.
  • Fix a bug: “Plugin Directory Stats URL” doesn’t be shown in “3. Your System Info” setting section.

0.1

  • This is the initial release.