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

List Posts by Categories

外掛說明

Add a list of your latest blog entries on any page.
With simple shortcode you can place a list of your latest news (or/and other blog categories) on any page or post.

Documentation

[postsbycategories array1cat=”category1,category2″ array2cat=”category3″ sortby=”title|date” order=”ASC|DESC” posts_per_page=”-1|X”]
Use the following shortcode anywhere on your page or post following the examples below:

[postsbycategories array1cat=”category1″ array2cat=”category3″ sortby=”date” order=”DESC” posts_per_page=”-1″]
Show a list of post/pages into category ‘category1’ AND ‘category3’, sort by published date, descendent, and without limit of posts/pages per page.

[postsbycategories array1cat=”category1,category2″ sortby=”title” order=”ASC” posts_per_page=”8″]
Show a list of post/pages into category ‘category1’ OR ‘category2’, sort by title, ascendent, and limit to 8 posts/pages per page.

[postsbycategories array1cat=”category1,category2″ array2cat=”category3″]
Show a list of post/pages into category (‘category1’ OR ‘category2’) AND category3, and by default sort published by date, descendent, and no limit posts/pages per page.

安裝方式

This section describes how to install the plugin and get it working.

  1. Downlaod and unzip the last list-posts-by-categories plugin
  2. Upload the list-posts-by-categories directory to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Place shortcode on your page, eg. [postsbycategories array1cat=”category1″ array2cat=”category3″ sortby=”date” order=”DESC” posts_per_page=”-1″]

常見問題集

The shortcode does not return anything

This is most likely because the category name you used in your shortcode is not present or misspelled.

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈List Posts by Categories〉的開發相關工作。

參與者

將〈List Posts by Categories〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

0.1.1 [July 3, 2011]
– Some corrections in readme.txt by mapelo

0.1 [July 3, 2011]
– First released by mapelo