Ok, I managed to solve this issue because I was using the wrong WP functions to point my child themes directory and thus my bundled javascript script.
I cleared out my functions.php file and added the below and it all works now:
function load_js_files()
{
wp_enqueue_script( 'script', get_stylesheet_directory_uri() . '/js/scripts-bundled.js', array ( 'jquery' ), 1.1, true);
}
add_action('wp_enqueue_scripts', 'load_js_files');
Related Posts:
- Question about the way that wp_register_script works
- Add js into a theme [closed]
- What’s a good way to unenqueue all scripts for a single template page?
- Changing URL of scripts, scripts outside theme folder?
- WordPress 5.1 upgrade has lost the parent theme JavaScript
- What are the benefits of using wp_enqueue_script?
- What theme is good for posting code? [closed]
- Jquery in Child Theme
- How to get a jQuery script to run on a page?
- How do i structure my theme folder to avoid one huge list of files
- Editing Source Code in WordPress
- wp_register_script multiple identifiers?
- Including javascript for a shortcode
- Want to have the Post editor remembering the last editing position
- How do I enqueue(or delay loading of) tags in individual page posts?
- When does WordPress wrap inline scripts in CDATA?
- How to avoid redefining requirejs in plugin when another plugin also uses requirejs
- wp_enqueue_script adds only the first script
- How to properly add Bootstrap and JQuery Javascripts?
- Cannot find the code for “Edit This” link in posts in a specific theme
- What’s the proper way to include inlined javascript-source?
- Why won’t my scripts load?
- Retina JS not working
- JavaScript Files Registered in Parent Theme Won’t Load When Calling wp_enqueue_script() in Child Theme?
- Angular integration with homepage
- Twenty fifteen theme – change responsive menu condition
- Tips for managing code when developing a parent theme framework
- how do i in ignore/disable/delete a javascript call from parent in child theme?
- Enqueue custom css file on specific page
- Why is JavaScript being added to header as application/oembed?
- Is it good practice moving the main stylesheets after the plugin styles?
- Using JQuery to check for Rel Attribute of Image before Overriding It
- Getting a ‘slide down’ js panel implemented within WP
- Javascript asset not enqueuing with the rest
- How to use only scripts from new theme?
- Understanding wp_enqueue_style
- ‘Bones’ theme: Load stock scripts in footer instead of header?
- JavaScript Libraries in WordPress
- enqueue_script doesn’t work with HTML5 blank theme
- Setting Variable Path to Template Directory inside Script
- wp_enqueue_script() not working
- wp_enqueue_script JS code runs too late (after user begins interacting)
- Get localize of a loaded javascript
- Webflow Interactions on WordPress site?
- share wrordpress data between two shared hosts using REST API
- Why can I not deregister my style and script on custom post type?
- Enqueue All Stylesheets Found In a Theme Folder
- style.min.css code issue
- Dequeue set-post-thumbnail.min.js
- Will this js code work in a page template?
- JQuery Error in theme for .live is not a function [closed]
- Commenting in CSS (//) equals “none”? [closed]
- Divi theme including javascript
- Bad theme code – can you find the error?
- Help!!! Old theme doesn’t load scripts and conflitcs with plugins
- How to remove pop up on website (css changes not visible)?
- How to Link External jQuery/Javascript files with WordPress
- Best practices for a Style/CSS based theme options page?
- How to license my commercial WordPress theme? [closed]
- How to Use WordPress as Static CMS Without Blog Posts
- How do I create my own admin button and theme settings page?
- Changing the visible url path to css & js files
- Retaining old HTML archives and displaying themes conditionally
- Theme Activation, Create Database Tables
- Move all the JS files to the bottom|footer, the right way
- How do I get my page to load the jQuery UI Effects library?
- Alternate header image
- Relative path instead of absolute for wp_enqueue_script
- How to cancel `wp_print_scripts`?
- Console error, even if everything is working?
- How can I make a different theme be viewed for logged in users vs guests?
- Custom branding / theme specified by URL
- How to inject variables into public-facing JS using wp_enqueue_script
- What is calling this parallax-slider.less file that is missing? [closed]
- Random 404 error on WP
- Theme option not saved if in wp_editor() and html decoded
- display comment form for specific post id
- wp_enqueue_script not loading my custom js file
- How to add logo in Thematic
- How to create a new copy of a theme currently being used?
- Creating a job board using WordPress (for free)? [closed]
- Deactivate JS Script in Plugin Shortcode
- Problems to disable the comments for my statics pages
- Add type to enqueued script inside plugin
- Issue with theme mod options during domain migration
- FTP + Unable to locate WordPress content directory (wp-content)
- I don’t know how to put a placeholder [closed]
- Include Jquery libraries in wordpress theme?
- How to hide title on ‘highlights’ – Themify feature
- WordPress setup one database with two different website?
- how to notify users about new theme updates?
- WP Customize API Checkbox change value
- Updating a theme
- early enqueueing javascript file in page template, not in functions.php
- jQuery + more won’t load in header
- Background image not showing up
- How to display post meta data in secure manner
- separate home page into separate pages
- How can I allow a client to edit certain parts of a static site?
- change template with button