WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using the following lines to check if the theme setting already exist or set but it's not working:

if (get_theme_mod('mysetting')==FALSE) {

Aside from get_theme_mod, how to really check if the theme setting is already set? Thanks.

share|improve this question
up vote 0 down vote accepted

Maybe get_option will do the trick


share|improve this answer
Would you please expand upon this answer? Perhaps provide an example of how get_option might work. – s_ha_dum Feb 11 '13 at 14:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.