The Presentation Toolkit plugin adds an administration page under the 'Presentation' menu for Presentation Toolkit compatible themes and skins.
In the functions.php file for your theme or skin add the following:
if( function_exists( 'presentationtoolkit' ) ) {
presentationtoolkit(
array( 'option1' => 'Text for Option One',
'option2' => 'Text for Option Two',
'option3' => 'Text for Option Three' ),
__FILE__
);
}
You will now have an admin page for your theme or skin.
To access your theme or skin options simply use
get_theme_option('option')
or
get_skin_options('option')
respectively. If the option is not set, or doesn't exist, then null will be returned.
You'll find the format of the various options at frenchfragfactory.
Requires: 2.1 or higher
Compatible up to: 2.2
Last Updated: 2007-9-11
Downloads: 6,629
Got something to say? Need help?