Multi-Network without plugin

Sorry for inconvenience caused and you are looking for multi network feature without plugin so you need to do some stuff on code to access sub sites: // Multisite define( ‘MULTISITE’, true ); define( ‘SUBDOMAIN_INSTALL’, false ); define( ‘PATH_CURRENT_SITE’, “https://wordpress.stackexchange.com/” ); define( ‘DOMAIN_CURRENT_SITE’, $_SERVER[‘HTTP_HOST’] ); // Likely not needed anymore (your config may vary) //define( … Read more

WordPress Multisite – Domain Mapping

As you might already know, this is done via the Edit button for the site. That contains all of the wp-options table rows for that sub-site. I always go through that entire list (it is long) and change all occurances of www.example.com/site1 to www.mydomain.com (the domain name for that subsite). Many plugins/themes store info in … Read more

Displaying Multisite ID number

If the shortcode you’re using provides a standard format filter for the shortcode attributes, then you could perhaps try something like this. function filter_shortcode_atts_sectionsforce( $out, $pairs, $atts, $shortcode ) { // is filter set and it contains our dynamic tag if ( isset( $atts[‘filter’] ) && false !== strpos( ‘Playhouse__c=\’site_id\”, $atts[‘filter’] ) ) { // … Read more