When I save my theme_mods, I always overwrite my nav_menu_locations and then I have to re-save the menu. Anyone else experience this?
When I save my theme_mods, I always overwrite my nav_menu_locations and then I have to re-save the menu. Anyone else experience this?
I was saving theme options to theme_mods_mytheme and every time I would save, I would end up overwriting the Menu locations "nav_menu_locations".
I just used a different option name for my theme options to avoid conflict.
Instead of
$settings = 'theme_mods_'.get_current_theme();
I'm using
$settings = 'theme_options_'.get_current_theme();
Nice tutorial on options here....
http://wpengineer.com/968/wordpress-working-with-options/
(not my site.)
This topic has been closed to new replies.