Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How to use itemprop in breadcrumbs
shasha
New
I have recently added this code <?php echo Gdn_Theme::Breadcrumbs( $this->Data('Breadcrumbs') ) ?> in default.master.php to show breacrumbs. Where do I add this code <span class="Breadcrumbs" itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><span class="Crumb"> › </span><span itemprop="title">{$Title}</span></span>
Please advice?
Vanilla Version : Version 2.0.18.8
Tagged:
0
Comments
Where do you want it to show ?
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
I assume he wants this
itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"
added.
otherwise he would just add
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Correct, @peregrine . Thanks
was that correct in the assumption
or correct in that solved your problem?
answering an either or with correct is confusing to say the least.
perhaps
<div id='Breadcrumbs itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"'><?php echo Gdn_Theme::Breadcrumbs( $this->Data('Breadcrumbs') ) ?></div>
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Thanks peregrine. Is there a way to show title at the end of breadcrumbs.
I think it has all been said before here:
http://vanillaforums.org/discussion/24268/breadcrumbs
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Thanks, I tried that code but title is not getting called. Getting error like this :
{$Title}
is a Smarty tag that can only be used in the default.master.tpl file in Vanilla 2.1+.Add Pages to Vanilla with the Basic Pages app
Any advice on which code to use on Version 2.0.18.8
Try this to print the title of the page:
Add Pages to Vanilla with the Basic Pages app
It worked, Thanks
I recently tested my website on google snippet testing tool but its unable to detect any RDFa or structured data. Please advise.