Hello!
I’m having an issue with my websites breadcrumbs. The problem is as follows:
I have parent and child pages where it works perfectly but also a few grandchild pages but when I set the primary category to these grandchild pagse the breadcrumb cuts out the top level parent page.
Here is an example:
Title: The 12 Best HP Laptops for 2018
Permalink: https://example.com/computers/laptops/hp/best-HP-laptops
The permalink and primary category are set to hp but the breadcrumb output is done as follows:
home > laptops > hp > The 12 Best HP Laptops for 2018
and I need the following for SEO purposes
home > computers > laptops > hp > The 12 Best HP Laptops for 2018
It’s only as issue where I select the primary category at the 3rd grandchild level. Is there a way to edit the theme to make this work as I need?
Hi,
Pages cannot have categories, they can have a parent/child relation but by default in WordPress only posts can be organized in categories. Maybe you are referring to posts.
In the theme the breadcrumbs will display one level of parent child, so the last parent category, the sub-category then the post name. Can’t say if this will change in the theme in future updates.
I will however add a request on our list (if it’s not already added), to give an option to display the whole path to the article. It will be considered. Sorry for any inconvenience.
Thanks
Can you tell me what file in theme creates the breadcrumb output path?
I really need this for SEO and I will probably have to switch themes if I or my developer can’t child theme it to edit this part…
Hi,
You could disable the theme breadcrumbs and use a plugin instead
– https://www.wpbeginner.com/plugins/how-to-display-breadcrumb-navigation-links-in-wordpress/
– https://kb.yoast.com/kb/implement-wordpress-seo-breadcrumbs/
I believe this request is already on our list and it will be considered an option to display full breadcrumbs, even after two levels. Sorry for any inconvenience.
The theme breadcrumbs would be in this file – https://www.screencast.com/t/mhz25sXYuHA9