Copying theme js to child theme
-
Unfortunately I used a plugin to create a child theme as I am struggling with the enqueue part in functions.php and I hope to do it on my own.
I have the theme name, template, uri etc.
After creating the child theme with the plugin I am trying to copy the theme js (which is loaded from the theme’s CDN rather than my server) to the child theme.
I created a js folder, copied the js fie with the same name (added ?ver=) but it is not loading at all and the theme’s js is still loading.
The theme’s author’s support is very limited due to covid19. This is the url of the js file I wish to load from the child theme:
ppt1080.b-cdn.net/js/js.custom.js?v=10.8.7
Thank in advance. I am using the latest version of wordpress, php 8.
- The topic ‘Copying theme js to child theme’ is closed to new replies.