
內容簡介
Simple Post View Counter 是一款輕量級的 WordPress 外掛,能夠有效追蹤文章的瀏覽次數,提供詳細的統計數據,幫助用戶了解內容的受歡迎程度。
【主要功能】
• 自動追蹤文章瀏覽次數(AJAX 支援)
• 防止重複計數刷新
• 內建機器人檢測功能
• 可自訂顯示位置的瀏覽次數
• 提供「最受歡迎文章」小工具
• 簡碼顯示個別文章瀏覽數
外掛標籤
開發者團隊
② 後台搜尋「Simple Post View Counter – Clean and Fast Post View Analytics」→ 直接安裝(推薦)
原文外掛簡介
Simple Post View Counter is a lightweight yet powerful plugin to track how many times your WordPress posts are viewed.
Key Features
✅ Automatic post view tracking (AJAX-based, works even in incognito mode)
✅ Prevents double-counting on refresh
✅ Built-in bot detection
✅ Display views before content, after content, beside meta, or manually
✅ “Most Viewed Posts” widget with customizable display
✅ Shortcodes for displaying most viewed posts and individual post views
✅ Admin settings page with statistics (total views, average views, top posts, etc.)
✅ Views column in admin post list (sortable by views)
✅ Exclude admin views from tracking
✅ Works with caching plugins
Shortcodes
[post_views] → Display view count for current post
Options: post_id, format="%s views"
[most_viewed_posts] → Display a list of most viewed posts
Options: limit="5", show_count="yes", show_excerpt="no"
Example Usage
[most_viewed_posts] → Show top 5 posts
[most_viewed_posts limit="10" show_count="yes"] → Show 10 posts with view counts
[post_views] → Show current post’s view count
Widgets
Go to Appearance → Widgets and add the Most Viewed Posts widget to your sidebar.
Video Tutorial
Theme Function
`php
Credits
Developed by Sadhan Pal
License
This plugin is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
