Cannot access network admin panel on multi site
Turns out this was down to me. When I changed to an elastic IP on AWS I didn’t change the DOMAIN_CURRENT_SITE setting in wp-config.php.
Turns out this was down to me. When I changed to an elastic IP on AWS I didn’t change the DOMAIN_CURRENT_SITE setting in wp-config.php.
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
Right approach in doing this signup process
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
Yes, you can use those images having different sizes. When you upload an image, by default wordpress creates four images with different sizes like 50 X 50, 150 X 150, 300 X 225 and 500 X 500 and original size of image.So you can use any of them by following code : the_post_thumbnail(); // without … Read more
Built-in Sitemap on Multi-site install produces 404?
Look for a plugin that automatically creates posts from an RSS feed. For instance, the plugin RSS Post Importer, should do what you want. It will allow you to import posts to a specific category, which you can then display on the presentation page.
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
Configuring Multisite with subdomains
Get the post URL from wordpress posts