• Hello!

    On our sidebar, there are a few widgets. Nice and simple. But. There’s a Google ad on top of our header. For the death of me, I cannot find how to remove it. And it’s not a theme-related piece of code, either, as I have tried changing themes.

    If someone could help, that would be really nice. 🙂

    https://potku.net

Viewing 3 replies - 1 through 3 (of 3 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    The code you’re looking for is this:

    
    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <!-- Mobile_Google_Responsive -->
    <ins class="adsbygoogle"
         style="display:block"
         data-ad-client="ca-pub-9362020055851623"
         data-ad-slot="8494977799"
         data-ad-format="auto"></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    

    If you cannot find any traces of that then try contacting your hosting providers to see if they add it.

    Thread Starter Potku

    (@potku)

    Thanks for your reply.

    Since that code the most likely is not generated by a widget, where could it be?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    A common convention is to put it in ‘header.php’, but nothing set in stone.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot find a widget for an ad’ is closed to new replies.