
內容簡介
WordPress文章瀏覽次數計數器會計算內建文章類型和自定文章類型的瀏覽次數。
特點和選項:
簡單易懂。
選項可過濾IP地址,以獲得精確的發文計數。
可選擇自定文章類型。
如何在前端取得發文計數
使用此短碼:
[WPPV-TOTAL-VIEWS]
以獲得您發文類型的站點寬度計數(每小時刷新一次,以提高效能)。
[WPPV-TOTAL-VIEWS-PER-POST-TYPE post_type=”post”]
教學
開發
GitHub上的開發: https://github.com/vanpariyar/wp-post-views
在GitHub上創建問題,或為新功能提出Pull請求,當新標籤添加時,它將自動部署。
外掛標籤
開發者團隊
② 後台搜尋「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.
