Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Does the browser console reveal anything?
Thread Starter
WHiSPER
(@apc_whisper)
No, nothing!
Here is the theme if you like to take a look please:
subdb
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
When developing in JavaScript, you ought to use a console feature in the browser. For example, Google Chrome’ Inspect Element or Firefox’s Firebug.
The console reveals this;
Failed to load resource: the server responded with a status of 404 (Not Found) http://subdb.ir/wp-content/themes/subdb/jquery/jquery1.3.2.js
Uncaught ReferenceError: $ is not defined subdb.ir:18
Uncaught ReferenceError: jQuery is not defined jquery.tipTip.js:191
Uncaught ReferenceError: jQuery is not defined jquery.tipTip.minified.js:21
Uncaught ReferenceError: $ is not defined subdb.ir:52
Uncaught ReferenceError: $ is not defined subdb.ir:244
Uncaught ReferenceError: $ is not defined subdb.ir:284
Remember, when developing jQuery in WordPress, you need to first use jQuery no-conflict wrappers.
E.g
jQuery(this).function($){
$('now-you-can-use-dollar-signs');
}