• Resolved bimmerime

    (@bimmerime)


    hi,
    i’m using this code to display ads in my header

    <center> adsense code </center>

    what i would like is to exclude certain pages from displaying the ads
    any ideas what i should do?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey there bimmerime,

    Try checking out this old thread.

    It’s been resolved. Hope it helps!

    Thread Starter bimmerime

    (@bimmerime)

    i know i should add this

    <?php if( !is_page( array(‘Privacy Policy’, ‘Contact’, ‘About’, ‘etc’) ) ) : ?>
    ADSENSE CODE HERE
    <?php endif; ?>

    but where?

    Your code block should replace the current <center> adsense code </center> code in your header.php

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘exclude legal pages from displaying ads’ is closed to new replies.