Without more detail about the kind of template you’d be serving up, the best I can advise is that you can use the ‘template_redirect’ hook to override the entire Template Hierarchy.
A more delicate way to do this would be by using on of the more specific filters. Each of the conditional get_*_template() functions in template-loader.php has a filter of its own which you can use to return your own template name. Look in includes/themes.php to see those filters.
Most of them end up using get_query_template(), which dynamically creates the filter name in a consistant way, but some of the others like author and category are separate – look around to find which if any suits you best under different circumstances.
Related Posts:
- Hosting a WordPress blog as a sub folder from a S3 website
- Share WordPress Login Cookies Between Two Subdomain Installs
- Serve HTTPS requests from subdomain
- Using subdomain m.website.com for mobile theme?
- How can i run the same WordPress install on multiple subdomains?
- Classic Conundrum: How do I map a Sub-Domain in WordPress? [closed]
- General Settings for WordPress Subdomain
- Moving a blog from a subdomain to a folder
- How to retrieve TLD domain for the current website?
- How to serve assets files (js, css, images) on a subdomain
- Moving WP installation form subdomain
- Will WordPress installed on a whole domain interfere with other files in a subdomain or subfolder?
- Network of subdomains [closed]
- Moving website from expired domain to an active subdomain
- Change the subdomain?
- Two domain for one site not working in mobile
- WordPress subdomain mapping/”archiving” [duplicate]
- WordPress CDN Subdomain URL not accessible to the public
- How do I (re)design my corporate website in WordPress without downtime?
- change wordpress upload url to subdomain on xampp local
- Can I have a WordPress site stored on a subdomain of another website owned by me?
- Theme switch when accessed from sub domain
- Subdomains permalinks issues
- Relative Root Url For Sub domain name
- 2 WordPress install with same database
- How to make each category a subsite?
- How to Set up a Wildcard Subdomain for all WordPress Posts?
- WordPress cloned but frontend still displays http://old_wordpress_site
- How to load subdirectory mobile theme and redirect mobile devices to subfolder?
- Subdirectory mapping for a WordPress website
- WordPress deleting subdomain from the URL
- How can I move the subdomain to the root domain?
- Can I edit domain settings if I didn’t create the site?
- Issue while installing wordpress in subdirectory due to SSL [closed]
- Add subdomain for Vue.js application
- Question of the subdomain
- Can I use WP’s built in domain mapping with WP installed on a sub-domain?
- Create a new hyperlink to wordpress blog
- Changing blog domain name
- Single WordPress Installation with Sub domains
- Why is my subdomain returning a 403 status?
- Serve HTTPS requests from subdomain
- WordPress site with subdomain without multisite installation
- I have a question about the name of my blog [closed]
- Hide sub domain created for local CDN
- Change author URL from /author/xyz to a subdomain xyz.domain.com for each new registered users
- Development to production, how to move a development site from http + dev.example.com to a production site https + example.com?
- WP Multisite development with Mamp Pro and wildcard subdomains, not really working for me
- SSL wildcard issue for wp multisite subdomains
- Site redirects to wrong url when saving settings
- Subdomain multisite gives 404 on sub sites
- Add New Sub Site from the WordPress back end then in sub site options table option_value must be with https
- How to maintain wordpress site blogs in production and staging?
- Cookie settings for session across WPML subdomains using custom AJAX login
- Fix 403 error on WordPress multisite network using subdomains
- Sub-subdomain getting redirected to main domain
- One WordPress and database but multiple subdomains
- How to create Sub Sub domain Multi User blogs?
- On WordPress Network(multisite), Sub Blogs in Subdirectories or Subdomains? What’s better?
- How can I have multiple URLs pointing to single WordPress installation?
- Post preview and oembed provider issue using polylang plugin with subdomains
- Not able to access dashboard of subdomain
- How to redirect one page on the subdomain
- How to use my style.css file outside of wordpress subdomain?
- Mapping Subdomains in WordPress to give the appearance of a localised site, best approach?
- Multisite – 404 when accessing sub-sites
- Migrating wordpress multisite and domain mapping plugin
- Is the Multi site functionality a viable option for Country and Language targeting?
- Multisite not using subdomains as hostname in from address when sending emails
- ERR_TOO_MANY_REDIRECTS when i config my subdomains
- new subdomain to apply as main domain
- Subdomains with almost the same content
- Login problems on multisite installation with different domains
- Separate DB by yearly archive of WordPress
- How to show only blog-domain instead of the whole permalink in the loop
- Use same database on main domain & sub domain
- WordPress MU subdomain vhost
- wp_get_attachment_image_src on multisite
- WordPress Multisites or Multiple WP Single sites?
- How to use different domains subdomains in WP multisite? [duplicate]
- Custom permalink structure with %postname% in front of domain name
- Run two wordpress on the same domain
- Multisite for main in subdirectory, subdomain and subfolders (EN/ES)
- Moving from subdirectory and subdomain -> root
- How to redirect template_directory to subdomain relativ url?
- When i try to enter subdomain i’m redirected to main domain
- How can I have two or more WordPress Pro (paid) themes that form a single website?
- Configure .htaccess to have a WordPress single site installation with all subdomains pointing to the same pages?
- How to Best Create Separate Subscribers and User Experience
- After switch domain, some parts of my site still point to my old domain
- How to Install WP to Subdomain but Serve on Subdirectory?
- Looking for most efficient way to ‘deploy’ single wordpress page to multiple external subdomains
- Multisite installation steps?
- How to connect existing subdomains to new wordpress multisite?
- Using both subdirectory and subdomains in Multisite
- 403 Forbidden Error on subdomain
- Domain name to a page
- Is it possible to put a site other than #1 as a Multisite top-level domain?
- Cookies in Multisite network where sites have their own domain name?
- wordpress multisite with already existing subdomain