Home Forums WordPress Website Adding content to the category page in WordPress blog

This topic contains 1 reply, has 2 voices, and was last updated by  WPsitex 6 months, 1 week ago.

  • Author
    Posts
  • #274

    Kriti Sinha

    I am creating a WordPress blog. I got to know that putting some unique content on the category page helps in SEO. Unfortunately the theme I am using doesn’t display the category description on the category page by default. Is there a plugin or any other way to do it. I need it really urgent. Please help.

  • #1102

    WPsitex
    Keymaster

    Find the category page template in your theme files. There would be file with name of category.php . If it doesn’t exist then there might be a common page template where with the name of page.php or index.php (not the one in root directory but in themes directory). Put the following code at the location in the code where you want to display the category description.

    <?php
    the_archive_description( '<div class="taxonomy-description">', '</div>' ); 
     ?>
    • This reply was modified 6 months, 1 week ago by  WPsitex.
    • This reply was modified 6 months, 1 week ago by  WPsitex.

You must be logged in to reply to this topic.

Close Menu