KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have implemented some JavaScript on my site but I keep getting the following error messages: Uncaught ReferenceError: jQuery is not defined and Uncaught SyntaxError: Unexpected token < This is the JavaScript that I am using in the header.php: <script type="text/javascript" src="/test/wp-content/themes/child/script/jquery.jcarousel.min.js"></script> <script type="text/javascript" src="/test/wp-content/themes/child/script/jquery.scrollTo.js"></script> <script type="text/javascript" src="/test/wp-content/themes/child/script/jquery.backgroundPosition.js"></script> <script type="text/javascript" src="/test/wp-content/themes/child/script/scripts.js"></script> <script type="text/javascript" src="/test/wp-content/themes/child/script/jquery.cycle.lite.js"></script> <script type="text/javascript" src="/test/wp-content/themes/child/script/jquery.accordian.js"></script> <script type="text/javascript"> jQuery(document).ready(function () { jQuery('#contentGallery').cycle({ fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc... }); }); </script> </head> <body <?php body_class(); ?>> <div id="page" class="hfeed"> <header id="branding" role="banner"> <hgroup> <h1 id="site-title"><span><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></h1> <h2 id="site-description"><?php bloginfo( 'description' ); ?></h2> </hgroup> <?php // Check to see if the header im
Tags (comma-separated)
Save Edits
Cancel