jQuery and plugin conflict

  • In Progress
    Posted in: Highend WP Theme  
  • Customer
    kfr
    May 24, 2015 at 10:09 pm #40899

    Hello,

    I need to ask for some advice on adding custom jQuery to the theme. The jQuery I’m using to create a sticky element on my pages is working fine, but it causes a number of HB elements to not work, or at least for sure the animations.

    I have created a functions.php file in my child theme and am using the wp_register_script and wp_enqueue_script to call the js file. When I do this, the jQuery is working as I had intended on the page…but like I said…it’s causing the theme animations to not work at all. The countdown timer, for example, just shows zeros. Not sure what I’m doing wrong, if this is the correct way/place to add custom script to the theme or how to avoid the conflict?

    In line with this, is there some documentation on how to properly use the “Raw JS” element in pages? I tried adding my jQuery to one of those elements, but to no affect.

    Any advice would be greatly appreciated!

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.