Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey mate,

    To add a description to your category page, head over to the Posts ? Categories page. If you are creating a new category, then you can simply enter the category name and description here and then click on the ‘Add new category’ button.

    If you want to add a description to an existing category, then you need to click on the ‘Edit’ link below that category.

    This will take you to the category edit screen where you can add a description for your category.

    Don’t forget to click on the ‘Update’ button to save your changes.

    Repeat the process to add descriptions to all your categories. You can use the same method to add descriptions for tags as well.

    Most WordPress themes will automatically display the category description on the category archive pages.

    However, if your theme does not display category descriptions on archive pages, then you will need to edit your theme files.

    Make a backup for your website first, then connect to your WordPress site using an FTP client or use file management plygin and then go to /wp-content/themes/your-current-theme/ folder.

    Now you will need to locate and edit category.php file. If your theme doesn’t have category.php file, then you will need to edit archive.php file.

    Copy and paste this code where you would like the category description to be displayed.

    <?php 
    the_archive_description( '<div class="taxonomy-description">', '</div>' ); 
    ?>

    You can now save your changes and upload the file back to your website.

    After that, you can visit the category archive page on your website to see the description in action.

    Have a great day!

    Credit: https://www.wpbeginner.com/wp-tutorials/how-to-display-category-descriptions-in-wordpress/

    • This reply was modified 3 years, 4 months ago by anasmouaziz.
    • This reply was modified 3 years, 4 months ago by anasmouaziz. Reason: Giving credit
    • This reply was modified 3 years, 4 months ago by anasmouaziz. Reason: Remmeber backup / adding alternative solution to FTP
    Thread Starter slcreations77

    (@slcreations77)

    Great. Thank you very much for the clear description. My target is to add a small description on top of the category page and some SEO content in the bottom of the category page. I have used a plugin called “Achieve Control” but it did not worked. Do you have any idea for this.

    Hello,

    If you followed the steps above, you should have got a description on the top of your page, for the SEO content at the bottom it’s not possible using the default WordPress settings, however, you can achieve this with HTML or Visual builders like Elementor.

    It’s worth mentioning that plugins like All In One SEO give you an option to add meta descriptions to your categories pages.

    Greetings!

    Thread Starter slcreations77

    (@slcreations77)

    Thank you sir

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to add content on the Category Pages.’ is closed to new replies.