You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
978 B
44 lines
978 B
<?php
|
|
/**
|
|
* Template Name: No Page Title
|
|
*
|
|
* A page template with no page title.
|
|
*
|
|
* @package Cordero
|
|
*/
|
|
|
|
get_header();
|
|
|
|
if ( ! is_active_sidebar( 'cordero-sidebar-page' ) || get_theme_mod( 'sidebar_position' ) === 'below' ) {
|
|
$page_full_width = ' full-width';
|
|
} else {
|
|
$page_full_width = '';
|
|
}
|
|
?>
|
|
|
|
<?php cordero_before_primary_content(); ?>
|
|
|
|
<div id="primary" class="content-area<?php echo $page_full_width;?>">
|
|
<main id="main" class="site-main" role="main">
|
|
|
|
<?php while ( have_posts() ) : the_post(); ?>
|
|
|
|
<?php get_template_part( 'content', 'no-title' ); ?>
|
|
|
|
<?php
|
|
// If comments are open or we have at least one comment, load up the comment template.
|
|
if ( comments_open() || get_comments_number() ) :
|
|
comments_template();
|
|
endif;
|
|
?>
|
|
|
|
<?php endwhile; // End of the loop. ?>
|
|
|
|
</main><!-- #main -->
|
|
</div><!-- #primary -->
|
|
|
|
<?php cordero_after_primary_content(); ?>
|
|
|
|
<?php get_sidebar( 'page' ); ?>
|
|
|
|
<?php get_footer(); ?>
|
|
|