New Simple Login Form Template Tag For WordPress 3.0

New Simple Login Form Template Tag For WordPress 3.0

How to Use the WordPress 3.0 Login Form Template Tag

WordPress 3.0 provides a new template tag for a simple login form that you can use anywhere within WordPress.

FREE EBOOK
Your step-by-step roadmap to a profitable web dev business. From landing more clients to scaling like crazy.

By downloading this ebook I consent to occasionally receive emails from WPMU DEV.
We keep your email 100% private and do not spam.

FREE EBOOK
Plan, build, and launch your next WP site without a hitch. Our checklist makes the process easy and repeatable.

By downloading this ebook I consent to occasionally receive emails from WPMU DEV.
We keep your email 100% private and do not spam.

Simply drop this tag anywhere in your theme’s template files where you want to output a login form:

<?php wp_login_form(); ?>

This tag will show the default login form pictured above. However, it accepts a number of parameters if you want to change the default. Check out the WordPress codex WP Login Form section for more information on customizing the default login form.

Tags: