When a new blog is created in a WP Multisite instance I want to be able to set the default theme and configuration options
-
create 2 menus (main and secondary) and associate them with the 2 slots provided by the theme
-
set various theme options as defined on the theme option page
What’s the best way to go about achieving this?
-
which hook should i use – I’m going to use this: (‘WP_DEFAULT_THEME’, ‘theme-folder-name’ in wp-config.php to set the default theme – unless this prevents a needed hook from firing.
-
easiest way to programatically create menus and associate them with existing theme menu ‘slots’