Skip to:
Content
Pages
Categories
Search
Top
Bottom

Activity Header help?

  • Avatar of hitkid
    hitkid
    Participant

    @hitkid

    Hi guys,

    I’m trying to strip the activity hearder to just name of the topic/the group. I know the function in the entry.php <?php bp_activity_action(); ?>

    I’ve been reading how to pull this off in a really old thread, but it doesn’t seem to work. Can anyone help better explain this to me?

    http://buddypress.org/support/topic/trying-to-alter-layout-of-bp_activity_action/

    The main method I tried was

    function remove_activity_meta( $content ) {
    
    return '';
    
    }
    
    add_filter( 'bp_activity_permalink', 'remove_activity_meta' );
    
    add_filter( 'bp_activity_time_since', 'remove_activity_meta' );
    
    add_filter( 'bp_activity_delete_link', 'remove_activity_meta' );
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.