\n(?:(?!))#', $head, $matches ); if( isset( $matches[1] ) ) { foreach( (array)$matches[1] as $key => $val ) { if( isset( $matches[0][$key] ) ) { $head = str_replace( $matches[0][$key], '', $head ); $inline_style .= $val; } } } } // reCAPTCHA v3 が設定されてる場合 ( Page Top ボタンの位置をずらす) if( isset( $luxe['captcha_enable'] ) && $luxe['captcha_enable'] === 'recaptcha-v3' && isset( $luxe['recaptcha_v3_ptop'] ) ) { if( $luxe['recaptcha_v3_ptop'] === 'left' ) { $inline_style .= '#page-top{right:76px}'; } elseif( $luxe['recaptcha_v3_ptop'] === 'top' ) { $inline_style .= '#page-top{right:0;bottom:80px}'; } } if( ( $_is['mobile']=== true && isset( $luxe['hide_mobile_sidebar'] ) ) || ( $_is['mobile']=== true && isset( $luxe['hide_mobile_footer'] ) ) || $_is_admin_bar === true ) { // モバイル・スマホでサイドバーが非表示に設定されてる場合 // Chrome の iPad Pro エミュ(幅:1024px)だとサイドバー非表示にならんので削除 // ていうか iPad Pro のサイズではサイドバー表示するようにした /* if( $_is['mobile']=== true && isset( $luxe['hide_mobile_sidebar'] ) ) { $inline_style .= 'body #main{flex:none;float:none;max-width:100%;}'; } */ // モバイル・スマホでフッターが非表示に設定されてる場合 if( $_is['mobile']=== true && isset( $luxe['hide_mobile_footer'] ) ) { $inline_style .= 'body #foot-in{padding:0}'; } // WordPress の管理バーが見えてる場合 600px 以下でも固定表示させる if( $_is_admin_bar === true ) { $inline_style .= '#wpadminbar{position:fixed!important}' . "\n"; } } if( !empty( $inline_style ) ) { $inline_style = '/*! plugins */' . thk_simple_css_minify( $inline_style ); $noscript_styles = ''; if( stripos( $head, '