AMP Ads

Posted in: Newspaper
Post count: 46

Hello,

We are trying to get non-google ads on the AMP version.

add_filter( ‘the_content’, ‘prefix_insert_post_ads’,10 );

Whatever this filter does, doesn’t work on the AMP version anymore, used to work a few versions ago.

Can you please tell me how to add code just for the AMP version, if the above doesn’t work.

Thank you

Post count: 46

Just FYI,

We are aware of the theme settings, but that is for placement at a specific place, we want it in between paragraphs. So need to use that filter.

Thanks

Post count: 21065

Hello!

Unfortunately, this will require custom work which is not covered by the support team.

Thank you for your understanding!

Post count: 46

Hello,

This is not custom work. I’m asking why something that is supposed to work with wordpress, does not work with your theme. It used to work, not it does not.

It is about compatibility more than customization.

I already have the code that used to work, now the default wordpress filter doesn’t work with your theme, why is that?

Post count: 21065

Hi,

Please send an email at contact@tagdiv.com and provide wp-admin, so we can take a look into your issue and provide an answer. Also paste a link to this topic so we can easily identify you.

Thanks!

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