Custom js and plugin js
-
Hi,
I have problems with my javascript. If I didn’t activate plugin, js working. When I activated the plugin, js is not working. How can I fix it?
There is my code:function my_script_enqueue(){ wp_enqueue_style('custom_style', get_template_directory_uri() . '/css/style.css', array(), '1.0.0', 'all'); wp_enqueue_script( 'custom_script', get_template_directory_uri() . '/js/scripts.js', array ( 'jquery' ), 1.1, true); } add_action( 'wp_enqueue_scripts', 'my_script_enqueue');
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘Custom js and plugin js’ is closed to new replies.