array('value' =>'Lucida Grande','label' => 'Lucida Grande (default)'),'1' => array('value' =>'Allan','label' => 'Allan'),'2' => array('value' =>'Alice','label' => 'Alice'),'3' => array('value' =>'Arial','label' => 'Arial'),'4' => array('value' =>'Cantarell','label' => 'Cantarell'),'5' => array('value' =>'Courier New','label' => 'Courier New'),'6' => array('value' =>'Georgia','label' => 'Georgia'),'7' => array('value' =>'Tahoma','label' => 'Tahoma'),'8' => array('value' =>'Times New Roman','label' => 'Times New Roman'),'9' => array('value' =>'Ubuntu','label' => 'Ubuntu'), ); $select_featured_images = array( '0' => array('value' => 'left','label' => 'Left (default)' ),'1' => array('value' => 'center','label' => 'Center'), '2' => array('value' => 'right','label' => 'Right'), ); $shortname = "if"; $optionlist = array ( array( "id" => $shortname, "type" => "open-tab"), array( "type" => "open"), array( "type" => "close"), array( "type" => "close-tab"), // General array( "id" => $shortname."-tab1", "type" => "open-tab"), array( "type" => "open"), array( "name" => "Help", "desc" => "", "id" => $shortname."_general_faq", "type" => "general_faq", "std" => ""), array( "name" => "Logo URL", "desc" => "Use the image uploader or enter your own URL into the input field to use an image as your logo. To display the site title as text, leave blank.", "id" => $shortname."_logo", "type" => "upload", "std" => ""), array( "name" => "Header Contact Area", "desc" => "Enter contact info such as phone number for the top right corner of the header. It can be HTML (to hide enter the word: hide).", "id" => $shortname."_header_contact", "type" => "textarea", "std" => ""), array( "name" => "Custom Favicon", "desc" => "A favicon is a 16x16 pixel icon that represents your site; paste the URL to a .ico image that you want to use as the image", "id" => $shortname."_favicon", "type" => "upload2", "std" => ""), array( "name" => "Disable Breadcrumbs", "desc" => "Check this box to disable breadcrumb links.", "id" => $shortname."_disable_breadcrumbs", "type" => "checkbox", "std" => "false"), array( "name" => "Footer Copyright", "desc" => "Enter Copyright text used on the right side of the footer. It can be HTML", "id" => $shortname."_footer_text", "type" => "textarea", "std" => ""), array( "name" => "Google Analytics Code", "desc" => "You can paste your Google Analytics or other tracking code in this box. This will be automatically be added to the footer.", "id" => $shortname."_ga_code", "type" => "textarea2", "std" => ""), array( "type" => "close"), array( "type" => "close-tab"), // Design array( "id" => $shortname."-tab2", "type" => "open-tab"), array( "type" => "open"), array( "name" => "Help", "desc" => "", "id" => $shortname."_general_faq", "type" => "design_faq", "std" => ""), array( "name" => "Choose a font:", "desc" => "(Default is Cantarell)", "id" => $shortname."_font", "type" => "select1", "std" => ""), array( "name" => "Link Color", "desc" => "Use the color picker to select the site link color", "id" => $shortname."_link_color", "type" => "color2", "std" => "false"), array( "name" => "Enable Widget Title Background", "desc" => "Check this box to enable the classic widget title backgrounds.", "id" => $shortname."_widget_title_bg", "type" => "checkbox", "std" => "false"), array( "name" => "Want more options?", "desc" => "", "id" => $shortname."_designl_ad", "type" => "design_ad", "std" => ""), array( "type" => "close"), array( "type" => "close-tab"), // Blog array( "id" => $shortname."-tab3", "type" => "open-tab"), array( "type" => "open"), array( "name" => "Help", "desc" => "", "id" => $shortname."_blog_faq", "type" => "blog_faq", "std" => ""), array( "name" => "Post Excerpts", "desc" => "Use the following options to control excerpts.", "id" => $shortname."_excerpts", "type" => "excerpts", "std" => "false"), array( "name" => "Featured Images", "desc" => "Use the following options to control featured image alignment and size.", "id" => $shortname."_featured_images", "type" => "featured", "std" => "false"), array( "name" => "Hide Post Elements", "desc" => "Use the following checkboxes to hide various post elements.", "id" => $shortname."_hide_post_elements", "type" => "post", "std" => "false"), array( "name" => "Show Facebook Like Button", "desc" => "Check this box to show the Facebook Like Button on blog posts", "id" => $shortname."_show_fb_like", "type" => "checkbox", "std" => "false"), array( "name" => "Show Google +1 button", "desc" => "Check this box to show the Google +1 Button on blog posts", "id" => $shortname."_show_gplus", "type" => "checkbox", "std" => "false"), array( "name" => "Home Description", "desc" => "Enter the META description of your homepage here.", "id" => $shortname."_home_description", "type" => "textarea", "std" => ""), array( "name" => "Home Keywords", "desc" => "Enter the META keywords of your homepage here (separated by commas).", "id" => $shortname."_home_keywords", "type" => "textarea", "std" => ""), array( "name" => "Optional Home Title", "desc" => "Enter an alternative title of your homepage here (default is site tagline).", "id" => "if_home_title", "type" => "text", "std" => ""), array( "type" => "close"), array( "type" => "close-tab"), // bandtheme Slider array( "id" => $shortname."-tab4", "type" => "open-tab"), array( "type" => "open"), array( "name" => "Help", "desc" => "", "id" => $shortname."_slider_faq", "type" => "slider_faq", "std" => ""), array( "name" => "Hide bandtheme Slider", "desc" => "Check this box to hide the Feature Slider on the homepage.", "id" => $shortname."_hide_slider", "type" => "checkbox", "std" => "false"), array( "name" => "Show Posts From Blog Category:", "desc" => "(Default is all)", "id" => $shortname."_slider_category", "type" => "select6", "std" => ""), array( "name" => "Number of Featured Posts:", "desc" => "(Default is 5)", "id" => $shortname."_slider_posts_number", "type" => "text", "std" => ""), array( "name" => "Slider Delay Time (in milliseconds):", "desc" => "(Default is 3500)", "id" => $shortname."_slider_delay", "type" => "text", "std" => ""), array( "name" => "Hide the Navigation:", "desc" => "Check to disable the slider navigation", "id" => $shortname."_slider_navigation", "type" => "checkbox", "std" => "false"), array( "type" => "close"), array( "type" => "close-tab"), // Social array( "id" => $shortname."-tab5", "type" => "open-tab"), array( "type" => "open"), array( "name" => "Help", "desc" => "", "id" => $shortname."_social_faq", "type" => "social_faq", "std" => ""), array( "name" => "Facebook URL", "desc" => "Enter your Facebook page URL for the Facebook social icon.", "id" => $shortname."_facebook", "type" => "facebook", "std" => "http://facebook.com"), array( "name" => "Twitter URL", "desc" => "Enter your Twitter URL for Twitter social icon.", "id" => $shortname."_twitter", "type" => "twitter", "std" => "http://twitter.com"), array( "name" => "Google Plus URL", "desc" => "Enter your Google Plus url (we recommend using the http://gplus.to/ shortener).", "id" => $shortname."_gplus", "type" => "gplus", "std" => "https://plus.google.com"), array( "name" => "Flickr URL", "desc" => "Enter your Flickr URL for the Flickr social icon.", "id" => $shortname."_flickr", "type" => "flickr", "std" => "http://flickr.com/"), array( "name" => "LinkedIn URL", "desc" => "Enter your LinkedIn URL for the LinkedIn social icon.", "id" => $shortname."_linkedin", "type" => "linkedin", "std" => "http://linkedin.com"), array( "name" => "YouTube URL", "desc" => "Enter your YouTube URL for the YouTube social icon.", "id" => $shortname."_youtube", "type" => "youtube", "std" => "http://youtube.com"), array( "name" => "Google Maps URL", "desc" => "Enter your Google Maps URL for the Google Maps social icon.", "id" => $shortname."_googlemaps", "type" => "googlemaps", "std" => "http://google.com/maps"), array( "name" => "Email", "desc" => "Enter your contact email address for email social icon.", "id" => $shortname."_email", "type" => "email", "std" => "no@way.com"), array( "name" => "Custom RSS Link", "desc" => "Enter Feedburner URL, or leave blank for default RSS feed.", "id" => $shortname."_rsslink", "type" => "rss", "std" => ""), array( "type" => "close"), array( "type" => "close-tab"), ); /** * Create the options page */ function theme_options_do_page() { global $themename, $shortname, $optionlist, $select_featured_images, $select_font; if ( ! isset( $_REQUEST['updated'] ) ) { $_REQUEST['updated'] = false; } if( isset( $_REQUEST['reset'] )) { global $wpdb; $query = "DELETE FROM $wpdb->options WHERE option_name LIKE 'bandtheme'"; $wpdb->query($query); die; } ?>





'.$name.' settings saved

'; ?>

'.$name.' settings reset

'; } ?>


Read the General Options Tab FAQ    Read the Design Options Tab FAQ    Read the Social Options Tab FAQ    Read the Blog Options Tab FAQ    Read the Slider Options Tab FAQ     

  
  
> - Show Excerpts

- Excerpt Link Text

- Excerpt Character Length

  
> - Author

> - Categories

> - Date

> - Comments

> - Sharing

> - Tags

  


Define a custom Featured Image size below (default is 100 by 100):

- Height

- Width    Custom Logo


";} echo ""; echo "
" ; echo "
" ; echo "";?>
Upload a logo image to use    Custom Favicon



";} echo ""; echo "
" ; echo "
" ; echo "";?>
Upload a favicon image to use    " />

> - Check this box to hide the Facebook icon.    " />

> - Check this box to hide the Twitter icon.    " />

> - Check this box to hide the Google + icon.    " />

> - Check this box to hide the Flickr icon.    " />

> - Check this box to hide the LinkedIn icon.    " />

> - Check this box to hide the YouTube icon.    " />

> - Check this box to hide the Google Maps icon.    " />

> - Check this box to hide the Email icon.    " />

> - Check this box to hide the RSS icon.   

 


  " />   
  
/>   

   WARNING THIS RESTORES ALL DEFAULTS

false); $file = wp_handle_upload($_FILES['if_filename'], $overrides); $input['file'] = $file; } elseif(isset($_POST['if_filename_text']) && $_POST['if_filename_text'] != '') { $input['file'] = array('url' => $_POST['if_filename_text']); } else { $input['file'] = null; } if ($_FILES['if_favfilename']['name'] != '') { $overrides = array('test_form' => false); $file2 = wp_handle_upload($_FILES['if_favfilename'], $overrides); $input['file2'] = $file2; } elseif(isset($_POST['if_favfilename_text']) && $_POST['if_favfilename_text'] != '') { $input['file2'] = array('url' => $_POST['if_favfilename_text']); } else { $input['file2'] = null; } return $input; } ?>