10% off on Themes Bundle, use coupon code "grace2019" Buy Now

Reply To: Slider on every page / Language

Home Support Pulsing WordPress Theme Slider on every page / Language Reply To: Slider on every page / Language


Grace Themes


To load homepage slider in all the pages just make a small changes in functions.php file

Go to the line no. 217 in functions.php file
and comment below code
//if ( is_home() || is_front_page() ) {

<?php //if ( is_home() || is_front_page() ) { ?>        
	jQuery(window).load(function() {
                effect:'<?php echo of_get_option('slideefect',true); ?>',
		animSpeed: <?php echo of_get_option('slideanim',true); ?>,
		pauseTime: <?php echo of_get_option('slidepause',true); ?>,
		directionNav: <?php echo of_get_option('slidenav',true); ?>,
		controlNav: <?php echo of_get_option('slidepage',true); ?>,
		pauseOnHover: <?php echo of_get_option('slidepausehover',true); ?>,
<?php //} ?>

Please do this changes and let me know your feedback.

Grace Themes