Replies: 0
I’ve seen plenty of plugins and code for adding login LINKS to the menu that take the user to the login/logout form/page, but what about the login form (fields) themselves?
I saw a Stack Overflow post relating to this, but it doesn’t seem to be quite what I’m after.
Specifically, I want only a password field to appear in my nav menu (with a descriptive label) for special “portal” access. A user enters the password and is then presented with a new nav menu with links that only appear to logged in users. I’ve done this custom logged in vs. logged out menu function already, so that isn’t the obstacle.
I don’t want the user to have to actually login with a registered account (or have to register at all), only enter the password.
I know that I can pre-fill the username in the login form so that everyone will be using the same “account” and I will need to hide that field, as I only need the password field to be displayed.
Can I do this in the nav menu or must I use a separate login page or popup?