Title: Plugin not AMP compatible
Last modified: November 25, 2019

---

# Plugin not AMP compatible

 *  Resolved anonymized-12966443
 * (@anonymized-12966443)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-amp-compatible/)
 * [Image shows](https://i.ibb.co/xHVy7L2/Untitled.png) it’s not compatible with
   AMP.
 * It’s set on header and accept button is not working.
    -  This topic was modified 6 years, 6 months ago by anonymized-12966443.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Moove Agency](https://wordpress.org/support/users/mooveagency/)
 * (@mooveagency)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-amp-compatible/#post-12175643)
 * Hi @heathcliff2013,
 * Thanks for using our plugins.
 * By default the plugin should not be loaded on AMP pages, only if you change the
   AMP templates to use the default wp_footer hooks.
    You can add the following 
   code snippets to your functions.php to disable the GDPR plugin on AMP pages:
 *     ```
       add_filter('gdpr_infobar_base_module','gdpr_remove_from_amp', 10, 1);
       add_filter('gdpr_floating_button_module','gdpr_remove_from_amp', 10, 1);
       add_filter('gdpr_modal_base_module','gdpr_remove_from_amp', 10, 1);
   
       function gdpr_remove_from_amp( $content ) {
       	return function_exists( 'is_amp_endpoint' ) && is_amp_endpoint() ? '' : $content;
       }
       ```
   
 * More details here: [https://support.mooveagency.com/topic/issue-with-gdpr-and-amp-pages/](https://support.mooveagency.com/topic/issue-with-gdpr-and-amp-pages/)
 * Hope this helps.
 *  Thread Starter anonymized-12966443
 * (@anonymized-12966443)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-amp-compatible/#post-12193300)
 * Thank you that was very helpful [@mooveagency](https://wordpress.org/support/users/mooveagency/)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Plugin not AMP compatible’ is closed to new replies.

 * ![](https://ps.w.org/gdpr-cookie-compliance/assets/icon-256x256.png?rev=2376316)
 * [GDPR Cookie Compliance - Cookie Banner, Cookie Consent, Cookie Notice for CCPA, EU Cookie Law](https://wordpress.org/plugins/gdpr-cookie-compliance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gdpr-cookie-compliance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gdpr-cookie-compliance/)
 * [Active Topics](https://wordpress.org/support/plugin/gdpr-cookie-compliance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gdpr-cookie-compliance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gdpr-cookie-compliance/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: anonymized-12966443
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-amp-compatible/#post-12193300)
 * Status: resolved