[WordPress] 外掛分享: Recent Comments

前言介紹

  • 這款 WordPress 外掛「Recent Comments」是 2005-01-12 上架。
  • 目前有 200 個安裝啟用數。
  • 上一次更新是 2021-02-10,距離現在已有 1544 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

automattic | nickmomrik | viper007bond |

外掛標籤

list | recent | comments |

內容簡介

建立一些功能,協助顯示最近的評論列表。提供比 WordPress 預設的小工具更多的可設定選項。

設定

您可以在呼叫函式時傳遞參數以配置一些選項。這些參數僅接受query-string-style格式。

list_most_recent_comments()

除了get_comments()和get_most_recent_comments()(見下文)接受的參數外,此函式還接受以下參數:

excerpt_words — 顯示評論中的單字數
excerpt_chars — 或者從評論中顯示的字符數
comment_format — 允許您從兩種預定義的顯示格式中選擇:

評論作者在文章標題下
評論作者:這是評論摘要

例子:

get_most_recent_comments()

較強大的get_comments()版本。它接受相同參數以及以下參數:

passworded_posts — 用於控制是否顯示密碼保護的文章的布林值。默認為false。
showpings — 用於控制是否顯示平側響應和引用的布林值。默認為false。
post_types — 用於包括評論的文章類型數組。默認為文章和頁面:array( 'post', 'page' )
post_statuses — 用於包含評論的文章狀態數組。默認為已發布的文章和靜態頁面:array( 'publish', 'static' )

參數應該通過數組而不是字符串傳遞。

例子:

list_most_recent_comments( array(
'showpings' => true,
'post_types' => array( 'post', 'page', 'foobar' ),
) );

?>

原文外掛簡介

Creates functions to assist in displaying a list of the most recent comments. Provides more configurability than the widget that comes with WordPress.
Configuration
You may pass parameters when calling the function to configure some of the options. Parameters are accepted only in the query-string-style.
list_most_recent_comments()
In addition to the parameters that get_comments() and get_most_recent_comments() (see below) accept, this function accepts the following parameters:

excerpt_words — The number of words from the comment to display
excerpt_chars — Or alternately the number of characters from the comment to display
comment_format — Allows you to pick from two predefined display formats:

Comment Author on Post Title
Comment Author: This is the comment excerpt

Example:

get_most_recent_comments()
A more powerful version of get_comments(). It accepts the same parameters as well as the following ones:

passworded_posts — Boolean to control showing comments on passworded posts or not. Defaults to false.
showpings — Boolean to control showing pings and trackbacks or not. Defaults to false.
post_types — Array of post types to include comments from. Defaults to posts and pages: array( 'post', 'page' )
post_statuses — Array of post statuses to include comments from. Defaults to published posts and static pages: array( 'publish', 'static' )

Arguments should likely be passed as an array instead of a string.
Example:
true,
'post_types' => array( 'post', 'page', 'foobar' ),
) );

?>

各版本下載點

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

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


1.15 | 1.16 |

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

  • Post-Plugin Library 》Post-Plugin Library 是一個共享代碼庫,並沒有獨立的功能,必須安裝它才能為 Similar Posts、Recent Posts、Random Posts、Popular Posts 和 Recent Comment...。
  • Recently Registered 》此外掛會為使用者列表新增一個可排序的欄位,顯示他們註冊的日期和時間。, 主要適用於單站台(因為單站台中完全沒有這方面的顯示)。在多站台網路中,它會為...。
  • Superb Recent Posts With Thumbnail Images 》展示哪些近期文章您曾經刊登過,以讓您的訪客看到。目前 WordPress 的預設組件「最新文章」並不支援圖片、縮略圖及更高階的自訂化。因此,我們釋出了自己的版...。
  • Advanced Recent Posts 》在 0.6.13 版本中,介紹了一個新功能:內嵌影片取代文章特色圖片, 你現在可以在 Responsive Grid Layout 中使用內嵌影片(第一部影片),並取代文章特色圖片...。
  • Random Post Plugin – Redirect URL to Post 》重定向您的訪客到:, , 隨機文章, 您最新的文章, 您最舊的文章, 前一篇或下一篇文章, 或一組條件的組合,例如最新的10篇文章中的隨機文章,至少3個月前的最新...。
  • CPO Widgets 》CPO Widgets 是一個 WordPress 外掛,它為任何網站提供了多個必要的小工具。這些小工具為您的側邊欄提供了額外的功能,例如顯示圖像或推文等,來輕鬆顯示更豐...。
  • Vertical scroll recent post 》「垂直滾動最新文章」外掛可以在小工具中滾動顯示最新文章的標題,文章從底部向上垂直滾動。這是向使用者展示所有最新文章的最好、最時尚的方法。啟用此外掛...。
  • Recent Posts Plus 》這是 WordPress 近期文章外掛的加強版,提供更多的自訂選項。, 功能包括:, , 可以顯示文章縮圖,並且可自訂大小。, 可以顯示文章摘要、作者、評論數等等。, ...。
  • Mini Loops 》迷你文章循環的外掛程式。, 顯示最近的文章、分類文章等等。可以透過小工具、短代碼和樣板標籤來顯示。, 開發現在正在GitHub Repo進行中。, 選項解釋:, 小工...。
  • Advanced Most Recent Posts Mod 》進階最新文章小工具可選擇以縮圖(可選)顯示最新文章,從所選種類或當前種類或所有種類中獲取文章。當您的訪客在首頁時,它會從所有文章或選定的種類中獲取...。
  • Posts Viewed Recently 》此外掛包含一個響應式小工具,可顯示訪客最近訪問的文章或頁面。 Posts Viewed Recently 外掛能夠顯示自定義文章類型,您也可以使用小工具選項中提供的短碼在...。
  • Recent Posts 》「最新文章」插件會顯示您部落格的最新文章清單,輸出的結果可以進行多種自訂設定,如欲了解更多詳情,請參考這個網址。, 此插件需要最新版本的「文章外掛程...。
  • Better Recent Posts Widget (with thumbnails) 》重要提示:支援已移至 ZATZLabs 網站,不再提供於 WordPress.org 論壇。如果您需要開發人員的及時回覆,請 提交一個問題單。, 如果你曾經想要顯示最新文章,...。
  • ACF Recent Posts Widget 》ACFRPW 外掛新增了一個部件至「外觀」→「小工具」→「ACF 最新文章部件」。大部分欄位都相當明顯,您可以從一個設定集中選擇想要顯示的文章。, 每個設定會改變...。
  • Recent Posts 》取得最新文章列表。, 配置, 在調用此函數時,您可以傳遞參數來配置一些選項。, 例如: mdv_recent_posts(10, '', '
    ', true, 5, false, false), 參...。

文章
Filter
Apply Filters
Mastodon