diff --git a/includes/class-amp-theme-support.php b/includes/class-amp-theme-support.php index 2adbbc35018..de03efa4d00 100644 --- a/includes/class-amp-theme-support.php +++ b/includes/class-amp-theme-support.php @@ -127,6 +127,10 @@ public static function is_paired_available() { return false; } + if ( is_singular() && ! post_supports_amp( get_queried_object() ) ) { + return false; + } + $args = array_shift( $support ); if ( isset( $args['available_callback'] ) && is_callable( $args['available_callback'] ) ) {