Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Adsense questipon

  • 05-03-2013 08:33PM
    #1
    Registered Users, Registered Users 2 Posts: 37


    I know that if I want to stop a google ad I would normally remove the code from the page. But is there a way to just pause all my ads at one time without removing code.
    In other words I want to be able to switch on and off my adsense without removing code. Is this possible?


Comments

  • Registered Users, Registered Users 2 Posts: 7,677 ✭✭✭frozenfrozen


    Two templates, one with ads, and the other without would probably be the simplest fix for this, then you can just hot swap between them when you need to


  • Registered Users, Registered Users 2 Posts: 37 CatHerder


    Good Idea, thanks for that :)


  • Registered Users, Registered Users 2 Posts: 6,207 ✭✭✭miralize


    You could also just comment out the code and remove the comment tags when you need the ads back


Advertisement