Support » Plugins » Calling Jquery

  • Hello,
    i added a menu that requires jquery to my child theme but i can’t call the jquery.js or the javascrit file (theme.js) where i have the jquery functions.

    here goes the code:

    <?php wp_enqueue_script(“jquery”); ?>
    <?php wp_head(); ?>
    <script type=”text/javascript” src=”<?php bloginfo(“template_url”);?>/js/theme.js”>
    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>”>

    i guess the error is on the call of the plugin because i have a function inside theme.js that sends a message to the screen telling me if it works or not.

  • The topic ‘Calling Jquery’ is closed to new replies.