Celebrate Christmas and New Year with 10% off on Themes Bundle, use coupon code "XMAS10" 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

#3441

Grace Themes
Keymaster

Hi

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() ) { ?>        
<script>
	jQuery(window).load(function() {
        jQuery('#slider').nivoSlider({
                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); ?>,
    });
});
</script>
<?php //} ?>

Please do this changes and let me know your feedback.

Regards
Grace Themes

  • This reply was modified 1 year, 9 months ago by  Grace Themes.