Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding widget areas to default theme?

  • I’m trying to figure out how to add widget areas to the bp default theme. Most of the info I’ve found shows how to add them to the sidebar. But what I want are widget areas above the center content area. I’m not understanding how to do that.
    What I would like is to have one area to put an image or article rotater in and another to show the latest community activity.

    Any help is really appreciated!

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

    @mercime

    First, do not make revisions in bp-default theme. Revisions will be overwritten when BP is upgraded.

    Instead,
    – create a child theme of bp-default theme, e.g. mybpproject,
    http://codex.buddypress.org/theme-development/building-a-buddypress-child-theme/
    – create a functions.php file and put it in your child theme folder. Define new widget/s here (name, ID, etc)
    – copy over the template file from bp-default theme to your child theme folder (following directory structure) then add the call to dynamic_sidebar in that template.

    Thanks, I did set up a child theme. Although I still didn’t have any luck. I’ll keep playing with it, as I’d like to learn how it works. But I did finally find a theme I liked in the mean time.

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

The topic ‘Adding widget areas to default theme?’ is closed to new replies.