To add breadcrumb in Drupal 7 follow below steps.
1.) Add below code to your theme’s template.php.
function YOURTHEMEM_breadcrumb($variables) {
$breadcrumb = $variables['breadcrumb'];
if (!empty($breadcrumb)) {
$crumbs = '
';
}
return $crumbs;
}
2.) Put below code to your page.tpl.php files or where you needed.
if ($breadcrumb) { print $breadcrumb; }
Recent Comments