Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Wordpress 3.2 beta comes with twenty eleven. It has a Theme Option panel in the Appearance section:

I would like to know what's the easiest (and extendible) way of adding more options to that panel. For instance, changing the color of other elements?

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

As you can see in source theme makes some use of Settings API, but doesn't include calls like do_settings_fileds() that would allow you to use add settings.

I would probably try to unhook twentyeleven_theme_options_add_page() call and fork that and theme_options_render_page() to extend it with additional options.

Also I think that unlike core Twenty Eleven wasn't declared to be ready yet. Things might change.

share|improve this answer
add comment

Your Answer

 
discard

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.