BuddyDev

Search

[Resolved] [ACTIVITY SHORTCODE] Hide admin activity on activity stream

  • Participant
    Level: Enlightened
    Posts: 39
    AJ on #20502

    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

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on #20504

    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

  • Participant
    Level: Enlightened
    Posts: 39
    AJ on #20522

    Thanks Ravi,

    works perfectly!
    AJ

You must be logged in to reply to this topic.

This topic is: resolved