How To Install A Code On Your Website? Simple Steps For Beginners
What are those magic simple steps for beginners?
Sometimes installing specific codes on a unique platform may be a daunting task. In the beginning, I came across this problem too. But I have recently found a quick and straightforward solution when adding specific codes to your site.
Here, I will show simple steps to install the code on your website just before the </body> tag of your site’s template and before the </head> section. That can be done quickly using the ‘WordPress’ platform.
Option 1 (not applied for </head> section)
Open the WordPress web page admin area and go to Plugins/Add new.
In a search box, type Ad inserter.
Press Install now and activate.
Go to settings on an installed Ad inserter plugin.
Choose Ad inserter General Settings, Header code icon, the last one in the line on the right (a blue circle after block).
Point a little lower and choose the Header box.
Insert your HTML page header code. Make sure you enable the insertion of this code into the HTML page header. Choose the green box littler lower below on the right to do that.
Save settings.
Option 2 (much better for efficiency)
Before the </body> tag
Go to Appearance/Editor.
On the right-hand side, go to Theme Footer (footer.php).
Copy and paste your wanted code before </body> </html>. You should start inserting the code after this line: wp_footer(); ?>.
Click update file.
Before </head> section
Go to Appearance/Editor.
On the right-hand side, go to Theme Header (header.php)
Copy and paste your wanted code before </head>.
You should start inserting the code after this line: wp_head(); ?>.
Click update file.
That is it. There you have the code up and running on your website.
Leave your comments and methods for installing codes on your website and share your ideas.
Learn more about technology here.