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?
- WordPress multisite on different subfolders can’t install plugin via network
- Can’t see login page after migration
- custom taxonomy and custom post type url conflict
- Multisite Widget/Content
- Why does the My Site dropdown show only a single domain?
- Custom height/width for thickbox in WP Backend
- Hide Theme options and Customize Admin menu
- get_option compatible with wordpress network (multisite)?
- Making menu link open in new tab?
- Is it possible to set up multistore in Woocommerce? [closed]
- After activating a Plugin, /wp-admin is no longer accessible
- Weird problems after recovery from security breach
- What Plugin Do You Use to Turn WordPress based site to A Blog Aggregator
- Check if User exists in WordPress Multisite
- How can I create a plugin installation link?
- wordpress reusable content blocks
- Override plugin with functions.php
- Exclude plugins on Main site on Multisite installation?
- Reset WordPress website
- Should i delete the posts created by a plugin on uninstall?
- Is the wordpress user-model changed in wpmu?
- Function to prevent users from trashing comments
- WordPress Multisite – get_plugin_data()
- How to Sort the Favorite Plugins Screen Alphabetically?
- Network: retrieve a list of latest posts
- Hide extra menus from WordPress Dashboard
- Allow users mark posts as “complete”?
- Error 404 using wpml plugin
- How to provide a plugin which requires CMB2 (plugin dependencies)?
- Multisite installation but do plugins always have to be multisite compatible?
- ‘wp_login’ action hook not working with wp-login.php file
- How to define WordPress plugin shortcode globally for multisite?
- Unable to install theme recommended plugins on Multisite
- How to add class in plugin only for network site?
- Convert existing WordPress Site (with several plugins) into Multisite
- Is there a way to order posts and custom post types as one group?
- Disable multisite-wide plugins on specific sites
- RW Meta Box ,Problem setting post title
- 404 Error on Activate / Deactivate Plugin
- Why isn’t admin_notices displaying my text? [Simple Plugin, Beginner]
- How does WP handle multiple matching rewrite rules?
- WordPress Multisite plugin delegation
- how do i remove posts from a WP_Query so the pagination is right?
- How to make an interface similar to multi-site for switching between multiple (single) sites for administrators?
- How do I tell what plugins are used on my multisite install?
- Saving Custom Post types and fields to a custom table
- dynamically generating plugin syntax
- How to write a plugin to add users to a mail list
- Is it possible to use WordPress as an online portfolio for text content? What kind of theme would I look for?
- Portfolio + Blog: multisite or plugin?
- Building a store locator with google maps
- My Category is too big on the Menu what can i do?
- Duplicate posts when posting nulls in records in phpMyAdmin [closed]
- How to make wp_enqueue_style and wp_enqueue_script work only on custom post type
- Loco Translate: Custom Post and Custom Taxonomy Labels not translated in wp-admin menu
- Plugin upload to install
- Multisite custom user activation emails – html
- WordPress Multisite user activation hook from email
- Accessing post’s meta data based on user’s click of a post
- Best method to upgrade multisite plugin’s numerous database table
- WordPress takes too much time (100 seconds) to load – Front end and back end
- Change the backend language of a single plugin
- Multiple sites, multiple countries
- How to create user groups and allow custom posts and plugin modify/access to specific group?
- Correct way to make meta box with more than one meta field secure
- I want to extend the current themes’ single.php to display the meta fields of my CPT
- Plugin custom post type – Internal server Error
- Exclude post by custom meta with pre_get_posts
- Solutions to repost categories into multisite blogs?
- How can I create a custom shortcode that will return a custom post type by ID?
- Edit default comments page in WP Admin
- All Users > User List > Update User Meta Field Inline
- Is it possible to create Custom Post plug-in?
- get_post_type() and WP_QUERY issue
- Rotating background images with admin options
- Media is not attached after import
- get_post_type on post.php
- Is there an easy way to flag posts in the admin area?
- How can I disable the multisite feature of WordPress 3.0?
- NGiNX + PHP5-fpm + CDN Tools (plugin) [closed]
- Any recommendation on how to manage ads?
- List taxonomy terms for post as checkboxes