Exclude native validation with conditions?
-
Hello,
I have a site that I built a custom theme for where everything is amp first.
I need to use a plugin for hosting courses where I won’t have control over the pages, so they won’t be amp compatible.
But AMP tries to validate these pages.
Is there a way to add rules to exclude validation (and running amp at all) on pages with certain names, IDs, or post types etc?
I’ve seen the amp_post_status_default_enabled filter and the add_theme_support(‘amp’) ‘templates_supported’ option, but I’m not quite sure how to do this.
Any help appreciated, thank you.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Exclude native validation with conditions?’ is closed to new replies.