forked from OpenDevelopmentMekong/wp-odm_theme
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathloop.php
More file actions
33 lines (31 loc) · 932 Bytes
/
loop.php
File metadata and controls
33 lines (31 loc) · 932 Bytes
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
<?php if (have_posts()) : ?>
<section class="posts-section row">
<div class="container">
<div class="eleven columns">
<?php while (have_posts()) : the_post(); ?>
<?php odm_get_template('post-list-single-1-cols',array(
"post" => get_post(),
"show_meta" => true,
"show_excerpt" => true,
"show_author_and_url_source" => true,
"show_summary_translated_by_odc_team" => true
),true);
?>
<?php endwhile; ?>
</div>
<div class="four columns offset-by-one">
<aside id="sidebar">
<ul class="widgets">
<li class="widget share-widget">
<?php odm_get_template('social-share',array(),true); ?>
</li>
<?php dynamic_sidebar(); ?>
<li id="odm_taxonomy_widget" class="widget widget_odm_taxonomy_widget">
<?php list_category_by_post_type(); ?>
</li>
</ul>
</aside>
</div>
</div>
</section>
<?php endif; ?>