WP Manifestindependent plugin directory
manifest / content / display-posts-pagination

Display Posts - Pagination

Allow results of Display Posts to be paginated

by Bill Erickson · github.com/billerickson/display-posts-pagination · website

22stars
3forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/billerickson/display-posts-pagination/archive/refs/heads/master.zip

Readme

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

Installation

  1. Download the plugin in zip format here
  2. Go to your WordPress, and from the admin portal go to Plugins
  3. Once in the Plugins section, go to Add New, then click on Upload Plugin and finally select the zip downloaded in step 1
  4. Last step, activate the plugin

Read the full README on GitHub →