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.
51 lines
1.3 KiB
51 lines
1.3 KiB
<?php
|
|
/**
|
|
* Template Name: Reading View (Paragraphs Only)
|
|
* Template Post Type: post
|
|
*
|
|
* A post template with a narrow reading panel (paragraphs only) and sidebar below content.
|
|
*
|
|
* @package Cordero
|
|
*/
|
|
|
|
get_header();
|
|
|
|
?>
|
|
|
|
<?php cordero_before_primary_content(); ?>
|
|
|
|
<div id="primary" class="content-area full-width">
|
|
<main id="main" class="site-main" role="main">
|
|
|
|
<?php while ( have_posts() ) : the_post(); ?>
|
|
|
|
<?php get_template_part( 'content', 'single' ); ?>
|
|
|
|
<?php
|
|
if ( !get_theme_mod( 'disable_prevnext' ) ) {
|
|
the_post_navigation( array(
|
|
'prev_text' => '<span class="nav-title"><i class="dashicons dashicons-arrow-left-alt2"></i>%title</span>',
|
|
'next_text' => '<span class="nav-title">%title<i class="dashicons dashicons-arrow-right-alt2"></i></span>',
|
|
) );
|
|
}
|
|
|
|
if ( !get_theme_mod( 'disable_related' ) ) {
|
|
get_template_part( 'content', 'related' );
|
|
}
|
|
|
|
// 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(); ?>
|
|
|
|
<?php get_footer(); ?>
|
|
|