forked from InfoAmazonia/infocongo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
loop-special-reports.php
43 lines (40 loc) · 1.65 KB
/
loop-special-reports.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
<ul class="list-maps clearfix">
<?php while(have_posts()) : the_post(); ?>
<li id="post-<?php the_ID(); ?>" <?php post_class('post-item'); ?>>
<article class="clearfix">
<div class="map-list-thumb">
<?php if(has_post_thumbnail()) {
echo '<a href="' . get_permalink() .'" title="' . get_the_title() . '">' . get_the_post_thumbnail($post->ID, 'archive-list') . '</a>';
} else {
echo '<div class="nothumb map-list"></div>';
}
?>
</div>
<div class="map-list-info">
<header class="post-header">
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
</header>
<section>
<?php echo excerpt(35); ?>
</section>
<div class="row post-meta">
<div class="ten offset-by-one columns ">
<div class="one-third column"><span class="icon_pencil"></span>
<span class="info"><b>
<?php echo get_the_date(); ?>
<?php echo get_the_term_list( $post->ID, 'publisher', ' | ', ', ' ); ?>
<?php echo ' <a> | </a>'; ?>
<?php $author_name = the_author_posts_link( $user_id ); echo $author_name; ?>
</b></span></div>
<div class="one-third column"><span class="icon_pin_alt"></span><span class="info"><b><?php echo get_the_term_list( $post->ID, 'country', ' ', ', ' ); ?></b></span></div>
<div class="one-third column"><span class="icon_tag_alt"></span><span class="info"><b><?php echo get_the_term_list( $post->ID, 'topic', ' ', ', ' ); ?></b></span></div>
</div>
</div>
</div>
</article>
</li>
<?php endwhile; ?>
</ul>
<div class="twelve columns">
<?php if(function_exists('wp_paginate')) wp_paginate(); ?>
</div>