Skip to:
Content
Pages
Categories
Search
Top
Bottom

Moving default sidebar widget

  • My website is at http://words2us.com/

    I’m using a website running on the BuddyPress Default theme, and I want to move the default login widget (as in it’s a part of the theme) on the sidebar below the custom widget I put in that says “Get free emails”.

    I put the custom widget there by going to Appearance > Widgets, and then putting in html into a text widget.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @words2us I only see the facebook connect widget in your sidebar. So assume you want to move login below that:
    – Copy over sidebar.php from bp-default theme into your bp-default child theme folder.
    – Open up sidebar.php with a text editor and move up “ to just under “
    – Save file and upload to server

    @mercime Thanks for the reply. I tried what you said and it worked, sort of.

    Yeah, sorry about the free emails widget. I think I removed it since staring this topic. And now I’ve changed the widgets again.

    If you look at my site again you’ll see that there’s now three widgets. Now I want to put the “Subscribe to our free emails” widget at the top, the BuddyPress default login widget in the middle and the Facebook like box at the bottom. Both of the non-default widgets have been put in using text widgets from the dashboard under Appearance > Widgets.

    When I tried what you suggested with three widgets it put the email subscribe form at the top, then the Facebook like box, followed by the BuddyPress default login form, and the subscribe form appeared again at the bottom. I’m guessing you have to do something different when there’s three widgets.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    So what you want to add another widget area after the login form in your sidebar. You would have to register a new widget area in your child theme’s new functions.php file, then add a new get_sidebar call under the code of the login form in your sidebar.php. See how: http://justintadlock.com/archives/2010/11/08/sidebars-in-wordpress

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

The topic ‘Moving default sidebar widget’ is closed to new replies.