WordPress.org

Ready to get started?Download WordPress

Forums

Quotes Collection
The first quote of a series is formatted differently. (5 posts)

  1. crocowhile
    Member
    Posted 3 years ago #

    I am using the tag to show all quotes in one page and it appears that the first one of the series lacks a paragraph tag, between the blockquote tag and the q.
    See screenshot: http://imgur.com/ZjQ3y.png

    http://wordpress.org/extend/plugins/quotes-collection/

  2. SriniG
    Member
    Plugin Author

    Posted 3 years ago #

    The shortcodes don't generate any paragraph tag to enclose the quote inside blockquote. Looks like you introduce the p tag for other quotes when you added/edited the quotes. Please check up.

  3. crocowhile
    Member
    Posted 3 years ago #

    I have just checked the mySQL entries using phpmyadmin and could not find any p tag. I have also tried to change theme and they are still there.
    Any idea?

  4. herostrat
    Member
    Posted 3 years ago #

    That's the wpautop filter doing its "magic". For a generic solution use a plugin to disable wpautop for that page, like this one.

    For a plugin specific solution, add:

    remove_filter( 'the_content', 'wpautop' );
    remove_filter( 'the_excerpt', 'wpautop' );

    to all the if cases in function quotescollection_inpost (quotes-collection.php lines 867-892)

  5. crocowhile
    Member
    Posted 3 years ago #

    Thank you. That was it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic