When you want to change the theme of your site, one thing that needs to be done is to add custom JavaScript to it. However, there are other options available if you do not want to add it to your site. For instance, simply add the ‘Heat and Footer Script’ as an option which is much less intrusive compared to the other. Well, this article is not about the various alternatives, but mainly about the JavaScript which can be added to your WordPress site. How you can exactly do the task? We will share the details with you in the section below. Options to add JavaScript to WordPress Site Image Source It is not difficult to add custom JavaScript to a WordPress site. All you need to know the way through which it can be done. Two main options and ways in which you can add JavaScript to WordPress sites include the following: 1. Add Custom JavaScript File First of all, you have to save the file with .js format. After this, you may add this into the folder http://wp-content/themes/your-theme/
This website is about programming knowledge. You can call this blog best programming master.