Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.64 KB

README.md

File metadata and controls

38 lines (24 loc) · 1.64 KB

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