where goes get_theme_option() get it’s value from?
I realize that it gets info from the database, but when does it get populated? When you switch over the theme?
If I have a theme config.ini- in the theme root and put this line in:
value1 = “testing”
get_theme_options(“value1”) doesn’t return anything
I’m not sure what I’m doing wrong. Can I get some advice?
The theme config ini file is for creating a form for users to fill out to configure themes, not for putting static options like that into. The structure is determined by Zend Framework 1’s Form’s config structure. So, when properly done, you only get options actually populated when the user edits the config page for the theme (they can also get populated when first switching to a theme).
This topic was automatically closed 250 days after the last reply. New replies are no longer allowed.