Site icon Catch Themes

How to display category description?

I want to add category description in posts. I have seen a tutorial to to display categories in WordPress I am not sure why to add this code in archive.php?
<?php
the_archive_description( '<div class="taxonomy-description">', '</div>' );
?>
Exit mobile version