I have a slider which i want to use numbers instead of bullets. Also I want to numbers to slide.
Code is following , section in wordpress:
<!-- Begin News Slider -->
<?php $loop = new WP_Query( array( 'post_type' => 'news', 'posts_per_page' => 25 ) ); ?>
<div class="news-slider-container">
<div class="news-slider-content">
<ul class="bxslider">
<?php while ( $loop->have_posts() ) : $loop->the_post(); ?>
<li>
<a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( '%s', 'foo' ), the_title_attribute( 'echo=0' ) ); ?>">
<div class="news-thumb"><?php the_post_thumbnail(''); ?></div>
<p><?php the_title(); ?></p>
</a>
</li>
<?php endwhile; ?>
</ul>
</div>
</div>
<script type="text/javascript">
$('.bxslider').bxSlider({
auto: true,
pager: 'short'
});
</script>
I didnt see any option for numbers as for pager.
how can i do it?
You can customize the css:
if you use Chrome Dev Tool it’s quite easy.