-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.php
40 lines (36 loc) · 890 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
40
<?php get_header();
while(have_posts()) {
the_post(); ?>
<header class="article-header">
<section>
<h1><?php the_title(); ?></h1>
<p>
<small>
Published on:
<strong><?php the_date('M j, Y'); ?></strong>
<br />
By: <strong><?php the_author() ?></strong>
<br />
</small>
</p>
</section>
</header>
<article>
<?php if(the_post_thumbnail()){ ?>
<div>
<picture>
<img class="in-text title-picture" alt="Petr sitting and painting."
src="<?php echo get_the_post_thumbnail_url(get_the_ID(),'full'); ?>"
/>
</picture>
</div>
<?php } ?>
<p>
<small><?php the_title(); ?></small>
</p>
<div id="disqus_thread"><?php the_content(); ?></div>
</article>
<script src="/disqus.js"></script>
<?php }
?>
<?php get_footer(); ?>