00 Days
00 Hrs
00 Mins
00 Secs
Expired
Halloween Deals 🎃 🎃 !! Use the coupon code to get 20% OFF on a Premium Theme !!
COUPON: cvhalloween20

Removing 'Category:' in the H1 of category pages

CodeVibrant Forums Wisdom Pro Removing 'Category:' in the H1 of category pages

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3217
    Thomas Rosier
    Participant

    Hi,

    I’m trying to remove the ‘Category:‘ prefix on archive pages but can’t find where to do this within the PHP file.

    Here’s a link to the page in question: http://www.jamiesfamilykitchen.com/category/bakeware-reviews/

    Could you let me know how I can edit this so that I can remove this prefix please?

    Thanks.

    #3220
    codevibrant
    Keymaster

    Hello there

    We are off because of the weekend and our team will get back to you with feedback. For now, you can follow this guide, maybe it will work for you.
    https://www.wpbeginner.com/wp-tutorials/how-to-change-the-category-base-prefix-in-wordpress/

    Thanks 🙂

    #3232
    dineshmhr
    Moderator

    Hi Thomas Rosier,
    If you are going through php files then follow these steps:
    – Find header. php file within wisdom-pro theme.
    – find “the_archive_title” and replace it with “single_term_title”.
    – You will get archive title with no prefix , exactly what you want.

    Regards,
    Codevibrant Support Team.

    #3233
    Thomas Rosier
    Participant

    Amazing, thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Christmas 2019 & New Year 2020 Sale !! Use Coupon code cvxmas to get 30% OFF on any of our Premium Themes