Skip to:

Need an extra sidebar

  • creative nomad


    I am using BeTheme which allows you to pick and choose when you want a sidebar, how many and where. However, this option doesn’t work for any buddypress and bbpress pages.

    I had someone add an fix this issue. He used this code:

    // sidebar setting for administrator member page buddypress with a custom script
    function bp_set_admin_sidebar() {
    global $bp;
    if((bp_is_profile && $bp->displayed_user->id == 1) || $bp->loggedin_user->id == 1) :
    echo “<script type=’text/javascript’>
    add_action( ‘wp_footer’, ‘bp_set_admin_sidebar’ );

    My two issues is that only I can see this sidebar, I need all members to see it. My second issue is that I want to add a left sidebar on the pages as well. I’m not sure how to go about this, what code I would need to change etc

    I tried different plugins but they don’t seem to recognise the left side bar or a place for it.

Viewing 1 replies (of 1 total)

  • Boone Gorges


    The code you’ve given does a check against the logged-in and displayed user. Remove the if and endif lines, and it should show for all members.

    For more information on how to modify your theme to show a left sidebar, you’ll want to reach out to the theme author.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar