Advertisement
suziwilson

page.php

Oct 31st, 2011
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 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 ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('<div id="breadcrumb"><p>','</p></div>'); } ?>
  8.  
  9. <?php if (have_posts()) : $count = 0; ?>
  10. <?php while (have_posts()) : the_post(); $count++; ?>
  11.  
  12. <div class="post">
  13.  
  14. <h1 class="title cufon"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
  15.  
  16. <div class="entry">
  17. <?php the_content(); ?>
  18.  
  19. <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'woothemes' ), 'after' => '</div>' ) ); ?>
  20. </div><!-- /.entry -->
  21.  
  22. <?php edit_post_link( __('{ Edit }', 'woothemes'), '<span class="small">', '</span>' ); ?>
  23.  
  24. </div><!-- /.post -->
  25.  
  26. <?php $comm = $woo_options['woo_comments']; if ( ($comm == "page" || $comm == "both") ) : ?>
  27. <?php comments_template(); ?>
  28. <?php endif; ?>
  29.  
  30. <?php endwhile; else: ?>
  31. <div class="post">
  32. <p><?php _e('Sorry, no posts matched your criteria.', 'woothemes') ?></p>
  33. </div><!-- /.post -->
  34. <?php endif; ?>
  35.  
  36. </div><!-- /#main -->
  37.  
  38. <?php get_sidebar(); ?>
  39.  
  40. </div><!-- /#content -->
  41.  
  42. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement