Once it’s running.
Started 1 year, 9 months ago by: listweb
I put a block code in the head to list only the last activity, but when i enter in the http://edsonaparecido.com.br/activity/ they show me only one, and not 10.
If I remove the block of last activity in the top, in http://edsonaparecido.com.br/activity/ they list normal.
what’s wrong?
If you paste the “block of code” you added in the head at buddypress.pastebin.com, it will be made clear
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
You’ve got per_page=1
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
I put if ( bp_has_activities( ‘per_page=10′ ) ) in the activity-loop.php
Not works
Solved:
I put max=1 and not per_page=1
Then the second bp_has_activities show 10 and the first only 1
Existing and new plugins/components and themes.
Show off your BuddyPress powered sites.
Problems with getting it running.
Discuss translating BuddyPress
Everything else.
Feature requests; criticism.
Post your add-ons here.
To start connecting please log in first.
Remember Me
Think you've found a bug with the software? Please report it here (use the same login credentials).