Js file is not adding using this code in functions.php
One of the things that confused me when using ajax was that die() is necessary at the end of the ajax callback function. Another issue is with the path(s) If you use get_template_directory_uri() and you use a child theme then you get the parents folder. If you use get_bloginfo(‘stylesheet_directory’) and you us a child theme … Read more