• 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.

    Regards,
    Sonali

Viewing 1 replies (of 1 total)
  • Thread Starter ssonali

    (@ssonali)

    Can anybody pls tell me how to put javascript in header for top navigation.

    Regards,
    Sonali

Viewing 1 replies (of 1 total)

The topic ‘Java Script for Header’ is closed to new replies.