Nested Breadcrumb spans
-
Here is the page code that is generated for my client’s breadcrumb. As you can see the spans are nested instead of closing after each one. Also, there are too many </span>.
<div id=”breadcrumbs”>
<span xmlns:v=”http://rdf.data-vocabulary.org/#”><span typeof=”v:Breadcrumb”>Home »
<span rel=”v:child” typeof=”v:Breadcrumb”>Musings »
<span rel=”v:child” typeof=”v:Breadcrumb”>Radio »
<span class=”breadcrumb_last”>Advice for the New York Advertising Community!
</span>
</span>
</span>
</span>
</span>
</div>This is the code I’m using to add the breadcrumb to the site:
<?php if ( !is_front_page() ) { yoast_breadcrumb('<div id="breadcrumbs">','</div>'); } ?>
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Nested Breadcrumb spans’ is closed to new replies.