I’d have to see the actual page’s HTML markup to diagnose this. Off the top of my head I can think of a couple of reasons this is occurring. The first is if you have other Schema.org markup that is invalid for some reason and is confusing the Google parser. Another is if you are mixing RDFa and microdata formatted Schema.org data, apparently Google’s parser doesn’t like that either (which is one of the reasons why Yoast moved to using JSON-LD).
Thanks
to what email should I send more details and URL?
Thanks
hello
How do I globally disable NavXT schema?
I wish to use another plugin to handle all schema attributes
Is there a ‘add_filter’ code to do this?
Thanks a lot
You will need to do the following:
Remove any references to itemscope, itemtype, vocab, and typeof from the HTML elements wrapping the call to bcn_display().
Remove all references to itemprop, itemscope, property, and typeof in the breadcrumb template settings.
-
This reply was modified 6 years, 4 months ago by
John Havlik.
-
This reply was modified 6 years, 4 months ago by
John Havlik. Reason: removed formatting as it's broken
I apologize, I’m not a programmer so I have no idea how to implement your suggestion.
If I remove what you wrote from the template setting will it not remove the breadcrumbs from the pages/post, etc?
I want NavXT breadcrumbs in my site but WITHOUT it being listed in the schema.org which will be done with a different plugin.
Current status is that NavXT injects schema.pro code to any page and only this I want to disable.
the injected code is:
<!-- NavXT Breadcrumbs plugin -->
<div class="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/">
<!-- Breadcrumb NavXT 6.4.0 -->
<span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" title="TITLEofPOST" href="https://www.site.com" class="home"><span property="name">HOME</span></a><meta property="position" content="1"></span> > <span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" title="TITLEofPOST" href="https://www.site.com/category/cat1/?post_type=any" class="taxonomy category"><span property="name">diy</span></a><meta property="position" content="2"></span> > <span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" title="TITLEofPOST" href="https://www.site.com/category/cat1/cat2/?post_type=any" class="taxonomy category"><span property="name">NAME</span></a><meta property="position" content="3"></span> > <span property="itemListElement" typeof="ListItem"><span property="name">NAME</span><meta property="position" content="4"></span><!-- END NavXT Breadcrumbs plugin -->
Thanks
You need to find where bcn_display() is called in your theme, then, you will need to replace <div class="breadcrumbs" typeof="BreadcrumbList" vocab="https://schema.org/"> with <div class="breadcrumbs"> (and save your changes). After doing that, in the Breadcrumb NavXT settings page, you will want to replace all of the breadcrumb templates with something like <a title="%title%" href="%link%">%htitle%</a>.