Archived topic
add search button to logged-in members' navigation menu
19 replies · Started by Pierre-Marie on September 19, 2020
Hi,
I have main navigation menu to which I added the search button.
I have a different main navigation menu for logged-in members but could not find the way to add the same search button in there.
I'm using Paid Membership Pro for membership access.
Any idea?
Thanks,
Hi there,
how is the logged in members menu controlled - is it still assigned to the Primary Navigation? Or is it using the Secondary Nav?
Hi David,
Thanks for the quick reaction!
Under the WP Appearance/Menus section: logged out people get the primary navigation menu (Menu principal, in my French settings). Members get another navigation called Menu principal - Members (Primary navigation - Members). This second option (different from secondary navigation) is probably an addition from Paid Membership Pro, the plugin I use to manage memberships.
Hi there,
Any chance you can link us to the site in question?
You can use the private information field.
Let me know :)
Hi Leo,
Of course. Should have done so from the start, sorry.
So you are saying that when a user logs in on the Me Connecter page, the navigation search disappears?
Can you provide a test login so we can test?
Yes, the main navigation is different for logged in members and then the search button disappears. Test login details in the private information window.
Hmm I'm not quite sure what the issue is unfortunately.
Is the logged in a menu listed under WordPress builder?
Can you edit it normally like the normal menu?
Yes for both questions. I wish I could send screen captions.
Similar issue here to which Tom provides a solution for:
https://generatepress.com/forums/topic/conditional-menus-and-search-box-in-navigation/#post-727638
Thanks David. Sorry to be such an ignorant but does that mean I should copy this code snippet in my CSS file?
Its actually PHP - which needs to be updated to a match your custom menu.
I tried logging in with the login you sent to Leo - but they do not work. Can you resend them to us?
You need an admin login or simple user login?
Admin login - i need to see the Appearance > Menus :)
Here you go.