Skip to:
Content
Pages
Categories
Search
Top
Bottom

Using BP widgets with a non-BP WPMU theme

  • BuddyPress: Combo 1.0 RC-1

    bbPress: 1.0 Alpha.

    WPMU: 2.7

    http://www.mysailboatblog.com

    I really like what you have done with BP. I’m using a WPMU compatible theme Atahualpa 3.2 and have all of the BP widgets available. I’d like to keep using Atahualpa but only have 2 sidebars available to me. In the BP theme there are 3 columns available including a “center” one where you can use BP widgets anywhere. With Atahualpa I only have 2 sidebars available to me and cannot use any of the cool BP widgets in my “center” column and its a little cramped in the sidebars right now.

    1. Is there a way with Atahualpa to use the BP widget to insert it into my center column?

    2. If using the BP widgets is not possible, then what would be the function call to insert it? For example below is code that I use in my index.php that insert a home made Recent Posts in the center column only on my static page #33.

    <?php // Most recent posts

    if ( is_page(33) ) {

    echo ‘<h2><span style=”color: #333333″>Most Recent Posts</span></h2>’; ?>

    <?php ahp_recent_posts(10, 30, 255);

    } ?>

    What would the function call look like for inserting the BP Recent Blog Posts and Sitewide Activity?

    Thanks in advanced for the responses!

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

  • Burt Adsit
    Participant

    @burtadsit

    At the moment the bp widgets aren’t callable as template tags like the wp widgets. As far as I know you have to have a ‘sidebar’ region to activate the widgets. The problem is that the widgets you are talking about don’t parse arguments like your example above. We do need that. Gonna post an enhancement ticket to that effect.

    That would be excellent. I plan to make these 2 functions (widgets), BP Recent Blog Posts and Sitewide Activity, the main focus of the home page. Thanks for the quick reply by the way.

    fwiw: I’ve written a widget for ahp_recent_posts

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using BP widgets with a non-BP WPMU theme’ is closed to new replies.
Skip to toolbar