Skip to:
Content
Pages
Categories
Search
Top
Bottom

how to edit activity stream with php


  • Steve
    Participant

    @aksteve

    Found a nice article on how to get some control over the activity stream on my site. But I really don’t know php that well. I have created the activity-loop.php in my child theme. Here is the code I found to help limit the stream. But the syntax is wrong. I am sure it is something simple do due with the syntax… How to I fix this code?

    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ).'&object=groups,profile,status,blogs' ) ) : ?>
    
    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ).'&object=groups,friends,status,blogs' ) ) : ?>
    
    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ).'&max=5' ) ) : ?>
  • You must be logged in to reply to this topic.
Skip to toolbar