WordPress.org

Ready to get started?Download WordPress

Forums

remove choice of themes for site owners without breaking site (6 posts)

  1. tinus2
    Member
    Posted 3 years ago #

    hi, i have a few blogs hosted for friends and previously had given them a choice which theme to use but have now realized that some themes are using far more ressources than others and would now like to roll that back to the default (twenty ten) theme so their site is still working and they could choose a new theme.

    on a single-site install, i'd just delete/rename the theme and it would fall back to the default theme. when i tried this on mu, it however broke the whole blog of the users using that particular theme.

    any suggestions on how best to proceed?

  2. As the super admin you can manually edit their theme choices.

    I would first go in and do that, change them to twenty ten, and then go into the super admin settings and disable the themes you don't want to use.

    IIRC you can also edit themes per site via the superadmin edit link.

  3. tdjcbe
    Member
    Posted 3 years ago #

    Not in a position to code this today (I;m on my laptop on battery and it;s already half drained) but you (or someone else) could code up a quick mu plugin that looks to see what theme is being used. If it's the theme that you want to get rid of, go ahead and change both the options for the theme and the stylesheet to the new theme.

    I would think that would work. You would also have to look at what widgets are being used and make sure they get changed over.

  4. tinus2
    Member
    Posted 3 years ago #

    hi ipstenu, yeah, i've been thinking of doing so but have realized with about 200 blogs this will take some time... if you know of any other option, do share :)

  5. on a single-site install, i'd just delete/rename the theme and it would fall back to the default theme. when i tried this on mu, it however broke the whole blog of the users using that particular theme.

    It should reset itself when they access the admin though.

    You can *disable* the themes under Super Admin -> Themes. That won't get rid of the theme, but when they choose a different one, they will no longer be able to switch back to the old one.

    I think we did go over somewhere a quick sql/php script to go reset everyone;s themes to the default.

  6. tinus2
    Member
    Posted 3 years ago #

    yeah, that's what i effectively did, reset everyones theme through mysql...

    thanks a lot :D

Topic Closed

This topic has been closed to new replies.

About this Topic