WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Stefan83
    Member
    Posted 1 year 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?

    Thanks

    http://wordpress.org/extend/plugins/display-posts-shortcode/

  2. Frank
    Member
    Posted 1 year ago #

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

  3. Bill Erickson
    Member
    Plugin Author

    Posted 1 year 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

About this Topic

Tags

No tags yet.