Tag Info

New answers tagged

0

Actually, login_enqueue_scripts action works for any wp-login.php page: login (wp-loing.php) recover password (wp-login.php?action=lostpassword) regstration pages (wp-login.php?action=register) If your registration page is not wp-login.php?action=register, login_enqueue_scripts action is not triggered. In that case you need to use another action hook. ...


0

My mistake. I had Absolute Privacy plugin turned on and that was interfering.


0

This is a pretty old question, but is still relevant. Anyway, @Milo definitely had the right idea. Here is what I use and it works great. This is very convenient when you want to create users, but prefer to keep your wordpress backend on lockdown. For example if you have a blog and prefer your content authors submit their work to you, this enables you ...


0

I haven't looked into it, but any hook on the page that processes the new user registration will have access to the $_POST data and as such you could get it from there. I agree with the other comments above, you should be able to use use the WordPress hash and check the password on the other website. Would be more sustainable and less susceptible to ...


1

There might be more elegant way to do it, but from quick look at the code it seems quite easy to simply override the relevant option on login page: add_action( 'login_init', function () { add_action( 'pre_option_users_can_register', '__return_null' ); } );


1

These pages are accessible for users who are neither identified nor authenticated, so they are part of the frontend. They have no place in the template hierarchy, but you can style them in your theme, add custom CSS and even nav menus. By default, they look a little bit like the backend style. That's just because that's the only style WordPress "knows" by ...


0

You need to run this code before any headers are sent to the client. Try segregating the login code. This question is almost a year old, so please let us know what, if anything worked.



Top 50 recent answers are included