daily pastebin goal
68%
SHARE
TWEET

psc-repeating-front-page-includes home

dreamling Sep 12th, 2014 3 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /**
  3.  * The template for displaying all pages.
  4.  *
  5.  * This is the template that displays all pages by default.
  6.  * Please note that this is the WordPress construct of pages
  7.  * and that other 'pages' on your WordPress site will use a
  8.  * different template.
  9.  *
  10.  * @package Pink Sugar Castle
  11.  */
  12.  
  13. get_header(); ?>
  14.  
  15.         <div id="primary" class="content-area">
  16.                 <main id="main" class="site-main" role="main">
  17.  
  18.                         <?php while ( have_posts() ) : the_post(); ?>
  19.  
  20.                                 <?php get_template_part( 'home', 'page' ); ?>
  21.  
  22.                                 <?php
  23.                                         // If comments are open or we have at least one comment, load up the comment template
  24.                                         if ( comments_open() || '0' != get_comments_number() ) :
  25.                                                 comments_template();
  26.                                         endif;
  27.                                 ?>
  28.  
  29.                         <?php endwhile; // end of the loop. ?>
  30.  
  31.                 </main><!-- #main -->
  32.         </div><!-- #primary -->
  33.  
  34. <?php get_sidebar(); ?>
  35. <?php get_footer(); ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top