Displaying a category's description (2 posts)

  1. Caylah
    Posted 3 years ago #

    I've been attempting to add my categories descriptions by adding:

             echo category_description();

    To my archive.php file.

    But it doesn't work at all, which I don't really understand.
    Is there a special place within the php.file you're ought to place it or does the code simply not work for this purpose?

    I'm using the theme Minimatic and my modifications is made within a childtheme.
    Here's the link to my site.

  2. Michael
    Part-Time Forum Moderator
    Posted 3 years ago #

    if your theme has a category.php, then you need to add the changes there.


Topic Closed

This topic has been closed to new replies.

About this Topic