-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy patharchive.php
More file actions
48 lines (37 loc) · 1000 Bytes
/
archive.php
File metadata and controls
48 lines (37 loc) · 1000 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/**
* The template for displaying Archive pages
*/
get_header();
?>
<div class="large-title bg-<?php show_cmb_value( 'large-title-color' ) ?>">
<div class="wrap">
<?php if ( has_cmb_value( 'large-title-icon' ) ) { ?>
<div class="large-title-icon bg-<?php show_cmb_value( 'large-title-color' ) ?>">
<img src="<?php show_cmb_value( 'large-title-icon' ) ?>">
</div>
<?php } ?>
<div class="large-title-text">
<h1><?php single_cat_title(); ?></h1>
</div>
</div>
</div>
<section id="primary" class="content-area wrap group" role="main">
<?php if ( have_posts() ) : ?>
<?php
// Start the Loop.
while ( have_posts() ) : the_post();
?>
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
<?php the_excerpt(); ?>
<?php
endwhile;
else :
// If no content, include the "No posts found" template.
get_template_part( 'content', 'none' );
endif;
?>
</section><!-- #primary -->
<?php
get_footer();
?>