BuddyDev

Search

Activity shortcode options

  • Participant
    Level: Enlightened
    Posts: 72
    Vivek Mathur on #27753

    Hi, I want to use the activity shortcode to display only some new posts in custom post types. WHat is the action option i need to add for this? e.g i am using some CPTs which i have made in Geodirectory, and the ativities are being created for these. I want to show only the new listings in one page, so need to filter that option

    Secondly, can i EXCLUDE posts by some user_ids or does that work only with include?

    thanks,
    Vivek

  • Participant
    Level: Enlightened
    Posts: 72
    Vivek Mathur on #27878

    Hi Brajesh/Ravi – just following up on this please, for suggestions. thanks.

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #27880

    Hi Vivek,
    I am sorry I missed it earlier.

    1. Yes, It is possible to limit to new posts by using activity action but you will not be able to filter(Unless the plugin adds their own type).

    By default the type is ‘new_blog_post’.

    Please consult with geodir plugin team and see if they are adding their own specific activity type, If yes, you can use them.

    2. Limiting to certain user ids. Please use the ‘role’ parameter for this. Currently, we do not have the option to exclude.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 72
    Vivek Mathur on #27881

    Thanks very much, Brajesh.

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #27891

    You are welcome.

You must be logged in to reply to this topic.

This topic is: not resolved