Skip to:
Content
Pages
Categories
Search
Top
Bottom

Im Multisite , Remove SITES Fields from Profile Nav


  • luckyrajiv
    Participant

    @luckyrajiv

    Hi,

    I am running WP Multisite with Buddypress and bbPress.
    and Now , on BP profile page it adds SITES as another Field. How can i Remove that?

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

  • Renato Alves
    Participant

    @espellcaste

    Good one man… Post here if you come with the solution.


    Brajesh Singh
    Participant

    @sbrajesh

    If you guys mean the the sites from the navigation, then you can use the following code in either your theme’s functions.php or bp-custom.php

    
    function bpdev_remove_blogs_nav(){
        global $bp;
    
        bp_core_remove_nav_item($bp->blogs->id);//
    
    }
    add_action('wp_loaded','bpdev_remove_blogs_nav');
    

    Hope that helps.


    walvin
    Participant

    @walvin

    Thanks for the code @sbrajesh

    I had the same issue, so I added it to my bp-custom.php and it worked liked a charm.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Im Multisite , Remove SITES Fields from Profile Nav’ is closed to new replies.
Skip to toolbar