Guest User

Untitled

a guest
Jan 24th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. <?php get_header(); ?>
  2. <?php global $woo_options; ?>
  3.  
  4. <div id="content" class="col-full">
  5.  
  6. <div id="main" class="fl">
  7.  
  8. <?php if (have_posts()) : $count = 0; ?>
  9. <?php while (have_posts()) : the_post(); $count++; ?>
  10.  
  11. <div class="post page">
  12.  
  13. <?php if ( isset( $woo_options['woo_portfolio_panel_headers'] ) && $woo_options['woo_portfolio_panel_headers'] == 'true' ) { ?><h1 class="portfolio-title"><?php echo $woo_options['woo_portfolio_title']; ?><span class="portfolio-tagline"><?php echo $woo_options['woo_portfolio_tagline']; ?></span></h1><?php } ?>
  14.  
  15. <div class="entry">
  16. <?php
  17. echo woo_embed('width=687');
  18. if ( !woo_embed('width=687') )
  19. woo_image('key=portfolio-image&width=687&class=portfolio-img');
  20. ?>
  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 == "post" || $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 get_sidebar(); ?>
  41.  
  42. </div><!-- #content -->
  43.  
  44. <?php get_footer(); ?>
Add Comment
Please, Sign In to add comment