Display Posts Shortcode
[resolved] Include Excerpt not working (5 posts)

  1. elbobiam
    Posted 3 years ago #


    I recently updated from version 1.7 to 1.9 of your excellent plugin, but for some reason, the include_excerpt="true" is not working. I get the title, date and more... but there is no excerpt. I also tried to remove the date by setting it to false, but it still showed.

    [display-posts category="latest news" include_excerpt="true" order="ASC" posts_per_page="4" wrapper="div" include_date="true"]

    Can you please advise.

    Many thanks


  2. Bill Erickson
    Plugin Author

    Posted 3 years ago #

    Hmm, no changes to the excerpt were made, except wrapping the hypen before it in <span class="excerpt-wrapper">

    Have you added any code to your theme's functions.php file related to this plugin? If you've added an output filter to modify the output, it could be responsible.

  3. mattmeeks
    Posted 3 years ago #

    Double check your shortcode in the html view-sometimes shortcodes get pasted into the visual view in WP and it inserts code or pre tags in, which ends up breaking the shortcode.

  4. elbobiam
    Posted 3 years ago #

    Hi both,

    no errors, I think it's a theme conflict issue as it works fine with default theme (Dandelion from themeforest).

    Is there any names I can manually change that may stop the conflict? I especially need the excerpt.


  5. elbobiam
    Posted 3 years ago #


    Sorted. I'd forgotten I'd put a separate function with was conflicting...All fixed.

    Thank you for your time and help.

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