Profile photo of DaniDani
asked 2 years ago

Hello,

is it possible in the WallPress-Theme to display the category description ? In the Theme is is hidden on the page.

Thanx for helping,
Dani

1 Answers
Dominic
answered 2 years ago

Hi,
You can open the archive.php file and add the following code under line 5:

<div class="category_description"><strong><?php single_cat_title('Currently browsing: '); ?>
</strong>: <?php echo category_description(); ?></div> 

Finally, please use the following code to change the style.

.category_description {
    border: 1px solid #ddd;
    padding: 16px;
}

Hope this helps !

Powered by DW Question & Answer Pro

Access years of experience in WordPress; Collaborate with professionals trusted by tens of thousands of people across the world.

Sign Up Today