Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Google adsense code (connect your site code)

Home / Forums / Virtue Theme / Google adsense code (connect your site code)

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
March 25, 2017 at 11:06 am

Dear Sir or Madam,

1) My website is “ and I am using virtue premium.

I applied for Google AdSense.

They asked for me to “Copy the code from the AdSense homepage and paste it into the HTML of my site right after the <head> tag. “ (Figure 1, 2)


2) I pasted the code in place in “Header and Footer Scripts area” in virtue theme. (theme options > header footer scripts option)(Figure 4)

3) But when I checked the codes of the site, I saw that the codes were divided into several parts (Figure 5-6)

Some of the code was inside the <head> <head /> tag, while some of the code was inside the <body> <body /> tags (Figure 5-6).

4) As a result, google’s script could not be placed as desired by google.

How can I put the whole code inside the <head> <head /> tag?

5) I would like to send you some pictures about this subject, how can I send them.

Sincerely

  • The forum ‘Virtue Theme’ is closed to new topics and replies.