StudioPress Community Forums

StudioPress Community Forums (http://www.studiopress.com/support/index.php)
-   General Discussion (http://www.studiopress.com/support/forumdisplay.php?f=7)
-   -   Classic Themes Admin Save Settings Fix for Wordpress 3.4.x (http://www.studiopress.com/support/showthread.php?t=123550)

tman47 11-06-2012 06:32 PM

Classic Themes Admin Save Settings Fix for Wordpress 3.4.x
 
This is a fix for StudioPress Classic Themes (not Genesis Child Themes) where by the Theme Options Admin Settings do not save after you upgraded Wordpress.

It is easy and worked for me with both the Education 10 and Streamline 30 themes

In the theme-options.php file (under Appearance/editor in your WP admin area) simple replace the:

$settings = 'mods_'.get_current_theme(); // do not change!

With:

$settings = 'theme_mods_streamline_30'; // do not change!

The important part is to use the name of the folder the theme is in on your server - in this case it is "streamline_30" other themes might be "lifestyle_40" or "education_10" and so on

The fix below noted elsewhere in this forum does not work on the latest version of wordpress

$settings = 'theme_mods_'.get_current_theme(); // do not change!

Hope this helps a few and prevents them from having to scrap an established design and theme already installed a long time ago!

Cheers!

andrea_r 11-07-2012 07:25 AM

Thanks!


All times are GMT -5. The time now is 06:19 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.