Hello,
I’m using a child theme. And I have made some changes in the /js/avia.js file.
And then I have added a folder js on the child-theme, and addeda file called avia.js.
So now the “real” avia.js is normal, and the file that I have modified is on the child theme. But is like the theme is still using the avia.js from the parent theme.
How do I fix that?
Hey Helgi!
You’ll need to use wp_enqueue_script in your functions.php file in your child theme to include a custom .js file.
Cheers!
Josue
Hello,
I have tried now many times, But can’t get it to work.
Can you tell my how to do it?