Skip to:
Content
Pages
Categories
Search
Top
Bottom

Problem with bp_has_activities

Viewing 6 replies - 1 through 6 (of 6 total)
  • @mercime

    Participant

    If you paste the “block of code” you added in the head at buddypress.pastebin.com, it will be made clear

    @listweb

    Member

    http://buddypress.pastebin.com/HhtxRY2n

    In the header.php the call:
    if ( bp_has_activities( ‘per_page=1’ ) ) :

    After in the activity-loop.php:
    if ( bp_has_activities( ) ) :

    But they continues only show 1

    @djpaul

    Keymaster

    You’ve got per_page=1

    @listweb

    Member

    Paul Gibbs, this code bp_has_activities( ‘per_page=1’ ) is in the header.php

    In the activity-loop.php is:
    bp_has_activities( bp_ajax_querystring( ‘activity’ ) )

    but only show 1 again

    @listweb

    Member

    I put if ( bp_has_activities( ‘per_page=10’ ) ) in the activity-loop.php

    Not works

    @listweb

    Member

    Solved:

    I put max=1 and not per_page=1

    Then the second bp_has_activities show 10 and the first only 1

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem with bp_has_activities’ is closed to new replies.
Skip to toolbar