WP Featured Content Slider
[closed] slide numbers as buttons - does plugin support this? (3 posts)

  1. renathy
    Posted 3 years ago #

    I am considering to use this plugin
    However, I also need to have buttons at the bottom of slideshow with slide numbers.
    So, for example slideshow with 5 slides will have 1 2 3 4 5 buttons. And user can click on them.

    Does this plugin support it without much modifications?


  2. greg.blass
    Posted 3 years ago #

    +1 to this request. I have a project that I need to implement '1 2 3 4' style links on. I have this plugin working but now am looking for an alternative because it doesn't have this functionality.

  3. greg.blass
    Posted 3 years ago #

    I figured out how to extend the plugin to do this myself - it is actually very easy because the plugin relies on jQuery cycle. You can add a pager like so:


    In content-slider.php, just change 'null' to '#nav' in this code:

    <script type="text/javascript">
    	jQuery('#featured_slider ul').cycle({
    		fx: '<?php $c_slider_effect = get_option('effect'); if(!empty($c_slider_effect)) {echo $c_slider_effect;} else {echo "scrollLeft";}?>',
    		prev: '.feat_prev',
    		next: '.feat_next',
    		speed:  800,
    		timeout: <?php $c_slider_timeout = get_option('timeout'); if(!empty($c_slider_timeout)) {echo $c_slider_timeout;} else {echo 4000;}?>,
    		pager: '#nav' (instead of 'null')

    Then add:

    <div id="nav" class="nav"></div>

    right before:

    <div id="featured_slider">

    And style it with CSS how you'd like it to look.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Featured Content Slider
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.