Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Buddypress adding default sidebar to pages – would like to choose other sidebar or make f

  • Avatar of mosaicrob
    mosaicrob
    Member

    @mosaicrob

    Hi Guys, how are ya?

    I’m running wp 3.3.1 and the buddypress 1.5.4. It’s a new install.

    My question is how can I choose which sidebars are shown on certain buddypress pages? Out of the box, it seems to be pulling my theme’s default sidebar and putting it everywhere.

    Or, another option is can I remove the sidebar from some of the buddypress pages? My themes default page does not have a sidebar (it’s full width). Is it possible to do this on specific buddypress pages??

    Thank you for your support guys!!

    Your work is awesome and inspiring!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @mosaicrob If you’re still using the Insignio theme where we changed 16 template files in this thread, then yes, you can make any of them left sidebar or right sidebar or full width.

    For example, you want to make all the Groups Directory Page (groups/index.php) and Members Directory Page (members/index.php) use Full Page Layouts, instead of using the replacement codes I posted in that thread …

    At the top of those two files, change replacement to:
    `

    `

    At the bottom of those two files, change replacement to
    `

    `

    Avatar of mosaicrob
    mosaicrob
    Member

    @mosaicrob

    Hi @mercime,

    This didn’t appear to make a change. I edited the members/index.php, groups/index.php, and the /members/single/home.php files, uploaded them and the layout is the same on all 3 pages. Confused….

    Can see @ http://irsu.co/thegreatestgift/members
    http://irsu.co/thegreatestgift/members/mosaicrob/

    http://irsu.co/thegreatestgift/groups

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    Maybe I wasn’t clear with the instruction. I checked your site and you haven’t changed the top and bottom areas of for example, the members directory page per my post above.

    This is what your members/index.php should look like http://pastebin.com/ivQ5Nnhu
    Note the first three lines (after page doc ? >) and the very last three lines of what I posted above – just like what I posted here. Since there’s no call for get_sidebar anywhere, the sidebar won’t show up.

    Avatar of mosaicrob
    mosaicrob
    Member

    @mosaicrob

    thank you for your patience with this @mercime,

    I’m confused as I just triple checked and I seem to have made all the adjustments you originally asked. I must be missing something.

    Ok here is a copy of my members/index.php:

    http://pastebin.com/JbbKJagQ

    I’ve put it public_html/thegreatestgift/wp-content/plugins/buddypress/bp-themes/bp-default/members/index.php

    The resulting page is here: http://irsu.co/thegreatestgift/members

    It still has a sidebar… I’m not sure where I’ve gone off target…. confused.

    Avatar of mosaicrob
    mosaicrob
    Member

    @mosaicrob

    And you are correct, the string “get_sidebar” is not found anywhere. Could something in another folder be at work?

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    == I’ve put it public_html/thegreatestgift/wp-content/plugins/buddypress/bp-themes/bp-default/members/index.php ==

    Not there. You should replace the code with the sidebar you already had for members directory page per our work in the other topic. In other words, the code I posted in pastebin should be in wp-content/themes/insignio/members/index.php

    Avatar of mosaicrob
    mosaicrob
    Member

    @mosaicrob

    ahhhh! thank you again, that was it : )

    I appreciate it @mercime. I’ve really been learning alot from your help.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    You’re welcome. Marking this as resolved.

Viewing 8 replies - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.