Home Forums Ads In Posts Cant turn off ads

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #16877
    Michal Sidlo

    I am using ads in posts with manual shortcode but I can’t turn of the ads. When I turn it off in the dashboard ads are still appearing in sidebar.


    Hi Michal,

    Unfortunately the Ads generated by shortcodes override all the display conditions.

    If you feel comfortable modifying the code you can go to Plugins > Editor > select Ads In Post from the dropdown menu then search for: return self::display_ad($data); and change it to if($data->active) return self::display_ad($data);

    This will make the shortcodes disappear when you disable the Ad on your dashboard.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Ads In Posts’ is closed to new topics and replies.