Forums
(@vkhu)
10 years, 9 months ago
I create a function.php file and add the following code:
add_action( 'wp_enqueue_script', 'load_jquery' ); function load_jquery() { wp_enqueue_script( 'jquery' ); }
As for the theme, I’m creating a child theme of the theme customizr.
I just put all the JS in a <script> tag inside the header.php. Is that wrong? I’m quite new to this whole coding thing.
10 years, 10 months ago
@andrew Nevins: It works fine in firefox and opera, but have the same issue in opera mobile, safari and firefox mobile.