Advertisement
zeally7

Untitled

Jan 29th, 2015
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. <?php if( get_the_content() != '' ): ?>
  2. <div class="stack stack-page-content" id="<?php echo $stack['id']; ?>">
  3. <div class="container">
  4. <div class="row">
  5.  
  6. <div class="span12">
  7. <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  8. <?php if( get_post_thumbnail_id() && theme_options( 'blog', 'single_featured_img' ) != 'off' ): ?>
  9. <div class="post-thumb-box">
  10. <?php echo gen_responsive_image_block( get_post_thumbnail_id(), array(
  11. array( 'width' => 290, 'media' => '(max-width: 767px)' ),
  12. array( 'width' => 290*2, 'media' => '(max-width: 767px) and (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)' ),
  13. array( 'width' => 456, 'media' => '(min-width: 768px)' ),
  14. array( 'width' => 456*2, 'media' => '(min-width: 768px) and (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)' ),
  15. array( 'width' => 600, 'media' => '(min-width: 980px)' ),
  16. array( 'width' => 600*2, 'media' => '(min-width: 980px) and (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)' )
  17. )
  18. ); ?>
  19. </div>
  20. <?php endif; ?>
  21.  
  22. <?php the_content(); ?>
  23.  
  24. <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'theme_front' ), 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
  25. <div class="clear"></div>
  26.  
  27. <!-- Author Box -->
  28. <?php if( is_single() && theme_options( 'blog', 'single_author_box' ) == 'on' ): ?>
  29. <?php get_template_part('part', 'author-box'); ?>
  30. <?php endif; ?>
  31.  
  32. <!-- Comment -->
  33. <?php if( comments_open() && !( is_page() && theme_options('page', 'comment_enable') == 'off' ) ): ?>
  34. <?php comments_template(); ?>
  35. <?php endif; ?>
  36. </div>
  37. </div>
  38.  
  39.  
  40. </div>
  41. </div>
  42. </div>
  43. <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement