這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Recent Posts Plus

描述

An advanced version of the WordPress Recent Posts widget allowing increased customization.

Features Include:

  • Display post thumbnails, with customizable size.
  • Display post excerpt, author, comment count, and more.
  • Provides options to trim the number of characters in the title and excerpt.
  • Override the post order to order by; date modified, title, post ID, random, comment count etc.
  • Exclude or include specific posts, authors, tags, or categories.
  • Also includes a simple template parser so you can override the default output making custom styling easy.

Documentation

See documentation at http://www.pjgalbraith.com/2011/08/recent-posts-plus/

螢幕截圖

  • Widget options screen

安裝

  1. Upload recent-posts-plus.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Add the widget to your sidebar in ‘Appearance/Widgets’ in WordPress

常見問題

See documentation at http://www.pjgalbraith.com/2011/08/recent-posts-plus/ and existing questions and answers at http://www.pjgalbraith.com/2011/08/recent-posts-plus/#comments

Installation Instructions
  1. Upload recent-posts-plus.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Add the widget to your sidebar in ‘Appearance/Widgets’ in WordPress

評價

2016年9月3日
I use this plug-in already a few years and it is great in customising. For example it has easy Widget Output Template ability on the widget itself. So you can add for example the author’s name to be displayed using the {AUTHOR} code! And with WP version 4.4.2 still working 🙂
閱讀全部14個評價

貢獻者及開發者

“Recent Posts Plus” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Recent Posts Plus 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.11

  • Exclude sticky posts being included at the beginning of posts returned, but the sticky post will still be returned in the natural order of that list of posts returned

1.0.10

  • Fixed excerpt ellipsis being added to the title incorrectly

1.0.9

  • Added option to customize the ellipsis within the Widget Output Template using {ELLIPSIS}...{/ELLIPSIS} tag
  • The output of more template tags is now available when using PHP within the Widget Output Template
  • Other minor tweaks

1.0.8

  • Fixed tags being broken by truncation
  • Note: links are being stripped again but formatting should be same as v 1.0.4
  • Widget admin javascript is only being added when needed
  • Added code to prevent direct script access

1.0.7

  • Added option to display post author’s avatar. Using {AUTHOR_AVATAR} tag
  • Added ability to add raw PHP code to the widget output template option

1.0.6

  • Link and paragraph tags no longer stripped from excerpt. Now matches output of v 1.0.4

1.0.5

  • Added ability to display custom fields i.e. meta-data
  • Added option to truncate title and excerpt by number of words instead of just chars
  • Added custom excerpt trimming function to avoid issues caused by WordPress’ overly simplistic excerpt function
  • Minor localization fixes
  • Small reduction in DB queries

1.0.4

  • Added ability to override the date format inline, so you can have multiple date formats
  • Changed the default date format to “M j”

1.0.3

  • Fixed issue with limiting excerpt chars

1.0.2

  • Fixed issue with thumbnail size input field width in Google Chrome
  • Fixed issue when adding a new widget instance, expert options wouldn’t toggle on
  • Added licence
  • Added readme
  • Added screenshot

1.0.1

  • Prevented htmlspecialchars from being encoded twice

1.0.0

  • Initial release