Rich Snippet Breadcrumbs problem?
This is one of the vanilla forum with rich snippet when i checked the source I found below code.
<div class="Tabs DiscussionTabs"><span class="Breadcrumbs" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><span class="CrumbLabel HomeCrumb"><a href="http://example.com/" itemprop="url"><span itemprop="title">Home</span></a></span> <span itemprop="child" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><span class="Crumb">›</span> <span class="Category-general"><a href="//example.com/categories/general" itemprop="url"><span itemprop="title">General</span></a></span> </span></span> <span class="Breadcrumbs" itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><span class="Crumb"> › </span><span itemprop="title">Want to show snippet</span></span></div>
I tried modifying mine but my results were this when looking at the source code.
<div id='Breadcrumbs' itemscope itemtype="http://data-vocabulary.org/Breadcrumb" itemprop="url"><span class="Breadcrumbs"><span class="CrumbLabel"><a href="/">Home</a></span> <span class="Crumb">»</span> <span class="CrumbLabel"><a href="/categories/general">General</a></span> </span></div>
Rich snippet breadcrumbs are not showing on google serps. What changes should I do to make it work.
Thanks
Comments
What version number of Vanilla are you running?
How did you modify it?
Breadcrumbs are generally rendered via the
Gdn_Theme::Breadcrumbs()
method or the smarty equivalent{breadcrumbs}
.Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
2.0.18.8.
Tried modifying Gdn_Theme::Breadcrumbs()
You need to update for security reasons.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
@hgtonight - Yes, I will update soon