I solved the problem by loading the code inside footer.php of my child theme. Thanks people for all the help.
Related Posts:
- Using WordPress 3.5 Media Uploader in meta box?
- WordPress AJAX File Upload – FrontEnd
- How to get attachment id as soon as it is uploaded through media uploader in jquery?
- Add tinymce buttons to caption textarea in media uploader
- How to handle multiple instance of “send_to_editor” js function
- Extend 3.5 media uploader plugin to change button name
- WP Media uploader loading only once in options page
- Combining media queries with image sizes
- Is it possible to hide media details sidebar when wp.media popup is being opened?
- Getting all URLs of uploaded images using media uploader
- Use Media Uploader on Multiple Images on same page
- Front-end Ajax File Upload
- Send multiple attachments with JQuery and wp_mail() function
- Yoast SEO breaking media upload
- Adding URL of PDF from Thickbox in a Meta Box
- How to change the text of the “You are about to permanently delete these items…” alert message when deleting media from the media library?
- wordpress file upload from direct directory not working
- wordpress ajax upload media not working
- jQuery form plugin, submit in the wordpress way
- Submit a form using jQuery
- Adding placeholder attribute using Jquery
- wait() or sleep() function in jquery?
- Force a default browser on my android phone using a simple html shortcut page
- Is jQuery $.browser Deprecated?
- jQuery date formatting
- Ajax Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource
- $ versus jQuery
- How to center image in carousel
- jQuery dynamic selector
- How to pass $(this) properly in click jQuery function
- How to remove specific value from array using jQuery
- The ‘describe’ keyword in javascript
- e.preventdefault(); not working
- How to empty input field with jQuery
- how to remove default jquery and add js in footer?
- WordPress Ajax URL for function in functions.php
- Move WordPress native javascript to bottom of page?
- Lightbox popup on WooCommerce add_to_cart action
- AJAX function returning -1
- jQuery AJAX form validation
- Media manager multiple selection
- Proper way to load a single post via Ajax?
- Trying to get single posts to load on the front page via ajax
- How to include jQuery properly?
- Get ACF value in external jQuery document
- Gravity Forms not loading under https, jQuery is not defined
- Adding a character counter to the excerpt metabox
- Need To Deregister Scripts Via Functions.Php
- How to deregister a jquery version for a specific page?
- Enqueuing javascript files
- enqueued script with jquery dependency not getting jquery
- Uncaught TypeError: jQuery is not a function
- WordPress customizer refresh screen after save
- How to undo deregister script and use local versions?
- Can’t load a class into WordPress post editor’s content field
- How can I check email exists via a jquery keyup()?
- Include jQuery plugin in WordPress
- Trying to remove duplicate jquery scripts
- How to make an WordPress element sticky? [closed]
- How to Dynamically Load Content Into Body of Bootstrap Modal Window?
- I want to import my Json file into a custom made display-modal. How do i link my Json file?
- Searching multiple tags and adding jQuery dependant script onto page template?
- TinyMCE 4 remove/add attributes for all images
- Validating a cloned/repeatable input (jQuery) [closed]
- Reload wordpress shortcodes
- Ajax form submit not working, returns 0
- Do I need to use jQuery for my template?
- Why not working jquery show() function in wordpress? [closed]
- Displaying an image’s alt title and caption inside a fancybox window. Working, but showing the same alt and caption for each image
- Problem Implementing parallax in header of bp-default theme
- Need workaround for insecure XMLHttpRequest endpoint request
- jQuery don’t working
- Moving jQuery to footer from header
- jQuery plugin not loading
- Duplicate “default” form with jQuery
- Checking length of string in an admin area field onblur with jQuery
- My wordpress site is using local ip to point to jquery and other files, how to fix it?
- Search query with Ajax
- Blur.js with WordPress – Enqueued, but server not finding file
- Load an action which is in an url with Jquery
- After inserting jquery weather code, my responsive menu is lost
- Tabbed content for WordPress sidebar
- Retrive username of the loged in user using jquery
- jquery Autocomplete
- Homepage loads many unnecessary jquery-ui files
- How to change event in slider
- Adding scripts before plugins scripts
- Bootstrap with Flexslider jQuery Issue
- How to make jQuery load AFTER plugin’s script?
- jQuery not working internal pages [duplicate]
- Contact Form 7 submission does not complete [closed]
- Unable to understand this jquery code [closed]
- how to display post in jquery slider and carousel
- Carousel Hover Image
- What is calling jquery?
- Accessing Advanced Custom Fields with Repeater using jQuery instead of PHP
- How to Add jQuery cod in wordpress [duplicate]
- Fire an event after Featured Image selection
- Elementor form – checkboxes validation
- How to add input file plain text and submit to publish?