-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.php
More file actions
36 lines (29 loc) · 853 Bytes
/
page.php
File metadata and controls
36 lines (29 loc) · 853 Bytes
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
<?php
/*
Template Name: Full-Width
Template Post Type: page
*/
get_header();
while( have_posts() ) {
the_post();
}
?>
<div class="row column mt2">
<span class="thumbnail"><?php the_post_thumbnail(); ?></span>
<?php
if (is_single( array( '33', '', '' ))){
dynamic_sidebar( 'content-1' );
}
?>
<h2 class="page-title"><?php the_title(); ?></h2>
<small><strong>Written by: <?php echo get_the_author(); ?> on <?php the_time('j F Y'); ?></strong></small>
<p><?php the_content();?></p>
<?php
if (is_single( array( '33', '', '' ))){
dynamic_sidebar( 'content-2' );
}
?>
<hr class="foundationHr" />
<?php comment_form(); ?>
</div>
<?php get_footer(); ?>