Thank you for this wonderful plugin. I use BuddyPress Activity Shortcode with the following Shortcode:
[activity-stream title=”” scope=groups max=5]
I would like to exclude some types of activities. E.g. New membership of a group.
There is an exclude attribute for the shortcodes but as fas as I understand it, the attribute only filters by a specific id given.
Is there a way to cull a specific type of activity?
Thank you for the question.
The plugin does not support excluding types(nor does BuddyPress core). You can restrict to one or more type using the “action” parameter.
You can specify them like
Here are some types for example.
activity_comment activity_update bbp_topic_create friendship_created joined_group new_avatar new_blog_post new_member updated_profile
Thank you for the fast answer. I use this shortcode:
[activity-stream title="" scope=groups max=5 action=activity_update]
It works fine. Only posts are shown now.
If somebody posts something with an image attached (I’m using mediapress), the post is not shown.
Do you know how I could include these posts with images?
The topic ‘ [Resolved] BuddyPress Activity Shortcode exclude’ is closed to new replies.