Support » Theme: Blogrow » How to remove “Category:” in title from category pages ?

  • Resolved gaetan44

    (@gaetan44)


    Hello,

    On my category pages, I only would like to remove the word “Category:” in my title, and keep the name of the category.

    I have tried to add some code in my child theme in the files function.php but no one fix this.

    Do you have a solution ?

    Thanks for helping me 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Alexander Agnarson

    (@alxmedia)

    Hi!

    On line 32 in /inc/page-title.php you will see:

    
    <h1><i class="fa fa-folder-open"></i><?php esc_html_e('Category:','blogrow'); ?> <span><?php echo single_cat_title('', false); ?></span></h1>
    

    Remove with a child theme so that it says:

    
    <h1><i class="fa fa-folder-open"></i> <span><?php echo single_cat_title('', false); ?></span></h1>
    

    And it should be gone.

    Thread Starter gaetan44

    (@gaetan44)

    Hi!
    It perfectly worked.
    Thanks a lot.

    Hi,
    I have the same issue but I think creating a child theme is beyond me. Is there an easier way?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to remove “Category:” in title from category pages ?’ is closed to new replies.