Different Subdomain changes page content
Just check the current host: add_filter( ‘the_content’, ‘domain_dependent_content’ ); function domain_dependent_content( $content ) { // get_the_ID() will return the current post ID if you need // more information about the current page. if ( ‘page’ !== get_post_type() ) return $content; if ( ‘au.example.com’ === $_SERVER[‘HTTP_HOST’] ) return “G’Day buddy!<br>$content”; if ( ‘uk.example.com’ === $_SERVER[‘HTTP_HOST’] ) … Read more