Hello team,
I want a right sidebar on only buddy press pages for one of my sites. The rest of the site needs to be full width, because if it is not, the sidebar also shows up in places where I do not want it.
How can I achieve this? I found this piece of code below that I put into my child theme under,
but it does not work, I am using Ethos and this was made for the Renew stack, so maybe that is why it does not show? Could you please help me out? I have been at this one particular thing for many hours and it is just not working.
This is the code:
<?php
// =============================================================================
// VIEWS/RENEW/WP-BUDDYPRESS.PHP
// -----------------------------------------------------------------------------
// BuddyPress output for Renew.
// =============================================================================?>
<?php get_header(); ?>
**
****
******** <?php while ( have_posts() ) : the_post(); ?>**
** <?php x_get_view( 'global', '_content', 'buddypress' ); ?>**
** <?php endwhile; ?>****
** **
**
<?php get_footer(); ?>
This is the topic where I found the code:
https://theme.co/archive/forums/topic/buddypress-sidebar/
I am also adding my credentials in a note.
Thank you,
Liesje