Best practice (forward compatibility) for theme options

If space were the only problem you could simply enqueue a css file to the admin area with these lines to expand the width of the customizer panel from the usual 300px to 500px:

.wp-full-overlay-sidebar {width 500px !important;}
.wp-full-overlay.expanded {margin-left:500px !important;}

Hey, you could even enqueue a js file to insert a button to toggle between different widths. The customizer API is flexible enough to contain all fields you would want. So, space really is not the big issue.

The real issue is what to incorporate in the customizer and how to organize it. Read, for instance, this excellent overview by Anthony Hortin. Theme developers should study which of their options are best for their clients to address in the customizer and which should remain on option pages.

Leave a Comment