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

AMP errors

$
0
0

Replies: 0

This plugin is affecting AMP too.

Example: if I insert “cdn” on the keyword list, the plugin will change this:

<script type='text/javascript' src='https://cdn.ampproject.org/v0.js' async></script>

To this:

<script type='text/javascript' async data-type="lazy" data-src="https://cdn.ampproject.org/v0.js"></script>

This generates an error and the URL is not approved ;\

Can you prevent the plugin from making changes to URLs with AMP? I’m using the official AMP plugin for WordPress.

Thanks!


Viewing all articles
Browse latest Browse all 59525

Trending Articles