Advertisement
alchymyth

full width page template

Jan 6th, 2013
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.04 KB | None | 0 0
  1. <?php
  2. /**
  3.  * Template Name: Wide page - no sidebar
  4.  *
  5.  * polaray free
  6.  */
  7. ?>
  8. <?php get_header(); ?>  
  9. <div class="heading_container">
  10.   <div class="container_24">
  11.     <div class="grid_24">
  12.       <div class="page-heading">
  13.         <h1><?php the_title(); ?></h1>
  14.       </div>
  15.     </div>
  16.     <div class="clear"></div>
  17.   </div>
  18. </div>
  19. <div class="page_container">
  20.   <div class="container_24">
  21.     <div class="grid_24 body_color">
  22.       <div class="page-content">
  23.        
  24.           <div class="content-bar">            
  25.             <?php if (have_posts()) : the_post(); ?>
  26.                 <?php the_content(); ?>
  27.                  <div class="clear"></div>
  28.                 <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'poloray' ) . '</span>', 'after' => '</div>' ) ); ?>
  29.                 <!--Start Comment box-->
  30.                     <?php comments_template(); ?>
  31.                 <!--End Comment box-->
  32.             <?php endif; ?>
  33.           </div>
  34.          
  35.         </div>        
  36.       </div>
  37.     </div>
  38.     <div class="clear"></div>
  39.   </div>
  40. </div>
  41. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement