Hide primary links in Drupal

Some Drupal themes provide their own menu system instead of Drupal's built-in primary links menu. When enabling these fancy menus, your Drupal site may end up with two menu systems instead of one. In order to get rid of the primary links menu, you need to disable it:

  1. Log in with “administer menu” privileges.
  2. Navigate to to administer » settings » menus (admin/settings/menu) and set ‘Menu containing primary links:’ to ‘No primary links’. Repeat for the secondary links.
a's picture

remove link

My web showing one primary link.. I want to remove or hide it. I searced primary link in admin->settings->menu. But that primary link is not present there. What i do?

Mathew's picture

Clone theme and disable in cloned

Thanks for the article, it gave me an idea about how to solve a problem I'm having with my Mac app. I wanted to embed an archived version of a page on my site into the app to act as a simple welcome guide for the app. But I don't want all the primary and secondary links to appear in the app, so you've just helped me with the solution. I'm going to clone the Drupal theme I'm using, then set this theme for my test user account, and for this theme I'll not show any of the links. That should work, and won't impact the rest of the users on the site.
Thanks for the idea!

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.