Skip to:
Content
Pages
Categories
Search
Top
Bottom

How To: Building BuddyPress 1.2 Themes

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

  • Brajesh Singh
    Participant

    @sbrajesh

    Thanks Andy for the post. I hope I will help a lot of people looking for building child theme here.


    designodyssey
    Participant

    @designodyssey

    Thanks Andy, I installed BP beta last night and really needed this. Any tips on how to modify these instructions if I want to use a WP theme as my base and add BP functionality piece by piece? I know I will be in hell upgrading, but I’ve got too much invested in the WP theme.

    It’s beta now?! Whoa! And I see now this happened 2 days ago :) I’m outta the loop! That’s what I get for bookmarking the forums and bypassing the homepage all the time :P


    @mercime
    Keymaster

    @mercime

    Thank you Andy. So per your other posts re 1.2 default theme and now the BP documentation, this import path for bp-default

    @import url( ../../plugins/buddypress/bp-themes/bp-default/style.css );

    is a confirmation that developers/super admins no longer need to upload the bp-default and bp-sn-parent themes in BP 1.2

    To extrapolate: So in effect, plugin/component developers for BP 1.2 cannot ask users to upload plugin-specific themes into bp-default which is now in wp-content/plugins/buddypress/bp-themes/ because auto-upgrade would delete the buddypress folder. A better way to put it is that plugin/component developers for BP 1.2 should come up with a way to make their plugins work whilst keeping plugin-specific themes within the said plugin (without requiring users to move themes to bp default). Am I reading this right even in a convoluted way :-) ?

    Thanks again.


    Brajesh Singh
    Participant

    @sbrajesh

    hi Mercime

    Andy Made it clear in Dev Chat, It is better for plugin authors to stick with the bp-default layout and keep the template in their own plugin directory, yes, we may check whether the theme has the template files for our plugin, if yes, load those template or fallback to plugins default template.

    So, I think, now if a user is using default theme, developers will not require to move the plugin templates to theme directory.

    Okay… when I try this new way of leaving the themes in the plugin folder… my child themes now give me an error saying “The following themes are installed but incomplete. Themes must have a stylesheet and a template.” and “Template is missing”.

    Do you have to reference “Template: bp-default” differently from a child theme? With a full path perhaps? How does WordPress “know” about those themes inside the BuddyPress folder? I’m at a loss I’m afraid. And I’ve followed the instructions on the “building-a-buddypress-child-theme page” to the letter.

    p.s. The themes don’t even show up in “Site Admin > Themes”. Only the three themes that come with WPMU show up.

    I’m a colossal idiot. LOL. I hadn’t reactivated BuddyPress after updating. Hahahaha. Sorry. Don’t mind me.


    @mercime
    Keymaster

    @mercime

    @Brajesh – Thank you as always for clarifying the issue :-)

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How To: Building BuddyPress 1.2 Themes’ is closed to new replies.
Skip to toolbar