Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I need to remove the forum-tab in user profile pages. I have tried alot of things but no result. I do not want to do it by css.

Tried this: http://www.themightymo.com/2012/01/26/how-to-add-remove-and-change-the-order-of-buddypress-component-menu/ but no luck. Any advice?

Thank you in advance, Emily

share|improve this question

closed as off-topic by toscho Aug 2 at 20:42

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

    
Could you add the actual code you have tried? –  toscho Nov 29 '12 at 14:07

1 Answer 1

try this:

function my_setup_nav() {
    global $bp;

    // this cause errors if your not logged-in.
    // $bp->bp_nav['conversations'] = false;

    // use this instead:
    unset($bp->bp_nav['conversations']);
}

add_action( 'bp_setup_nav', 'my_setup_nav', 1000 );
share|improve this answer
    
Hi, and thank you for response. Code has no effect unfortunately. Nothing happens at all. Using bbpress theme from bbp-theme-compat. Any idea what could be wrong? –  Emily Nov 29 '12 at 15:29

Not the answer you're looking for? Browse other questions tagged or ask your own question.