@mixa
13 years, 10 months ago
@apeatling
“Andy Peatling said 8 months, 4 weeks ago: 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’ );
“Andy Peatling said 8 months, 4 weeks ago: 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’ );
@jordashtalon how i can get post name, post url & other as you did it for the author name ($authorName = $activities_template->activities[$i]->display_name;)?
How I can modify bp_activity_action to show only post title & author?
Update How I can in this
if ( bp_has_activities( ‘action=new_blog_post&per_page=3&display_comments=none;’) ) : bp_the_activity();
exclude posts from main blog?
How can I limit the number of words or characters in a post-except?
15 years, 10 months ago
burtadsit, thank you!