Skip to:
Content
Pages
Categories
Search
Top
Bottom

add updates and new members activity filters as sub nav


  • nella1980
    Participant

    @nella1980

    Hi there,

    I would like to add the activity filter for updates and new members in the subnav on the activity wall next to All Members, Following, My likes, Mentions, RSS.

    I have the items in the submenu using the following code:
    function bp_myadd_tabto_mainactivity() {
    echo ‘<li id=”activity-new-members”>New Members‘;
    }
    add_action( ‘bp_activity_type_tabs’,’bp_myadd_tabto_mainactivity’);

    function bp_myadd_tabto_mainactivity2() {
    echo ‘<li id=”activity-updates”>Updates‘;
    }
    add_action( ‘bp_activity_type_tabs’,’bp_myadd_tabto_mainactivity2′);

    How do I get the stream to show when the link is clicked?

  • You must be logged in to reply to this topic.
Skip to toolbar