R, the simple solution is to create a 2 post-meta.
The first is “Blog id”
The second is “Post id”
and you use
$blog_id = get_post_custom_values('blog_id');
$post_id = get_post_custom_values('post_id');
if( !empty( $blog_id ) )
switch_to_blog( $blog_id );
$query = new WP_Query( array( 'p' => $post_id ));
if( $query->have_posts() ){
while( $query->have_post() ){
$query->the_post();
}
}
restore_current_blog();
reference:
Related Posts:
- Problem in Internationalizing a plugin built for network level usage
- How to force change Network site multi language subdirectory base URL?
- Add additional Network constants to wp-config.php dynamically
- What are options are there to implement a multi language site
- WP Multisite – multilanguage – swich to other language by click, but “same” content
- Roles other than Super admin accessing manage_network_themes
- How to add super admin to all sites
- Listing of all site options in dashboard
- Multisite: How to store global options vs. site options?
- Single-user registration to access all sites in WordPress MultiSite Network
- Using WP Multisite for multi language site? A good option?
- WPMU vs WordPress MultiSite is there a difference anymore?
- Generate a user list per site to communicate upgrade plans
- Multisite – how to remove the root ‘/’ site?
- Timeout While Upgrading Network in Multi-site
- How to manage multiple domain with different languages on each domain with single wordpress installation?
- Should multi-language site using multi-site architecture have default language in base site?
- Add new domain to ‘My Sites’ using network admin
- Favicon plugin for WordPress running in network mode (multisite)? [closed]
- Multisite use language code as subdirectory
- No Network/Super admin after enabling Network
- How to use both British and American English?
- Setting up a multilingual wordpress site
- htmll lang=”de” but admin page in English
- Multisite network admin – URL / redirect error
- WordPress multisite change language
- Why does the My Site dropdown show only a single domain?
- Is there a way to run upgrade.php for one blog?
- Multiple install for multilanguage. How to?
- WordPress Multilingual Theme using Multisite
- Should I use a multisite installation to achieve a multi-language site?
- Multilanguage site with two domains
- Adding new sites to Multisite won’t register in Dashboard
- WordPress Network admin options page: how to store options and where will they be stored?
- Multi-Site Subdomain: Show master site under subdomain if no sub site exists
- Merge Multisites with Shared Network Media Library
- Is the Multi site functionality a viable option for Country and Language targeting?
- Efficient way to handle translations with Multisite WordPress installation
- Multisite Subdirectory with same domain subdomain
- Create Custom Multisite User Role to Reduce Capabilities
- HTTPS Warning and Certificate Error when Updating Network
- Multisite, with virtual root
- Multisite WPLANG won’t save
- How to exclude specified from all list of Multisite
- How to wordpress multi site [closed]
- Create sub-domain for multisite and multi languages?
- Network of multisites in WordPress, create new site with all the contents of the main
- how to have __() translating in languages different from admin?
- Locking one blog of many in a multi user/blog WordPress installation
- Programmatically creating site in a network
- Is this possible? A multisite with “www.example.com/en/blog/” and “www.example.com/cn/blog/” (two directories deep)
- switch_to_blog() not functioning while querying post_types, Why?
- WordPress Multisite with subdomains on different domains
- Can’t create a subdomain network – and WP is installed in webroot, not a folder
- Change Woocommerce languange on a multisite install
- How to have one installation at blog.example.com and multiple blogs in sub folders such as blog.example.com/userA?
- Which Multi-language option for WordPress is best from an SEO and Woocommerce perspective?
- Creating a multilingual multisite
- Forward and mask a WordPress website
- WordPress multisite with same content
- Can I use the same Folder name as a Multisite Blog?
- Change language for each website using multisite
- unable to access network admin of a blog
- WordPress multilingual site to work with other plugins
- unique identifier for the same pages in a multilanguage/site context
- Website not listed under Sites (in a Network environment)
- Sites network with sub-folders
- How can I create network with different domains?
- WordPress Multisite for multi-language
- Add Network Sites are not working
- Getting stylesheet error after setting subdomain to false in multisite
- How to hold posts and accounts for moderation on WordPress Network site
- My Sites link in multisite is incorrect
- Multisite network admin login redirect
- Multisite network subdomains doesn’t work
- WordPress theme to support single website but with 3 sections for 3 languages
- Change header.php of a specific WordPress Multisite
- Modify new user email notification in network admin screen wp multisite
- the menu of the network does not display my second website
- Multiple Languages for each subsite on a Multisite
- WordPress Multisite – Auto enable theme
- network admin pages not linked to correctly
- Multisites with different root directory
- Blog switch wpml string translation (multi-site)
- Synchronize wordpress site between two different servers
- Move two independent sites to network
- Configuring Multisite with subdomains
- Cannot access network admin panel on multi site
- How to apply specific plugins to affect all sites (Multisite Network)
- Admin user getting redirected to /wp-admin/user
- Getting 404 after Update in Multisite
- How can I have different langauges in wp-admin on a multisite installation?
- Add blog languages to blog-name inside my-site-list in admin-bar
- Help on setting up correct path for sites in multisite-setup
- cannot access subsites in wordpress multisite
- Multiple domains for with a single instal
- multi-language multi-site with REST API
- 4th Network Site Database Errors?
- How to display update message only to admin
- How to disable admin access on new site registration for user in Multisite?