Site logo

Archived topic

clearing script

7 replies · Started by Ruth on August 4, 2022

Viewing posts 1–8 of 8

Hello - I have entered the script to add Google adsense onto a page but want to remove it however i just cannot work out how I added it in the first place!
The adverts appear at the top of the page but the script is not in the page itself. I have looked on page header element but cant find the script there either??

Hi Ruth,

Can you go to appearance > elements, and check if there's any hook element that is hooked to wp_head?

Let me know!

Hi Yin - I have gone to the Elements / Global page header and cant see anything there.

Hi there,

could you provide us with a temporary admin login ?

Hi David - thanks - login below .....

Hmmm.... can't the code thats add the adservice.google integration on your site.
Did you have Google Site Kit previously installed ?

Hi David - thanks for looking into this for me. I think what has happened is there has been some coding imported in from when there was a different theme on this site (before generate Press).

Is there any way I can copy all of this page and paste it into a new page to see if that gets rid of the hidden google stuff?

ooh.... i didn't think of editing the page, in the bottom of that page there is a Shortcode block containing a google ad script loader. What happens if you remove that ?

This archived topic is closed to new replies.