<?php

add_action( 'ot_after_theme_options_save','owlab_update_permalinks' );
function owlab_update_permalinks(){
  flush_rewrite_rules();
}


global $google_fonts;

$google_fonts = array(
  array('label' => 'use theme default','value' => 'none'),
  array('label' => 'ABeeZee', 'value'=>'ABeeZee'),
  array('label' => 'Abel', 'value'=>'Abel'),
  array('label' => 'Abril+Fatface', 'value'=>'Abril+Fatface'),
  array('label' => 'Aclonica', 'value'=>'Aclonica'),
  array('label' => 'Acme', 'value'=>'Acme'),
  array('label' => 'Actor', 'value'=>'Actor'),
  array('label' => 'Adamina', 'value'=>'Adamina'),
  array('label' => 'Advent+Pro', 'value'=>'Advent+Pro'),
  array('label' => 'Aguafina+Script', 'value'=>'Aguafina+Script'),
  array('label' => 'Akronim', 'value'=>'Akronim'),
  array('label' => 'Aladin', 'value'=>'Aladin'),
  array('label' => 'Aldrich', 'value'=>'Aldrich'),
  array('label' => 'Alef', 'value'=>'Alef'),
  array('label' => 'Alegreya', 'value'=>'Alegreya'),
  array('label' => 'Alegreya+SC', 'value'=>'Alegreya+SC'),
  array('label' => 'Alegreya+Sans', 'value'=>'Alegreya+Sans'),
  array('label' => 'Alegreya+Sans+SC', 'value'=>'Alegreya+Sans+SC'),
  array('label' => 'Alex+Brush', 'value'=>'Alex+Brush'),
  array('label' => 'Alfa+Slab+One', 'value'=>'Alfa+Slab+One'),
  array('label' => 'Alice', 'value'=>'Alice'),
  array('label' => 'Alike', 'value'=>'Alike'),
  array('label' => 'Alike+Angular', 'value'=>'Alike+Angular'),
  array('label' => 'Allan', 'value'=>'Allan'),
  array('label' => 'Allerta', 'value'=>'Allerta'),
  array('label' => 'Allerta+Stencil', 'value'=>'Allerta+Stencil'),
  array('label' => 'Allura', 'value'=>'Allura'),
  array('label' => 'Almendra', 'value'=>'Almendra'),
  array('label' => 'Almendra+Display', 'value'=>'Almendra+Display'),
  array('label' => 'Almendra+SC', 'value'=>'Almendra+SC'),
  array('label' => 'Amarante', 'value'=>'Amarante'),
  array('label' => 'Amaranth', 'value'=>'Amaranth'),
  array('label' => 'Amatic+SC', 'value'=>'Amatic+SC'),
  array('label' => 'Amethysta', 'value'=>'Amethysta'),
  array('label' => 'Amiri', 'value'=>'Amiri'),
  array('label' => 'Amita', 'value'=>'Amita'),
  array('label' => 'Anaheim', 'value'=>'Anaheim'),
  array('label' => 'Andada', 'value'=>'Andada'),
  array('label' => 'Andika', 'value'=>'Andika'),
  array('label' => 'Angkor', 'value'=>'Angkor'),
  array('label' => 'Annie+Use+Your+Telescope', 'value'=>'Annie+Use+Your+Telescope'),
  array('label' => 'Anonymous+Pro', 'value'=>'Anonymous+Pro'),
  array('label' => 'Antic', 'value'=>'Antic'),
  array('label' => 'Antic+Didone', 'value'=>'Antic+Didone'),
  array('label' => 'Antic+Slab', 'value'=>'Antic+Slab'),
  array('label' => 'Anton', 'value'=>'Anton'),
  array('label' => 'Arapey', 'value'=>'Arapey'),
  array('label' => 'Arbutus', 'value'=>'Arbutus'),
  array('label' => 'Arbutus+Slab', 'value'=>'Arbutus+Slab'),
  array('label' => 'Architects+Daughter', 'value'=>'Architects+Daughter'),
  array('label' => 'Archivo+Black', 'value'=>'Archivo+Black'),
  array('label' => 'Archivo+Narrow', 'value'=>'Archivo+Narrow'),
  array('label' => 'Arimo', 'value'=>'Arimo'),
  array('label' => 'Arizonia', 'value'=>'Arizonia'),
  array('label' => 'Armata', 'value'=>'Armata'),
  array('label' => 'Artifika', 'value'=>'Artifika'),
  array('label' => 'Arvo', 'value'=>'Arvo'),
  array('label' => 'Arya', 'value'=>'Arya'),
  array('label' => 'Asap', 'value'=>'Asap'),
  array('label' => 'Asar', 'value'=>'Asar'),
  array('label' => 'Asset', 'value'=>'Asset'),
  array('label' => 'Astloch', 'value'=>'Astloch'),
  array('label' => 'Asul', 'value'=>'Asul'),
  array('label' => 'Atomic+Age', 'value'=>'Atomic+Age'),
  array('label' => 'Aubrey', 'value'=>'Aubrey'),
  array('label' => 'Audiowide', 'value'=>'Audiowide'),
  array('label' => 'Autour+One', 'value'=>'Autour+One'),
  array('label' => 'Average', 'value'=>'Average'),
  array('label' => 'Average+Sans', 'value'=>'Average+Sans'),
  array('label' => 'Averia+Gruesa+Libre', 'value'=>'Averia+Gruesa+Libre'),
  array('label' => 'Averia+Libre', 'value'=>'Averia+Libre'),
  array('label' => 'Averia+Sans+Libre', 'value'=>'Averia+Sans+Libre'),
  array('label' => 'Averia+Serif+Libre', 'value'=>'Averia+Serif+Libre'),
  array('label' => 'Bad+Script', 'value'=>'Bad+Script'),
  array('label' => 'Balthazar', 'value'=>'Balthazar'),
  array('label' => 'Bangers', 'value'=>'Bangers'),
  array('label' => 'Basic', 'value'=>'Basic'),
  array('label' => 'Battambang', 'value'=>'Battambang'),
  array('label' => 'Baumans', 'value'=>'Baumans'),
  array('label' => 'Bayon', 'value'=>'Bayon'),
  array('label' => 'Belgrano', 'value'=>'Belgrano'),
  array('label' => 'Belleza', 'value'=>'Belleza'),
  array('label' => 'BenchNine', 'value'=>'BenchNine'),
  array('label' => 'Bentham', 'value'=>'Bentham'),
  array('label' => 'Berkshire+Swash', 'value'=>'Berkshire+Swash'),
  array('label' => 'Bevan', 'value'=>'Bevan'),
  array('label' => 'Bigelow+Rules', 'value'=>'Bigelow+Rules'),
  array('label' => 'Bigshot+One', 'value'=>'Bigshot+One'),
  array('label' => 'Bilbo', 'value'=>'Bilbo'),
  array('label' => 'Bilbo+Swash+Caps', 'value'=>'Bilbo+Swash+Caps'),
  array('label' => 'Biryani', 'value'=>'Biryani'),
  array('label' => 'Bitter', 'value'=>'Bitter'),
  array('label' => 'Black+Ops+One', 'value'=>'Black+Ops+One'),
  array('label' => 'Bokor', 'value'=>'Bokor'),
  array('label' => 'Bonbon', 'value'=>'Bonbon'),
  array('label' => 'Boogaloo', 'value'=>'Boogaloo'),
  array('label' => 'Bowlby+One', 'value'=>'Bowlby+One'),
  array('label' => 'Bowlby+One+SC', 'value'=>'Bowlby+One+SC'),
  array('label' => 'Brawler', 'value'=>'Brawler'),
  array('label' => 'Bree+Serif', 'value'=>'Bree+Serif'),
  array('label' => 'Bubblegum+Sans', 'value'=>'Bubblegum+Sans'),
  array('label' => 'Bubbler+One', 'value'=>'Bubbler+One'),
  array('label' => 'Buda', 'value'=>'Buda'),
  array('label' => 'Buenard', 'value'=>'Buenard'),
  array('label' => 'Butcherman', 'value'=>'Butcherman'),
  array('label' => 'Butterfly+Kids', 'value'=>'Butterfly+Kids'),
  array('label' => 'Cabin', 'value'=>'Cabin'),
  array('label' => 'Cabin+Condensed', 'value'=>'Cabin+Condensed'),
  array('label' => 'Cabin+Sketch', 'value'=>'Cabin+Sketch'),
  array('label' => 'Caesar+Dressing', 'value'=>'Caesar+Dressing'),
  array('label' => 'Cagliostro', 'value'=>'Cagliostro'),
  array('label' => 'Calligraffitti', 'value'=>'Calligraffitti'),
  array('label' => 'Cambay', 'value'=>'Cambay'),
  array('label' => 'Cambo', 'value'=>'Cambo'),
  array('label' => 'Candal', 'value'=>'Candal'),
  array('label' => 'Cantarell', 'value'=>'Cantarell'),
  array('label' => 'Cantata+One', 'value'=>'Cantata+One'),
  array('label' => 'Cantora+One', 'value'=>'Cantora+One'),
  array('label' => 'Capriola', 'value'=>'Capriola'),
  array('label' => 'Cardo', 'value'=>'Cardo'),
  array('label' => 'Carme', 'value'=>'Carme'),
  array('label' => 'Carrois+Gothic', 'value'=>'Carrois+Gothic'),
  array('label' => 'Carrois+Gothic+SC', 'value'=>'Carrois+Gothic+SC'),
  array('label' => 'Carter+One', 'value'=>'Carter+One'),
  array('label' => 'Catamaran', 'value'=>'Catamaran'),
  array('label' => 'Caudex', 'value'=>'Caudex'),
  array('label' => 'Caveat', 'value'=>'Caveat'),
  array('label' => 'Caveat+Brush', 'value'=>'Caveat+Brush'),
  array('label' => 'Cedarville+Cursive', 'value'=>'Cedarville+Cursive'),
  array('label' => 'Ceviche+One', 'value'=>'Ceviche+One'),
  array('label' => 'Changa+One', 'value'=>'Changa+One'),
  array('label' => 'Chango', 'value'=>'Chango'),
  array('label' => 'Chau+Philomene+One', 'value'=>'Chau+Philomene+One'),
  array('label' => 'Chela+One', 'value'=>'Chela+One'),
  array('label' => 'Chelsea+Market', 'value'=>'Chelsea+Market'),
  array('label' => 'Chenla', 'value'=>'Chenla'),
  array('label' => 'Cherry+Cream+Soda', 'value'=>'Cherry+Cream+Soda'),
  array('label' => 'Cherry+Swash', 'value'=>'Cherry+Swash'),
  array('label' => 'Chewy', 'value'=>'Chewy'),
  array('label' => 'Chicle', 'value'=>'Chicle'),
  array('label' => 'Chivo', 'value'=>'Chivo'),
  array('label' => 'Chonburi', 'value'=>'Chonburi'),
  array('label' => 'Cinzel', 'value'=>'Cinzel'),
  array('label' => 'Cinzel+Decorative', 'value'=>'Cinzel+Decorative'),
  array('label' => 'Clicker+Script', 'value'=>'Clicker+Script'),
  array('label' => 'Coda', 'value'=>'Coda'),
  array('label' => 'Coda+Caption', 'value'=>'Coda+Caption'),
  array('label' => 'Codystar', 'value'=>'Codystar'),
  array('label' => 'Combo', 'value'=>'Combo'),
  array('label' => 'Comfortaa', 'value'=>'Comfortaa'),
  array('label' => 'Coming+Soon', 'value'=>'Coming+Soon'),
  array('label' => 'Concert+One', 'value'=>'Concert+One'),
  array('label' => 'Condiment', 'value'=>'Condiment'),
  array('label' => 'Content', 'value'=>'Content'),
  array('label' => 'Contrail+One', 'value'=>'Contrail+One'),
  array('label' => 'Convergence', 'value'=>'Convergence'),
  array('label' => 'Cookie', 'value'=>'Cookie'),
  array('label' => 'Copse', 'value'=>'Copse'),
  array('label' => 'Corben', 'value'=>'Corben'),
  array('label' => 'Courgette', 'value'=>'Courgette'),
  array('label' => 'Cousine', 'value'=>'Cousine'),
  array('label' => 'Coustard', 'value'=>'Coustard'),
  array('label' => 'Covered+By+Your+Grace', 'value'=>'Covered+By+Your+Grace'),
  array('label' => 'Crafty+Girls', 'value'=>'Crafty+Girls'),
  array('label' => 'Creepster', 'value'=>'Creepster'),
  array('label' => 'Crete+Round', 'value'=>'Crete+Round'),
  array('label' => 'Crimson+Text', 'value'=>'Crimson+Text'),
  array('label' => 'Croissant+One', 'value'=>'Croissant+One'),
  array('label' => 'Crushed', 'value'=>'Crushed'),
  array('label' => 'Cuprum', 'value'=>'Cuprum'),
  array('label' => 'Cutive', 'value'=>'Cutive'),
  array('label' => 'Cutive+Mono', 'value'=>'Cutive+Mono'),
  array('label' => 'Damion', 'value'=>'Damion'),
  array('label' => 'Dancing+Script', 'value'=>'Dancing+Script'),
  array('label' => 'Dangrek', 'value'=>'Dangrek'),
  array('label' => 'Dawning+of+a+New+Day', 'value'=>'Dawning+of+a+New+Day'),
  array('label' => 'Days+One', 'value'=>'Days+One'),
  array('label' => 'Dekko', 'value'=>'Dekko'),
  array('label' => 'Delius', 'value'=>'Delius'),
  array('label' => 'Delius+Swash+Caps', 'value'=>'Delius+Swash+Caps'),
  array('label' => 'Delius+Unicase', 'value'=>'Delius+Unicase'),
  array('label' => 'Della+Respira', 'value'=>'Della+Respira'),
  array('label' => 'Denk+One', 'value'=>'Denk+One'),
  array('label' => 'Devonshire', 'value'=>'Devonshire'),
  array('label' => 'Dhurjati', 'value'=>'Dhurjati'),
  array('label' => 'Didact+Gothic', 'value'=>'Didact+Gothic'),
  array('label' => 'Diplomata', 'value'=>'Diplomata'),
  array('label' => 'Diplomata+SC', 'value'=>'Diplomata+SC'),
  array('label' => 'Domine', 'value'=>'Domine'),
  array('label' => 'Donegal+One', 'value'=>'Donegal+One'),
  array('label' => 'Doppio+One', 'value'=>'Doppio+One'),
  array('label' => 'Dorsa', 'value'=>'Dorsa'),
  array('label' => 'Dosis', 'value'=>'Dosis'),
  array('label' => 'Dr+Sugiyama', 'value'=>'Dr+Sugiyama'),
  array('label' => 'Droid+Sans', 'value'=>'Droid+Sans'),
  array('label' => 'Droid+Sans+Mono', 'value'=>'Droid+Sans+Mono'),
  array('label' => 'Droid+Serif', 'value'=>'Droid+Serif'),
  array('label' => 'Duru+Sans', 'value'=>'Duru+Sans'),
  array('label' => 'Dynalight', 'value'=>'Dynalight'),
  array('label' => 'EB+Garamond', 'value'=>'EB+Garamond'),
  array('label' => 'Eagle+Lake', 'value'=>'Eagle+Lake'),
  array('label' => 'Eater', 'value'=>'Eater'),
  array('label' => 'Economica', 'value'=>'Economica'),
  array('label' => 'Eczar', 'value'=>'Eczar'),
  array('label' => 'Ek+Mukta', 'value'=>'Ek+Mukta'),
  array('label' => 'Electrolize', 'value'=>'Electrolize'),
  array('label' => 'Elsie', 'value'=>'Elsie'),
  array('label' => 'Elsie+Swash+Caps', 'value'=>'Elsie+Swash+Caps'),
  array('label' => 'Emblema+One', 'value'=>'Emblema+One'),
  array('label' => 'Emilys+Candy', 'value'=>'Emilys+Candy'),
  array('label' => 'Engagement', 'value'=>'Engagement'),
  array('label' => 'Englebert', 'value'=>'Englebert'),
  array('label' => 'Enriqueta', 'value'=>'Enriqueta'),
  array('label' => 'Erica+One', 'value'=>'Erica+One'),
  array('label' => 'Esteban', 'value'=>'Esteban'),
  array('label' => 'Euphoria+Script', 'value'=>'Euphoria+Script'),
  array('label' => 'Ewert', 'value'=>'Ewert'),
  array('label' => 'Exo', 'value'=>'Exo'),
  array('label' => 'Exo+2', 'value'=>'Exo+2'),
  array('label' => 'Expletus+Sans', 'value'=>'Expletus+Sans'),
  array('label' => 'Fanwood+Text', 'value'=>'Fanwood+Text'),
  array('label' => 'Fascinate', 'value'=>'Fascinate'),
  array('label' => 'Fascinate+Inline', 'value'=>'Fascinate+Inline'),
  array('label' => 'Faster+One', 'value'=>'Faster+One'),
  array('label' => 'Fasthand', 'value'=>'Fasthand'),
  array('label' => 'Fauna+One', 'value'=>'Fauna+One'),
  array('label' => 'Federant', 'value'=>'Federant'),
  array('label' => 'Federo', 'value'=>'Federo'),
  array('label' => 'Felipa', 'value'=>'Felipa'),
  array('label' => 'Fenix', 'value'=>'Fenix'),
  array('label' => 'Finger+Paint', 'value'=>'Finger+Paint'),
  array('label' => 'Fira+Mono', 'value'=>'Fira+Mono'),
  array('label' => 'Fira+Sans', 'value'=>'Fira+Sans'),
  array('label' => 'Fjalla+One', 'value'=>'Fjalla+One'),
  array('label' => 'Fjord+One', 'value'=>'Fjord+One'),
  array('label' => 'Flamenco', 'value'=>'Flamenco'),
  array('label' => 'Flavors', 'value'=>'Flavors'),
  array('label' => 'Fondamento', 'value'=>'Fondamento'),
  array('label' => 'Fontdiner+Swanky', 'value'=>'Fontdiner+Swanky'),
  array('label' => 'Forum', 'value'=>'Forum'),
  array('label' => 'Francois+One', 'value'=>'Francois+One'),
  array('label' => 'Freckle+Face', 'value'=>'Freckle+Face'),
  array('label' => 'Fredericka+the+Great', 'value'=>'Fredericka+the+Great'),
  array('label' => 'Fredoka+One', 'value'=>'Fredoka+One'),
  array('label' => 'Freehand', 'value'=>'Freehand'),
  array('label' => 'Fresca', 'value'=>'Fresca'),
  array('label' => 'Frijole', 'value'=>'Frijole'),
  array('label' => 'Fruktur', 'value'=>'Fruktur'),
  array('label' => 'Fugaz+One', 'value'=>'Fugaz+One'),
  array('label' => 'GFS+Didot', 'value'=>'GFS+Didot'),
  array('label' => 'GFS+Neohellenic', 'value'=>'GFS+Neohellenic'),
  array('label' => 'Gabriela', 'value'=>'Gabriela'),
  array('label' => 'Gafata', 'value'=>'Gafata'),
  array('label' => 'Galdeano', 'value'=>'Galdeano'),
  array('label' => 'Galindo', 'value'=>'Galindo'),
  array('label' => 'Gentium+Basic', 'value'=>'Gentium+Basic'),
  array('label' => 'Gentium+Book+Basic', 'value'=>'Gentium+Book+Basic'),
  array('label' => 'Geo', 'value'=>'Geo'),
  array('label' => 'Geostar', 'value'=>'Geostar'),
  array('label' => 'Geostar+Fill', 'value'=>'Geostar+Fill'),
  array('label' => 'Germania+One', 'value'=>'Germania+One'),
  array('label' => 'Gidugu', 'value'=>'Gidugu'),
  array('label' => 'Gilda+Display', 'value'=>'Gilda+Display'),
  array('label' => 'Give+You+Glory', 'value'=>'Give+You+Glory'),
  array('label' => 'Glass+Antiqua', 'value'=>'Glass+Antiqua'),
  array('label' => 'Glegoo', 'value'=>'Glegoo'),
  array('label' => 'Gloria+Hallelujah', 'value'=>'Gloria+Hallelujah'),
  array('label' => 'Goblin+One', 'value'=>'Goblin+One'),
  array('label' => 'Gochi+Hand', 'value'=>'Gochi+Hand'),
  array('label' => 'Gorditas', 'value'=>'Gorditas'),
  array('label' => 'Goudy+Bookletter+1911', 'value'=>'Goudy+Bookletter+1911'),
  array('label' => 'Graduate', 'value'=>'Graduate'),
  array('label' => 'Grand+Hotel', 'value'=>'Grand+Hotel'),
  array('label' => 'Gravitas+One', 'value'=>'Gravitas+One'),
  array('label' => 'Great+Vibes', 'value'=>'Great+Vibes'),
  array('label' => 'Griffy', 'value'=>'Griffy'),
  array('label' => 'Gruppo', 'value'=>'Gruppo'),
  array('label' => 'Gudea', 'value'=>'Gudea'),
  array('label' => 'Gurajada', 'value'=>'Gurajada'),
  array('label' => 'Habibi', 'value'=>'Habibi'),
  array('label' => 'Halant', 'value'=>'Halant'),
  array('label' => 'Hammersmith+One', 'value'=>'Hammersmith+One'),
  array('label' => 'Hanalei', 'value'=>'Hanalei'),
  array('label' => 'Hanalei+Fill', 'value'=>'Hanalei+Fill'),
  array('label' => 'Handlee', 'value'=>'Handlee'),
  array('label' => 'Hanuman', 'value'=>'Hanuman'),
  array('label' => 'Happy+Monkey', 'value'=>'Happy+Monkey'),
  array('label' => 'Headland+One', 'value'=>'Headland+One'),
  array('label' => 'Henny+Penny', 'value'=>'Henny+Penny'),
  array('label' => 'Herr+Von+Muellerhoff', 'value'=>'Herr+Von+Muellerhoff'),
  array('label' => 'Hind', 'value'=>'Hind'),
  array('label' => 'Hind+Siliguri', 'value'=>'Hind+Siliguri'),
  array('label' => 'Hind+Vadodara', 'value'=>'Hind+Vadodara'),
  array('label' => 'Holtwood+One+SC', 'value'=>'Holtwood+One+SC'),
  array('label' => 'Homemade+Apple', 'value'=>'Homemade+Apple'),
  array('label' => 'Homenaje', 'value'=>'Homenaje'),
  array('label' => 'IM+Fell+DW+Pica', 'value'=>'IM+Fell+DW+Pica'),
  array('label' => 'IM+Fell+DW+Pica+SC', 'value'=>'IM+Fell+DW+Pica+SC'),
  array('label' => 'IM+Fell+Double+Pica', 'value'=>'IM+Fell+Double+Pica'),
  array('label' => 'IM+Fell+Double+Pica+SC', 'value'=>'IM+Fell+Double+Pica+SC'),
  array('label' => 'IM+Fell+English', 'value'=>'IM+Fell+English'),
  array('label' => 'IM+Fell+English+SC', 'value'=>'IM+Fell+English+SC'),
  array('label' => 'IM+Fell+French+Canon', 'value'=>'IM+Fell+French+Canon'),
  array('label' => 'IM+Fell+French+Canon+SC', 'value'=>'IM+Fell+French+Canon+SC'),
  array('label' => 'IM+Fell+Great+Primer', 'value'=>'IM+Fell+Great+Primer'),
  array('label' => 'IM+Fell+Great+Primer+SC', 'value'=>'IM+Fell+Great+Primer+SC'),
  array('label' => 'Iceberg', 'value'=>'Iceberg'),
  array('label' => 'Iceland', 'value'=>'Iceland'),
  array('label' => 'Imprima', 'value'=>'Imprima'),
  array('label' => 'Inconsolata', 'value'=>'Inconsolata'),
  array('label' => 'Inder', 'value'=>'Inder'),
  array('label' => 'Indie+Flower', 'value'=>'Indie+Flower'),
  array('label' => 'Inika', 'value'=>'Inika'),
  array('label' => 'Inknut+Antiqua', 'value'=>'Inknut+Antiqua'),
  array('label' => 'Irish+Grover', 'value'=>'Irish+Grover'),
  array('label' => 'Istok+Web', 'value'=>'Istok+Web'),
  array('label' => 'Italiana', 'value'=>'Italiana'),
  array('label' => 'Italianno', 'value'=>'Italianno'),
  array('label' => 'Itim', 'value'=>'Itim'),
  array('label' => 'Jacques+Francois', 'value'=>'Jacques+Francois'),
  array('label' => 'Jacques+Francois+Shadow', 'value'=>'Jacques+Francois+Shadow'),
  array('label' => 'Jaldi', 'value'=>'Jaldi'),
  array('label' => 'Jim+Nightshade', 'value'=>'Jim+Nightshade'),
  array('label' => 'Jockey+One', 'value'=>'Jockey+One'),
  array('label' => 'Jolly+Lodger', 'value'=>'Jolly+Lodger'),
  array('label' => 'Josefin+Sans', 'value'=>'Josefin+Sans'),
  array('label' => 'Josefin+Slab', 'value'=>'Josefin+Slab'),
  array('label' => 'Joti+One', 'value'=>'Joti+One'),
  array('label' => 'Judson', 'value'=>'Judson'),
  array('label' => 'Julee', 'value'=>'Julee'),
  array('label' => 'Julius+Sans+One', 'value'=>'Julius+Sans+One'),
  array('label' => 'Junge', 'value'=>'Junge'),
  array('label' => 'Jura', 'value'=>'Jura'),
  array('label' => 'Just+Another+Hand', 'value'=>'Just+Another+Hand'),
  array('label' => 'Just+Me+Again+Down+Here', 'value'=>'Just+Me+Again+Down+Here'),
  array('label' => 'Kadwa', 'value'=>'Kadwa'),
  array('label' => 'Kalam', 'value'=>'Kalam'),
  array('label' => 'Kameron', 'value'=>'Kameron'),
  array('label' => 'Kantumruy', 'value'=>'Kantumruy'),
  array('label' => 'Karla', 'value'=>'Karla'),
  array('label' => 'Karma', 'value'=>'Karma'),
  array('label' => 'Kaushan+Script', 'value'=>'Kaushan+Script'),
  array('label' => 'Kavoon', 'value'=>'Kavoon'),
  array('label' => 'Kdam+Thmor', 'value'=>'Kdam+Thmor'),
  array('label' => 'Keania+One', 'value'=>'Keania+One'),
  array('label' => 'Kelly+Slab', 'value'=>'Kelly+Slab'),
  array('label' => 'Kenia', 'value'=>'Kenia'),
  array('label' => 'Khand', 'value'=>'Khand'),
  array('label' => 'Khmer', 'value'=>'Khmer'),
  array('label' => 'Khula', 'value'=>'Khula'),
  array('label' => 'Kite+One', 'value'=>'Kite+One'),
  array('label' => 'Knewave', 'value'=>'Knewave'),
  array('label' => 'Kotta+One', 'value'=>'Kotta+One'),
  array('label' => 'Koulen', 'value'=>'Koulen'),
  array('label' => 'Kranky', 'value'=>'Kranky'),
  array('label' => 'Kreon', 'value'=>'Kreon'),
  array('label' => 'Kristi', 'value'=>'Kristi'),
  array('label' => 'Krona+One', 'value'=>'Krona+One'),
  array('label' => 'Kurale', 'value'=>'Kurale'),
  array('label' => 'La+Belle+Aurore', 'value'=>'La+Belle+Aurore'),
  array('label' => 'Laila', 'value'=>'Laila'),
  array('label' => 'Lakki+Reddy', 'value'=>'Lakki+Reddy'),
  array('label' => 'Lancelot', 'value'=>'Lancelot'),
  array('label' => 'Lateef', 'value'=>'Lateef'),
  array('label' => 'Lato', 'value'=>'Lato'),
  array('label' => 'League+Script', 'value'=>'League+Script'),
  array('label' => 'Leckerli+One', 'value'=>'Leckerli+One'),
  array('label' => 'Ledger', 'value'=>'Ledger'),
  array('label' => 'Lekton', 'value'=>'Lekton'),
  array('label' => 'Lemon', 'value'=>'Lemon'),
  array('label' => 'Libre+Baskerville', 'value'=>'Libre+Baskerville'),
  array('label' => 'Life+Savers', 'value'=>'Life+Savers'),
  array('label' => 'Lilita+One', 'value'=>'Lilita+One'),
  array('label' => 'Lily+Script+One', 'value'=>'Lily+Script+One'),
  array('label' => 'Limelight', 'value'=>'Limelight'),
  array('label' => 'Linden+Hill', 'value'=>'Linden+Hill'),
  array('label' => 'Lobster', 'value'=>'Lobster'),
  array('label' => 'Lobster+Two', 'value'=>'Lobster+Two'),
  array('label' => 'Londrina+Outline', 'value'=>'Londrina+Outline'),
  array('label' => 'Londrina+Shadow', 'value'=>'Londrina+Shadow'),
  array('label' => 'Londrina+Sketch', 'value'=>'Londrina+Sketch'),
  array('label' => 'Londrina+Solid', 'value'=>'Londrina+Solid'),
  array('label' => 'Lora', 'value'=>'Lora'),
  array('label' => 'Love+Ya+Like+A+Sister', 'value'=>'Love+Ya+Like+A+Sister'),
  array('label' => 'Loved+by+the+King', 'value'=>'Loved+by+the+King'),
  array('label' => 'Lovers+Quarrel', 'value'=>'Lovers+Quarrel'),
  array('label' => 'Luckiest+Guy', 'value'=>'Luckiest+Guy'),
  array('label' => 'Lusitana', 'value'=>'Lusitana'),
  array('label' => 'Lustria', 'value'=>'Lustria'),
  array('label' => 'Macondo', 'value'=>'Macondo'),
  array('label' => 'Macondo+Swash+Caps', 'value'=>'Macondo+Swash+Caps'),
  array('label' => 'Magra', 'value'=>'Magra'),
  array('label' => 'Maiden+Orange', 'value'=>'Maiden+Orange'),
  array('label' => 'Mako', 'value'=>'Mako'),
  array('label' => 'Mallanna', 'value'=>'Mallanna'),
  array('label' => 'Mandali', 'value'=>'Mandali'),
  array('label' => 'Marcellus', 'value'=>'Marcellus'),
  array('label' => 'Marcellus+SC', 'value'=>'Marcellus+SC'),
  array('label' => 'Marck+Script', 'value'=>'Marck+Script'),
  array('label' => 'Margarine', 'value'=>'Margarine'),
  array('label' => 'Marko+One', 'value'=>'Marko+One'),
  array('label' => 'Marmelad', 'value'=>'Marmelad'),
  array('label' => 'Martel', 'value'=>'Martel'),
  array('label' => 'Martel+Sans', 'value'=>'Martel+Sans'),
  array('label' => 'Marvel', 'value'=>'Marvel'),
  array('label' => 'Mate', 'value'=>'Mate'),
  array('label' => 'Mate+SC', 'value'=>'Mate+SC'),
  array('label' => 'Maven+Pro', 'value'=>'Maven+Pro'),
  array('label' => 'McLaren', 'value'=>'McLaren'),
  array('label' => 'Meddon', 'value'=>'Meddon'),
  array('label' => 'MedievalSharp', 'value'=>'MedievalSharp'),
  array('label' => 'Medula+One', 'value'=>'Medula+One'),
  array('label' => 'Megrim', 'value'=>'Megrim'),
  array('label' => 'Meie+Script', 'value'=>'Meie+Script'),
  array('label' => 'Merienda', 'value'=>'Merienda'),
  array('label' => 'Merienda+One', 'value'=>'Merienda+One'),
  array('label' => 'Merriweather', 'value'=>'Merriweather'),
  array('label' => 'Merriweather+Sans', 'value'=>'Merriweather+Sans'),
  array('label' => 'Metal', 'value'=>'Metal'),
  array('label' => 'Metal+Mania', 'value'=>'Metal+Mania'),
  array('label' => 'Metamorphous', 'value'=>'Metamorphous'),
  array('label' => 'Metrophobic', 'value'=>'Metrophobic'),
  array('label' => 'Michroma', 'value'=>'Michroma'),
  array('label' => 'Milonga', 'value'=>'Milonga'),
  array('label' => 'Miltonian', 'value'=>'Miltonian'),
  array('label' => 'Miltonian+Tattoo', 'value'=>'Miltonian+Tattoo'),
  array('label' => 'Miniver', 'value'=>'Miniver'),
  array('label' => 'Miss+Fajardose', 'value'=>'Miss+Fajardose'),
  array('label' => 'Modak', 'value'=>'Modak'),
  array('label' => 'Modern+Antiqua', 'value'=>'Modern+Antiqua'),
  array('label' => 'Molengo', 'value'=>'Molengo'),
  array('label' => 'Molle', 'value'=>'Molle'),
  array('label' => 'Monda', 'value'=>'Monda'),
  array('label' => 'Monofett', 'value'=>'Monofett'),
  array('label' => 'Monoton', 'value'=>'Monoton'),
  array('label' => 'Monsieur+La+Doulaise', 'value'=>'Monsieur+La+Doulaise'),
  array('label' => 'Montaga', 'value'=>'Montaga'),
  array('label' => 'Montez', 'value'=>'Montez'),
  array('label' => 'Montserrat', 'value'=>'Montserrat'),
  array('label' => 'Montserrat+Alternates', 'value'=>'Montserrat+Alternates'),
  array('label' => 'Montserrat+Subrayada', 'value'=>'Montserrat+Subrayada'),
  array('label' => 'Moul', 'value'=>'Moul'),
  array('label' => 'Moulpali', 'value'=>'Moulpali'),
  array('label' => 'Mountains+of+Christmas', 'value'=>'Mountains+of+Christmas'),
  array('label' => 'Mouse+Memoirs', 'value'=>'Mouse+Memoirs'),
  array('label' => 'Mr+Bedfort', 'value'=>'Mr+Bedfort'),
  array('label' => 'Mr+Dafoe', 'value'=>'Mr+Dafoe'),
  array('label' => 'Mr+De+Haviland', 'value'=>'Mr+De+Haviland'),
  array('label' => 'Mrs+Saint+Delafield', 'value'=>'Mrs+Saint+Delafield'),
  array('label' => 'Mrs+Sheppards', 'value'=>'Mrs+Sheppards'),
  array('label' => 'Muli', 'value'=>'Muli'),
  array('label' => 'Mystery+Quest', 'value'=>'Mystery+Quest'),
  array('label' => 'NTR', 'value'=>'NTR'),
  array('label' => 'Neucha', 'value'=>'Neucha'),
  array('label' => 'Neuton', 'value'=>'Neuton'),
  array('label' => 'New+Rocker', 'value'=>'New+Rocker'),
  array('label' => 'News+Cycle', 'value'=>'News+Cycle'),
  array('label' => 'Niconne', 'value'=>'Niconne'),
  array('label' => 'Nixie+One', 'value'=>'Nixie+One'),
  array('label' => 'Nobile', 'value'=>'Nobile'),
  array('label' => 'Nokora', 'value'=>'Nokora'),
  array('label' => 'Norican', 'value'=>'Norican'),
  array('label' => 'Nosifer', 'value'=>'Nosifer'),
  array('label' => 'Nothing+You+Could+Do', 'value'=>'Nothing+You+Could+Do'),
  array('label' => 'Noticia+Text', 'value'=>'Noticia+Text'),
  array('label' => 'Noto+Sans', 'value'=>'Noto+Sans'),
  array('label' => 'Noto+Serif', 'value'=>'Noto+Serif'),
  array('label' => 'Nova+Cut', 'value'=>'Nova+Cut'),
  array('label' => 'Nova+Flat', 'value'=>'Nova+Flat'),
  array('label' => 'Nova+Mono', 'value'=>'Nova+Mono'),
  array('label' => 'Nova+Oval', 'value'=>'Nova+Oval'),
  array('label' => 'Nova+Round', 'value'=>'Nova+Round'),
  array('label' => 'Nova+Script', 'value'=>'Nova+Script'),
  array('label' => 'Nova+Slim', 'value'=>'Nova+Slim'),
  array('label' => 'Nova+Square', 'value'=>'Nova+Square'),
  array('label' => 'Numans', 'value'=>'Numans'),
  array('label' => 'Nunito', 'value'=>'Nunito'),
  array('label' => 'Odor+Mean+Chey', 'value'=>'Odor+Mean+Chey'),
  array('label' => 'Offside', 'value'=>'Offside'),
  array('label' => 'Old+Standard+TT', 'value'=>'Old+Standard+TT'),
  array('label' => 'Oldenburg', 'value'=>'Oldenburg'),
  array('label' => 'Oleo+Script', 'value'=>'Oleo+Script'),
  array('label' => 'Oleo+Script+Swash+Caps', 'value'=>'Oleo+Script+Swash+Caps'),
  array('label' => 'Open+Sans', 'value'=>'Open+Sans'),
  array('label' => 'Open+Sans+Condensed', 'value'=>'Open+Sans+Condensed'),
  array('label' => 'Oranienbaum', 'value'=>'Oranienbaum'),
  array('label' => 'Orbitron', 'value'=>'Orbitron'),
  array('label' => 'Oregano', 'value'=>'Oregano'),
  array('label' => 'Orienta', 'value'=>'Orienta'),
  array('label' => 'Original+Surfer', 'value'=>'Original+Surfer'),
  array('label' => 'Oswald', 'value'=>'Oswald'),
  array('label' => 'Over+the+Rainbow', 'value'=>'Over+the+Rainbow'),
  array('label' => 'Overlock', 'value'=>'Overlock'),
  array('label' => 'Overlock+SC', 'value'=>'Overlock+SC'),
  array('label' => 'Ovo', 'value'=>'Ovo'),
  array('label' => 'Oxygen', 'value'=>'Oxygen'),
  array('label' => 'Oxygen+Mono', 'value'=>'Oxygen+Mono'),
  array('label' => 'PT+Mono', 'value'=>'PT+Mono'),
  array('label' => 'PT+Sans', 'value'=>'PT+Sans'),
  array('label' => 'PT+Sans+Caption', 'value'=>'PT+Sans+Caption'),
  array('label' => 'PT+Sans+Narrow', 'value'=>'PT+Sans+Narrow'),
  array('label' => 'PT+Serif', 'value'=>'PT+Serif'),
  array('label' => 'PT+Serif+Caption', 'value'=>'PT+Serif+Caption'),
  array('label' => 'Pacifico', 'value'=>'Pacifico'),
  array('label' => 'Palanquin', 'value'=>'Palanquin'),
  array('label' => 'Palanquin+Dark', 'value'=>'Palanquin+Dark'),
  array('label' => 'Paprika', 'value'=>'Paprika'),
  array('label' => 'Parisienne', 'value'=>'Parisienne'),
  array('label' => 'Passero+One', 'value'=>'Passero+One'),
  array('label' => 'Passion+One', 'value'=>'Passion+One'),
  array('label' => 'Pathway+Gothic+One', 'value'=>'Pathway+Gothic+One'),
  array('label' => 'Patrick+Hand', 'value'=>'Patrick+Hand'),
  array('label' => 'Patrick+Hand+SC', 'value'=>'Patrick+Hand+SC'),
  array('label' => 'Patua+One', 'value'=>'Patua+One'),
  array('label' => 'Paytone+One', 'value'=>'Paytone+One'),
  array('label' => 'Peddana', 'value'=>'Peddana'),
  array('label' => 'Peralta', 'value'=>'Peralta'),
  array('label' => 'Permanent+Marker', 'value'=>'Permanent+Marker'),
  array('label' => 'Petit+Formal+Script', 'value'=>'Petit+Formal+Script'),
  array('label' => 'Petrona', 'value'=>'Petrona'),
  array('label' => 'Philosopher', 'value'=>'Philosopher'),
  array('label' => 'Piedra', 'value'=>'Piedra'),
  array('label' => 'Pinyon+Script', 'value'=>'Pinyon+Script'),
  array('label' => 'Pirata+One', 'value'=>'Pirata+One'),
  array('label' => 'Plaster', 'value'=>'Plaster'),
  array('label' => 'Play', 'value'=>'Play'),
  array('label' => 'Playball', 'value'=>'Playball'),
  array('label' => 'Playfair+Display', 'value'=>'Playfair+Display'),
  array('label' => 'Playfair+Display+SC', 'value'=>'Playfair+Display+SC'),
  array('label' => 'Podkova', 'value'=>'Podkova'),
  array('label' => 'Poiret+One', 'value'=>'Poiret+One'),
  array('label' => 'Poller+One', 'value'=>'Poller+One'),
  array('label' => 'Poly', 'value'=>'Poly'),
  array('label' => 'Pompiere', 'value'=>'Pompiere'),
  array('label' => 'Pontano+Sans', 'value'=>'Pontano+Sans'),
  array('label' => 'Poppins', 'value'=>'Poppins'),
  array('label' => 'Port+Lligat+Sans', 'value'=>'Port+Lligat+Sans'),
  array('label' => 'Port+Lligat+Slab', 'value'=>'Port+Lligat+Slab'),
  array('label' => 'Pragati+Narrow', 'value'=>'Pragati+Narrow'),
  array('label' => 'Prata', 'value'=>'Prata'),
  array('label' => 'Preahvihear', 'value'=>'Preahvihear'),
  array('label' => 'Press+Start+2P', 'value'=>'Press+Start+2P'),
  array('label' => 'Princess+Sofia', 'value'=>'Princess+Sofia'),
  array('label' => 'Prociono', 'value'=>'Prociono'),
  array('label' => 'Prosto+One', 'value'=>'Prosto+One'),
  array('label' => 'Puritan', 'value'=>'Puritan'),
  array('label' => 'Purple+Purse', 'value'=>'Purple+Purse'),
  array('label' => 'Quando', 'value'=>'Quando'),
  array('label' => 'Quantico', 'value'=>'Quantico'),
  array('label' => 'Quattrocento', 'value'=>'Quattrocento'),
  array('label' => 'Quattrocento+Sans', 'value'=>'Quattrocento+Sans'),
  array('label' => 'Questrial', 'value'=>'Questrial'),
  array('label' => 'Quicksand', 'value'=>'Quicksand'),
  array('label' => 'Quintessential', 'value'=>'Quintessential'),
  array('label' => 'Qwigley', 'value'=>'Qwigley'),
  array('label' => 'Racing+Sans+One', 'value'=>'Racing+Sans+One'),
  array('label' => 'Radley', 'value'=>'Radley'),
  array('label' => 'Rajdhani', 'value'=>'Rajdhani'),
  array('label' => 'Raleway', 'value'=>'Raleway'),
  array('label' => 'Raleway+Dots', 'value'=>'Raleway+Dots'),
  array('label' => 'Ramabhadra', 'value'=>'Ramabhadra'),
  array('label' => 'Ramaraja', 'value'=>'Ramaraja'),
  array('label' => 'Rambla', 'value'=>'Rambla'),
  array('label' => 'Rammetto+One', 'value'=>'Rammetto+One'),
  array('label' => 'Ranchers', 'value'=>'Ranchers'),
  array('label' => 'Rancho', 'value'=>'Rancho'),
  array('label' => 'Ranga', 'value'=>'Ranga'),
  array('label' => 'Rationale', 'value'=>'Rationale'),
  array('label' => 'Ravi+Prakash', 'value'=>'Ravi+Prakash'),
  array('label' => 'Redressed', 'value'=>'Redressed'),
  array('label' => 'Reenie+Beanie', 'value'=>'Reenie+Beanie'),
  array('label' => 'Revalia', 'value'=>'Revalia'),
  array('label' => 'Rhodium+Libre', 'value'=>'Rhodium+Libre'),
  array('label' => 'Ribeye', 'value'=>'Ribeye'),
  array('label' => 'Ribeye+Marrow', 'value'=>'Ribeye+Marrow'),
  array('label' => 'Righteous', 'value'=>'Righteous'),
  array('label' => 'Risque', 'value'=>'Risque'),
  array('label' => 'Roboto', 'value'=>'Roboto'),
  array('label' => 'Roboto+Condensed', 'value'=>'Roboto+Condensed'),
  array('label' => 'Roboto+Mono', 'value'=>'Roboto+Mono'),
  array('label' => 'Roboto+Slab', 'value'=>'Roboto+Slab'),
  array('label' => 'Rochester', 'value'=>'Rochester'),
  array('label' => 'Rock+Salt', 'value'=>'Rock+Salt'),
  array('label' => 'Rokkitt', 'value'=>'Rokkitt'),
  array('label' => 'Romanesco', 'value'=>'Romanesco'),
  array('label' => 'Ropa+Sans', 'value'=>'Ropa+Sans'),
  array('label' => 'Rosario', 'value'=>'Rosario'),
  array('label' => 'Rosarivo', 'value'=>'Rosarivo'),
  array('label' => 'Rouge+Script', 'value'=>'Rouge+Script'),
  array('label' => 'Rozha+One', 'value'=>'Rozha+One'),
  array('label' => 'Rubik', 'value'=>'Rubik'),
  array('label' => 'Rubik+Mono+One', 'value'=>'Rubik+Mono+One'),
  array('label' => 'Rubik+One', 'value'=>'Rubik+One'),
  array('label' => 'Ruda', 'value'=>'Ruda'),
  array('label' => 'Rufina', 'value'=>'Rufina'),
  array('label' => 'Ruge+Boogie', 'value'=>'Ruge+Boogie'),
  array('label' => 'Ruluko', 'value'=>'Ruluko'),
  array('label' => 'Rum+Raisin', 'value'=>'Rum+Raisin'),
  array('label' => 'Ruslan+Display', 'value'=>'Ruslan+Display'),
  array('label' => 'Russo+One', 'value'=>'Russo+One'),
  array('label' => 'Ruthie', 'value'=>'Ruthie'),
  array('label' => 'Rye', 'value'=>'Rye'),
  array('label' => 'Sacramento', 'value'=>'Sacramento'),
  array('label' => 'Sahitya', 'value'=>'Sahitya'),
  array('label' => 'Sail', 'value'=>'Sail'),
  array('label' => 'Salsa', 'value'=>'Salsa'),
  array('label' => 'Sanchez', 'value'=>'Sanchez'),
  array('label' => 'Sancreek', 'value'=>'Sancreek'),
  array('label' => 'Sansita+One', 'value'=>'Sansita+One'),
  array('label' => 'Sarala', 'value'=>'Sarala'),
  array('label' => 'Sarina', 'value'=>'Sarina'),
  array('label' => 'Sarpanch', 'value'=>'Sarpanch'),
  array('label' => 'Satisfy', 'value'=>'Satisfy'),
  array('label' => 'Scada', 'value'=>'Scada'),
  array('label' => 'Scheherazade', 'value'=>'Scheherazade'),
  array('label' => 'Schoolbell', 'value'=>'Schoolbell'),
  array('label' => 'Seaweed+Script', 'value'=>'Seaweed+Script'),
  array('label' => 'Sevillana', 'value'=>'Sevillana'),
  array('label' => 'Seymour+One', 'value'=>'Seymour+One'),
  array('label' => 'Shadows+Into+Light', 'value'=>'Shadows+Into+Light'),
  array('label' => 'Shadows+Into+Light+Two', 'value'=>'Shadows+Into+Light+Two'),
  array('label' => 'Shanti', 'value'=>'Shanti'),
  array('label' => 'Share', 'value'=>'Share'),
  array('label' => 'Share+Tech', 'value'=>'Share+Tech'),
  array('label' => 'Share+Tech+Mono', 'value'=>'Share+Tech+Mono'),
  array('label' => 'Shojumaru', 'value'=>'Shojumaru'),
  array('label' => 'Short+Stack', 'value'=>'Short+Stack'),
  array('label' => 'Siemreap', 'value'=>'Siemreap'),
  array('label' => 'Sigmar+One', 'value'=>'Sigmar+One'),
  array('label' => 'Signika', 'value'=>'Signika'),
  array('label' => 'Signika+Negative', 'value'=>'Signika+Negative'),
  array('label' => 'Simonetta', 'value'=>'Simonetta'),
  array('label' => 'Sintony', 'value'=>'Sintony'),
  array('label' => 'Sirin+Stencil', 'value'=>'Sirin+Stencil'),
  array('label' => 'Six+Caps', 'value'=>'Six+Caps'),
  array('label' => 'Skranji', 'value'=>'Skranji'),
  array('label' => 'Slabo+13px', 'value'=>'Slabo+13px'),
  array('label' => 'Slabo+27px', 'value'=>'Slabo+27px'),
  array('label' => 'Slackey', 'value'=>'Slackey'),
  array('label' => 'Smokum', 'value'=>'Smokum'),
  array('label' => 'Smythe', 'value'=>'Smythe'),
  array('label' => 'Sniglet', 'value'=>'Sniglet'),
  array('label' => 'Snippet', 'value'=>'Snippet'),
  array('label' => 'Snowburst+One', 'value'=>'Snowburst+One'),
  array('label' => 'Sofadi+One', 'value'=>'Sofadi+One'),
  array('label' => 'Sofia', 'value'=>'Sofia'),
  array('label' => 'Sonsie+One', 'value'=>'Sonsie+One'),
  array('label' => 'Sorts+Mill+Goudy', 'value'=>'Sorts+Mill+Goudy'),
  array('label' => 'Source+Code+Pro', 'value'=>'Source+Code+Pro'),
  array('label' => 'Source+Sans+Pro', 'value'=>'Source+Sans+Pro'),
  array('label' => 'Source+Serif+Pro', 'value'=>'Source+Serif+Pro'),
  array('label' => 'Special+Elite', 'value'=>'Special+Elite'),
  array('label' => 'Spicy+Rice', 'value'=>'Spicy+Rice'),
  array('label' => 'Spinnaker', 'value'=>'Spinnaker'),
  array('label' => 'Spirax', 'value'=>'Spirax'),
  array('label' => 'Squada+One', 'value'=>'Squada+One'),
  array('label' => 'Sree+Krushnadevaraya', 'value'=>'Sree+Krushnadevaraya'),
  array('label' => 'Stalemate', 'value'=>'Stalemate'),
  array('label' => 'Stalinist+One', 'value'=>'Stalinist+One'),
  array('label' => 'Stardos+Stencil', 'value'=>'Stardos+Stencil'),
  array('label' => 'Stint+Ultra+Condensed', 'value'=>'Stint+Ultra+Condensed'),
  array('label' => 'Stint+Ultra+Expanded', 'value'=>'Stint+Ultra+Expanded'),
  array('label' => 'Stoke', 'value'=>'Stoke'),
  array('label' => 'Strait', 'value'=>'Strait'),
  array('label' => 'Sue+Ellen+Francisco', 'value'=>'Sue+Ellen+Francisco'),
  array('label' => 'Sumana', 'value'=>'Sumana'),
  array('label' => 'Sunshiney', 'value'=>'Sunshiney'),
  array('label' => 'Supermercado+One', 'value'=>'Supermercado+One'),
  array('label' => 'Sura', 'value'=>'Sura'),
  array('label' => 'Suranna', 'value'=>'Suranna'),
  array('label' => 'Suravaram', 'value'=>'Suravaram'),
  array('label' => 'Suwannaphum', 'value'=>'Suwannaphum'),
  array('label' => 'Swanky+and+Moo+Moo', 'value'=>'Swanky+and+Moo+Moo'),
  array('label' => 'Syncopate', 'value'=>'Syncopate'),
  array('label' => 'Tangerine', 'value'=>'Tangerine'),
  array('label' => 'Taprom', 'value'=>'Taprom'),
  array('label' => 'Tauri', 'value'=>'Tauri'),
  array('label' => 'Teko', 'value'=>'Teko'),
  array('label' => 'Telex', 'value'=>'Telex'),
  array('label' => 'Tenali+Ramakrishna', 'value'=>'Tenali+Ramakrishna'),
  array('label' => 'Tenor+Sans', 'value'=>'Tenor+Sans'),
  array('label' => 'Text+Me+One', 'value'=>'Text+Me+One'),
  array('label' => 'The+Girl+Next+Door', 'value'=>'The+Girl+Next+Door'),
  array('label' => 'Tienne', 'value'=>'Tienne'),
  array('label' => 'Tillana', 'value'=>'Tillana'),
  array('label' => 'Timmana', 'value'=>'Timmana'),
  array('label' => 'Tinos', 'value'=>'Tinos'),
  array('label' => 'Titan+One', 'value'=>'Titan+One'),
  array('label' => 'Titillium+Web', 'value'=>'Titillium+Web'),
  array('label' => 'Trade+Winds', 'value'=>'Trade+Winds'),
  array('label' => 'Trocchi', 'value'=>'Trocchi'),
  array('label' => 'Trochut', 'value'=>'Trochut'),
  array('label' => 'Trykker', 'value'=>'Trykker'),
  array('label' => 'Tulpen+One', 'value'=>'Tulpen+One'),
  array('label' => 'Ubuntu', 'value'=>'Ubuntu'),
  array('label' => 'Ubuntu+Condensed', 'value'=>'Ubuntu+Condensed'),
  array('label' => 'Ubuntu+Mono', 'value'=>'Ubuntu+Mono'),
  array('label' => 'Ultra', 'value'=>'Ultra'),
  array('label' => 'Uncial+Antiqua', 'value'=>'Uncial+Antiqua'),
  array('label' => 'Underdog', 'value'=>'Underdog'),
  array('label' => 'Unica+One', 'value'=>'Unica+One'),
  array('label' => 'UnifrakturCook', 'value'=>'UnifrakturCook'),
  array('label' => 'UnifrakturMaguntia', 'value'=>'UnifrakturMaguntia'),
  array('label' => 'Unkempt', 'value'=>'Unkempt'),
  array('label' => 'Unlock', 'value'=>'Unlock'),
  array('label' => 'Unna', 'value'=>'Unna'),
  array('label' => 'VT323', 'value'=>'VT323'),
  array('label' => 'Vampiro+One', 'value'=>'Vampiro+One'),
  array('label' => 'Varela', 'value'=>'Varela'),
  array('label' => 'Varela+Round', 'value'=>'Varela+Round'),
  array('label' => 'Vast+Shadow', 'value'=>'Vast+Shadow'),
  array('label' => 'Vesper+Libre', 'value'=>'Vesper+Libre'),
  array('label' => 'Vibur', 'value'=>'Vibur'),
  array('label' => 'Vidaloka', 'value'=>'Vidaloka'),
  array('label' => 'Viga', 'value'=>'Viga'),
  array('label' => 'Voces', 'value'=>'Voces'),
  array('label' => 'Volkhov', 'value'=>'Volkhov'),
  array('label' => 'Vollkorn', 'value'=>'Vollkorn'),
  array('label' => 'Voltaire', 'value'=>'Voltaire'),
  array('label' => 'Waiting+for+the+Sunrise', 'value'=>'Waiting+for+the+Sunrise'),
  array('label' => 'Wallpoet', 'value'=>'Wallpoet'),
  array('label' => 'Walter+Turncoat', 'value'=>'Walter+Turncoat'),
  array('label' => 'Warnes', 'value'=>'Warnes'),
  array('label' => 'Wellfleet', 'value'=>'Wellfleet'),
  array('label' => 'Wendy+One', 'value'=>'Wendy+One'),
  array('label' => 'Wire+One', 'value'=>'Wire+One'),
  array('label' => 'Work+Sans', 'value'=>'Work+Sans'),
  array('label' => 'Yanone+Kaffeesatz', 'value'=>'Yanone+Kaffeesatz'),
  array('label' => 'Yantramanav', 'value'=>'Yantramanav'),
  array('label' => 'Yellowtail', 'value'=>'Yellowtail'),
  array('label' => 'Yeseva+One', 'value'=>'Yeseva+One'),
  array('label' => 'Yesteryear', 'value'=>'Yesteryear'),
  array('label' => 'Zeyada', 'value'=>'Zeyada')
);

