Support » Themes and Templates » Java Script for Header

  • Hello,

    I want to include external .js file in header for navigation. I have put code as below. But still not showing properly.

    <?php wp_enqueue_script(“jquery”); ?>
    <?php wp_head(); ?>
    <script type=”text/javascript” src=”<?php bloginfo(“template_url”); ?>/wp-includes/js/jquery/commonFunction.js”></script>

    Please replay. Thanks in advance.


Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Java Script for Header’ is closed to new replies.