have() ) : ?>
have() ) :
$activities->the_object();
// Shows date and time for timeline.
$activities->the_when();
/**
* Load activity item. Here we are not using `get_template_part()` because
* we wants to let template easily access PHP variables.
*/
include ap_get_theme_location( 'activities/activity.php' );
endwhile;
?>
have_pages() ) :
?>