change all $ to jQuery and enque script this way so your script will load after loading jQuery and since wordpress do use prototype so we cannt use $ user jQuery
wp_enqueue_script('name_of_script','path',array('jquery'));
Related Posts:
- pass object/JSON to wp_localize_script
- how can I add an icon/image for a child theme?
- My child theme doesn’t work Error: “The parent theme is missing. Please install your parent theme”
- Child Theme vs Duplicate Theme Renamed
- How to add Color Picker in Theme Options for the following?
- Adding Action Hooks In Parent Theme For Easier Child Theme Customization
- How to alter the text of the post “Excerpt” box label in WordPress post editor?
- Add colors to existing color palette without replacing it
- How do I get my child-theme to work with my theme’s includes folder?
- CSS in child theme not overriding the parent theme [closed]
- WordPress Google Maps in Custom Theme
- Optimal solution to develop a wordpress theme?
- When developing a distributable Theme, does it HAVE to be “inheritable”?
- Nesting Functions within Functions
- Create a theme by combining a parent and a child theme
- De-registering parent style sheet css recommended?
- Can I customize any WordPress parent block-based theme template files by child theme like a parent classic theme?
- WordPress Multisite: Have the same header and footer of main-blog on all sub-blogs
- Can a child theme based on Starker theme be released as free to use theme for public use?
- Changing order title and featured image in blog post (Astra theme)
- Adding wp_enqueue_media(); causes problem
- how can I remove the sidebar from my wp homepage [closed]
- Unhook action from child theme
- Does any theme support child theme?
- Am I supposed to create a child theme for every theme I use?
- How to Edit the style of header title of Twenty Eleven Theme?
- How to remove a file included in parent theme with locate_template() via child theme?
- Can’t override template file in child theme
- Unhook jQuery from WooCommerce via `functions.php`? [closed]
- WP 3.1 upgrade breaks AutoFocus+ theme
- Difficulty loading jQuery with wp_enqueue_script
- jQuery not available to other scripts
- Override template file i subfolders
- My javascript jquery won’t work?
- What happens to child theme if I change to new version of parent theme?
- Include Parent functions.php in Child Theme functions.php
- Injecting a custom sql query into a page/theme
- Why is it needed to enqueue parent stylesheet in child theme?
- Is it possible to make *.js and folders visible in theme-editor
- Replace function in a child theme
- Can’t remove DIV from hooks in Storefront child theme [closed]
- filemtime(): stat failed warning within a child theme
- Overrite parent functions using child functions
- How can I override a require() used in functions.php of parent theme to my child theme
- Derive child theme from separate theme
- Need help with adding templates (archives and sitemap) to WordPress child theme
- Using a starter theme vs starter theme with child theme
- How to create and populate with few links a menu in child theme functions.php?
- Create a child theme from multiple themes
- How to make javascript work on theme options page
- JQuery undefined and Stylesheet loads in bottom along with js files
- Weirdness in jQuery supplied with WordPress
- Why still output /wp-content/themes/twentynineteen?
- Avada Child Theme Development
- Questions from a new WP Dev [closed]
- Do I need to re-import Susy to work with it in a child theme? [closed]
- Unable to change the priority with ‘remove_action’ and ‘add_action’ in child theme
- Translate a child theme with pure PHP and gettext
- Remove h1 from 2015 theme
- Trouble in enquing all js files under certain directory
- What might cause a featured image not to display?
- Add content after get_header
- Converting a theme to a child theme in a network
- MapPress Easy Google Map in Jquery Tabs Problem
- Understrap-child conditional js script
- I don’t think WordPress is loading jquery or bootstrap js
- Embedding CodePen Calorie Script – jquery error
- How can I access variables from theme in child theme? [closed]
- How to load jQuery with Ajax in WP version 5.3.2?
- How to enqueue scripts properly with ES6 webpack?
- How to display home page last modified date in anywhere of wordpress theme?
- Infinite scroll without plugin using ajax
- How to show metabox on page if it is using a template
- change background image on scroll
- Child theme menu not appearing in Twenty Seventeen
- Edit Product Archive design for Woo theme
- Duplicate child theme incl. design changes
- Move the social media icons to the left of a WordPress nav menu for Soledad child Theme
- How to connect two child themes on different sub domains to the same base theme
- How to customize the colors within a stylesheet using a WordPress setting
- jQuery conflict in WordPress, works fine in HTML
- Protecting work on client’s web host
- How would I get this to work – send to post from thick box
- How to migrate the menu from the site on my own theme in WordPress?
- FitVid not working for iframes on particular theme install
- Enable WP to accept standard jQuery code embeding between the tags [duplicate]
- WordPress custom jquery not found
- Passing a location-dependent array via wp_localize_script within a shortcode
- Set start page depending on screen width [closed]
- Extending arrays in parent theme without completely overriding the files
- WordPress Subpages Fancybox Trouble
- WordPress theme Modifications not showing up on live server
- can’t add EVENT LISTENER to a element
- add_action works outside condition but not inside it
- Global Navigation menu in diiferrent wordpress setups
- Should I create a child theme for a parent custom theme? [closed]
- ways to create customized theme (hard coded – no pagebuilder)
- jQuery Snippet Not Working on WordPress Site [closed]
- Execute javscript when theme customizer loads (autosave issue)
- WordPress Includes mejs 404 error