| 开发者 |
vanpariyar
ankitatanti Brijeshdhanani piyushmultidots kajalgohel |
|---|---|
| 更新时间 | 2026年9月19日 19:35 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[WPPV-TOTAL-VIEWS]: Display the view count for the current post.[WPPV-TOTAL-VIEWS-PER-POST-TYPE post_type="post"]: Display total views for a specific post type.
3. PHP Function
<?php if ( function_exists( 'get_post_view' ) ) { echo get_post_view(); } ?>/wp-content/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.).
Absolutely. You can select which post types to track in the plugin settings page.
The plugin includes an IP filtering feature. You can enter your IP address in the settings to prevent your own visits from being counted.
You have three options:
[WPPV-TOTAL-VIEWS] shortcode.get_post_view() PHP function in your theme templates.Yes, it's designed with performance in mind. It uses efficient database queries and transient caching for aggregate counts to minimize server load.