[Resolved] Scheme fault

Home Forums Support [Resolved] Scheme fault

Home Forums Support Scheme fault

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #780122
    Ivan

    When I’m testing the scheme on my site and I’m getting a error at https://webmaster.yandex.com/tools/microtest/ saying:

    wpsidebar
    ERROR: https://schema.org/WPSidebar type unknown for the specification schema.org. Perhaps you meant https://schema.org/WPSideBar
    itemType = https://schema.org/WPSidebar

    It seems there is a mising uppercase B in the theme file

    Regards
    Ivan

    #780392
    Tom
    Lead Developer
    Lead Developer

    Ah, thanks for pointing that out! We’ll get that fixed in the next version.

    For now, you can use this function:

    add_filter( 'generate_sidebar_microdata, function() {
        return 'itemtype="https://schema.org/WPSideBar" itemscope';
    } );
    #780460
    Ivan

    Thanks Tom

    #780758
    Tom
    Lead Developer
    Lead Developer

    No problem. Thanks for reporting this! 🙂

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