Hello!
I am trying to find the right php code to make some items in my menu visible/invisible when logged in and some others visible/invisible when logged out…
I found some plugins that does this like the following “https://wordpress.org/plugins/user-menus/#targetText=The%20plugin%20gives%20you%20more,users%2C%20specific%20user%20roles).”
But they caused problems on my site, and with all the history i have, i dont even want more plugins to be true!
On the secondary navigation i want the 1st item to only be visible on “unlogged users” the 2nd item visible only on “logged in users”.
That’s it!
And if you know any good sources for me to learn some php for things like these, i would be even more grateful to your lovely support! I am a fan! Hope you all the best!!