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

Random Featured Post

外掛說明

The Random Featured Post plugin allows you to display a random post from a designated category. Ideally this should
draw readers landing on your homepage to some of your best posts. The featured post will display the title
“Featured Post” (customizable) along with the post’s title, an excerpt and a link to continue to the full post.

Additional Notes

  • The show_featured_post($PreFeature = ”, $PostFeature = ”, $AlwaysShow = false, $categoryID = 0, $NumberOfPosts = 0) function has five optional arguments.
    The first two are for any HTML you would like to display before and after the featured post. The third argument is a
    boolean (true/false) argument which will override the \’Show Featured Post\’ option and always display the featured post when true. The fourth option allows you to
    specify a single category to display from, overriding the selections in settings page. The fifth option allows you to show more than one post at a time, overriding
    the settings page option.
  • All output is contained in a DIV class named “featuredpost” and can be adjusted via your stylesheet.

安裝方式

  1. Download and unzip featuredpost.zip to your plugin folder.
  2. Activate the plugin from the Plugins section of your dashboard.
  3. (Optional) Create a “Featured” category.
  4. Go to the “Featured Post” options in your dashboard and select the categories from which you would like posts to be randomly selected.
  5. Check the “Show Featured Post” box and click “Update” to save your changes.
  6. Place a call to the show_featured_post() function in your template, most likely in your main index template just before the loop.

常見問題集

Please see the plugin home page for more information.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Random Featured Post〉的開發相關工作。

參與者

將〈Random Featured Post〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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