SHARE
TWEET

complete page.php file

a guest May 17th, 2013 28 Never
  1. <?php get_header(); ?>
  2. <div id="main" class="main-with-sidebar clearfix">
  3.     <div id="post-content">
  4.         <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  5.         <h1 id="page-title"><?php the_title(); ?></h1>                 
  6.         <?php the_content(); ?>
  7.         <?php endwhile; ?>
  8.         <?php endif; ?>
  9.         <?php comments_template(); ?>  
  10.     </div>
  11.         <!-- END post-content -->
  12. <?php get_sidebar(page); ?>
  13. <?php get_footer(); ?>
RAW Paste Data
Top