forked from OpenDevelopmentMekong/wp-odm_theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
archive-site-update.php
58 lines (47 loc) · 1.21 KB
/
archive-site-update.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
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php get_header();?>
<div class="section-title main-title">
<section class="container">
<header class="row">
<div class="eight columns">
<h1><?php _e('Site updates','odm') ?></h1>
</div>
<div class="eight columns">
<?php get_template_part('section', 'query-actions'); ?>
</div>
</header>
</section>
<section class="container">
<div class="row">
<div class="sixteen columns">
<?php
$index = 1;
while (have_posts()) : the_post();
if (should_open_row("list-2-cols",$index)): ?>
<div class="row">
<?php endif;
odm_get_template('post-list-single-2-cols',array(
"post" => get_post(),
"show_meta" => true,
"show_source_meta" => true,
"show_thumbnail" => true,
"show_excerpt" => true,
"show_summary_translated_by_odc_team" => true,
"header_tag" => true
),true);
if (should_close_row("list-2-cols",$index)): ?>
</div>
<?php endif;
$index++;
endwhile; ?>
</div>
</div>
</section>
<section class="container">
<div class="row">
<div class="sixteen columns">
<?php odm_get_template('pagination',array(),true); ?>
</div>
</div>
</section>
</div>
<?php get_footer(); ?>