• Resolved mikomie

    (@mikomie)


    Hi
    I’m having trouble fixing my breadcrumbs. I’m using elementor and the Yoast SEO plugin but the html generated by Yoast doesn’t seem right.

    I’m getting this as an output :

    <p id="breadcrumbs"><span><span><a href="url/">Home</a> <span><a href="url">Planten</a> <span><a href="url">Eetbare planten</a> <span class="breadcrumb_last" aria-current="page">Grote Weegbree</span></span></span></span></span></p>

    while i was expecting something more like this:

    <p id="breadcrumbs"><a href="url/"><span>Home</span></a><a href="url"><span>Planten</span></a> <a href="url"><span>Eetbare planten</span></a> <span class="breadcrumb_last" aria-current="page"><span>Grote Weegbree</span></span></p>

    or even better:

    <ol class="breadcrumb" itemscope="" itemtype="http://schema.org/BreadcrumbList"><li class="breadcrumb-home" itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem"><a itemprop="item" href="/"><span itemprop="name">Home</span><meta itemprop="position" content="1"></a></li><li class="breadcrumb-item" itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem"><a href="breadcrumbitem" itemprop="item"> <span itemprop="name">breadcrumbitem</span><meta itemprop="position" content="2"></a></li><li class="breadcrumb-item active" itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem"><a href="activeitem" itemprop="item"> <span itemprop="name">activeitem</span><meta itemprop="position" content="3"></a></li></ol>

    I’ve tried figuring the code out but i don’t know php.

    Thanks

    • This topic was modified 4 years, 4 months ago by mikomie.

    The page I need help with: [log in to see the link]

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

The topic ‘Breadcrumb html symantics’ is closed to new replies.