Guest User

swatch page.php

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