Skip to:
Content
Pages
Categories
Search
Top
Bottom

Can't create Buddypress child theme


  • Iryna_B
    Participant

    @iryna_b

    WP 3.9.2
    BP 2.02

    Hi,
    I’m having difficulty installing a child theme for Buddypress. I followed instructions in http://codex.buddypress.org/themes/building-a-buddypress-child-theme/. I created a theme folder bp-responsive inside of my WP themes folder. I created style.css inside that bp-responsive folder and pasted the following code:

    Theme Name: BuddyPress Responsive
    Theme URI: http://example.org/themes/dusk/
    Description: Child theme for BuddyPress.
    Version: 1.0
    Author: John Doe
    Author URI: http://example.org/
    Template: bp-default
    Tags: buddypress, two-column, grey, dark
    */


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

    Not sure if the last line for necessary, but even without it, it still doesn’t work.
    I uploaded this newly created folder to a server, but when go to Appearance>Themes – it shows the Broken Themes warning:
    The following themes are installed but incomplete. Themes must have a stylesheet and a template.
    Name Description
    BuddyPress Responsive The parent theme is missing. Please install the “bp-default” parent theme.

    I don’t where I’m doing wrong. Can you please point out?

Viewing 8 replies - 1 through 8 (of 8 total)
  • As the error message says – have you installed the parent theme?

    Your import path looks wrong for that stylesheet.

    More importantly are you sure you want to use the older bp-default theme or did you just land on that particular guide?

    If you want the bp-default theme to show up you may need to add this line to bp-custom.php or functions.php:
    add_filter( 'bp_do_register_theme_directory', '__return_true' );

    I would consider whether you do really want to base a theme off bp-default, it will become an unsupported theme, well is already really but just still bundled in the core package.


    Iryna_B
    Participant

    @iryna_b

    Thanks for the reply!
    Ok, now I’m really confused. I just want to create a child theme for buddypress, so that I could make changes in it and which will not be overwritten with the update of buddypress. So, what should I do?


    Iryna_B
    Participant

    @iryna_b

    Please tell me what are the right steps to do now, because I’m really confused.


    r-a-y
    Keymaster

    @r-a-y

    As of BuddyPress 1.7, you no longer need to make a child theme of bp-default to make your changes.

    Follow this guide:

    Theme Compatibility – Customizing

    This is an example of customizing the Twenty Twelve theme:

    Twenty Twelve Theme


    Iryna_B
    Participant

    @iryna_b

    Thank you for your answer!
    So let me get this clear, in order to make changes to any of BuddyPress components, I have to create a buddypress folder in my child theme folder and then upload there any files that I want to change from “wp-content/plugins/buddypress/bp-templates/bp-legacy/”? Correct or no?


    r-a-y
    Keymaster

    @r-a-y

    Correct! Let us know if you are successful in overriding a template.


    DrakeDoc
    Participant

    @drakedoc

    Thank you..was facing the same issue.
    It helped.


    Iryna_B
    Participant

    @iryna_b

    Hi @r-a-y,
    Unfortunately I wasn’t successful in overwriting a template.
    I wanted to make some changes using this tutorial http://premium.wpmudev.org/blog/how-to-create-a-custom-buddypress-members-directory/.
    I created buddypress folder in my child theme folder, uploaded members folder with members-loop.php in it and uploaded css folder with buddypress.css. Made changes according to tutorial, then uploaded to server, but nothing changed:( What am I doing wrong?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Can't create Buddypress child theme’ is closed to new replies.
Skip to toolbar