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?
neag/page-news.php
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
24 lines (21 sloc)
798 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: News | |
* This page template has no padding, and does not display the page title. | |
* Useful for large images, iframes, or other edge cases. | |
*/ | |
get_header(); ?> | |
<div id="page-news"> | |
<?php include get_template_directory().'/inc/sidebar-check.php';?> | |
<?php while ( have_posts() ) : the_post(); ?> | |
<?php include get_template_directory().'/inc/submenu-check.php';?> | |
<div class="row"> | |
<div class="col-sm-<?php echo (is_active_sidebar( $sidebar )?9:12); ?>"> | |
<?php get_template_part( 'content', 'blank' ); ?> | |
</div> | |
<?php include get_template_directory().'/inc/sidebar-if-active.php';?> | |
</div> | |
<?php include get_template_directory().'/inc/submenu-closing-tags.php';?> | |
<?php endwhile; // end of the loop. ?> | |
</div> | |
<?php get_footer(); ?> |