Category header - by Lackerwold08 - on WordPress WooCommerce support

This topic has 4 replies, 2 voices, and was last updated 5 years, 7 months ago ago by Rose Tyler

  • Avatar: Lackerwold08
    Lackerwold08
    Participant
    September 12, 2018 at 04:21

    Hello,

    I have the category “travel” on my website. When I click on the page, the header says “Home > Archive by category “Travel”. I’m wondering if it is possible to change this so it so the page just says “Home > Travel”.

    Thanks for your help!

    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 12, 2018 at 08:28

    Hello,

    You can copy etheme_breadcrumbs function (lifestyle/framework/theme-functions.php) into functions.php of child theme and make changes there.

    Regards

    Avatar: Lackerwold08
    Lackerwold08
    Participant
    September 12, 2018 at 12:01

    Thanks for your quick response. Could you be more specific on where I find that/make those changes? Thank you!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 12, 2018 at 12:27

    Please open theme-functions.php file in framework folder of lifestyle theme and find the required function (1779-1912 lines https://prnt.sc/kti8y4). Copy the content of the function into child theme/functions.php file and change
    echo $before . 'Archive by category "' . single_cat_title('', false) . '"' . $after;
    to
    echo $before . '"' . single_cat_title('', false) . '"' . $after;
    Read more about child theme https://www.8theme.com/demo/docs/lifestyle/#child_theme

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.