Timeline for Bulk activate a theme on multisite
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 2, 2019 at 8:48 | comment | added | Krzysiek Dróżdż | @cseto yes. If there are a lot of sites, you should run it in batches. But you do it only once and manually, so it’s not a problem | |
Mar 2, 2019 at 8:23 | comment | added | cseto | For anyone else using this code, I'd check your max execution time for scripts. I ran it and noticed that it stopped halfway through my 200+ subsites. I suspect it's my max execution time. | |
Mar 1, 2019 at 8:27 | vote | accept | cseto | ||
Feb 26, 2019 at 8:17 | comment | added | Krzysiek Dróżdż | You can put it in functions.php of active theme or add it as a plugin. The only thing you should remember is that you should remove that code after you run it. | |
Feb 26, 2019 at 8:07 | comment | added | cseto | Thanks for the reply Krzysiek. Should I put this function in functions.php or make a separate php file to run it? The function will be looping through 200+ subsites so I want to put it where it can only be run once, and also give it enough time to run before deleting it. | |
Feb 26, 2019 at 6:34 | history | edited | Krzysiek Dróżdż | CC BY-SA 4.0 |
added 32 characters in body
|
Feb 26, 2019 at 6:28 | history | answered | Krzysiek Dróżdż | CC BY-SA 4.0 |