-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
executable file
·37 lines (35 loc) · 1.11 KB
/
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
<? get_header();
/*
Template Name: Default Template
*/?>
<div class="container content-area">
<div class="row">
<div style="background-image: none; margin-bottom: -55px;" class="contMain">
<div class="main">
<div class="left" style="margin:0px 0 0 0;">
<div class="section">
<h1 style="width: 150%; margin-left: -50%; padding-left: 50%; margin-top: -30px;"><? the_title() ?></h1>
</div>
</div>
</div>
</div>
<div class="col-md-5 col-md-push-1">
<img class="img-thumbnail" src="<? echo wp_get_attachment_url( get_post_thumbnail_id( $post->ID ) ); ?>">
</div>
<div class="col-md-5 col-md-push-1">
<p>
<?
// Start the Loop.
while ( have_posts() ) : the_post();
// Include the page content template.
the_content();
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) {
comments_template();
}
endwhile;
?>
</p>
</div>
</div>
<? get_footer(); ?>