Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
business/page-user-profile.php
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
38 lines (34 sloc)
960 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Template Name: User Profile | |
* The Template for displaying user profiles | |
*/ | |
get_header(); | |
?> | |
<div id="page-user-profile"> | |
<?php while ( have_posts() ) : the_post(); ?> | |
<div class="row"> | |
<div class="col-sm-<?php echo (is_active_sidebar( $sidebar )?9:12); ?>"> | |
<div class="row"> | |
<div class="col-sm-3"> | |
<?php uup_display_user();?> | |
</div> | |
<div class="col-sm-9"> | |
<div id="primary" class="content-area"> | |
<main id="main" class="site-main" role="main"> | |
<?php get_template_part( 'content', 'uup' ); ?> | |
<?php | |
// If comments are open or we have at least one comment, load up the comment template | |
if ( comments_open() || '0' != get_comments_number() ) : | |
comments_template(); | |
endif; | |
?> | |
</main> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<?php endwhile; // end of the loop. ?> | |
</div> | |
<?php get_footer(); ?> |