Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="col-md-4 col-xs-6 single_post">
- <?php $count = $offset + $alm_item; ?>
- <div class="thumb">
- <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('thumbnail'); ?></a>
- </div>
- <div class="post_meta">
- <h2 class="post_title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
- <p class="single_meta">
- <span class="author hidden-xs"><i class="fa fa-user"></i><em><?php the_author(); ?></em></span>
- <span class="date"><i class="fa fa-clock-o"></i><em><?php echo human_time_diff( get_the_time('U'), current_time('timestamp') ); ?></em></span>
- </p>
- </div>
- </div>
- <?php if(!is_float($count / 3)) : ?>
- <div class="clearfix visible-lg-block"></div>
- <div class="clearfix visible-md-block"></div>
- <?php endif; ?>
- <?php if(!is_float($count / 2)) : ?>
- <div class="clearfix visible-xs-block"></div>
- <div class="clearfix visible-sm-block"></div>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement