A Must Use plugin could do the work.
This is just an outline and has to be fully tested:
add_shortcode( 'global_form', 'shortcode_wpse_87634' );
function shortcode_wpse_87634()
{
// Main site, ID=1, that has the form
switch_to_blog( 1 );
// Do your stuff
$my_stuff = something(); // maybe do_shortcode
// Back to original site
restore_current_blog();
// Return shortcode content
return $my_stuff;
}
Also, maybe the contact form plugin must be Network activated for this to work.
Having the shortcode available Network-wide will work with the mu-plugin
, but to have the form really working globally, that’s another issue.
Related Posts:
- Multisite Installation: how do I setup global search?
- Optimizing Query used for a Shortcode
- Widget not displaying in WMPU sites
- Contact Form 7 in Multisite [closed]
- Is a multisite install what I need?
- Working with Contact Form 7 pipes
- Get variable from previous blog while using switch_to_blog
- Parse shortcodes from another site in WP Multisite
- How to share WordPress core library
- Programmatically create blogs with dummy content on a WPMU site
- How to individually set WP_DEBUG on a sub-directory multisite?
- Change wordpress Multisite default site from side id 1 to side id 2
- How can I have network sites not use year/month folders by default?
- 4 single sites VS multisite wordpress
- multisite htaccess 301 redirects
- Why can’t a WordPress network (multisite) in it’s own folder use subdomains?
- Two-level multisites in WordPress
- Multisite non-www domain redirects to sign-up
- Can you have multi-site WP and keep users separate?
- Domain redirect in WordPress multisite
- Using “/blog” as a site with WordPress Multi-Site
- Trying to change the url of a new site
- Non-wordpress subdomains on Multisite Installation
- Split a database will improve performance?
- Why are images not displaying?
- ‘Remote Login’ with MultiSite Domain Mapping still forcing users to login to all blogs individually?
- Change multi-site installation from sub-domains to sub-directories
- Multisite on Rackspace Cloud (ubuntu lucid)
- how could I have a user signing up for a blog, be assigned to that blog only
- oEmbed in wordpress multisite not working
- Multisite Upload URL?
- WordPress multisite installation broke menu links
- How to search users globally on a multisite install?
- Contact form sender email
- Forgot your password points to main blog on multisite install [duplicate]
- How to use same email for multiple users in Multisite version 4.7
- Upload images from one site to another in Multisite
- Hide active themes on multisite subdomains
- How is a user’s primary blog determined?
- Multisite: copy template when a subsite is created
- Password protect a single site on network
- How to get permalink using get_blog_post function in a multisite?
- Trigger shortcode after submit button pressed [closed]
- Multisite gives Error if i want to enter Dashboard or Site
- Good way to block users within a multisite setup without deleting them?
- Use separate S3 buckets for separate sites in a multisite environment
- Create a database for each site created in multisite?
- Adding a existing developed site to a multisite installation of WordPress
- Multisite Posting Recent Items in All the Sites Linked with Multisite
- How can you override the is_multisite check in wp-login.php for individual login/registration?
- 2 website 1 database… Local to online
- Custom port problem with local MU installation
- Multisites – Select homepage based on location
- Switch to blog and get content from that blog
- How can I hide certain sidebars from some users?
- How do I create a multi site network?
- Hosting 2 WordPress websites in /public_html/ & /public_html/subdirectory/ at the same time
- How to Deny Access to No Referrer Requests on Multiste with Mapped domains
- Making a Multisite Dashboard Widget
- wp_get_attachment_image_src returns incorrect URL on multisite
- Locking one blog of many in a multi user/blog WordPress installation
- How do I disable XML-RPC in WordPress Multisite?
- Email address used by website but I do not know where
- Include www prefix in site URL
- Is this possible? A multisite with “www.example.com/en/blog/” and “www.example.com/cn/blog/” (two directories deep)
- How to modify wp_config file for set up subdirectory?
- Sharing users across multiple sites, each on their own database
- Is this a good case for Multisite?
- WP Multisite – How to create a custom “router” for blog prefixes?
- Show buddypress profile fields in a multsite blog [closed]
- How to automatically translate plugin using translate.wordpress.org
- May I do multiple micro-sites with different themes in a single wordpress without subdirectory nor subdomain separation?
- How do I export a single site in a multisite content without using a plugin? The default WP export does not catch all
- Media library links broken WordPress Multisite after SSL update
- When hooking wp-cron to system
- WordPress network, add extra directory to subsite urls
- How to disable Gutenberg editor from Multisite Admin panel?
- Multisite wp-admin redirecting to main wp-admin using NGINX
- Register a user only to the root blog – WP Multisite
- Update Same Contents on every Page
- Separated Theme file on multi site network in subdomain
- Send data from one WP instance to another and process it there
- WooCommerce API Returns 401
- User not staying logged into one of sub sites in multisite after SSL
- WordPress Multisite Network Subdomain
- register_setting() for single site vs update_site_option() for mu
- Allow users to register on multisite through WooCommerce using the same email address
- Use a single WP installation instead of three
- Sending SMTP mail using a server with self-signed SSL
- Can WordPress Multisite work like a regular site?
- How create a multisite setup with “phantom” accounts and passwords?
- is there a if multisite have posts function?
- WordPress Multisite — Have same navigation, sidebar and footer across all sites.
- Primary site file uploads failing, subdirectory subsites upload fine
- Subdomain Wp-Admin Not Found
- Run “get_the_post_thumbnail” with a different table prefix?
- Pick your brain on wp-config.php if statement for multisite
- All links to images are broken in a subdomain multi site environment
- The wpmu_blogs_columns filter is not working
- Map WP Multisite blog.example.com to anotherdomain.com/blog?