• Resolved animesaulo

    (@animesaulo)


    In Google Search Console, my Breadcrumbs report is showing errors in the schema microdata for the breadcrumbs.

    The report states that the “position” field is missing. Looking on schema.org the code would look something like this:

    <meta itemprop="position" content="1" />

    And looking at the breadcrumbs code on a single collection page, the microdata would look like this:

    <ul id="wps-breadcrumbs" class="wps-breadcrumbs-inner" itemscope="" itemtype="https://schema.org/BreadcrumbList">
    	<li class="wps-breadcrumbs-item-home" itemprop="itemListElement" itemscope="" itemtype="https://schema.org/ListItem">
    		<a class="wps-breadcrumbs-link wps-breadcrumbs-home" href="https://example.com" title="Home" itemprop="item">
    			<span class="wps-breadcrumbs-name" itemprop="name">Home</span>
    		</a>
    		<meta itemprop="position" content="1" />
    	</li>
    	<li class="wps-breadcrumbs-separator wps-breadcrumbs-separator-home"> > </li>
    	<li class="wps-breadcrumbs-item-cat wps-breadcrumbs-item-custom-post-type-wps_collections" itemprop="itemListElement" itemscope="" itemtype="https://schema.org/ListItem">
    		<a class="wps-breadcrumbs-cat wps-breadcrumbs-custom-post-type-wps_collections" href="https://example.com/products/" title="Collections" itemprop="item">
    			<span class="wps-breadcrumbs-name" itemprop="name">Collections</span>
    		</a>
    		<meta itemprop="position" content="2" />
    	</li>
    	<li class="wps-breadcrumbs-separator"> > </li>
    	<li class="wps-breadcrumbs-item-current wps-breadcrumbs-item-7746" itemprop="itemListElement" itemscope="" itemtype="https://schema.org/ListItem">
    		<strong class="wps-breadcrumbs-current wps-breadcrumbs-7746" title="Collection Single" itemprop="name">Collection Single</strong>
    		<meta itemprop="position" content="3" />
    	</li>
    </ul>

    Is this something that can be added to get rid of the errors I’m seeing in Google Search Console?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘BreadcrumbList Microdata Missing itemprop position’ is closed to new replies.