Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #179061
    amandajames
    Participant

    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>' );
    ?>
    #179098
    Skandha
    Participant

    @amandajames: Hello there,
    Go to => Dashboard => Posts => Categories => Edit a Category => Add the description and Click Update

    Now this description will show up on that Category Archive Page.
    Let me know if this helps you out!
    Kind Regards,
    Skandha

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘How to display category description?’ is closed to new replies.