Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--SLIDER-->
- <div id="sliderwrap">
- <div class="slidercontent">
- <div id="slider">
- <ul>
- <?php
- $slidecat = get_option('ep_slider_cat');
- $slidenum = get_option('ep_slider_count');
- ?>
- <?php $sliders = new WP_Query();
- $sliders->query('orderby=rand&posts_per_page='. $slidenum .'');
- while ($sliders->have_posts()) : $sliders->the_post(); ?>
- <li>
- <div class="content"><h2><a href="<?php the_permalink(); ?> rel="nofollow"> rel="nofollow"> rel="nofollow">"><?php the_title(); ?></a></h2><?php the_excerpt(); ?></br> Posted in <?php the_category(); ?></div>
- <?php the_post_thumbnail(); ?>
- <div class="sframe"></div>
- </li>
- <?php endwhile; ?>
- </ul>
- </div>
- </div>
- </div>
- <div class="sl_control"></div>
- <!--SLIDER END-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement