Taxonomy Category Description

I have a custom post type taxonomy description, which looks like below:

current

Read More

Then in my code, use this to get the title of the category and description

                         <?php
                          $term = $wp_query->queried_object;
                          echo '<h3 class="pt30 tester">'.$term->name.'</h3>';

                          echo '<p>'.$term->description.'</p>';
                          ?>

My issue is, this is obviously putting it all in <p> tags, but i want to be able to add new lines as and when needed. So in the screenshot, you can see there would be new lines.

Any help?

Related posts

Leave a Reply

1 comment