On http://edublogs.org/ the login boxes at the top of the site bypass the standard WordPress login, how is this done? I would like something similar on a site I'm working on because I don't want users having to go to the /wp-admin page. Thanks
On http://edublogs.org/ the login boxes at the top of the site bypass the standard WordPress login, how is this done? I would like something similar on a site I'm working on because I don't want users having to go to the /wp-admin page. Thanks
Thanks Josh, just tried inserting the code but all it does is add a login or logout link. How do I get the form to appear? Doesn't seem to be anything about a form on the wordpress codex http://codex.wordpress.org/Function_Reference/wp_loginout
What I would like is a user to be able to enter there username and password into the login boxes and log straight in without going to the standard wordpress login page first.
Ahh silly me, should have checked WordPress plugins. Seems to be a plugin that does exactly what I want.
Responses (8)
Member — 19th April 2011 #
@Andrew, you can add this code
<?php wp_loginout( $redirect ); ?>to the header where you want the login box to appear and then style it with css.Member — 19th April 2011 #
Thanks Josh, just tried inserting the code but all it does is add a login or logout link. How do I get the form to appear? Doesn't seem to be anything about a form on the wordpress codex http://codex.wordpress.org/Function_Reference/wp_loginout
What I would like is a user to be able to enter there username and password into the login boxes and log straight in without going to the standard wordpress login page first.
Ahh silly me, should have checked WordPress plugins. Seems to be a plugin that does exactly what I want.
Member — 19th April 2011 #
@Andrew, sorry about that, I thought that was a different variation of wp_login; glad that you found a plugin though.
Member — 19th April 2011 #
Here's the plugin that I found just in case someone needs the same functionality:
http://wordpress.org/extend/plugins/sidebar-login/
No problem Josh, thanks for your reply, had no idea about that login code you provded so will come in handy at some point :)
Member — 19th April 2011 #
you could also use the new wp_login_form :-)
=> http://codex.wordpress.org/Function_Reference/wp_login_form
Member — 19th April 2011 #
Perfect! now I don't need the plugin. Thanks Ovidiu :) Ps congrats, looks like you got enough for a lifetime membership there :)
Member — 19th April 2011 #
@Ovidiu, I knew that there was something out there. Making note of it, thanks.
Member — 19th April 2011 #
lol, yeah, the lifetime membership... kinda on it already...and you need people to give you rep. points too...
Become a member