BuddyDev

Search

[Resolved] Exclude comments in BuddyPress Activity Shortcode plugin

  • Participant
    Level: Enlightened
    Posts: 39
    Tiziano on #28459

    Hello,

    on my website users can also publish posts and comment eachother. Using this shortcode I’m able to show posts they publish and hide their comments: [activity-stream title=0 object=blogs display_comments=0 load_more=1 per_page=10]. The problem is that when users post a comment, the comment itself is showen in activity stream (please see attached screenshot: https://prnt.sc/rqzi86).

    How can I hide this activity?

    Thanks for your support.
    Kind regards
    Tiziano

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2459
    Ravi on #28462

    Hello Tiziano,

    Thank you for posting. You can use ‘action=new_blog_post’ in your shortcode to list only new blog post activity in your activity listing. Please let me know it works or not.

    Regards
    Ravi

  • Participant
    Level: Enlightened
    Posts: 39
    Tiziano on #28463

    Hello Ravi,

    It works fine. Thank you!!

    Kind regards
    Tiziano

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2459
    Ravi on #28464

    Thank you for acknowledgement. I am glad that I could help.

    Regards
    Ravi

You must be logged in to reply to this topic.

This topic is: resolved