Skip to:
Content
Pages
Categories
Search
Top
Bottom

Widget system

  • @nig3d

    Participant

    Hello,

    even if I’m a programmer, I don’t know much about web programming, although, under my point of view, it looks like the widget system of buddypress is too much binded with the theme.

    I.E.: the default installation assumes that the theme has 3 columns for the home page and 1 column for the blog.

    – What happens if the theme changes?

    – How can I used widgets inside other areas? I.e. I’d like to add a rss container widget for each group.

    Thank you very much as usual

Viewing 3 replies - 1 through 3 (of 3 total)
  • @boonebgorges

    Keymaster

    The widgets themselves are not tied to a particular theme, but the sidebars that contain the widgets are – for the very reason that you suggest, namely that different layouts require different numbers of sidebars. That information is generally included in the functions.php file of the theme directory. See for example bp-sn-parent/functions.php, the register_sidebars lines.

    Some information on customizing the sidebars in your theme: http://automattic.com/code/widgets/themes/

    and more on the Widget API: http://automattic.com/code/widgets/api/

    @nig3d

    Participant

    thank you very much, I will give a look :)

    @pollyplummer

    Member

    You can also widgetize other areas quite easily and drop BuddyPress widgets in there as you please. You can widgetize a custom page template if you want to. It’s really quite flexible. I wrote a tutorial on how to change different areas of your template files to be able to include widgets: http://wpmu.org/how-to-widgetize-a-page-post-header-or-any-other-template-in-wordpress/ That might help you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Widget system’ is closed to new replies.
Skip to toolbar