Placeholder Menu Tab

The twentyten theme my site theme is based on using dynamic menus. This allows menus to be created and edited very easily by going to Appearance -> Menus and indulging in some fun drag and drop. Unfortunately, every entry has to link to somewhere (or so I thought). Thus I had pages for all the tabs and had to force some content into them.

I received a new requirement today. The ‘About’ page had to be renamed, but when grouped with another page, it made sense for both of those pages to be under a main heading of ‘About’. How could I create a placeholder menu tab which doesn’t link anywhere?

A quick Google search returned the solution in seconds.
http://wordpress.org/support/topic/menu-tab-as-a-placeholder?replies=3

Simply create a custom link with a target of ‘#’. This will create a link which doesn’t go anywhere and the menu entry can now be used as a top level tab.

Advertisements

2 thoughts on “Placeholder Menu Tab”

    1. Hi Dean,

      It’s under Appearance -> Menus. This is assuming your theme uses dynamic menus. The placeholder entry is created as a custom link. Set the URL to ‘#’ (without the quote marks) so it doesn’t actually link anywhere.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s