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

Must Read!

描述

This plugin allows you to mark any of your articles as a “Must Read” to display them anywhere in a pretty convenient way.

There are three possible ways to display the list.

Widget

Just go to the Widgets screen and find the “Must Read!” widget. You can place it in any sidebar and adjust the settings.

Shortcode

[mustread number=5 image=above_title date=1 author=1 excerpt=1]

All supported params and their values are available in the FAQ section.

PHP function

mustread( array(
    'posts_number'    => 5,     // integer
    'display_image'   => false, // false|above_title|below_title
    'display_date'    => false, // true|false
    'display_author'  => false, // true|false
    'display_excerpt' => false, // true|false
), true );

The last parameter controls the output of the function. If you provide a false there, the function will return list HTML.

螢幕截圖

  • Widget with the list
  • Must Read setting on post edit screen
  • Widget settings

安裝

Go to your WordPress wp-admin. Plugins -> Add New. Search for “Must Read!” and install it.

常見問題

Installation Instructions

Go to your WordPress wp-admin. Plugins -> Add New. Search for “Must Read!” and install it.

Is there a post number limit on the list?

By default, it’s 5, but you can control this in the widget settings or shortcode/function parameters.

What are the shortcode parameters?

Supported shortcode params are:

  • number – integer – number of posts to display
  • image – 0|above_title|below_title – if display the image and where
  • date – 1|0 – if display the post date
  • author – 1|0 – if display the post author
  • excerpt – 1|0 – if display the post excerpt

評價

There are no reviews for this plugin.

貢獻者及開發者

“Must Read!” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Must Read! 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0.0

Initial release