-
Notifications
You must be signed in to change notification settings - Fork 16
/
archive.php
28 lines (26 loc) · 648 Bytes
/
archive.php
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
<?php
get_header();
?>
<!-- YOAST BREADCRUMB -->
<?php if ( function_exists('yoast_breadcrumb') )
{
yoast_breadcrumb('<p id="breadcrumbs">','</p>');
}
?>
<!-- TITLE -->
<h1><?php the_archive_title( '', true ); ?></h1>
<!-- LOOP -->
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<a href="<?php the_permalink() ?>">
<?php
the_post_thumbnail('thumbnail',array('title' => get_the_title(),'class'=>'img-responsive'));
?>
</a>
<h2><a href="<?php the_permalink() ?>"><?php the_title();?></a></h2>
<?php the_excerpt();?>
<?php endwhile; ?>
<?php endif; ?>
<?php
get_footer();
?>