I can’t write the whole solution for what you need, but to achieve this you need to add code to your theme using functions like these which help you to figure out which multisite you’re on, and pull a post from a different multisite:
get_current_blog_id()
– get current multisite site ID
switch_to_blog(123)
– switch to multisite ID 123
restore_current_blog()
– if you switched to a different site, switch back to the one you were on before
So if your ‘main site’ is blog ID ‘1’ then you probably need to add some code to your theme that does something like this:
$mainSite = 1;
$currentSite = get_current_blog_id();
if ($currentSite != $mainSite) {
switch_to_blog($mainSite);
// get_posts, WP_Query, etc. to get the posts you want
// post loop to print the post
restore_current_blog();
}
Related Posts:
- What do I need to do to convert my MultiSite from HTTP to HTTPS?
- WP Multisite development with Mamp Pro and wildcard subdomains, not really working for me
- SSL wildcard issue for wp multisite subdomains
- How to set configuration options for particular sub blogs?
- Perform action on WPMU blog deletion
- Changing Multisite themes on mass
- Organize uploaded media files
- How to upload images manually to wordpress?
- MU domain mapping login issue
- Sitemap Plugin for WordPress Network
- How to make WordPress use new Upload Path settings in Multisite Setup
- Using WP CLI to set options in WP Multisite
- Import a regular WordPress blog into a MU installation
- Basic analytics across WordPress Multisite network [closed]
- Which is the recommended method to transfer a wordpress site to wordpress Multisite?
- Hierarchical Page Listing of all Pages in a Multisite Network
- Asian language multisite IDN subdomain
- Using separate Apache log files for multisite
- Changing Multisite URL after the subsite has been in use
- Can’t find “Add New” button for themes in a multisite
- Network setup tab is not shown under Tools
- How to make wp-signup.php a 1-step process [closed]
- Multi-site: Change the URL of main site to HTTPS
- How to show sites under “My Sites” Menu in admin panel wordpress multisite?
- Transients API and multisite
- Multiple Multisite networks on the same domain?
- How can I get multisite primary blog (url or path) for current user?
- How the mu-plugins Folder Works in a Multisite Installation?
- Replacing the default content created while the site creation
- Get Permalink of Network Blog Post
- What is the best practice to get a site from local to online?
- Multisite, can’t see sub blogs
- Google Docs Viewer have problem in MultiSite sub-blogs
- upgrade from WPMU 2.9.2 to WP 3.2.1
- What does “Use BalanceTags” Do?
- Images don’t show up
- How to create a network using a command line script?
- How to list WP multisite languages
- Mapping subdomain to point to sudirectory site in WordPress Multisite Network
- Notice bar at frontpage for multisite
- Syncing content in Multisite. Possible?
- Query to import data from one MultiSite table to another (pages/sub-pages)
- Multisite – Images often getting uploaded to the wrong month directory
- How to fix blocked cookies error that doesn’t let me log into wp-admin?
- Draft preview and customize permission problems on multisite main site
- Apache Site Aliases & WordPress Multisite
- Single sign on for several website domains
- How to create a Multi-Network subsite?
- Will changing the folder name two directories above a fresh wordpress installation break the site?
- Multisite -> XMLRPC
- Hierarchy in multisite
- Migrating static site to multisite with multiple domains and subdomains
- Share DB tables between two blogs on the same WP Multisite installation
- 404 redirecting to home [closed]
- Migrating Multisite with WP-Cli and/or Search-Replace-DB
- Remove superadmin role from the “change role to” menu in user listing
- use get_theme_mod from all sites in network
- Generate HTTPS Urls in multisite
- Replicate network plugins without having to configure it for each subsite?
- get_user_meta() in multiste with respect to subdomain
- How to organize my js files
- Installing multisite network on a bluehost addon domain
- If statement in wp-config.php, is it possible?
- How do I correctly configure my AMPPS localhost to use subdomains for multisite?
- WordPress Multisite URLs and Multiple Updates
- Multisite switch to blog
- WordPress multisite, allow non super admins to create sites
- WordPress Importer Tries to save media files to wrong site folder
- How can I remove a site from a network?
- How to Force WWW. in Domain With WordPress MU Domain Mapping Plugin?
- How does WP decide how to evaluate database integrity
- Fastest way to fetch posts across a multisite
- Interchanging WordPress Multisite primary site
- Redirect custom post type across multisite network
- Multisite Equivalent of `register_setting`?
- WordPress multisite second site admin resulting in too many redirects error
- Admin users not able to see network menus
- wp cli search and replace on –network Error reconnecting to the database
- WP Multisite Sub-Domain Error
- Themes are visible in Network, but invisible in sites
- logging out with/without confirmation – single site, multisite
- Multisite different domains mapping error on GGS
- Multisite – each site with it’s own set of users
- WordPress Multisite wp-admin/ redirect loop but adding index.php works fine
- Can WP multisite manage multiple ccTLDs
- Should i use multisite for my business?
- WordPress Network with SSL for multiple domains
- Nginx rules for subdomain multisite install (Bedrock)
- WP Admin Panel for Multi-site install not loading JavaScript for one Subdomain
- WordPress Multisite redirect loop
- multisite detect subsite blog number
- How to Create WPMu New User?
- Is it possible to create a login for restricted visibility?
- WordPress Multisite Subsite WP admin not working
- multi-language multi-site with REST API
- How to make Multisite global login that redirects to correct subsite after login
- Advice on WP site structure using multisite
- Multiple WordPress sites on one hosting [closed]
- Run WordPress multisite from secondary volume on AWS EC2
- Redirect to Multisite site 2 if site 1 has a setting