Linux 软件免费装
Banner图

Wp Post Views - WordPress Post views counter

开发者 vanpariyar
ankitatanti
Brijeshdhanani

piyushmultidots
kajalgohel
更新时间 2026年9月19日 19:35
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

stats views analytics counter post views

下载

1.6 1.7 1.11 1.17 1.19 1.9 1.0 1.13 1.16 1.2 1.21 1.22 1.23.0 1.8 1.12 1.15 1.3 1.4 1.23.1 1.5 1.23.3 1.10 1.14 1.20 1.23.2 1.23.4

详情介绍:

WP Post Views counts the views of your built-in post types (Posts, Pages) and Custom Post Types. It provides multiple ways to display these counts, including a modern Gutenberg block, shortcodes, and PHP functions. Features And Options: How to Display Post Views: 1. Gutenberg Block Search for the "Post Views" block in the editor. 2. Shortcodes Tutorial [youtube https://youtu.be/11NH5xOBs68] Development

安装:

  1. Install the plugin via the WordPress.org plugin directory or by uploading the files to /wp-content/plugins/.
  2. Activate the plugin through the 'Plugins' menu.
  3. Configure settings at Settings > WP Post Views.

屏幕截图:

  • Main plugin settings page showing post type selection and IP filtering.
  • The "Post Views" Gutenberg block in the block inserter.
  • Customizing the Post Views block in the editor sidebar.
  • Frontend display of post views on a single blog post.
  • Using the shortcode to display total views per post type.
  • Tracking views across different custom post types.

升级注意事项:

Please update for the new Gutenberg block and improved performance.

常见问题:

Does it work with caching plugins?

Yes. WP Post Views uses a lightweight JavaScript-based tracking method to ensure views are counted even when your site is served via a caching plugin (like WP Rocket, W3 Total Cache, etc.).

Can I track views for custom post types?

Absolutely. You can select which post types to track in the plugin settings page.

How can I exclude my own views?

The plugin includes an IP filtering feature. You can enter your IP address in the settings to prevent your own visits from being counted.

How do I display the view count?

You have three options:

  1. Use the "Post Views" Gutenberg block.
  2. Use the [WPPV-TOTAL-VIEWS] shortcode.
  3. Use the get_post_view() PHP function in your theme templates.

Is it lightweight?

Yes, it's designed with performance in mind. It uses efficient database queries and transient caching for aggregate counts to minimize server load.

更新日志:

1.23.4 - 19/September/2026 1.23.1 - 20/05/2026 1.22.0 - 15/12/2025 1.21.0 - 26/09/2025 1.18.0 - 16/12/2024 1.17.0 - 30/11/2024