ASong2U_Web/wp-content/themes/score/dedications/index.php

63 lines
1.6 KiB
PHP

<?php
/**
* BuddyPress - Dedications
*/
?>
<?php global $bp, $post, $gp_settings; ?>
<?php get_header( 'buddypress' ); ?>
<div id="content<?php if ( !bp_is_current_action( 'new-dedication' ) ) { ?> fullwidth<?php } ?>">
<div class="padder">
<?php do_action('bp_before_member_plugin_template'); ?>
<?php if (bp_displayed_user_id() != bp_loggedin_user_id()) { ?>
<div id="item-header">
<?php locate_template(array('members/single/member-header.php'), true); ?>
</div> <!-- #item-header -->
<?php } ?>
<div id="item-nav">
<div class="item-list-tabs no-ajax" id="object-nav" role="navigation">
<ul>
<?php bp_get_displayed_user_nav(); ?>
<?php do_action( 'bp_member_options_nav' ); ?>
</ul>
</div>
</div><!-- #item-nav -->
<div id="item-body" role="main">
<?php do_action( 'bp_before_member_body' ); ?>
<div class="item-list-tabs no-ajax" id="subnav">
<ul>
<?php bp_get_options_nav(); ?>
<?php do_action( 'bp_member_plugin_options_nav' ); ?>
</ul>
</div><!-- .item-list-tabs -->
<h3><?php do_action( 'bp_template_title' ); ?></h3>
<?php do_action( 'bp_template_content' ); ?>
<?php do_action( 'bp_after_member_body' ); ?>
</div><!-- #item-body -->
<?php do_action( 'bp_after_member_plugin_template' ); ?>
</div><!-- .padder -->
</div><!-- #content -->
<?php get_sidebar( 'buddypress' ); ?>
<?php get_footer( 'buddypress' ); ?>