WP Posts Feed (Lite)
The WP Posts Feed (Lite) Item type allows you to add your latest WordPress blog posts to your Ditty. For more advanced WordPress post queries and display options, check out the Ditty Posts extension.
Editor Settings
The following settings are located on the settings panel for the WP Posts Feed (Lite) Item type. Hover over your item and select the Edit icon to adjust your settings.
General Settings
- Limit – Set the number of Posts to display.
Title Settings
- Title Element – Choose the html wrapper element for titles.
- Title Link – Add a link to the post.
Content Settings
- Content Display – Configure settings for the post content.
- Excerpt Element – Choose the html wrapper element for excerpts.
- Excerpt Length – Set the length of the excerpt.
- Read More Text – Add read more text to the excerpt.
- Read More Before Text – Add text before the Read More text.
- Read More After Text – Add text after the Read More text.
- Read More Link – Link the read more text to the post.
Link Settings
- 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.
Layout Tags
The following tags are available to use with the WP Posts Feed (Lite) Item type. Read more about what Layouts are and how they are used here: What are Layouts?.
HTML Tags
- {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.
- {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.
- {time} – Render the item’s date/time.
- {title} – Render the item’s title.
CSS Selectors
- .ditty-item__elements
- .ditty-item__author_avatar
- .ditty-item__author_bio
- .ditty-item__author_name
- .ditty-item__categories
- .ditty-item__content
- .ditty-item__excerpt
- .ditty-item__icon
- .ditty-item__image
- .ditty-item__image_url
- .ditty-item__permalink
- .ditty-item__time
- .ditty-item__title