Function that outputs second theme url

You can use two inbuilt functions to do this. switch_to_blog get_stylesheet_directory_uri You can use both in the following way to make a function out of it which would give you the url to the theme. Put the below in the functions.php file function wpse_get_theme_url( $blog_id = 1 ){ switch_to_blog( $blog_id ); $template_url = get_stylesheet_directory_uri(); restore_current_blog(); … Read more

Possibility of Create Site Specific CSS in a Multisite

Yes, you can add website specific class to BODY, for example. Best approach is to create little multisite enabled plugin, that adds some class to BODY in body_class filter. function customBodyClass( $classes ) { global $current_blog; $classes[] = ‘website-‘.$current_blog->blog_id; return $classes; } add_filter( ‘body_class’, ‘customBodyClass’ ); All themes has to use body_class() function in BODY … Read more

Complex WordPress Website

From my perspective, you have 3 options: WordPress Multisite. 2 separate WordPress sites with a common landing page. 1 WordPress site with custom logic to determine content (store location). Each direction has disadvantages, but each of them is possible and will result in a perfectly fine end product. I cannot provide a recommendation. You need … Read more

Redirect to another page using contact form 7? [closed]

Redirect to another page using contact form 7? [closed]