I'm in archive.php and attempting to write out the current category's description with full html. However, category_description() prints without the html markup.
How can I force it to retrieve the full description complete with the html tags?
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this communityI'm in archive.php and attempting to write out the current category's description with full html. However, category_description() prints without the html markup.
How can I force it to retrieve the full description complete with the html tags?
Found the answer here > http://www.laptoptips.ca/projects/category-description-editor/
echo get_term_field( 'description', get_query_var( 'cat' ), 'category', 'raw' );