Save file.
Re: Making Denizen Theme Compatible with Buddypress
@udotorg Based on initial scan, to make your theme compatible with BuddyPress, you only 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 evolution theme folder during the BP Compatibility process, please delete the 6 BP folders transferred to your denizen 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 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:
`<?php
$sidebar_layout=get_post_meta($post->ID,’kaya_pagesidebar’,true);
$img_width=kaya_image_width($post->ID);
//sidebar class
$aside_class=($sidebar_layout== “leftsidebar” ) ? ‘one_third’ : ‘one_third_last’;
?>
<div id="post-” >