Plugin Stats View

外掛說明

The stats of plugin is displayed by block or shortcode.

How it works

螢幕擷圖

  • Screen image for single plugin
  • Mobile screen image for single plugin
  • Block for single plugin
  • Shortcode for single plugin
  • Screen image for multi plugins
  • Block for multi plugins
  • Shortcode for multi plugins
  • Settings

適用於區塊編輯器

這個外掛提供 2 個可供 Gutenberg/區塊編輯器使用的區塊。

  • Single Plugin The stats of plugin is displayed.
  • Multi Plugins The stats of plugin is displayed.

安裝方式

  1. Upload plugin-stats-view directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

How to use

Shortcode

Please add new Page. Please write a short code.

Examples for single plugin
[psview slug=”plugin-stats-view”]
[psview slug=”plugin-stats-view” view=”simple” link=”https://test.com/%slug%/”]
* slug Specifies the plugin slug.
* view View style. Choose normal(Standard display), card(Card display) or simple(Simple display). Default: view=”normal”
* link You can specify the link destination of the plug-in name. If not specified, this is the plugin homepage link. Can insert a slug tag in the URL of the link. Default: link=null Tag: %slug%
* open Description style for normal view. Select true(View Description) or false(Hide Description). Default: open=false

Examples for multi plugins
[paview slug=”plugin-stats-view,media-from-ftp,post-date-time-change”]
[paview slug=”plugin-stats-view,media-from-ftp,post-date-time-change” link=”https://test.com/%slug%/”]
* slug Specify the slugs of multiple plugins separated by a comma.
* link You can specify the link destination of the plug-in name. If not specified, this is the plugin homepage link. Can insert a slug tag in the URL of the link. Default: link=null Tag: %slug%
* totalonly Total graph only. Select true(View Total only) or false(View Full). Default: totalonly=false

WP-CLI

Can delete and regenerate the cache with the following WP-CLI command. It would be beneficial to register it with the server’s cron.
* wp psview_refresh

Filter hook

  • Can specify your own output html template and its CSS using filter hooks, see the files in the template directory of plugin.

HTML
* plugin_stats_view_generate_template_html_normal_file
* plugin_stats_view_generate_template_html_card_file
* plugin_stats_view_generate_template_html_simple_file
* plugin_stats_view_generate_template_html_all_file

CSS
* plugin_stats_view_css_url

常見問題集

none

使用者評論

2023 年 9 月 7 日
it will be better if you can add a css class name to it, so that we can custom apperance, e.g. add border
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Plugin Stats View〉的開發相關工作。

參與者

〈Plugin Stats View〉外掛目前已有 5 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Plugin Stats View〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

[3.14] 2025/05/21

  • Added – Added link to review in template file.
  • Added – Added alt tags for icons and banners.

[3.13] 2025/05/10

  • Fix – WP-CLI command(wp psview_refresh) now avoids posting revisions.

[3.12] 2025/04/30

  • Fix – Method of obtaining statistics acquisition date and time.

[3.11] 2025/04/28

  • Added – The date the statistics were created is now displayed at the bottom.

[3.10] 2025/04/10

  • Change – Increased WP-CLI HTTP request response time from 30 seconds to 90 seconds.

[3.09] 2025/04/04

  • Fix – Rebuilt javascript.

[3.08] 2025/03/13

  • Added – Added help description for WP-CLI command.

[3.07] 2024/11/15

  • Fix – Rebuilt javascript.
  • Change – Changed the required version of WordPress.

[3.06] 2024/06/10

  • Fix – Issues with getting site information for WP-CLI.

[3.05] 2024/06/02

  • Fix – Issues with getting site information for WP-CLI.
  • Added – The user agent for retrieving site information was set to “Plugin Stats View; %url%” for WP-CLI.
  • Fix – The number of redirects for site information getting was reduced from 5 to 0 for WP-CLI.

[3.04] 2024/05/27

  • Fix – active installs count for multi plugins.
  • Fix – Download count for multi plugins.

[3.03] 2024/05/27

  • Fix – Removed unnecessary code.

[3.02] 2024/05/24

  • Fix – Removed unnecessary code.

[3.01] 2024/05/23

  • Fix – Changed small icon size from 80px to 64px.
  • Fix – Changed spacing for multiple display types from 320px to 300px.

[3.00] 2024/05/23

  • Added – Customization by template files.

[2.28] 2024/05/18

  • Added – Uninstall script.

[2.27] 2024/05/18

  • Added – WP-CLI command to delete and regenerate caches.

[2.26] 2024/05/14

  • Fix – Change in the way css are loaded.
  • Added – totalonly attribute.

2.25

Rebuilt blocks.

2.24

Removed some unnecessary code.

2.23

Rebuilt blocks.

2.22

Supported WordPress 6.4.
PHP 8.0 is now required.

2.21

Added escaping process.

2.20

Supported WordPress 6.1.

2.19

Supported WordPress 6.0.

2.18

Rebuilt blocks.

2.17

Supported WordPress 5.6.

2.16

Fixed an issue with the icon display.

2.15

Removed some unnecessary code.

2.14

Added card display.

2.13

Fixed problem of mobile display.

2.12

Fixed the format of the displayed numbers.

2.11

Can insert a slug tag in the URL of the link.
The total number of reviews can be displayed.

2.10

Added multi plugins view.

2.04

Change translation.

2.03

Added the total number of reviews.
Added support for mobile display.
Added CSS for accordion.

2.02

The method of displaying five stars has been changed.

2.01

Change icon.

2.00

Supported block.

1.19

Supported WordPress 5.3.

1.18

Conformed to the WordPress coding standard.

1.17

Fixed problem of downloaded.

1.16

Removed unnecessary code.

1.15

Changed jQuery to rateYo from raty.

1.14

Fixed fine problem.

1.13

Changed donate link.

1.12

Fixed problem of Javascript.

1.11

Fixed problem of Javascript.

1.10

Fixed problem of Javascript.

1.09

Remove the unnecessary code.
Fixed problem of ratings.

1.08

Fixed problem of languages.

1.07

/languages directory is deleted.

1.06

Supported GlotPress.

1.05

Add ratings bar.
Fixed problem of CSS.

1.04

Add atribute.
Change readme.txt
Fixed problem of CSS.

1.03

Add atribute of plugins_api().
Change Display.

1.02

Add the deletion of the cache.
If the plugin is installed on the site, translate short description.

1.01

Add atribute.
Add management screen.

1.00