How do I add a simple jQuery script to WordPress?
I have created a lot of websites on WordPress. For adding functionalities, I generally use WordPress plugins, but now I don’t want to add more number of plugins. I want to learn how to add a simple jQuery script to WordPress. How can I do it without using a plugin?
My function in WordPress functions.php is:
function add_my_script() {\n\n}
Which function can I used to add jQuery script to WordPress?