?>
				<?php 
do_action('bp_before_member_places_body');
?>

				<div class="activity single-member" role="main">
					<?php 
bp_checkins_load_template_choose('bp-checkins-places-loop');
?>
				</div><!-- .activity.single-group -->

				<?php 
do_action('bp_after_member_places_body');
?>

			</div><!-- #item-body -->

			<?php 
do_action('bp_after_member_places_content');
?>

<?php 
if (bp_checkins_is_bp_default()) {
    ?>
		</div><!-- .padder -->
	</div><!-- #content -->

<?php 
    get_sidebar('buddypress');
    get_footer('buddypress');
}
Exemplo n.º 2
0
function bp_checkins_locate_template_choose($template = false)
{
    if (empty($template)) {
        return false;
    }
    if (bp_checkins_is_bp_default()) {
        locate_template(array($template . '.php'), true);
    } else {
        bp_get_template_part($template);
    }
}