When I add a new 'Basic Page' or an 'Article', a link to the Home page appears under the 'Main Menu' and I have no idea how to remove it.

enter image description here

How can I remove these links?

  • you need to check on page.tpl.php on theme folder.
    May 16, 2015 at 10:33
  • @Smalution I have looked at the code, but can't seem to locate the code that is responsible for the creation of the links
    – David
    May 16, 2015 at 11:01

1 Answer 1


These links are navigation links, so called "breadcrumbs". They inform the site visitors where they are on the site.

You are using the Bartik core theme -- take a look at /sites/themes/bartik/templates -- there is a file page.tpl.php. On about line 176 the following code

<?php if ($breadcrumb): ?>
  <div id="breadcrumb"><?php print $breadcrumb; ?></div>
<?php endif; ?>

renders these breadcrumbs.

You could comment or remove these lines to avoid rendering navigation links. If you make changes to theme files remember to flush cache to see the changes.

But a better solution would be to create a Bartik subtheme (because each time you update the Drupal core, all your changes made to this file will be overridden, I would also not recommend to touch core files).

You could consider to choose another theme which has additional settings options like for displaying breadcrumbs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.