Skip to:
Content
Pages
Categories
Search
Top
Bottom

Getting The Number Of Activities

  • @luca-foss

    Member

    Hello everyone..I’m trying to use a conditional statement that creates a “next” and “previous” page link, “if” the number of activities exceeds a certain number. I’ve tried a few ways which I think should work but it’s not for some reason. Here’s what I have so far.

    `activity_count; if ( $act_number > 5 ) : ?>

    `

    I’ve also tried `bp_get_activity_count()`, but when that didn’t work, I just pulled the global variable out of the function…any idea on how to do this?

  • The topic ‘Getting The Number Of Activities’ is closed to new replies.
Skip to toolbar