Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove Sidebar from Profile Page(s)


  • Alice Kaye
    Participant

    @alice-kaye

    Hi guys!

    I’m using Aggregate by Elegant Themes. I’ve managed to turn most of the pages I need to, into full-width, but I can’t figure out a way to get full-width profile pages themselves.

    Can anyone tell me what I need to do? I can of course copy my page-full.php and copy it over where I need to, but I don’t know what file I would need to replace with this new page.

    Any help is much appreciated!

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

  • danbp
    Moderator

    @danbp

    hi @alice-kaye,

    this needs you to create a child theme first. So you can remove or add some conditionnals for get_sidebar() Most of theme’s come with a sidebar.php file, see in the theme doc how to handle this.

    Theme Compatibility – Customizing


    Alice Kaye
    Participant

    @alice-kaye

    I have a child theme set up, thankfully.

    Thank you for that link! Hopefully I can get this sorted out. 😀


    Alice Kaye
    Participant

    @alice-kaye

    Is there a way to make it so that there are multiple options for full-width and some with sidebar?

    For instance, I’d love to have a sidebar on members, activity, etc. But on the actual user profiles themselves, I’d like to remove the sidebar.

    And oi! There sure are a lot of files for templates. I’m having trouble finding the one that would be used for User Profiles. 😐

    Everything I’ve read says I should be looking for buddypress.php, but I don’t seem to have that file and none of the files I’ve looked in seem to have get_sidebar(). Hm.


    Alice Kaye
    Participant

    @alice-kaye

    Okay, so… I’ve got a page that was called page-full.php that worked for me with bbpress, and it works if I change it to buddypress.php.

    However, I really only want this for the user profile, not the other pages, so if someone knows what the user profile’s .php page is called, then that would solve my issue. Because I would like sidebars on some of the BuddyPress pages, just not all of them.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove Sidebar from Profile Page(s)’ is closed to new replies.
Skip to toolbar