Site icon Hip-Hop Website Design and Development

WordPress sub-domain totally different theme

Trying to make use of a special theme if person views http://retailer.web site.com vs the web site.com. It is only a smaller scale design than the primary web site.

I attempted this code I discovered on-line nevertheless it would not work.

add_filter( 'stylesheet', operate( $stylesheet ) {

    if ( 'development.farmboy.ca' === DOMAIN_CURRENT_SITE )
        return 'store-ipad';

    return $stylesheet;
});