WordPress.org

Support

Support » How-To and Troubleshooting » PHP Code Outside of Loop – Exclude Adsense on Certain Pages

PHP Code Outside of Loop – Exclude Adsense on Certain Pages

  • Hey everyone,

    I have a site that has Adsense link units right underneath the navigation. I added the code manually so it’s not inside the WordPress Loop.

    I was wondering if anyone knew of a PHP snippet that I could use to not show the Adsense link units on certain pages (e.g. Privacy Policy, Contact, About, etc…).

    It’d help out a lot!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Code Outside of Loop – Exclude Adsense on Certain Pages’ is closed to new replies.