0
votes
1answer
2k views

How to display error messages using WP_Error class?

I have registration form code in my functions.php file like this if ('POST' == $_SERVER['REQUEST_METHOD'] && !empty($_POST['action']) && $_POST['action'] == 'registration') { ...
9
votes
1answer
4k views

Check if we're on the wp-login page?

How can I check if the current page is wp-login.php or wp-signup.php ? Are there more elegant solutions than using $_SERVER['REQUEST_URI'] ?
9
votes
1answer
3k views

Customizing the URLs of WordPress Login and Sign-up Pages?

I have Multisite installed. I have whitelabeled it using the Whitelabel-CMS plugin, but I can't customize the URLs of the sign-up and login pages. Can I change the URL of my multisite's login page? ...