Breadcrumb with pages

Posted in: Newspaper
Post count: 62

Hi,

If I have a menu structure like this: Home > Page > Category > Post
The breadcrumb only shows: Home > Category > Post
The page template is missing from the breadcrumb.

How can I solve that?
Is there a way the breadcrumb takes the menu structure?

I have newpaper theme version 7

Post count: 6535

HI

I am not really sure I understand the structure that you’re using because by default in WordPress you can’t assign categories to pages so Home > Page > Category does not really work. Please provide more details about what you’re trying to do and also a link where we can inspect this and maybe we can help. However breadcrumbs structure is very hard to change but maybe we can point to a solution for your request.

Thanks!

Post count: 62

Hi,

I’m trying it locally, so I can not link to a webpage.

But I will try to explain it again. Now I have the following structure:
example 1: Home > Category > Subcategory > Article

But for some categories I need another sublevel, so I will get the following:
example 2: Home > Category > Subcategory > Subsubcategory > Article

(For both structures, the breadcrumb will show exactly the structure as it is)

For SEO the subsubcategory is a little to deep. So what I was trying to do is to skip the subcategory and subsubcategory, so I only will get:
Home > Category > Article

For the menu, I want to keep the original structure that I had before example 1 and example 2.
But because I skipped the Subcategory and subsubcategory, I created ‘Pages’ for this. The benefit of using Pages, I can use visual composer (and show the categories)

So the Menu will be:
Page > Category > Article (but litterly the structure is Category > Article

Until now there is no problem, because in the menu section you can link to pages, categorys, tags etc.

But the problem is that the breadcrumb never shows the ‘Page’ section of the menu. I hope it is a little more clearer.

Is there a way for ‘showing’ the Page in the breadcrumb (like in the menu) to show it in the breadcrumb.

Thanks for now

Post count: 22421

Hi,

Unfortunately this cannot be done from the theme settings. The breadcrumbs were not designed to show the page from where you accessed the category or the article. A breadcrumb shows the hierarchy pointing to the article but a custom page and a link towards the post is not part of the standard WP hierarchy. You can use seo yoast and personalize the breadcrumbs if you want but it will require a bit of customization: https://forum.tagdiv.com/topic/use-yoast-breadcrumb-instead/

Thank you!

Post count: 62

Hi,

Ok, so if I want to use an third party breadcrumb I have to change all the html in all templates?
Is there an easier way to change this? Because after every Newspaper update I have to redo this in all files.

Post count: 22421

Unfortunately there is no other way as breadcrumbs are hardcoded in our theme and there is no easy way of changing it. As an alternative, you can maybe hire a freelancer to customize our theme breadcrumbs and make the grab the pages as well. The downside will be the cost for this as customization services are often expensive.
Sorry but there is no easy way of doing this.
Thanks.

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.