Making breadcrumbs follow url logic
-
I am sure this question has been raised before but all the answers I have found online seem to handle different subjects.
I am using WordPress and the Newscard theme, which doesn’t seem to have many options to change the breadcrumb logic itself.
My problem is this: I’d like my breadcrumbs to follow the logic of my urls. I have for instance the url /articles/2020/post-title . ‘articles’ is the custom post type I have, 2020 is a page I made using a template and the post title comes from the title of each post.
My breadcrumb is fine on /articles (It shows home > articles)
It also works on /articles/2020 (it shows home > articles > articles 2020)
but when the post is selected, the breadcrums only shows home > articles > post title.Now part of the problem is that the posts (some 1300+ of them) are not included in the menu structure and I don’t think it would be wise to do that. But it would be nice if visitors could get to the page 2020 via the breadcrumbs. Is there any way to achieve this?
(I have actually tried Yoast but the settings there don’t allow me to create the structure I am looking for)
Any help greatly appreciated!
- The topic ‘Making breadcrumbs follow url logic’ is closed to new replies.