Skip to content
Allow results of Display Posts to be paginated
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md add readme Mar 13, 2019
display-posts-pagination.php option to display pagination inside listing Mar 14, 2019

README.md

Display Posts - Pagination

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

Description

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.

Paginated Listing

[display-posts pagination="true"]

screenshot

Multiple paginated listings

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.

Filters

If you're a developer, you can use the following filters to customize the markup:

  • display_posts_shortcode_paginate_links - Customize the arguments passed to paginate_links()
You can’t perform that action at this time.