display only one group activity stream on homepage.
-
Hello,
I would like to show one of my groups activity stream on homepage
<?php if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ) .’&secondary_id=spot-landrezac’) ) : ?>So I duplicated activity/activity-loop.php to create activity/activity-loop-hp.php and in this one I changed (Homepage is calling this second version).
<?php if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ) ) ) : ?>
to
<?php if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ) .’&group_id=3′) ) : ?>The result is still the whole activity. How should I specify this particular group?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘display only one group activity stream on homepage.’ is closed to new replies.