<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WpFunc &#187; login form</title>
	<atom:link href="http://wpfunc.com/tag/login-form/feed" rel="self" type="application/rss+xml" />
	<link>http://wpfunc.com</link>
	<description>Awesome, Quick, Simple WordPress Functions!</description>
	<lastBuildDate>Thu, 01 Dec 2011 01:17:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>A Simple Login Form For Your Sidebar!</title>
		<link>http://wpfunc.com/wordpress/a-simple-login-form-for-your-sidebar.html</link>
		<comments>http://wpfunc.com/wordpress/a-simple-login-form-for-your-sidebar.html#comments</comments>
		<pubDate>Thu, 10 Sep 2009 20:03:12 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[login form]]></category>
		<category><![CDATA[sidebar]]></category>

		<guid isPermaLink="false">http://www.wpfunc.com/?p=164</guid>
		<description><![CDATA[If you want to add a new login form to your Sidebar or Page tepmlate you can use this simple code :) This will make a way for quick login. Lets Begin..
Here is the code;
That&#8217;s All. Have a nice day!
The Original Post: Add a Login Form to Your WordPress Theme
]]></description>
			<content:encoded><![CDATA[<p>If you want to add a new login form to your Sidebar or Page tepmlate you can use this simple code :) This will make a way for quick login. Lets Begin..<span id="more-164"></span></p>
<h1>Here is the code;</h1>
<pre class="brush: plain; title: ; notranslate">&lt;?php if (!(current_user_can('level_0'))){ ?&gt;
&lt;h2&gt;Login&lt;/h2&gt;
&lt;form action=&quot;&lt;?php echo get_option('home'); ?&gt;/wp-login.php&quot; method=&quot;post&quot;&gt;
&lt;input type=&quot;text&quot; name=&quot;log&quot; id=&quot;log&quot; value=&quot;&lt;?php echo wp_specialchars(stripslashes($user_login), 1) ?&gt;&quot; size=&quot;20&quot; /&gt;
&lt;input type=&quot;password&quot; name=&quot;pwd&quot; id=&quot;pwd&quot; size=&quot;20&quot; /&gt;
&lt;input type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;Send&quot; class=&quot;button&quot; /&gt;
    &lt;p&gt;
       &lt;label for=&quot;rememberme&quot;&gt;&lt;input name=&quot;rememberme&quot; id=&quot;rememberme&quot; type=&quot;checkbox&quot; checked=&quot;checked&quot; value=&quot;forever&quot; /&gt; Remember me&lt;/label&gt;
       &lt;input type=&quot;hidden&quot; name=&quot;redirect_to&quot; value=&quot;&lt;?php echo $_SERVER['REQUEST_URI']; ?&gt;&quot; /&gt;
    &lt;/p&gt;
&lt;/form&gt;
&lt;a href=&quot;&lt;?php echo get_option('home'); ?&gt;/wp-login.php?action=lostpassword&quot;&gt;Recover password&lt;/a&gt;
&lt;?php } else { ?&gt;
&lt;h2&gt;Logout&lt;/h2&gt;
&lt;a href=&quot;&lt;?php echo wp_logout_url(urlencode($_SERVER['REQUEST_URI'])); ?&gt;&quot;&gt;logout&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://XXX/wp-admin/&quot;&gt;admin&lt;/a&gt;
&lt;?php }?&gt;</pre>
<p>That&#8217;s All. Have a nice day!</p>
<p><em>The Original Post: </em><a href="http://www.wprecipes.com/add-a-login-form-on-your-wordpress-theme" target="_blank"><em>Add a Login Form to Your WordPress Theme</em></a></p>
]]></content:encoded>
			<wfw:commentRss>http://wpfunc.com/wordpress/a-simple-login-form-for-your-sidebar.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

