-
Notifications
You must be signed in to change notification settings - Fork 59
/
full-width-page.php
37 lines (29 loc) · 1.07 KB
/
full-width-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
<?php
/**
* Template Name: Full-width, no sidebar
* Description: A full-width template with no sidebar
*
* @package WordPress
* @subpackage WP-Skeleton
*/
get_header();
get_template_part( 'menu', 'index' ); //the menu + logo/site title ?>
<div class="sixteen columns alpha">
<div id="primary" class="full-width">
<div id="content">
<?php the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> role="article">
<header class="entry-header">
<h1 class="entry-title"><?php the_title(); ?></h1>
</header><!-- .entry-header -->
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( 'before=<div class="page-link">' . __( 'Pages:', 'WP-Skeleton' ) . '&after=</div>' ); ?>
<?php edit_post_link( __( 'Edit', 'themename' ), '<span class="edit-link">', '</span>' ); ?>
</div><!-- .entry-content -->
</article><!-- #post-<?php the_ID(); ?> -->
<?php comments_template( '', true ); ?>
</div><!-- #content -->
</div><!-- #primary -->
</div>
<?php get_footer(); ?>