How to place the new In-feed adsense code in Newspaper theme?

Posted in: Newspaper
Post count: 9

Adsense released new types of ads need to be placed in the content feed loop, I don’t know how to do that this is the main thing that I want to do but I don’t know how ” https://support.google.com/adsense/answer/7180611?hl=en “. Waiting for your help.

Please, I want clear instructions and believe me, this question will repeat a lot this month.

Kind Regards,
Dev

Post count: 20688

Hi,

Inserting ads in the loop is not currently supported by the theme. There are no theme options to implement ads like that. This may change in future updates, but I cannot say for sure when it will happen.
The easiest way to try these ads would be through a plugin that has these capabilities.

Thanks

Post count: 9

I see it’s not an option, but isn’t there any template to adjust and insert the code?

Post count: 20688

Hi,

You can try setting a condition in the loop file found in the main theme folder
https://www.screencast.com/t/dNrjwL3gU
Use the suggested search for more useful information and examples
https://www.screencast.com/t/ve84jQAtupp
There you can create a condition to display the ad in the post loop.

Thanks

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