How to change the category page title. (4 posts)

  1. FunVilleOfficial
    Posted 3 years ago #

    I'm using Mystique theme,and when I click on a category,it brings me up a page with all posts from that category.But I want to change the title "Category archive : <name>". Is that possible?If not,can I delete that text? Thank you!

  2. peredur
    Posted 3 years ago #

    Depending on your theme, there's usually a PHP template file like category.php what determines what shows up on a category list page.

    Check out the WordPress Page Hierarchy to work out which template file is being used by your theme.



  3. willmcl
    Posted 3 years ago #

    In my theme, Volumes by themezilla, the functions for this were in archive.php. Just FYI.

  4. Rajesh Namase
    Posted 3 years ago #

    @FunVilleOfficial In Appearance -> Editor. Open Archives (archive.php)file and edit the following line as per your need, don't forget to backup file before editing.

    <?php if(is_category()): ?>
                <h1 class="title archive-category"><?php atom()->term->Title(); ?></h1>

Topic Closed

This topic has been closed to new replies.

About this Topic