This plugin adds similar to `wp_list_pages`, missing function and shortcode `wp_list_posts` with pagination support.
Author: | Clearcode (profile at wordpress.org) |
WordPress version required: | 4.7 |
WordPress version tested: | 5.9.9 |
Plugin version: | 1.0.1 |
Added to WordPress repository: | 27-12-2016 |
Last updated: | 16-03-2022
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | https://wordpress.org/plugins/cc-list-posts |
Total downloads: | 975 |
Active installs: | 10+ |
Click to start download |
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]
Screenshots
ChangeLog