Skip to:
Content
Pages
Categories
Search
Top
Bottom

Activity loop, show only activity_update by single group


  • suris
    Participant

    @suris

    Buddypress version: 2.3.2.1
    Wordpress version: 4.2.10
    Theme: Kleo

    I’m using the activity loop for show the groups activity_update with this parameters:


    $params = array(
    'scope' => 'groups',
    'object' => 'groups',
    'action' => 'activity_update'
    );

    if ( bp_has_activities( bp_ajax_querystring( 'activity' ). '&' .http_build_query($params) ) ) :

    All works ok, but now i want to show only one group per comment.
    In other words, show the last activity update of every group and no repeat groups in a loop.

    ¿How can i do that?

    Thank’s

Viewing 1 replies (of 1 total)

  • suris
    Participant

    @suris

    Finally i decide use ‘groups loop’ and find the last activity of specific group in database.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar