Show Menu
Cheatography

Bill Erickson's display-posts WordPress Shortcode Cheat Sheet (DRAFT) by

Arguments for the WordPress plugin "display-posts", developed by Bill Erickson.

This is a draft cheat sheet. It is a work in progress and is not finished yet.

author

Specify the post author
Default: empty
Example: [displ­ay-­posts author­="bi­ll"]

category

Specify the category slug (or comma separated list of category slugs)
Default: empty
Example: [displ­ay-­posts catego­ry=­"­fis­hin­g,h­iki­ng"]

date_f­ormat

Specify the date format used when includ­e_date is true. See Formatting Date and Time on the Codex for more inform­ation.
Default: '(n/j/Y)'
Example: [displ­ay-­posts includ­e_d­ate­="tr­ue" date_f­orm­at=­"F j, Y"]

id

Specify a specific post ID (or multiple post IDs) to display.
Default: empty
Example: [displ­ay-­posts id="9, 10"]