
內容簡介
這個外掛可以讓您標記任何文章為「必讀」,在任何地方以相當方便的方式顯示它們。
有三種可能的顯示方式。
小工具
只需前往小工具頁面,找到「必讀!」小工具。您可以將其放在任何側邊欄中並調整設置。
短碼
[mustread number=5 image=above_title date=1 author=1 excerpt=1]
所有支援的參數及其值均可在常見問題解答中找到。
PHP 函式
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 );
最後一個參數控制函式的輸出。如果您在那裡提供 false,則函式將返回列表 HTML。
外掛標籤
開發者團隊
原文外掛簡介
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.
