AMP Problem

Posted in: Newspaper
Post count: 11

Hi, I am having problems with AMP. I am using the “tagDiv AMP” plugin.

However, Google Search Console tells me that I have these problems in all my pages:
– The “iframe” tag can only depend on the “noscript” tag. Did you mean: “amp-iframe”?
– The “a” tag contains a JavaScript attribute that is not allowed.

I have no clue what this means and how to solve it.

Thanks

Jaime

Post count: 20688

Hi,

I checked one of your posts with the AMP validator, it seems there is an extra parameter added to all of the social sharing buttons, called “onclick”
https://www.screencast.com/t/fGkAEB2MR
https://www.screencast.com/t/8V1ibv0sH0KJ

In desktop there is no problem with this but AMP does not like it. The theme does not have this “onclick” element for the sharing buttons, did you maybe make modifications to the theme files?
Or maybe you use a plugin or custom code that affects the links?

Thanks

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