AdRotate shortcode is working in sidebar but not in theme panel header ad

Posted in: Newsmag
Post count: 1

I am using dfp code in one of the sidebars and using Adrotate to insert the code in the sidebar widget which is working fine.
But I have now set up the same procedure to add the code in header ad of theme panel but the ad is not showing up.

Please help me in this regard.

Previously I had had the same issue running sidebar ad as well when I directly put the dfp code in the sidebar, it was not working but when I used Adrotate to insert the code it worked.

Now the problem is with the header, please sort it out, there should be some sort of code which could be placed in header ad php files to overwrite theme settings so the Adrotate settings can work, I am not technical though, just an idea

  • This topic was modified 7 years by yasir83.
Post count: 23312

Hello yasir83,

Unfortunately, the DFP code has not been tested with our theme and therefore we do not recommend using it and also, we cannot provide support for this, sorry! You should use check the following guide from here -> https://code.tutsplus.com/tutorials/introduction-to-google-dfp-beginning-ad-integration-with-your-website–cms-23720 but please notice that we cannot say for sure if this ad will work or not as expected with the theme, sorry!

Thanks for your understanding!

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