wp_nav_menu Extended!

Descripción

Add missing functionality to the native wp_nav_menu() function!

With this plugin you can now use the following options in addition to the default options of wp_nav_menu:

level : (integer) (required for this plugin to work) The level of the navigation menu to show. If no child_of parameter is passed, it shows all the items of this level

child_of : (string|integer) (optional) Either the title or menu item ID of the parent in the menu whose direct children are to be shown

Sample Usage

$defaults = array(
‘theme_location’ => ‘main_menu’,
‘level’ => 2,
‘child_of’ => ‘About Us’,
);

wp_nav_menu( $defaults );

Instalación

  1. Upload the wp-nav-menu-extended folder to the /wp-content/plugins/ directory
  2. Activate the wp_nav_menu Extended! plugin through the ‘Plugins’ menu in WordPress
  3. You can now use the new options in your code!

Reseñas

15 de abril de 2018
Thank you for this plugin. Works with WP 4.9.5.
22 de noviembre de 2017
Thank you for answering this question on Stack Exchange! That's how I found your plugin, and it's exactly what I needed. Thank you!
3 de septiembre de 2016
Looked around for hours, and found nothing but hacky fixes. This displays your sub nav items in any div you want/in any spot you want. This plugin is great!
Leer todas las 7 reseñas

Colaboradores y desarrolladores

«wp_nav_menu Extended!» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «wp_nav_menu Extended!» 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.