Theme Customization API is a life-saving feature used for making the theme customization panel that can be found under Appearance menu. It comes with six built-in sections, they are listed below in format "ID - Title":
Same thing goes for changing the order of the default ones, for example this code will put Header Image on top and Colors on the bottom. Note that even if we changed the section titles to "Theme Colors" and "Featured Image", IDs "colors" and "header_image" are used.
Installation
- Put the plugin folder into [wordpress_dir]/wp-content/plugins/
- Go into the WordPress admin interface and activate the plugin
- Optional: go to the options page and configure the plugin
Plugin doesn't require any setup at all, there is no settings page, it's ready to use the same moment.
Frequently Asked Quesions
Same thing goes for changing the order of the default ones, for example this code will put Header Image on top and Colors on the bottom. Note that even if we changed the section titles to "Theme Colors" and "Featured Image", IDs "colors" and "header_image" are used.