consistency – Breadcrumbs – what should they display?

Nielsen Norman Group advise that:

“For polyhierarchical sites, breadcrumbs should show a single pathway in the site’s polyhierarchy.

Breadcrumbs pose an inherent tension with polyhierarchical sites (in which a page has more than one parent). In such situations, we do not recommend showing two or more breadcrumb trails reflecting the different paths in the polyhierarchy, because they will confuse users and take a lot of space at the top of the page.

If a page has multiple different parents, identify a canonical path to it in the site hierarchy and show that path in the breadcrumb trail. Don’t attempt to personalize the breadcrumb trail so that it will reflect each user’s individual path within the site hierarchy, because you will end up sending mixed signals to search engines. And you will still need to designate one path in the hierarchy as the primary trail for those visitors coming from an external link.”

source: https://www.nngroup.com/articles/breadcrumbs


I personally disagree with “we do not recommend showing two or more breadcrumb trails reflecting the different paths in the polyhierarchy”. Showing only one of a few possible, may also confuse users. In a complex site, I’d try to show all the possible trails, in a visually clean way and test that of course. I do not see any reference to empirical research in the Nielsen Norman Group’s quoted statement.

Another approach relevant for complex sites is to take the “linked data” approach, described in the second half of this article: https://derivadow.com/2010/02/18/the-problem-with-breadcrumb-trails. I think the same concept would be easier to grasp if you acquaint yourself “Object-oriented UX” (https://uxdesign.cc/an-introduction-to-object-oriented-ux-and-how-to-do-it-829bf6b248a1).

web app – Is there something like ‘chronological breadcrumbs’?

I don’t know an agreed upon name for it. It certainly is a derivative of the breadcrumb pattern.

I would call it a recently viewed feature or recent history. But I don’t think its common enough that it merits a jargonny name. IMHO.

It’s a handy feature…if I were applying it, I wouldn’t cause potential confusion by applying a breadcrumb pattern. (UNLESS, that is part of the benefit, that users could back-track)

I would prefer a sidebar list (Like the Related links seen on this page)
this way the breadcrumbs can also do their job.


You visited

  • Betegeuse
  • Bellatrix
  • Rigel

Path Breadcrumbs shows edit link in front end

I have an issue with my Drupal site where the link to edit the path to breadcrumbs is showing in the front end even when people are not logged in.

It looks like this:

Edit path breadcrumbs

Home>>page

The Edit path breadcrumbs links leads to: /admin/structure/path-breadcrumbs/edit/******/main?destination=*****

My site is on Drupal 7.78

Path Breadcrumbs 7.x-3.4
Path Breadcrumbs UI 7.x-3.4

Any idea why this could be?

Thanks,

magento2.4.1 – How to move page builder slick slider right after breadcrumbs

I am https://store-locator-m2.magento-demo.amasty.com/amlocator/summercenter/, if add anything on description section it will come below the map section, i need to move the slider section above the map section, slider section only remaining thing as below the map

Screenshot:

enter image description here

Slider section class:

enter image description here

How to move slider only above map section?

magento2 – Why the Product’s Breadcrumbs template is different from the rest of the pages?

Why the Product’s Breadcrumbs template is different from the rest of the pages?

<referenceBlock name="breadcrumbs" template="Magento_Catalog::product/breadcrumbs.phtml">
    <arguments>
        <argument name="viewModel" xsi:type="object">MagentoCatalogViewModelProductBreadcrumbs</argument>
    </arguments>
</referenceBlock>

taxonomy terms – How do I manage breadcrumbs when the node uses multiple vocabularies?

I have a blog in Drupal 8 and it uses the Categories vocabulary to display breadcrumbs as Home > Blog > (Category) > Post title.

I added taxonomies from the Tags vocabulary, which means every post can have one category, and multiple tags. Since I added the Tags vocabulary, it has taken over the breadcrumbs on individual blog posts, which are now Home > Blog > (Tag) > Post title.

