Sort by site/blog column in Multisite

I tried to solve this issue before. Taking a second look at it, we can alter the sites list using the query filter hook. Supposing our custom sort URL is http://example.com/wp-admin/network/sites.php?orderby=site_category add_action( ‘plugins_loaded’, function() { global $pagenow; if( is_super_admin() && ‘sites.php’ == $pagenow && isset( $_GET[‘orderby’] ) && ‘site_category’ == $_GET[‘orderby’] ) add_filter( ‘query’, ‘b5f_filter_site_query’ … Read more

How to Display BuddyPress Profile Field Data In Multisite Blogs [closed]

After playing around with it a bit more, here’s what finally worked for me: global $bp; $thisblog = $current_blog->blog_id; $user_from_email = get_user_by(’email’, get_blog_option($thisblog, ‘admin_email’)); $user_id = $user_from_email->ID; $myfield = xprofile_get_field_data( ‘Counties Served’, $user_id, $multi_format=”comma” ); $data = xprofile_format_profile_field(‘checkbox’, $myfield); echo $data;

Enable “My blogs” in a custom installation

If you create the new blog using your email address, it will be owned by your user. Because you are acting as the super admin, it assumes you are creating for a new user. Not entirely sure what you mean about my blogs, but if you follow the steps above then the new blog will … Read more