Remove/hide one menu button in WordPress website while logged in by Apache htpasswd.

Job ID: 33779387

Budget: €30 – €250 EUR

I have a WordPress website. I added a password management system by using Apache .htpasswd for a folder.
In WordPress we have a page called "Photos", also we have /photos folder in the main website directory which is protected with htpasswd.

If we press "Photos" then will need to use login and password from .htpasswd and then you will be able to see the "Photos' page.

Task: We need to hide or remove from the menu another button "Sign Up" when somebody used for example "photos" page to log in and logged in. So when somebody logged in by Apache htpasswd, then another button Signup should disappear on all website's pages while the user logged in.

In Video I showed how it should work and also I added a screenshot to show how the folder is protected.
Related categories: PHP WordPress Apache