I'm using StringOverride module to replace all instances of "scoop".

But I can't replace " » Scoops" in breadcrumbs, the StringOverride module doesn't help for this query
" » Scoops" to be replaced. How can I solve the issue?

Comments

baronmunchowsen’s picture

You can override theme_breadcrumb in your template.php file. From there you can search for 'Scoops' and replace/remove it in a variety of ways. For example, below str_replace replaces the string 'Scoops' with nothing (an empty string).

function YOURTHEMENAME_breadcrumb($breadcrumb) {
  if (!empty($breadcrumb)) {
    $bc_trail = '<div class="breadcrumb">'. implode(' » ', $breadcrumb) .'</div>';
  }
  return str_replace('Scoops', '', $bc_trail);
}

Hope this is helpful.

lincolndsp’s picture

It helps! Thank you !