Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Newer
Older
100644 24 lines (21 sloc) 798 Bytes
briandunnigan briandunnigan
Jan 7, 2016
1
<?php
2
/**
3
Template Name: News
4
* This page template has no padding, and does not display the page title.
5
* Useful for large images, iframes, or other edge cases.
6
*/
7
8
get_header(); ?>
9
<div id="page-news">
10
<?php include get_template_directory().'/inc/sidebar-check.php';?>
11
12
<?php while ( have_posts() ) : the_post(); ?>
13
<?php include get_template_directory().'/inc/submenu-check.php';?>
14
<div class="row">
15
<div class="col-sm-<?php echo (is_active_sidebar( $sidebar )?9:12); ?>">
16
<?php get_template_part( 'content', 'blank' ); ?>
17
18
</div>
19
<?php include get_template_directory().'/inc/sidebar-if-active.php';?>
20
</div>
21
<?php include get_template_directory().'/inc/submenu-closing-tags.php';?>
22
<?php endwhile; // end of the loop. ?>
23
</div>
24
<?php get_footer(); ?>
You can’t perform that action at this time.