Bread crumbs

Posted in: Newspaper
Post count: 22

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.

Post count: 22421

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!

Post count: 22

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

Post count: 22421

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!

Post count: 22

Hi,

I know. But the question is how can I add a page different from home page in the breadcrumbs?

Thank you

Post count: 20688

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

Post count: 22

Ok! Thank you so much for the answer

Post count: 40

How can I show more than one category in breadcrumbs?

So Home-> Main category -> Sub Category-> Sub Sub category -> Article title
or
Home-> Main category -> Sub Category-> Sub Sub category without article title?
Thanks

Post count: 20688

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.

Post count: 40

Can I edit the code to get this feature?
Or how can implement Yoast breadcrumb ?

Post count: 20688

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

Post count: 40

Can you send me a portion of code to add or replace to get all categories?

  • This reply was modified 8 years by jad.
Post count: 20688

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.

Post count: 40

I prefer to use Newspaper feature

Post count: 14

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 ?

Post count: 20688

@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.

Post count: 14

Thx for advice 🙂 !

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