Skip to:
Content
Pages
Categories
Search
Top
Bottom

Dispay last 5 posts using bp_activities on footer (all inner pages)


  • Diabolique
    Participant

    @diabolique

    Hi,

    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 );
    endwhile;
    endif;

    …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?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dispay last 5 posts using bp_activities on footer (all inner pages)’ is closed to new replies.
Skip to toolbar