Skip to:
Content
Pages
Categories
Search
Top
Bottom

can I put the login form in the header?

Viewing 3 replies - 1 through 3 (of 3 total)

  • nit3watch
    Participant

    @nit3watch

    There shouldn’t be a problem having the login-form inside a widget ( side-bar ) as that’s how it is in the bp sidebar ( sidebar.php in bp-default theme ).

    Regardless of the above, copy the form code from sidebar.php and insert it anywhere you like ( header, footer.. ), you can contain the form in a div, styling it to suit your needs.
    Take note that if you are not using a child theme, your changes will be over-written when you upgrade buddypress. ( https://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/ )

    This should be the login/log out form used in the bp-default theme: http://pastebin.com/gngAD97g


    govpatel
    Participant

    @govpatel

    I am using a dropdown panel BuddyPress Sliding Login Panel plugin that is very nice to have works great after member logs in with all buddypress menu for members.


    alcina22
    Participant

    @alcina22

    @ nit3watch thank you for all, a very helpful answer! :)
    also nice the pastebin site, I don’t knew it!

    @ govpatel thank you for your input too! :)

    ciao!
    alcina

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘can I put the login form in the header?’ is closed to new replies.
Skip to toolbar