is there a if multisite have posts function?

There isn’t but you can use switch_to_blog() function to switch to a certain site then use regular WordPress function to check if any post on the post type is exists or not. For Example add_action(‘wp_loaded’, ‘wpse167721_check_networkwide_events’); function wpse167721_check_networkwide_events(){ global $wpdb; $original_blog_id = get_current_blog_id(); // get the original blog id // get network sites $args = … Read more

How create a multisite setup with “phantom” accounts and passwords?

Your (super) admins will still be able to edit users’ details — it’ll just be a two-step process. First they’ll create the user; then, they’ll go to the new user’s details page (eg, example.com/wp-admin/network/user-edit.php?user_id=[xxx]) to edit the user’s details. I’m not sure I comprehend the second question. Do you require that readers of your online … Read more

How to Create WPMu New User?

You will need to give user2 Super Admin privileges by directly modifying the database. Run this query in phpMyAdmin: SELECT * FROM wp_sitemeta where meta_key=’site_admins’; This is an array of all your Super Admins. It should return something like this: a:1:{i:0;s:5:”user1″;} Note that 5 is the length of string ‘user1’. Here is an example modification … Read more