On my wordpress site i have a page that can only be accessed by a password, this is using the wordpress built in password protected visibility.

What i want is when the user inputs the password, i want to add css that will display another item in the header menu that is currently hidden.

#menu-item-222 {
display:none;
}

Is there anyway to achieve this using php?

Read more here: Display style’s when password is entered


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: