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 developed a child theme of Twenty Eleven. I need additional theme options, so i added a theme-options.php file inside my child theme's folder.

However, it appears the option page is still the 2011 theme's option screen. I can't either replace or add another one.

Question: what is the correct procedure to add options to a child theme?

In case you wish to see the code, here is my theme-options.php code.

share|improve this question
up vote 2 down vote accepted

This thread suggests that this isn't necessarily an intended Child Theme usecase so theme-options.php isn't explicitly overrideable. It indicates that you should rather be adding extra options using add_settings_field and the admin_init hook.

share|improve this answer
Thanks a lot, that pointed me to a great solution: using add_settings_field is exactly what i needed. There is a very handy working example if anyone is having the same need: codex.wordpress.org/Settings_API – pixeline Feb 20 '12 at 18:38

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.