Dispay last 5 posts using bp_activities on footer (all inner pages)
I have noticed that when I paste following code into footer.php
if ( bp_has_activities(‘max=5&action=new_forum_post’) ) :
while ( bp_activities() ) : bp_the_activity();
locate_template( array( ‘activity/entry.php’ ), true, false );
…then it works fine on all pages except group pages. When I go to single group page then it’s just invisible. Do you know why?
- The topic ‘Dispay last 5 posts using bp_activities on footer (all inner pages)’ is closed to new replies.