Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Remove Sidebar B not A

  • Profile photo of mgrmn
    mgrmn
    Participant

    @mgrmn

    Trying to remove just one sidebar, when trying to set the page template in wp page attributes BP keeps on showing those sidebars,

    Can anybody please tell me how to get rid of sidebar B not A
    See image http://postimg.org/image/i20ovb6ep/

    Templates uses this for sidebars`if( ( $vlt_layout_order == ‘CAB’ || $vlt_layout_order == ‘BCA’)) {
    get_sidebar(‘a’);
    }
    if( ( $vlt_layout_order == ‘CAB’ || $vlt_layout_order == ‘ACB’ || $vlt_layout_order == ‘CBA’)) {
    get_sidebar(‘b’);
    }
    if( ( $vlt_layout_order == ‘CBA’) ) {
    get_sidebar(‘a’);
    }`

    tried editing /var/www/wp-content/plugins/buddypress/bp-themes/bp-default/members/index.php and single/home.php by changing get_sidebar('buddypress') to get_sidebar('b'); for example and even removed it completely, but no change at all? which files should i edit to get desired result.

    WP 3.5.2 / BP 1.7.2

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Remove Sidebar B not A’ is closed to new replies.
Skip to toolbar