• Resolved thathurtabit

    (@thathurtabit)


    I’ve been trying unsuccessfully for the last few hours to include .js files with my Child Theme.

    This seems like such a simple thing, but the only mention the Codex has is this:

    Other files
    In addition to style.css, functions.php, and to template files like index.php, and home.php, a child theme can use any type of file full-fledged themes use, as long as that file is properly linked. For example, a child theme can use icons and images that are linked from its stylesheet, JavaScript files linked from the top or bottom of pages, or extra PHP files called from its templates or from its functions.php file.

    Can anyone let me know how to include JS files in Child Themes?

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to add .JS files to Child Theme?’ is closed to new replies.