Advertisement
Guest User

page.php

a guest
Nov 5th, 2012
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. <?php
  2. get_header();
  3. global $woo_options;
  4. get_template_part( 'top-banner' );
  5. ?>
  6. <div id="post_content" class="column span-14">
  7.  
  8. <?php if ( have_posts() ) { ?>
  9. <?php while ( have_posts() ) { the_post(); ?>
  10.  
  11. <div class="column span-11 first">
  12.  
  13. <?php the_content( '<p>' . __( 'Continue reading this post','woothemes' ) . '</p>' ); ?>
  14.  
  15. <?php wp_link_pages( array('before' => '<p><strong>' . __( 'Pages','woothemes' ) . ':</strong> ', 'after' => '</p>', 'next_or_number' => 'number' ) ); ?>
  16.  
  17. <?php edit_post_link( __( 'Edit this entry.', 'woothemes' ),'<p>','</p>' ); ?>
  18.  
  19. <?php
  20. $comm = get_option( 'woo_comments' );
  21. if ( 'open' == $post->comment_status && ($comm == 'page' || $comm == 'both' ) ) {
  22. comments_template( '', true );
  23. }
  24. ?>
  25.  
  26. </div>
  27.  
  28. <?php
  29. }
  30. } // End IF Statement
  31. ?>
  32.  
  33. <?php get_sidebar(); ?>
  34.  
  35. </div> <!-- start home_content -->
  36. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement