Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="post-<?php the_ID(); ?>" <?php post_class('enigma_blog_full'); ?>>
- <ul class="blog-date-left">
- <li class="enigma_post_date">
- <span class="date"><?php echo get_the_date('j'); ?></span><h6><?php echo get_the_date('M y'); ?></h6>
- </li>
- <li class="enigma_post_author"><?php echo get_avatar(get_the_author_meta( 'ID' ),96); ?></li>
- <li class="enigma_blog_comment"><i class="fa fa-comments-o"></i><h6><?php comments_popup_link( '0', '1', '%', '', '-'); ?></h6></li>
- </ul>
- <div class="post-content-wrap">
- <?php if(has_post_thumbnail()):
- $img = array('class' => 'enigma_img_responsive'); ?>
- <div class="enigma_blog_thumb_wrapper_showcase">
- <div class="enigma_blog-img">
- <?php the_post_thumbnail('blog_2c_thumb',$img); ?>
- </div>
- <?php if (is_home()) : ?>
- <div class="enigma_blog_thumb_wrapper_showcase_overlay">
- <div class="enigma_blog_thumb_wrapper_showcase_overlay_inner ">
- <div class="enigma_blog_thumb_wrapper_showcase_icons">
- <a title="<?php the_title_attribute(); ?>" href="<?php the_permalink(); ?>"><i class="fa fa-link"></i></a>
- </div>
- </div>
- </div>
- <?php endif; ?>
- </div>
- <?php endif; ?>
- <div class="enigma_fuul_blog_detail_padding">
- <?php if(!is_single() && !is_page()) {?><h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2><?php } ?>
- <div class="row">
- <div class="col-md-6 col-sm-3">
- <?php if(get_the_tag_list() != '') { ?>
- <p class="enigma_tags"><?php the_tags( __('Tags : ','weblizar'), '', '<br />'); ?></p>
- <?php } ?>
- </div>
- <div class="col-md-6 col-sm-3">
- <?php if(get_the_category_list() != '') { ?>
- <p class="enigma_cats"><?php echo __("Category : ",'weblizar');
- the_category(' , '); ?></p>
- <?php } ?>
- </div>
- </div>
- <?php if(is_single() || is_page()){ the_content(); }else{ the_excerpt(); }
- $defaults = array(
- 'before' => '<div class="enigma_blog_pagination"><div class="enigma_blog_pagi">' . __( 'Pages:','weblizar' ),
- 'after' => '</div></div>',
- 'link_before' => '',
- 'link_after' => '',
- 'next_or_number' => 'number',
- 'separator' => ' ',
- 'nextpagelink' => __( 'Next page' ,'weblizar' ),
- 'previouspagelink' => __( 'Previous page' ,'weblizar'),
- 'pagelink' => '%',
- 'echo' => 1
- );
- wp_link_pages( $defaults ); ?>
- </div>
- </div>
- </div>
- <div class="push-right">
- <hr class="blog-sep header-sep">
- </div>
Add Comment
Please, Sign In to add comment