Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="mvp-feat-tab-col1" class="mvp-feat1-list left relative mvp-tab-col-cont">
- <?php global $do_not_duplicate; if (isset($do_not_duplicate)) { if(get_option('mvp_feat_ad')) { $mvp_feat_list_num = 8; } else { $mvp_feat_list_num = 10; }; $paged = (get_query_var('page')) ? get_query_var('page') : 1; query_posts(array( 'posts_per_page' => $mvp_feat_list_num, 'post__not_in'=>$do_not_duplicate, 'paged' =>$paged, 'ignore_sticky_posts'=> 1 )); if (have_posts()) : while (have_posts()) : the_post(); ?>
- <a href="<?php the_permalink(); ?>" rel="bookmark">
- <div class="mvp-feat1-list-cont left relative">
- <?php if ( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) { ?>
- <div class="mvp-feat1-list-out relative">
- <div class="mvp-feat1-list-img left relative">
- <?php the_post_thumbnail('mvp-small-thumb'); ?>
- </div>
- <!--mvp-feat1-list-img-->
- <div class="mvp-feat1-list-in">
- <div class="mvp-feat1-list-text">
- <h2>
- <?php the_title(); ?>
- </h2>
- <span class="mvp-cd-date left relative">
- <?php the_date('j F Y'); ?> at
- <?php the_date('g:i a'); ?>
- </span>
- </div>
- <!--mvp-feat1-list-text-->
- </div>
- <!--mvp-feat1-list-in-->
- </div>
- <!--mvp-feat1-list-out-->
- <?php } else { ?>
- <div class="mvp-feat1-list-text">
- <h2>
- <?php the_title(); ?>
- </h2>
- <span class="mvp-cd-date left relative">
- <?php the_date('j F Y'); ?> at
- <?php the_date('g:i a'); ?>
- </span>
- </div>
- <!--mvp-feat1-list-text-->
- <?php } ?>
- </div>
- <!--mvp-feat1-list-cont-->
- </a>
- <?php endwhile; endif; wp_reset_query(); } ?>
- </div> <!--mvp-feat-tab-col1-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement