using 1 form shortcode (si or cf7) for all multisite sites [closed]

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 … Read more

Hierarchical Page Listing of all Pages in a Multisite Network

This can work using the following get_blog_list, originally by Frank Bueltge, and modified to also return each blog name and description. Attention to the use of get_current_blog_id() and switch_to_blog(). /** * Returns an array of arrays containing information about each public blog * hosted on this WPMU install. * * Only blogs marked as public … Read more

Multisite wordpress and subdomain URL collisions

You could just prevent slugs matching existing directories. There are two filters for that. Example, not tested: add_filter( ‘wp_unique_post_slug_is_bad_hierarchical_slug’, ‘prevent_directory_slugs’, 10, 2 ); add_filter( ‘wp_unique_post_slug_is_bad_flat_slug’, ‘prevent_directory_slugs’, 10, 2 ); function prevent_directory_slugs( $bool, $slug ) { return is_dir( ABSPATH . “https://wordpress.stackexchange.com/” . $slug ); }

Is it still only possible to do multisite domain mapping with a plugin in WordPress 4.1?

The short answer is yes. But it seems that the WordPress team are moving toward encouraging the creation of networks of sites rather than simply using Multisite. I watched this video: http://wordpress.tv/2014/07/26/john-james-jacoby-multisite-and-multi-network/ Which gives a good insight into creating a Network of sites. Each Network can have a different domain. I’m therefore going to install … Read more

Two-level multisites in WordPress

I believe the domain mapping plugin can do this, but don’t quote me on that. Domain mapping isn’t necessarily limited to mapping to other domains. It can map to subdirectories too.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)