WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. renathy
    Member
    Posted 1 year 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?

    http://wordpress.org/extend/plugins/wp-featured-content-slider/

  2. greg.blass
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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:

    http://jquery.malsup.com/cycle/int2.html

    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')
    	});
    </script>

    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

About this Topic

Tags

No tags yet.