-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcategory-24.php
More file actions
65 lines (53 loc) · 1.5 KB
/
category-24.php
File metadata and controls
65 lines (53 loc) · 1.5 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
get_header();
?>
<section id="page-title">
<div class="container clearfix">
<h1><?php the_archive_title(); ?></h1>
<span><?php the_archive_description(); ?></span>
</div>
</section><!-- #page-title end -->
<!-- Content
============================================= -->
<section id="content">
<div class="content-wrap">
<div class="container clearfix">
<!-- Post Content
============================================= -->
<div class="postcontent nobottommargin clearfix">
<!-- Posts
============================================= -->
<div id="posts">
<?php
if ( have_posts() ) :
while ( have_posts() ) :
the_post();
/*get_template_part('partials/post/content-excerpt');*/
get_template_part( 'partials/post/content', 'excerpt' );
endwhile;
endif;
?>
</div><!-- #posts end -->
<!-- Pagination
============================================= -->
<div class="row mb-3">
<div class="col-12">
<?php
next_posts_link( '← Older' );
previous_posts_link( 'Newer →' );
?>
<!--<a href="#" class="btn btn-outline-secondary float-left">
← Older
</a>
<a href="#" class="btn btn-outline-dark float-right">
Newer →
</a>-->
</div>
</div>
<!-- .pager end -->
</div><!-- .postcontent end -->
<?php get_sidebar(); ?>
</div>
</div>
</section><!-- #content end -->
<?php get_footer();