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.