We frequently need to add a few custom contents to our WordPress sites. From Social (Google, facebook) Analytics code to custom changes, it's very helpful to embed a few contents which needs WordPress. However there is a method for adding extra CSS, you can't actually add any script without updating theme or plugin files.
You can add custom code/script to your WordPress sites utilizing a plugin and maybe it's awesome and most secure way on the off chance that you trust the plugin. If you don't need the scripts, you can deactivate or delete the plugin.
Using plugin, you can add multiple scripts to header or footer that might be Google Analytics, Google ads, YouTube button, Facebook Like, Pinterest and any other social code. I am sharing some mostly use plugin list which use can use for this.
Simple Custom CSS and JS
Insert Script In Headers And Footers
Insert Custom CSS and JS in Header & Footer
Insert Headers and Footers by WPBeginner
Custom Header Footer Scripts for Customizer
So give these a try and let me know if you have any feedback.
Comments
Post a Comment