Skip to:
Content
Pages
Categories
Search
Top
Bottom

Multiple Activity Loops – Activity not being inserted

  • Are you able to create multiple buddypress activity loops? For example have the normal activity loop (activity-loop.php) and also create a second activity group (activity-loop-blogs.php) with all the same code except I want to filter each differently.
    In the first activity loop I want the action to be:
    if ( bp_has_activities( ‘action=activity_update,friendship_accepted,friendship_created,new_member’) ) : bp_the_activity();

    And in the second activity loop I want the action to be:
    if ( bp_has_activities( ‘action=new_blog_post’) ) : bp_the_activity();

    I actually already did the above and thought it was working but now I am having some problems with new activity feeds not being inserted into the stream until an even newer one is inserted (if that makes sense), so now I’m trying to backtrack and figure out what I might have done to mess it up.

    Thanks

  • The topic ‘Multiple Activity Loops – Activity not being inserted’ is closed to new replies.
Skip to toolbar