Implementing Activity Streams on Home Page
I am trying to add the Activity Stream to my Home Page at http://soaringcafe.staging.wpengine.com using the code found here: http://codex.buddypress.org/developer/loops-reference/the-activity-stream-loop/
Here is my code:
here 1</br> <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?> here 2</br> <?php while ( bp_activities() ) : bp_the_activity(); ?> here 3</br> <?php locate_template( array( 'activity/entry.php' ), true, false ); ?> <?php endwhile; ?> <?php endif; ?>
The code logic seems to work but I am not getting any output. (you can see the Here 1, Here 2 … text displaying.
Thoughts on what I am doing wrong?
You must be logged in to reply to this topic.