[WordPress] 外掛分享: Wp Post Views – WordPress Post views counter

首頁外掛目錄 › Wp Post Views – WordPress Post views counter
WordPress 外掛 Wp Post Views – WordPress Post views counter 的封面圖片
4,000+
安裝啟用
★★★★
4.3/5 分(6 則評價)
28 天前
最後更新
問題解決
WordPress 5.4+ PHP 7.4+ v1.23.1 上架:2020-01-31

內容簡介

WordPress文章瀏覽次數計數器會計算內建文章類型和自定文章類型的瀏覽次數。

特點和選項:

簡單易懂。
選項可過濾IP地址,以獲得精確的發文計數。
可選擇自定文章類型。

如何在前端取得發文計數

使用此短碼:

[WPPV-TOTAL-VIEWS]

以獲得您發文類型的站點寬度計數(每小時刷新一次,以提高效能)。
[WPPV-TOTAL-VIEWS-PER-POST-TYPE post_type=”post”]

教學

開發

GitHub上的開發: https://github.com/vanpariyar/wp-post-views
在GitHub上創建問題,或為新功能提出Pull請求,當新標籤添加時,它將自動部署。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.23.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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.

延伸相關外掛

文章
Filter
Mastodon