-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.php
35 lines (32 loc) · 932 Bytes
/
page.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
<?php get_header(); ?>
<section class="mnpk-post">
<div class="container">
<?php
if (have_posts()) :
while (have_posts()) : the_post();
?>
<article>
<div class="post-header">
<div class="titlebox">
<h1><?php the_title(); ?></h1>
</div>
<?php
if (has_post_thumbnail()) :
echo '<figure>';
the_post_thumbnail();
echo '</figure>';
endif;
?>
</div>
<div class="content">
<?php the_content(); ?>
</div>
</article>
<?php
endwhile;
endif;
?>
</div>
</section>
<?php get_template_part('news-list-three'); ?>
<?php get_footer(); ?>