Archived topic
Beaver Themer - Navigation Search enabled not showing in BT header menu
3 replies · Started by Lyle on June 10, 2017
Hi Tom & Leo,
As the subject mentions, when the Nav search is enabled in GP it does not show up in the menu in a BT header (or wherever else you add the Menu module). When one adds or edits the BT menu module, one selects which WP menu to use. Even if the primary menu is selected and it has the Nav Search enabled in the WP/GP customizer, it does not display.
Wondering if there is a workaround for this as I am pretty sure the BB team will say that they are just pulling in the WP menu that has been selected, which, of course, does not include the Nav Search.
Cheers!
Lyle
So the menu is built by Beaver Themer? It's likely that GP just doesn't recognize the menu exists (as it can't guess what the primary menu is). It's built to look for the GP menu.
I may have explained it incorrectly :)
BT pulls in the GP menu no problem, everything works as expected. The only thing that doesn't get pulled in is the GP nav menu search functionality if it has been enabled. Thinking about it more, I realize that the nav search is added to the menu container and not the menu itself.
Yea, it's hooked into the navigation element: https://github.com/tomusborne/generatepress/blob/master/inc/template-tags.php#L354