Fancier Author Box by ThematoSoup
[resolved] Can you display paragraph breaks? (3 posts)

  1. mellymel
    Posted 3 years ago #

    One of my authors uses a two paragraph format for his bio. Though the paragraph break displays fine on the backend, the two are displayed as one long paragraph on the front end. Any help you can provide would be great.


  2. Slobodan Manic
    Plugin Author

    Posted 3 years ago #


    Can you edit line 60 of includes/ts-fab-construct-tabs.php, that currently looks like this:

    <div class="ts-fab-content">' . $author->user_description . '</div>

    So it's like this:

    <div class="ts-fab-content">' . wpautop( $author->user_description ) . '</div>

    That will use a WordPress filter function that adds paragraphs automatically, the same one that adds them to post content.

    Please let me know if that helps.

  3. mellymel
    Posted 3 years ago #

    Perfect. Changing the code fixed my issue. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Fancier Author Box by ThematoSoup
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic