
內容簡介
WP Post Views 是一款用於計算 WordPress 內建文章類型(如文章、頁面)及自訂文章類型的瀏覽次數的外掛。它提供多種顯示方式,包括現代的 Gutenberg 區塊、短碼和 PHP 函數,讓使用者能夠輕鬆整合瀏覽計數功能。
【主要功能】
• 簡單易用,適合所有人
• 提供專用的 Gutenberg 區塊
• 支援 IP 過濾,確保計數準確
• 可選擇追蹤的文章類型
• 在控制台直接查看計數
• 優化查詢與快取性能
外掛標籤
開發者團隊
② 後台搜尋「Wp Post Views – WordPress Post views counter」→ 直接安裝(推薦)
📦 歷史版本下載
原文外掛簡介
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:
Simple & Easy: Designed to be simple and easy to understand for everyone.
Gutenberg Block: A dedicated “Post Views” block for easy placement in your layouts.
IP Filtering: Option to filter views by IP address to ensure accurate counts.
Post Type Support: Choose which post types to track in the settings.
Admin Column: View counts directly in your post/page lists in the admin dashboard.
Performance: Optimized queries and transient caching for total view counts.
How to Display Post Views:
1. Gutenberg Block
Search for the “Post Views” block in the editor.
2. Shortcodes
– [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
Tutorial
Development
Development happening on GitHub :- WP Post Views Github
Create issue on the GitHub OR Pull request for new feature when new tag added it will automatically deployed.
