Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

display-posts-shortcode

> 编程语言
Open source

Display a listing of posts using the [display-posts] shortcode

356 stars0 likes2 views
WebsiteGitHub

About

Display a listing of posts using the [display-posts] shortcode

Display Posts

Contributors: billerickson

Tags: shortcode, pages, posts, page, query, display, list

Requires at least: 3.0

Tested up to: 7.0

Stable tag: 3.1.2

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.

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.

Installation Instructions

  1. Go to the latest release and download the display-posts-shortcode.zip file.
  2. On your site, go to Plugins > Add New > Upload and upload the zip, then click "Activate".

Documentation

  • Parameters
  • Filters
  • The Output Filter
  • Template Parts

Extensions

  • 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.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHP

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言