Description
Allows you to create custom options that you can easily update via the Options
administration panel and also allows you to use mentioned options in your theme using a simple PHP function:
get_custom_option ( $slug [, $default_value, $field ] )
By default, only Administrators can change Custom Options, however you can use the filter gsp_custom_options_capability
to change that. For example, if you wish to allow Editors to use Custom Options you can add this to your functions.php file:
function custom_options_capability ($capability) {
return 'publish_pages';
}
add_filter ( 'gsp_custom_options_capability', 'custom_options_capability' );
Very simple, yet efficient.