Title: list-posts WordPress Plugin
Author: BMLTGuy
Published: <strong>2010 年 5 月 27 日</strong>
Last modified: 2010 年 12 月 22 日

---

搜尋外掛

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

![](https://s.w.org/plugins/geopattern-icon/list-posts.svg)

# list-posts WordPress Plugin

 由 [BMLTGuy](https://profiles.wordpress.org/magblogapi/) 開發

[下載](https://downloads.wordpress.org/plugin/list-posts.1.1.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/list-posts/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/list-posts/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/list-posts/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/list-posts/#developers)

 [技術支援](https://wordpress.org/support/plugin/list-posts/)

## 外掛說明

This allows you to create “hybrid” pages, with a fixed page content, as well as 
a list of the latest posts.
 This is very, very basic. I want to get fancier in 
the near future, but this gives me what I need for now. I created this, because 
I need a static front page with stable text, but I also want a roll of the latest
dynamic content, displayed below the static text.

### TO DO

 1. Add an admin page

## 安裝方式

 1. Upload the `list-posts` directory to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place `<!--LIST_POSTS-->` or `[[LIST_POSTS]]` in the HTML view of a page. It will
    be replaced by the plugin.
 4. As of version 1.0, you can specify two items of metadata (Custom Fields) for a 
    given page. This will control what is displayed in the plugin.
 5. As of version 1.1, more metadata has been added (Item >= C). You can now specify
    how many posts are shown (-1 is all of them), and you can now filter for series(
    from the excellent organize-series plugin).

A. `list_posts_include`
 This is a comma-separated list of integers (category IDs),
category slugs, or tags; each of which is a tag, category ID or slug. Any posts 
that claim this category in their taxonomy will be included, unless their category
is in `list_posts_exclude`. If this custom field is defined, then _ONLY_ those categories
will be displayed. If it is not specified, then all categories will be displayed.

B. `list_posts_exclude`
 This is a comma-separated list of integers (category IDs),
category slugs, or tags; each of which is a tag, category ID or slug. Any posts 
that claim this category/tag in their taxonomy will be excluded. Exclude always 
overrides include. If you exclude a parent category, you cannot include children
categories.

C. `list_posts_count`
 A simple integer. If set to 0, then all posts in the filter
specified will be displayed (watch out -this could be a lot). If not specified, 
then the default (‘num_posts’ option, set to 5 for now).

D. `list_posts_series`
 This is a comma-separated list of integers or series slugs,
each of which is an organize-series plugin series ID or slug. Any posts that are
in this series will be included, unless their category is in `list_posts_exclude`.
If this custom field is defined, then _ONLY_ those series will be displayed. If 
this field is specified, then list_posts_include is ignored. If the organize-series
plugin is not installed and activated, then this will be ignored.

## 使用者評論

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

## 參與者及開發者

以下人員參與了開源軟體〈list-posts WordPress Plugin〉的開發相關工作。

參與者

 *   [ BMLTGuy ](https://profiles.wordpress.org/magblogapi/)

[將〈list-posts WordPress Plugin〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/list-posts)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/list-posts/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/list-posts/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/list-posts/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/list-posts/)。

## 變更記錄

1.1.1 -December 22, 2010
 There was a bug in the post count custom field (‘list_posts_count’).
This has been fixed.

1.1 -December 21, 2010
 Added tags to the include and exclude lists. Also added 
the ability for individual pages to specify a series (organize-series) and a post
count.

1.0.3 -July 29, 2010
 Now automatically split long posts with no “more” tag.

1.0.2 -July 25, 2010
 Fixed an issue where the filter interferes with other content
filters.

1.0.1 -July 25, 2010
 Fixed an issue where a trailing >\p< element was left behind.

## 中繼資料

 *  版本 **1.1.1**
 *  最後更新 **15 年前**
 *  啟用安裝數 **30+**
 *  WordPress 版本需求 ** 2.6 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.0.5**
 *  語言
 * [English (US)](https://wordpress.org/plugins/list-posts/)
 * 標籤:
 * [Latest-news](https://tw.wordpress.org/plugins/tags/latest-news/)[list posts](https://tw.wordpress.org/plugins/tags/list-posts/)
 *  [進階檢視](https://tw.wordpress.org/plugins/list-posts/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/list-posts/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/list-posts/reviews/)

## 參與者

 *   [ BMLTGuy ](https://profiles.wordpress.org/magblogapi/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/list-posts/)