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

Okay so I learned how to add the wordpress login box to the site. I don't want the box style in sidebar but more of horizontal box in the top of the page under the menu in horizontal way.

Are there any pointers for going with this route?

share|improve this question
up vote 0 down vote accepted

Use wp_login_form() and set the p elements per CSS inline, so they can sit side by side:

#loginform p
    display: inline;
share|improve this answer
Is it possible to control the textarea width so that it take less space? – Ryu Aug 22 '12 at 7:04
There is no textarea. You can style each input field separately, they have IDs. – toscho Aug 22 '12 at 7:21

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.