Forum Replies Created

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

    (@andrius1984)

    The code is the following:

    add_action ('wp_footer', 'slider_trigger', 50);
    
    function slider_trigger() {
    	?>
    	<script type="text/javascript">
    		!function($){
    			jQuery(function(){
    				$('#customizr-slider').carousel({interval:5000})
    			})
    		}(window.jQuery)
    	</script>
    	<?php
    }

    It was written by nikkeo in this post which described a similar problem. nikkeo suggested that the problem may be the slider trigger script not being enqueued.

    Sorry, I can’t share a link to my page because I’m woking in local ??

Viewing 1 replies (of 1 total)