Last active
August 29, 2015 14:12
-
-
Save themeblvd/95ea037720d257a506f2 to your computer and use it in GitHub Desktop.
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: Example | |
*/ | |
get_header(); | |
?> | |
<div id="sidebar_layout" class="clearfix"> | |
<div class="sidebar_layout-inner"> | |
<div class="row grid-protection"> | |
<!-- CONTENT (start) --> | |
<div id="content" class="<?php echo themeblvd_get_column_class('content'); ?> clearfix" role="main"> | |
<div class="inner"> | |
<?php themeblvd_content_top(); ?> | |
<div class="featured-page-image"> | |
<?php | |
if ( has_post_thumbnail() ) { | |
the_post_thumbnail('large-featured'); | |
} else { | |
echo '<img src="' . get_stylesheet_directory_uri() . '/assets/images/feature-sample.png" />'; | |
} | |
?> | |
</div> | |
<div class="row"> | |
<div class="col-sm-8"> | |
<?php while ( have_posts() ) : the_post(); ?> | |
<?php get_template_part( 'content', themeblvd_get_part( 'page' ) ); ?> | |
<?php themeblvd_page_footer(); ?> | |
<?php if ( themeblvd_supports( 'comments', 'pages' ) ) : ?> | |
<?php comments_template( '', true ); ?> | |
<?php endif; ?> | |
<?php endwhile; ?> | |
</div> | |
<div class="col-sm-4 fixed-sidebar"> | |
<?php themeblvd_display_sidebar( 'sidebar_right' ); ?> | |
</div> | |
</div> | |
<?php themeblvd_content_bottom(); ?> | |
</div><!-- .inner (end) --> | |
</div><!-- #content (end) --> | |
<!-- CONTENT (end) --> | |
<!-- SIDEBARS (start) --> | |
<?php get_sidebar( 'left' ); ?> | |
<!-- SIDEBARS (end) --> | |
</div><!-- .grid-protection (end) --> | |
</div><!-- .sidebar_layout-inner (end) --> | |
</div><!-- .#sidebar_layout (end) --> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment