Advertisement
mariareh64

page.php

Sep 18th, 2012
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. <?php get_header(); ?>
  2. <?php global $woo_options; ?>
  3.  
  4. <div id="content" class="page col-full">
  5. <div id="main" class="col-left">
  6.  
  7. <?php if ( isset( $woo_options['woo_breadcrumbs_show'] ) && $woo_options['woo_breadcrumbs_show'] == 'true' ) { ?>
  8. <div id="breadcrumb">
  9. <?php woo_breadcrumbs(); ?>
  10. </div><!--/#breadcrumbs -->
  11. <?php } ?>
  12.  
  13. <?php if (have_posts()) : $count = 0; ?>
  14. <?php while (have_posts()) : the_post(); $count++; ?>
  15.  
  16. <div class="post">
  17.  
  18. <h1 class="title"><?php the_title(); ?></h1>
  19.  
  20. <div class="entry">
  21. <?php the_content(); ?>
  22.  
  23. <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'woothemes' ), 'after' => '</div>' ) ); ?>
  24. </div><!-- /.entry -->
  25.  
  26. <?php edit_post_link( __('{ Edit }', 'woothemes'), '<span class="small">', '</span>' ); ?>
  27.  
  28. </div><!-- /.post -->
  29.  
  30. <?php $comm = $woo_options['woo_comments']; if ( ($comm == "page" || $comm == "both") ) : ?>
  31. <?php comments_template(); ?>
  32. <?php endif; ?>
  33.  
  34. <?php endwhile; else: ?>
  35. <div class="post">
  36. <p><?php _e('Sorry, no posts matched your criteria.', 'woothemes') ?></p>
  37. </div><!-- /.post -->
  38. <?php endif; ?>
  39.  
  40. </div><!-- /#main -->
  41.  
  42. <?php get_sidebar(); ?>
  43.  
  44. </div><!-- /#content -->
  45.  
  46. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement