hide category in breadcrumb

Hi,

Is it possible to hide the category in the breadcrumb?

Like here: https://neu.freirad.at/workshop-name/

Best regards and thank you in advance

Markus


Comments

  • Hello,

    I have checked your website, and I cannot see the category in the breadcrumbs.

    Did you handle it?

    Do you still need my help with it or with anything else?


    Thanks

  • I fiddled around a little more then.

    I copied theme-functions.php to my child theme folder and within \wp-content\themes\betheme-child\functions\theme-functions.php I then commented out one line:

    line 1053

    #$breadcrumbs[] = get_category_parents($cat[0], true, $separator);


    It works, but I think this is quite some overhead - with unknown side effects.


    So I am curious, whether this could also be done by other means. I didn´t find a possibility to hide the category link of a breadcrumb in the BeTheme options.

    Best regards

    Markus

  • Unfortunately, there is no other option to remove the category from the breadcrumbs except by modifying the theme files.

    We do not help with files customization, so if you are not sure about your changes, you should contact your web developer.


    Thanks

Sign In or Register to comment.