>
Download This Plugin | |
Download Elegant Themes | |
Name | Custom Options |
Version | 1.2 |
Author | Jacob Guite-St-Pierre |
Rating | 0 |
Last updated | 2012-02-14 02:13:00 |
Downloads |
1357
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
Custom Options plugin added 15 bytes of resources to the Home page and 40 bytes of resources to the sample Post page.
Custom Options plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! Custom Options plugin ads no tables to your Wordpress blog database.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.