Skip to content

Tag: script

WordPress the correct way to load jQuery for your plugin or theme

To load a script in wordpress, you have to use the function wp_enqueue_script Often people call the function like this wp_enqueue_script(‘my-script’, get_template_directory_uri() .’/js/my-script.js’); However, you may come across dependency problems if you do it like the above. Hence, it is…

Enjoyed the content ? Share it with your friends !