Timeline for Change Navigation Bar based on logged in or not
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 14, 2020 at 14:19 | answer | added | Tony Djukic | timeline score: 1 | |
Oct 14, 2020 at 12:59 | comment | added | Tim | Here is the site on a beta subdomain, if that helps: beta.mojocircle.com | |
Oct 14, 2020 at 12:54 | comment | added | Tim | Hi Tony. Thanks for your response. Makes Sense. I do not have code but can supply what is needed. I am indeed using the child theme for BuddyBoss. I would rather not just hide the search button with CSS, but remove it from a few pages, most importantly home. I have 2 headers, one is the buddy boss native header, the other an implentation of it based on their Elementor Header templates. Simple: <Logo, Log in, Log out.> My ideal scenario is to choose header based on logged in or logged out. This would solve everything as I am granting a few "inner" pages to non-logged in (w/ no search) | |
Oct 13, 2020 at 21:07 | comment | added | Tony Djukic | You need to provide some code - are you using a child theme to modify the BuddyBoss theme? This actually isn't that difficult outright and you can take two approaches, the correct one and the shortcut. The correct one will require you to modify the file where the navigation is inserted into the page. The shortcut version would be to use CSS to hide the navigation items you don't want logged out users to see. I guess a third would be to use jQuery to .remove() links, but I'd advise against that as it opens up a whole mess. | |
Oct 12, 2020 at 13:47 | review | First posts | |||
Oct 13, 2020 at 21:07 | |||||
Oct 12, 2020 at 13:44 | history | asked | Tim | CC BY-SA 4.0 |