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 replace Avatar link in profile page with upload profile pic. button using media library and display it in profile page and all wordpress site
- How to Use Webpack with WordPress Script Modules and Enqueue a Custom Class
- WordPress Theme and Plugin Name extraction
- Show hyperlinks only when user is loggedin
- WordPress activate theme error $pagenow
- Installing a theme on localhost, Ubuntu 16.04
- How to load jQuery in TOP of wp_footer?
- Unable to find translations in WordPress theme
- An unexpected error occurred when add theme
- Section Background Images?
- I don’t know how to put a placeholder [closed]
- Add script to page at certain location in wordpress
- How to remove a large ugly space from my wordpress site?
- Searching for themes that post full article on home page by default
- Moving the search bar to be in menu bar
- Theme update deleted my custom page
- WordPress wp_enqueue_script only adds text to top of page source
- Getting a variable inside foreach from PHP to JS after localization
- Updating WordPress Theme Files
- Create page options for theme?
- How do I know if I should enqueue JS code or just include it in ONE PHP function?
- Uploading new version of theme fails, folder already exists
- WordPress theme layout problem
- Increase content area width in TwentyFourteen [closed]
- Using Grunt and keeping theme comments
- Child theme looks different from parent theme, and incorrectly displays parts
- Adding an extra sidebar to your theme
- Including Styles and JS files to work ON my plugin interface
- Homepage showing a simple listing of title, featured image, then posted on
- Why are so many popular responsive WordPress themes “boxed” at 940px? [closed]
- Include Jquery libraries in wordpress theme?
- Theme Modified By Updates
- I want to develop a theme using WordPress. Which theme should I start from or develop from scratch? [closed]
- Background image appears on localhost site but not online
- Is it a good practice to disable wpautop for premium themes?
- A thin line between native wordpress bahaviour and 3rd party themes
- Permissions error
- Accidentally deleted php code in WordPress website [closed]
- Remove Commenting on Certain Pages
- How to remove current theme customizations
- Cannot see theme in my search
- Where is the best place to catch useragent?
- current_user_can(‘manage_options’) causes white screen of death?
- Knowing blog name using blog id