WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using a plugin called sidebar-login to display a wordpress login form (it uses wp_login_form) in my sidebar. However, I feel like it the actual form (textboxes and labels) take up too much space and I'd like to hide it all in a slide-down jQuery div.

Basically, the user would click on a link called "Login", which would make the login form fade in and slide down for the user to use. The problem is I need to add that link and wrap up the whole form in a div that I can apply a jQuery rule to.

What is the recommended way of doing this so I don't break any existing login procedures?

share|improve this question
up vote 2 down vote accepted

Try using SimpleModal Login. This should be exactly what you are looking for.

share|improve this answer
I just downloaded and tried this out, it works exactly like what I want. The only thing is that it still says "Login" or "Register" even if a user is logged in. I'm going to need to modify the actual plugin (instead of just using a widget) because I need PHP. Cheers – n0pe Nov 21 '12 at 18:36
you can also add the link in php - it is the usual wp_loginout() function, and works with the plugin. – fischi Nov 21 '12 at 18:46
Awesome, thanks fischi – n0pe Nov 21 '12 at 18:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.