该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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

评价

此插件暂无评价。

贡献者及开发者

“Must Read!” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Must Read!”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0

Initial release