AMP Pages / Moving Code to AFTER HTML Tag
-
Hello,
I have a paid version of CodePeople Post Maps. I have version 5.0.55.
That said, I installed an AMP plugin. On the AMP pages, the stylesheet code is being inserted PRIOR to the
<html>
tag which creates a warning/error in Google search console.How can I have it inject the code to a better place?
Here is what is generated, which causes the issue on AMP pages:
<link rel='stylesheet' id='cpm_style-css' href='https://www.theblackvault.com/casefiles/wp-content/plugins/codepeople-post-map/styles/cpm-styles.css' type='text/css' media='all' /><script src='https://www.theblackvault.com/casefiles/wp-content/plugins/codepeople-post-map/js/markerclusterer_compiled.js?ver=pro'></script><script src='https://www.theblackvault.com/casefiles/wp-content/plugins/codepeople-post-map/js/cpm.js?ver=pro'></script><!doctype html> <html amp lang="en-US"> <head><script custom-element="amp-form" src="https://cdn.ampproject.org/v0/amp-form-latest.js" async></script> <meta charset="utf-8"> <link rel="dns-prefetch" href="//cdn.ampproject.org"> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=2,user-scalable=yes"> <
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘AMP Pages / Moving Code to AFTER HTML Tag’ is closed to new replies.