Skip to content

Qndrs/display-posts-shortcode

Repository files navigation

Display Posts Extended

Plugin Version Total Downloads Plugin Rating WordPress Compatibility License

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

Maintained Fork

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.

Migrating from Display Posts

Display Posts Extended uses the same [display-posts] shortcode, so existing content should keep working after migration.

  1. Make a backup of the site files and database.
  2. Deactivate the original Display Posts plugin.
  3. Install display-posts-extended and activate Display Posts Extended.
  4. Check pages that use [display-posts], including custom attributes and styling.
  5. 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.

Description

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.

Documentation

Extensions

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors