• hello
    I’m using Breadcrumb NavXT v6.4.0

    yoast schema.org is disabled in my site with
    add_filter( 'wpseo_json_ld_output', '__return_false' );

    I checked the source and it only shows:
    div class=”breadcrumbs” typeof=”BreadcrumbList” vocab=”https://schema.org/”>
    <!– Breadcrumb NavXT 6.4.0 –> ….

    Google schema.org test site indicates error and a warning for
    BreadcrumbList for ALL my pages/posts:
    author
    The property author is not recognized by Google for an object of type BreadcrumbList.

    tag
    The property tag is not recognized by Google for an object of type BreadcrumbList.

    In the schema code of NavXT there is no author nor tag.
    So where does it come from?
    Only NavXT is handling schema.org BreadcrumbList

    how do I fix it?
    Thanks

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

    (@mtekk)

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

    Thread Starter asc1212

    (@asc1212)

    Thanks
    to what email should I send more details and URL?
    Thanks

    Thread Starter asc1212

    (@asc1212)

    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

    Plugin Author John Havlik

    (@mtekk)

    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
    Thread Starter asc1212

    (@asc1212)

    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

    Plugin Author John Havlik

    (@mtekk)

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

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Schema.org breadcrumbs error’ is closed to new replies.