Skip to content
Display Posts

Display Posts

The simplest way to display a listing of posts in WordPress.

  • Home
  • Tutorials
  • Documentation
    • Documentation
    • Parameters
    • Filters
    • The Output Filter
    • Extensions
  • Installation Instructions
  • More
    • Back

Tag: image

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 […]

Posted byBill EricksonJanuary 4, 2019May 8, 2020Posted inDisplay Posts ShortcodeTags: featured, grid, 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 […]

Posted byBill EricksonJanuary 4, 2019January 4, 2019Posted inDisplay Posts ShortcodeTags: featured, 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 […]

Posted byBill EricksonJanuary 3, 2019January 4, 2019Posted inDisplay Posts ShortcodeTags: image
Display Posts is developed by Bill Erickson