Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to Use bphome Functions on BP Member Pages?

  • Avatar of bpisimone
    bpisimone
    Participant

    @bpisimone

    I’m currently trying to integrate my design with the Buddypress Member Skeleton, but I’m having problems to successfully call the functions from the main Buddypress home theme.

    I would for instance like to use the breadcrumbs function located in my Buddypress home theme. I guess it would suffice to call it from the Member theme’s functions.php?

    How would I do that?

    Basically I want my Member theme to access my functions and jquery located in wp-content/themes/bphome/library/js and wp-content/themes/bphome/library/functions.

    Thanks for the input everyone!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    You can try copying over the various functions you want to use into the bpmember theme’s functions.php file.

    Avatar of bpisimone
    bpisimone
    Participant

    @bpisimone

    Thanks Jeff, I thought so as well, though I would prefer a solution with importing them? Since that would just duplicate all of the functions and I’d have to to all modifications to these functions twice instead of just once in the bphome theme?

    Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    Once v1.1 comes out in the next couple of weeks, this issue should be moot. There will no longer be bhome and bpmember themes. Instead, BuddyPress will adopt the parent/child theme architecture that WP 2.7 makes possible.

    Backwards compatibility will remain for a while for those that want/need to use the old theming architecture. But it will eventually be phased out.

    Learn more about parent/child themes in WordPress.

    Avatar of bpisimone
    bpisimone
    Participant

    @bpisimone

    Cheers thanks Jeff!

    Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    You’re welcome!

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

The topic ‘How to Use bphome Functions on BP Member Pages?’ is closed to new replies.