WordPress.org

Ready to get started?Download WordPress

Forums

Posts in Sidebar
[resolved] Paragraphs in post excerpt (13 posts)

  1. pipedream15
    Member
    Posted 1 year ago #

    Hi,

    This is probably a fairly simple question, but how do I allow paragraph breaks in the excerpt text? They appear when I allow the full content to display, but not when I select only an excerpt (in this case 300 words). Any help is appreciated. Great plugin!

    http://wordpress.org/extend/plugins/posts-in-sidebar/

  2. aldolat
    Member
    Plugin Author

    Posted 12 months ago #

    Hi,
    I'll add this in the next release. In the meantime, thanks to your question, I discovered an "important" bug that needs to be fixed ASAP.

    Hope to release the new version in the next few days.

    Thanks for asking,
    Aldo

  3. aldolat
    Member
    Plugin Author

    Posted 12 months ago #

    Hi,
    the 1.10 version has just been released.

    Bye! :)

  4. pipedream15
    Member
    Posted 12 months ago #

    Thanks! I apologize, but even with the update installed, I can't seem to get the paragraph breaks to show up in the excerpt. I've tried with both the <p></p> and
    tags, and neither seems to work. The paragraphs appear in the full post, but still not the excerpt.

  5. pipedream15
    Member
    Posted 12 months ago #

    *Break tags

  6. aldolat
    Member
    Plugin Author

    Posted 12 months ago #

    It's enough to press Return where you want to insert a paragraph break, without entering any HTML tag. For me it now works.

    Could you give me the URL of the site where I can take a look?

  7. pipedream15
    Member
    Posted 12 months ago #

    I actually don't have a host yet. I'm working locally with a test server. But I'm using the free Max Magazine theme if that helps. Are there other settings I should have enabled for this to work?

  8. aldolat
    Member
    Plugin Author

    Posted 12 months ago #

    No, there isn't any setting to edit. Could you try the TwentyTwelve theme and test if it works for you?
    Also, make a test disabling all the plugins except Posts in Sidebar and let me know.

  9. pipedream15
    Member
    Posted 12 months ago #

    Still not working with TwentyTwelve and with all other plugins disabled.

  10. aldolat
    Member
    Plugin Author

    Posted 12 months ago #

    I just tried in a fresh local installation of WordPress with TwentyTwelve theme and it works fine. Every paragraph break is correctly displayed.

    Did you typed your excerpt in the Excerpt box? It's located just below the write panel. On the contrary, the WordPress-generated excerpt will not have any paragraph break.

  11. pipedream15
    Member
    Posted 11 months ago #

    That was the issue. I was using the auto-generated excerpt instead of the excerpt box. Thank you for being patient and helping me figure this out. Five stars on your plugin! Highly recommended!

  12. hughshields
    Member
    Posted 6 months ago #

    Is it possible to enable paragraph breaks from the WordPress generated excerpt. I noticed that the full content formats nicely but the excerpt does not.

  13. aldolat
    Member
    Plugin Author

    Posted 6 months ago #

    The plugin uses wp_trim_words, a WordPress function that trims the text to the number of words defined by the user in the widget panel. Paragraph breaks and line-breaks are stripped away by this function, that is outside of my plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.