Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #185573

    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?

    • This topic was modified 10 years, 5 months ago by Simon Jensen.
    #185791

    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

    #185815

    Hello,

    I have tried now many times, But can’t get it to work.

    Can you tell my how to do it?

    #185859
    This reply has been marked as private.
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Child theme question’ is closed to new replies.