Is it possible to control which vocabulary should have priority when it comes to displaying breadcrumbs?
Is it possible to control which vocabulary is displayed on blog posts based on where the user came from? For example, if the user is on the individual Tag page (Home > Blog > (Tag)) and clicks on a blog post belonging to that tag, the blog post should display the breadcrumbs using the Tags vocabulary (Home > Blog > (Tag) > Post title). However, if the user is on the individual Category page (Home > Blog > (Category)) and clicks on a blog post belonging to that category, the blog post should display the breadcrumbs using the Category vocabulary (Home > Blog > (Category) > Post title).

Same url with different breadcrumbs based on menu in Drupal 7

I have menu structure like this
a->b (url: www.test.com/webshop/all)
->c (url: www.test.com/abcd)
->d (url: www.test.com/xyz)
e-> (url: www.test.com/webshop/all)
Now here I want the breadcrumbs for
‘a->b’ will a >> Webshop
And for ‘e’ will Titlee

How can achieve it.

plugins – Yoast Breadcrumbs using wrong slug with custom post type

I have a custom post type called podcasts.
I have a permalink structure of sitename.com/blog/%postname%/ under Settings -> Permalinks.

In the custom post type I rewrite the slug:

'rewrite' => array( 'slug' => 'podcasts', 'with_front' => false ),

By doing this I get the correct link and data for each single podcast on the podcasts archive page. As soon as I click into a single podcast page the breadcrumb for the previous archive page includes the blog slug:

...com/blog/podcasts

This is wrong and will lead me to the 404 page, since sitename.com/blog/podcasts/ doesn’t exist. It should just be sitename.com/podcasts/. I’ve tried disabling/re-enabling Yoast, updating the Yoast plugin, resaving the permalinks, re-doing the XML sitemaps, and a few other things.

Do I have to use a filter to remove the blog path from the breadcrumbs on a single podcast page? What else could it be? Please point me in the right direction.

Yoast SEO v15.6.2

javascript – React breadcrumbs component implementation

I’ve written a breadcrumbs component (RouteBreadcrumbs) that has the following features/behavior:

  • Takes in an array of labels for each breadcrumb (ex: ('Settings', 'System settings', 'Display') The component displays these labels in
    the order that they’re placed in in the array.
  • Assumes that the last label in the array represents the currently viewed page. For the rest of the labels that come before it, the user
    can click on one in order to navigate to that page.
  • Gets the current path it is rendered in and parses it in order to assign the correct path for each breadcrumb (except the last one)
  • If the current path does not contain enough “subpaths” to satisfy the number of labels passed in, I’ve chosen not to render the component. For example, the component would not render if the current path was only /system-settings/display when labels contained three items.

Ultimately, the component would look like this when rendered (I haven’t yet implemented the arrows between each breadcrumb):

Settings > System settings > Display

In this scenario, Display would be the currently viewed page. And the user would be able to click on Settings or System settings in order to jump to those respective pages.

I’d love to get feedback on my implementation. I’m also interested in learning more about best coding practices and whether there are any strong code smells in my component.

import React from "react";
import { useHistory, useLocation } from "react-router-dom";

const RouteBreadcrumbs = ({labels = ()}) => {
    const location = useLocation();
    const history = useHistory();
    const pathName = location.pathname;

    const numBackslash = (pathName.match(///g) || ()).length;
    if (numBackslash < labels.length) {
        return null;
    }

    let breadcrumbPaths = ();
    let pathNameIdx = pathName.length - 1;
    for (let i = labels.length - 1; i > 0 ; i--) {
        while ((pathName(pathNameIdx) !== "/")) {
            console.assert(pathNameIdx >= 0, "pathNameIdx is no longer a valid index");
            pathNameIdx--;
        }

        const newPath = pathName.substring(0, pathNameIdx);
        breadcrumbPaths = (newPath, ...breadcrumbPaths);
        pathNameIdx--;
    }
    
    return (
        <div>
            {labels.map((label, idx) => <h5 key={idx} onClick={idx < breadcrumbPaths.length ? () => history.push(breadcrumbPaths(idx)) : null} className={"label2"}>{label}</h5>)}
        </div>
    )
};

```

Changing title & add Breadcrumbs

Im wondering the possibilities of making the title of a page change depending how the user got there? For example, if they are on the homepage and make a search, would it be possible to display what they searched for as the title on just on the results page? also how i would add a breadcrumb under the title for users to see where they came from ect.

Thanks in advance.