AMP errors of theme detected by Google Search Console

Posted in: Newspaper
Post count: 8

This is a message for the TagDiv team

Tag “style amp-custom” cannot have “CSS !important”.

https://www.ampproject.org/docs/fundamentals/spec#stylesheets

HTML “col” not allowed
https://www.ampproject.org/docs/fundamentals/spec#html-tags

Post count: 22421

Hi,

These issues were already fixed in version 1.1 Please access your plugins section and check what version of the plugin you are using.
Download the theme again from envato and install the plugin again from the new package.

Thank you!

Post count: 84

Hi,

I downloaded the last version of amp plugin, but AMP errors of theme detected by Google Search Console

amp error

  • This reply was modified 8 years by ihora.
  • This reply was modified 8 years by ihora.
  • This reply was modified 8 years by ihora.
  • This reply was modified 8 years by ihora.
Post count: 20688

Hi,

Please provide a link to such a post with errors so we can test it with the validator, could be something entered in the post content or plugin content. Seems to mention the HTML tag “col”, maybe you have that in the post content.
Also our AMP plugin does not provide CSS errors anymore, all the known issues have been fixed.

Thanks

Post count: 84
Post count: 20688

The script error is related to the content top ad
https://www.screencast.com/t/eL12oKlfUn
Script tags are not allowed, AMP ads should be of this form
https://support.google.com/adsense/answer/7183212?hl=en

The invalid link property is linked to the ad you are displaying in the footer
https://www.screencast.com/t/QyMLLd9f3i
The “new” value is not a valid link target property
https://www.w3schools.com/tags/att_a_target.asp
Also a possible script tag is present there as well.

The “width” error is related to your inline ad
https://www.screencast.com/t/ax7uPGETidJO
That could happen if there is no width value specified
https://www.ampproject.org/docs/reference/components/amp-img

The second post displays the same issues, basically these are all ad related. The ads or ad network you use should have ads created specially for AMP to avoid issues.

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