Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
41 lines (38 sloc) 1.12 KB
<?php
/*
Template Name: User Profile
* The Template for displaying user profiles
*/
get_header();
?>
<div id="page-user-profile">
<?php include('inc/sidebar-check.php')?>
<?php while ( have_posts() ) : the_post(); ?>
<?php include('inc/submenu-check.php')?>
<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 subpage">
<main id="main" class="site-main" role="main">
<?php get_template_part( 'content', 'page' ); ?>
<?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>
<?php include('inc/sidebar-if-active.php')?>
</div>
<?php include('inc/submenu-closing-tags.php')?>
<?php endwhile; // end of the loop. ?>
</div>
<?php get_footer(); ?>
You can’t perform that action at this time.