• I’m using a plugin to display smartphones features and reviews.
    The problem is, AdInjection is inserting ads inside the reviews loop of the plugin.

    How can I prevent this to happen. I don’t Adinjection to place the ads inside this loop

    Additional Details:
    The Ad codes are coming from Top Ads and Bottom Ads section.
    Sample link -> http://www.geekdashboard.com/phone/nokia-lumia-930/
    Check the reviews section at the bottom of the page.

    Plugin author words:
    Reviews are like comments, there is a foreach loop to display all reviews, i think you’ve injected code in the loop, inject your ad code after or before reviews loop.

    ad code here
    foreach ($reviews as $review) :
    ——-
    ————-
    endforeach;

    or insert here

    Thanks in advance

    https://wordpress.org/plugins/ad-injection/

  • The topic ‘How can I stop AdInjection inserting ads in a foreach loop’ is closed to new replies.