-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharchive.php
More file actions
executable file
·49 lines (34 loc) · 1.33 KB
/
archive.php
File metadata and controls
executable file
·49 lines (34 loc) · 1.33 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
/**
* Archive Template
*
* The archive template is basically a placeholder for archives that don't have a template file.
* Ideally, all archives would be handled by a more appropriate template according to the current
* page context.
*
* @package Hybrid
* @subpackage Template
*/
get_header(); // Loads the header.php template. ?>
<div id="hero-container">
<div id="hero-wrapper">
<div id="hero">
<?php get_template_part( 'loop-meta' ); // Loads the loop-meta.php template. ?>
</div>
</div>
</div>
<div id="content-container">
<div id="content-wrapper">
<div id="content" class="hfeed content archive">
<?php do_atomic( 'before_content' ); // hybrid_before_content ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php get_template_part('loop-archive'); ?>
<?php endwhile; ?>
<?php else: ?>
<?php get_template_part( 'loop-error' ); // Loads the loop-error.php template. ?>
<?php endif; ?>
<?php do_atomic( 'after_content' ); // hybrid_after_content ?>
</div><!-- .content .hfeed -->
</div><!-- #content-wrapper -->
</div><!-- #content-container -->
<?php get_footer(); // Loads the footer.php template. ?>