Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

CC-List-Posts

This plugin adds similar to `wp_list_pages`, missing function and shortcode `wp_list_posts` with pagination support.

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]
Author Clearcode
Profile
Contributors ClearcodeHQ, PiotrPress
Tags clearcode, pagination, PiotrPress, shortcode, sitemap, wp_get_archives, wp_list_pages, wp_list_posts
  1. cc-list-posts screenshot 1

    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).

1.0.0

Release date: 15.12.2016

  • First stable version of the plugin.
Share  
Download
Version 1.0.0

Requires WordPress version: 4.7 or higher

Compatible up to: 4.7.2

Last Updated 22 Dec 2016

Date Added: 22 Dec 2016

Plugin Homepage

Evaluation
star1
star2
star3
star4
star5

0 stars
0 ratings
24 downloads

Compatibility

Not Enough Data

Reports:
Works: 0
Broken: 0