I have the standard breadcrumbs on my page, but I want to add a second copy.
I've tried to add another block the same as defined in module-theme default xml:
<block class="Magento\Theme\Block\Html\Breadcrumbs" name="crumbs"/>
This does not display.
Should there be a template reference? e.g.
template="Magento_Theme::html/breadcrumbs.phtml"
How do I add this to my layout?
Best Answer
We can render breadcrumbs in templates(phtml) like below
just add the above line in which phtml file you want to show breadcrumbs.
It worked for me in category page and product detail page. I tested these two pages only :-)