{"id":33257,"date":"2010-06-05T17:10:24","date_gmt":"2010-06-05T21:10:24","guid":{"rendered":"http:\/\/wpmu.org\/?p=33257"},"modified":"2013-06-13T21:14:52","modified_gmt":"2013-06-14T01:14:52","slug":"daily-tip-new-simple-login-form-template-tag-for-wordpress-3-0","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/daily-tip-new-simple-login-form-template-tag-for-wordpress-3-0\/","title":{"rendered":"New Simple Login Form Template Tag For WordPress 3.0"},"content":{"rendered":"<h2>How to Use the WordPress 3.0 Login Form Template Tag<\/h2>\n<p><a rel=\"lightbox[33257]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2010\/06\/loginform.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-33258\" title=\"loginform\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2010\/06\/loginform.png\" alt=\"Post image\" aria-hidden=\"true\" width=\"259\" height=\"159\" \/><\/a>WordPress 3.0 provides a new template tag for a simple login form that you can use anywhere within WordPress.<\/p>\n<p>Simply drop this tag anywhere in your theme&#8217;s template files where you want to output a login form:<\/p>\n<pre>&lt;?php wp_login_form(); ?&gt;<\/pre>\n<p>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 <a href=\"http:\/\/codex.wordpress.org\/Function_Reference\/wp_login_form\" rel=\"noopener\" target=\"_blank\">WP Login Form<\/a> section for more information on customizing the default login form.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217;s template files where you want to output a login form: &lt;?php wp_login_form(); ?&gt; This tag will show the [&hellip;]<\/p>\n","protected":false},"author":4099,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"blog_reading_time":"","wds_primary_category":0,"wds_primary_tutorials_categories":0,"footnotes":""},"categories":[263],"tags":[4993],"tutorials_categories":[],"class_list":["post-33257","post","type-post","status-publish","format-standard","hentry","category-tutorials","tag-templates"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/33257","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/users\/4099"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=33257"}],"version-history":[{"count":2,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/33257\/revisions"}],"predecessor-version":[{"id":182993,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/33257\/revisions\/182993"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=33257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=33257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=33257"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=33257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}