Do you want to add a custom code or script to your WordPress website? in this article I’ll show you how to add custom code and script to header and footer section in WordPress website.
Some years ago, adding a custom code or script to the header, footer or body section of a website or blog including WordPress will require the service of a webmaster.
Thanks to the great developers of WordPress who has made the use of WordPress so easy with advanced functionalities for web development.
Follow The Steps Outlined Below
Go to Plugins >> Add New, type Insert Headers and footers. install and activate the plugin by WP Beginners.
Go to the plugin settings page in your WordPress Admin dashboard, usually under settings
You can paste the scripts in the header, body or footer section of your website, save your changes and that’s all.