sandywp / plugins / display-posts-shortcode

Display Posts

Easy lists, grids, navigation, and more

4.8 out of 5 stars. 4.8 164 reviews

Add a listing of content on your website using a simple shortcode. Filter the results by category, author, and more.

Launch a sandbox with this plugin → No signup.
Ready in seconds.

v3.0.3 80,000+ installs WP 3.0+

your-sandbox.sandywp.com/wp-admin
Display Posts – Easy lists, grids, navigation, and more running inside a SandyWP sandbox

About this plugin

Display Posts allows you easily list content from all across your website. Start by adding this shortcode in the content editor to display a list of your most recent posts:

[display-posts]

Filter by Category

To only show posts within a certain category, use the category parameter:

[display-posts category="news"]

Display as Post Grid

You can create a great looking, column-based grid of posts with a bit of styling. Here’s how!

List Popular Posts
You can highlight your popular content in multiple ways. If you want to feature the posts with the most comments, use:

[display-posts orderby="comment_count"]

You can also list most popular posts by social shares.

Include thumbnails, excerpts, and more
The display parameters let you control what information is displayed for each post. To include an image and summary, use:

[display-posts include_excerpt="true" image_size="thumbnail"]

You can use any image size added by WordPress (thumbnail, medium, medium_large, large) OR any custom image size added by your theme or other plugins.

Sort the list however you like
By default the listing will list the newest content first, but you can order by title, menu order, relevance, content type, metadata, and more.

List upcoming events
You can easily list upcoming events from any event calendar. Each plugin will require slightly different code.

Here are tutorials for popular event calendar plugins. If your plugin is not listed here, submit a support request and I’ll add it!

Tutorials
Our tutorials cover common customization requests, and are updated often.

Full Documentation

  • Query parameters for customizing which posts are listed (filter by category, tag, date…)
  • Display parameters determine how the posts appear (title, excerpt, image…)
  • Template parts for Display Posts to perfectly match your theme’s post listings
  • Output filter for complete control over how the listing looks on your site
  • Filters for even more powerful customizations for developers

Extensions

4.8

164 reviews

  • 5 ★ 149
  • 4 ★ 9
  • 3 ★ 3
  • 2 ★ 2
  • 1 ★ 1

Ratings come from WordPress.org. SandyWP does not collect its own reviews.

sandywp / also on the shelf

Try another plugin

  • Post Type Switcher

    4.8 · 200K+ installs

    A simple way to change a post's type in WordPress

  • Simple Page Ordering

    4.7 · 100K+ installs

    Order your pages and other custom post types that support "page-attributes" with drag and drop right from the standard page list.

  • Page Links To

    4.9 · 100K+ installs

    Lets you make a WordPress page (or port or other content type) link to a URL of your choosing (on your site, or on another site),…

Spin up a real WordPress site in seconds.

Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.