admin管理员组文章数量:1130349
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?
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 edited Dec 30, 2018 at 19:12 Glorfindel 6113 gold badges10 silver badges18 bronze badges asked Jun 2, 2011 at 15:43 wycwyc 3,90719 gold badges61 silver badges97 bronze badges1 Answer
Reset to default 1As 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.
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?
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 edited Dec 30, 2018 at 19:12 Glorfindel 6113 gold badges10 silver badges18 bronze badges asked Jun 2, 2011 at 15:43 wycwyc 3,90719 gold badges61 silver badges97 bronze badges1 Answer
Reset to default 1As 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.
本文标签: What39s the easiest way of adding more options in the Theme Options of the twenty eleven theme
版权声明:本文标题:What's the easiest way of adding more options in the Theme Options of the twenty eleven theme? 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749057724a2309614.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论