*

webcity

  • *****
  • 252 posts
New feature - Restrict banners on featured ads
« on: January 01, 2018, 03:05:15 PM »
Hi,

I would like to remove advertising banners on the item listing page for Featured ads.

i.e, if someone pays for a featured advert, their listing doesn't show other ads such as Google AdSense.

Could you suggest the code to use on the item.php page to disable banners when a featured ad?

Many thanks,
Spencer


*

MB Themes

Re: New feature - Restrict banners on featured ads
« Reply #1 on: January 01, 2018, 08:27:51 PM »
@webcity
You can put code for banner on item.php between:
Code: [Select]
<?php if(!osc_item_is_premium()) { 
  ... 
banner ads code ...
?>

  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

webcity

  • *****
  • 252 posts
Re: New feature - Restrict banners on featured ads
« Reply #2 on: January 02, 2018, 06:56:31 AM »
Great! Thanks :-)