Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Convert a WordPress Theme to a BuddyPress Theme


widgetlaboratory
Participant

@widgetlaboratory

We’ve just finished converting the WooThemes “Headlines” template, and it is well suited for Buddypress. You can see it at http://LabSecrets.com

We found that this template required us to modify the structure and add some new css. Once we did this, it was easy-enough (though just required the time to copy/paste) to replicate across the rest of the theme.

Probably going to try this next on the “Canvas” theme. This time might try to see if there is a way to do it without changing the id labels or adding extra div-tags (but not likely given the fact that the “container” and “content” div’s are used 2x, thereby necessitating the name changes for the inner (they’re used once by woo and then once again in the bp default template….which makes the css problematic….sigh…)

Here are the structures we modified (using group folder as the example):

TOP OF THE PAGE:

<?php get_header() ?>

<div id=”container2″ class=”col-full”>

<div id=”content2″ class=”col-left”>

BODY OF PAGE….CONTENT HERE… OMITTED….

BOTTOM OF THE PAGE:

</div><!– #content2 –>

<?php do_action( ‘bp_after_directory_groups_content’ ) ?>

<div id=”sidebar” class=”col-right”>

<?php locate_template( array( ‘sidebar.php’ ), true ) ?>

</div><!– #sidebar –>

</div><!– #container2 –>

<?php get_footer() ?>

Skip to toolbar