• have the Smooth Slider plugin installed and it works on the default theme. I selected it as Display Slider on this Post/Page, and used the template tag for that specify page.php as

    <?php if ( function_exists( 'get_smooth_slider' ) ) { get_smooth_slider(); } ?>

    However, when I change to my custom theme with the same code it fails and gives the error message:
    Uncaught TypeError: undefined is not a function for the line:
    jQuery(“#smooth_slider_7”).cycle({

    What should I do? I thought JQuery was already included for wordpress and I later added the code:

    <?php wp_enqueue_script("jquery"); ?>
    To the header

Viewing 1 replies (of 1 total)
  • Hi there, I had a similar issue, and it turned out to be a very outdated version of jQuery that I was enqueueing. You may wish to make sure that your WordPress install and the subsequent jQuery file it includes is up to date, or if you enqueue from google like I do, make sure that’s up to date.

Viewing 1 replies (of 1 total)
  • The topic ‘jQuery Issue with Smooth Slider Plugin’ is closed to new replies.