<div class="communityally-favourites-title">
	<?php echo _x( 'Favorites', 'Profile activity screen sub nav', 'buddypress' ) ?>
</div>

<div id="activity-stream" class="activity single-user communityally-shortcode-activity-stream communityally-shortcode-element" data-bp-list="activity">
	<ul class="activity-list item-list bp-list">
	<?php
$r = array(
	'user_id' => $display_user_id,
	'scope' => 'favorites',
);
if ( bp_has_activities( $r )) :
?>

	<?php
	while ( bp_activities() ) :
		bp_the_activity();
	?>

		<?php bp_get_template_part( 'activity/entry' ); ?>

	<?php endwhile; ?>

<?php else : ?>

	<aside class="bp-feedback bp-messages info">
		<span class="bp-icon" aria-hidden="true"></span>
		<p><?php esc_html_e('Favorite a post to see it here!', 'communityally'); ?></p>
	</aside>

<?php endif; ?>

	</ul>
</div><!-- .activity -->
