Support » Theme: Forefront » cant change sidebar layout

  • Resolved sagiet


    Super theam 🙂 i love this.
    can you plz help my, when i change the sidebar layout for buddypress pages noting happened.

    • This topic was modified 2 years, 7 months ago by sagiet.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Tom


    Glad you like it!

    For BuddyPress, you may need to use a function:

    For example:

    add_filter( 'generate_sidebar_layout','tu_custom_buddypress_sidebar_layout' );
    function tu_custom_buddypress_sidebar_layout( $layout )
     	// If we are on a buddypress page, set the sidebar
     	if ( function_exists( 'is_buddypress' ) && is_buddypress() ) {
     	 	return 'both-left';
     	// Or else, set the regular layout
     	return $layout;

    Adding PHP:

    Hope this helps 🙂

    Tnx for your quick reply:)
    adding this if some one else are having same prop 🙂
    I found out that buddypress treat the pages of user and member as an blog ore post.
    And I need to change them in Admin -> appearence -> customize -> layout.

    Sorry for not telling you before and tanx for taking the time to help..
    Do love your theme.

    Theme Author Tom


    No problem! Glad you found a solution 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘cant change sidebar layout’ is closed to new replies.