Buddypress plugin theme error
This is for the buddypress add-on (plugin), which theme I can't do. I have searched many sites but could not get a specific solution. On the plugins page, the header becomes broken if its buddypress theme but works fine in default word themes. I am using this code currently at the top of the template page
<?php get_header('buddypress'); ?>
<div id="buddypress">
<div id="profile">
<div class="row">
The more things like
<?php do_action( 'bp_before_member_home_content' ); ?>
<div id="item-header" role="complementary">
<?php bp_get_template_part ( 'members/single/member-header' ) ?>
</div><!--#item-header-->
I believe this is the wrong way to do it. I want to know if the plugin should copy the header of the buddypress template without breaking the footer or sidebar, how can this be done. ie my plugin should only show the plugin content and shouldn't bother any part of the buddypress template.
+3
source to share