Support » Plugin: Breadcrumb NavXT » title in breadcrumbs

  • HI!

    I have bradcrumbs in structure like this:

    HOME / CATEGORY_NAME / PRODUCT_NAME

    I want all components of the crumbs to have title
    HOME -> title = “home page”
    CATEGORY_NAME -> title = “category real name”
    PRODUCT_NAME -> title = “full product name” [it doesnt matte it is linked or not]

    I have setting like this:

    LINKED:
    <span property=”itemListElement” typeof=”ListItem”><span property=”name”>%htitle%</span><meta property=”position” content=”%position%”></span>

    NOT LINKED:
    <span property=”itemListElement” typeof=”ListItem”><span property=”name” class=”%type%” title=”%htitle%”>%htitle%</span><meta property=”url” content=”%link%”><meta property=”position” content=”%position%”></span>

    but it doesn’t work
    I see no titles at any level of the crumbs

    what is wrong?
    what should I do?

    thank You for help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Havlik

    (@mtekk)

    The first thing to double check is the actual markup that is generated (make sure there isn’t anything goofy happening CSS styling wise that is hiding the title). If you are using the default Breadcrumb NavXT settings (which appears to be the case), you should be seeing the titles in the generated breadcrumb tail.

    Thread Starter niedzwiedzicho

    (@niedzwiedzicho)

    hi John!

    <div class="bread-crumb"><span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" title="Euromet." href="https://eurometogrodzenia.pl" class="home"><span property="name">Euromet</span></a>
    <meta property="position" content="1">
    </span> > <span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" title="Blog." href="https://eurometogrodzenia.pl/blog" class="post-root post post-post"><span property="name">Blog</span></a>
    <meta property="position" content="2">
    </span> > <span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" title="Profile stalowe ocynk." href="https://eurometogrodzenia.pl/blog/profile-stalowe-ocynk" class="post post-post current-item" aria-current="page"><span property="name">Profile stalowe ocynk</span></a>
    <meta property="position" content="3">
    </span></div>

    this is from BLOG part and as You see -> there is title attribute and titles are visible

    and this:
    <div class=”bread-crumb”><nav class=”woocommerce-breadcrumb css-bread-crumb”>Strona główna<span class=”delimiter”></span>Automatyka bramowa<span class=”delimiter”></span>Zestaw do bramy przesuwnej BENINCA KBULL5M.S.PM</nav></div>

    is from product [homepage->category->product]
    and as Yoi will see there is no title attribute so titles are invisible

    I didn’t do any changes in CSS
    I’m only using NavXt

    and I simply don’t understand why this is not working

    Plugin Author John Havlik

    (@mtekk)

    So, based on the link in the example, it looks like on the product/shop portion of the site the breadcrumb trail is being generated by WooCommerce instead of Breadcrumb NavXT. That’s why its markup is different, and doesn’t follow the Breadcrumb NavXT settings. If you want Breadcrumb NavXT to generate the breadcrumb trail on the shop pages, you probably need to modify your theme slightly to call Breadcrumb NavXT on the shop pages.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.