<?php /** * The featured slider on the home page * */ ?> <?php if ( get_option('cp_enable_featured') == 'yes' ) : ?> <script type="text/javascript"> // <![CDATA[ /* featured listings slider */ jQuery(document).ready(function($) { $('.slider').jCarouselLite({ btnNext: '.next', btnPrev: '.prev', vertical: true, visible: 15, hoverPause: true, auto: 2800, speed: 1100, easing: 'easeOutQuint' // for different types of easing, see easing.js }); }); // ]]> </script> <?php query_posts( array('post__in' => get_option('sticky_posts'), 'post_type' => APP_POST_TYPE, 'post_status' => 'publish', 'orderby' => 'rand') ); ?> <?php if ( have_posts() ) : ?> <ul> <?php get_template_part( 'loop', 'ad_listinghome' ); ?> <?php endif; ?> <?php wp_reset_query(); ?> <?php endif; // end feature ad slider check ?>
There are currently 1 users browsing this thread. (0 members and 1 guests)