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

  1. crocowhile
    Posted 4 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


  2. Srini G
    Plugin Author

    Posted 4 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
    Posted 4 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
    Posted 4 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
    Posted 4 years ago #

    Thank you. That was it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Quotes Collection
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic