Guest User

Untitled

a guest
Mar 27th, 2012
58
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php get_header(); ?>
  2. <?php global $woo_options, $wootable; ?>
  3. <div id="content" class="page col-full">
  4. <div id="main" class="<?php if( is_page( $wootable->frontend->bookings_page ) || is_page( $wootable->frontend->manage_page ) ): echo 'reservation-page '; endif; ?>col-left">
  5.  
  6. <?php if ( function_exists('yoast_breadcrumb') ) { yoast_breadcrumb('<div id="breadcrumb"><p>','</p></div>'); } ?>
  7.  
  8. <?php if (have_posts()) : $count = 0; ?>
  9. <?php while (have_posts()) : the_post(); $count++; ?>
  10.  
  11. <div class="post">
  12.  
  13. <h1 class="title">
  14. <?php the_title(); ?>
  15. <?php if(is_page(get_option('wootable_page_booking' ))): ?>
  16. <span class="heading-description"><?php echo get_option('woo_page_booking_desc'); ?></span>
  17. <?php endif; ?>
  18. </h1>
  19.  
  20. <div class="entry">
  21. <?php the_content(); ?>
  22. </div><!-- /.entry -->
  23.  
  24. <?php edit_post_link( __('{ Edit }', 'woothemes'), '<span class="small">', '</span>' ); ?>
  25.  
  26. </div><!-- /.post -->
  27.  
  28. <?php $comm = $woo_options['woo_comments']; if ( ($comm == "page" || $comm == "both") ) : ?>
  29. <?php comments_template(); ?>
  30. <?php endif; ?>
  31.  
  32. <?php endwhile; else: ?>
  33. <div class="post">
  34. <p><?php _e('Sorry, no posts matched your criteria.', 'woothemes') ?></p>
  35. </div><!-- /.post -->
  36. <?php endif; ?>
  37.  
  38. </div><!-- /#main -->
  39.  
  40. <?php
  41. if ( ! is_page( $wootable->frontend->bookings_page ) && ! is_page( $wootable->frontend->manage_page ) ) {
  42. get_sidebar();
  43. }
  44. ?>
  45.  
  46. </div><!-- /#content -->
  47. <?php get_footer(); ?>
RAW Paste Data