added dropdown menus to top navigation

This commit is contained in:
jorge 2022-03-15 19:32:07 +01:00
parent 1064c5f251
commit 52dd1cb7ad
1 changed files with 2 additions and 2 deletions

View File

@ -26,8 +26,8 @@ if ( ! function_exists( 'foundationpress_top_bar_r' ) ) {
wp_nav_menu(
array(
'container' => false,
'menu_class' => 'menu',
'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s</ul>',
'menu_class' => 'dropdown menu',
'items_wrap' => '<ul id="%1$s" class="%2$s" data-dropdown-menu>%3$s</ul>',
'theme_location' => 'top-bar-r',
'depth' => 3,
'fallback_cb' => false,