AMP error: Custom JavaScript is not allowed. CUSTOM_JAVASCRIPT_DISALLOWED
-
Hi,
I love this plugin.
I use the plugin (AMP for WP – Mobile pages accelerated for WordPress).
I do not have the “share on AMP pages” option enabled in Super Socializer.
I receive the following errors in some of the pages.
* The parent tag of the ‘head’ tag is ‘$ root’, but it can only be ‘html’. DISALLOWED_HTML
* Custom JavaScript is not allowed. CUSTOM_JAVASCRIPT_DISALLOWED
* The mandatory attribute ‘amp-custom’ is missing from the ‘style amp-custom’ tag. DISALLOWED_HTML
Screenshot: https://cloudup.com/cNJUhnO_n_B
You can fix this in the plugin.
For now I have disabled it, if you fix it in a new version I will gladly activate it again. I await your response soon.
- The topic ‘AMP error: Custom JavaScript is not allowed. CUSTOM_JAVASCRIPT_DISALLOWED’ is closed to new replies.