Listing of all site options in dashboard

There is no function for that. But you can use a custom SQL query like this … SELECT meta_key, meta_value FROM $wpdb->sitemeta WHERE site_id = $wpdb->siteid AND `meta_key` NOT LIKE ‘_site_transient%’ ORDER BY meta_key … to get all non-transient options. Basic example: /** * Plugin Name: T5 Multi-Site Options * Description: Add a page to … Read more

How to add super admin to all sites

Super admins do have access to all sites, but they don’t show up in “My Sites” by default, which I imagine is where you’re looking. They’ll want to go to the network admin (/wp-admin/network/, then go to all sites from there, then find the site they want to edit and click “Dashboard” (which appears on … Read more

Network Admin “You do not have sufficient permissions to access this page.”

The easiest way to restore Super Admin privileges is to add a bit of code to your theme’s functions.php file to add yourself back: include(ABSPATH . ‘wp-admin/includes/ms.php’); $user = get_userdatabylogin(‘YOUR_USERNAME’); grant_super_admin($user->ID); Once your Super Admin privileges have been restored you can remove this code from your theme.

Post and Page Inheritance to subsites in a WordPress Network

R, the simple solution is to create a 2 post-meta. The first is “Blog id” The second is “Post id” and you use $blog_id = get_post_custom_values(‘blog_id’); $post_id = get_post_custom_values(‘post_id’); if( !empty( $blog_id ) ) switch_to_blog( $blog_id ); $query = new WP_Query( array( ‘p’ => $post_id )); if( $query->have_posts() ){ while( $query->have_post() ){ $query->the_post(); } } … Read more