<div class="featured-slider"> <div class="flexslider"> <ul class="slides"> <?php while (mobileview_have_posts()) { mobileview_the_post(); $first++; global $post; $hipnews_slider_ID[] = $post->ID; ?> <li> <img src="<?php mobileview_the_post_thumbnail(false, 'feat-thumbnail'); ?> " class="attachment-post-thumbnail slider-thumbnail" alt="post thumbnail" /> <h3 class="slide-title"><a href="<?php mobileview_the_permalink(); ?> "><?php mobileview_the_title(); ?> </a></h3> </li> <?php } ?>
<!-- Code for Using Thumbnails --> <div class="entry-image"> <?php if (is_single() || is_page()) { ?> <img src="<?php mobileview_the_post_thumbnail(false, 'large'); ?> " alt="post thumbnail" /> <?php } else { ?> <img src="<?php mobileview_the_post_thumbnail(); ?> " alt="post thumbnail" /> <?php } ?> </div>