Contributors: billerickson, cultivatewp, qndrs
Tags: shortcode, posts, pages, query, display
Requires at least: 5.9
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 3.2.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Display Posts Extended is a maintained fork of the original Display Posts plugin by Bill Erickson.
This plugin is intended as a drop-in replacement for Display Posts and keeps the [display-posts] shortcode for backwards compatibility. Release zips install into the display-posts-extended directory to avoid accidentally overwriting the original plugin during upload. Do not run both plugins at the same time, because they register the same shortcode and legacy global functions. Activation is blocked when the original Display Posts plugin is still active.
The current focus is to keep the original shortcode behavior stable while adding project-specific improvements, modern WordPress compatibility, Plugin Check fixes, and clearer documentation.
Display Posts Extended uses the same [display-posts] shortcode, so existing content should keep working after migration.
- Make a backup of the site files and database.
- Deactivate the original Display Posts plugin.
- Install
display-posts-extendedand activate Display Posts Extended. - Check pages that use
[display-posts], including custom attributes and styling. - Remove the original Display Posts plugin only after the replacement has been verified.
If the original plugin is still active, Display Posts Extended stops loading and shows an admin warning. This prevents duplicate shortcode and function registrations.
If WordPress says the plugin could not be activated because it triggered a fatal error, check whether the original Display Posts plugin is still active.
Display Posts is the simplest way to query and display content in WordPress.
Add the [display-posts] shortcode in a post or page. Use the query parameters to filter the results by tag, category, post type, and more.
You can customize the output using the display parameters, or use a template part to match your theme exactly.
Developers can take it even further using the available filters.
See these tutorials for many examples of customization options.
- Display Posts – Pagination – Allow results of Display Posts to be paginated
- Display Posts – Date View – Lets you break your content down by month or year.
- Display Posts – Alpha View – Display an alphabetical listing of your content, broken down by letter
- Display Posts – Transient Cache – Cache the output using transients
- Co-Authors Plus Addon – multiple authors on posts
- Columns Extension – display posts in columns
- DPS Exclude Sticky – exclude sticky posts unless specifically requested
- DPS Pinch Zoomer – adds support pinch zooming post images on mobile devices and mouse wheel zooming on desktops
- Display Posts Shortcode Remote – display posts from a remote WordPress site utilizing the WP REST API.