js help - Wordpress theme

Soldato
Joined
6 Mar 2008
Posts
10,079
Location
Stoke area
Hi all,

I am trying to move my bootstrap template for our new work website over to a wordpress template (it's better hand coded but others need access to it edit it) :(

I've googled, followed several guides etc and I still can't get it to load the javascript.

I've got the following code:
header >
Code:
<script src="../wp-content/themes/vir/js/respond.js"></script>
footer >
Code:
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="../wp-content/themes/vir/js/bootstrap.min.js"></script>

Both the respond.js and bootstrap.min.js files are in the js folder, however the drop down menu's etc aren't working. Developing it on USBWebserver but had the same issue when trying it on free web host I use for dev.

Any advice? I'm a complete WP Theme noob :(
 
thanks for the advice, I had to do something else in the end, my brain was just not functioning properly and unable to get my head around making a template :(

I've been there mate, having one of them days myself. Just found a 3 word solution in angular that I decided to write 20 lines for that still wasn't working properly.

I need a beer. Give me a shout if you need any help, happy to help if I can!
 
Back
Top Bottom