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

CC-List-Posts

外掛說明

The CC-List-Posts plugin works out of the box.
There is no settings page for it.
After activation you can start using wp_list_posts function and/or shortcode with the parameters listed below.

Notice: the plugin can be used with the wp_link_pages built-in functionality if you use pagination parameter with integer value.

Defaults

  • before: (string) <ul>,
  • after: (string) </ul>,
  • link_before: (string) empty string,
  • link_after: (string) empty string,
  • type: (string) postbypost,
  • echo: (integer) 0,
  • pagination: (boolean|integer) false,
  • format: (string) html
  • type: (string) monthly,
  • limit: (string) empty string,
  • show_post_count: (boolean) false,
  • order: (string) DESC,
  • post_type: (string) post

Notice: plugin uses wp_get_archives function to list posts, so you can also use additional parameters. A full list is available at WordPress codex page documentation.

wp_list_posts parameter mapped to wp_get_archives

  • link_before: before
  • link_after: after

Default usage

  • Function: wp_list_posts( array( 'pagination' => 50 ) )
  • Shortcode: [wp_list_posts pagination=50]

螢幕擷圖

  • CC-List-Posts Shortcode - Visit the 'Post/Page Editor' and add [wp_list_posts] shortcode.

安裝方式

From your WordPress Dashboard

  1. Go to ‘Plugins > Add New’
  2. Search for ‘CC-List-Posts’
  3. Activate the plugin from the Plugin section on your WordPress Dashboard.

From WordPress.org

  1. Download ‘CC-List-Posts’.
  2. Upload the ‘CC-List-Posts’ directory to your ‘/wp-content/plugins/’ directory using your favorite method (ftp, sftp, scp, etc…)
  3. Activate the plugin from the Plugin section in your WordPress Dashboard.

Multisite

The plugin can be activated and used for just about any use case.

  • Activate at the site level to load the plugin on that site only.
  • Activate at the network level for full integration with all sites in your network (this is the most common type of multisite installation).

使用者評論

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

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

1.0.1

Release date: 16.03.2022

  • Added PHP 8.0 support.

1.0.0

Release date: 15.12.2016

  • First stable version of the plugin.