Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $option = get_option('scl_options'); ?>
- <div id="slider">
- <ul>
- <?php $loop = new WP_Query( array( 'post_type' => 'slider', 'posts_per_page' => $option['scl_num_sld'] ) ); ?>
- <?php while ( $loop->have_posts() ) : $loop->the_post(); ?>
- <li>
- <?php the_post_thumbnail(); ?>
- </li>
- <?php endwhile; ?>
- </ul>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement