-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy patharchive.php
More file actions
32 lines (32 loc) · 800 Bytes
/
archive.php
File metadata and controls
32 lines (32 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
/**
* The template for dispalying the archive.
*
* @package WordPress
* @subpackage illdy
*/
?>
<?php get_header(); ?>
<div class="container">
<div class="row">
<div class="col-sm-7">
<section id="blog">
<?php do_action( 'illdy_above_content_after_header' ); ?>
<?php
if( have_posts() ):
while( have_posts() ):
the_post();
get_template_part( 'template-parts/content', get_post_format() );
endwhile;
wp_reset_query();
else:
get_template_part( 'template-parts/content', 'none' );
endif;
?>
<?php do_action( 'illdy_after_content_above_footer' ); ?>
</section><!--/#blog-->
</div><!--/.col-sm-7-->
<?php get_sidebar(); ?>
</div><!--/.row-->
</div><!--/.container-->
<?php get_footer(); ?>