Hi there at TagDiv,
Hope not to make it to complicated, but I have two questions that are both related to implementing Adsense code in NewsPaper Theme (latest version 9.7). Been using the theme for two and a half years now andour newssite is growing rapidly thanks to your great theme for one. So great job.
That said: I use Automatic ads from Adsense and had pasted the code in between the <head> tags of header.php of the theme. Needless to say the when updated I had to implement that code again. Before v9.7 I implemented the code directly on different places on my pages through RAW HTML and that worked great. But since the last version this makes tagDiv Composer behave strange. I get my page in a kind of top bar of a few inches and have to scroll down. Normaly the page is screenwide, but not anymore.
What did I do?
1. removed all raw html code trough the classic editor from all pages. Now tagDiv Composer works great again
2. Added my Adsense code for automatic Ads in Theme Panel – Ads – Header Ads and all Article and Post Ads
3. Saved these settings
4. Worked on my articles and revisited my Themepanel
5. All AdSense codes in the Ads section where gone
Any idea how to fix this so I can get my revenue from Adsense up again? Do I need to remove the Adsense code out of the header.php?
Thanks in advance for your time and tips!
Kind regards
Hi,
Now is not longer need to set the code in header.php, now you can set the code directly in theme panel in analytics/js codes -> https://www.screencast.com/t/aVNquOI0dsU
Also in Newspaper v9.7.3 was made some implementation for a better compatibility with WPBakery and for that some elements will not be available in the tagDiv composer.This was made to prevent issues with the respective elements. The Raw HTML is one of them.
Thank you!
Hi Calin,
Thanks for the explanation. One more question about ads though: If I want to put Adsense ads like in-article ads on my site, where do I place the Adsense code for that? I doesn’t seem to stick in Themepanel – Ads section.
Thanks.
Hi,
Yes you can set adsense in theme pane, or directly in ad box.
Please check the ads documentation -> https://www.screencast.com/t/JvNoeHaZxwJ -> https://forum.tagdiv.com/ads-adsense-overview/ also you can use tagDiv Composer and set ad box were you need to set some ads.
Thank you!