Tagged: activity shortcode, Admin, Hide
Hi Brajesh,
I tried every combination I could think of, but nothing seems to do the trick.
Here’s an example of what I try to achieve, guessing this makes sense to you.
[activity-stream exclude=role=”administrator” per_page=10 allow_posting=1]
Can you provide me with the right one to show all activities without the admin’s activity?
Thanks! AJ
Hello AJ,
You are doing wrong exclude=role=”administrator” here. Please try following shortcode and mention all the user role you want to display except administrator for admin. It will display activities of other users except admin
[activity-stream role=editor,author,contributor,subscriber per_page=10 allow_posting=1]
You can use the above mentioned shortcode. Please let me know if it works or not
Thank You
Ravi
You must be logged in to reply to this topic.