Multisite Support
-
To only display network enabled themes i have done the following:
Replace line 306’s code:
$avaliable_themes = get_themes();
With the following 2 lines
$defaults = array('allowed' => true); $avaliable_themes = wp_get_themes($defaults);
This will replace the get_themes which is now deprecated.
This is in action on http://www.myinstantsite.co.uk where we allow users to sign up for a site and select a theme using this awesome plugin!
Enjoy!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Multisite Support’ is closed to new replies.