Theย WP Posts Feedย Item type allows you create advanced WordPress post queries and display the results with Ditty. For general information on working with items check out the following articles:
WP Posts Feed Settings
Select the Gear/Edit icon shown on your WP Posts Feed item to adjust the settings.

General Settings
Set the general settings of the WP Posts Feed.
- Post Type โ Select the post type to display.
- Limit โ Set the number of Posts to display.
- Offset โ Set an offset from the latest Post.
- Post Format โ Select the post format to display.
- Orderby โ Select the orderby key of the feed.
- Orderby Meta Key โ Add the custom field key.
- Order โ Select the order of the feed.
- Item List Label – Add a custom label to display for the item in the Items panel of the Ditty.
- Timestamp Source – Choose to use publish or last updated date when ordering items (from the Items panel) by timestamp.

Advanced Query Args
Add advanced query args for advanced post queries.
- Parameter โ Choose the parameter.
- Value โ Set the value. Use commas to split values into an array.

Taxonomy Query Args
Add taxonomy query args for advanced post queries.
- Taxonomy Query Relation โ Choose the relationship between multiple taxonomy arguments.
- Taxonomy โ Add the taxonomy you wish to use.
- Terms โ Add the terms to filter the query by.
- Field โ Select the taxonomy term by the specified value.
- Operator โ Select the operator to test.
- Children โ Select whether or not to include children for hierarchical taxonomies.

Meta Query Args
Add meta query args for advanced post queries.
- Meta Query Relation โ Choose the relationship between multiple meta query arguments.
- Key โ Custom field key.
- Value โ Use commas to split values into an array. It can be an array only when compare is โINโ, โNOT INโ, โBETWEENโ, or โNOT BETWEENโ. You donโt have to specify a value when using the โEXISTSโ or โNOT EXISTSโ comparisons
- Compare โ Select the operator to test.
- Type โ Select the custom field type. The โtypeโ DATE works with the โcompareโ value BETWEEN only if the date is stored at the format YYYY-MM-DD and tested with this format.

Links
Configure global link settings for this items elements.
- Link Target โ Set a target for your links.
- Link No Follow โ Enabling this setting will add an attribute called โnofollowโ to your links. This tells search engines to not follow this link.

WP Posts Feed Layout Settings
Select the Pencil/Brush icon shown on your WP Posts Feed item to modify the layout for the item. Read more about what Layouts are and how they are used here: https://www.metaphorcreations.com/article/ditty/general/using-layouts/

HTML Tags
The following tags are available to use with the WP Posts Feed Item type.
- {author_avatar} โ Render the itemโs author avatar.
- {author_bio} โ Render the itemโs author biography.
- {author_name} โ Render the itemโs author name.
- {categories} โ Render the itemโs categories.
- {content} โ Render the itemโs content.
- {custom_field} โ Render a custom field for the item.
- {excerpt} โ Render the itemโs excerpt.
- {icon} โ Render the itemโs icon.
- {image} โ Render the itemโs image.
- {image_url} โ Render the itemโs image url.
- {permalink} โ Render the itemโs permalink.
- {terms} โ Render specified taxonomy terms for the item.
- {time} โ Render the itemโs date/time.
- {title} โ Render the itemโs title.

CSS Selectors
The following css classed are available to use with the WP Posts Feed Item type.
- .ditty-item__elements โ The container wrapping around the itemโs content.
- .ditty-item__author_avatar
- .ditty-item__author_bio
- .ditty-item__author_name
- .ditty-item__categories
- .ditty-item__content
- .ditty-item__custom_field
- .ditty-item__excerpt
- .ditty-item__icon
- .ditty-item__image
- .ditty-item__image_url
- .ditty-item__permalink
- .ditty-item__terms
- .ditty-item__time
- .ditty-item__title

