Your IP : 216.73.216.1
<?php
/**
* The template for displaying all single posts
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
*
* @package pally
*/
get_header();
?>
<div class="column col-12">
<main id="primary" class="site-main" aria-label="Hauptinhalt">
<?php if (function_exists('pally_nav_breadcrumb')) pally_nav_breadcrumb(); ?>
<?php
while ( have_posts() ) :
the_post();
get_template_part( 'template-parts/content', get_post_type() );
if ( get_theme_mod( 'show_navigation_text', true ) === true ) {
the_post_navigation(
array(
'prev_text' => '<span class="prev"></span><span class="nav-subtitle">' . esc_html__( 'Previous:', 'pally' ) . '</span> <span class="nav-title">%title</span>',
'next_text' => '<span class="nav-subtitle">' . esc_html__( 'Next:', 'pally' ) . '</span> <span class="nav-title">%title</span><span class="next"></span>',
)
);
} else {?>
<h2 class="postnav"><?php esc_html_e( 'Previous and next articles', 'pally' ); ?></h2>
<?php
the_post_navigation(
array(
'prev_text' => '<span class="prev"></span><div class="screen-reader-text">' . esc_html__( 'Previous:', 'pally' ) . '</div><span>%title</span>',
'next_text' => '<div class="screen-reader-text">' . esc_html__( 'Next:', 'pally' ) . '</div><span>%title</span><span class="next"></span>',
)
);
}
// 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;
endwhile; // End of the loop.
?>
<?php if ( is_single() && get_theme_mod( 'author_information', false ) === true ) {
Pally\Biography::author_biography();
}
?>
<?php Pally\Related_Posts::related_posts( get_the_ID() );?>
</main><!-- #main -->
</div>
<?php
get_sidebar();
get_footer();