WordPress
Instructions on how to insert code into the < head > section in WordPress:
1. Log in to your WordPress site administration.
2. Select "Appearance" (or "Appearance" if you have the English version of WordPress) in the left panel.
3. Select "Editor" (or "Theme Editor").
4. In the right pane, you should see a list structure of your template files. Select "header.php" (or "header.php" or "header-xxxx.php", where "xxxx" is the name of your template).
5. Check if the file "header.php" is open for editing. It should be editable, but make sure it doesn't have any warnings about editing.
Then follow these steps:
1. In the "header.php" file, find the < head > section. You can identify it by the < head > tag, which is surrounded by < !-- a -- > tags.
2. Insert the code you want to place in the < head > section. Place it between the opening and closing < head >...< /head > tags.
3. When you're done editing, click the "Update File" or "Save" button (depending on your settings).
4. The code should now be successfully inserted into the < head > section of your WordPress site.
Important note: Be careful when editing template files and make sure you have a backup of the "header.php" file or the entire site so you can restore the original settings if needed.
How to insert code into the < head > section in WordPress using a plugin:
1. Log in to your WordPress site administration.
2. In the left panel, select "Plugins" (or "Plugins" if you have the English version of WordPress).
3. Select "Add New" (or "Add New").
4. Search for a plugin called "Header and Footer Scripts" or "Insert Headers and Footers".
5. When you find it, click "Install" and then "Activate".
You can now follow these steps:
6. In the left panel, select "Settings" and find the option for the plugin "Header and Footer Scripts" or "Insert Headers and Footers".
7. Click on this option to open the code section editor.
8. In the "Header" or "Head" section, insert the code you want to place in the < head > section.
9. After entering the code, click on the "Save Changes" button.
And that's it! The code should now be successfully inserted into the < head > section of your WordPress site using the plugin.
Remember that each plugin may have a slightly different interface, but most of the time it will be similar to the procedure described above. If you have any questions or problems, feel free to contact support for the specific plugin.
If you're not sure how to do this, contact your webmaster. Or get help from our partner WEB-STAR.