Main site media are accessible in subsite domain

Not sure what is the problem here, and when saying that I mean that I do not see the ROI in solving it. The core issue is that all the sites of a multisite are mapped to the same “physical” directory structure, and media files are simply served from the relevant upload directory when the … Read more

Multisite with Different URLs on Local Server

See my answer here, which might be helpful in resolving your problem. Domain names for sub-sites in multisites are contained in the site’s Settings. The answer tells you how to get there, and the htaccess commands which may help. Trying to migrate a WordPress Multisite with Domain Mapping

Moving wordpress multisite to new domain

I’d vote for a browser cache clearing (Ctrl+F5 or equivalent). Or you could try another browser instance (I sometimes use a new ‘private’ browser instance to test things.) I’d also look at the Network tab in Developer Tools (usually F12, or right-click anywhere in the page and select ‘Inspect Element’). After displaying the Network tab, … Read more

How to show theme on front end before sign up for multisite

Use below code to get the theme screen shot and theme name at front end for multi-site sign-up page. $themes = wp_get_themes(); foreach( $themes as $theme ){ echo ‘<b>Theme Name: </b>’ . $theme -> name; echo ‘<div class=”area”><img src=”‘ . esc_url($theme->get_screenshot()) . ‘” /> </div>’; }

Add radio button on theme at the select of the theme the same theme should be activated after generation of new site in multi site

Please paste the below code in the function.php file to activate the theme from front end /** * Add custom field to registration form */ add_action( ‘signup_blogform’, ‘aoc_show_addtional_fields’ ); add_action( ‘user_register’, ‘aoc_register_extra_fields’ ); function aoc_show_addtional_fields() { $themes = wp_get_themes(); echo ‘Choose template for your site’; foreach ($themes as $theme){ echo ‘get_screenshot().’” width=”240″/>’; echo $theme->name . … Read more