Ad panel stripping out shortcode

Posted in: Newspaper
Post count: 19

I’m running Newspaper 9.7.2 and use the theme panel’s Ads > Header ad panel to call a shortcode for displaying ads in the site’s header. Recently, the shortcode is getting stripped out on some pages, but not on others. Of course, the result is that any time the shortcode is stripped out, we don’t display an ad.

What would account for this? What’s the fix?

Here are links to two pages:

Ads DO NOT display in header (bad!):
https://foodtradenews.com/

Ads DO display in header (good!):
https://foodtradenews.com/2020/01/13/wallace-rabenold-among-15-redners-executives-promoted/

Here are 3 things to reference:

1. Theme panel settings (ADS > HEADER AD > YOUR HEADER AD):
https://ibb.co/M12NywY

2. Source code of bad header:

<!--HOME TOP AD-->
<div class="ftn-ad-universal-top">
<div class="ftn-header-ad-wrapper">
<div class="ftn-header-ad-center">
<div class="adsanity-shortcode"></div>

3. Source code of good header:

<!--HOME TOP AD-->
<div class="ftn-ad-universal-top">
<div class="ftn-header-ad-wrapper">
<div class="ftn-header-ad-center">
<div class="adsanity-shortcode"><div class="ad-alignnone"><div class="ad-row">
<div id="ad-10387" class="ad-970x90 adsanity-970x90"><div class="adsanity-inner">

	<a rel="nofollow" href="https://foodtradenews.com/ads/iddba-billboard-ad-february-2020/" target="_blank"><img width="2560" height="238" src="https://i1.wp.com/foodtradenews.com/wp-content/uploads/2020/02/IDDBA_0220-scaled.gif?fit=2560%2C238&ssl=1&cache-bust=1582562205" alt="" /></a>
</div></div>

</div></div>

Thanks for your help!

  • This topic was modified 6 years by bxp331.
Post count: 18283

Hello !

Please contact us via email at contact@tagdiv.com and provide the following:

– admin url and credentials
– cPanel url and credentials
– A link to this topic in order to identify you

Our team will take a look !

Thank you

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