Forums

js not loading (2 posts)

  1. alturo
    Member
    Posted 5 months ago #

    After upgrade to 3.3 something odd is happening I call two js in header.php like this:

    <script type="text/javascript" src="<?php echo bloginfo(stylesheet_directory) .'/taber.js'; ?>"></script>
    
    <?php wp_enqueue_script("jquery"); ?>

    When I get to the homepage these js are not loaded with no error msg... the funny thing is when I get to wp-admin taber.js and jquery are loaded and when logged on and on homepage it load these files and everything works perfect.

    I have no idea how to deal with this, any tip would be very appreciated!

  2. alturo
    Member
    Posted 5 months ago #

    Just to add some more information, I placed my own jQuery but it still not working

    <script src="http://mysite.es/wp-content/themes/MMM/jquery.js"></script>

Reply

You must log in to post.

About this Topic

Tags