WordPress.org

Ready to get started?Download WordPress

Forums

default theme plugin and settings in multisite (6 posts)

  1. simmonsstummer
    Member
    Posted 2 years ago #

    hello!
    i created a site where people have the ability to run a blog but i need to set the default (and only) theme i prepared for them.
    Futher i need to enable some plugins and hide (or disable) some settings menĂ¹ (like the theme or plugins).
    Is there a way to make that?

  2. Setting the default theme's easy/

    http://wpmututorials.com/how-to/change-the-default-theme-for-sites-without-a-plugin/

    Basically, something like this on your config file:
    define('WP_DEFAULT_THEME', 'classic');

    where 'classic' is replaced with the folder name of your theme.

    To enable plugins, that's trickier. If you network activate them, they're on for everyone and cannot be turned off. Ditto mu-plugins.

  3. http://wpmututorials.com/how-to/change-the-default-theme-for-sites-without-a-plugin/

    also look at the new blog defaults plugin in the repo.

  4. simmonsstummer
    Member
    Posted 2 years ago #

    Thank you.
    I was wondering if ther's some more code support for the plugin. I already set the default theme but i need to hide the plugin and theme settings page for the network.

    Maybe i can do that with a "only front end" plugin... but it does'n convince me..

    Speaking again about the theme i would like to hide (or simply not make available for all) the main site theme..

  5. to hide any themes go to Network admin -> theme and disable the theme network wide.

    I already set the default theme but i need to hide the plugin and theme settings page for the network.

    look at the plugin called "menus" for multisite. it allows you to hide.. menus .. in the admin area.

  6. simmonsstummer
    Member
    Posted 2 years ago #

    yes i know that plugin... but it simply hide... i need something that disable.
    is there any way to make it through code?

Topic Closed

This topic has been closed to new replies.

About this Topic