Merge Multisites with Shared Network Media Library
Merge Multisites with Shared Network Media Library
Merge Multisites with Shared Network Media Library
How to force change Network site multi language subdirectory base URL?
You’d need to use a plugin to manage domain aliases like that. Try Mercator by Human Made. Once installed you will see a new tab ‘Aliases’ when you edit a site in network admin dashboard and you will be able to add and activate domain aliases for a site. Keep in mind that this is … Read more
create an file php.ini and copy via ftp or ssh to wp-admin; inside this file the follow values; play with values for test and see the result. memory_limit = 32M upload_max_filesize = 32M post_max_size = 32M file_uploads = On
Use add_site_option() and update_site_option(). You can find these functions in wp-includes/functions.php.
Have a look at your vhost and check for ‘allow override=All … If this is also a new server it might explain the problems See my post here on how to check your apache config You might also like to check that the folder permissions are set correctly for WordPress ie www-data (the Apache user … Read more
You can use the global variable $current_screen. It has the property is_network, with a boolean value, that indicates if we are in /wp-admin/network/ or not. add_action( ‘admin_print_scripts’, ‘network_scripts_wpse_91699’ ); function network_scripts_wpse_91699() { global $current_screen; if( !$current_screen->is_network ) return; wp_register_script( ‘test’, plugins_url( ‘test.js’, __FILE__) ); wp_enqueue_script( ‘test’ ); } This action hook can also be used … Read more
Codex has documentation on creating custom login pages – Customize Login Form > Make Custom Login Page, using wp_login_form() function. This should load everything necessary to log user in. However, unlike login, replacing admin would be much more involved and have many approaches. Typically to access admin function in non-admin context admin PHP files have … Read more
Not exactly the answer you might hope for but is using a subdomain an option for you? www.mysite.com – your non WordPress installation blog.mysite.com – WordPress here Subdomains give you even more options like separate DNS entries so the WordPress installation could run on a different server.
[*] get_sites() will get a list of the sites in a Multisite network. You can then use switch_to_blog()[*], get_posts() / get_pages(), and restore_current_blog()[*] to get the pages from the various sites. I’d strongly recommend storing the results as a sitewide option using update_site_option() to lessen the load on your server. You could add a job … Read more