Jump to content

Exclude a category from the breadcrumb


Claudia M

Recommended Posts

This should keep the presence of your cat_id=263 from the breadcrumb, and only the breadcrumb.

In /classes/seo.class.php, find the public function getDirectory().

About 13 lines later, find:

if ($link) {

Change to:

if ($link && $cat_id != 263) {

This should work until the CC programmers decide to include into the breadcrumb the names of categories that did not resolve into a clickable link.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...