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 个区块.

  • Single Theme The stats of theme is displayed.
  • Multi Themes 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」插件已被翻译至 4 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Theme Stats View」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

[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.