Forums

Remove Or Change Archive Text On Category Pages (3 posts)

  1. earthtodavid
    Member
    Posted 3 years ago #

    Hello,

    I am using wordpress v2.6.5 to set up an online shop and I am linking to category pages to list my products. I would like to know if it is possible to remove or change the archive text at the top of category pages?

    Check this page to see what I'm referring to: http://jussbyoo.com/category/mens-knit-beanies/

    At the top where it says "Archive for the ‘Mens Knit Beanies’ Category" I would like to either remove that from the template or change it to simply read "Mens Knit Beanies" and have it changed in such a way that it would display the different category names on different category pages without the archive text.

    I hope I'm explaining what I want clearly enough to make it understandable. Can anyone help?

    Thanks

  2. kwbridge
    Member
    Posted 3 years ago #

    Hi,

    Do you know how to edit your template files? In Manage > Design > Theme Editor you want to edit archive.php

    You will have a line that looks something like this but not exactly

    <h1>Archive for the <span><?php echo single_cat_title(); ?></span> Category</h1>

    You would want to remove the text that says "archive for the" and "Category".

  3. earthtodavid
    Member
    Posted 3 years ago #

    AWESOME!!!!!!!!!!!!!!

    That worked perfectly. Yes I am a little familiar with editing the template pages.... I just didn't know which one this was in or what I needed to change. Thank you so much for your help.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags