-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathcategory.php
29 lines (29 loc) · 1.07 KB
/
category.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
<?php get_header(); ?>
<section class="main-content">
<div class="grid-container">
<div class="grid-x hentry">
<div class="cell auto">
<header class="section-header">
<h1 class="archive-title"><?php echo front::page_title(); ?></h1>
</header>
<section class="entry-content">
<?php
if ( have_posts() ) {
while ( have_posts() ) { the_post();
global $post;
echo render::archive_news( $post );
}
the_posts_pagination(
array(
'prev_text' => __( 'Previous', 'ccgn-website' ),
'next_text' => __( 'Next', 'ccgn-website' )
)
);
}
?>
</section>
</div>
</div>
</div>
</section>
<?php get_footer(); ?>