Skip to:
Content
Pages
Categories
Search
Top
Bottom

Details About the New Theme Architecture


  • Jeff Sayre
    Participant

    @jeffsayre

    With BuddyPress version 1.1–which will be officially released in the next several weeks–there will no longer be bhome and bpmember themes. Instead, BuddyPress will adopt the parent/child theme architecture that WP 2.7 made possible.

    Backwards compatibility will remain for a while for those that want/need to use the old theming architecture. To use the old theme architecture, you need to keep the /bp-themes/ directory. Place/keep your old member themes in there. BuddyPress should override the new theme architecture in favor of the old one if you have a /bp-themes/ directory. However, please note that support for the old theme architecture will eventually be phased out. You will eventually need to update your themes to a parent/child architecture.

    Furthermore, once version 1.1 of BuddyPress is released, the Skeleton Theme that is currently bundled with BuddyPress (up to version 1.0.3) will be discontinued.

    Learn more about parent/child themes in WordPress.

Viewing 14 replies - 26 through 39 (of 39 total)

  • zageek
    Participant

    @zageek

    For Buddypress 1.1 will there be a skeleton parent theme, or am I stuck with using the default parent theme and modifying that, then I might as well just create a child theme?

    I have downloaded the bleeding edge 1.1 from trac and updated mysite. I am busy with a custom theme for my site and I would like to start with a skeleton theme. However I don’t mind hacking the default one if thats best. I am a bit new to developing WPMU themes although I have done themes for Joomla and hacked a couple of normal WP themes.


    Andy Peatling
    Keymaster

    @apeatling

    Create a child theme, you have a lot more control and your theme will update when the parent updates. Ignore the skeleton theme it no longer takes advantage of the new things in 1.1

    Your other option is to duplicate bp-sn-parent, but this should only be done if you are changing most of the template files and your design cannot be achieved by CSS changes alone.


    realistdreamer
    Participant

    @realistdreamer

    OK, I almost understand. I want to use Theme Hybrid Framework and BP Framework to create a custom Parent or should that be, custom Child?

    From @Detective, it sounds like I need to integrate the functionality of both frameworks and build the child(ren) off that functionality. Is that right or am I missing something?

    Will that method allow the benefits of upgrades to both Frameworks?

    I’ve been looking at TastyKitchen.com and VW Tankwars both on the WP.org showcase https://wordpress.org/showcase/flavor/buddypress/ for ideas for 1 blog implementations of WPMU and BP.


    zageek
    Participant

    @zageek

    @Andy thanks, I have begun hacking the parent theme since I might need to make changes to more than just CSS.

    @realistdreamer I am wanting to do exactly that, I am looking at Theme Hybrid modified to work with Buddypress. Then that can be the parent theme, from which the children can be spawned.


    realistdreamer
    Participant

    @realistdreamer

    @zageek Are you modifying either parent in such a way that upgrades to the theme frameworks might not work? If you’ve found a way around this, please share.


    neuromancer2701
    Participant

    @neuromancer2701

    What are the advantages of doing this.

    “you can add a custom.css file to _inc/css/ in the default theme and add your custom styles if you like.”

    I am currently messing around with my own theme but if doing this can accomplish what I need then I might trying it.

    I want to change some of the colors and some of the images.

    I am a bit confused about 1 thing. Do I create a child theme with the theme buddypress installs with or create a parent theme to make child themes from in the future. I am looking to change colors, layout (collumns) bg image and things like that. Something I read made it sound like any wordpress theme can be the parent, is this correct? I am assuming that using a standard wordpress theme would require adding code from the default theme. Is this correct? I just want to make sure I am understanding this before I try to jump in and work because in the begining I don’t think I was. Thank you,

    Greg


    takuya
    Participant

    @takuya

    I need feedback/help from folks trying out new themes.

    I’m implementing buddypress into arthemina theme. I’ve so far managed to make all the buddypress pages work fine, except settings which it returns 404.

    For other buddypress pages, it was just a matter of copying, for example copy profile folder from bp-sn-parent to arthemina theme to make it work. But there’s no theme for settings, so I now have no idea how I’m going to solve this 404 thing.

    Please post your ideas/solution to this post.

    https://buddypress.org/forums/topic/settings-gets-404


    takuya
    Participant

    @takuya

    Just to note my above problem is now fixed. Thanks to Brajesh.


    Trevor Green
    Participant

    @trevogre

    I’m having an issue with child themes. I created a new one as my default for all new blogs. When I enable it on a new blog the directories for members.. groups.. etc.. are all blank pages. What gives?! I didn’t change any of that, Its not a style issue either because it just doesn’t return any html. The buddy press bar on the top is working?

    I’m at a loss. Is this by design?

    ..update.. I just changed the links back to the home theme manual in a revised header.php. Seems a little weird that the parent theme has links that are relative to the current blog for the directories. Wouldn’t it make more sense for those to be relative to the default domain so that they continue to work when a child is created? Or is there a circumstance when an added blog will have separate members groups and forums?


    Jeff Sayre
    Participant

    @jeffsayre

    @trevogre

    If you are creating a custom theme, make sure you read this Codex article first:

    https://codex.buddypress.org/how-to-guides/upgrading-a-buddypress-1-0-theme-for-buddypress-1-1/


    Trevor Green
    Participant

    @trevogre

    @Jeff Sayre

    I’m using the child them that came with it, and modifying it only slightly. It doesn’t work out of the box on a users blog. The members section, groups, forums, and blogs directories show blank pages under the new blog. Like so http://www.domain.com/newblog/members ..

    It shows nothing. So I’m currently trying to copy over the subfolders from the parent theme to see if that helps. I thought that you only had to replicate the files that you wanted to change so I’ll be pretty disappointed if that works.

    Everything else works fine, and all of the things on the link you sent appear to be included.


    mmcomber
    Participant

    @mmcomber

    @Jeff Sayre and others.

    May I ask a possible dumb question? I’ve upgraded to 1.1.1 on 2.8.4a and am using a premium theme for my main blog. I’ve currently reverted back to the old BuddyPress theme system for now.

    Here’s my question, can I leave my Premium WordPress theme as the Parent theme, create a child, and place the bp-sn-parent folders and the “optionsbar.php”, “userbar.php” and “plugin-template.php” in the child theme? Also place header.php in the child with the appropriate code for the usernav bar? And then edit the appropriate css?

    Is that a workable and effective approach?

    Many thanks.


    regtno
    Member

    @regtno

    I am trying to get an old theme called darkpress theme to work without any success. The home page goes blankm, however the members areas are fine. How can I go back to buddypress 1.1. Where can I download the old buddypress 1.1? The new default theme works fine on the homepage.

Viewing 14 replies - 26 through 39 (of 39 total)
  • The topic ‘Details About the New Theme Architecture’ is closed to new replies.
Skip to toolbar