The tag inserted via widget becomes (and the page doesn’t valida
-
hi,
I’ve set a system to inject advertising to amp pages, via widget. You can see that here:
https://pasteboard.co/IfHltaJ.png
(Note: I’ve set the rule “is_single(46334)” in order to not unvalidate all amp pages)Unfortunally the snippet <amp-ad width=300…>…</amp-ad> , becomes <amp width=300…>…</amp-ad>
Consequently the page doesn’t validate: https://validator.ampproject.org/#url=https%3A%2F%2Fwww.bravibimbi.it%2Fnews-bimbi%2Fbimba-invita-la-regina-elisabetta-al-suo-compleanno%2Famp%2F
What I’ve tried:
> the Classic Text Widget plugin
> the Custom HTML widget
> the Text widget
> looking under the AMP settings for something that could cause the problemHow can I prevent the change of the <amp-ad> tag (inserted via widget) into <amp>?
The page I need help with: [log in to see the link]
- The topic ‘The tag inserted via widget becomes (and the page doesn’t valida’ is closed to new replies.