Guest User

Untitled

a guest
Feb 19th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3. <!-- Featured Module -->
  4. <?php include (TEMPLATEPATH . "/includes/featured-single.php"); ?>
  5. <!-- Featured Module end -->
  6.  
  7.  
  8. <div id="content" class="col-full">
  9.  
  10. <div id="main" class="fullwidth">
  11.  
  12. <?php if (have_posts()) : $count = 0; ?>
  13. <?php while (have_posts()) : the_post(); $count++; ?>
  14.  
  15. <div <?php post_class(); ?>>
  16.  
  17. <?php if ( $GLOBALS['thumb_single'] == "true" ) woo_get_image('image',$GLOBALS['single_w'],$GLOBALS['single_h'],'thumbnail alignright'); ?>
  18.  
  19. <h1 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
  20.  
  21. <p class="post-meta">
  22. <span class="small"><span class="post-date"><?php the_time(get_option('date_format')); ?></span>
  23. <?php edit_post_link( __('(Edit)', 'woothemes'), '<span class="small">', '</span>' ); ?>
  24. </p>
  25.  
  26. <?php if(function_exists('the_ratings')) { echo '<div class="ratings single-ratings">'; the_ratings(); echo '</div>'; } ?>
  27.  
  28. <div class="entry">
  29. <?php the_content(); ?>
  30. </div>
  31.  
  32. <?php woo_postnav(); ?>
  33.  
  34. </div><!-- /.post -->
  35.  
  36. <?php $comm = get_option('woo_comments'); if ( ($comm == "post" || $comm == "both") ) : ?>
  37. <?php comments_template('', true); ?>
  38. <?php endif; ?>
  39.  
  40. <?php endwhile; else: ?>
  41. <div class="post">
  42. <p><?php _e('Sorry, no posts matched your criteria.', 'woothemes') ?></p>
  43. </div><!-- /.post -->
  44. <?php endif; ?>
  45.  
  46. </div><!-- /#main -->
  47.  
  48. </div><!-- /#content -->
  49.  
  50. <?php get_footer(); ?>
Add Comment
Please, Sign In to add comment