• Resolved tiaanswart

    (@tiaanswart)


    Hello

    I developed a new theme for a client and used the new wp customize controls for theme options.

    After developing and testing I did a fresh installation of WP and activated the theme.

    None of the theme options defaults defined in the customize panel where in the database…

    Is this a bug or normal behavior?

    How can i fix this?

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Try checking your site’s error logs for error messages. Have you reviewed https://ottopress.com/2012/how-to-leverage-the-theme-customizer-in-your-own-themes/ to ensure that you have set everything up correctly?

    Thread Starter tiaanswart

    (@tiaanswart)

    Debugging was not set to true so I can’t check the debug log file ??

    I quickly scanned over the page you provided the link for (thanks :D) and my theme options are defined as per standard as far as i can tell…

    Should I paste a paste bin with the options?

    Forget the WordPress debugging tools for now. They really shouldn’t be used on a live site anyway. You need to look at the server/site error log. Your hosts should be able to tell you where that is.

    Thread Starter tiaanswart

    (@tiaanswart)

    This isn’t a live site …

    It’s locally hosted… Sorry should have mentioned that…

    In that case, check your Apache error logs. The WP debug log doesn’t always catch everything. Sometimes errors happen too early in the page load sequence to be logged in debug.log

    Thread Starter tiaanswart

    (@tiaanswart)

    I use IIS locally. I just checked the log files and there are no errors for this site… ??

    Are both sites running on the same server?

    Thread Starter tiaanswart

    (@tiaanswart)

    There is only one site ?? …

    I got tired of battling with this so I created a ‘initialize_reset_settings’ function to check if the option has been defined… If not then create it after theme setup ??

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Theme Changed Customize Options Not defined’ is closed to new replies.