Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * The template for displaying all pages
- *
- */
- get_header(); ?>
- <div id="primary" class="content-area<?php if (!(have_comments() || comments_open())) : ?> no-comments-area<?php endif; ?>">
- <div id="content" class="site-content" role="main">
- <?php while ( have_posts() ) : the_post(); ?>
- <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <div>
- <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:', 'portfolio' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
- </div><!-- .entry-content -->
- <footer class="entry-meta">
- <?php edit_post_link( __( 'Edit', 'portfolio' ), '<span class="edit-link">', '</span>' ); ?>
- </footer><!-- .entry-meta -->
- </div>
- </article><!-- #post -->
- <?php endwhile; ?>
- </div><!-- #content -->
- </div><!-- #primary -->
- <?php comments_template(); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement