Want more features on Pastebin? Sign Up, it's FREE!
Guest

page.php

By: nobbyrn on May 1st, 2013  |  syntax: None  |  size: 0.80 KB  |  views: 53  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2.  
  3. /**
  4.  * The template for displaying all pages.
  5.  *
  6.  * This is the template that displays all pages by default.
  7.  * Please note that this is the WordPress construct of pages
  8.  * and that other 'pages' on your WordPress site will use a
  9.  * different template.
  10.  *
  11.  * @package  WellThemes
  12.  * @file     page.php
  13.  * @author   Well Themes Team
  14.  * @link         http://wellthemes.com
  15.  */
  16.  ?>
  17. <?php get_header(); ?>
  18. <section id="primary">
  19.         <div id="content" role="main">
  20.        
  21.         <?php if (have_posts()) : ?>
  22.                 <?php while ( have_posts() ) : the_post(); ?>                          
  23.                         <?php get_template_part( 'content', 'page' ); ?>
  24.                 <?php endwhile; // end of the loop. ?>
  25.         <?php endif ?> 
  26.  
  27.         </div><!-- /content -->
  28. </section><!-- /primary -->
  29. <?php get_sidebar('left'); ?>
  30. <?php get_sidebar('right'); ?>
  31. <?php get_footer(); ?>
clone this paste RAW Paste Data