WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. elbobiam
    Member
    Posted 1 year ago #

    Hi,

    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

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

  2. Bill Erickson
    Member
    Plugin Author

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

    Thanks

  5. elbobiam
    Member
    Posted 1 year ago #

    wohoo!

    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

About this Topic