[WordPress] 外掛分享: Total Reading Time of WP Post

首頁外掛目錄 › Total Reading Time of WP Post
WordPress 外掛 Total Reading Time of WP Post 的封面圖片
全新外掛
安裝啟用
★★★★★
5/5 分(2 則評價)
2213 天前
最後更新
問題解決
WordPress 4.2+ PHP 5.4+ v1.1 上架:2020-02-24

內容簡介

這是一個簡單的外掛程式,它會顯示文章的總閱讀時間。它會按每分鐘 200 個字來計算文章的總閱讀時間。

這是一個完全開源的專案。這是Github 連結

它是如何運作的:

只需安裝外掛程式,總閱讀時間就會顯示在內容的底部。

後台的設定頁面有一個設定,可以設定你平均每分鐘的閱讀時間。

儀表板> 設定 > 總閱讀時間

篩選器清單

更改標題:

add_filter("trtwp_label_of_title","your-function-name");

更改每分鐘的字數(目前每分鐘為 200 個字):

add_filter("trtwp_word_per_min","your-function-name");

其他篩選器

/* 更改單位為“分鐘”
add_filter("trtwp_label_of_minutes","your-function-name");

/* 更改單位為“秒”
add_filter("trtwp_label_of_seconds","your-function-name");

/* 更改標記標籤。預設為“p”
add_filter("trtwp_label_of_seconds","your-function-name");

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Total Reading Time of WP Post」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

It is a simple plugin which will show the total reading time of a post.It will calculate the total reading time of a post in the measure of 200 words per minutes.
It is a totally open source project.Here is the Github link
How It works:
Just install the plugin the total reading time will be shown at the bottom of the content.
There is a setting page in the admin dashboard to set your avvarage reading time per minute.

dashboard> Settings > Total reading time

Filter lists
Change the title:

add_filter("trtwp_label_of_title","your-function-name");

Change the word count per minute base value(currently it is 200 words per minutes):

add_filter("trtwp_word_per_min","your-function-name");

Other filters

/*Change the word "Minutes"
add_filter("trtwp_label_of_minutes","your-function-name");

/*Change the word "Seconds"
add_filter("trtwp_label_of_seconds","your-function-name");

/*Change the markup tag.default is "p"
add_filter("trtwp_label_of_seconds","your-function-name");

延伸相關外掛

文章
Filter
Apply Filters
Mastodon