MyBB Community Forums

Full Version: Wrapping the category description in a <p>
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is it possible to wrap the category description in a paragraph ? As in, when there's a description.

I don't want the paragraph to show when there's no description.


Edit: and also for the forums description..
You can use the Template Conditionals plugin:

Activate it, then for example in forumbit_depth2_forum change {$forum['description']} to:
<if $forum['description'] then><p>{$forum['description']}</p></if>