Answer the question
In order to leave comments, you need to log in
How to include JS files in the WORDPRESS index file?
I need to connect this directly in the theme index file, but it gives an error in the console that this very yepnope is not defined, how can I fix this?
yepnope({
test : Modernizr.csstransforms,
yep: ['ЗДЕСЬ ПУТЬ/lib/turn.js'],
nope: ['ЗДЕСЬ ПУТЬ/lib/turn.html4.min.js'],
both: ['ЗДЕСЬ ПУТЬ/css/basic.css'],
complete: loadApp
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question