Problems with page type
-
I run the AMP Test to verify, but got 2 warnings for all page types :
1. The extension ‘amp-social-share extension .js script’ was found on this page, but is unused (no ‘amp-social-share’ tag seen). This may become an error in the future.
2. The tag ‘amp-form extension .js script’ appears more than once in the document.The solution is by removing the line 307 :
<script async custom-element=”amp-form” src=”https://cdn.ampproject.org/v0/amp-form-0.1.js”></script>
and
change <?php if( is_singular() ) {
at line of 311
to <?php if( is_single() ) {
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Problems with page type’ is closed to new replies.