Theme Customization API has been added in WP 3.4 and is described here: https://codex.wordpress.org/Theme_Customization_API
It makes it easy to add options such as “change background color” for themes. Such options will be stored in the database (in wp_options
) with a name of your choice. You can then retrieve your value with get_option( 'field-name' );
.
I’m wondering though if this works also with single posts or pages? So, is it possible to set different custom background color for each page with this tool and retrieve values using get_post_meta($id_of_the_current_post, 'field-name');
?