• Great plugin !

    But I’ve got 2 carousel on my homepage.
    #1 item count set to 4 at the setting page.
    #2 I need item count as 2 logo only.

    What should I do ? Are there any shortcode parameter to setup the itemcount ?

Viewing 1 replies (of 1 total)
  • Thread Starter bmtriet

    (@bmtriet)

    I’ve edited wp-client-logo-carousel.php by myself :

    <script>
    	/*
     *  Initialize the slider
     */
    		jQuery(document).ready(function($){
    			jQuery("#wpaft-logo-slider-<?php echo $add_id;?>").owlCarousel({
    <?php
    if($add_id == 'yourcatname'){
    	echo "items: 				Number(2),"; // number of item count.
    } else{
    	echo "items: 				Number(wpaft.items),";
    }
     ?>
    				slideSpeed: 		Number(wpaft.slide_speed),
    				paginationSpeed: 	Number(wpaft.pagination_speed),
    				rewindSpeed: 		Number(wpaft.rewind_speed),
    				singleItem: 		Boolean('1' == wpaft.single_item),
    				autoPlay: 			Boolean('1' == wpaft.auto_play),
    				stopOnHover: 		Boolean('1' == wpaft.stop_on_hover),
    				navigation: 		Boolean('1' == wpaft.navigation),
    				pagination: 		Boolean('1' == wpaft.pagination),
    				responsive: 		Boolean('1' == wpaft.responsive)
    			});
    		});
    	</script>

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Great free plugin’ is closed to new replies.