Slider not working
-
A while a go the slider stopped working on my site.
The images are showing up as a plain UL list instead. It seams as if the bx-slider javascript is never called.
Do you have a fix for this? I’ve tried disabling all plugins, but to no avail.
-
I am having the same problem.
Hello,
Have you solved this problem? How ?
Thank you
Try to add this
<script> jQuery(document).ready(function(){ jQuery('.bxslider').bxSlider( { mode: 'fade', speed: 1000, captions: true, minSlides: 1, maxSlides: 1, slideWidth: 1170, adaptiveHeight: true, auto: true, preloadImages: 'all', pause: 5000, autoHover: true } ); }); </script>before </head> in your header.php file
Skrowti’s solution worked, but as I am not using a child theme, and aboslutely no plugins at the moment, is there any way to get this pushed to the theme developer to make a permanent fix?
I fixed it temporarily bu using this plugin:
https://nb.wordpress.org/plugins/custom-javascript-inserter/The plugin is a bit buggy so you need to remove all linechanges for it to work.
- Install the plugin
- Go to edit the page with your slider (e.g. frontpage)
- Paste the following code in the field for raw JS code
jQuery(document).ready(function(){ jQuery('.bxslider').bxSlider( { mode: 'fade', speed: 1000, captions: true, minSlides: 1, maxSlides: 1, slideWidth: 1170, adaptiveHeight: true, auto: true, preloadImages: 'all', pause: 5000, autoHover: true });});
The topic ‘Slider not working’ is closed to new replies.
