Theme Stats View

外掛說明

The stats of theme is displayed by block or shortcode.

How it works

螢幕擷圖

  • Screen image for single theme
  • Mobile screen image for single theme
  • Block for single theme
  • Shortcode for single theme
  • Screen image for multi themes
  • Block for multi themes
  • Shortcode for multi themes
  • Settings

適用於區塊編輯器

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

  • Multi Themes The stats of theme is displayed.
  • Single Theme The stats of theme is displayed.

安裝方式

  1. Upload theme-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 theme
[tsview slug=”twentytwenty”]
[tsview slug=”twentytwenty” view=”simple” link=”https://test.com/%slug%/”]

  • slug Specifies the theme 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 theme name. If not specified, this is the theme homepage link. Can insert a slug tag in the URL of the link. Default: link=null Tag: %slug%
  • open Description & Tags style for normal view. Select true(View Description & Tags) or false(Hide Description & Tags). Default: open=false

Examples for multi themes
[taview slug=”twentytwenty,twentynineteen,twentyseventeen”]
[taview slug=”twentytwenty,twentynineteen,twentyseventeen” link=”https://test.com/%slug%/”]
* slug Specify the slugs of multiple themes separated by a comma.
* link You can specify the link destination of the theme name. If not specified, this is the theme 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 tsview_refresh

常見問題集

none

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

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

參與者

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

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

對開發相關資訊感興趣?

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

變更記錄

[2.10] 2025/05/10

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

[2.09] 2025/04/30

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

[2.08] 2025/04/28

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

[2.07] 2025/04/10

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

[2.06] 2025/04/04

  • Fix – Rebuilt javascript.

[2.05] 2025/03/13

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

[2.04] 2024/11/15

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

[2.03] 2024/06/10

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

[2.02] 2024/06/02

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

[2.01] 2024/05/27

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

[2.00] 2024/05/27

  • Added – Customization by template files.

[1.13] 2024/05/18

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

[1.12] 2024/05/15

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

1.11

Rebuilt blocks.

1.10

Rebuilt blocks.

1.09

Supported WordPress 6.4.
PHP 8.0 is now required.

1.08

Added escaping process.

1.07

Supported WordPress 6.1.

1.06

Supported WordPress 6.0.

1.05

Rebuilt blocks.

1.04

Supported WordPress 5.6.

1.03

Added card display.

1.02

Fixed problem of mobile display.

1.01

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

1.00

Initial release.