"Sophisticated Theme > General Theme Options", "type" => "title"), array( "type" => "open"), array( "name" => "Custom Logo", "desc" => "Enter the FULL URL of your custom logo image file. Leave blank to use the theme's default logo OR if you've replaced the theme's logo.png file with your own custom logo.png file. If you choose to customize the logo and replace the logo.png file, BE SURE the new logo is TRANSPARENT.", "id" => $shortname."_logo", "type" => "text"), array( "name" => "RSS URL", "desc" => "Enter the FULL URL of your RSS feed (such as your Feedburner URL). Leave blank to use the default Wordpress feed URL.", "id" => $shortname."_rss_feed", "type" => "text"), array( "name" => "Asides Title", "desc" => "Enter the name that should be displayed for the Asides (is defaulted to Sound Bites). Leave blank to use the default. Remember to create a category called Asides for this feature to work properly.", "id" => $shortname."_asides_title", "type" => "text"), array( "name" => "Disable Asides?", "desc" => "Check this box if you want to disable the Asides feature.", "id" => $shortname."_asides_disable", "type" => "checkbox", "std" => "false"), array( "name" => "468 x 60 Static Image or Ad File Location", "desc" => "Enter the FULL URL (include http) of the 468 x 60 IMAGE FILE here.", "id" => $shortname."_468_image_location", "type" => "text"), array( "name" => "468 x 60 Static Image or Ad URL", "desc" => "Enter the FULL URL (include http) the 468 x 60 image file should link to here.", "id" => $shortname."_468_image_url", "type" => "text"), array( "name" => "Disable 468 x 60 Static Image or Ad?", "desc" => "Check this box if you want to disable the 468 x 60 static image/ad.", "id" => $shortname."_468_disable", "type" => "checkbox", "std" => "false"), array( "name" => "Ad Block 1 Image File Location", "desc" => "Enter the FULL URL (include http) of the first 125x125 IMAGE FILE here.", "id" => $shortname."_adblock1", "type" => "text"), array( "name" => "Ad Block 1 URL", "desc" => "Enter the FULL URL (include http) the first 125x125 image file should link to here.", "id" => $shortname."_adblock1_url", "type" => "text"), array( "name" => "Ad Block 2 Image File Location", "desc" => "Enter the FULL URL (include http) of the second 125x125 IMAGE FILE here.", "id" => $shortname."_adblock2", "type" => "text"), array( "name" => "Ad Block 2 URL", "desc" => "Enter the FULL URL (include http) the second 125x125 image file should link to here.", "id" => $shortname."_adblock2_url", "type" => "text"), array( "name" => "Disable Ad Block?", "desc" => "Check this box if you want to disable the two 125x125 ad blocks.", "id" => $shortname."_adblock_disable", "type" => "checkbox", "std" => "false"), array( "name" => "Google Analytics code", "desc" => "Copy and paste in your Google analytics code here.", "id" => $shortname."_google_analytics", "type" => "textarea"), array( "type" => "close") ); function mytheme_add_admin() { global $themename, $shortname, $options; if ( $_GET['page'] == basename(__FILE__) ) { if ( 'save' == $_REQUEST['action'] ) { foreach ($options as $value) { update_option( $value['id'], $_REQUEST[ $value['id'] ] ); } foreach ($options as $value) { if( isset( $_REQUEST[ $value['id'] ] ) ) { update_option( $value['id'], $_REQUEST[ $value['id'] ] ); } else { delete_option( $value['id'] ); } } header("Location: themes.php?page=functions.php&saved=true"); die; } else if( 'reset' == $_REQUEST['action'] ) { foreach ($options as $value) { delete_option( $value['id'] ); } header("Location: themes.php?page=functions.php&reset=true"); die; } } add_theme_page($themename." Options", "".$themename." Options", 'edit_themes', basename(__FILE__), 'mytheme_admin'); } function mytheme_admin() { global $themename, $shortname, $options; if ( $_REQUEST['saved'] ) echo '

'.$themename.' settings saved.

'; if ( $_REQUEST['reset'] ) echo '

'.$themename.' settings reset.

'; ?>

Settings


'
  • ', 'after_widget' => '
  • ', 'before_title' => '', 'after_title' => '', )); ?>

    " />
     
     
     
     
     
     
    />