The answer depends on how you are calling the breadcrumb trail. If you are calling bcn_display()
, just add the string before the call to bcn_display()
in your theme.
If you are using the included widget, you can place the text “You are here:” in the “Text to show before the trail:” field.
Hi John,
Thanks for your quick response.
Yes, I call the bcn_display().
Should I put it this way?:
<div class=”breadcrumbs” typeof=”BreadcrumbList” vocab=”http://schema.org/”>
<?php if(function_exists(‘bcn_display’))
{
You are here: bcn_display();
}?>
</div>
Confirm me please…
Thanks!
Dani
If you are going to place the “You are here” string within open php tags, you will want to use echo, or similar screen printing function in php. For example, the following should work:
<div class=”breadcrumbs” typeof=”BreadcrumbList” vocab=”http://schema.org/”>
<?php if(function_exists(‘bcn_display’))
{
echo 'You are here: ';
bcn_display();
}?>
</div>
-
This reply was modified 6 years, 2 months ago by John Havlik.
Ok, works perfect!
thank you very much
Dani