-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage-full.php
More file actions
30 lines (21 loc) · 791 Bytes
/
Copy pathpage-full.php
File metadata and controls
30 lines (21 loc) · 791 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
<?php
/*
Template Name: Full Width Page
*/
?>
<?php get_header() ?>
<section id="container-full">
<section id="content">
<?php the_post() ?>
<article id="post-<?php the_ID() ?>" class="<?php sandbox_post_class() ?>">
<h2 class="entry-title"><?php the_title() ?></h2>
<div class="entry-content">
<?php the_content() ?>
<?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'sandbox' ) . '&after=</div>') ?>
<?php edit_post_link( __( 'Edit', 'sandbox' ), '<span class="edit-link">', '</span>' ) ?>
</div>
</article><!-- .post -->
<?php if ( get_post_custom_values('comments') ) comments_template() // Add a key+value of "comments" to enable comments on this page ?>
</section><!-- #content -->
</section><!-- #container -->
<?php get_footer() ?>