-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy patharchive.php
More file actions
executable file
·23 lines (23 loc) · 805 Bytes
/
archive.php
File metadata and controls
executable file
·23 lines (23 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php get_header(); ?>
<main id="main" class="page_content">
<?php get_template_part("partials/content", "hero");?>
<?php get_sidebar("left"); ?>
<article id="content" class="col_6">
<?php if ( have_posts() ) : ?>
<header class="entry_header">
<?php
the_archive_title( '<h1 class="page_title">', '</h1>' );
the_archive_description( '<div class="taxonomy-description">', '</div>' );
?>
</header>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'partials/content', get_post_format() ); ?>
<?php endwhile; ?>
<?php ffcc_paging_nav(); ?>
<?php else : ?>
<?php get_template_part( 'partials/content', 'none' ); ?>
<?php endif; ?>
</article>
<?php get_sidebar("right"); ?>
</main><!-- #main -->
<?php get_footer(); ?>