array( 'value' => 'silver', 'label' => __( 'Silver (default)' ) ), '1' => array( 'value' => 'grey', 'label' => __( 'Grey' ) ), '2' => array( 'value' => 'black', 'label' => __( 'Black' ) ), '3' => array( 'value' => 'purple', 'label' => __( 'Purple' ) ), '4' => array( 'value' => 'orange', 'label' => __( 'Orange' ) ), '5' => array( 'value' => 'red', 'label' => __( 'Red' ) ), '6' => array( 'value' => 'green', 'label' => __( 'Green' ) ), '7' => array( 'value' => 'blue', 'label' => __( 'Blue' ) ) ); $select_content_font = array( '0' => array( 'value' => 'georgia', 'label' => __( 'Trebuchet MS (default)' ) ), '1' => array( 'value' => 'segoe', 'label' => __( 'Segoe UI' ) ), '2' => array( 'value' => 'arial', 'label' => __( 'Arial' ) ), '3' => array( 'value' => 'times', 'label' => __( 'Times' ) ), '4' => array( 'value' => 'courier', 'label' => __( 'Courier New' ) ), '5' => array( 'value' => 'calibri', 'label' => __( 'Calibri' ) ) ); $select_slider = array( '0' => array( 'value' => 'disable', 'label' => __( 'Disable (default)' ) ), '1' => array( 'value' => 'one', 'label' => __( 'Last post - static' ) ), '2' => array( 'value' => 'slow', 'label' => __( 'Slow slideshow' ) ), '3' => array( 'value' => 'normal', 'label' => __( 'Normal slideshow' ) ), '4' => array( 'value' => 'fast', 'label' => __( 'Fast slideshow' ) ) ); $select_title = array( '0' => array( 'value' => 'black', 'label' => __( 'Black (default)' ) ), '1' => array( 'value' => 'blue', 'label' => __( 'Blue' ) ), '2' => array( 'value' => 'silver', 'label' => __( 'Silver' ) ), '3' => array( 'value' => 'brown', 'label' => __( 'Brown' ) ), '4' => array( 'value' => 'red', 'label' => __( 'Red' ) ), '5' => array( 'value' => 'green', 'label' => __( 'Green' ) ) ); $select_background = array( '0' => array( 'value' => 'blue', 'label' => __( 'Blue (default)' ) ), '1' => array( 'value' => 'green', 'label' => __( 'Green' ) ), '2' => array( 'value' => 'silver', 'label' => __( 'Silver' ) ), '3' => array( 'value' => 'black', 'label' => __( 'Black' ) ), '4' => array( 'value' => 'red', 'label' => __( 'Red' ) ), '5' => array( 'value' => 'yellow', 'label' => __( 'Yellow' ) ), '6' => array( 'value' => 'brown', 'label' => __( 'Brown' ) ) ); $select_sidebar = array( '0' => array( 'value' => 'right', 'label' => __( 'Right (default)' ) ), '1' => array( 'value' => 'left', 'label' => __( 'Left' ) ), '2' => array( 'value' => 'disable', 'label' => __( 'Disable' ) ) ); $shortname = "abs"; $optionlist = array ( // Design array( "type" => "open"), array( "name" => "Blog title color scheme", "desc" => "", "id" => $shortname."_title_scheme", "type" => "select4", "std" => "false" ), array( "name" => "Menu color scheme", "desc" => "", "id" => $shortname."_color_scheme", "type" => "select1", "std" => "false" ), array( "name" => "Background color scheme", "desc" => "", "id" => $shortname."_back_scheme", "type" => "select5", "std" => "false" ), array( "name" => "Sidebar position", "desc" => "", "id" => $shortname."_pos_sidebar", "type" => "select6", "std" => "false" ), array( "name" => "Display last post static/slideshow", "desc" => "Choose if you want to display last post or last 10 posts in a slideshow", "id" => $shortname."_header_slider", "type" => "select3", "std" => "false" ), // Subscribe buttons // RSS Feed array( "name" => "RSS Feed", "desc" => "Insert custom RSS Feed URL, e.g. http://feeds.feedburner.com/Example", "id" => $shortname."_rss_feed", "type" => "text", "std" => ""), // Newsletter array( "name" => "Newsletter", "desc" => "Insert custom newsletter URL, e.g. http://feedburner.google.com/fb/a/mailverify?uri=Example&loc=en_US", "id" => $shortname."_newsletter", "type" => "text", "std" => ""), // Facebook array( "name" => "Facebook", "desc" => "Insert your Facebook ID", "id" => $shortname."_facebook", "type" => "text", "std" => ""), // Twitter array( "name" => "Twitter", "desc" => "Insert your Twitter ID", "id" => $shortname."_twitter_id", "type" => "text", "std" => ""), // Styles array( "name" => "Content font", "desc" => "Examples: Trebuchet MS Segoe UI Arial Times Courier New Calibri ", "id" => $shortname."_content_font", "type" => "select2", "std" => "false"), array( "name" => "Custom CSS", "desc" => 'For advanced users only: insert custom CSS, default style.css file', "id" => $shortname."_css_content", "type" => "textarea", "std" => "false"), array( "type" => "close"), ); /** * Create the options page */ function theme_options_do_page() { global $themename, $shortname, $optionlist, $select_scheme, $select_slider, $select_content_font, $select_title, $select_background, $select_sidebar; if ( ! isset( $_REQUEST['updated'] ) ) { $_REQUEST['updated'] = false; } if( isset( $_REQUEST['reset'] )) { global $wpdb; $query = "DELETE FROM $wpdb->options WHERE option_name LIKE 'absolum'"; $wpdb->query($query); header("Location: themes.php?page=theme_options"); die; } ?>
Do you enjoy this theme? Send your ideas - issues - wishes or help in development by a donation. Thank you!
Version
'.$themename.' settings saved
'.$themename.' settings reset
'; } ?>