/**
 * Initialize the custom theme options.
 */
add_action( 'admin_init', 'custom_theme_options' );

/**
 * Build the custom settings & update OptionTree.
 */
function custom_theme_options() {
  
  global $google_fonts;

  /* OptionTree is not loaded yet */
  if ( ! function_exists( 'ot_settings_id' ) )
    return false;
    
  /**
   * Get a copy of the saved settings array. 
   */
  $saved_settings = get_option( ot_settings_id(), array() );
  
  /**
   * Custom settings array that will eventually be 
   * passes to the OptionTree Settings API Class.
   */
  $custom_settings = array( 
    'sections'        => array( 
      array(
        'id'          => 'general',
        'title'       => __('General','toranj')
      ),
      array(
        'id'          => 'contact',
        'title'       => __('Contacts','toranj')
      ),
       array(
        'id'          => 'social_icons',
        'title'       => __('Social icons','toranj')
      ),
      array(
        'id'          => 'appearance',
        'title'       => __('Appearance','toranj')
      ),
      array(
        'id'          => 'blog_settings',
        'title'       => __('Blog Settings','toranj')
      ),
      array(
        'id'          => 'portfolio',
        'title'       => __('Portfolio','toranj')
      ),
      array(
        'id'          => 'gallery',
        'title'       => __('Gallery','toranj')
      ),
      array(
        'id'          => 'bulk_gallery',
        'title'       => __('Bulk Gallery','toranj')
      ),
      array(
        'id'          => 'woocommerce',
        'title'       => __('WooCommerce','toranj')
      ),
      array(
        'id'          => 'sidebars',
        'title'       => __('Sidebars','toranj')
      ),
      array(
        'id'          => 'slugs',
        'title'       => __('Post type Slugs','toranj')
      ),
      array(
        'id'          => 'social_sharing',
        'title'       => __('Social Sharing','toranj')
      ),
      array(
        'id'          => 'custom-css',
        'title'       => __('Custom CSS','toranj')
      ),
      array(
        'id'          => 'toranj_update',
        'title'       => __( 'Auto Update', 'toranj' )
      ),
    ),
    'settings'        => array(
        
      array(
        'id'          => 'custom_css',
        'label'       => __( 'CSS', 'option-tree-theme' ),
        'desc'        => '<p>' . __('Here you can add custom css to your website. This will override the theme options. We recommend using the child-theme to do advanced customizations.','toranj') . '</p>',
        'std'         => '
/*---sample style to change the color of menu icon --*/

/*
#menu-toggle,
#menu-toggle:after,
#menu-toggle:before{
    background-color:#fff;
}
*/
        ',
        'type'        => 'css',
        'section'     => 'custom-css',
        'rows'        => '20',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),

      /**
       * ----------------------------------------------------------------------------------------
       * auto update
       * ----------------------------------------------------------------------------------------
       */
      array(
        'id'          => 'toranj_envato_username',
        'label'       => __( 'Your Envato Username', 'toranj' ),
        'desc'        => __('Your Username at Envato which you have purchased the Theme.','toranj'),
        'std'         => '',
        'type'        => 'text',
        'section'     => 'toranj_update',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'toranj_envato_api_key',
        'label'       => __( 'Your Envato API Key', 'toranj' ),
        'desc'        => __('Your API key. Login to Envato and go to settings find the API Keys and make one or use an existing one.','toranj'),
        'std'         => '',
        'type'        => 'text',
        'section'     => 'toranj_update',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),

      /**
       * ----------------------------------------------------------------------------------------
       * social_sharing
       * ----------------------------------------------------------------------------------------
       */
      array(
        'id'          => 'metaboxes_text',
        'label'       => __('About Social Sharing','toranj'),
        'desc'        => __('You can enable sharing bottom on you website globally here, it will add a button on galleries to share your content.','toranj'),
        'std'         => '',
        'type'        => 'textblock',
        'section'     => 'social_sharing',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'enable_social_sharing',
        'label'       => __('Enable Social Sharing?','toranj'),
        'std'         => 'off',
        'type'        => 'on-off',
        'section'     => 'social_sharing',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'sharing_social_medias',
        'label'       => __('Sharing social media list','toranj'),
        'desc'        => '',
        'std'         => '',
        'type'        => 'list-item',
        'section'     => 'social_sharing',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => 'enable_social_sharing:is(on)',
        'operator'    => 'and',
        'settings'    => array( 
          array(
            'id'          => 'sharing_websites',
            'label'       => __('Select social sharing media','toranj'),
            'desc'        => '',
            'std'         => '',
            'type'        => 'select',
            'rows'        => '',
            'post_type'   => '',
            'taxonomy'    => '',
            'min_max_step'=> '',
            'class'       => '',
            'condition'   => '',
            'operator'    => 'and',
            'choices'     => array( 
              array(
                'value'       => 'facebook',
                'label'       => __('facebook','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'twitter',
                'label'       => __('twitter','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'google-plus',
                'label'       => __('google plus','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'digg',
                'label'       => __('Digg','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'linkedin',
                'label'       => __('linkedin','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'pinterest',
                'label'       => __('pinterest','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'buffer',
                'label'       => __('Buffer','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'tumblr',
                'label'       => __('Tumblr','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'reddit',
                'label'       => __('Reddit','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'stumbleUpon',
                'label'       => __('StumbleUpon','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'delicious',
                'label'       => __('delicious','toranj'),
                'src'         => ''
              )
            )
          )
        )
      ),
      /**
       * ----------------------------------------------------------------------------------------
       * slugs
       * ----------------------------------------------------------------------------------------
       */
      array(
        'id'          => 'metaboxes_text',
        'label'       => __('About Slugs','toranj'),
        'desc'        => __('Here you can set the slug of the custom post types of the theme.<br>If you do not know what this means leave them as they are.','toranj'),
        'std'         => '',
        'type'        => 'textblock',
        'section'     => 'slugs',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'portfolio_slug',
        'label'       => __('Portfolio slug','toranj'),
        'desc'        => __('Default value is <code>portfolio</code>, user lowercase url friendly characters and <strong>no space</strong>.','toranj'),
        'std'         => 'portfolio',
        'type'        => 'text',
        'section'     => 'slugs',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'portfolio_group_slug',
        'label'       => __('Portfolio Groups slug','toranj'),
        'desc'        => __('Default value is <code>portfoliogroup</code>, user lowercase url friendly characters and <strong>no space</strong>.','toranj'),
        'std'         => 'portfoliogroup',
        'type'        => 'text',
        'section'     => 'slugs',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'gallery_slug',
        'label'       => __('Gallery slug','toranj'),
        'desc'        => __('Default value is <code>gallery</code>, user lowercase url friendly characters and <strong>no space</strong>.','toranj'),
        'std'         => 'gallery',
        'type'        => 'text',
        'section'     => 'slugs',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'gallery_tax_slug',
        'label'       => __('Gallery Album slug','toranj'),
        'desc'        => __('Default value is <code>album</code>, user lowercase url friendly characters and <strong>no space</strong>.','toranj'),
        'std'         => 'album',
        'type'        => 'text',
        'section'     => 'slugs',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'bulk_gallery_slug',
        'label'       => __('Bulk Gallery slug','toranj'),
        'desc'        => __('Default value is <code>bulk-gallery</code>, user lowercase url friendly characters and <strong>no space</strong>.','toranj'),
        'std'         => 'bulk-gallery',
        'type'        => 'text',
        'section'     => 'slugs',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'bulk_gallery_category_slug',
        'label'       => __('Bulk Gallery category slug','toranj'),
        'desc'        => __('Default value is <code>gallery-category</code>, user lowercase url friendly characters and <strong>no space</strong>.','toranj'),
        'std'         => 'gallery-category',
        'type'        => 'text',
        'section'     => 'slugs',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      /**
       * ----------------------------------------------------------------------------------------
       * General
       * ----------------------------------------------------------------------------------------
       */
      array(
        'id'          => 'site_logo',
        'label'       => __('Logo','toranj'),
        'desc'        => __('Upload or select your main logo image. This image will be shown in top of sidebar.', 'toranj'),
        'std'         => '',
        'type'        => 'upload',
        'section'     => 'general',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'show_small_logo',
        'label'       => __('Show small logo?','toranj'),
        'desc'        => __('Select whether or not you want to have a small logo in collapsed sidebar', 'toranj'),
        'std'         => 'on',
        'type'        => 'on-off',
        'section'     => 'general',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'small_logo',
        'label'       => __('Small logo image','toranj'),
        'desc'        => '',
        'std'         => '',
        'type'        => 'upload',
        'section'     => 'general',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => 'show_small_logo:is(on)',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'copyright',
        'label'       => __('Copyright','toranj'),
        'desc'        => __('Copyright text which will be shown in bottom of sidebar', 'toranj'),
        'std'         => '@owwwlab',
        'type'        => 'textarea',
        'section'     => 'general',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'etc_analytics_code',
        'label'       => __('Analytics script','toranj'),
        'desc'        => __('Paste your Google analytics ( or other services ) code here','toranj'),
        'std'         => '',
        'type'        => 'textarea-simple',
        'section'     => 'general',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'etc_fav_icon',
        'label'       => __('Site favicon','toranj'),
        'desc'        => __('Upload a 16x16 or 32x32 .png or .ico file','toranj'),
        'std'         => '',
        'type'        => 'upload',
        'section'     => 'general',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'show_breadcrumbs',
        'label'       => __('Show Breadcrumbs?','toranj'),
        'desc'        => __('Select whether or not you want to breadcrumbs at pages', 'toranj'),
        'std'         => 'on',
        'type'        => 'on-off',
        'section'     => 'general',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'enable_lazyloud',
        'label'       => __('Enable lazyload on images?','toranj'),
        'std'         => 'off',
        'type'        => 'on-off',
        'section'     => 'general',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      

      /**
       * ----------------------------------------------------------------------------------------
       * contact
       * ----------------------------------------------------------------------------------------
       */
      array(
        'id'          => 'contact_contact',
        'label'       => __('Contacts','toranj'),
        'desc'        => '',
        'std'         => '',
        'type'        => 'list-item',
        'section'     => 'contact',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and',
        'settings'    => array( 
          array(
            'id'          => 'contact',
            'label'       => __('Contact','toranj'),
            'desc'        => __('Contact can be email, url, simple text, phone number, fax number, etc', 'toranj'),
            'std'         => '012345',
            'type'        => 'text',
            'rows'        => '',
            'post_type'   => '',
            'taxonomy'    => '',
            'min_max_step'=> '',
            'class'       => '',
            'condition'   => '',
            'operator'    => 'and'
          ),
          array(
            'id'          => 'icon',
            'label'       => __('Icon','toranj'),
            'desc'        => __('The icon to be shown beside the contact in the list, find your icon here: <a href="http://fontawesome.io/icons/" target="_blank">http://fontawesome.io/icons/</a> and input them like <code>fa-envelope</code>', 'toranj'),
            'std'         => 'fa-envelope',
            'type'        => 'text',
            'rows'        => '',
            'post_type'   => '',
            'taxonomy'    => '',
            'min_max_step'=> '',
            'class'       => '',
            'condition'   => '',
            'operator'    => 'and'
          )
        )
      ),
      array(
        'id'          => 'contact_location',
        'label'       => __('Location','toranj'),
        'desc'        => __('input your location(s)', 'toranj'),
        'std'         => '',
        'type'        => 'textarea',
        'section'     => 'contact',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'contact_address',
        'label'       => __('Address','toranj'),
        'desc'        => '',
        'std'         => 'Footscray VIC 3011 Australia',
        'type'        => 'text',
        'section'     => 'contact',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'toranj_gmap_max_zoom',
        'label'       => __('Google Map - Maximum zoom','toranj'),
        'desc'        => 'Default:20',
        'std'         => '20',
        'type'        => 'numeric-slider',
        'section'     => 'contact',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '5,20,1',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'toranj_gmap_initial_zoom',
        'label'       => __('Google Map - Initial zoom','toranj'),
        'desc'        => 'Default:15',
        'std'         => '15',
        'type'        => 'numeric-slider',
        'section'     => 'contact',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '5,20,1',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),

      /**
       * ----------------------------------------------------------------------------------------
       * social icons
       * ----------------------------------------------------------------------------------------
       */
      array(
        'id'          => 'social_icons',
        'label'       => __('Side bar social icons','toranj'),
        'desc'        => '',
        'std'         => '',
        'type'        => 'list-item',
        'section'     => 'social_icons',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and',
        'settings'    => array( 
          array(
            'id'          => 'si_icon',
            'label'       => __('Select icon','toranj'),
            'desc'        => '',
            'std'         => '',
            'type'        => 'select',
            'rows'        => '',
            'post_type'   => '',
            'taxonomy'    => '',
            'min_max_step'=> '',
            'class'       => '',
            'condition'   => '',
            'operator'    => 'and',
            'choices'     => array( 
              array(
                'value'       => 'facebook',
                'label'       => __('facebook','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'twitter',
                'label'       => __('twitter','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'instagram',
                'label'       => __('instagram','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'flickr',
                'label'       => __('flickr','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'youtube',
                'label'       => __('youtube','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'google-plus',
                'label'       => __('google plus','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'behance',
                'label'       => __('behance','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'digg',
                'label'       => __('Digg','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'dribble',
                'label'       => __('Dribble','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'dropbox',
                'label'       => __('Dropbox','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'flickr',
                'label'       => __('Flickr','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'github',
                'label'       => __('github','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'linkedin',
                'label'       => __('linkedin','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'pinterest',
                'label'       => __('pinterest','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'qq',
                'label'       => __('qq','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'soundcloud',
                'label'       => __('soundcloud','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'spotify',
                'label'       => __('spotify','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'stack-overflow',
                'label'       => __('stackoverflow','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'vine',
                'label'       => __('vine','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => 'vimeo-square',
                'label'       => __('Vimeo','toranj'),
                'src'         => ''
              ),
              array(
                'value'       => '500px',
                'label'       => __('500px','toranj'),
                'src'         => ''
              )
            )
          ),
          array(
            'id'          => 'si_url',
            'label'       => __('URL','toranj'),
            'desc'        => '',
            'std'         => '#',
            'type'        => 'text',
            'rows'        => '',
            'post_type'   => '',
            'taxonomy'    => '',
            'min_max_step'=> '',
            'class'       => '',
            'condition'   => '',
            'operator'    => 'and'
          )
        )
      ),

      /**
       * ----------------------------------------------------------------------------------------
       * appearance
       * ----------------------------------------------------------------------------------------
       */
      
      
      array(
        'id'          => 'fixed_sidebar',
        'label'       => __('Fixed sidebar','toranj'),
        'desc'        => __('Setting this to be On, will fix the sidebar to be shown all the time', 'toranj'),
        'std'         => 'off',
        'type'        => 'on-off',
        'section'     => 'appearance',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'dark_sidebar',
        'label'       => __('Dark sidebar','toranj'),
        'desc'        => __('This will use an alternative color scheme for the sidebar.', 'toranj'),
        'std'         => 'off',
        'type'        => 'on-off',
        'section'     => 'appearance',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'color_accent',
        'label'       => __('Accent color','toranj'),
        'std'         => '#dc971f',
        'type'        => 'colorpicker',
        'section'     => 'appearance',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'color_accent_2',
        'label'       => __('Accent color alt','toranj'),
        'desc'        => __('used as hover color','toranj'),
        'std'         => '#dc971f',
        'type'        => 'colorpicker',
        'section'     => 'appearance',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'light_page_bcolor',
        'label'       => __('Light pages background color','toranj'),
        'std'         => '#fdfdfd',
        'type'        => 'colorpicker',
        'section'     => 'appearance',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'dark_page_bcolor',
        'label'       => __('Dark pages background color','toranj'),
        'std'         => '#232323',
        'type'        => 'colorpicker',
        'section'     => 'appearance',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'side_bar_bcolor',
        'label'       => __('Main sidebar background color','toranj'),
        'std'         => '#fafaf5',
        'type'        => 'colorpicker',
        'section'     => 'appearance',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'inner_bar_bcolor',
        'label'       => __('Closed menu-bar background color','toranj'),
        'std'         => '#fafaf5',
        'type'        => 'colorpicker',
        'section'     => 'appearance',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
       array(
        'id'          => 'dark_sidebar_bcolor',
        'label'       => __('Background color of dark sidebar in gallery and portfolio pages ','toranj'),
        'desc'        =>__('The background color of dark sidebar in gallery and portfolio pages '),
        'std'         => '#232323',
        'type'        => 'colorpicker',
        'section'     => 'appearance',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
         array(
        'id'          => 'dark_main_bcolor',
        'label'       => __('Background color of main area in gallery and portfolio pages','toranj'),
        'desc'        =>__('The background color of main content area in gallery and portfolio pages '),
        'std'         => '#232323',
        'type'        => 'colorpicker',
        'section'     => 'appearance',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'label'       => __('Body font','toranj'),
        'id'          => 'toranj_body_font',
        'desc'        => __('Choose font for body ( Default is Raleway).','toranj'),
        'std'         => '',
        'type'        => 'select',
        'section'     => 'appearance',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'class'       => '',
        'choices'     => $google_fonts
        ),

      array(
        'label'       => 'Body font size',
        'id'          => __('toranj_body_font_size','toranj'),
        'type'        => 'measurement',
        'desc'        => __('Set font-size for texts','toranj'),
        'std'         => '',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'class'       => '',
        'section'     => 'appearance'
        ),

      /**
       * ----------------------------------------------------------------------------------------
       * blog
       * ----------------------------------------------------------------------------------------
       */
      array(
        'id'          => 'blog_index_layout',
        'label'       => __('Blog Index Layout','toranj'),
        'desc'        => __('Choose the layout you want for your blog index', 'toranj'),
        'std'         => 'grid',
        'type'        => 'radio',
        'section'     => 'blog_settings',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and',
        'choices'     => array( 
          array(
            'value'       => 'grid',
            'label'       => __('Grid','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'simple_list',
            'label'       => __('Simple list','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'list_with_sidebar',
            'label'       => __('List with Sidebar','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'minimal',
            'label'       => __('Minimal','toranj'),
            'src'         => ''
          )
        )
      ),
      array(
        'id'          => 'grid_blog_sidebar_content',
        'label'       => __('Grid blog sidebar content','toranj'),
        'desc'        => __('If you want some contents at the sidebar of the blog grid, put them here. Make sure you don\'t put so much content here, just a little bit of text or HTML as a description to your blog.', 'toranj'),
        'std'         => '',
        'type'        => 'textarea',
        'section'     => 'blog_settings',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => 'blog_index_layout:is(grid)',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'single_blog_post_layout',
        'label'       => __('Single Blog Post Layout','toranj'),
        'desc'        => __('Choose the layout of your single blog post', 'toranj'),
        'std'         => 'full_cover_no_sidebar',
        'type'        => 'radio',
        'section'     => 'blog_settings',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and',
        'choices'     => array( 
          array(
            'value'       => 'conv_with_side',
            'label'       => __('conventional layout with sidebar','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'conv_without_side',
            'label'       => __('Conventional Layout without sidebar','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'full_cover_no_sidebar',
            'label'       => __('Full Cover Image','toranj'),
            'src'         => ''
          )
        )
      ),
      array(
        'id'          => 'blog_read_more_button',
        'label'       => __('Blog Read More button','toranj'),
        'desc'        => __('Turn the blog list read more on or off - will not affect the minimal blog list layout', 'toranj'),
        'std'         => 'on',
        'type'        => 'on-off',
        'section'     => 'blog_settings',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'blog_read_more_button_style',
        'label'       => __('Blog Read more button style','toranj'),
        'desc'        => __('Select the style of your blog more button', 'toranj'),
        'std'         => 'btn-toranj',
        'type'        => 'radio',
        'section'     => 'blog_settings',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => 'blog_read_more_button:is(on)',
        'operator'    => 'and',
        'choices'     => array( 
          array(
            'value'       => 'btn-toranj',
            'label'       => __('Default ( accent color )','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'btn-toranj alt',
            'label'       => __('Default reverse','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'btn-default',
            'label'       => __('Light','toranj'),
            'src'         => ''
          )
        )
      ),
      array(
        'id'          => 'blog_read_more_button_size',
        'label'       => __('Blog Read More button size','toranj'),
        'desc'        => __('The size of your blog read more button', 'toranj'),
        'std'         => 'btn-lg',
        'type'        => 'radio',
        'section'     => 'blog_settings',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => 'blog_read_more_button:is(on)',
        'operator'    => 'and',
        'choices'     => array( 
          array(
            'value'       => 'btn-lg',
            'label'       => __('Large','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'medium',
            'label'       => __('Medium','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'btn-sm',
            'label'       => __('Small','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'btn-xs',
            'label'       => __('Extera Small','toranj'),
            'src'         => ''
          )
        )
      ),
      array(
        'id'          => 'single_blog_post_layout',
        'label'       => __('Single Blog Post Layout','toranj'),
        'desc'        => __('Select how you want to show your blog posts', 'toranj'),
        'std'         => 'full',
        'type'        => 'radio',
        'section'     => 'blog_settings',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and',
        'choices'     => array( 
          array(
            'value'       => 'full',
            'label'       => __('Full width cover','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'regular',
            'label'       => __('Regular','toranj'),
            'src'         => ''
          )
        )
      ),
      array(
        'id'          => 'show_author_bio',
        'label'       => __('Show author biography','toranj'),
        'desc'        => __('Do you want to show the bio of the author at the end of each blog post?', 'toranj'),
        'std'         => 'on',
        'type'        => 'on-off',
        'section'     => 'blog_settings',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'show_related_posts',
        'label'       => __('Show Related Posts','toranj'),
        'desc'        => __('If you want to show the related posts of the same category turn this on.', 'toranj'),
        'std'         => 'on',
        'type'        => 'on-off',
        'section'     => 'blog_settings',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'related_post_limit',
        'label'       => __('How many post to show?','toranj'),
        'desc'        => '',
        'std'         => '4',
        'type'        => 'numeric-slider',
        'section'     => 'blog_settings',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '2,10,1',
        'class'       => '',
        'condition'   => 'show_related_posts:is(on)',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'related_posts_gather_data_based_on',
        'label'       => __('Gather data based on','toranj'),
        'desc'        => '',
        'std'         => 'category',
        'type'        => 'radio',
        'section'     => 'blog_settings',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => 'show_related_posts:is(on)',
        'operator'    => 'and',
        'choices'     => array( 
          array(
            'value'       => 'category',
            'label'       => __('Category','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'tags',
            'label'       => __('Tags','toranj'),
            'src'         => ''
          )
        )
      ),
      array(
        'id'          => 'show_prev_next',
        'label'       => __('Show Prev and Next links at single post','toranj'),
        'desc'        => '',
        'std'         => 'on',
        'type'        => 'on-off',
        'section'     => 'blog_settings',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'show_sharings',
        'label'       => __('Show Sharings','toranj'),
        'desc'        => '',
        'std'         => 'off',
        'type'        => 'on-off',
        'section'     => 'blog_settings',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'sharings',
        'label'       => __('Sharings','toranj'),
        'desc'        => __('Witch social media sharing buttons do you want to show?', 'toranj'),
        'std'         => '',
        'type'        => 'checkbox',
        'section'     => 'blog_settings',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => 'show_sharings:is(on)',
        'operator'    => 'and',
        'choices'     => array( 
          array(
            'value'       => 'sharing_facebook',
            'label'       => __('Facebook','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'sharing_twitter',
            'label'       => __('Twitter','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'sharing_google_plus',
            'label'       => __('Google+','toranj'),
            'src'         => ''
          )
        )
      ),
      array(
        'id'          => 'sharing_title',
        'label'       => __('Sharing Title','toranj'),
        'desc'        => __('The Title of the Sharing section', 'toranj'),
        'std'         => 'Share',
        'type'        => 'text',
        'section'     => 'blog_settings',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => 'show_sharings:is(on)',
        'operator'    => 'and'
      ),

      /**
       * ----------------------------------------------------------------------------------------
       * portfolio
       * ----------------------------------------------------------------------------------------
       */
      array(
        'id'          => 'owlabUseAjax',
        'label'       => __('Enable Ajax for portfolio pages?','toranj'),
        'std'         => 'on',
        'type'        => 'on-off',
        'section'     => 'portfolio',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'metaboxes_text4',
        'label'       => __('About Slugs','toranj'),
        'desc'        => __('<h1>Following settings work on portfolio single pages</h1><hr>','toranj'),
        'std'         => '',
        'type'        => 'textblock',
        'section'     => 'portfolio',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),

      array(
        'id'          => 'metaboxes_text',
        'label'       => __('About sidebars','toranj'),
        'desc'        => __('Create additional fields for your portfolio items.', 'toranj'),
        'std'         => '',
        'type'        => 'textblock',
        'section'     => 'portfolio',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'label'       => __('Create Portfolio fields','toranj'),
        'id'          => 'incr_portfolio_fields',
        'type'        => 'list-item',
        'desc'        => __('Choose a unique title for each filed', 'toranj'),
        'section'     => 'portfolio',
        'settings'    => array(
          array(
            'label'       => __('ID','toranj'),
            'id'          => 'id',
            'type'        => 'text',
            'desc'        => __('Write a lowercase single world as ID (or number), without any spaces', 'toranj'),
            'std'         => '',
            'rows'        => '',
            'post_type'   => '',
            'taxonomy'    => '',
            'class'       => ''
          )
        )
      ),
      array(
        'id'          => 'portfolio_show_date',
        'label'       => __('Show date','toranj'),
        'desc'        => '',
        'std'         => 'on',
        'type'        => 'on-off',
        'section'     => 'portfolio',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      
      array(
        'id'          => 'portfolio_show_groups',
        'label'       => __('Show Groups list ( categories )','toranj'),
        'desc'        => '',
        'std'         => 'on',
        'type'        => 'on-off',
        'section'     => 'portfolio',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'portfolio_show_tags',
        'label'       => __('Show tags','toranj'),
        'desc'        => '',
        'std'         => 'on',
        'type'        => 'on-off',
        'section'     => 'portfolio',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),

      array(
        'id'          => 'metaboxes_text2',
        'label'       => __('About Slugs','toranj'),
        'desc'        => __('<h1>Following settings work on portfolio Archive page</h1><hr>','toranj'),
        'std'         => '',
        'type'        => 'textblock',
        'section'     => 'portfolio',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),

      
      array(
        'id'          => 'portfolio_index_layout',
        'label'       => __('Portfolio Archive layout','toranj'),
        'desc'        => __('Settings for:','toranj').'<a target="_blank" href="'.get_site_url().'/portfolio">'.get_site_url().'/portfolio</a>',
        'std'         => 'horizontal',
        'type'        => 'select',
        'section'     => 'portfolio',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and',
        'choices'     => array( 
          array(
            'value'       => 'grid',
            'label'       => __('Grid Layout','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'vertical',
            'label'       => __('Vertical Covers Scroll Horizontal','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'horizontal',
            'label'       => __('Horizontal Covers, Scroll Vertical','toranj'),
            'src'         => ''
          )
        )
      ),
      array(
        'id'          => 'portfolio_horizontal_animate',
        'label'       => __('Animation on scroll','toranj'),
        'desc'        => '',
        'std'         => 'on',
        'type'        => 'on-off',
        'section'     => 'portfolio',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => 'portfolio_index_layout:is(horizontal)',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'portfolio_title_1',
        'label'       => __('Archive page title line 1','toranj'),
        'desc'        => __('first part of the title, leave blank in case you don\'t want it', 'toranj'),
        'std'         => 'Browse our',
        'type'        => 'text',
        'section'     => 'portfolio',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'portfolio_title_2',
        'label'       => __('Archive page title line 2','toranj'),
        'desc'        => __('Second and bolder part of the title', 'toranj'),
        'std'         => 'Portfolio',
        'type'        => 'text',
        'section'     => 'portfolio',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'portfolio_side_content',
        'label'       => __('Archive page Side content','toranj'),
        'desc'        => __('This content will be displayed under the title at sidebar<br /> <strong>Note:</strong> keep it short','toranj'),
        'std'         => '',
        'type'        => 'textarea',
        'section'     => 'portfolio',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'portfolio_grid_same_ratio',
        'label'       => __('Same Ratio Thumbs for Archive page grid?','toranj'),
        'desc'        => __('If all your thumbnails are at the same ratio turn this on, for example if you want all your thumbs to be at the same size, or even if you have two different same ratio images. If you want to use images with variable heightes leave this to be off.', 'toranj'),
        'std'         => 'off',
        'type'        => 'on-off',
        'section'     => 'portfolio',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),

      array(
        'id'          => 'metaboxes_text10',
        'label'       => __('About Slugs','toranj'),
        'desc'        => __('<h1>Following settings work on portfolio group pages</h1><hr>','toranj'),
        'std'         => '',
        'type'        => 'textblock',
        'section'     => 'portfolio',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),

      array(
        'id'          => 'portfolio_group_upper_title',
        'label'       => __('Group page upper title ','toranj'),
        'desc'        => __('the title will be the name of the group', 'toranj'),
        'std'         => __('Browse Group','toranj'),
        'type'        => 'text',
        'section'     => 'portfolio',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),








      array(
        'id'          => 'metaboxes_text1',
        'label'       => __('About Slugs','toranj'),
        'desc'        => __('<h1>Following settings work on portfolio Archive page and group pages</h1><hr>','toranj'),
        'std'         => '',
        'type'        => 'textblock',
        'section'     => 'portfolio',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),

      array(
        'id'          => 'portfolio_grid_show_filters',
        'label'       => __('Show filters for Grid layout','toranj'),
        'desc'        => __('Do you want to show filters ( filter by group ) for Grid layout? <br> Note: We don\'t recommend to use both filters and side-content at the same time, use both on your own risk.','toranj'),
        'std'         => 'on',
        'type'        => 'on-off',
        'section'     => 'portfolio',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'filter_title',
        'label'       => __('Grid - Filter title','toranj'),
        'desc'        => '',
        'std'         => 'Groups',
        'type'        => 'text',
        'section'     => 'portfolio',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'portfolio_grid_show_sidebar',
        'label'       => __('Grid - Show sidebar?','toranj'),
        'std'         => 'on',
        'type'        => 'on-off',
        'section'     => 'portfolio',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      
      array(
        'id'          => 'portfolio_grid_hover',
        'label'       => __('Grid Hover style','toranj'),
        'desc'        => '',
        'std'         => '',
        'type'        => 'select',
        'section'     => 'portfolio',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and',
        'choices'     => array( 
          array(
            'value'       => 'tj-hover-1',
            'label'       => __('Style #1','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'tj-hover-2',
            'label'       => __('style #2','toranj'),
            'src'         => ''
          )
        )
      ),
      array(
        'id'          => 'portfolio_grid_nopadding',
        'label'       => __('Grid - Remove spaces between images ( no padding )','toranj'),
        'desc'        => '',
        'std'         => 'off',
        'type'        => 'on-off',
        'section'     => 'portfolio',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'portfolio_grid_larg_screen_column_count',
        'label'       => __('Grid - Large Screen column count','toranj'),
        'desc'        => __('Number of grid columns at large screens', 'toranj'),
        'std'         => '5',
        'type'        => 'numeric-slider',
        'section'     => 'portfolio',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '1,6',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'portfolio_grid_medium_column_count',
        'label'       => __('Grid - Medium Column Count','toranj'),
        'desc'        => __('For medium devices', 'toranj'),
        'std'         => '3',
        'type'        => 'numeric-slider',
        'section'     => 'portfolio',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '1,10',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'portfolio_grid_small_column_count',
        'label'       => __('Grid - Small Column Count','toranj'),
        'desc'        => __('For small display devices', 'toranj'),
        'std'         => '1',
        'type'        => 'numeric-slider',
        'section'     => 'portfolio',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '1,3',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      
      /**
       * ----------------------------------------------------------------------------------------
       * gallery
       * ----------------------------------------------------------------------------------------
       */
      array(
        'id'          => 'gallery_index_layout',
        'label'       => __('Archive layout','toranj'),
        'desc'        => __('choose how you want to show the index page of the gallery ( the page that will list all your images )', 'toranj'),
        'std'         => 'grid',
        'type'        => 'radio',
        'section'     => 'gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and',
        'choices'     => array( 
          array(
            'value'       => 'grid',
            'label'       => __('grid','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'horizontal',
            'label'       => __('horizontal scrolling','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'inpage',
            'label'       => __('inpage','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'minimal',
            'label'       => __('minimal','toranj'),
            'src'         => ''
          )
        )
      ),
      array(
        'id'          => 'gallery_title_1',
        'label'       => __('Archive page title line 1','toranj'),
        'desc'        => '',
        'std'         => '',
        'type'        => 'text',
        'section'     => 'gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'gallery_title_2',
        'label'       => __('Archive page title line 2','toranj'),
        'desc'        => '',
        'std'         => '',
        'type'        => 'text',
        'section'     => 'gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'gallery_side_content',
        'label'       => __('Archive page side content','toranj'),
        'desc'        => '',
        'std'         => '',
        'type'        => 'textarea',
        'section'     => 'gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'gallery_grid___same_ratio_thumbs',
        'label'       => __('Archive Page Same Ratio Thumbs on Grid?','toranj'),
        'desc'        => __('If all your thumbnails are at the same ratio turn this on, for example if you want all your thumbs to be at the same size, or even if you have two different same ratio images. If you want to use images with variable heightes leave this to be off.', 'toranj'),
        'std'         => '',
        'type'        => 'on-off',
        'section'     => 'gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => 'gallery_index_layout:is(grid)',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'metaboxes_text',
        'label'       => __('About Slugs','toranj'),
        'desc'        => __('<h1>Following settings work both on album pages and archive page</h1><hr>','toranj'),
        'std'         => '',
        'type'        => 'textblock',
        'section'     => 'gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),



      array(
        'id'          => 'gallery_index_overlay_type',
        'label'       => __('Image Hover type','toranj'),
        'desc'        => '',
        'std'         => '',
        'type'        => 'select',
        'section'     => 'gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and',
        'choices'     => array( 
          array(
            'value'       => 'simple-icon',
            'label'       => __('simple-icon','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'circle',
            'label'       => __('circle','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'plus-light',
            'label'       => __('plus-light','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'plus-dark',
            'label'       => __('plus-dark','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'plus-color',
            'label'       => __('plus-color','toranj'),
            'src'         => ''
          )
        )
      ),
      array(
        'id'          => 'gallery_grid___layout_type',
        'label'       => __('Grid - Layout Type','toranj'),
        'desc'        => __('choose between Layouts', 'toranj'),
        'std'         => '',
        'type'        => 'select',
        'section'     => 'gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => 'gallery_index_layout:is(grid)',
        'operator'    => 'and',
        'choices'     => array( 
          array(
            'value'       => 'with-sidebar',
            'label'       => __('With sidebar','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'full',
            'label'       => __('Full - No sidebar','toranj'),
            'src'         => ''
          )
        )
      ),
      array(
        'id'          => 'gallery_grid_show_filters',
        'label'       => __('Grid - Show filters?','toranj'),
        'desc'        => __('Do you want to show filters ( filter by group ) for Grid layout?  Note: We don\'t recommend to use both filters and side-content at the same time, use both on your own risk.','toranj'),
        'std'         => 'on',
        'type'        => 'on-off',
        'section'     => 'gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => 'gallery_index_layout:is(grid)',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'gallery_grid___filter_title',
        'label'       => __('Grid - Filter title','toranj'),
        'desc'        => '',
        'std'         => 'Filter',
        'type'        => 'text',
        'section'     => 'gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => 'gallery_index_layout:is(grid)',
        'operator'    => 'and'
      ),
      
      array(
        'id'          => 'gallery_grid___remove_spaces_between_images',
        'label'       => __('Grid - Remove spaces between images?','toranj'),
        'desc'        => '',
        'std'         => 'off',
        'type'        => 'on-off',
        'section'     => 'gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => 'gallery_index_layout:is(grid)',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'gallery_grid___larg_screen_column_count',
        'label'       => __('Grid - Large Screen column count','toranj'),
        'desc'        => __('Number of grid columns at large screens', 'toranj'),
        'std'         => '4',
        'type'        => 'numeric-slider',
        'section'     => 'gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '1,6',
        'class'       => '',
        'condition'   => 'gallery_index_layout:is(grid)',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'gallery_grid___medium_screen_column_count',
        'label'       => __('Grid - Medium Screen Column Count','toranj'),
        'desc'        => __('For medium devices', 'toranj'),
        'std'         => '3',
        'type'        => 'numeric-slider',
        'section'     => 'gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '1,10',
        'class'       => '',
        'condition'   => 'gallery_index_layout:is(grid)',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'gallery_grid___small_column_count',
        'label'       => __('Grid - Small Column Count','toranj'),
        'desc'        => __('For small display devices', 'toranj'),
        'std'         => '1',
        'type'        => 'numeric-slider',
        'section'     => 'gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '1,3',
        'class'       => '',
        'condition'   => 'gallery_index_layout:is(grid)',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'gallery_grid___xs_column_count',
        'label'       => __('Grid - mobile devices Column Count','toranj'),
        'desc'        => __('For mobile display devices', 'toranj'),
        'std'         => '1',
        'type'        => 'numeric-slider',
        'section'     => 'gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '1,3',
        'class'       => '',
        'condition'   => 'gallery_index_layout:is(grid)',
        'operator'    => 'and'
      ),

      /**
       * ----------------------------------------------------------------------------------------
       * Bulk gallery
       * ----------------------------------------------------------------------------------------
       */
      array(
        'id'          => 'bulk_gallery_grid_use_infinit_scroll',
        'label'       => __('Use infinit scroll on grid albums?','toranj'),
        'desc'        => __('Do you want to use infinit scroll at your bulk gallery albums? ( This is added since v1.6)','toranj'),
        'std'         => 'on',
        'type'        => 'on-off',
        'section'     => 'bulk_gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),

      array(
        'id'          => 'bulk_gallery_grid___initial_count',
        'label'       => __('Initial images in grid','toranj'),
        'desc'        => __('Bulk gallery uses infinit scroll method to speed up the pagess with lots of images. <br>Number of Images when the page first loads, default is 20', 'toranj'),
        'std'         => '20',
        'type'        => 'numeric-slider',
        'section'     => 'bulk_gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '5,40',
        'class'       => '',
        'condition'   => 'bulk_gallery_grid_use_infinit_scroll:is(on)',
        'operator'    => 'and'
      ),

      array(
        'id'          => 'bulk_gallery_grid___per_page_count',
        'label'       => __('Per page Images','toranj'),
        'desc'        => __('Number of Images to load each time, dafault is 5', 'toranj'),
        'std'         => '10',
        'type'        => 'numeric-slider',
        'section'     => 'bulk_gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '5,20',
        'class'       => '',
        'condition'   => 'bulk_gallery_grid_use_infinit_scroll:is(on)',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'bulk_gallery_index_layout',
        'label'       => __('Bulk Gallery Archive Layout','toranj'),
        'desc'        => __('choose how you want to show the index page of the bulk gallery ( the page that will list all your bulk galleries )', 'toranj'),
        'std'         => 'horizontal-scroll',
        'type'        => 'radio',
        'section'     => 'bulk_gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and',
        'choices'     => array( 
          
          array(
            'value'       => 'horizontal-scroll',
            'label'       => __('horizontal scrolling','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'grid',
            'label'       => __('grid','toranj'),
            'src'         => ''
          )
        )
      ),
      array(
        'id'          => 'bulk_gallery_title_1',
        'label'       => __('Archive page title line1','toranj'),
        'desc'        => '',
        'std'         => 'Browse our',
        'type'        => 'text',
        'section'     => 'bulk_gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'bulk_gallery_title_2',
        'label'       => __('Archive page title line2','toranj'),
        'desc'        => '',
        'std'         => 'Gallery',
        'type'        => 'text',
        'section'     => 'bulk_gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'bulk_gallery_side_content',
        'label'       => __('Archive page side content','toranj'),
        'desc'        => '',
        'std'         => '',
        'type'        => 'textarea',
        'section'     => 'bulk_gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),

      array(
        'id'          => 'bulk_gallery_cat_title',
        'label'       => __('Category page upper title','toranj'),
        'desc'        => '',
        'std'         => __('Browse Category','toranj'),
        'type'        => 'text',
        'section'     => 'bulk_gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),

      array(
        'id'          => 'metaboxes_text',
        'label'       => __('About Slugs','toranj'),
        'desc'        => __('<h1>Following settings work both on Categories pages and archive page</h1><hr>','toranj'),
        'std'         => '',
        'type'        => 'textblock',
        'section'     => 'bulk_gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => 'bulk_gallery_index_layout:is(grid)',
        'operator'    => 'and'
      ),

      array(
        'id'          => 'bulk_gallery_grid___layout_type',
        'label'       => __('Grid - Layout Type','toranj'),
        'desc'        => __('choose between Layouts', 'toranj'),
        'std'         => '',
        'type'        => 'select',
        'section'     => 'bulk_gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => 'bulk_gallery_index_layout:is(grid)',
        'operator'    => 'and',
        'choices'     => array( 
          array(
            'value'       => 'with-sidebar',
            'label'       => __('With sidebar','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'full',
            'label'       => __('Full - No sidebar','toranj'),
            'src'         => ''
          )
        )
      ),
      array(
        'id'          => 'bulk_gallery_grid_show_filters',
        'label'       => __('Grid - Show filters?','toranj'),
        'desc'        => __('Do you want to show filters ( filter by group ) for Grid layout?  Note: We don\'t recommend to use both filters and side-content at the same time, use both on your own risk.','toranj'),
        'std'         => 'off',
        'type'        => 'on-off',
        'section'     => 'bulk_gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => 'bulk_gallery_index_layout:is(grid)',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'bulk_gallery_grid___filter_title',
        'label'       => __('Grid - Filter title','toranj'),
        'desc'        => '',
        'std'         => 'Filter',
        'type'        => 'text',
        'section'     => 'bulk_gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => 'bulk_gallery_index_layout:is(grid)',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'bulk_gallery_grid_hover',
        'label'       => __('Grid Hover style','toranj'),
        'desc'        => '',
        'std'         => '',
        'type'        => 'select',
        'section'     => 'bulk_gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => 'bulk_gallery_index_layout:is(grid)',
        'operator'    => 'and',
        'choices'     => array( 
          array(
            'value'       => 'tj-hover-1',
            'label'       => __('Style #1','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'tj-hover-2',
            'label'       => __('style #2','toranj'),
            'src'         => ''
          )
        )
      ),
      array(
        'id'          => 'bulk_gallery_grid___same_ratio_thumbs',
        'label'       => __('Grid - Same Ratio Thumbs?','toranj'),
        'desc'        => __('If all your thumbnails are at the same ratio turn this on, for example if you want all your thumbs to be at the same size, or even if you have two different same ratio images. If you want to use images with variable heightes leave this to be off.', 'toranj'),
        'std'         => 'off',
        'type'        => 'on-off',
        'section'     => 'bulk_gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => 'bulk_gallery_index_layout:is(grid)',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'bulk_gallery_grid___remove_spaces_between_images',
        'label'       => __('Grid - Remove spaces between images?','toranj'),
        'desc'        => '',
        'std'         => 'off',
        'type'        => 'on-off',
        'section'     => 'bulk_gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => 'bulk_gallery_index_layout:is(grid)',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'bulk_gallery_grid___larg_screen_column_count',
        'label'       => __('Grid - Large Screen column count','toranj'),
        'desc'        => __('Number of grid columns at large screens', 'toranj'),
        'std'         => '4',
        'type'        => 'numeric-slider',
        'section'     => 'bulk_gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '1,6',
        'class'       => '',
        'condition'   => 'bulk_gallery_index_layout:is(grid)',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'bulk_gallery_grid___medium_screen_column_count',
        'label'       => __('Grid - Medium Screen Column Count','toranj'),
        'desc'        => __('For medium devices', 'toranj'),
        'std'         => '3',
        'type'        => 'numeric-slider',
        'section'     => 'bulk_gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '1,10',
        'class'       => '',
        'condition'   => 'bulk_gallery_index_layout:is(grid)',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'bulk_gallery_grid___small_column_count',
        'label'       => __('Grid - Small Column Count','toranj'),
        'desc'        => __('For small display devices', 'toranj'),
        'std'         => '2',
        'type'        => 'numeric-slider',
        'section'     => 'bulk_gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '1,3',
        'class'       => '',
        'condition'   => 'bulk_gallery_index_layout:is(grid)',
        'operator'    => 'and'
      ),
      array(
        'id'          => 'bulk_gallery_grid___xs_column_count',
        'label'       => __('Grid - Mobile Screen Column Count','toranj'),
        'desc'        => __('For Mobile display devices', 'toranj'),
        'std'         => '1',
        'type'        => 'numeric-slider',
        'section'     => 'bulk_gallery',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '1,3',
        'class'       => '',
        'condition'   => 'bulk_gallery_index_layout:is(grid)',
        'operator'    => 'and'
      ),
      /**
       * ----------------------------------------------------------------------------------------
       * woocommerce
       * ----------------------------------------------------------------------------------------
       */
      array(
        'id'          => 'woocommerce_side_position',
        'label'       => __('woocommerce Sidebar','toranj'),
        'desc'        => '',
        'std'         => 'left',
        'type'        => 'select',
        'section'     => 'woocommerce',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and',
        'choices'     => array( 
          array(
            'value'       => 'left',
            'label'       => __('Left','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'right',
            'label'       => __('Right','toranj'),
            'src'         => ''
          ),
          array(
            'value'       => 'no-sidebar',
            'label'       => __('No sidebar','toranj'),
            'src'         => ''
          )
        )
      ),
      array(
        'id'          => 'shop_column_number',
        'label'       => __('How many columns to show?','toranj'),
        'desc'        => '',
        'std'         => '3',
        'type'        => 'numeric-slider',
        'section'     => 'woocommerce',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '2,4,1',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      /**
       * ----------------------------------------------------------------------------------------
       * sidebars
       * ----------------------------------------------------------------------------------------
       */
      array(
        'id'          => 'sidebars_text',
        'label'       => __('About sidebars','toranj'),
        'desc'        => __('Create any sidebar then go to Appearance &gt; Widgets and add widgets to them, and then you can choose them for specific pages or posts using visual composer', 'toranj'),
        'std'         => '',
        'type'        => 'textblock',
        'section'     => 'sidebars',
        'rows'        => '',
        'post_type'   => '',
        'taxonomy'    => '',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
        'operator'    => 'and'
      ),
      array(
        'label'       => __('Create Sidebars','toranj'),
        'id'          => 'incr_sidebars',
        'type'        => 'list-item',
        'desc'        => __('Choose a unique title for each sidebar', 'toranj'),
        'section'     => 'sidebars',
        'settings'    => array(
          array(
            'label'       => __('ID','toranj'),
            'id'          => 'id',
            'type'        => 'text',
            'desc'        => __('Write a lowercase single world as ID (or number), without any spaces', 'toranj'),
            'std'         => '',
            'rows'        => '',
            'post_type'   => '',
            'taxonomy'    => '',
            'class'       => ''
          )
        )
      ),
    )
  );
  
  /* allow settings to be filtered before saving */
  $custom_settings = apply_filters( ot_settings_id() . '_args', $custom_settings );
  
  /* settings are not the same update the DB */
  if ( $saved_settings !== $custom_settings ) {
    update_option( ot_settings_id(), $custom_settings ); 
  }
  
  /* Lets OptionTree know the UI Builder is being overridden */
  global $ot_has_custom_theme_options;
  $ot_has_custom_theme_options = true;
  
}