Add WordPress Category Description

Usually wordpress category description does not show even we add each wordpress category description at WP Administration Panel. Any method to show category description? Yes! Follow me:

Go to Appearance –> Editor, and click Category Template (category.php) .

 Add <div><strong><?php single_cat_title(‘Currently browsing’); ?>
</strong>: <?php echo category_description(); ?></div> 

at proper place.

If you only want certain catergory show its description, also very simple.

<div><?php echo category_description(3); ?></div> 

If you only want to show each category description and now show category title, the follow code is for you!

<?php echo category_description(get_category_by_slug(‘category-slug’)->term_id); ?> 

King Php Science Welcome, you are from: 54.146.11.8