How to hardcode breadcrumb in theme ?
here is my code:
$nav = BlockType::getByHandle('autonav');
$nav->controller->orderBy = 'display_asc';
$nav->controller->displayPages = 'top';
$nav->controller->displaySubPages = 'relevant_breadcrumb';
$nav->controller->displaySubPageLevels = 'enough';
I don't have any breadcrumb.php file inside
How can i do it. Please help me.
Anyway I'm attaching the file as .zip. Extract & put this file in root/blocks/autonav/templates folder.
What about using a global area for the breadcrumb nav instead of hard coding it?
Try to use this addon
He already said he is using 5.7.3
This addon Works With 5.3.0 — 220.127.116.11