function ads_before_headline_v2($the_content) { global $post; // 投稿ページで広告が有効なときのみ実行 if ( is_single() && !get_post_meta( $post->ID, 'disable_ads', true )) { //