getting new theme with old (or no) sidebars
-
I’m having trouble with the changed theme getting the old theme’s theme_mods (sidebar setup).
It appears that all the widgets are supplied by plugins, which load first, and then the theme switch filters are added. The filters are before the theme loads, but the sidebar names are based on the old theme?I wondered if I merged my code with this plugin’s code, I could have it active before the end of the plugins_loaded time. My theme switch is done based on REQUEST variables, so I can check those really early.
Do you see another way to make sure the right theme_mods are used?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘getting new theme with old (or no) sidebars’ is closed to new replies.