Enqueue Script in WordPress
-
How to enqueue script in WordPress ?
When I am using below code script enqueue properly.
wp_enqueue_script( 'adc-handlebars', get_template_directory_uri() . '/vendors/handlebars/handlebars.min.js', array(), '1.2.1', false );
But when I am using below code script is not enqueue.
wp_enqueue_script('adc-order-information', get_template_directory_uri().'/js/order_information.js', array(), '2.10.0', true);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Enqueue Script in WordPress’ is closed to new replies.