WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [ PLUGIN AD Injection]Stop add's on a specific page

[Resolved] [ PLUGIN AD Injection]Stop add's on a specific page

  • Hi there,
    I love the plugin and have been playing around with it and have a question.

    I would like to stop add’s on certain pages and looked in your FAQ which said…..

    Add (copy and paste) into the content of the post/page with the contact form. Just edit the contact page and paste this in – it will be invisible to the reader.
    Add a disable_adverts custom field to the post/page containing the contact form and set the value to 1 (the number one as a single digit).
    Add a tag to the page to mean that it shouldn’t have adverts, and then add that tag to the tag filtering condition in the global settings area of the plugin configuration page.

    Looking at my page I cant find anywhere to place these tags, and pages do not have categories. How can I get it so that adverts do not show on a specific page?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author reviewmylife
    Member

    @reviewmylife

    Hi gffb – thanks for spotting this 🙂 What that first sentence should say is:

    Add (copy and paste) <!–NoAds–> into the content of the post/page with the contact form.

    I forgot to escape the HTML comment in the readme.txt so it got stripped out of the version on wordpress.org.

    So for pages you have the options of:

    1. Putting the <!–NoAds–> tag into the page source.
    2. Setting the disable_adverts custom field to 1 – if you can’t see the custom fields click on ‘Screen Options’ at the top right on the post/page editing screen, and tick ‘Custom Fields.
    3. Or if you upgrade to 0.9.7.11 which has just been released today there are new options to allow you to exclude ads from posts and pages by the id number of the page.

    I’ll be improving the FAQ for this in the next release.

    Hope this helps – if you have any further Qs then reply to this comment.

    Excellent addition to a great Plugin, and thanks for the quick support 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [ PLUGIN AD Injection]Stop add's on a specific page’ is closed to new replies.