Hi,
I have a question related to breadcrumbs. My page is like a blog of news, but the home page is not the main page for the articles of my website, it is like a home-presentation page.
I have a page called blog, and there is the main page for the news and articles, and I have several categories inside blog, so the question is the breadcrumbs appears like: home>categorie>articles, and I would like to have home>blog>categorie>article, or blog>categorie>article.
As the blog is not a categorie, even not the main categorie, is a page, because I created with several items from tagdiv composer, I don´t know how to add it to the breadcrumbs, maybe with code or something.
Thank you so much in advance.
Hello,
You can simply translate the word home into blog in the theme panel translation section like so: https://www.screencast.com/t/xIYotTmOT
The result: https://www.screencast.com/t/D9CtP5ln
Thank you!
Hi!
But anyway with that I only change the name home for blog, but the url is still for the home page. Maybe I didnt explain well.
I have my home page. And I have a blog page different from my home page.
So in the blog page, it is the page I have the categories and articles. So the problem is that the breadcrumbs appears home>categorie>article and I would like home>blog>categorie>articles or just blog>categorie>articles, cause blog is different page.
But, the bread crumbs is automatic and the blog page I have is built with tagdiv composer, so I think is the reason they dont recognise it.
So, I don´t know if there is some code or something to add this page in bread crumbs.
Thank you
Hello,
I understand. In this case, you simply have to remove the home link from the them panel like so: https://www.screencast.com/t/l9xx5FX1
There is no simple way to replace the home link so it’s easier to just remove it.
Thank you!
Hi,
I know. But the question is how can I add a page different from home page in the breadcrumbs?
Thank you
Hi,
Breadcrumbs will display a path to the article, usually this is Home->Category->Article title. In this case the blog page is in no relation to either the home or the categories, so it will not be displayed in the path. That would happen if you set the blog page as homepage.
Or maybe if you disable the theme breadcrumbs and use a plugin to display custom breadcrumbs. There could be breadcrumb plugins with more advanced settings.
Thanks
Hi,
@jad Only one level of category parent will be displayed in the breadcrumbs, so there will be a parent category and sub-category, then the article title. That is how the theme breadcrumbs are implemented, there is no setting to control this functionality.
The theme breadcrumbs are found here, but I couldn’t say how you would be able to achieve something like that
– https://www.screencast.com/t/1E2DhrR4X5
Or you could disable the theme breadcrumbs and enable Yoast breadcrumbs
– https://kb.yoast.com/kb/implement-wordpress-seo-breadcrumbs/
Example for post template 1
– https://www.screencast.com/t/QjysxnIe2FI
– https://www.screencast.com/t/G1JZhvZdewP
I don’t know what code you are referring to. I provided a simple example of Yoast breadcrumb implementation on a post, I simply enabled Yoast breadcrumbs in the plugin
– https://www.screencast.com/t/GlBhDAuiJ8BF
Then replaced theme breadcrumbs with Yoast breadcrumbs as shown above, with the code provided in the guide above. The Yoast breadcrumbs will display all the categories.
So let me be clear is 2 choices, Activate Breadcrumbs in template Newspaper or activate breadcrumbs from Yoast and put the code below on single.php.
<?php
if ( function_exists(‘yoast_breadcrumb’) ) {
yoast_breadcrumb(‘
<p id=”breadcrumbs”>’,'</p>
‘);
}
?>
But together they are workin, breadcrumbs from yoast together with breadcrumbs from newspaper ?
@bdorin There would be no point to have two sets of breadcrumbs on the same page, if you require more advanced settings for the breadcrumbs you can use the Yoast breadcrumbs. The theme breadcrumbs have these settings at the moment
– https://forum.tagdiv.com/breadcrumbs/
You can make tests with the Yoast plugin implementation of breadcrumbs, there should be no problem.