• Resolved Hadi Nugraha

    (@hadingr)


    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&gt;
    and
    change <?php if( is_singular() ) {
    at line of 311
    to <?php if( is_single() ) {

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor ampforwp

    (@ampforwp)

    Hey @hadingr

    Thank you so much for using our plugin.

    We are already aware of those warnings, we are currently working on it. you need not to worry about those issues.

    Btw thank you so much for sharing your solution with us. Let me discuss thing with my teammates once.

    I really appreciate your inputs to improve our plugin.

    Thread Starter Hadi Nugraha

    (@hadingr)

    Hai @ampforw
    And thank you for a great plugin

    Plugin Contributor ampforwp

    (@ampforwp)

    @hadingr thank you so much for the appreciation.

    let me know if you have any questions related to AMP.

    I will be happier to help you

    Hi @ampforwp

    I have the same issue with Hadi and I see you always append “amp-form-0.1.js” for page type. (I’m using version 0.9.51)
    Why should you do that? It’s better to have an option to disable that, or at least to append from a hook, isn’t it?

    BTW, thank you guys for the awesome plugin!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problems with page type’ is closed to new replies.