Slider working only on homepage
-
Hi. I placed the plugin shortcode inside footer.php from the theme, and on the static front page is working very fine. When i access other pages of my site, the plugin isn’t working, it shows only an empty table, with a crazy design.
Can you help me, please?
Thanks in advance.
-
I kind of found the problem, on the pages where the slider isn’t working, on the console it says this error: $n(…).jCarouselLite is not a function, more precisely here:
$n(“.mainSliderDiv”).jCarouselLite({
btnNext: “.next”,
btnPrev: “.prev”,
<?php if($settings[‘auto’]){?>
auto: <?php echo $settings[‘speed’]; ?>,
<?php } ?>
speed: <?php echo $settings[‘speed’]; ?>,
<?php if($settings[‘pauseonmouseover’] and $settings[‘auto’]){ ?>
hoverPause: true,
<?php }else{ if($settings[‘auto’]){?>
hoverPause: false,
<?php }} ?>
circular: <?php echo ($settings[‘circular’])? ‘true’:’false’ ?>,
<?php if($settings[‘visible’]!=””){ ?>
visible: <?php echo $settings[‘visible’].’,’; ?>
<?php } ?>
scroll: <?php echo $settings[‘scroll’]; ?>});
I can’t see why this error shows only on some pages… Please help me with an idea..
I solved it! Sorry for the trouble, I was using some javascript tags inside the page and there was a conflict with that… Hope i didn’t spam the forum 😀
Ok
So resolved this topic.
Thanks
- The topic ‘Slider working only on homepage’ is closed to new replies.