Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Contextual Nav Menu


Add some Contextual Navigation Menu Features.

Provide contextual menus as Navigation Menu, Breadcrumb Navigation Menu and Navigation Submenu Widget.

What is a contextual menu?
It’s simple: it follows the current item as much as possible.

For example, you have a category entry in your primary menu. But when you read a post of this category, your menu has no selected items. Your entry is like orphan.
With Contextual Nav Menu, no more orphans entry. Taxonomies (categories and tags), pages, posts (custom types too) are linked to there parents if they are in the menu.

And if the parent is not in the menu? There still have a solution! You can add to each taxonomy (category and tag), page, post (custom types too) a parent menu item.

With the same mecanism, your Contextual Nav Menu Breadcrumb won’t be blank anymore, it will follow as much as possible your menus structure and is fully customisable.

The Contextual Nav Submenu Widget displays a contextual menu related to the highest parent of the current item.


  1. Add a parent menu item to each taxonomy (category and tag), page, post (custom types too) individualy or with bulk actions
  2. Customise your breadcrumb: titles, image of the home link, menus order
  3. French and English support
  4. Polylang compatibility (breadcrumb is fully multilingual)
  5. Multisite compatibility
  6. Contextual Nav Menus are accessible
  7. Contextual Nav Menus are ready to use with all themes. The plugin does not provide any predefined themes.

Visit for examples.

Contact me if you want to know how to customise your menus.


  • Contextual Nav Menu Breadcrumb Settings Page.
  • Contextual Nav Submenu Widget.
  • "Add Parent Menu Item" metabox.
  • "Add Parent Menu Item" on tag page with bulk action.
  • The primary menu, the breadcrumb and the widget for a "normaly" orphan page.


  1. Upload «» to the «/wp-content/plugins/» directory.
  2. Unzip archive.
  3. Activate the plugin through the «Plugins» menu in WordPress.
  4. Place for example «contextual_nav_menu( array( ‘theme_location’ => ‘primary’ ) );» in your templates to display a contextual nav menu for the primary theme location (see WordPress documentation for more details, arguments are the same).
  5. Place «contextual_nav_menu_breadcrumb();» in your templates to display a contextual nav menu breadcrumb.

For a full customisation of the breadcrumb, «contextual_nav_menu_breadcrumb» accepts an array as param.

These are all accepted keys and there possible values:

  • menu_class – CSS class to use for the ol element which forms the menu. Defaults to ‘breadcrumb’
  • container – Whether to wrap the ol, and what to wrap it with. Defaults to ‘nav’
  • container_role – The role of the container. Defaults to ‘navigation’
  • container_class – The class that is applied to the container. Defaults to ‘nav-menu-breadcrumb’
  • container_id – The ID that is applied to the container. Defaults to blank
  • fallback_cb – If the menu doesn’t exists, a callback function will fire. Defaults to ‘wp_nav_menu’. Set to false for no fallback
  • before – Text before the link text
  • after – Text after the link text
  • link_before – Text before the link
  • link_after – Text after the link
  • echo – Whether to echo the menu or return it. Defaults to true
  • depth – how many levels of the hierarchy are to be included. 0 means all. Defaults to 0

Preguntas frecuentes

My breadcrumb displays more links it should, is it normal?

Yes, the element you are viewing is certainly linked to a menu entry «naturaly» and «virtualy».
Just edit the element and be sure that the «Select Menu» is set to «None».

My Contextual Nav Submenu Widget is not visible, is it normal?

The Contextual Nav Submenu Widget only shows up if the element you are viewing is related to the menu you selected.
If it is, the menu must have at least 2 level to show up too.
Be sure your widget is well configured too.
For example if the starting depth is set to 0, the proof must be set to at least 2.
If the starting depth is set to 1, the proof must be set to at least 3.


7 de febrero de 2017
Not a real review. I made a mistake and cannot delete this review. Novice user, I have not figured out the plugin yet.
Leer todas las 2 reseñas

Colaboradores y desarrolladores

«Contextual Nav Menu» es un software de código abierto. Las siguientes personas han colaborado con este plugin.


Traduce «Contextual Nav Menu» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios


  • Stable version.
  • Bug correction : the contextual nav menu item of categories was not set properly


  • Stable version.
  • Code refactor


  • Previous Stable version.


  • Initial release.