Guest User

post-content.php

a guest
Jan 6th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.55 KB | None | 0 0
  1.  
  2. <div id="post-<?php the_ID(); ?>" <?php post_class('enigma_blog_full'); ?>>
  3. <ul class="blog-date-left">
  4. <li class="enigma_post_date">
  5. <span class="date"><?php echo get_the_date('j'); ?></span><h6><?php echo get_the_date('M y'); ?></h6>
  6. </li>
  7. <li class="enigma_post_author"><?php echo get_avatar(get_the_author_meta( 'ID' ),96); ?></li>
  8. <li class="enigma_blog_comment"><i class="fa fa-comments-o"></i><h6><?php comments_popup_link( '0', '1', '%', '', '-'); ?></h6></li>
  9. </ul>
  10. <div class="post-content-wrap">
  11. <?php if(has_post_thumbnail()):
  12. $img = array('class' => 'enigma_img_responsive'); ?>
  13. <div class="enigma_blog_thumb_wrapper_showcase">
  14. <div class="enigma_blog-img">
  15. <?php the_post_thumbnail('blog_2c_thumb',$img); ?>
  16. </div>
  17. <?php if (is_home()) : ?>
  18. <div class="enigma_blog_thumb_wrapper_showcase_overlay">
  19. <div class="enigma_blog_thumb_wrapper_showcase_overlay_inner ">
  20. <div class="enigma_blog_thumb_wrapper_showcase_icons">
  21. <a title="<?php the_title_attribute(); ?>" href="<?php the_permalink(); ?>"><i class="fa fa-link"></i></a>
  22. </div>
  23. </div>
  24. </div>
  25. <?php endif; ?>
  26. </div>
  27. <?php endif; ?>
  28. <div class="enigma_fuul_blog_detail_padding">
  29. <?php if(!is_single() && !is_page()) {?><h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2><?php } ?>
  30. <div class="row">
  31. <div class="col-md-6 col-sm-3">
  32. <?php if(get_the_tag_list() != '') { ?>
  33. <p class="enigma_tags"><?php the_tags( __('Tags : ','weblizar'), '', '<br />'); ?></p>
  34. <?php } ?>
  35. </div>
  36. <div class="col-md-6 col-sm-3">
  37. <?php if(get_the_category_list() != '') { ?>
  38. <p class="enigma_cats"><?php echo __("Category : ",'weblizar');
  39. the_category(' , '); ?></p>
  40. <?php } ?>
  41. </div>
  42. </div>
  43. <?php if(is_single() || is_page()){ the_content(); }else{ the_excerpt(); }
  44. $defaults = array(
  45. 'before' => '<div class="enigma_blog_pagination"><div class="enigma_blog_pagi">' . __( 'Pages:','weblizar' ),
  46. 'after' => '</div></div>',
  47. 'link_before' => '',
  48. 'link_after' => '',
  49. 'next_or_number' => 'number',
  50. 'separator' => ' ',
  51. 'nextpagelink' => __( 'Next page' ,'weblizar' ),
  52. 'previouspagelink' => __( 'Previous page' ,'weblizar'),
  53. 'pagelink' => '%',
  54. 'echo' => 1
  55. );
  56. wp_link_pages( $defaults ); ?>
  57. </div>
  58. </div>
  59. </div>
  60. <div class="push-right">
  61. <hr class="blog-sep header-sep">
  62. </div>
Add Comment
Please, Sign In to add comment