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?

1 Answer 1


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

  • 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
    – nopcorn
    Nov 21, 2012 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, 2012 at 18:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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