twentytwenty not amp compatible
-
The plugin said that the twentytwenty theme is amp compatible, however, when the site scan finished it would generate the errors like the below, Jetpack plugin also activate during this situation:
[ { "url": "https://site.net/", "type": "is_front_page", "label": "Homepage", "amp_url": "https://site.net/", "validation_errors": [ { "code": "STYLESHEET_TOO_LONG", "type": "css_error", "spec_name": "style amp-custom", "node_name": "link", "node_attributes": { "rel": "stylesheet", "id": "twentytwenty-print-style-css", "href": "https://site.net/wp-content/themes/twentytwenty/print.css?ver=__normalized__", "media": "print" }, "node_type": 1, "sources": [ { "type": "theme", "name": "twentytwenty", "file": "functions.php", "line": 191, "function": "twentytwenty_register_styles", "hook": "wp_enqueue_scripts", "priority": 10, "dependency_type": "style", "handle": "twentytwenty-print-style" } ] } ], "stale": false }, { "url": "https://site.net/what-are-bonds-investment/", "type": "is_singular[post]", "label": "Post", "amp_url": "https://site.net/what-are-bonds-investment/", "validation_errors": [ { "code": "STYLESHEET_TOO_LONG", "type": "css_error", "spec_name": "style amp-custom", "node_name": "link", "node_attributes": { "rel": "stylesheet", "id": "twentytwenty-print-style-css", "href": "https://site.net/wp-content/themes/twentytwenty/print.css?ver=__normalized__", "media": "print" }, "node_type": 1, "sources": [ { "type": "theme", "name": "twentytwenty", "file": "functions.php", "line": 191, "function": "twentytwenty_register_styles", "hook": "wp_enqueue_scripts", "priority": 10, "dependency_type": "style", "handle": "twentytwenty-print-style" } ] } ], "stale": false } ]
So how to fix this? or would you please release the fix.
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘twentytwenty not amp compatible’ is closed to new replies.