Viewing 6 replies - 1 through 6 (of 6 total)
  • Anjara

    (@hiteshanjara)

    You can try to separate those <p> tag, using css code.

    Here you can add this type of css in your style.css file at theme folder.

    p { clear:both; margin-bottom:5px; }

    Hope this will help you!

    If you put in line breaks in teh HTML in the FAQ like

    <br />

    It will work 🙂

    No, if you add tags they get stripped out so that won’t work. Same problem here but only when an faq category is added to a page. When the individual faq is opened, the formatting is there. So that suggests to me the page is using the_excerpt instead of the_content. I’ll poke around but if someone has a fix I’d appreciate it.

    I should add formatting is stripped which suggests the problem is the_excerpt but ALL the content is shown, not an “excerpt”. So it’s hard to pin down.

    Plugin Author Dalton Rooney

    (@daltonrooney)

    Sorry, this happened with the latest update, we changed the way the query works and it’s no longer filtering the content. To fix, change line 123 in q-a.php from

    $qa_shortcode .= '<div class="faq-answer">' . get_the_content() . '</div>';

    to

    $qa_shortcode .= '<div class="faq-answer">' . apply_filters( 'the_content', get_the_content() ) . '</div>';

    I’ll be posting an update shortly.

    Dalton,
    Awesome, that fixed it. Thanks for the quick response.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Q and A – FAQ Plugin] Problem: Multiple paragraphs in answer are all clumped together’ is closed to new replies.