WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: AnythingSlider] Shortcode for Show Multiple Option? (2 posts)

  1. JRiley21
    Member
    Posted 2 years ago #

    Hi. :)

    I'm using the AnythingSlider Plugin (which is awesome), and have multiple slideshows on a single page. I'm calling it up with this: <?php echo do_shortcode( "[anything_slides]" ); ?>

    I noticed there are a lot of different shortcodes to customize each individual slider, but was wondering if there's any way to individualize the show multiple option that you see in the appearance settings.

    For example, I'd like to have my first slideshow display only 4 images, and my second one display 6. Any ideas!?

    Thanks!

  2. amillet
    Member
    Posted 2 years ago #

    Hi JRiley,

    I was having trouble with the shortcode implementation of showMultiple as well, so here's a different solution:

    <script type='text/javascript'>
    
    		jQuery(function(){
    		jQuery('#feature .anythingSlider').anythingSlider({
    
    		showMultiple: 2,
    
    		}); // add any non-default options here
    	});

    Here I'm using a selector for a div for feature, and referring the anythingSlider class. If you want to show a different amount of slides somewhere else, use a different div selector along with the .anythingSlider and repeat.

    Hope that helps!

Topic Closed

This topic has been closed to new replies.

About this Topic