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?
- Migrating WordPress site from subdomain to subdirectory
- Linking to Files in Root Directory Outside of WP Installation
- Using same database for main and subdomain
- Second wordpress installation on subdirectory
- Wordrpess Subdomains (Multi-Site) without Wildcard
- WP MU – Accessing ‘Domain-Mapped’ WP-Admin with a subdomain
- Icon font not working on subdomains of multisite
- How to redirect a page to subdomain?
- How to run a subdirectory multisite install under a subdomain
- WildCard SSL with wordpress subdomain
- Pulling images from a subdomain
- Subdomain redirects to subdirectory [closed]
- Moving local wordpress page to a real server subdomain broke my permalinks?
- Point static content like css and js to cookieless subdomain
- Create subdomain out of sight the wp multisite
- Nginx Wildcard SSL with WordPress Multisite Subdomains
- Multisite: Can’t Post or Create Categories
- Rewriting a subdomain page on one WordPress installation to a parent domain on another
- Redefine cookie domain for subdomains
- Installed WordPress Location
- MU/Subdomains + Domain Mapping + SSL?
- Should I install blog on subdomain or subdirectory?
- When creating a multisite, the sub-folders option is not available
- Subdomain to website directory blog transferring
- Different Subdomain changes page content
- Creating a subdomain network in a subdomain
- How can i shift my chosen posts to a subdirectory?
- Redirect all subdomains to root domain
- Can’t create a subdomain network – and WP is installed in webroot, not a folder
- Subdomain is not working
- How to create subdomain for custom post type and associated custom taxonomies
- Can’t login to WordPress admin panel after changing domain to use WordPress pages as a fallback from React
- How to make Subdomain work for product_tag?
- WordPress Multisite and how to apply sef urls only to specific sites
- How to serve WordPress folder over subdomain?
- multisite installed on subdomain now want another subsite on subdirectory
- Dynamic subdomains for woocommerce affiliate sales but NO multisite. Is that possible?
- Opening WordPress on wordpress.example.com, while the webpage is at example.com
- How to publish pages under a subdomain url?
- WordPress Multisite Network Subdomain
- how to setup subdomains for pages?
- How to Block WordPress from subdomain?
- How do I secure a subdomain using UCC SSL?
- Subdomain Wp-Admin Not Found
- Some Subdomains on a Multisite Install Not Found
- Share login status across subdomains without network
- Generated URLs don’t reflect accurate URLs.
- Multi site root site installed on subdomain, with child sites as subdirectories
- Integrating WordPress for blog and other content pages in a web app
- Multisite subdomain microsite on secondary domain
- How do I test my WordPress subdomains on AWS during migration?
- WordPress: How to change name of ADD-ON domain’s folder and also change/rename all references to it
- Top-level staging-site URL redirects to a different site