Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: [Resolved] Buddypress activity always jumps to TOP

@millir

Participant
function wwn_bp_activities( ) {
		ob_start();
		if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . 'per_page=5' ) ) :
			echo "<ul id=\"activity-stream\" class=\"activity-list item-list\">";
			while ( bp_activities() ) : bp_the_activity();
				locate_template( array( 'activity/entry.php' ), true, false );
			endwhile;
			echo "</ul>";
		endif;
		ob_end_clean();
	}

I tried it but everything in locate_template( array( ‘activity/entry.php’ ), true, false ); doesnt display. No site activity is displayed. I only get the

    fields as output
Skip to toolbar