diff options
| author | Nathan Kinkade <nath@nkinka.de> | 2014-06-16 16:03:41 +0000 |
|---|---|---|
| committer | Nathan Kinkade <nath@nkinka.de> | 2014-06-16 16:03:41 +0000 |
| commit | 07b2ba9ff5fe1cf4bba34de578c29aee85c48b83 (patch) | |
| tree | 3aacb1db21dfd0975813ea0b8a7defff3603e8f2 /page.php | |
Initial commit of Vortant theme based on WordPress twentythirteen stock theme.
Diffstat (limited to 'page.php')
| -rw-r--r-- | page.php | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/page.php b/page.php new file mode 100644 index 0000000..b159535 --- /dev/null +++ b/page.php @@ -0,0 +1,50 @@ +<?php +/** + * The template for displaying all pages + * + * This is the template that displays all pages by default. + * Please note that this is the WordPress construct of pages and that other + * 'pages' on your WordPress site will use a different template. + * + * @package WordPress + * @subpackage Twenty_Thirteen + * @since Twenty Thirteen 1.0 + */ + +get_header(); ?> + + <div id="primary" class="content-area"> + <div id="content" class="site-content" role="main"> + + <?php /* The loop */ ?> + <?php while ( have_posts() ) : the_post(); ?> + + <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> + <header class="entry-header"> + <?php if ( has_post_thumbnail() && ! post_password_required() ) : ?> + <div class="entry-thumbnail"> + <?php the_post_thumbnail(); ?> + </div> + <?php endif; ?> + + <!--<h1 class="entry-title"><?php the_title(); ?></h1>--> + </header><!-- .entry-header --> + + <div class="entry-content"> + <?php the_content(); ?> + <?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?> + </div><!-- .entry-content --> + + <footer class="entry-meta"> + <?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?> + </footer><!-- .entry-meta --> + </article><!-- #post --> + + <?php comments_template(); ?> + <?php endwhile; ?> + + </div><!-- #content --> + </div><!-- #primary --> + +<?php get_sidebar(); ?> +<?php get_footer(); ?> |
