Comfy Pro Theme, Deluxe Themes

STEP 3 of the BuddyPress Template Pack plugin compatibility process.

You only need to create two new files, header-buddypress.php and sidebar-buddypress.php to make your theme compatible with BP.

If you’ve revised any of the BP template files transferred to your comfy-pro theme folder in server during the BP Compatibility process, please delete the 6 BP folders transferred to your comfy-pro 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="bigcolumn">
<div class="page-all">
<div class="page-top">
<div class="containerI">
<div class="sitenav">
<a href="<?php bloginfo('url'); ?>"><?php _e('Home','cmfy'); ?></a>&nbsp;&nbsp;&raquo;&nbsp;&nbsp;<?php single_post_title(); ?>
<div class="bigdiv">
<div id="post-<?php the_ID(); ?>" class="post">

Save file.

B. CREATE a new file named sidebar-buddypress.php

Open up sidebar-buddypress.php and paste the following in your blank file:

<div class="page-bottom"></div>
<div class="clear"></div>
<?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; ?>
<?php deluxe_sidebar(); ?>

Save file.

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

D. Final note: Copy the style modifications for some BP elements and paste those at the bottom of your theme’s stylesheet, then adjust to taste.


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s