-
Notifications
You must be signed in to change notification settings - Fork 0
/
archive-article.php
44 lines (34 loc) · 879 Bytes
/
archive-article.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
<?php
get_header();
?>
<div class="archive-post-body">
<div class="archive-post-body-card">
<?php
while(have_posts()) {
the_post();
?>
<div class="archive-post-tab">
<a href="<?php the_permalink(); ?>">
<div class="archive-post-pic">
<img src="<?php the_post_thumbnail_url('archivePagePicture'); ?>" class="news-pic resize-archive-pic" alt="">
</div>
<div class="archive-post-text-area">
<span class="archive-post-title"><?php the_title(); ?></span>
<span class="archive-post-data"><?php echo get_the_date('j-m-Y'); ?> <?php the_time('G:i'); ?></span>
</div>
</a>
</div>
<?php
}
?>
</div>
<div class="archive-post-body-pagination current">
<?php
echo paginate_links();
?>
</div>
</div>
<?php
wp_reset_postdata();
get_footer();
?>