內容簡介
這是一個 WordPress 外掛程式,它會為每篇文章設定瀏覽次數並在圖表中報告它們,同時您也可以在前端和管理員面板中存取每篇文章的瀏覽次數。
您可以以下列方式查看文章瀏覽次數:
WordPress Widget
Short code [rngja_postviews]
開發人員可以透過 meta_key ja_postviews 在 wp_postmeta 中存取文章瀏覽次數
Function rngja_get_post_viewe_count
要使用函式顯示文章瀏覽次數,請將以下程式碼放在您的主迴圈中
if (function_exists('rngja_get_post_viewe_count')) {
echo rngja_get_post_viewe_count(get_the_ID());
}
同時在管理員面板中:
WordPress 儀表板 widget
文章列表畫面
rng-postviews 的主要功能包括:
非常輕巧且易於使用
具有顯示文章瀏覽次數的函式和短代碼
WordPress Widget
此外掛避免與其他外掛產生任何衝突
沒有任何管理負擔
建議啟用此外掛後,請前往 設定 > 上次瀏覽的文章 並設定即可。
Github 儲存庫
您也可以在 Github 上取得此外掛:
https://github.com/a-sabagh/rng-postviews
外掛標籤
開發者團隊
原文外掛簡介
WordPress plugin that set post view count for each post and reports them in a chart.also you can access to post views count of each post in front end and admin panel.
You can see post view count with below ways:
WordPress widget
Short code [rngja_postviews]
Developers can access post views in wp_postmeta with meta_key ja_postviews
Function rngja_get_post_viewe_count
For showing post views count with function put this code in your main loop
if (function_exists('rngja_get_post_viewe_count')) {
echo rngja_get_post_viewe_count(get_the_ID());
}
And also in admin panel:
WordPress Dashboard widget
Post list screen
Main features in rng-postviews include
Very light and easy to use
Have function and short code for showing post views count
WordPress Widget
This plugin avoids from any conflict with other plugins
Has not any overhead
it is strongly was recommended that after the plugin is activated, go to the Settings > Last post viewed and configure the plugin.
Github Repository
Also You can this plugin on github:
https://github.com/a-sabagh/rng-postviews
