Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

migrated from stackoverflow.com Jan 12 '12 at 14:27

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 3 down vote accepted

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.

share|improve this answer
    
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 Jan 12 '12 at 15:24
    
Where did you set the redirect parameter to go to? –  m0r7if3r Jan 12 '12 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 Jan 13 '12 at 6:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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