'Sidebar', 'before_widget' => '
', 'before_title' => '
"Title and Tagline Settings", "id"=> $shortname."_title_tagline", "std" => "", "type" => "title"), array( "type" => "open"), // Site Title Settings array( "name" => "Site Title Font Family", "id" => $shortname."_blog_title_font_family", "type" => "select", "std" => "Arial Black", "options" => array("Arial Black", "georgia,times,serif", "arial,helvetica,sans-serif", "verdana,lucida,sans-serif","tahoma,geneva,sans-serif", "rockwell,georgia,serif","cambria,georgia,serif"), "desc" => "Default: Aerial Black. Choose a set of fonts for the site title at the top of the page."), array( "name" => "Site Title Color", "id" => $shortname."_blog_title_color", "type" => "text", "std" => "#000000", "desc" => "Default: #000000. Find color codes here. "), array( "name" => "Site Title Size", "id" => $shortname."_blog_title_size", "type" => "text", "std" => "48px", "desc" => "Default: 48px. "), array( "name" => "Tagline Font Family", "id" => $shortname."_tag_title_font_family", "type" => "select", "std" => "arial, helvetica, sans-serif;", "options" => array("arial,helvetica,sans-serif", "georgia,times,serif", "verdana,lucida,sans-serif", "tahoma,geneva,sans-serif", "rockwell,georgia,serif", "cambria,georgia,serif"), "desc" => "Default: Arial, helvetica, sans-serif. Choose a set of fonts for the site title at the top of the page."), array( "name" => "Tagline Title Color", "id" => $shortname."_tag_title_color", "type" => "text", "std" => "#df1104", "desc" => "Default: #df1104. Find color codes here. "), array( "name" => "Tagline Title Size", "id" => $shortname."_tag_title_size", "type" => "text", "std" => "30px", "desc" => "Default: 30px. "), // Welcome Settings array( "name" => "Welcome Box Settings", "id"=> $shortname."_welcome_box", "std" => "", "type" => "heading"), array( "type" => "open"), array( "name" => "Display welcome message", "id" => $shortname."_welcome", "type" => "select", "std" => "yes", "options" => array("yes", "no"), "desc" => "Select yes to show a welcome message at the top of the front page."), array( "name" => "Welcome Message", "desc" => "Enter something as your welcome message.", "id" => $shortname."_welcome_message", "std" => "Welcome to my site.", "type" => "textarea"), // Navigation - hide pages array( "name" => "Navigation Settings", "id"=> $shortname."_navigation", "std" => "", "type" => "heading"), array( "name" => "Hide Pages Navigation", "id" => $shortname."_hide_pages", "type" => "select", "std" => "no", "options" => array("no", "yes"), "desc" => "By selecting yes, you will remove the pages navigation in the top bar."), // Advertising array( "name" => "Advertising Settings", "id"=> $shortname."_advertising", "std" => "", "type" => "heading"), array( "name" => "Advertising Top", "id" => $shortname."_ads_top", "type" => "select", "std" => "no", "options" => array("no", "yes"), "desc" => "Select yes to show advertising at the top of every post and page."), array( "name" => "Advertisng Code Top", "desc" => "Enter your Advertising code here e.g. Google Javascript.", "id" => $shortname."_ads_code_top", "std" => "", "type" => "textarea"), array( "name" => "Advertising Bottom", "id" => $shortname."_ads_bottom", "type" => "select", "std" => "no", "options" => array("no", "yes"), "desc" => "Select yes to show advertising at the bottom of every post and page."), array( "name" => "Advertisng Code Bottom", "desc" => "Enter your Advertising code here.", "id" => $shortname."_ads_code_bottom", "std" => "", "type" => "textarea"), // Picture array( "name" => "Header Picture Settings", "id"=> $shortname."_head_pic_set", "std" => "", "type" => "heading"), array( "name" => "Header Picture Height", "id" => $shortname."_head_height", "type" => "select", "std" => "245px", "type" => "text", "desc" => "This is the height of the picture in the head section. Minimum recommended height 45px. Default 245px. Make it bigger or smaller as you please."), array( "name" => "Header Picture Option", "id" => $shortname."_head_pic_option", "type" => "select", "std" => "Ours", "options" => array("Ours", "Custom"), "desc" => "You can use the picture of the mountains at the top of the page or if you have a Custom Image/Logo you'd like to use, you can enter the URL below."), array( "name" => "Header Picture", "id" => $shortname."_head_pic_url", "std" => "images/header.jpg", "type" => "text", "desc" => "Upload your custom logo image (logo width should not exceed 950px; height can be whatever you set the height as in the above step;), and enter the URL for the file location. (e.g. http://www.yoursite.com/images/logo.gif)"), //Search Bar array( "name" => "Search Bar Position", "id"=> $shortname."_search_bar", "std" => "", "type" => "heading"), array( "name" => "Search Bar Postion Left", "id" => $shortname."_search_left", "type" => "select", "std" => "700px", "type" => "text", "desc" => "The default search bar postition is 700px from the Left."), array( "name" => "Search Bar Postion Top", "id" => $shortname."_search_top", "type" => "select", "std" => "107px", "type" => "text", "desc" => "The default search bar postition is 107px from the Top."), // Overall Settings array( "name" => "Overall Site Settings", "id"=> $shortname."_site_settings", "std" => "", "type" => "heading"), array( "name" => "Site Font Family", "id" => $shortname."_site_font_family", "type" => "select", "std" => "Helvetica, Tahoma, Arial,sans-serif", "options" => array("Helvetica, Tahoma, Arial,sans-serif", "Courier New,monospace", "georgia,times,serif", "arial,helvetica,sans-serif", "verdana,lucida,sans-serif","tahoma,geneva,sans-serif", "rockwell,georgia,serif","cambria,georgia,serif","Verdana, Arial, Helvetica, sans-serif"), "desc" => "Default: Helvetica, Tahoma, Arial,sans-serif. Choose a set of fonts for the site text."), array( "name" => "Font Size", "id" => $shortname."_site_font_size", "type" => "text", "std" => "12px", "desc" => "The size of all your text in your posts and pages. Default: 12px. "), array( "name" => "Font Colour", "id" => $shortname."_site_font_colour", "type" => "text", "std" => "#000000", "desc" => "The colour of all your text. Default: #000000 px. Find color codes here"), array( "name" => "Title Size", "id" => $shortname."_title_font_size", "type" => "select", "std" => "20px", "options" => array( "15px", "17px", "20px", "25px", "27px"), "desc" => "The title size of each post. Default: 20 px. "), array( "name" => "Title Colour", "id" => $shortname."_title_colour", "type" => "text", "std" => "#ffffff", "desc" => "The title of each post. Default: #ffffff px. Find color codes here"), array( "name" => "Excert or Full Content", "id" => $shortname."_excerpt", "type" => "select", "std" => "Excerpt", "options" => array("Excerpt", "Content"), "desc" => "Select Excerpt to show show the excerpt (First 55 words of the post, this is the defualt setting) on the front page, otherwise select Content to show the full content."), array( "name" => "Read More Button Colour", "id" => $shortname."_read_more_button", "type" => "select", "std" => "Red", "options" => array("Red", "Black"), "desc" => "Select Red or Black for the Read More button on the home page."), array( "name" => "Widget Header Colour", "id" => $shortname."_widget_header_colour", "type" => "select", "std" => "Red", "options" => array("Red", "Black"), "desc" => "Select Red or Black for the Widget header."), array( "name" => "Background Style", "id" => $shortname."_background_style", "type" => "select", "std" => "Fading", "options" => array("Fading", "Solid"), "desc" => "Select Fading or Solid for the theme background."), array( "name" => "Feature Article Heading", "id" => $shortname."_feature_article", "type" => "select", "std" => "no", "options" => array("no", "yes"), "desc" => "If you activate Nivo Feature Articles select Yes and this will give you a heading of Feature Article above."), array( "name" => "Author Box", "id" => $shortname."_author_box", "type" => "select", "std" => "yes", "options" => array("yes", "no"), "desc" => "Select yes to show the author box at the bottom of every post and page."), array( "type" => "close") ); /*Option Page formatting */ function mytheme_add_admin() { global $themename, $shortname, $options; if ( isset($_GET['page']) && $_GET['page'] == basename(__FILE__) ) { $action = ''; if (isset($_REQUEST["action"]) && !empty($_REQUEST["action"])) $action = $_REQUEST["action"]; if ( 'save' == $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' == $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 (isset($_REQUEST["saved"]) && !empty($_REQUEST["saved"])) echo '
'.$themename.' '.__('settings saved.','breathe').'
'.$themename.' '.__('settings reset.','breathe').'
Welcome to the Settings page for my Wordpress Theme Breathe A lot of time and effort has gone into the development and support of this theme so if you were inclined feel free to donate a couple of bucks my way.
If you like my theme I would really appreciate you rating it 5 stars on the Wordpress site. It gives me a good feeling knowing that my work is appreciated.
Below are a number of settings that will help you change the look and feel of the theme without having to change any code. The default settings are listed under each option so you can change back to the original look if you would like.
If you run into trouble and need support I will provide some from my site www.paulcracknell.net.
By clicking on 'Save Changes' - ALL theme settings will be saved.