Display style’s when password is entered

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

Leave a Reply

Your email address will not be published. Required fields are marked *