When building a page, WordPress looks in the option table in the database which theme to use. This read action can be intercepted, as you can see from the fact that you can live preview themes (more extensively with a plugin).
So, if you want to build something like this yourself, you would have to dive into the matter. It’s a bit too much to detail that out here. Or you could use a plugin like Multiple Themes.
Related Posts:
- Allow user to select a theme to install when they signup
- Changing Multisite themes on mass
- Is there an easy way to separate themes on network?
- Hide a theme on list of themes in wp-admin without editing core files
- Can I install a theme on only one site of a multi-site network install?
- Can’t find “Add New” button for themes in a multisite
- How to move theme directory but not plugins/uploads out of WordPress root directory?
- Manipulate list of themes in wp-admin
- Subfolder multisite issue. Themes and plugin files 404
- cant enable theme in multisite
- Bulk activate a theme on multisite
- Multi-site get_bloginfo(‘stylesheet_directory’) referring to sub-folder
- Multisite theme control not working
- WordPress MultiSite Theme
- Update configured themes
- How to show different sub sites based on Member’s user name In word press?
- Does a single theme license work on multisite? [closed]
- Create a CSS file in plugin folder when theme is activated
- Is it necessary to network enable both the parent and child theme for multisite installations?
- Trying to change active theme on all sites in Multisite
- Multisite > Edit Site > Themes – what are these themes?
- WordPress multisite with same content
- How to automate setup of theme, pages, widgets, etc for a new site in multi-site?
- Why WordPress w/ Nginx Multisite Only Lets Admin Upload ZIP Plugins But Not Themes? [closed]
- May I do multiple micro-sites with different themes in a single wordpress without subdirectory nor subdomain separation?
- How can I have two or more WordPress Pro (paid) themes that form a single website?
- Create link preview for theme wordpress
- Themes are visible in Network, but invisible in sites
- WordPress theme to support single website but with 3 sections for 3 languages
- WordPress multisite condition for certain blog_id’s
- WordPress Multisite – Auto enable theme
- Whats the best Practice for using a different Theme for WebView Apps?
- Creating a stand-alone site from a WordPress sub site
- Updating themes customized by users
- How to handle responsive and non responsive websites in one WordPress Theme?
- In a MS install, can you allow different users to have their own themes?
- How to mass change theme for all Multisite network sites?
- Iterating over every multisite / theme and list the pages
- different image for mobile template block theme
- Export/Import Blog Post from and to sites with different themes?
- Moving a WP Multisite to a subdirectory
- Restrict Admin Capabilities in MultiSite
- Multisite 404 errors and non-www redirecting to home page
- Multisite with entirely different domains?
- Testing Multisites with vagrant or Can I use multisite with only an IP address (without domain name)
- Can you set up a wordpress (multi-site) network to work across multiple hosting accounts?
- No Network/Super admin after enabling Network
- Creating a Post form outside of the Admin
- How can I create a multisite global tag cloud?
- Possible to create a multisite network where the main site is non-WP?
- Override database config for WordPress multisite
- ‘Remote Login’ with MultiSite Domain Mapping still forcing users to login to all blogs individually?
- Multiple WP Sites Same Server – Share WP Base?
- Super admin access to a forgotten WP instance?
- How to search users globally on a multisite install?
- Query users by capability – uninstall/deactivate callback
- Cannot access my first sub-site in a multisite [closed]
- Auto creation of multisite blog on user registration
- Memory question on WordPress Multisite
- How to protect post attachments related to a custom post type, from non-logged in users, on 1 subsite of a multisite installation?
- Aggregate multisite RSS and restrict certain content
- WordPress multisite on IIS – can’t open subpages
- Issues with Multisite installation and 403 error for REST API request
- How to run react app and headless WordPress and React App on same server (managed by plesk)?
- Nginx Wildcard SSL with WordPress Multisite Subdomains
- Multisite – Parent site with Polylang with different domains for each language [closed]
- How to disable wordpress cron jobs for a subsite?
- Multisite – create plugin to hide deactivated sites from the sites overview
- Navigation menu not being assigned Theme Location
- Moving wp-admin folder to a different host in a multisite environment
- Issue with Multisite and SSL
- How do I remove the “http://” from network_site_url?
- List recent 25 blogs across the network
- What is the simplest way to disable multisite leaving one of the sites only?
- What does multi-site WordPress application mean?
- Add wordpress multi sites with different port number from 80
- Create website with a switch between private and business [closed]
- Can’t create a subdomain network – and WP is installed in webroot, not a folder
- How to make my third multisite blog start with id 1000?
- Forward and mask a WordPress website
- Cannot add edit themes and add plugins after multisite update
- Filter meta request
- How to automatically create an index of child sites at the root url for a multisite installation?
- Does switch_to_blog support array or other ways to show all posts on a network install?
- How to make subdomain and muti-site but wordpress isn’t in root?
- Add www to the Root Site in WP Multisite Network
- Multisite problem with unexisting paths to CSS etc
- How to allow mixed case characters in multisite site name?
- How To Change the URL of a WordPress Multisite
- Site w/ Addon Domain doesn’t show CSS
- WordPress MU – Creating a site takes ages
- Default sub-pages on WordPress Multisite
- WordPress Multisite – Questions about select all posts from all network sites
- Multi site and media uploader
- Comment reporting for Multisite
- How to display the most popular posts of all the blogs in a mu setup? [duplicate]
- WordPress MS wp-admin/includes/post.php error with shortcode generator
- Subdomain add comment redirect to 404 not found page iis server
- 404 error in dashboard of subdomain of multisite
- WordPress Multisites