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)?
- Conditionally enqueue a widget’s script/stylesheet in HEAD (only when present on page!)
- WordPress Theme activation hook?
- How to load scripts/styles specific for a page
- Show different theme for admin?
- Custom Taxonomy-specific JavaScript
- Is it possible to access Gutenbergs reusable blocks in CPT block templates?
- Is it possible to enqueue the Youtube API script or does it have to be inline?
- Removing Shortcodes from Child Theme
- A minimalistic admin theme for a WP 3 install
- The style.css stylesheet doesn’t contain a valid theme header
- Load a theme based on browser detection
- How to avoid loading style.css twice in child-theme?
- Change Default Image HTML
- why does bones theme call the_excerpt function with parameters?
- How can I develop a new theme in WordPress without disrupting the current site
- Generating the ogp tags in theme
- Move custom code out of theme’s functions.php file
- WordPress Backup
- Child-theme breaks site
- Select2 in WordPress
- Javascript code inside “” in core WordPress files .php
- how to remove the unwanted banner in wordpress static page [closed]
- Convert a complex webpage into WP theme
- Problem in theme installing?
- How to trigger function on theme delete?
- Theme information in style.css being corrupted
- Toolbar/topbar missing on homepage only?
- Two Navigation Menus – secondary nav is including main nav
- Overwriting templates in child theme and performance
- Themes—Child Themes
- Protect changes made to the theme when updating
- Display a specific dynamic sidebar widgets on a specific page
- how to add custom fields in page
- 100% width Featured Image Size
- Problem in loading javascript in footer
- Make it possible to pick a color theme for specific pages
- Create register form without a plugin
- Get WordPress to use another custom “author.php” file (“custom-author-file.php”)
- wp_add_inline_style() not working?
- How can I use a logo in the header?
- Scripts at the end of the page
- Enqueue WordPress plugin scripts below all other JS
- how to en-queue jQuery to load before the tag
- WordPress Scripts Being Loaded in Footer