Profile photo of DaniDani
asked 3 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 3 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