WordPress.org

Ready to get started?Download WordPress

Forums

Trying to to call a jQuery directory in child theme (3 posts)

  1. rook
    Member
    Posted 1 year ago #

    Hello I am trying to call a jQuery plugin from themes/js

    But whenever i reload in console i keep getting this error:

    'GET http://harrybuild.rookandamosdesign.co.uk/harrybuild/wp-content/themes/child-theme/js/booklet/jquery.easing.1.3.js 404 (Not Found)'

    I am placing the following code into the header:

    '<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/jquery-ui.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="<?php bloginfo('url'); ?>/harrybuild/wp-content/themes/child-theme/js/booklet/jquery.easing.1.3.js"></script> '

    Heres a link to my site:
    http://harrybuild.rookandamosdesign.co.uk/

    Any help on what im doing wrong here would be very much appreciated,

    all the best

    harry

  2. Your last link is wrong - https://http//harrybuild.rookandamosdesign.co.uk/harrybuild/wp-content/themes/child-theme/js/booklet/jquery.easing.1.3.js

    There's an extra http// in there.

  3. rook
    Member
    Posted 1 year ago #

    Hi thanks, got rid of that, but then got this error:

    'Failed to load resource: the server responded with a status of 404 (Not Found)'

    any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic