[Plugin: TBTestimonials] please don't load jQuery from Google
-
great work on this plugin, thanks!
one issue I have is that you’re loading jQuery from google, and it’s an old version.
this means I’ve got 2 versions of jQuery loading…you could just make your scripts dependent on jQuery without explicitly loading the library, which would rely on the core jQuery. I see you wrote a comment in the code saying that it could cause conflict, but I’m pretty sure that’s the right way to do it.
Also, you don’t want to be loading scripts on the init hook but on wp_enqueue_scripts:
https://wpdevel.wordpress.com/2011/12/12/use-wp_enqueue_scripts-not-wp_print_styles-to-enqueue-scripts-and-styles-for-the-frontend/Another thing: I was a bit confused about how to display all testimonials (but only one at a time) with the fade-in / fade-out. Apparently, this only works with the widget? I seem to remember shortcode parameters but couldn’t find that mentioned anywhere.
https://www.ads-software.com/extend/plugins/tb-testimonials/
- The topic ‘[Plugin: TBTestimonials] please don't load jQuery from Google’ is closed to new replies.