Contributors: billerickson
Tags: shortcode, pagination, paginated, pages, posts, page, query, display, list, date, month, year
Requires at least: 3.0
Tested up to: 5.1
Stable tag: 1.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Display Posts is the simplest way to query and display content in WordPress.
This plugin extends Display Posts by letting you paginate the results. You can use all of the Display Posts parameters to customize the query.
[display-posts pagination="true"]
If you have more than one [display-posts]
listing on a page, use increasing increments for the pagination parameter. Ex: [display-posts pagination="2"]
. This will ensure going to page two of one listing doesn't alter the results of the other.
If you're a developer, you can use the following filters to customize the markup:
display_posts_shortcode_paginate_links
- Customize the arguments passed topaginate_links()
- Download the plugin in zip format here
- Go to your WordPress, and from the admin portal go to Plugins
- Once in the Plugins section, go to Add New, then click on Upload Plugin and finally select the zip downloaded in step 1
- Last step, activate the plugin