Zen Follower
- Join Date:
- May 2010
- Location:
- Athens, Greece
- Posts:
- 293
- Plugin Contributions:
- 0
How to remove breadcrumbs from non-store pages?
What I want to achieve:
- remove the "Home" link from breadcrumbs
- remove the breadcrumbs from all pages except categories/subcategories/product pages.
I have easily done the first part by commenting the line
$breadcrumb->add(HEADER_TITLE_CATALOG, zen_href_link(FILENAME_DEFAULT));
in the file /includes/init_includes/overrides/init_add_crumbs.php as per DrByte's instructions in another post.
Coming to the second part: from various posts read, I understand that this has to be done on a page-by-page basis (unfortunately :yuck:). I found in a post that the breadcrumb can be removed, in the Gift Certificate FAQ page for example, by commenting the line
$breadcrumb->add(NAVBAR_TITLE);
in file /includes/modules/pages/gv_faq/header_php.php
Commenting does remove the breadcrumb but not its placeholder and the page title and contents are not taking its place, leaving a blank space.
Any good suggestions please? I will be grateful!