5

I have a wordpress site. Which has the built-in login form with the url http://domain/wp-login.php and register page http://domain/wp-login.php?action=register.

As these pages have no sidebar and headers, therefore I want to display these forms on a page which I have created from the backend.

Is it possible and how will I do this?

1 Answer 1

5

There are a couple of ways to do this. The most simple is probably to install a plugin, such as Theme My Login. The more complicated but flexible way to do it is to use wp_login_form() to output the form, presumably to a shortcode or something, and then you can style it yourself.

3
  • I used the wp_login_form, but when I entered incorrect username and password, it then redirects me to that original login page, which I does not want.
    – Ahmad
    Commented Jan 12, 2012 at 15:24
  • Where did you set the redirect parameter to go to?
    – mor7ifer
    Commented Jan 12, 2012 at 15:39
  • I have used the Theme My Lgoin plugin to display the login and register forms on a page and then style it. Thanks for the answer.
    – Ahmad
    Commented Jan 13, 2012 at 6:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.