forked from gimpscape/gimpscape-wp-theme
/
page.php
executable file
·39 lines (28 loc) · 873 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
36
37
38
39
<?php get_header(); ?>
<div class="page-title">
<div class="container">
<h2><?php echo get_the_title();?></h2>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="content-rounded-pop">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<!-- each-post -->
<?php if ( has_post_thumbnail() ):?>
<img src="<?php the_post_thumbnail_url(); ?>" width="400px">
<?php endif ?>
<div style="font-size:12pt">
<?php the_content(__('(more...)')); ?>
</div>
<!-- each-post -->
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
</div>
</div>
</div>
</div>
<!-- container -->
<?php get_footer(); ?>