Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 130709

Failing AMP Validator?

$
0
0

Replies: 0

Hi

Great job with this plugin. When I add /?amp I’m able to see the AMP version of each page.

However, when I use the AMP Validator, I’m failing the validation: https://validator.ampproject.org/#url=https%3A%2F%2Fabetterfuturenow.com%2F%3Famp

This is the error message I get:

“The tag ‘img’ may only appear as a descendant of tag ‘noscript’. Did you mean ‘amp-img’?”

I made a custom AMP home page (possible thanks to your plugin) and added an image. How do I change the tag to amp-img?

When I test other pages/posts the amp-img tag is automatically added to images. Why not in the custom home page case?

Please advise.


Viewing all articles
Browse latest Browse all 130709

Trending Articles