<?php if ( $cp_options->enable_featured ) : ?> <?php appthemes_before_loop( 'featured' ); ?> <?php if ( $featured = cp_get_featured_slider_ads() ) : ?> <div class="panel panel-warning featured-listings"> <div class="panel-body"> <h3><?php _e( 'Featured Listings', APP_TD ); ?></h3> <ul id="responsive"> <?php while ( $featured->have_posts() ) : $featured->the_post(); ?> <?php appthemes_before_post( 'featured' ); ?> <?php get_template_part( 'content-slider', get_post_type() ); ?> <?php appthemes_after_post( 'featured' ); ?> <?php endwhile; ?> <?php appthemes_after_endwhile( 'featured' ); ?> </ul> </div> </div> <?php endif; ?> <?php appthemes_after_loop( 'featured' ); ?> <?php wp_reset_postdata(); ?> <?php endif; // end feature ad slider check ?>
There are currently 1 users browsing this thread. (0 members and 1 guests)