BuddyPress Template Pack, Commercial WordPress Themes

MusicLife Theme, Fthemes

STEP 3 of the BuddyPress Template Pack plugin compatibility process.

You need to create two new files, header-buddypress.php and sidebar-buddypress.php

If you’ve revised any of the BP template files transferred to your musiclife theme folder in server during the BP Compatibility process, please delete the 6 BP folders transferred to your musiclife theme folder in server – /activity, /blogs, /forums, /members, /groups, /register – then re-run Appearance > BP Compatibility again to make sure that you have clean template files.

A. COPY your theme’s header.php and Save As > header-buddypress.php

Open up header-buddypress.php and at the BOTTOM of the file, below other code contained within, add this:

<div id="main" class="span-24">
<div id="primary-sidebar-wrap" class="span-4">
<?php get_sidebars('primary'); ?>
</div><!-- #primary-sidebar-wrap -->
<div id="content-wrap" class="span-13">
<div class="content">
<div class="post-wrap post-wrap-page">
<div <?php post_class('post clearfix'); ?> id="post-<?php the_ID(); ?>">
<div class="entry clearfix">

Save file.

B. CREATE a blank sidebar-buddypress.php file

Open up sidebar-buddypress.php and add the following:

<div id="secondary-sidebar-wrap" class="span-7 last">
<?php get_sidebars('secondary'); ?>
`<?php if ( bp_is_register_page() ) : ?>
        <script type="text/javascript">
                jQuery(document).ready( function() {
                        if ( jQuery('div#blog-details').length && !jQuery('div#blog-details').hasClass('show') )
                        jQuery( 'input#signup_with_blog' ).click( function() {
<?php endif; ?>

Save file.

C. Upload header-buddypress.php and sidebar-buddypress.php to your theme folder in server wp-content/themes/musiclife/ in the same directory where your regular header.php and sidebar.php files are

D. Copy the style modifications made in BP Twenty Ten to bottom of your theme’s stylesheet http://codex.buddypress.org/legacy/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ Adjust to taste.

About these ads