On the register page it also has a tab for the login. How can i hide the register page and only show the login on the same page it shows on the front end. I don’t want people to login via the wordpress login only via the front end login.

Do you want to also prevent users from registering?
Or do you want to separate the registration page from the login page?

Finally do you want to completely prevent users from logging in using the /wp-login.php form and redirect them to your primary login form?
Or simply hiding all link to the default WP login form is good enough?

1) We use Login With Ajax (https://wordpress.org/plugins/login-with-ajax/) on our demos to create the login form. Please make sure this plugin is installed on your server and then, read the following tutorial to find how to setup your login form:

2) Do you want to separate the registration page from the login page?
If yes, the simplest way might be to hide the “Login” tab from the registration page.
To do so, please visit your website CSS editor (“Appearance > Customize > Additional CSS”) and paste the following code:

.bp_register .nav-register .nav-item:last-child {
display: none;
}

3) Finally, to completely prevent users from logging in using the /wp-login.php form and redirect them to your primary login, you can install and activate any plugin of your choosing, like WPS Hide Login (https://fr.wordpress.org/plugins/wps-hide-login/).

I have just noticed tho when following your steps regarding the register page and not to show the login page when I view the site from a mobile in the menu it just gives me the register//login option and when pressed only takes me to a register page with no login option.

How do I change the menu so it’s the same as when viewing on a PC on a mobile?

Thank you for your great feedback.
We understand that in your case, the display of this link might be disturbing for your visitors. What we should have displayed is the Logged Out User Menu, to show them the pages you’ve chosen for Login and Register.

Once you have pasted the CSS code snippet to your custom CSS panel, these menus should be displayed like in the attached screenshots.
Please make sure your menus are correctly set to prevent from displaying the same page links twice.

To edit menus, you can navigate to “Appearance > Menus” in your admin panels.

The topic ‘How to disable Register Page & Only Show Login Page’ is closed to new replies.

Troubleshooting Demo Imports

You're trying to setup your theme but you're experiencing errors when importing the demo content? Or you've just followed the setup guide but your website doesn't look exactly like our demo? These are common issues for which you can find easy and quick fixes.