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.

Im using the code as posted on the website below, to create a hard coded login form. http://www.wprecipes.com/add-a-login-form-on-your-wordpress-theme

What would be the best way of incorperating some validation with this or using the default wordpress error messages?

the whole point in hard coding the form is that the user isnt taken away from the content to the default wp-login.php page throughout the login process.

Regards, Tom Kiddle

share|improve this question

1 Answer 1

Why not just use wp_login_form()? (Codex ref)

share|improve this answer
    
I could but this will still redirect the user to the default wp-login.php if the password is incorrect, this is exactly what im trying to avoid. Unless you know a way to use that 'wp_login_form()' that i dont? –  Tom Kiddle Jul 12 '11 at 7:22

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.