Display Posts Shortcode
[resolved] Only showing title (3 posts)

  1. Stefan
    Posted 2 years ago #

    Hi - This plugin is awesome, but only the title is showing for each custom post type. I need to display the featured image and excerpt as well. Any ideas why this isn't working correctly?



  2. Frank
    Posted 2 years ago #

    Have you visited the plugin's wiki page and tried the appropriate attributes like include_excerpt="true"?

  3. Bill Erickson
    Plugin Author

    Posted 2 years ago #

    t-mug is correct. The default output is just the title. To display the featured image and excerpt, you'll need this:

    [display-posts include_excerpt="true" image_size="thumbnail"]

    You can change "thumbnail" to a different image size if you want (ex: medium or large). Set the dimensions of the image sizes in Settings > Media.

    You'll also want to add some styling to your theme for the thumbnail most likely. See the wiki section "Image Alignment" for more information: https://github.com/billerickson/Display-Posts-Shortcode/wiki

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Display Posts Shortcode
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.