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

WordPress 外掛 Total Reading Time of WP Post 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Total Reading Time of WP Post」是 2020-02-24 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2020-02-25,距離現在已有 1894 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 4.2 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.4 以上。
  • 有 2 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

kamrul0424 |

外掛標籤

wp posts | total-reading-time |

內容簡介

這是一個簡單的外掛程式,它會顯示文章的總閱讀時間。它會按每分鐘 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");

原文外掛簡介

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");

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Total Reading Time of WP Post」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0 |

延伸相關外掛(你可能也想知道)

  • Posts API WP 》「Posts API WP」是一個外掛,可協助將 WordPress 文章分享到 WordPress 網站以外的網站。這個外掛會建立一個虛擬的 API,可用於分享你的 WordPress 文章到其...。

文章
Filter
Apply Filters
Mastodon