Show all posts on a twentythirteen multisite
If you are looking for “easy”, then the easiest way is probably to use the RSS widget for that. Get two widgets, one for each blog and you are done. Once you have a third blog just add another widget.
If you are looking for “easy”, then the easiest way is probably to use the RSS widget for that. Get two widgets, one for each blog and you are done. Once you have a third blog just add another widget.
Cron job disappering without notice?
well, what i did finally is to use taxonomies instead of aggregation because cron based solutions are a little bit tricky with server resources and might reduce the performance: install taxonomies plugin add a code to it to attach the blogid of the post as custom field when saving the post add a function to … Read more
The codex says you have to choose one option or the other. What might work is to choose the sub-directory option and then on your server (via cPanel or whatever control panel you have) setup some subdomains to point at those folders/urls. I have not done any tests on this but that would be my … Read more
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
Built-in Sitemap on Multi-site install produces 404?
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