Skip to:

Re: WordPress Theme with BP 1.1




A lot about what you’re trying to achive is said here:

Otherwise, I myself am trying to get a step by step procedure to integrate BuddyPress as a section of a “normal” website, that is not full BuddyPress based.

So far, form my experiments with theaming and integrating I can say:

1) Delete all the files from “bp-sn-parent” that are already in your WP Theme (header.php, footer.php, index.php, …). Leave just all sub-directories and “optionsbar.php”, “userbar.php”, “plugin-template.php”, “style.css.

2) Copy this at the bottom of “header.php” (WP Theme):

<?php if ( !bp_is_blog_page() && !bp_is_directory() && !bp_is_register_page() && !bp_is_activation_page() ) : ?>

<?php locate_template( array( ‘userbar.php’ ), true ) /* Load the user navigation */ ?>

<?php locate_template( array( ‘optionsbar.php’ ), true ) /* Load the currently displayed object navigation */ ?>

<?php endif; ?>

3) In the header (comments) of the “style.css” in “bp-sn-parent” theme write this:

Template : your-wp-theme-name

…so you make this theme a child of your WP Theme, right?

4) Activate the “bp-sn-parent” theme in the backend, under “Site Admin/Themes”, then activate it under “Apperance/Themes”.

This will be the theme ofor the whole site, but it’ll call all the WP theme templates when no BuddyPress functions are needed. It’s a reverse way of doing the integration. I think it’s better.

This procedure makes a lot of what you need, I think. Like, it gets your WP Theme working as it should and it “calls” the BuddyPress into play only when needed.

But, I need to warn you that I am still struggling with styling (or skinning) the BP theme.

So, I am still on it. But maybe it was worthing sharing already what I got so far, so that other may take it from there.

Hope it helps…

Skip to toolbar