Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Ambrosite Unlink Parent Pages

Unlinks parent pages in page menus and lists. Useful for creating dropdown menus with top-level placeholders. Affects the output of wp_list_pages and

I installed the plugin but it does not seem to be working. Why?

Unlink Parent Pages only affects the output of wp_list_pages and wp_page_menu. If your menu is not being generated by either of those functions, then the plugin will not work. If you want to test whether this is an issue with your menu, put the default 'Pages' widget into your sidebar. The Pages widget uses wp_list_pages, so if the pages are unlinked there, and not in your navigation menu, it means that your menu is not using wp_list_pages.

I know of two specific cases where this is a problem: the Mystique theme, and the WordPress 3.x custom menu system (that is, menus created using the drag-and-drop menu builder under Appearance->Menus). The WP 3.x custom menus are generated by the wp_nav_menu function, while the Mystique theme uses a non-standard custom function called mystique_list_pages. If Unlink Parent Pages detects either of these cases, it will display a warning message.

Is this plugin compatible with my favorite menu management plugin?

Unlink Parent Pages has been tested and is compatible with a number of other popular menu management plugins, including Page Menu Editor, Page Lists Plus, Page Links To, Sub Pages Widget, Exclude Pages, and All In One SEO Pack. It is probably compatible with most other plugins as well.

I do not want to use dummy links. How can I fix my menu styles when the parent pages are unlinked?

If you uncheck 'Use Dummy Links', the plugin will unlink the parent pages by replacing the anchor tags with span tags. In some themes, this may cause styling problems if there are CSS selectors targeting the anchor tags that have been removed. In order to fix this, you must add an additional selector to any rule that targets the anchor tags. The CSS rules are different for every theme, so I cannot give specific instructions. As a general example, if your menu styles look like this:

#menu li a {
    some styles ...

Then you would need to add an additional selector which targets the span:

#menu li span,
#menu li a {
    some styles ...

As an example, here are the rules that would need to be added to the bottom of 'style.css' in order to fix the Twenty Ten theme:

#access span {
    color: #aaa;
    display: block;
    line-height: 38px;
    padding: 0 10px;
    text-decoration: none;
#access ul ul span {
    background: #333;
    line-height: 1em;
    padding: 10px;
    width: 160px;
    height: auto;
#access li:hover > span,
#access ul ul :hover > span {
    background: #333;
    color: #fff;

Requires: 2.1 or higher
Compatible up to: 3.3.2
Last Updated: 2012-2-12
Active Installs: 1,000+


5 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.