Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /var/www/web284/html/wp-content/themes/splendor/admin/functions/ |
Current File : //var/www/web284/html/wp-content/themes/splendor/admin/functions/functions.options.php |
<?php add_action('init','of_options'); if (!function_exists('of_options')) { function of_options() { //Access the WordPress Categories via an Array $of_categories = array(); $of_categories_obj = get_categories('hide_empty=0'); foreach ($of_categories_obj as $of_cat) { $of_categories[$of_cat->cat_ID] = $of_cat->cat_name;} $categories_tmp = array_unshift($of_categories, "Select a category:"); //Access the WordPress Pages via an Array $of_pages = array(); $of_pages_obj = get_pages('sort_column=post_parent,menu_order'); foreach ($of_pages_obj as $of_page) { $of_pages[$of_page->ID] = $of_page->post_name; } $of_pages_tmp = array_unshift($of_pages, "Select a page:"); //Testing $of_theme_layout = array( "1" => "Fullwidth and 1170px container", "2" => "Boxed and 1170px container", "3" => "Fullwidth and 960px container", "4" => "Boxed and 960px container" ); $of_theme_colors_style = array( "1" => "Orange", "2" => "Blue", "3" => "Cyan", "4" => "Green", "5" => "Grunge", "6" => "Light Blue", "7" => "Light Green", "8" => "Lime", "9" => "Navy", "10" => "Pink", "11" => "Purple", "12" => "Red", "13" => "Empty" ); $of_portfolio_style = array("1" => "6 Columns Portfolio", "2" => "4 Columns Portfolio", "3" => "3 Columns Portfolio", "4" => "2 Columns Portfolio", "5" => "Portfolio with Sidebar"); $of_portfolio_sidebar = array("1" => "Right Sidebar", "2" => "Left Sidebar"); $of_portfolio_details_style = array("1" => "Landscape Style", "2" => "Portrait Style", "3" => "With Sidebar"); $of_options_select = array("one","two","three","four","five"); $of_options_radio = array("one" => "One","two" => "Two","three" => "Three","four" => "Four","five" => "Five"); $of_portfolio_style = array("1" => "4 Columns Portfolio", "2" => "3 Columns Portfolio", "3" => "2 Columns Portfolio", "4" => "Portfolio with Sidebar", "5" => "4 Columns Modern", "6" => "3 Columns Modern", "7" => "2 Columns Modern"); $of_portfolio_details_style = array("1" => "Landscape Style", "2" => "Portrait Style", "3" => "With Sidebar"); $of_blog_style = array("1" => "Large Images", "2" => "Medium Images"); $of_blog_sidebar = array("1" => "Right Sidebar", "2" => "Left Sidebar", "3" => "Without Sidebar"); $of_portfolio_sidebar = array("1" => "Right Sidebar", "2" => "Left Sidebar"); $of_blog_image_hover_icons = array("1" => "Zoom icon + Link icon", "2" => "Zoom icon only", "3" => "Link icon only"); $of_blog_date_format = array("1" => "American Style", "2" => "European Style"); $of_options_g_fonts = array( "none" => "Select a font",//please, always use this key: "none" "Arial" => "Arial", "Open Condensed"=>"Open Condensed", "Open Sans" => "Open Sans", "Abel" => "Abel", "Abril Fatface" => "Abril Fatface", "Aclonica" => "Aclonica", "Acme" => "Acme", "Actor" => "Actor", "Adamina" => "Adamina", "Advent Pro" => "Advent Pro", "Aguafina Script" => "Aguafina Script", "Aladin" => "Aladin", "Aldrich" => "Aldrich", "Alegreya" => "Alegreya", "Alegreya SC" => "Alegreya SC", "Alex Brush" => "Alex Brush", "Alfa Slab One" => "Alfa Slab One", "Alice" => "Alice", "Alike" => "Alike", "Alike Angular" => "Alike Angular", "Allan" => "Allan", "Allerta" => "Allerta", "Allerta Stencil" => "Allerta Stencil", "Allura" => "Allura", "Almendra" => "Almendra", "Almendra SC" => "Almendra SC", "Amaranth" => "Amaranth", "Amatic SC" => "Amatic SC", "Amethysta" => "Amethysta", "Andada" => "Andada", "Andika" => "Andika", "Angkor" => "Angkor", "Annie Use Your Telescope" => "Annie Use Your Telescope", "Anonymous Pro" => "Anonymous Pro", "Antic" => "Antic", "Antic Didone" => "Antic Didone", "Antic Slab" => "Antic Slab", "Anton" => "Anton", "Arapey" => "Arapey", "Arbutus" => "Arbutus", "Architects Daughter" => "Architects Daughter", "Arimo" => "Arimo", "Arizonia" => "Arizonia", "Armata" => "Armata", "Artifika" => "Artifika", "Arvo" => "Arvo", "Asap" => "Asap", "Asset" => "Asset", "Astloch" => "Astloch", "Asul" => "Asul", "Atomic Age" => "Atomic Age", "Aubrey" => "Aubrey", "Audiowide" => "Audiowide", "Average" => "Average", "Averia Gruesa Libre" => "Averia Gruesa Libre", "Averia Libre" => "Averia Libre", "Averia Sans Libre" => "Averia Sans Libre", "Averia Serif Libre" => "Averia Serif Libre", "Bad Script" => "Bad Script", "Balthazar" => "Balthazar", "Bangers" => "Bangers", "Basic" => "Basic", "Battambang" => "Battambang", "Baumans" => "Baumans", "Bayon" => "Bayon", "Belgrano" => "Belgrano", "Belleza" => "Belleza", "Bentham" => "Bentham", "Berkshire Swash" => "Berkshire Swash", "Bevan" => "Bevan", "Bigshot One" => "Bigshot One", "Bilbo" => "Bilbo", "Bilbo Swash Caps" => "Bilbo Swash Caps", "Bitter" => "Bitter", "Black Ops One" => "Black Ops One", "Bokor" => "Bokor", "Bonbon" => "Bonbon", "Boogaloo" => "Boogaloo", "Bowlby One" => "Bowlby One", "Bowlby One SC" => "Bowlby One SC", "Brawler" => "Brawler", "Bree Serif" => "Bree Serif", "Bubblegum Sans" => "Bubblegum Sans", "Buda" => "Buda", "Buenard" => "Buenard", "Butcherman" => "Butcherman", "Butterfly Kids" => "Butterfly Kids", "Cabin" => "Cabin", "Cabin Condensed" => "Cabin Condensed", "Cabin Sketch" => "Cabin Sketch", "Caesar Dressing" => "Caesar Dressing", "Cagliostro" => "Cagliostro", "Calligraffitti" => "Calligraffitti", "Cambo" => "Cambo", "Candal" => "Candal", "Cantarell" => "Cantarell", "Cantata One" => "Cantata One", "Cardo" => "Cardo", "Carme" => "Carme", "Carter One" => "Carter One", "Caudex" => "Caudex", "Cedarville Cursive" => "Cedarville Cursive", "Ceviche One" => "Ceviche One", "Changa One" => "Changa One", "Chango" => "Chango", "Chau Philomene One" => "Chau Philomene One", "Chelsea Market" => "Chelsea Market", "Chenla" => "Chenla", "Cherry Cream Soda" => "Cherry Cream Soda", "Chewy" => "Chewy", "Chicle" => "Chicle", "Chivo" => "Chivo", "Coda" => "Coda", "Coda Caption" => "Coda Caption", "Codystar" => "Codystar", "Comfortaa" => "Comfortaa", "Coming Soon" => "Coming Soon", "Concert One" => "Concert One", "Condiment" => "Condiment", "Content" => "Content", "Contrail One" => "Contrail One", "Convergence" => "Convergence", "Cookie" => "Cookie", "Copse" => "Copse", "Corben" => "Corben", "Cousine" => "Cousine", "Coustard" => "Coustard", "Covered By Your Grace" => "Covered By Your Grace", "Crafty Girls" => "Crafty Girls", "Creepster" => "Creepster", "Crete Round" => "Crete Round", "Crimson Text" => "Crimson Text", "Crushed" => "Crushed", "Cuprum" => "Cuprum", "Cutive" => "Cutive", "Damion" => "Damion", "Dancing Script" => "Dancing Script", "Dangrek" => "Dangrek", "Dawning of a New Day" => "Dawning of a New Day", "Days One" => "Days One", "Delius" => "Delius", "Delius Swash Caps" => "Delius Swash Caps", "Delius Unicase" => "Delius Unicase", "Della Respira" => "Della Respira", "Devonshire" => "Devonshire", "Didact Gothic" => "Didact Gothic", "Diplomata" => "Diplomata", "Diplomata SC" => "Diplomata SC", "Doppio One" => "Doppio One", "Dorsa" => "Dorsa", "Dosis" => "Dosis", "Dr Sugiyama" => "Dr Sugiyama", "Droid Sans" => "Droid Sans", "Droid Sans Mono" => "Droid Sans Mono", "Droid Serif" => "Droid Serif", "Duru Sans" => "Duru Sans", "Dynalight" => "Dynalight", "EB Garamond" => "EB Garamond", "Eater" => "Eater", "Economica" => "Economica", "Electrolize" => "Electrolize", "Emblema One" => "Emblema One", "Emilys Candy" => "Emilys Candy", "Engagement" => "Engagement", "Enriqueta" => "Enriqueta", "Erica One" => "Erica One", "Esteban" => "Esteban", "Euphoria Script" => "Euphoria Script", "Ewert" => "Ewert", "Exo" => "Exo", "Expletus Sans" => "Expletus Sans", "Fanwood Text" => "Fanwood Text", "Fascinate" => "Fascinate", "Fascinate Inline" => "Fascinate Inline", "Federant" => "Federant", "Federo" => "Federo", "Felipa" => "Felipa", "Fjord One" => "Fjord One", "Flamenco" => "Flamenco", "Flavors" => "Flavors", "Fondamento" => "Fondamento", "Fontdiner Swanky" => "Fontdiner Swanky", "Forum" => "Forum", "Francois One" => "Francois One", "Fredericka the Great" => "Fredericka the Great", "Fredoka One" => "Fredoka One", "Freehand" => "Freehand", "Fresca" => "Fresca", "Frijole" => "Frijole", "Fugaz One" => "Fugaz One", "GFS Didot" => "GFS Didot", "GFS Neohellenic" => "GFS Neohellenic", "Galdeano" => "Galdeano", "Gentium Basic" => "Gentium Basic", "Gentium Book Basic" => "Gentium Book Basic", "Geo" => "Geo", "Geostar" => "Geostar", "Geostar Fill" => "Geostar Fill", "Germania One" => "Germania One", "Give You Glory" => "Give You Glory", "Glass Antiqua" => "Glass Antiqua", "Glegoo" => "Glegoo", "Gloria Hallelujah" => "Gloria Hallelujah", "Goblin One" => "Goblin One", "Gochi Hand" => "Gochi Hand", "Gorditas" => "Gorditas", "Goudy Bookletter 1911" => "Goudy Bookletter 1911", "Graduate" => "Graduate", "Gravitas One" => "Gravitas One", "Great Vibes" => "Great Vibes", "Gruppo" => "Gruppo", "Gudea" => "Gudea", "Habibi" => "Habibi", "Hammersmith One" => "Hammersmith One", "Handlee" => "Handlee", "Hanuman" => "Hanuman", "Happy Monkey" => "Happy Monkey", "Henny Penny" => "Henny Penny", "Herr Von Muellerhoff" => "Herr Von Muellerhoff", "Holtwood One SC" => "Holtwood One SC", "Homemade Apple" => "Homemade Apple", "Homenaje" => "Homenaje", "IM Fell DW Pica" => "IM Fell DW Pica", "IM Fell DW Pica SC" => "IM Fell DW Pica SC", "IM Fell Double Pica" => "IM Fell Double Pica", "IM Fell Double Pica SC" => "IM Fell Double Pica SC", "IM Fell English" => "IM Fell English", "IM Fell English SC" => "IM Fell English SC", "IM Fell French Canon" => "IM Fell French Canon", "IM Fell French Canon SC" => "IM Fell French Canon SC", "IM Fell Great Primer" => "IM Fell Great Primer", "IM Fell Great Primer SC" => "IM Fell Great Primer SC", "Iceberg" => "Iceberg", "Iceland" => "Iceland", "Imprima" => "Imprima", "Inconsolata" => "Inconsolata", "Inder" => "Inder", "Indie Flower" => "Indie Flower", "Inika" => "Inika", "Irish Grover" => "Irish Grover", "Istok Web" => "Istok Web", "Italiana" => "Italiana", "Italianno" => "Italianno", "Jim Nightshade" => "Jim Nightshade", "Jockey One" => "Jockey One", "Jolly Lodger" => "Jolly Lodger", "Josefin Sans" => "Josefin Sans", "Josefin Slab" => "Josefin Slab", "Judson" => "Judson", "Julee" => "Julee", "Junge" => "Junge", "Jura" => "Jura", "Just Another Hand" => "Just Another Hand", "Just Me Again Down Here" => "Just Me Again Down Here", "Kameron" => "Kameron", "Karla" => "Karla", "Kaushan Script" => "Kaushan Script", "Kelly Slab" => "Kelly Slab", "Kenia" => "Kenia", "Khmer" => "Khmer", "Knewave" => "Knewave", "Kotta One" => "Kotta One", "Koulen" => "Koulen", "Kranky" => "Kranky", "Kreon" => "Kreon", "Kristi" => "Kristi", "Krona One" => "Krona One", "La Belle Aurore" => "La Belle Aurore", "Lancelot" => "Lancelot", "Lato" => "Lato", "League Script" => "League Script", "Leckerli One" => "Leckerli One", "Ledger" => "Ledger", "Lekton" => "Lekton", "Lemon" => "Lemon", "Lilita One" => "Lilita One", "Limelight" => "Limelight", "Linden Hill" => "Linden Hill", "Lobster" => "Lobster", "Lobster Two" => "Lobster Two", "Londrina Outline" => "Londrina Outline", "Londrina Shadow" => "Londrina Shadow", "Londrina Sketch" => "Londrina Sketch", "Londrina Solid" => "Londrina Solid", "Lora" => "Lora", "Love Ya Like A Sister" => "Love Ya Like A Sister", "Loved by the King" => "Loved by the King", "Lovers Quarrel" => "Lovers Quarrel", "Luckiest Guy" => "Luckiest Guy", "Lusitana" => "Lusitana", "Lustria" => "Lustria", "Macondo" => "Macondo", "Macondo Swash Caps" => "Macondo Swash Caps", "Magra" => "Magra", "Maiden Orange" => "Maiden Orange", "Mako" => "Mako", "Marck Script" => "Marck Script", "Marko One" => "Marko One", "Marmelad" => "Marmelad", "Marvel" => "Marvel", "Mate" => "Mate", "Mate SC" => "Mate SC", "Maven Pro" => "Maven Pro", "Meddon" => "Meddon", "MedievalSharp" => "MedievalSharp", "Medula One" => "Medula One", "Megrim" => "Megrim", "Merienda One" => "Merienda One", "Merriweather" => "Merriweather", "Metal" => "Metal", "Metamorphous" => "Metamorphous", "Metrophobic" => "Metrophobic", "Michroma" => "Michroma", "Miltonian" => "Miltonian", "Miltonian Tattoo" => "Miltonian Tattoo", "Miniver" => "Miniver", "Miss Fajardose" => "Miss Fajardose", "Modern Antiqua" => "Modern Antiqua", "Molengo" => "Molengo", "Monofett" => "Monofett", "Monoton" => "Monoton", "Monsieur La Doulaise" => "Monsieur La Doulaise", "Montaga" => "Montaga", "Montez" => "Montez", "Montserrat" => "Montserrat", "Moul" => "Moul", "Moulpali" => "Moulpali", "Mountains of Christmas" => "Mountains of Christmas", "Mr Bedfort" => "Mr Bedfort", "Mr Dafoe" => "Mr Dafoe", "Mr De Haviland" => "Mr De Haviland", "Mrs Saint Delafield" => "Mrs Saint Delafield", "Mrs Sheppards" => "Mrs Sheppards", "Muli" => "Muli", "Mystery Quest" => "Mystery Quest", "Neucha" => "Neucha", "Neuton" => "Neuton", "News Cycle" => "News Cycle", "Niconne" => "Niconne", "Nixie One" => "Nixie One", "Nobile" => "Nobile", "Nokora" => "Nokora", "Norican" => "Norican", "Nosifer" => "Nosifer", "Nothing You Could Do" => "Nothing You Could Do", "Noticia Text" => "Noticia Text", "Nova Cut" => "Nova Cut", "Nova Flat" => "Nova Flat", "Nova Mono" => "Nova Mono", "Nova Oval" => "Nova Oval", "Nova Round" => "Nova Round", "Nova Script" => "Nova Script", "Nova Slim" => "Nova Slim", "Nova Square" => "Nova Square", "Numans" => "Numans", "Nunito" => "Nunito", "Odor Mean Chey" => "Odor Mean Chey", "Old Standard TT" => "Old Standard TT", "Oldenburg" => "Oldenburg", "Oleo Script" => "Oleo Script", "Open Sans" => "Open Sans", "Open Sans Condensed" => "Open Sans Condensed", "Orbitron" => "Orbitron", "Original Surfer" => "Original Surfer", "Oswald" => "Oswald", "Over the Rainbow" => "Over the Rainbow", "Overlock" => "Overlock", "Overlock SC" => "Overlock SC", "Ovo" => "Ovo", "Oxygen" => "Oxygen", "PT Mono" => "PT Mono", "PT Sans" => "PT Sans", "PT Sans Caption" => "PT Sans Caption", "PT Sans Narrow" => "PT Sans Narrow", "PT Serif" => "PT Serif", "PT Serif Caption" => "PT Serif Caption", "Pacifico" => "Pacifico", "Parisienne" => "Parisienne", "Passero One" => "Passero One", "Passion One" => "Passion One", "Patrick Hand" => "Patrick Hand", "Patua One" => "Patua One", "Paytone One" => "Paytone One", "Permanent Marker" => "Permanent Marker", "Petrona" => "Petrona", "Philosopher" => "Philosopher", "Piedra" => "Piedra", "Pinyon Script" => "Pinyon Script", "Plaster" => "Plaster", "Play" => "Play", "Playball" => "Playball", "Playfair Display" => "Playfair Display", "Podkova" => "Podkova", "Poiret One" => "Poiret One", "Poller One" => "Poller One", "Poly" => "Poly", "Pompiere" => "Pompiere", "Pontano Sans" => "Pontano Sans", "Port Lligat Sans" => "Port Lligat Sans", "Port Lligat Slab" => "Port Lligat Slab", "Prata" => "Prata", "Preahvihear" => "Preahvihear", "Press Start 2P" => "Press Start 2P", "Princess Sofia" => "Princess Sofia", "Prociono" => "Prociono", "Prosto One" => "Prosto One", "Puritan" => "Puritan", "Quantico" => "Quantico", "Quattrocento" => "Quattrocento", "Quattrocento Sans" => "Quattrocento Sans", "Questrial" => "Questrial", "Quicksand" => "Quicksand", "Qwigley" => "Qwigley", "Radley" => "Radley", "Raleway" => "Raleway", "Rammetto One" => "Rammetto One", "Rancho" => "Rancho", "Rationale" => "Rationale", "Redressed" => "Redressed", "Reenie Beanie" => "Reenie Beanie", "Revalia" => "Revalia", "Ribeye" => "Ribeye", "Ribeye Marrow" => "Ribeye Marrow", "Righteous" => "Righteous", "Roboto" => "Roboto", "Rochester" => "Rochester", "Rock Salt" => "Rock Salt", "Rokkitt" => "Rokkitt", "Ropa Sans" => "Ropa Sans", "Rosario" => "Rosario", "Rosarivo" => "Rosarivo", "Rouge Script" => "Rouge Script", "Ruda" => "Ruda", "Ruge Boogie" => "Ruge Boogie", "Ruluko" => "Ruluko", "Ruslan Display" => "Ruslan Display", "Russo One" => "Russo One", "Ruthie" => "Ruthie", "Sail" => "Sail", "Salsa" => "Salsa", "Sancreek" => "Sancreek", "Sansita One" => "Sansita One", "Sarina" => "Sarina", "Satisfy" => "Satisfy", "Schoolbell" => "Schoolbell", "Seaweed Script" => "Seaweed Script", "Sevillana" => "Sevillana", "Shadows Into Light" => "Shadows Into Light", "Shadows Into Light Two" => "Shadows Into Light Two", "Shanti" => "Shanti", "Share" => "Share", "Shojumaru" => "Shojumaru", "Short Stack" => "Short Stack", "Siemreap" => "Siemreap", "Sigmar One" => "Sigmar One", "Signika" => "Signika", "Signika Negative" => "Signika Negative", "Simonetta" => "Simonetta", "Sirin Stencil" => "Sirin Stencil", "Six Caps" => "Six Caps", "Slackey" => "Slackey", "Smokum" => "Smokum", "Smythe" => "Smythe", "Sniglet" => "Sniglet", "Snippet" => "Snippet", "Sofia" => "Sofia", "Sonsie One" => "Sonsie One", "Sorts Mill Goudy" => "Sorts Mill Goudy", "Special Elite" => "Special Elite", "Spicy Rice" => "Spicy Rice", "Spinnaker" => "Spinnaker", "Spirax" => "Spirax", "Squada One" => "Squada One", "Stardos Stencil" => "Stardos Stencil", "Stint Ultra Condensed" => "Stint Ultra Condensed", "Stint Ultra Expanded" => "Stint Ultra Expanded", "Stoke" => "Stoke", "Sue Ellen Francisco" => "Sue Ellen Francisco", "Sunshiney" => "Sunshiney", "Supermercado One" => "Supermercado One", "Suwannaphum" => "Suwannaphum", "Swanky and Moo Moo" => "Swanky and Moo Moo", "Syncopate" => "Syncopate", "Tangerine" => "Tangerine", "Taprom" => "Taprom", "Telex" => "Telex", "Tenor Sans" => "Tenor Sans", "The Girl Next Door" => "The Girl Next Door", "Tienne" => "Tienne", "Tinos" => "Tinos", "Titan One" => "Titan One", "Trade Winds" => "Trade Winds", "Trocchi" => "Trocchi", "Trochut" => "Trochut", "Trykker" => "Trykker", "Tulpen One" => "Tulpen One", "Ubuntu" => "Ubuntu", "Ubuntu Condensed" => "Ubuntu Condensed", "Ubuntu Mono" => "Ubuntu Mono", "Ultra" => "Ultra", "Uncial Antiqua" => "Uncial Antiqua", "UnifrakturCook" => "UnifrakturCook", "UnifrakturMaguntia" => "UnifrakturMaguntia", "Unkempt" => "Unkempt", "Unlock" => "Unlock", "Unna" => "Unna", "VT323" => "VT323", "Varela" => "Varela", "Varela Round" => "Varela Round", "Vast Shadow" => "Vast Shadow", "Vibur" => "Vibur", "Vidaloka" => "Vidaloka", "Viga" => "Viga", "Voces" => "Voces", "Volkhov" => "Volkhov", "Vollkorn" => "Vollkorn", "Voltaire" => "Voltaire", "Waiting for the Sunrise" => "Waiting for the Sunrise", "Wallpoet" => "Wallpoet", "Walter Turncoat" => "Walter Turncoat", "Wellfleet" => "Wellfleet", "Wire One" => "Wire One", "Yanone Kaffeesatz" => "Yanone Kaffeesatz", "Yellowtail" => "Yellowtail", "Yeseva One" => "Yeseva One", "Yesteryear" => "Yesteryear", "Zeyada" => "Zeyada"); //Sample Homepage blocks for the layout manager (sorter) $of_options_homepage_blocks = array ( "disabled" => array ( "placebo" => "placebo", //REQUIRED! "block_one" => "Block One", "block_two" => "Block Two", "block_three" => "Block Three", ), "enabled" => array ( "placebo" => "placebo", //REQUIRED! "block_four" => "Block Four", ), ); //Stylesheets Reader $alt_stylesheet_path = LAYOUT_PATH; $alt_stylesheets = array(); if ( is_dir($alt_stylesheet_path) ) { if ($alt_stylesheet_dir = opendir($alt_stylesheet_path) ) { while ( ($alt_stylesheet_file = readdir($alt_stylesheet_dir)) !== false ) { if(stristr($alt_stylesheet_file, ".css") !== false) { $alt_stylesheets[] = $alt_stylesheet_file; } } } } //Background Images Reader $def_url = get_bloginfo('template_url').'/assets/'; // change this to where you store your bg images $bg_images_path = STYLESHEETPATH. '/images/bg/'; // change this to where you store your bg images $bg_images_url = get_bloginfo('template_url').'/images/bg/'; // change this to where you store your bg images $bg_images = array(); if ( is_dir($bg_images_path) ) { if ($bg_images_dir = opendir($bg_images_path) ) { while ( ($bg_images_file = readdir($bg_images_dir)) !== false ) { if(stristr($bg_images_file, ".png") !== false || stristr($bg_images_file, ".jpg") !== false) { $bg_images[] = $bg_images_url . $bg_images_file; } } } } /*-----------------------------------------------------------------------------------*/ /* TO DO: Add options/functions that use these */ /*-----------------------------------------------------------------------------------*/ //More Options $uploads_arr = wp_upload_dir(); $all_uploads_path = $uploads_arr['path']; $all_uploads = get_option('of_uploads'); $other_entries = array("Select a number:","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19"); $body_repeat = array("no-repeat","repeat-x","repeat-y","repeat"); $body_pos = array("top left","top center","top right","center left","center center","center right","bottom left","bottom center","bottom right"); // Image Alignment radio box $of_options_thumb_align = array("alignleft" => "Left","alignright" => "Right","aligncenter" => "Center"); // Image Links to Options $of_options_image_link_to = array("image" => "The Image","post" => "The Post"); /*-----------------------------------------------------------------------------------*/ /* The Options Array */ /*-----------------------------------------------------------------------------------*/ // Set the Options Array global $of_options; $of_options = array(); $of_options[] = array( "name" => "General Settings", "type" => "heading" ); $of_options[] = array( "name" => "General Theme Settings", "desc" => __("Choose WebSite Layout","Splendor"), "id" => "theme_layout", "std" => "2", "type" => "select", "options" => $of_theme_layout); $of_options[] = array( "name" => "Accent Ccolor", "desc" => __("Choose Accent Ccolor","Splendor"), "id" => "theme_colors_style", "std" => "1", "type" => "select", "options" => $of_theme_colors_style); $of_options[] = array( "name" => "", "desc" => __("You can set your own color (Color Selector must be Empty)","splendor"), "id" => "theme_colors_style_own", "std" => "", "type" => "color" ); $of_options[] = array( "name" => "", "desc" => "Site will be responsive?", "id" => "responsiveon", "std" => 1, "type" => "checkbox" ); $of_options[] = array( "name" => "", "desc" => __("Select a background pattern if you use boxed version ( Choose first image to show only background color )","splendor"), "id" => "body_bg_image", "std" => $bg_images_url."1_px.png", "type" => "tiles", "options" => $bg_images, ); $of_options[] = array( "name" => __("CUSTOM CSS","splendor"), "desc" => __("Put your custom css here","splendor"), "id" => "custom_css", "std" => "", "type" => "textarea"); // HEADER SETTINGS $of_options[] = array( "name" => "Header Settings", "type" => "heading" ); $of_options[] = array( "name" => "Header Settings", "desc" => "Use Header one?", "id" => "header_one", "std" => 0, "folds" => 1, "type" => "switch" ); $of_options[] = array( "name" => "", "desc" => "Upload your logo", "id" => "header_logo", "std" => "[site_url]/wp-content/themes/splendor/images/logo.png", "fold" => "header_one", /* the checkbox hook */ "type" => "media"); $of_options[] = array( "name" => "", "desc" => "Logo Top Padding Value", "id" => "logo_top_padding", "std" => "18", "fold" => "header_one", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Logo Bottom Padding Value", "id" => "logo_bottom_padding", "std" => "18", "fold" => "header_one", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Menu Item Top Padding Value", "id" => "menu_item_top_padding", "std" => "31", "fold" => "header_one", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Menu Item Horizontal Padding Value", "id" => "menu_item_bottom_padding", "std" => "25", "fold" => "header_one", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Menu Item Bottom Padding Value", "id" => "menu_item_hor_padding", "std" => "40", "fold" => "header_one", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Show additional descriptopns for menu menu?", "id" => "menu_descr", "fold" => "header_one", /* the checkbox hook */ "std" => 1, "type" => "checkbox" ); $of_options[] = array( "name" => "", "desc" => "Menu Background Color on Hover", "id" => "menu_bg_color", "fold" => "header_one", /* the checkbox hook */ "std" => "#f6f6f6", "type" => "color" ); $of_options[] = array( "name" => "", "desc" => "Select Font For Menu", "id" => "menu_font", "std" => "Arial", "type" => "select_google_font", "fold" => "header_one", /* the checkbox hook */ "preview" => array( "text" => "This is preview text!", //this is the text from preview box "size" => "14px" //this is the text size from preview box ), "options" => $of_options_g_fonts ); $of_options[] = array( "name" => "", "desc" => "Use Header Two?", "id" => "header_two", "std" => 0, "folds" => 1, "type" => "switch" ); $of_options[] = array( "name" => "", "desc" => "Upload your logo", "id" => "h2_header_logo", "std" => "[site_url]/wp-content/themes/splendor/images/logo.png", "fold" => "header_two", /* the checkbox hook */ "type" => "media"); $of_options[] = array( "name" => "Top Line Settings", "desc" => "Your E-mail", "id" => "h2_mail", "std" => "mail@splendor.com", "fold" => "header_two", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Your Phone", "id" => "h2_tel", "std" => "+1 (234) 56-75-90 <span>/</span> +1 (987) 654-75-90", "fold" => "header_two", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Custom text field if email and phone does not set", "id" => "h2_notelphone", "std" => "This is custom field you cna past here html tags", "fold" => "header_two", /* the checkbox hook */ "type" => "textarea" ); $of_options[] = array( "name" => "", "desc" => "Flickr", "id" => "h2_menu_social_fl", "std" => "http://www.flickr.com", "fold" => "header_two", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Twitter", "id" => "h2_menu_social_tw", "std" => "http://www.twitter.com", "fold" => "header_two", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Facebook", "id" => "h2_menu_social_fb", "std" => "http://www.facebook.com", "fold" => "header_two", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Google+", "id" => "h2_menu_social_go", "std" => "https://plus.google.com", "fold" => "header_two", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Pinterest", "id" => "h2_menu_social_pi", "std" => "http://www.pinterest.com", "fold" => "header_two", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "LinkedIn", "id" => "h2_menu_social_li", "std" => "http://www.linkedin.com", "fold" => "header_two", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Dribbble", "id" => "h2_menu_social_dr", "std" => "http://www.dribbble.com", "fold" => "header_two", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "YouTube", "id" => "h2_menu_social_yt", "std" => "http://www.youtube.com", "fold" => "header_two", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Show Search Filed?", "id" => "h2_search", "fold" => "header_two", /* the checkbox hook */ "std" => 1, "type" => "checkbox" ); $of_options[] = array( "name" => "Logo And Menu Settings", "desc" => "Logo Top Padding Value", "id" => "h2_logo_top_padding", "std" => "18", "fold" => "header_two", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Logo Bottom Padding Value", "id" => "h2_logo_bottom_padding", "std" => "18", "fold" => "header_two", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Menu Item Top Padding Value", "id" => "h2_menu_item_top_padding", "std" => "31", "fold" => "header_two", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Menu Item Horizontal Padding Value", "id" => "h2_menu_item_bottom_padding", "std" => "25", "fold" => "header_two", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Menu Item Bottom Padding Value", "id" => "h2_menu_item_hor_padding", "std" => "40", "fold" => "header_two", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Show additional descriptopns for menu menu?", "id" => "h2_menu_descr", "fold" => "header_two", /* the checkbox hook */ "std" => 1, "type" => "checkbox" ); $of_options[] = array( "name" => "", "desc" => "Menu Background Color on Hover", "id" => "h2_menu_bg_color", "fold" => "header_two", /* the checkbox hook */ "std" => "#f6f6f6", "type" => "color" ); $of_options[] = array( "name" => "", "desc" => "Select Font For Menu", "id" => "h2_menu_font", "std" => "Arial", "type" => "select_google_font", "fold" => "header_two", /* the checkbox hook */ "preview" => array( "text" => "This is preview text!", //this is the text from preview box "size" => "14px" //this is the text size from preview box ), "options" => $of_options_g_fonts ); $of_options[] = array( "name" => "", "desc" => "Use Header Three?", "id" => "header_three", "std" => 1, "folds" => 1, "type" => "switch" ); $of_options[] = array( "name" => "Top Line And Logo Settings", "desc" => "Upload your logo", "id" => "h3_header_logo", "std" => "[site_url]/wp-content/themes/splendor/images/logo.png", "fold" => "header_three", /* the checkbox hook */ "type" => "media"); $of_options[] = array( "name" => "", "desc" => "Logo Top Padding Value", "id" => "h3_logo_top_padding", "std" => "18", "fold" => "header_three", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Logo Bottom Padding Value", "id" => "h3_logo_bottom_padding", "std" => "18", "fold" => "header_three", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Your E-mail", "id" => "h3_mail", "std" => "mail@splendor.com", "fold" => "header_three", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Your Phone", "id" => "h3_tel", "std" => "+1 (234) 56-75-90", "fold" => "header_three", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Custom text field if email and phone does not set", "id" => "h3_notelphone", "std" => "Some text here", "fold" => "header_three", /* the checkbox hook */ "type" => "textarea" ); $of_options[] = array( "name" => "", "desc" => "Left Margin For Contacts", "id" => "h3_contact_left", "std" => "15", "fold" => "header_three", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Top Margin For Contacts", "id" => "h3_contact_top", "std" => "22", "fold" => "header_three", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "Banner Area Settings", "desc" => "Upload your Banner", "id" => "h3_banner", "std" => "[site_url]/wp-content/themes/splendor/assets/img/banner.jpg", "fold" => "header_three", /* the checkbox hook */ "type" => "media"); $of_options[] = array( "name" => "", "desc" => "Banner URL", "id" => "h3_banner_url", "std" => "http://themeforest.net/user/OrangeIdea", "fold" => "header_three", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Banner Top Margin", "id" => "h3_banner_margin", "std" => "13", "fold" => "header_three", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Custom text field if banner does not set", "id" => "h3_nobanner", "std" => "Custom text field if banner does not set", "fold" => "header_three", /* the checkbox hook */ "type" => "textarea" ); $of_options[] = array( "name" => "Menu Settings", "desc" => "Menu Item Top Padding Value", "id" => "h3_menu_item_top_padding", "std" => "31", "fold" => "header_three", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Menu Item Horizontal Padding Value", "id" => "h3_menu_item_bottom_padding", "std" => "25", "fold" => "header_three", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Menu Item Bottom Padding Value", "id" => "h3_menu_item_hor_padding", "std" => "40", "fold" => "header_three", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Show additional descriptopns for menu menu?", "id" => "h3_menu_descr", "fold" => "header_three", /* the checkbox hook */ "std" => 1, "type" => "checkbox" ); $of_options[] = array( "name" => "", "desc" => "Menu Background Color on Hover", "id" => "h3_menu_bg_color", "fold" => "header_three", /* the checkbox hook */ "std" => "#f6f6f6", "type" => "color" ); $of_options[] = array( "name" => "", "desc" => "Select Font For Menu", "id" => "h3_menu_font", "std" => "Arial", "type" => "select_google_font", "fold" => "header_three", /* the checkbox hook */ "preview" => array( "text" => "This is preview text!", //this is the text from preview box "size" => "14px" //this is the text size from preview box ), "options" => $of_options_g_fonts ); $of_options[] = array( "name" => "Social Icons", "desc" => "Type Title text", "id" => "h3_social_title", "std" => "<strong>Splendor</strong> in Social Networks:", "fold" => "header_three", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Top margin for Icons block", "id" => "h3_social_top", "std" => "20", "fold" => "header_three", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Flickr", "id" => "h3_menu_social_fl", "std" => "http://www.flickr.com", "fold" => "header_three", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Twitter", "id" => "h3_menu_social_tw", "std" => "http://www.twitter.com", "fold" => "header_three", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Facebook", "id" => "h3_menu_social_fb", "std" => "http://www.facebook.com", "fold" => "header_three", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Google+", "id" => "h3_menu_social_go", "std" => "https://plus.google.com", "fold" => "header_three", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Pinterest", "id" => "h3_menu_social_pi", "std" => "http://www.pinterest.com", "fold" => "header_three", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "LinkedIn", "id" => "h3_menu_social_li", "std" => "http://www.linkedin.com", "fold" => "header_three", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Dribbble", "id" => "h3_menu_social_dr", "std" => "http://www.dribbble.com", "fold" => "header_three", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "YouTube", "id" => "h3_menu_social_yt", "std" => "http://www.youtube.com", "fold" => "header_three", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Use Header Four?", "id" => "header_four", "std" => 0, "folds" => 1, "type" => "switch" ); $of_options[] = array( "name" => "", "desc" => "Upload your logo", "id" => "h4_header_logo", "std" => "[site_url]/wp-content/themes/splendor/images/logo.png", "fold" => "header_four", /* the checkbox hook */ "type" => "media"); $of_options[] = array( "name" => "", "desc" => "Logo Top Padding Value", "id" => "h4_logo_top_padding", "std" => "18", "fold" => "header_four", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Logo Bottom Padding Value", "id" => "h4_logo_bottom_padding", "std" => "18", "fold" => "header_four", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Menu Item Top Padding Value", "id" => "h4_menu_item_top_padding", "std" => "31", "fold" => "header_four", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Menu Item Horizontal Padding Value", "id" => "h4_menu_item_bottom_padding", "std" => "25", "fold" => "header_four", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Menu Item Bottom Padding Value", "id" => "h4_menu_item_hor_padding", "std" => "40", "fold" => "header_four", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Menu Background Color on Hover", "id" => "h4_menu_bg_color", "fold" => "header_four", /* the checkbox hook */ "std" => "#f6f6f6", "type" => "color" ); $of_options[] = array( "name" => "", "desc" => "Select Font For Menu", "id" => "h4_menu_font", "std" => "Arial", "type" => "select_google_font", "fold" => "header_four", /* the checkbox hook */ "preview" => array( "text" => "This is preview text!", //this is the text from preview box "size" => "14px" //this is the text size from preview box ), "options" => $of_options_g_fonts ); $of_options[] = array( "name" => "Sticky Header Settings", "desc" => "Do You Want Sticky Header?", "id" => "header_st", "std" => 1, "folds" => 1, "type" => "switch" ); $of_options[] = array( "name" => "", "desc" => "Upload your logo for Sticky Header", "id" => "header_st_logo", "std" => "[site_url]/wp-content/themes/splendor/images/logo2.png", "fold" => "header_st", /* the checkbox hook */ "type" => "media" ); $of_options[] = array( "name" => "", "desc" => "Set Top Margin for Logo", "id" => "header_st_logo_top", "std" => "0", "fold" => "header_st", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Set Bottom Margin for Logo", "id" => "header_st_logo_bt", "std" => "0", "fold" => "header_st", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Text Near The Logo", "id" => "header_st_text", "std" => "Have a questions?<br><strong>Call us:</strong> +1 (784) 55-878-35", "fold" => "header_st", /* the checkbox hook */ "type" => "textarea" ); $of_options[] = array( "name" => "", "desc" => "Set Top Margin for text", "id" => "header_st_text_top", "std" => "13", "fold" => "header_st", /* the checkbox hook */ "type" => "text" ); $of_options[] = array( "name" => "", "desc" => "Show Search Field?", "id" => "header_st_search", "std" => 1, "fold" => "header_st", /* the checkbox hook */ "type" => "checkbox" ); // TYPOGRAPHY $of_options[] = array( "name" => "Typography", "type" => "heading" ); $of_options[] = array( "name" => "Google Font Preview", "desc" => "This is options just for preview more than 500 included fonts.", "id" => "g_select", "std" => "Select a font", "type" => "select_google_font", "preview" => array( "text" => "This is preview text!", //this is the text from preview box "size" => "26px" //this is the text size from preview box ), "options" => $of_options_g_fonts ); $of_options[] = array("name" => __("HEADERS TYPOGRAPHY","splendor"), "desc" => __("Specify the h1 header font properties","splendor"), "id" => "headers_font_one", "std" => array('size' => '36px', 'face' => 'Open Sans','style' => 'normal','color' => '#555555'), "type" => "typography"); $of_options[] = array("name" => "", "desc" => __("Specify the h2 header font properties","splendor"), "id" => "headers_font_two", "std" => array('size' => '30px','face' => 'Open Sans','style' => 'normal','color' => '#555555'), "type" => "typography"); $of_options[] = array("name" => "", "desc" => __("Specify the h3 header font properties","splendor"), "id" => "headers_font_three", "std" => array('size' => '24px','face' => 'Open Sans','style' => 'normal','color' => '#555555'), "type" => "typography"); $of_options[] = array("name" => "", "desc" => __("Specify the h4 header font properties","splendor"), "id" => "headers_font_four", "std" => array('size' => '18px','face' => 'Open Sans','style' => 'normal','color' => '#555555'), "type" => "typography"); $of_options[] = array("name" => "", "desc" => __("Specify the h5 header font properties","splendor"), "id" => "headers_font_five", "std" => array('size' => '14px','face' => 'Open Sans','style' => 'normal','color' => '#555555'), "type" => "typography"); $of_options[] = array("name" => "", "desc" => __("Specify the h6 header font properties","splendor"), "id" => "headers_font_six", "std" => array('size' => '12px','face' => 'Open Sans','style' => 'normal','color' => '#555555'), "type" => "typography"); $of_options[] = array("name" => __("BODY TYPOGRAPHY","splendor"), "desc" => __("Specify body font properties","splendor"), "id" => "body_font", "std" => array('size' => '12px', 'face' => 'arial','style' => 'normal','color' => '#666666'), "type" => "typography"); /* Blog Settings */ $of_options[] = array( "name" => __("Blog","splendor"), "type" => "heading"); $of_options[] = array( "name" => __("CHOOSE BLOG STYLE","splendor"), "desc" => "", "id" => "sl_blog_style", "std" => "1", "type" => "select", "options" => $of_blog_style); $of_options[] = array( "name" => __("CHOOSE SIDEBAR POSITION","splendor"), "desc" => "", "id" => "blog_sidebar_position", "std" => "1", "type" => "select", "options" => $of_blog_sidebar); $of_options[] = array( "name" => __("META TAGS SETTINGS","splendor"), "desc" => __("Show Posts Date?","splendor"), "id" => "blog_show_posts_date", "std" => 1, "folds" => 1, "type" => "checkbox"); $of_options[] = array( "name" => "", "desc" => __("Show Post Author?","splendor"), "id" => "blog_show_posts_meta_author", "std" => 1, "folds" => 1, "type" => "checkbox"); $of_options[] = array( "name" => "", "desc" => __("Show Post Category?","splendor"), "id" => "blog_show_posts_meta_category", "std" => 1, "folds" => 1, "type" => "checkbox"); $of_options[] = array( "name" => "", "desc" => __("Show Post Comments?","splendor"), "id" => "blog_show_posts_meta_comments", "std" => 1, "folds" => 1, "type" => "checkbox"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for the Blog meta color","splendor"), "id" => "blog_show_posts_meta_color", "std" => "#999", "type" => "color"); $of_options[] = array( "name" => __("IMAGE HOVER EFFECTS (RGBA)","goodchoice"), "desc" => __("First rgba value (red color)","goodchoice"), "id" => "blog_image_bg_1", "std" => "255", "type" => "text"); $of_options[] = array( "name" => "", "desc" => __("Second rgba value (green color)","goodchoice"), "id" => "blog_image_bg_2", "std" => "255", "type" => "text"); $of_options[] = array( "name" => "", "desc" => __("Third rgba value (blue color)","goodchoice"), "id" => "blog_image_bg_3", "std" => "255", "type" => "text"); $of_options[] = array( "name" => "", "desc" => __("Fourth rgba value (opacity)","goodchoice"), "id" => "blog_image_bg_op", "std" => "0.3", "type" => "text"); $of_options[] = array( "name" => __("ZOOM AND LINK ICONS SETTINGS","goodchoice"), "desc" => __("Choose Icons for image hover","goodchoice"), "id" => "blog_image_hover_icons", "std" => "1", "type" => "select", "options" => $of_blog_image_hover_icons); $of_options[] = array( "name" => "", "desc" => __("Upload Link icon","goodchoice"), "id" => "blog_image_icons_link", "std" => $def_url."img/link_h.png", "type" => "media"); $of_options[] = array( "name" => "", "desc" => __("Upload Zoom icon","goodchoice"), "id" => "blog_image_icons_zoom", "std" => $def_url."/img/zoom.png", "type" => "media"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for the icons background","goodchoice"), "id" => "blog_image_icons_bg", "std" => "#ededed", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for the icons background when hover","goodchoice"), "id" => "blog_image_icons_bg_hover", "std" => "#f9f9f9", "type" => "color"); $of_options[] = array( "name" => __("POST PREVIEW SETTINGS","splendor"), "desc" => __("Pick a color for text","splendor"), "id" => "blog_item_description_text_color", "std" => "#888888", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Padding value","splendor"), "id" => "blog_item_description_padding", "std" => "20", "type" => "text"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for background","splendor"), "id" => "blog_item_description_bg_color", "std" => "#ffffff", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for border","splendor"), "id" => "blog_item_description_border_color", "std" => "#f6f6f6", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Select a background pattern ( Choose first image to show only background color )","splendor"), "id" => "blog_item_description_bg_image", "std" => $bg_images_url."1_px.png", "type" => "tiles", "options" => $bg_images, ); $of_options[] = array( "name" => __("BLOG ARCHIVE","splendor"), "desc" => __("'Blog Archive' page title","splendor"), "id" => "blog_archive_title", "std" => "Blog Archive", "type" => "text"); /* Blog Post */ $of_options[] = array( "name" => __("Blog Post","splendor"), "type" => "heading"); $of_options[] = array( "name" => __("ABOUT AUTHOR OPTIONS","splendor"), "desc" => __("Show 'About Author'?","splendor"), "id" => "blog_post_show_author", "std" => 1, "folds" => 1, "type" => "checkbox"); $of_options[] = array( "name" => "", "desc" => __("Upload your avatar","splendor"), "id" => "blog_post_show_author_avatar", "std" => "http://1.s3.envato.com/files/31496845/oi-80.jpg", "type" => "media"); $of_options[] = array( "name" => "", "desc" => __("Header text","splendor"), "id" => "blog_post_show_author_header", "std" => "About The Author", "type" => "text"); $of_options[] = array( "name" => "", "desc" => __("Padding value","splendor"), "id" => "blog_author_item_description_padding", "std" => "20", "type" => "text"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for text","splendor"), "id" => "blog_author_item_description_text_color", "std" => "#747474", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for background","splendor"), "id" => "blog_author_item_description_bg_color", "std" => "#f9f9f9", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for border","splendor"), "id" => "blog_author_item_description_border_color", "std" => "#ededed", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Select a background pattern ( Choose first image to show only background color )","splendor"), "id" => "blog_author_item_description_bg_image", "std" => $bg_images_url."1_px.png", "type" => "tiles", "options" => $bg_images, ); /* Blog Sidebar */ $of_options[] = array( "name" => __("Sidebar","splendor"), "type" => "heading"); $of_options[] = array( "name" => __("SIDEBAR GENERATOR","splendor"), "desc" => __("How many sidebars do you want?","splendor"), "id" => "page_sidebar_generator", "std" => "8", "type" => "text"); $of_options[] = array( "name" => __("SIDEBAR STYLE","splendor"), "desc" => __("Pick a color for the widget header","splendor"), "id" => "blog_sidebar_widget_header_color", "std" => "#555555", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for the widget text","splendor"), "id" => "blog_sidebar_widget_text_color", "std" => "#666666", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for the widget links","splendor"), "id" => "blog_sidebar_widget_links_color", "std" => "#777777", "type" => "color"); /* Portfolio */ $of_options[] = array( "name" => __("Portfolio","splendor"), "type" => "heading"); $of_options[] = array( "name" => __("CHOOSE PORTFOLIO STYLE","splendor"), "desc" => "", "id" => "sl_portfolio_style", "std" => "1", "type" => "select", "options" => $of_portfolio_style); $of_options[] = array("name" => "", "desc" => __("Amount of projects on one page","splendor"), "id" => "sl_portfolio_projects", "std" => "10", "type" => "text"); $of_options[] = array( "name" => __("CHOOSE SIDEBAR POSITION","splendor"), "desc" => "", "id" => "portfolio_sidebar_position", "std" => "1", "type" => "select", "options" => $of_portfolio_sidebar); $of_options[] = array( "name" => __("SMALL DESCRIPTIOS SETTINGS","splendor"), "desc" => "Show description?", "id" => "portfolio_descr_show", "std" => 1, "folds" => 1, "type" => "checkbox"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for the background","splendor"), "id" => "portfolio_descr_bg_color", "std" => "#f5f5f5", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for the border","splendor"), "id" => "portfolio_descr_border_color", "std" => "#f5f5f5", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for title","splendor"), "id" => "portfolio_descr_title_color", "std" => "#3a3a3a", "type" => "color"); $of_options[] = array( "name" => __("IMAGE HOVER EFFECTS (RGBA)","goodchoice"), "desc" => __("First rgba value (red color)","goodchoice"), "id" => "portfolio_image_bg_1", "std" => "255", "type" => "text"); $of_options[] = array( "name" => "", "desc" => __("Second rgba value (green color)","goodchoice"), "id" => "portfolio_image_bg_2", "std" => "255", "type" => "text"); $of_options[] = array( "name" => "", "desc" => __("Third rgba value (blue color)","goodchoice"), "id" => "portfolio_image_bg_3", "std" => "255", "type" => "text"); $of_options[] = array( "name" => "", "desc" => __("Fourth rgba value (opacity)","goodchoice"), "id" => "portfolio_image_bg_op", "std" => "0.3", "type" => "text"); $of_options[] = array( "name" => __("ZOOM AND LINK ICONS SETTINGS","goodchoice"), "desc" => __("Choose Icons for image hover","goodchoice"), "id" => "portfolio_image_hover_icons", "std" => "1", "type" => "select", "options" => $of_blog_image_hover_icons); $of_options[] = array( "name" => "", "desc" => __("Upload Link icon","goodchoice"), "id" => "portfolio_image_icons_link", "std" => $def_url."img/link_h.png", "type" => "media"); $of_options[] = array( "name" => "", "desc" => __("Upload Zoom icon","goodchoice"), "id" => "portfolio_image_icons_zoom", "std" => $def_url."img/zoom.png", "type" => "media"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for the icons background","goodchoice"), "id" => "portfolio_image_icons_bg", "std" => "#ededed", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for the icons background when hover","goodchoice"), "id" => "portfolio_image_icons_bg_hover", "std" => "#f9f9f9;", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Show few words about?","splendor"), "id" => "portfolio_descr_clo_text", "std" => 1, "folds" => 1, "type" => "checkbox"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for description text","splendor"), "id" => "portfolio_descr_descr_color", "std" => "#999999", "type" => "color"); /* Portfolio Post */ $of_options[] = array( "name" => __("Portfolio Post","splendor"), "type" => "heading"); $of_options[] = array( "name" => __("CHOOSE DETAILS PAGE STYLE","splendor"), "desc" => "", "id" => "sl_portfolio_details_style", "std" => "1", "type" => "select", "options" => $of_portfolio_details_style); ; $of_options[] = array( "name" => __("DESCRIPTION SETTINGS","splendor"), "desc" => __("Show 'Next post and Previous post' pagination?","splendor"), "id" => "portfolio_details_pagination", "std" => 1, "folds" => 1, "type" => "checkbox"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for the 'Next post and Previous post","splendor"), "id" => "portfolio_post_show_posts_meta_color", "std" => "#888888", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Padding value","splendor"), "id" => "portfolio_post_item_description_padding", "std" => "0", "type" => "text"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for background","splendor"), "id" => "portfolio_post_item_description_bg_color", "std" => "#ffffff", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for text","splendor"), "id" => "portfolio_post_item_description_text_color", "std" => "#747474", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for border","splendor"), "id" => "portfolio_post_item_description_border_color", "std" => "#ffffff", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Select a background pattern ( Choose first image to show only background color )","splendor"), "id" => "portfolio_post_item_description_bg_image", "std" => $bg_images_url."", "type" => "tiles", "options" => $bg_images, ); $of_options[] = array( "name" => __("RELATED PROJECTS","splendor"), "desc" => __("Show 'Related Projects'?","splendor"), "id" => "portfolio_details_related", "std" => 1, "folds" => 1, "type" => "checkbox"); $of_options[] = array( "name" => "", "desc" => __("Related Projects title","splendor"), "id" => "portfolio_details_related_title", "std" => "Related Projects", "type" => "text"); $of_options[] = array( "name" => "", "desc" => __("Related Projects description","splendor"), "id" => "portfolio_details_related_description", "std" => "Venis potest flens ibidem quod eam in. Ambo una litus vita Apolloni codicellos iam custodio vocem magno dies tuum abscondere.", "type" => "text"); /* Pagination */ $of_options[] = array( "name" => __("Pagination","splendor"), "type" => "heading"); $of_options[] = array( "name" => __("PAGINATION SETTINGS","splendor"), "desc" => __("Pick a color for the element background","splendor"), "id" => "pagination_bg_color", "std" => "#ffffff", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for the element text","splendor"), "id" => "pagination_text_color", "std" => "#666666", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Vertical padding value","splendor"), "id" => "pagination_padding_v", "std" => "10", "type" => "text"); $of_options[] = array( "name" => "", "desc" => __("Horizontal padding value","splendor"), "id" => "pagination_padding_h", "std" => "15", "type" => "text"); $of_options[] = array( "name" => "", "desc" => __("Border radius","splendor"), "id" => "pagination_border_radius", "std" => "3", "type" => "text"); $of_options[] = array( "name" => " ", "desc" => __("Pick a color for the current and hover elements background","splendor"), "id" => "pagination_hover_bg_color", "std" => "#3a3a3a", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for the current and hover elements text","splendor"), "id" => "pagination_hover_text_color", "std" => "#ffffff", "type" => "color"); //Footer $of_options[] = array( "name" => __("Footer","splendor"), "type" => "heading"); $of_options[] = array( "name" => __("FOOTER SETTINGS","splendor"), "desc" => __("Pick a color for the footer background","splendor"), "id" => "footer_bg_color", "std" => "#3a3a3a", "type" => "color"); $of_options[] = array( "name" => " ", "desc" => __("Select a footer background pattern ( Choose first image to show only background color )","splendor"), "id" => "footer_bg_image", "std" => $bg_images_url."1_px.png", "type" => "tiles", "options" => $bg_images, ); $of_options[] = array( "name" => "", "desc" => __("Footer top padding","splendor"), "id" => "footer_padding_top", "std" => "40", "type" => "text"); $of_options[] = array( "name" => "", "desc" => __("Footer bottom padding","splendor"), "id" => "footer_padding_bottom", "std" => "40", "type" => "text"); $of_options[] = array( "name" => "", "desc" => __("Footer top bodrer value","splendor"), "id" => "footer_border_value", "std" => "1", "type" => "text"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for the footer top border","splendor"), "id" => "footer_border_color", "std" => "#444444", "type" => "color"); $of_options[] = array( "name" => " ", "desc" => __("Pick a color for the footer headers","splendor"), "id" => "footer_text_header_color", "std" => "#ffffff", "type" => "color"); $of_options[] = array( "name" => " ", "desc" => __("Pick a color for the footer text","splendor"), "id" => "footer_text_color", "std" => "#a8a8a8", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for the footer strong text elements","splendor"), "id" => "footer_text_strong_color", "std" => "#ffffff", "type" => "color"); $of_options[] = array( "name" => " ", "desc" => __("Pick a color for the footer links","splendor"), "id" => "footer_text_a_color", "std" => "#a8a8a8", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for the footer hovered links","splendor"), "id" => "footer_text_a_hover_color", "std" => "#ffffff", "type" => "color"); // Bottom Line $of_options[] = array( "name" => __("Bottom Line","splendor"), "type" => "heading"); $of_options[] = array( "name" => __("Show/Hide Bottom Line","splendor"), "desc" => __("Show Bottom Line?","splendor"), "id" => "bottom_line_show", "std" => 1, "folds" => 1, "type" => "checkbox"); $of_options[] = array( "name" => __("BOTTOM LINE BACKGROND","splendor"), "desc" => __("Pick a color for the 'Bottom Line' area background","splendor"), "id" => "theme_colors_bottom_line", "std" => "#333", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Pick a image for the 'Bottom Line' area background ( Choose first image to show only background color )","splendor"), "id" => "theme_colors_bottom_line_bg_image", "std" => $bg_images_url."1_px.png", "type" => "tiles", "options" => $bg_images, ); $of_options[] = array( "name" => __("BOTTOM LINE TEXT","splendor"), "desc" => __("Past your text or HTML","splendor"), "id" => "bottom_line_text", "std" => "Copyright 2012 Splendor - Company. Design by <a href='http://themeforest.net/user/OrangeIdea?ref=OrangeIdea'>OrangeIdea</a>", "type" => "text"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for the Bottom Line text","splendor"), "id" => "theme_colors_bottom_line_text", "std" => "#FFFFFF", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for the Bottom Line links","splendor"), "id" => "theme_colors_bottom_line_a", "std" => "#FFFFFF", "type" => "color"); $of_options[] = array( "name" => "", "desc" => __("Pick a color for the Top Line mouse over links","splendor"), "id" => "theme_colors_bottom_line_a_hover", "std" => "#FFFFFF", "type" => "color"); // Backup Options $of_options[] = array( "name" => "Backup Options", "type" => "heading" ); $of_options[] = array( "name" => "Backup and Restore Options", "id" => "of_backup", "std" => "", "type" => "backup", "desc" => 'You can use the two buttons below to backup your current options, and then restore it back at a later time. This is useful if you want to experiment on the options but would like to keep the old settings in case you need it back.', ); $of_options[] = array( "name" => "Transfer Theme Options Data", "id" => "of_transfer", "std" => "", "type" => "transfer", "desc" => 'You can tranfer the saved options data between different installs by copying the text inside the text box. To import data from another install, replace the data in the text box with the one from another install and click "Import Options".', ); }//End function: of_options() }//End chack if function exists: of_options() ?>
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare