Re: Trying to alter layout of bp_activity_action()
No idea if this is useful, but I’ll post it for reference.
You can remove the meta links and time since in the activity_action via a filter (put the functions in your functions.php of your theme):
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' );
You can then add the time since wherever you want using:
<?php echo bp_core_time_since( bp_get_activity_date_recorded() ) ?> ago