• Resolved adexis

    (@adexis)


    Hi there, I’m using your great theme as a parent theme and I’ve created a child theme based on it.

    I’ve noticed in the last two updates that I’m getting an error on my pages as the code is looking for main.js in a subfolder (assets/js/) of my child theme when I think it should be looking for the file in the main theme folder.

    I think the issue relates to the bootstrapbasic4.php class, line 78. On that line the js is being enqueued using get_stylesheet_directory_uri() which might be a child theme path. I’m not sure but should it be using get_template_directory_uri() instead?

    Thanks for your support

    Andrew

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Main.js missing when using a child theme’ is closed to new replies.