oh sorry:
I’m using the7.2 from themeforrest.
They’ve sent me some snippets to include in the themes functions.php, but I don’t know if I’ve included them correctly. But after including them, I had the sidebar on several pages (e.g. the member-subpages), but still missing on
- all groups
- single group
- members list (first page)
- group list (first page)
- activity list (first page)
They said it was a kind of “blueprint”, so I added the lines – without really understanding what I’m doing. As a result, it seems to work on some pages – but not on all:
function dt_bbypress_template_config1()
{
if( is_bbpress() )
{
$pagid = 35615; //sidebar, footer settings of the page id given will be applied to user profiles
$config = presscore_get_config( );
presscore_config_base_init( $pagid );
}
}
add_action( ‘get_header’, ‘dt_bbypress_template_config1’, 10 );
function dt_buddypress_template_config2()
{
if( bbp_is_single_user() ){
$pagid = 35615; //sidebar, footer settings of the page id given will be applied to user profiles
$config = presscore_get_config( );
presscore_config_base_init( $pagid );
}
}
add_action( ‘get_header’, ‘dt_buddypress_template_config2’, 10 );
function dt_bbypress_template_config3()
{
if( is_bbpress() )
{
$pagid = 35609; //sidebar, footer settings of the page id given will be applied to user profiles
$config = presscore_get_config( );
presscore_config_base_init( $pagid );
}
}
add_action( ‘get_header’, ‘dt_bbypress_template_config3’, 10 );
function dt_buddypress_template_config4()
{
if( bbp_is_single_user() ){
$pagid = 35609; //sidebar, footer settings of the page id given will be applied to user profiles
$config = presscore_get_config( );
presscore_config_base_init( $pagid );
}
}
add_action( ‘get_header’, ‘dt_buddypress_template_config4’, 10 );