Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 12th, 2013  |  syntax: PHP  |  size: 0.82 KB  |  views: 121  |  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.  * 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 WordPress
  11.  * @subpackage Twenty_Twelve
  12.  * @since Twenty Twelve 1.0
  13.  */
  14.  
  15. get_header(); ?>
  16.  
  17.         <div id="primary" class="site-content">
  18.                 <div id="content" role="main">
  19.  
  20.                         <?php while ( have_posts() ) : the_post(); ?>
  21.                                 <?php get_template_part( 'content', 'page' ); ?>
  22.                                 <?php comments_template( '', true ); ?>
  23.                         <?php endwhile; // end of the loop. ?>
  24.  
  25.                 </div><!-- #content -->
  26.         </div><!-- #primary -->
  27.  
  28. <?php
  29.         // show the sidebar on non-profile pages only
  30.         if ( ! bp_is_user() ) :
  31.                 get_sidebar();
  32.         endif;
  33. ?>
  34. <?php get_footer(); ?>