Top

Daily Tip: New Simple Login Form Template Tag For WordPress 3.0

June 5, 2010

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.

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.

Tweet This Post

Comments

Got something to say?

Bottom
Article Archive  |  This site is a historical archive of pressography.com, a WordPress plugin and theme blog that published between 2006 and 2012. It is preserved for reference and is not operated by, affiliated with, or endorsed by its original authors. Nothing here is for sale and no form on this site is active. If you are the original owner and would like this domain returned, please get in touch.