Skip to content
Public Ticket #16429

Wp Rocket

Conversation thread

daimpa replied

Customer Reply

"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.

PenciDesign Supporter replied

Staff Reply

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.


PenciDesign Supporter replied

Staff Reply

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.


Penci Design replied

Staff Reply

Hi,

Yeah, You theme compatible with WP Rocket

Best Regards,

PenciDesign

daimpa started the conversation

Conversation Start

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

Want to join this conversation or access attachments? Sign in first.