Hot answers tagged

4

Have a look at the Network Admin Settings screen (in my installation, it's at example.com/wp-admin/network/settings.php). Tucked away down near the bottom is this: Menu Settings Enable administration menus [] Plugins Checking that box should allow your users to see the Plugins menu in their sites' back end. (I don't think it'll allow them to ...


2

Here's a proper multisite solution: Install WordPress directly on the root of your domain mysite.de. After that, setup a multisite and chose the sub domain option (Yes, subdomain. It's far more flexible but you can use it with subdirectories as well). WordPress will ask you to update wp-config.php and .htaccess. To the wp-config.php add the following ...


2

Put the plugin in the wp-content/mu-plugins directory. Each site in your network has its own _options table in the database so as long as you are using built-in WP functions for handling your plugin's options, each site will have its own distinct set of options.


1

Using get_sites() in WP 4.6+ It looks like wp_get_sites() will be deprecated in WP 4.6. The new replacement is: function get_sites( $args = array() ) { $query = new WP_Site_Query(); return $query->query( $args ); } Very similar to get_posts() and WP_Query. It supports various useful parameters and filters. Here's what the inline ...


1

Yeah, there are a little more steps involved with Multisite. Here's how I did this for a recent project, after much mucking around: Set up virtual hosts rather than subfolders on your WAMP box I'm on XAMPP so this will be a little different for you, but for me I just needed to add the following to c:\xampp\apache\conf\extra\httpd-vhosts.conf: ...



Only top voted, non community-wiki answers of a minimum length are eligible