Forum Replies Created
-
AuthorPosts
-
I was able to fix the issue by disabling a WordPress plugin called Taxopress.
Taxopress never heard of the issue and won’t fix it unless I pay to become a premium member.
They think it is a conflict with another plugin or the theme.
It is a Bummer I had to deactivate taxopress :(
- This reply was modified 3 years, 3 months ago by briangreenberg.
I have only tested this on posts.
My creative director is having the same issue and he is in another state. So it is not an issue of personal pc settings or cache.Can you try again to re-create? It is very strange you could not re-create the issue.
Just go into a current post and try to edit a text/html block in the text part of the editor.Brian
Thank you Nikko
It works as before, although I still don’t see the schema when I test it.
Please check this link: https://search.google.com/structured-data/testing-tool/u/0/#url=https%3A%2F%2Fwww.insurist.com%2Flife-insurance%2Freviews%2Ffidelity-life%2FWhen I inspect the code I see:
<div class="breadcrumb-trail"><span class="trail-before"><span class="breadcrumb-title">You are here:</span></span> <span><span itemtype="https://schema.org/ListItem" itemprop="itemListElement"><a itemprop="url" href="https://www.insurist.com" title="Insurist" rel="home" class="trail-begin"><span>Home</span></a><span itemprop="position" class="hidden">1</span></span></span> <span class="sep">/</span> <span><span itemtype="https://schema.org/ListItem" itemprop="itemListElement"><a itemprop="url" href="https://www.insurist.com/category/life-insurance/"><span>Life insurance</span></a><span itemprop="position" class="hidden">2</span></span></span> <span class="sep">/</span> <span><span itemtype="https://schema.org/ListItem" itemprop="itemListElement"><a itemprop="url" href="https://www.insurist.com/life-insurance/reviews/"><span>Reviews</span></a><span itemprop="position" class="hidden">3</span></span></span> <span class="sep">/</span> <span class="trail-end">Fidelity Life</span></div>
However, the proper schema for breadcrumbs is:
<ol itemscope itemtype="https://schema.org/BreadcrumbList"> <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <a itemprop="item" href="https://example.com/dresses"> <span itemprop="name">Dresses</span></a> <meta itemprop="position" content="1" /> </li> <li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"> <a itemprop="item" href="https://example.com/dresses/real"> <span itemprop="name">Real Dresses</span></a> <meta itemprop="position" content="2" /> </li> </ol>
- This reply was modified 3 years, 5 months ago by briangreenberg.
Hello Nikko
I’m a bit confused.
Perhaps I should rewind a few steps. I would to:
1. create a shortcode for the enfold breadcrumbs.
2. include structured breadcrumb schema for the breadcrumbs. I noticed that the default breadcrumb option provides this, but the shortcode I created based on another guide did not.
3. Remove the word blog from the breadcrumbs. This is automatically added as the second value, e.g. home > blog > category > post nameCurrently I have:
/* Remove blog from shortcode */ add_filter( 'avia_breadcrumbs_trail', 'avia_breadcrumbs_trail_mod', 50, 2 ); function avia_breadcrumbs_trail_mod( $trail, $args ) { if ( is_single() ) { unset($trail[1]); } return $trail; }
and:
/* Breadcrumb shortcode */ add_shortcode('breadcrumbs', 'avia_breadcrumbs');
-
AuthorPosts