Cheatography
https://cheatography.com
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: [display-posts author="bill"] |
category
Specify the category slug (or comma separated list of category slugs)
Default: empty
Example: [display-posts category="fishing,hiking"] |
date_format
Specify the date format used when include_date is true. See Formatting Date and Time on the Codex for more information.
Default: '(n/j/Y)'
Example: [display-posts include_date="true" date_format="F j, Y"] |
id
Specify a specific post ID (or multiple post IDs) to display.
Default: empty
Example: [display-posts id="9, 10"] |
|
|
|