Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #2747947
Wp Rocket
Closed

Comments

  • daimpa started the conversation

    Hi, is your theme 100% compatible with WP Rocket?

  •  501
    Penci replied

    Hi,

    Yeah, You theme compatible with WP Rocket

    Best Regards,

    PenciDesign

  •   daimpa replied privately
  •  2,492
    PenciDesign replied

    Hi,

    Please go to Plugins → Plugin Editor:

    - Select plugin to edit: Penci PenNews AMP -  WordPress Complete AMP,

    - Navigate to: templates/single.php,

    - Find & delete this line:

    <script async custom-element="amp-consent" src="https://cdn.ampproject.org/v0/amp-consent-0.1.js"></script>

    image.png

    Done.

    Regards,
    PenciDesign.


  •   daimpa replied privately
  •  2,492
    PenciDesign replied

    Hi,

    This is not an error, so you can ignore this warning. In the future update, we'll add an option to enable/disable this option:

    For more information about AMP-Consent, please follow this link: https://amp.dev/documentation/components/amp-consent/

    Regards,
    PenciDesign.


  • daimpa replied

    "This is not an error, so you can ignore this warning", for your information, google doesn't validate this page as AMP valid if I don't remove this line...

    My question is, when should it be used, and why is it there if it isn't used? Is there any way to use it? :)


    Thanks, I really appreciate your work.

  •  2,492
    PenciDesign replied

    Hi,

    We've added this library for an extra plugin that can executive their scripts without adding again on AMP Header settings.

    You can view this page for example amp-consent usage: https://amp.dev/documentation/examples/user-consent/advanced_user_consent_flow/

    Regards,
    PenciDesign.