WordPress.org

Ready to get started?Download WordPress

Forums

Quick Adsense
Template tag to remove ads from certain pages? (1 post)

  1. mieke0005
    Member
    Posted 1 year ago #

    Hi

    i'm running a blog using a directory script. This means I have both a series of posts in the directory area, as well as in the blog area.
    I want to post ads in my blog articles, but not in the directory.

    Is there a code I can add to the template for single items in the directory (which is different from the template for the blog posts), so no ads will be displayed in the directory?

    I tried adding <!--NoAds-->, but that won't work.
    I don't want to have to add this tag to every single directory post I make...

    please advice!

    Mieke

    P.S.: to illustrate:
    I don't want the ads to show up on mu single directory item page
    http://thefbdirectory.com/item/facebook-profile-master/

    But I do want them to show on my single blog post page
    http://thefbdirectory.com/facebook-for-business-course/facebook-business-basics-1/

    http://wordpress.org/plugins/quick-adsense/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic