You could use the technique in this Stack Overflow answer, that’s basically:
switch_to_blog(1); //switch to main site
$latest_posts = get_posts($args);
foreach( $latest_posts as $post ) {
// print post
}
restore_current_blog();
Just add 'post_type' => 'your-custom-post-type'
to the query.
Related Posts:
- Adding a Taxonomy Filter to Admin List for a Custom Post Type?
- How to add field for new site-wide option on Network Settings screen?
- WordPress network: set themes and plugins for new blog
- Setting up a multilingual wordpress site
- Plugin to list active plugins across networked sites
- Cannot access wp-admin after disabling all plugin
- How to hide plugin from WordPress Multisite admin plugin list
- WordPress on AWS with ELB
- Show function to super admin
- Redirect to another page using contact form 7? [closed]
- Network activating; if ( !current_user_can( ‘manage_options’ ) ) locks me out…
- How to display terms and conditions in post area?
- How to remove a CPT Menu from the Root Admin only
- Redirect Plugins.php to New Plugin Page
- Creating teams of users in WordPress
- Best method of implementing compartmentalized custom post types on a multi-site network
- Add custom fields in the new and edit the site forms without touching the WP core
- why i cannot see some plugins while they are enabled on network admin page?
- Redesigning Custom Post Type “Add New” page
- How to eliminate weird 404 errors in wp-admin?
- WordPress sharding: which multi-DB plugin to use?
- How Do I Use The WordPress Plugin Posts 2 Posts by Scribu?
- What is a Network Activated Plugin Exactly?
- Is there any record of installed plugins in the database?
- Sharing Ad Revenue among Users of a Multisite in a Collaborative Model?
- While using WordPress Multisite is it possible to display data to main site from subsites?
- Is it possible to run plugin code when a multisite blog is deleted?
- Multi domain, multi sites with different themes and content
- Aggregate Summaries of Posts of Different Blogs in Multisite Instance
- Multisite functions to communicate with individual site functions
- Seriously stuck with some custom meta box/plugin stuff
- I’m trying to create security question field for my login page
- How to Build a Movie Library in WordPress 3.x
- How do I get multiple pages by title?
- I need to add a custom “cover” to every new post — plugin or custom setup?
- Why does the My Site dropdown show only a single domain?
- After activating a Plugin, /wp-admin is no longer accessible
- Check if User exists in WordPress Multisite
- Function to prevent users from trashing comments
- Allow users mark posts as “complete”?
- Is there a way to order posts and custom post types as one group?
- dynamically generating plugin syntax
- My Category is too big on the Menu what can i do?
- Duplicate posts when posting nulls in records in phpMyAdmin [closed]
- WordPress takes too much time (100 seconds) to load – Front end and back end
- Exclude post by custom meta with pre_get_posts
- get_post_type() and WP_QUERY issue
- Is there an easy way to flag posts in the admin area?
- Custom post type – no layout section of Document tab, and no author choice
- Creating a custom post type, adding custom meta fields, preventing all future editability of posts of this type
- There is any way to remove post-format filter? [closed]
- WordPress multi domain – redirect
- Dynamic admin submenu
- WordPress custom taxonomy not showing
- Using ACF default value to autoincrement a number field
- Create a single website with 3 theme options in wordpress
- How to Resize the Custom Post Images?
- Display Plugin Panels Outside of Admin Areas
- posts from multiple post types in one slider
- WordPress super admin login issue. (Automatically logout)
- Hosting multiple sites
- Mowing site to another domain in simplest way
- Use jQuery Datepicker code from plugin
- WordPress as heavily personalized content management portal, and somewhat like dropbox [closed]
- Posts 2 Posts: Display custom types connected to the same other custom type but with another connection
- Multisite Plugin – Access options (wp_options) on child sites
- Can’t save changes or modify settings in Dashboard but Pages and Posts are fine
- Multisite Change from domain.com to sub.newdomain.com
- Trigger jQuery to add events after AJAX-loading table in admin plugin
- Import Recent Posts Only and Ignore old ones if exist
- WordPress REST API: Query media files attached to a custom post type
- How to get the custom field value using SQL query
- how to move a plugin-block in Edit Post page back to bottom area?
- wp_post not working, keeps redirecting to posts page
- WordPress fatal error from php protocol codes
- How to display the category name in the tab and post inside the tab in WordPress?
- Want to build parent-child relationships between custom post types created with CPT UI
- Add an action based on custom post meta field
- Can I edit multiple sites with an online WordPress account?
- Ultimate Members Default Post Layout problem
- Creating one user access account for all the multiple sites
- Get full URL of WP plugin admin page
- WordPress Plugin PHP Not Calling Function
- Admin menu hilighting wrong item for CPT
- Is admin section completely customizable in terms of styling?
- Disable plugin on admin page
- How do plugin updates work?
- Automatization for automatization
- Is there going to an issue running different features of WP site in different subdomains?
- Plugin on all site except primary one
- After installing plugins, changes don’t appear
- Integrating planning tools in wordpress
- Making a Custom Post Type Publish Loop
- WordPress User Frontend Editing Custom Fields
- Frontpage Admin Bar Disappeared
- Combining JS files to one script
- Make a magic tag work with Custom Post Types
- turn off WooCommerce for a site in a multi site environment
- How to make content as required in custom post type?
- /wp-admin/plugins.php takes ages to load, and then 404s