different child theme for subdomain

I’ve got a site that I’m trying figure out how to apply different child themes to based on a subdomain. Applying the child themes shouldn’t be difficult, it’s more the .htaccess magic that I’m a bit iffy on. What I’m after is a site that has say: example.com/red/ example.com/blue/ Where red and blue are different … Read more

Conditions for Users and Visitors

I’ve got a domain that is under development and have created a plugin that uses wp_die() in a function I wrote. It must be checked against user auth which is conflicting with my plugin because init checks the user auth before wp_head. function coming_soon(){ wp_die(); } echo ‘<meta http-equiv=”refresh” content=”0;URL=/cgi-sys/defaultwebpage.cgi”>’; } add_action(‘wp_head’, ‘coming_soon’, 10); Updated … Read more

Conditional tag affecting taxonomy term and its children?

I am wondering how can I write a conditional tag that affects a custom taxonomy slug and its children? Found this in WordPress Codex: is_tax( ‘flavor’, ‘mild’) When the archive page for the flavor taxonomy with the slug of ‘mild’ is being displayed. However with this code only ‘mild’ slug archive page is affected and … Read more