Tag Info

Hot answers tagged

3

You can disable certain themes in your WordPress network. Go to http://www.yournetwork.com/wp-admin/network/themes.php click on 'network disable' to hide the themes for the other websites. You can enable a theme for a single site by searching for the site -> click on 'themes' -> click enable at the desired theme. Hope this helps.


1

Why not use get_comments(), instead of trying to roll your own with $wpdb? function display_sitewide_comments() { $sites = wp_get_sites(); $network_comments = array(); $max = 20; foreach( $sites as $site ) { switch_to_blog( $site->blog_id ); $args = array( 'number' => $max, 'status' => ...



Only top voted, non community-wiki answers of a minimum length are eligible