From 53c2fd7113b41a8ec840c240c14f896edd77dc7b Mon Sep 17 00:00:00 2001 From: chchu Date: Fri, 24 Mar 2017 20:46:50 +0900 Subject: [PATCH] =?UTF-8?q?AMP=E3=83=9A=E3=83=BC=E3=82=B8=E3=81=A7?= =?UTF-8?q?=E8=A1=A8=E7=A4=BA=E3=81=97=E3=81=AA=E3=81=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/content.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/content.php b/modules/content.php index c775fab..2fe30d3 100644 --- a/modules/content.php +++ b/modules/content.php @@ -139,6 +139,11 @@ function wp_social_bookmarking_light_is_enabled() if (in_array('get_the_excerpt', (array)$wp_current_filter)) { return false; } + + if (get_query_var('amp', false) !== false) { + return false; + } + return true; }