Display Posts lets you easily display posts based on any criteria you choose without any coding. It can be difficult to match your theme’s design for post summaries using just the shortcode and CSS. That’s where template parts come in. Styling belongs in a theme Your theme already contains the markup and styling for displaying posts. […]
Tag: featured
Post Grid styling
You can create a great looking, column-based grid of posts with a bit of CSS. The next version of Display Posts will make it even easier to add a grid of posts. We’re building a custom block for the new content editor (Gutenberg) that will allow you to select different layout options. Example Shortcode Use […]
Image Alignment
If you are including images in your post listings, you may need to add some additional styling. Display Posts does not load any styles on your site currently, so it is up to your theme (or you) to provide the styling. Here are some style options you can use: Left aligned image Top aligned image […]
Exclude posts already displayed
If you’re using the Display Posts Shortcode multiple times in one page, you can use this to exclude already displayed posts from new shortcode queries. This will prevent duplicate posts. If you have other, non-Display Posts queries running on the page and would like to exclude them as well, you’ll need to modify those queries […]