forked from silentxcode/Mini-Maker-Faire-WordPress-Theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
archive.php
45 lines (27 loc) · 974 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php get_header(); ?>
<div class="clear"></div>
<div class="container">
<div class="row">
<div class="content span8">
<div class="page-header">
<h1><?php echo single_cat_title(); ?></h1>
</div>
<?php get_search_form(); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<article <?php post_class(); ?>>
<?php the_mf_content(); ?>
</article>
<hr>
<?php endwhile; ?>
<ul class="pager">
<li class="previous"><?php previous_posts_link( __( '← Previous Page', 'make-mini-mf' ) ); ?></li>
<li class="next"><?php next_posts_link( __( 'Next Page →', 'make-mini-mf' ) ); ?></li>
</ul>
<?php else: ?>
<p><?php _e( 'Sorry, no posts matched your criteria.', 'make-mini-mf' ); ?></p>
<?php endif; ?>
</div><!--Content-->
<?php get_sidebar(); ?>
</div>
</div><!--Container-->
<?php get_footer(); ?>