Changing the long breadcrumb to one fixed category and it’s child categories
-
Hello to you all!
I hope I have posted in the correct place. I’d like to know if it’s possible to create a breadcrumb for a post (or in my case a product) that only comes from one parent category and shows the child category.
The reason is because we have so many categories that it takes 2 to 3 lines for the breadcrumb and for me it just looks messy and bulky.
In our categories we have one that displays all products in specific types. The category parent is ‘Browse’. So if I looked at a cushion the breadcrumb I’d like to see, would be:
Home > Browse > Cushions > Product Title
That product will never be in any other child category so it would create a 4 step breadcrumb and not a 200 million breadcrumb (that’s how it feels anyway!).
Could anyone give me any advice as I can’t even find a snippet as an example to show what I am working with, I’m really struggling to search the right question for this answer, if it is even possible to do 🙂
Thank you very, very much!
- This topic was modified 2 years, 3 months ago by . Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
The page I need help with: [log in to see the link]
- The topic ‘Changing the long breadcrumb to one fixed category and it’s child categories’ is closed to new replies.