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 […]
Tag: image
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 […]
Display default image
The image_size parameter lets you include a thumbnail in your post listing, but it only works if the post has a featured image attached to it. The code snippet below lets you specify a default image ID to use in case a post doesn’t have a thumbnail. You can find the image ID by going […]