Forum Replies Created
Viewing 6 posts - 1 through 6 (of 6 total)
-
AuthorPosts
-
#1 is fixed. #2 from my original post was still a problem. The problem is that sometimes there’s Javscript running that references nivoSlider, but that object isn’t on every page, so it’s undefined. I wound up fixing it with this an IF block that checks for the object first, as in:
// functions.php jQuery(document).ready(function() { if(!jQuery('#slider').nivoSlider) return; 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); ?>, }); });
// custom.js // nivo slider jQuery(window).load(function() { if(jQuery('#slider').nivoSlider){ jQuery('#slider').nivoSlider({ effect: 'fade' }); } if(jQuery('ul#testimonials').quote_rotator){ jQuery('ul#testimonials').quote_rotator(); } });
Could these changes be evaluated and changed on your end, in case a template update is ever pushed out?
hi shri,
the formatting for the reviews was all lost. it used to be a slider that shows one review at a time, now there’s several displayed vertically.sure
(keith)
Can you provide an update on this?
Sent
Perfect! Thanks!
-
AuthorPosts
Viewing 6 posts - 1 through 6 (of 6 total)