ACC SHELL
<?php
/**
* The template for displaying archive pages
*
* @package WordPress
* @subpackage Laboserv2020
* @since Laboserv2020 1.0
*/
get_header(); ?>
<div class="archive-page">
<div class="breadcrumbs">
<div class="content">
<ul>
<li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Hlavnà stránka</a></li>
<?php
the_archive_title( '<li>', '</li>' );
?>
</ul>
</div><!-- .content -->
</div><!-- .breadcrumbs -->
<article class="archive">
<div class="content">
<?php if ( have_posts() ) : ?>
<header>
<?php
the_archive_title( '<h1 class="page-title">', '</h1>' );
the_archive_description( '<p class="excerpt">', '</p>' );
?>
</header>
<?php
// Start the Loop.
while ( have_posts() ) :
the_post();
/*
* Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( 'template-parts/content', get_post_format() );
// End the loop.
endwhile;
// Previous/next page navigation.
the_posts_pagination(
array(
'prev_text' => __( 'Previous page', 'twentysixteen' ),
'next_text' => __( 'Next page', 'twentysixteen' ),
'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentysixteen' ) . ' </span>',
)
);
// If no content, include the "No posts found" template.
else :
get_template_part( 'template-parts/content', 'none' );
endif;
?>
</div>
</article>
</div><!-- .archive-page END -->
<?php //get_sidebar();
get_template_part( 'supfooter' ); ?>
<?php get_footer(); ?>
ACC SHELL 2018