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

Display Posts - Pagination

Allow results of Display Posts to be paginated

★ 22stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/billerickson/display-posts-pagination/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

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