• dyakub

    (@dyakub)


    How can i include javascript (jQuery) in my theme’s template files. I have a list of .js files that pertain to the hover fading menu effect.

Viewing 1 replies (of 1 total)
  • esmi

    (@esmi)

    Try adding calls within the<head...</head> section of your header.php file. For example, if the js files were in a js folder inside your theme folder you could use:

    <script src="<?php bloginfo('template_directory'); ?>/js/filename.js" type="text/javascript"></script>

Viewing 1 replies (of 1 total)
  • The topic ‘Javascript…’ is closed to new replies.