Yes, using switch_to_blog()
you can load another WordPress site, get what you want, then revert back to your current site and carry forward any retrieved data.
// the different site ID in your WordPress Network
$otherSite = 3;
// the post excerpt you're after in the different site
$otherSitesPost = 42;
switch_to_blog( $othersite );
$otherSitesPostExcerpt = get_post($otherSitesPost)->post_excerpt;
restore_current_blog();
echo "Site #{$otherSite} post #{$otherSitesPost} excerpt: {$otherSitesPostExcerpt}";
Related Posts:
- Handling embedded videos in excerpts
- Get the excerpt by page ID from another blog in a wordpress multisite?
- What are options are there to implement a multi language site
- Where is the robots.txt stored for a WordPress Multisite install?
- Settings API in Multisite – Missing update message
- WordPress Multisite Multiple child theme
- WordPress Multisite: How to make all media library items available for every site?
- How to setup LDAP authentication with WP multisite
- How to map a specific multi-site blog to a folder?
- WordPress Multisite. Can domain be used instead of subdomain?
- Built to scale, or worry later?
- Multisite Subdomains result in 403 Forbidden
- Set subdomains live in a next step
- Is there any fundamental difference in developing a wordpress multi-network site?
- merging two multisites
- W3 Total Cache Plugin with WP 3 MultiUser [closed]
- Should multi-language site using multi-site architecture have default language in base site?
- Multisite Installation: how do I setup global search?
- favicon and multi site
- Register email as username
- Two WordPress sites sharing the same database
- Help with updating a wp_get_sites to get_sites and sorting by alphebetical order
- Multisite Subdomain Using More Resources Than Others?
- Can I use multisite functions in a single-site installation?
- Multisite – create new site with precreated pages, menu etc
- Multisite setup on VVV with bedrock
- Trouble with switch_to_blog()
- WordPress Multisite prevent direct access to subdomain
- WordPress mutisite migration
- WordPress multisite change language
- Multisite, multiple domains per site
- delete_user_meta : how to delete all the metadata of a given user (witout SQL)
- Within the database, where is the flag which says that a user has Super Admin rights?
- Fresh Multisite Install – Can’t Log In
- Image problem – Multisite image upload broken
- problem with main site (root domain) redirects to subdomain (multisite)
- Upload file type not permitted even if explicitly registered as upload_filetypes in the db (multisite)
- Database Tables Lost Indexes? How to Recover?
- Add a user to a specific blog when they register?
- Redirect & permalink problems after moving multisite to a new server
- Optimizing Query used for a Shortcode
- How to enable error logs and debug mode in WordPress using Azure Cloud?
- Multisite Redirection to new domains
- Mapping domains to WordPress network installed on subdomain
- How can i redirect my Blog to a Subdomain?
- migrating content from a single wordpress installation to a multisite
- Multisite wordpress config on multidomain
- Is this a job for WP MultiSite with domain mapping plugin?
- How Can I Automatically Post WordPress Posts to 2 Domains
- Move Multiple WP Installs on a single domain to WP Multisite
- Widget not displaying in WMPU sites
- Activated multisite and added a site, but can’t access it
- Multisite domain mapping breaks CSS
- multisite (MU) Subdomain- only one wordpress install
- Permalink with a Category and then a Post
- Creating a subdomain network in a subdomain
- Sub-sub folders of WordPress Multisite subdirectory
- Delete all user’s meta without knowing all the ‘key’
- Allow editors to switch sites (Multisite)
- moving tables between multisite installs
- How much resources are good enough for 3.9.2
- Best Practise: Linking to WPMU sites from other sites
- Stylesheet and JS linking error in WP multisite nested path
- Common user login for two different wordpress installation and bbpress
- Can I run multiple blogs from my local machine
- Trouble with SQL SELECT inside switch_to_blog()
- WordPress Multisite and how to apply sef urls only to specific sites
- Custom css – WordPress Multisite
- Migrating from domain mapping plugin to native domain mapping
- how to convert a wp multisite into a single site with content from subsites
- Getting stylesheet error after setting subdomain to false in multisite
- “Multisite support is not enabled.” After Multisite Config Changes
- String translation within WordPress multisite with i18n not working on all sites
- Add new sites on the same level as the parent URL in a multisite
- Search returns “Nothing Found” on a sub directory
- 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
- Moving wordpress multisite to new domain
- Users getting linked unwanted to main mu in WordPress multisite (WPMU)
- WordPress automatic Login on other page?
- Multisite: How to bypass wpmu_signup_user_notification and add my own notification logic?
- Which action hook to update custom field at network/site-info.php in multisite on update site info
- Changed singlesite to multisite, but new site shows Maintenance
- multisite shared settings
- Multi Site Translate Strings
- Multisite Demo Data for New Site
- Responsive Wordress Site – Serve different post types to each device
- Should I use MultiSite for a subdomain based wp site?
- Can’t import posts in multisite
- User registration problem on multisites web
- 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
- Is there a way to have wordpress 301 versus 302 urls by default?
- first load of the page gives 404 error
- Some Subdomains on a Multisite Install Not Found
- personal_options hook on WordPress multisite
- There is no featured image in my post in wordpress multisite theme [closed]
- Multi site root site installed on subdomain, with child sites as subdirectories
- Integrating WordPress for blog and other content pages in a web app
- WPMU and Chrimes Family Link app