Version Description
Added: Google fonts.
Download this release
Release Info
Developer | webdorado |
Plugin | Slider by WD – Responsive Slider |
Version | 1.0.34 |
Comparing to | |
See all releases |
Code changes from version 1.0.33 to 1.0.34
- admin/controllers/WDSControllerSliders_wds.php +4 -1
- admin/views/WDSViewSliders_wds.php +10 -3
- frontend/views/WDSViewSlider.php +1 -1
- js/wds.js +36 -7
- readme.txt +4 -1
- slider-wd.php +24 -2
- sliders-insert.php +1 -0
- sliders-update.php +4 -0
admin/controllers/WDSControllerSliders_wds.php
CHANGED
@@ -428,7 +428,7 @@ class WDSControllerSliders_wds {
|
|
428 |
$hotp_border_color = ((isset($params_array['hotp_border_color'])) ? esc_html(stripslashes($params_array['hotp_border_color'])) : '');
|
429 |
$hotp_border_radius = ((isset($params_array['hotp_border_radius'])) ? esc_html(stripslashes($params_array['hotp_border_radius'])) : '');
|
430 |
$hotp_text_position = ((isset($params_array['hotp_text_position'])) ? esc_html(stripslashes($params_array['hotp_text_position'])) : '');
|
431 |
-
|
432 |
if ($title) {
|
433 |
if (strpos($layer_id, 'pr_') !== FALSE) {
|
434 |
$save = $wpdb->insert($wpdb->prefix . 'wdslayer', array(
|
@@ -475,6 +475,7 @@ class WDSControllerSliders_wds {
|
|
475 |
'hotp_border_color' => $hotp_border_color,
|
476 |
'hotp_border_radius' => $hotp_border_radius,
|
477 |
'hotp_text_position' => $hotp_text_position,
|
|
|
478 |
));
|
479 |
}
|
480 |
else {
|
@@ -521,6 +522,7 @@ class WDSControllerSliders_wds {
|
|
521 |
'hotp_border_color' => $hotp_border_color,
|
522 |
'hotp_border_radius' => $hotp_border_radius,
|
523 |
'hotp_text_position' => $hotp_text_position,
|
|
|
524 |
), array('id' => $layer_id));
|
525 |
}
|
526 |
}
|
@@ -917,6 +919,7 @@ class WDSControllerSliders_wds {
|
|
917 |
'hotp_border_color' => $layer_id->hotp_border_color,
|
918 |
'hotp_border_radius' => $layer_id->hotp_border_radius,
|
919 |
'hotp_text_position' => $layer_id->hotp_text_position,
|
|
|
920 |
));
|
921 |
|
922 |
}
|
428 |
$hotp_border_color = ((isset($params_array['hotp_border_color'])) ? esc_html(stripslashes($params_array['hotp_border_color'])) : '');
|
429 |
$hotp_border_radius = ((isset($params_array['hotp_border_radius'])) ? esc_html(stripslashes($params_array['hotp_border_radius'])) : '');
|
430 |
$hotp_text_position = ((isset($params_array['hotp_text_position'])) ? esc_html(stripslashes($params_array['hotp_text_position'])) : '');
|
431 |
+
$google_fonts = ((isset($params_array['google_fonts'])) ? esc_html(stripslashes($params_array['google_fonts'])) : 0);
|
432 |
if ($title) {
|
433 |
if (strpos($layer_id, 'pr_') !== FALSE) {
|
434 |
$save = $wpdb->insert($wpdb->prefix . 'wdslayer', array(
|
475 |
'hotp_border_color' => $hotp_border_color,
|
476 |
'hotp_border_radius' => $hotp_border_radius,
|
477 |
'hotp_text_position' => $hotp_text_position,
|
478 |
+
'google_fonts' => $google_fonts,
|
479 |
));
|
480 |
}
|
481 |
else {
|
522 |
'hotp_border_color' => $hotp_border_color,
|
523 |
'hotp_border_radius' => $hotp_border_radius,
|
524 |
'hotp_text_position' => $hotp_text_position,
|
525 |
+
'google_fonts' => $google_fonts,
|
526 |
), array('id' => $layer_id));
|
527 |
}
|
528 |
}
|
919 |
'hotp_border_color' => $layer_id->hotp_border_color,
|
920 |
'hotp_border_radius' => $layer_id->hotp_border_radius,
|
921 |
'hotp_text_position' => $layer_id->hotp_text_position,
|
922 |
+
'google_fonts' => $layer_id->google_fonts,
|
923 |
));
|
924 |
|
925 |
}
|
admin/views/WDSViewSliders_wds.php
CHANGED
@@ -217,6 +217,7 @@ class WDSViewSliders_wds {
|
|
217 |
'monospace' => 'Monospace',
|
218 |
'serif' => 'Serif',
|
219 |
);
|
|
|
220 |
$font_weights = array(
|
221 |
'lighter' => 'Lighter',
|
222 |
'normal' => 'Normal',
|
@@ -1825,11 +1826,12 @@ class WDSViewSliders_wds {
|
|
1825 |
if ($layers_row) {
|
1826 |
foreach ($layers_row as $key => $layer) {
|
1827 |
$prefix = 'slide' . $slide_row->id . '_layer' . $layer->id;
|
|
|
1828 |
switch ($layer->type) {
|
1829 |
case 'text': {
|
1830 |
?>
|
1831 |
<span id="<?php echo $prefix; ?>" class="wds_draggable_<?php echo $slide_row->id; ?> wds_draggable ui-draggable" data-type="wds_text_parent" onclick="wds_showhide_layer('<?php echo $prefix; ?>_tbody', 1)"
|
1832 |
-
style="<?php echo $layer->image_width ? 'width: ' . $layer->image_width . '%; ' : ''; ?><?php echo $layer->image_height ? 'height: ' . $layer->image_height . '%; ' : ''; ?>word-break: <?php echo ($layer->image_scale ? '
|
1833 |
<?php
|
1834 |
break;
|
1835 |
}
|
@@ -2054,15 +2056,20 @@ class WDSViewSliders_wds {
|
|
2054 |
<label for="<?php echo $prefix; ?>_ffamily">Font family: </label>
|
2055 |
</td>
|
2056 |
<td>
|
2057 |
-
<select id="<?php echo $prefix; ?>_ffamily" onchange="
|
2058 |
<?php
|
2059 |
-
|
|
|
2060 |
?>
|
2061 |
<option value="<?php echo $key; ?>" <?php echo (($layer->ffamily == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
2062 |
<?php
|
2063 |
}
|
2064 |
?>
|
2065 |
</select>
|
|
|
|
|
|
|
|
|
2066 |
<div class="spider_description"></div>
|
2067 |
</td>
|
2068 |
<td class="spider_label">
|
217 |
'monospace' => 'Monospace',
|
218 |
'serif' => 'Serif',
|
219 |
);
|
220 |
+
$google_fonts = array('ABeeZee' => 'ABeeZee', 'Abel' => 'Abel', 'Abril+Fatface' => 'Abril Fatface', 'Aclonica' => 'Aclonica', 'Acme' => 'Acme', 'Actor' => 'Actor', 'Adamina' => 'Adamina', 'Advent+Pro' => 'Advent Pro', 'Aguafina+Script' => 'Aguafina Script', 'Akronim' => 'Akronim', 'Aladin' => 'Aladin', 'Aldrich' => 'Aldrich', 'Alegreya' => 'Alegreya', 'Alegreya+SC' => 'Alegreya SC', 'Alex+Brush' => 'Alex Brush', 'Alfa+Slab+One' => 'Alfa Slab One', 'Alice' => 'Alice', 'Alike' => 'Alike', 'Alike+Angular' => 'Alike Angular', 'Allan' => 'Allan', 'Allerta' => 'Allerta', 'Allura' => 'Allura', 'Almendra' => 'Almendra', 'Almendra+display' => 'Almendra Display', 'Almendra+sc' => 'Almendra SC', 'Amarante' => 'Amarante', 'Amaranth' => 'Amaranth', 'Amatic+sc' => 'Amatic SC', 'Amethysta' => 'Amethysta', 'Anaheim' => 'Anaheim', 'Andada' => 'Andada', 'Andika' => 'Andika', 'Angkor' => 'Angkor', 'Annie+Use+Your+Telescope' => 'Annie Use Your Telescope', 'Anonymous+Pro' => 'Anonymous Pro', 'Antic' => 'Antic', 'Antic+Didone' => 'Antic Didone', 'Antic+Slab' => 'Antic Slab', 'Anton' => 'Anton', 'Arapey' => 'Arapey', 'Arbutus' => 'Arbutus', 'Arbutus+slab' => 'Arbutus Slab', 'Architects+daughter' => 'Architects Daughter', 'Archivo+black' => 'Archivo Black', 'Archivo+narrow' => 'Archivo Narrow', 'Arimo' => 'Arimo', 'Arizonia' => 'Arizonia', 'Armata' => 'Armata', 'Artifika' => 'Artifika', 'Arvo' => 'Arvo', 'Asap' => 'Asap', 'Asset' => 'Asset', 'Astloch' => 'Astloch', 'Asul' => 'Asul', 'Atomic+age' => 'Atomic Age', 'Aubrey' => 'Aubrey', 'Audiowide' => 'Audiowide', 'Autour+one' => 'Autour One', 'Average' => 'Average', 'Average+Sans' => 'Average Sans', 'Averia+Gruesa+Libre' => 'Averia Gruesa Libre', 'Averia+Libre' => 'Averia Libre', 'Averia+Sans+Libre' => 'Averia Sans Libre', 'Averia+Serif+Libre' => 'Averia Serif Libre', 'Bad+Script' => 'Bad Script', 'Balthazar' => 'Balthazar', 'Bangers' => 'Bangers', 'Basic' => 'Basic', 'Battambang' => 'Battambang', 'Baumans' => 'Baumans', 'Bayon' => 'Bayon', 'Belgrano' => 'Belgrano', 'BenchNine' => 'BenchNine', 'Bentham' => 'Bentham', 'Berkshire+Swash' => 'Berkshire Swash', 'Bevan' => 'Bevan', 'Bigelow+Rules' => 'Bigelow Rules', 'Bigshot+One' => 'Bigshot One', 'Bilbo' => 'Bilbo', 'Bilbo+Swash+Caps' => 'Bilbo Swash Caps', 'Bitter' => 'Bitter', 'Black+Ops+One' => 'Black Ops One', 'Bokor' => 'Bokor', 'Bonbon' => 'Bonbon', 'Boogaloo' => 'Boogaloo', 'Bowlby+One' => 'Bowlby One', 'bowlby+One+SC' => 'Bowlby One SC', 'Brawler' => 'Brawler', 'Bree+Serif' => 'Bree Serif', 'Bubblegum+Sans' => 'Bubblegum Sans', 'Bubbler+One' => 'Bubbler One', 'Buda' => 'Buda', 'Buenard' => 'Buenard', 'Butcherman' => 'Butcherman', 'Butterfly+Kids' => 'Butterfly Kids', 'Cabin' => 'Cabin', 'Cabin+Condensed' => 'Cabin Condensed', 'Cabin+Sketch' => 'Cabin Sketch', 'Caesar+Dressing' => 'Caesar Dressing', 'Cagliostro' => 'Cagliostro', 'Calligraffitti' => 'Calligraffitti', 'Cambo' => 'Cambo', 'Candal' => 'Candal', 'Cantarell' => 'Cantarell', 'Cantata+One' => 'Cantata One', 'Cantora+One' => 'Cantora One', 'Capriola' => 'Capriola', 'Cardo' => 'Cardo', 'Carme' => 'Carme', 'Carrois+Gothic' => 'Carrois Gothic', 'Carrois+Gothic+SC' => 'Carrois Gothic SC', 'Carter+One' => 'Carter One', 'Caudex' => 'Caudex', 'Cedarville+cursive' => 'Cedarville Cursive', 'Ceviche+One' => 'Ceviche One', 'Changa+One' => 'Changa One', 'Chango' => 'Chango', 'Chau+philomene+One' => 'Chau Philomene One', 'Chela+One' => 'Chela One', 'Chelsea+Market' => 'Chelsea Market', 'Chenla' => 'Chenla', 'Cherry+Cream+Soda' => 'Cherry Cream Soda', 'Chewy' => 'Chewy', 'Chicle' => 'Chicle', 'Chivo' => 'Chivo', 'Cinzel' => 'Cinzel', 'Cinzel+Decorative' => 'Cinzel Decorative', 'Clicker+Script' => 'Clicker Script', 'Coda' => 'Coda', 'Coda+Caption' => 'Coda Caption', 'Codystar' => 'Codystar', 'Combo' => 'Combo', 'Comfortaa' => 'Comfortaa', 'Coming+soon' => 'Coming Soon', 'Concert+One' => 'Concert One', 'Condiment' => 'Condiment', 'Content' => 'Content', 'Contrail+One' => 'Contrail One', 'Convergence' => 'Convergence', 'Cookie' => 'Cookie', 'Copse' => 'Copse', 'Corben' => 'Corben', 'Courgette' => 'Courgette', 'Cousine' => 'Cousine', 'Coustard' => 'Coustard', 'Covered+By+Your+Grace' => 'Covered By Your Grace', 'Crafty+Girls' => 'Crafty Girls', 'Creepster' => 'Creepster', 'Crete+Round' => 'Crete Round', 'Crimson+Text' => 'Crimson Text', 'Croissant+One' => 'Croissant One', 'Crushed' => 'Crushed', 'Cuprum' => 'Cuprum', 'Cutive' => 'Cutive', 'Cutive+Mono' => 'Cutive Mono', 'Damion' => 'Damion', 'Dancing+Script' => 'Dancing Script', 'Dangrek' => 'Dangrek', 'Dawning+of+a+New+Day' => 'Dawning of a New Day', 'Days+One' => 'Days One', 'Delius' => 'Delius', 'Delius+Swash+Caps' => 'Delius Swash Caps', 'Delius+Unicase' => 'Delius Unicase', 'Della+Respira' => 'Della Respira', 'Denk+One' => 'Denk One', 'Devonshire' => 'Devonshire', 'Didact+Gothic' => 'Didact Gothic', 'Diplomata' => 'Diplomata', 'Diplomata+SC' => 'Diplomata SC', 'Domine' => 'Domine', 'Donegal+One' => 'Donegal One', 'Doppio+One' => 'Doppio One', 'Dorsa' => 'Dorsa', 'Dosis' => 'Dosis', 'Dr+Sugiyama' => 'Dr Sugiyama', 'Droid+Sans' => 'Droid Sans', 'Droid+Sans+Mono' => 'Droid Sans Mono', 'Droid+Serif' => 'Droid Serif', 'Duru+Sans' => 'Duru Sans', 'Dynalight' => 'Dynalight', 'Eb+Garamond' => 'EB Garamond', 'Eagle+Lake' => 'Eagle Lake', 'Eater' => 'Eater', 'Economica' => 'Economica', 'Electrolize' => 'Electrolize', 'Elsie' => 'Elsie', 'Elsie+Swash+Caps' => 'Elsie Swash Caps', 'Emblema+One' => 'Emblema One', 'Emilys+Candy' => 'Emilys Candy', 'Engagement' => 'Engagement', 'Englebert' => 'Englebert', 'Enriqueta' => 'Enriqueta', 'Erica+One' => 'Erica One', 'Esteban' => 'Esteban', 'Euphoria+Script' => 'Euphoria Script', 'Ewert' => 'Ewert', 'Exo' => 'Exo', 'Expletus+Sans' => 'Expletus Sans', 'Fanwood+Text' => 'Fanwood Text', 'Fascinate' => 'Fascinate', 'Fascinate+Inline' => 'Fascinate Inline', 'Faster+One' => 'Faster One', 'Fasthand' => 'Fasthand', 'Federant' => 'Federant', 'Federo' => 'Federo', 'Felipa' => 'Felipa', 'Fenix' => 'Fenix', 'Finger+Paint' => 'Finger Paint', 'Fjalla+One' => 'Fjalla One', 'Fjord+One' => 'Fjord One', 'Flamenco' => 'Flamenco', 'Flavors' => 'Flavors', 'Fondamento' => 'Fondamento', 'Fontdiner+swanky' => 'Fontdiner Swanky', 'Forum' => 'Forum', 'Francois+One' => 'Francois One', 'Freckle+Face' => 'Freckle Face', 'Fredericka+the+Great' => 'Fredericka the Great', 'Fredoka+One' => 'Fredoka One', 'Freehand' => 'Freehand', 'Fresca' => 'Fresca', 'Frijole' => 'Frijole', 'Fruktur' => 'Fruktur', 'Fugaz+One' => 'Fugaz One', 'GFS+Didot' => 'GFS Didot', 'GFS+Neohellenic' => 'GFS Neohellenic', 'Gabriela' => 'Gabriela', 'Gafata' => 'Gafata', 'Galdeano' => 'Galdeano', 'Galindo' => 'Galindo', 'Gentium+Basic' => 'Gentium Basic', 'Gentium+Book+Basic' => 'Gentium Book Basic', 'Geo' => 'Geo', 'Geostar' => 'Geostar', 'Geostar+Fill' => 'Geostar Fill', 'Germania+One' => 'Germania One', 'Gilda+Display' => 'Gilda Display', 'Give+You+Glory' => 'Give You Glory', 'Glass+Antiqua' => 'Glass Antiqua', 'Glegoo' => 'Glegoo', 'Gloria+Hallelujah' => 'Gloria Hallelujah', 'Goblin+One' => 'Goblin One', 'Gochi+Hand' => 'Gochi Hand', 'Gorditas' => 'Gorditas', 'Goudy+Bookletter+1911' => 'Goudy Bookletter 1911', 'Graduate' => 'Graduate', 'Grand+Hotel' => 'Grand Hotel', 'Gravitas+One' => 'Gravitas One', 'Great+Vibes' => 'Great Vibes', 'Griffy' => 'Griffy', 'Gruppo' => 'Gruppo', 'Gudea' => 'Gudea', 'Habibi' => 'Habibi', 'Hammersmith+One' => 'Hammersmith One', 'Hanalei' => 'Hanalei', 'Hanalei+Fill' => 'Hanalei Fill', 'Handlee' => 'Handlee', 'Hanuman' => 'Hanuman', 'Happy+Monkey' => 'Happy Monkey', 'Headland+One' => 'Headland One', 'Henny+Penny' => 'Henny Penny', 'Herr+Von+Muellerhoff' => 'Herr Von Muellerhoff', 'Holtwood+One +SC' => 'Holtwood One SC', 'Homemade+Apple' => 'Homemade Apple', 'Homenaje' => 'Homenaje', 'IM+Fell+DW+Pica' => 'IM Fell DW Pica', 'IM+Fell+DW+Pica+SC' => 'IM Fell DW Pica SC', 'IM+Fell+Double+Pica' => 'IM Fell Double Pica', 'IM+Fell+Double+Pica+S' => 'IM Fell Double Pica S', 'IM+Fell+English' => 'IM Fell English', 'IM+Fell+English+SC' => 'IM Fell English SC', 'IM+Fell+French+Canon' => 'IM Fell French Canon', 'IM+Fell+French+Canon+SC' => 'IM Fell French Canon SC', 'IM+Fell+Great+Primer' => 'IM Fell Great Primer', 'IM+Fell+Great+Primer+SC' => 'IM Fell Great Primer SC', 'Iceberg' => 'Iceberg', 'Iceland' => 'Iceland', 'Imprima' => 'Imprima', 'Inconsolata' => 'Inconsolata', 'Inder' => 'Inder', 'Indie+Flower' => 'Indie Flower', 'Inika' => 'Inika', 'Irish+Grover' => 'Irish Grover', 'Istok+Web' => 'Istok Web', 'Italiana' => 'Italiana', 'Italianno' => 'Italianno', 'Jacques+Francois' => 'Jacques Francois', 'Jacques+Francois+Shadow' => 'Jacques Francois Shadow', 'Jim+Nightshade' => 'Jim Nightshade', 'Jockey+One' => 'Jockey One', 'Jolly+Lodger' => 'Jolly Lodger', 'Josefin+Sans' => 'Josefin Sans', 'Josefin+Slab' => 'Josefin Slab', 'Joti+One' => 'Joti One', 'Judson' => 'Judson', 'Julee' => 'Julee', 'Julius+Sans+One' => 'Julius Sans One', 'Junge' => 'Junge', 'Jura' => 'Jura', 'Just+Another+Hand' => 'Just Another Hand', 'Just+Me+Again+Down+Here' => 'Just Me Again Down Here', 'Kameron' => 'Kameron', 'Karla' => 'Karla', 'Kaushan+Script' => 'Kaushan Script', 'Kavoon' => 'Kavoon', 'Keania+One' => 'Keania One', 'kelly+Slab' => 'Kelly Slab', 'Kenia' => 'Kenia', 'Khmer' => 'Khmer', 'Kite+One' => 'Kite One', 'Knewave' => 'Knewave', 'Kotta+One' => 'Kotta One', 'Koulen' => 'Koulen', 'Kranky' => 'Kranky', 'Kreon' => 'Kreon', 'Kristi' => 'Kristi', 'Krona+One' => 'Krona One', 'La+Belle+Aurore' => 'La Belle Aurore', 'Lancelot' => 'Lancelot', 'Lato' => 'Lato', 'League+Script' => 'League Script', 'Leckerli+One' => 'Leckerli One', 'Ledger' => 'Ledger', 'Lekton' => 'Lekton', 'Lemon' => 'Lemon', 'Libre+Baskerville' => 'Libre Baskerville', 'Life+Savers' => 'Life Savers', 'Lilita+One' => 'Lilita One', 'Limelight' => 'Limelight', 'Linden+Hill' => 'Linden Hill', 'Lobster' => 'Lobster', 'Lobster+Two' => 'Lobster Two', 'Londrina+Outline' => 'Londrina Outline', 'Londrina+Shadow' => 'Londrina Shadow', 'Londrina+Sketch' => 'Londrina Sketch', 'Londrina+Solid' => 'Londrina Solid', 'Lora' => 'Lora', 'Love+Ya+Like+A+Sister' => 'Love Ya Like A Sister', 'Loved+by+the+King' => 'Loved by the King', 'Lovers+Quarrel' => 'Lovers Quarrel', 'Luckiest+Guy' => 'Luckiest Guy', 'Lusitana' => 'Lusitana', 'Lustria' => 'Lustria', 'Macondo' => 'Macondo', 'Macondo+Swash+Caps' => 'Macondo Swash Caps', 'Magra' => 'Magra', 'Maiden+Orange' => 'Maiden Orange', 'Mako' => 'Mako', 'Marcellus' => 'Marcellus', 'Marcellus+SC' => 'Marcellus SC', 'Marck+Script' => 'Marck Script', 'Margarine' => 'Margarine', 'Marko+One' => 'Marko One', 'Marmelad' => 'Marmelad', 'Marvel' => 'Marvel', 'Mate' => 'Mate', 'Mate+SC' => 'Mate SC', 'Maven+Pro' => 'Maven Pro', 'McLaren' => 'McLaren', 'Meddon' => 'Meddon', 'MedievalSharp' => 'MedievalSharp', 'Medula+One' => 'Medula One', 'Megrim' => 'Megrim', 'Meie+Script' => 'Meie Script', 'Merienda' => 'Merienda', 'Merienda+One' => 'Merienda One', 'Merriweather' => 'Merriweather', 'Merriweather+Sans' => 'Merriweather Sans', 'Metal' => 'Metal', 'Metal+mania' => 'Metal Mania', 'Metamorphous' => 'Metamorphous', 'Metrophobic' => 'Metrophobic', 'Michroma' => 'Michroma', 'Milonga' => 'Milonga', 'Miltonian' => 'Miltonian', 'Miltonian+Tattoo' => 'Miltonian Tattoo', 'Miniver' => 'Miniver', 'Miss+Fajardose' => 'Miss Fajardose', 'Modern+Antiqua' => 'Modern Antiqua', 'Molengo' => 'Molengo', 'Molle' => 'Molle', 'Monda' => 'Monda', 'Monofett' => 'Monofett', 'Monoton' => 'Monoton', 'Monsieur+La+Doulaise' => 'Monsieur La Doulaise', 'Montaga' => 'Montaga', 'Montez' => 'Montez', 'Montserrat' => 'Montserrat', 'Montserrat+Alternates' => 'Montserrat Alternates', 'Montserrat+Subrayada' => 'Montserrat Subrayada', 'Moul' => 'Moul', 'Moulpali' => 'Moulpali', 'Mountains+of+Christmas' => 'Mountains of Christmas', 'Mouse+Memoirs' => 'Mouse Memoirs', 'Mr+Bedfort' => 'Mr Bedfort', 'Mr+Dafoe' => 'Mr Dafoe', 'Mr+De+Haviland' => 'Mr De Haviland', 'Mrs+Saint+Delafield' => 'Mrs Saint Delafield', 'Mrs+Sheppards' => 'Mrs Sheppards', 'Muli' => 'Muli', 'Mystery+Quest' => 'Mystery Quest', 'Neucha' => 'Neucha', 'Neuton' => 'Neuton', 'New+Rocker' => 'New Rocker', 'News+Cycle' => 'News Cycle', 'Niconne' => 'Niconne', 'Nixie+One' => 'Nixie One', 'Nobile' => 'Nobile', 'Nokora' => 'Nokora', 'Norican' => 'Norican', 'Nosifer' => 'Nosifer', 'Nothing+You+Could+Do' => 'Nothing You Could Do', 'Noticia+Text' => 'Noticia Text', 'Nova+Cut' => 'Nova Cut', 'Nova+Flat' => 'Nova Flat', 'Nova+Mono' => 'Nova Mono', 'Nova+Oval' => 'Nova Oval', 'Nova+Round' => 'Nova Round', 'Nova+Script' => 'Nova Script', 'Nova+Slim' => 'Nova Slim', 'Nova+Square' => 'Nova Square', 'Numans' => 'Numans', 'Nunito' => 'Nunito', 'Odor+Mean+Chey' => 'Odor Mean Chey', 'Offside' => 'Offside', 'Old+standard+tt' => 'Old Standard TT', 'Oldenburg' => 'Oldenburg', 'Oleo+Script' => 'Oleo Script', 'Oleo+Script+Swash+Caps' => 'Oleo Script Swash Caps', 'Open+Sans' => 'Open Sans', 'Open+Sans+Condensed' => 'Open Sans Condensed', 'Oranienbaum' => 'Oranienbaum', 'Orbitron' => 'Orbitron', 'Oregano' => 'Oregano', 'Orienta' => 'Orienta', 'Original+Surfer' => 'Original Surfer', 'Oswald' => 'Oswald', 'Over+the+Rainbow' => 'Over the Rainbow', 'Overlock' => 'Overlock', 'Overlock+SC' => 'Overlock SC', 'Ovo' => 'Ovo', 'Oxygen' => 'Oxygen', 'Oxygen+Mono' => 'Oxygen Mono', 'PT+Mono' => 'PT Mono', 'PT+Sans' => 'PT Sans', 'PT+Sans+Caption' => 'PT Sans Caption', 'PT+Sans+Narrow' => 'PT Sans Narrow', 'PT+Serif' => 'PT Serif', 'PT+Serif+Caption' => 'PT Serif Caption', 'Pacifico' => 'Pacifico', 'Paprika' => 'Paprika', 'Parisienne' => 'Parisienne', 'Passero+One' => 'Passero One', 'Passion+One' => 'Passion One', 'Patrick+Hand' => 'Patrick Hand', 'Patrick+Hand+SC' => 'Patrick Hand SC', 'Patua+One' => 'Patua One', 'Paytone+One' => 'Paytone One', 'Peralta' => 'Peralta', 'Permanent+Marker' => 'Permanent Marker', 'Petit+Formal+Script' => 'Petit Formal Script', 'Petrona' => 'Petrona', 'Philosopher' => 'Philosopher', 'Piedra' => 'Piedra', 'Pinyon+Script' => 'Pinyon Script', 'Pirata+One' => 'Pirata One', 'Plaster' => 'Plaster', 'Play' => 'Play', 'Playball' => 'Playball', 'Playfair+Display' => 'Playfair Display', 'Playfair+Display+SC' => 'Playfair Display SC', 'Podkova' => 'Podkova', 'Poiret+One' => 'Poiret One', 'Poller+One' => 'Poller One', 'Poly' => 'Poly', 'Pompiere' => 'Pompiere', 'Pontano+Sans' => 'Pontano Sans', 'Port+Lligat+Sans' => 'Port Lligat Sans', 'Port+Lligat+Slab' => 'Port Lligat Slab', 'Prata' => 'Prata', 'Preahvihear' => 'Preahvihear', 'Press+start+2P' => 'Press Start 2P', 'Princess+Sofia' => 'Princess Sofia', 'Prociono' => 'Prociono', 'Prosto+One' => 'Prosto One', 'Puritan' => 'Puritan', 'Purple+Purse' => 'Purple Purse', 'Quando' => 'Quando', 'Quantico' => 'Quantico', 'Quattrocento' => 'Quattrocento', 'Quattrocento+Sans' => 'Quattrocento Sans', 'Questrial' => 'Questrial', 'Quicksand' => 'Quicksand', 'Quintessential' => 'Quintessential', 'Qwigley' => 'Qwigley', 'Racing+sans+One' => 'Racing Sans One', 'Radley' => 'Radley', 'Raleway' => 'Raleway', 'Raleway+Dots' => 'Raleway Dots', 'Rambla' => 'Rambla', 'Rammetto+One' => 'Rammetto One', 'Ranchers' => 'Ranchers', 'Rancho' => 'Rancho', 'Rationale' => 'Rationale', 'Redressed' => 'Redressed', 'Reenie+Beanie' => 'Reenie Beanie', 'Revalia' => 'Revalia', 'Ribeye' => 'Ribeye', 'Ribeye+Marrow' => 'Ribeye Marrow', 'Righteous' => 'Righteous', 'Risque' => 'Risque', 'Roboto' => 'Roboto', 'Roboto+Condensed' => 'Roboto Condensed', 'Rochester' => 'Rochester', 'Rock+Salt' => 'Rock Salt', 'Rokkitt' => 'Rokkitt', 'Romanesco' => 'Romanesco', 'Ropa+Sans' => 'Ropa Sans', 'Rosario' => 'Rosario', 'Rosarivo' => 'Rosarivo', 'Rouge+Script' => 'Rouge Script', 'Ruda' => 'Ruda', 'Rufina' => 'Rufina', 'Ruge+Boogie' => 'Ruge Boogie', 'Ruluko' => 'Ruluko', 'Rum+Raisin' => 'Rum Raisin', 'Ruslan+Display' => 'Ruslan Display', 'Russo+One' => 'Russo One', 'Ruthie' => 'Ruthie', 'Rye' => 'Rye', 'Sacramento' => 'Sacramento', 'Sail' => 'Sail', 'Salsa' => 'Salsa', 'Sanchez' => 'Sanchez', 'Sancreek' => 'Sancreek', 'Sansita+One' => 'Sansita One', 'Sarina' => 'Sarina', 'Satisfy' => 'Satisfy', 'Scada' => 'Scada', 'Schoolbell' => 'Schoolbell', 'Seaweed+Script' => 'Seaweed Script', 'Sevillana' => 'Sevillana', 'Seymour+One' => 'Seymour One', 'Shadows+Into+Light' => 'Shadows Into Light', 'Shadows+Into+Light+Two' => 'Shadows Into Light Two', 'Shanti' => 'Shanti', 'Share' => 'Share', 'Share+Tech' => 'Share Tech', 'Share+Tech+Mono' => 'Share Tech Mono', 'Shojumaru' => 'Shojumaru', 'Short+Stack' => 'Short Stack', 'Siemreap' => 'Siemreap', 'Sigmar+One' => 'Sigmar One', 'Signika' => 'Signika', 'Signika+Negative' => 'Signika Negative', 'Simonetta' => 'Simonetta', 'Sintony' => 'Sintony', 'Sirin+Stencil' => 'Sirin Stencil', 'Six+Caps' => 'Six Caps', 'Skranji' => 'Skranji', 'Slackey' => 'Slackey', 'Smokum' => 'Smokum', 'Smythe' => 'Smythe', 'Sniglet' => 'Sniglet', 'Snippet' => 'Snippet', 'Snowburst+One' => 'Snowburst One', 'Sofadi+One' => 'Sofadi One', 'Sofia' => 'Sofia', 'Sonsie+One' => 'Sonsie One', 'Sorts+Mill+Goudy' => 'Sorts Mill Goudy', 'Source+Code+Pro' => 'Source Code Pro', 'Source+Sans+Pro' => 'Source Sans Pro', 'Special+Elite' => 'Special Elite', 'Spicy+Rice' => 'Spicy Rice', 'Spinnaker' => 'Spinnaker', 'Spirax' => 'Spirax', 'Squada+One' => 'Squada One', 'Stalemate' => 'Stalemate', 'Stalinist+One' => 'Stalinist One', 'Stardos+Stencil' => 'Stardos Stencil', 'Stint+Ultra+Condensed' => 'Stint Ultra Condensed', 'Stint+Ultra+Expanded' => 'Stint Ultra Expanded', 'Stoke' => 'Stoke', 'Strait' => 'Strait', 'Sue+Ellen+Francisco' => 'Sue Ellen Francisco', 'Sunshiney' => 'Sunshiney', 'Supermercado+One' => 'Supermercado One', 'Suwannaphum' => 'Suwannaphum', 'Swanky+and+Moo+Moo' => 'Swanky and Moo Moo', 'Syncopate' => 'Syncopate', 'Tangerine' => 'Tangerine', 'Taprom' => 'Taprom', 'Tauri' => 'Tauri', 'Telex' => 'Telex', 'Tenor+Sans' => 'Tenor Sans', 'Text+Me+One' => 'Text Me One', 'The+Girl+Next+Door' => 'The Girl Next Door', 'Tienne' => 'Tienne', 'Tinos' => 'Tinos', 'Titan+One' => 'Titan One', 'Titillium+Web' => 'Titillium Web', 'Trade+Winds' => 'Trade Winds', 'Trocchi' => 'Trocchi', 'Trochut' => 'Trochut', 'Trykker' => 'Trykker', 'Tulpen+One' => 'Tulpen One', 'Ubuntu' => 'Ubuntu', 'Ubuntu+Condensed' => 'Ubuntu Condensed', 'Ubuntu+Mono' => 'Ubuntu Mono', 'Ultra' => 'Ultra', 'Uncial+Antiqua' => 'Uncial Antiqua', 'Underdog' => 'Underdog', 'Unica+One' => 'Unica One', 'UnifrakturCook' => 'UnifrakturCook', 'UnifrakturMaguntia' => 'UnifrakturMaguntia', 'Unkempt' => 'Unkempt', 'Unna' => 'Unna', 'VT323' => 'VT323', 'Vampiro+One' => 'Vampiro One', 'Varela' => 'Varela', 'Varela+Round' => 'Varela Round', 'Vast+Shadow' => 'Vast Shadow', 'Vibur' => 'Vibur', 'Vidaloka' => 'Vidaloka', 'Viga' => 'Viga', 'Voces' => 'Voces', 'Volkhov' => 'Volkhov', 'Vollkorn' => 'Vollkorn', 'Voltaire' => 'Voltaire', 'Waiting+for+the+sunrise' => 'Waiting for the Sunrise', 'Wallpoet' => 'Wallpoet', 'Walter+Turncoat' => 'Walter Turncoat', 'Warnes' => 'Warnes', 'Wellfleet' => 'Wellfleet', 'Wendy+One' => 'Wendy One', 'Wire+One' => 'Wire One', 'Yanone+Kaffeesatz' => 'Yanone Kaffeesatz', 'Yellowtail' => 'Yellowtail', 'Yeseva+One' => 'Yeseva One', 'Yesteryear' => 'Yesteryear', 'Zeyada' => 'Zeyada');
|
221 |
$font_weights = array(
|
222 |
'lighter' => 'Lighter',
|
223 |
'normal' => 'Normal',
|
1826 |
if ($layers_row) {
|
1827 |
foreach ($layers_row as $key => $layer) {
|
1828 |
$prefix = 'slide' . $slide_row->id . '_layer' . $layer->id;
|
1829 |
+
$fonts = (isset($layer->google_fonts) && $layer->google_fonts) ? $google_fonts : $font_families;
|
1830 |
switch ($layer->type) {
|
1831 |
case 'text': {
|
1832 |
?>
|
1833 |
<span id="<?php echo $prefix; ?>" class="wds_draggable_<?php echo $slide_row->id; ?> wds_draggable ui-draggable" data-type="wds_text_parent" onclick="wds_showhide_layer('<?php echo $prefix; ?>_tbody', 1)"
|
1834 |
+
style="<?php echo $layer->image_width ? 'width: ' . $layer->image_width . '%; ' : ''; ?><?php echo $layer->image_height ? 'height: ' . $layer->image_height . '%; ' : ''; ?>word-break: <?php echo ($layer->image_scale ? 'normal' : 'break-all'); ?>; display: inline-block; position: absolute; left: <?php echo $layer->left; ?>px; top: <?php echo $layer->top; ?>px; z-index: <?php echo $layer->depth; ?>; color: #<?php echo $layer->color; ?>; font-size: <?php echo $layer->size; ?>px; line-height: 1.25em; font-family: <?php echo $fonts[$layer->ffamily]; ?>; font-weight: <?php echo $layer->fweight; ?>; padding: <?php echo $layer->padding; ?>; background-color: <?php echo WDW_S_Library::spider_hex2rgba($layer->fbgcolor, (100 - $layer->transparent) / 100); ?>; border: <?php echo $layer->border_width; ?>px <?php echo $layer->border_style; ?> #<?php echo $layer->border_color; ?>; border-radius: <?php echo $layer->border_radius; ?>; box-shadow: <?php echo $layer->shadow; ?>"><?php echo str_replace(array("\r\n", "\r", "\n"), "<br>", $layer->text); ?></span>
|
1835 |
<?php
|
1836 |
break;
|
1837 |
}
|
2056 |
<label for="<?php echo $prefix; ?>_ffamily">Font family: </label>
|
2057 |
</td>
|
2058 |
<td>
|
2059 |
+
<select style="width: 200px;" id="<?php echo $prefix; ?>_ffamily" onchange="wds_change_fonts('<?php echo $prefix; ?>', 1)" name="<?php echo $prefix; ?>_ffamily">
|
2060 |
<?php
|
2061 |
+
$fonts = (isset($layer->google_fonts) && $layer->google_fonts) ? $google_fonts : $font_families;
|
2062 |
+
foreach ($fonts as $key => $font_family) {
|
2063 |
?>
|
2064 |
<option value="<?php echo $key; ?>" <?php echo (($layer->ffamily == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
2065 |
<?php
|
2066 |
}
|
2067 |
?>
|
2068 |
</select>
|
2069 |
+
<input id="<?php echo $prefix; ?>_google_fonts1" type="radio" name="<?php echo $prefix; ?>_google_fonts" value="1" <?php echo (($layer->google_fonts) ? 'checked="checked"' : ''); ?> onchange="wds_change_fonts('<?php echo $prefix; ?>')" />
|
2070 |
+
<label for="<?php echo $prefix; ?>_google_fonts1">Google fonts</label>
|
2071 |
+
<input id="<?php echo $prefix; ?>_google_fonts0" type="radio" name="<?php echo $prefix;?>_google_fonts" value="0" <?php echo (($layer->google_fonts) ? '' : 'checked="checked"'); ?> onchange="wds_change_fonts('<?php echo $prefix; ?>')" />
|
2072 |
+
<label for="<?php echo $prefix; ?>_google_fonts0">Default</label>
|
2073 |
<div class="spider_description"></div>
|
2074 |
</td>
|
2075 |
<td class="spider_label">
|
frontend/views/WDSViewSlider.php
CHANGED
@@ -830,7 +830,7 @@ class WDSViewSlider {
|
|
830 |
top: <?php echo $top_percent; ?>%;
|
831 |
z-index: <?php echo $layer->depth; ?>;
|
832 |
color: #<?php echo $layer->color; ?>;
|
833 |
-
font-family: <?php echo $layer->ffamily; ?>;
|
834 |
font-weight: <?php echo $layer->fweight; ?>;
|
835 |
background-color: <?php echo WDW_S_Library::spider_hex2rgba($layer->fbgcolor, (100 - $layer->transparent) / 100); ?>;
|
836 |
border: <?php echo $layer->border_width; ?>px <?php echo $layer->border_style; ?> #<?php echo $layer->border_color; ?>;
|
830 |
top: <?php echo $top_percent; ?>%;
|
831 |
z-index: <?php echo $layer->depth; ?>;
|
832 |
color: #<?php echo $layer->color; ?>;
|
833 |
+
font-family: <?php echo str_replace('+', ' ', $layer->ffamily); ?>;
|
834 |
font-weight: <?php echo $layer->fweight; ?>;
|
835 |
background-color: <?php echo WDW_S_Library::spider_hex2rgba($layer->fbgcolor, (100 - $layer->transparent) / 100); ?>;
|
836 |
border: <?php echo $layer->border_width; ?>px <?php echo $layer->border_style; ?> #<?php echo $layer->border_color; ?>;
|
js/wds.js
CHANGED
@@ -157,6 +157,7 @@ function spider_ajax_save(form_id, event) {
|
|
157 |
json_data["size"] = jQuery("#" + prefix + "_size").val();
|
158 |
json_data["color"] = jQuery("#" + prefix + "_color").val();
|
159 |
json_data["ffamily"] = jQuery("#" + prefix + "_ffamily").val();
|
|
|
160 |
json_data["fweight"] = jQuery("#" + prefix + "_fweight").val();
|
161 |
json_data["link"] = jQuery("#" + prefix + "_link").val();
|
162 |
json_data["target_attr_layer"] = jQuery("input[name=" + prefix + "_target_attr_layer]:checked").val();
|
@@ -1697,6 +1698,12 @@ function wds_duplicate_layer(type, id, layerID, new_id) {
|
|
1697 |
jQuery(this).attr("selected", "selected");
|
1698 |
}
|
1699 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
1700 |
if (type == "text") {
|
1701 |
wds_new_line(new_prefix);
|
1702 |
jQuery("#" + new_prefix).attr({
|
@@ -1896,11 +1903,6 @@ function wds_add_layer(type, id, layerID, duplicate, files, edit) {
|
|
1896 |
layer_effects_out_option += '<option ' + ((jQuery.inArray(i, free_layer_effects) == -1) ? 'disabled="disabled" title="This effect is disabled in free version."' : '') + ' value="' + i + '">' + layer_effects_out[i] + '</option>';
|
1897 |
}
|
1898 |
|
1899 |
-
var font_families_option = "";
|
1900 |
-
var families = {'arial' : 'Arial', 'lucida grande' : 'Lucida grande', 'segoe ui' : 'Segoe ui', 'tahoma' : 'Tahoma', 'trebuchet ms' : 'Trebuchet ms', 'verdana' : 'Verdana', 'cursive' : 'Cursive', 'fantasy' : 'Fantasy', 'monospace' : 'Monospace', 'serif' : 'Serif'};
|
1901 |
-
for (var i in families) {
|
1902 |
-
font_families_option += '<option value="' + i + '">' + families[i] + '</option>';
|
1903 |
-
}
|
1904 |
var font_weights_option = "";
|
1905 |
var font_weights = {'lighter' : 'Lighter', 'normal' : 'Normal', 'bold' : 'Bold'};
|
1906 |
for (var i in font_weights) {
|
@@ -1956,7 +1958,10 @@ function wds_add_layer(type, id, layerID, duplicate, files, edit) {
|
|
1956 |
var size = '<td class="spider_label"><label for="' + prefix + '_size">Size: </label></td>' +
|
1957 |
'<td><input type="text" name="' + prefix + '_size" id="' + prefix + '_size" value="18" class="spider_int_input" onkeypress="return spider_check_isnum(event)" onchange="jQuery(\'#' + prefix + '\').css({fontSize: jQuery(this).val() + \'px\', lineHeight: jQuery(this).val() + \'px\'})" /> px<div class="spider_description"></div></td>';
|
1958 |
var ffamily = '<td class="spider_label"><label for="' + prefix + '_ffamily">Font family: </label></td>' +
|
1959 |
-
'<td><select name="' + prefix + '_ffamily" id="' + prefix + '_ffamily" onchange="
|
|
|
|
|
|
|
1960 |
var fweight = '<td class="spider_label"><label for="' + prefix + '_fweight">Font weight: </label></td>' +
|
1961 |
'<td><select name="' + prefix + '_fweight" id="' + prefix + '_fweight" onchange="jQuery(\'#' + prefix + '\').css({fontWeight: jQuery(this).val()})">' + font_weights_option + '</select><div class="spider_description"></div></td>';
|
1962 |
var padding = '<td class="spider_label"><label for="' + prefix + '_padding">Padding: </label></td>' +
|
@@ -2072,6 +2077,7 @@ function wds_add_layer(type, id, layerID, duplicate, files, edit) {
|
|
2072 |
published +
|
2073 |
'</tr>' + layer_type
|
2074 |
);
|
|
|
2075 |
break;
|
2076 |
}
|
2077 |
case 'image': {
|
@@ -2582,4 +2588,27 @@ function wds_onkeypress() {
|
|
2582 |
|
2583 |
jQuery(document).ready(function () {
|
2584 |
wds_onkeypress();
|
2585 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
json_data["size"] = jQuery("#" + prefix + "_size").val();
|
158 |
json_data["color"] = jQuery("#" + prefix + "_color").val();
|
159 |
json_data["ffamily"] = jQuery("#" + prefix + "_ffamily").val();
|
160 |
+
json_data["google_fonts"] = jQuery("input[name=slide" + slide_id + "_layer" + layer_id + "_google_fonts]:checked").val();
|
161 |
json_data["fweight"] = jQuery("#" + prefix + "_fweight").val();
|
162 |
json_data["link"] = jQuery("#" + prefix + "_link").val();
|
163 |
json_data["target_attr_layer"] = jQuery("input[name=" + prefix + "_target_attr_layer]:checked").val();
|
1698 |
jQuery(this).attr("selected", "selected");
|
1699 |
}
|
1700 |
});
|
1701 |
+
if (jQuery("#" + prefix + "_google_fonts1").is(":checked")) {
|
1702 |
+
jQuery("#" + new_prefix + "_google_fonts1").attr("checked", "checked");
|
1703 |
+
}
|
1704 |
+
else if (jQuery("#" + prefix + "_google_fonts0").is(":checked")) {
|
1705 |
+
jQuery("#" + new_prefix + "_google_fonts0").attr("checked", "checked");
|
1706 |
+
}
|
1707 |
if (type == "text") {
|
1708 |
wds_new_line(new_prefix);
|
1709 |
jQuery("#" + new_prefix).attr({
|
1903 |
layer_effects_out_option += '<option ' + ((jQuery.inArray(i, free_layer_effects) == -1) ? 'disabled="disabled" title="This effect is disabled in free version."' : '') + ' value="' + i + '">' + layer_effects_out[i] + '</option>';
|
1904 |
}
|
1905 |
|
|
|
|
|
|
|
|
|
|
|
1906 |
var font_weights_option = "";
|
1907 |
var font_weights = {'lighter' : 'Lighter', 'normal' : 'Normal', 'bold' : 'Bold'};
|
1908 |
for (var i in font_weights) {
|
1958 |
var size = '<td class="spider_label"><label for="' + prefix + '_size">Size: </label></td>' +
|
1959 |
'<td><input type="text" name="' + prefix + '_size" id="' + prefix + '_size" value="18" class="spider_int_input" onkeypress="return spider_check_isnum(event)" onchange="jQuery(\'#' + prefix + '\').css({fontSize: jQuery(this).val() + \'px\', lineHeight: jQuery(this).val() + \'px\'})" /> px<div class="spider_description"></div></td>';
|
1960 |
var ffamily = '<td class="spider_label"><label for="' + prefix + '_ffamily">Font family: </label></td>' +
|
1961 |
+
'<td><select style="width: 200px;" name="' + prefix + '_ffamily" id="' + prefix + '_ffamily" onchange="wds_change_fonts(\'' + prefix + '\', 1)"></select>' +
|
1962 |
+
'<input type="radio" id="' + prefix + '_google_fonts1" name="' + prefix + '_google_fonts" value="1" onchange="wds_change_fonts(\'' + prefix + '\');" /><label for="' + prefix + '_google_fonts1">Google fonts</label>' +
|
1963 |
+
'<input type="radio" id="' + prefix + '_google_fonts0" name="' + prefix + '_google_fonts" checked="checked" value="0" onchange="wds_change_fonts(\'' + prefix + '\');" /><label for="' + prefix + '_google_fonts0">Default</label>' +
|
1964 |
+
'<div class="spider_description"></div></td>';
|
1965 |
var fweight = '<td class="spider_label"><label for="' + prefix + '_fweight">Font weight: </label></td>' +
|
1966 |
'<td><select name="' + prefix + '_fweight" id="' + prefix + '_fweight" onchange="jQuery(\'#' + prefix + '\').css({fontWeight: jQuery(this).val()})">' + font_weights_option + '</select><div class="spider_description"></div></td>';
|
1967 |
var padding = '<td class="spider_label"><label for="' + prefix + '_padding">Padding: </label></td>' +
|
2077 |
published +
|
2078 |
'</tr>' + layer_type
|
2079 |
);
|
2080 |
+
wds_change_fonts(prefix);
|
2081 |
break;
|
2082 |
}
|
2083 |
case 'image': {
|
2588 |
|
2589 |
jQuery(document).ready(function () {
|
2590 |
wds_onkeypress();
|
2591 |
+
});
|
2592 |
+
|
2593 |
+
function wds_change_fonts(prefix, change) {
|
2594 |
+
var fonts;
|
2595 |
+
if (jQuery("#" + prefix + "_google_fonts1").is(":checked")) {
|
2596 |
+
fonts = {'ABeeZee' : 'ABeeZee', 'Abel' : 'Abel', 'Abril+Fatface' : 'Abril Fatface', 'Aclonica' : 'Aclonica', 'Acme' : 'Acme', 'Actor' : 'Actor', 'Adamina' : 'Adamina', 'Advent+Pro' : 'Advent Pro', 'Aguafina+Script' : 'Aguafina Script', 'Akronim' : 'Akronim', 'Aladin' : 'Aladin', 'Aldrich' : 'Aldrich', 'Alegreya' : 'Alegreya', 'Alegreya+SC' : 'Alegreya SC', 'Alex+Brush' : 'Alex Brush', 'Alfa+Slab+One' : 'Alfa Slab One', 'Alice' : 'Alice', 'Alike' : 'Alike', 'Alike+Angular' : 'Alike Angular', 'Allan' : 'Allan', 'Allerta' : 'Allerta', 'Allura' : 'Allura', 'Almendra' : 'Almendra', 'Almendra+display' : 'Almendra Display', 'Almendra+sc' : 'Almendra SC', 'Amarante' : 'Amarante', 'Amaranth' : 'Amaranth', 'Amatic+sc' : 'Amatic SC', 'Amethysta' : 'Amethysta', 'Anaheim' : 'Anaheim', 'Andada' : 'Andada', 'Andika' : 'Andika', 'Angkor' : 'Angkor', 'Annie+Use+Your+Telescope' : 'Annie Use Your Telescope', 'Anonymous+Pro' : 'Anonymous Pro', 'Antic' : 'Antic', 'Antic+Didone' : 'Antic Didone', 'Antic+Slab' : 'Antic Slab', 'Anton' : 'Anton', 'Arapey' : 'Arapey', 'Arbutus' : 'Arbutus', 'Arbutus+slab' : 'Arbutus Slab', 'Architects+daughter' : 'Architects Daughter', 'Archivo+black' : 'Archivo Black', 'Archivo+narrow' : 'Archivo Narrow', 'Arimo' : 'Arimo', 'Arizonia' : 'Arizonia', 'Armata' : 'Armata', 'Artifika' : 'Artifika', 'Arvo' : 'Arvo', 'Asap' : 'Asap', 'Asset' : 'Asset', 'Astloch' : 'Astloch', 'Asul' : 'Asul', 'Atomic+age' : 'Atomic Age', 'Aubrey' : 'Aubrey', 'Audiowide' : 'Audiowide', 'Autour+one' : 'Autour One', 'Average' : 'Average', 'Average+Sans' : 'Average Sans', 'Averia+Gruesa+Libre' : 'Averia Gruesa Libre', 'Averia+Libre' : 'Averia Libre', 'Averia+Sans+Libre' : 'Averia Sans Libre', 'Averia+Serif+Libre' : 'Averia Serif Libre', 'Bad+Script' : 'Bad Script', 'Balthazar' : 'Balthazar', 'Bangers' : 'Bangers', 'Basic' : 'Basic', 'Battambang' : 'Battambang', 'Baumans' : 'Baumans', 'Bayon' : 'Bayon', 'Belgrano' : 'Belgrano', 'BenchNine' : 'BenchNine', 'Bentham' : 'Bentham', 'Berkshire+Swash' : 'Berkshire Swash', 'Bevan' : 'Bevan', 'Bigelow+Rules' : 'Bigelow Rules', 'Bigshot+One' : 'Bigshot One', 'Bilbo' : 'Bilbo', 'Bilbo+Swash+Caps' : 'Bilbo Swash Caps', 'Bitter' : 'Bitter', 'Black+Ops+One' : 'Black Ops One', 'Bokor' : 'Bokor', 'Bonbon' : 'Bonbon', 'Boogaloo' : 'Boogaloo', 'Bowlby+One' : 'Bowlby One', 'bowlby+One+SC' : 'Bowlby One SC', 'Brawler' : 'Brawler', 'Bree+Serif' : 'Bree Serif', 'Bubblegum+Sans' : 'Bubblegum Sans', 'Bubbler+One' : 'Bubbler One', 'Buda' : 'Buda', 'Buenard' : 'Buenard', 'Butcherman' : 'Butcherman', 'Butterfly+Kids' : 'Butterfly Kids', 'Cabin' : 'Cabin', 'Cabin+Condensed' : 'Cabin Condensed', 'Cabin+Sketch' : 'Cabin Sketch', 'Caesar+Dressing' : 'Caesar Dressing', 'Cagliostro' : 'Cagliostro', 'Calligraffitti' : 'Calligraffitti', 'Cambo' : 'Cambo', 'Candal' : 'Candal', 'Cantarell' : 'Cantarell', 'Cantata+One' : 'Cantata One', 'Cantora+One' : 'Cantora One', 'Capriola' : 'Capriola', 'Cardo' : 'Cardo', 'Carme' : 'Carme', 'Carrois+Gothic' : 'Carrois Gothic', 'Carrois+Gothic+SC' : 'Carrois Gothic SC', 'Carter+One' : 'Carter One', 'Caudex' : 'Caudex', 'Cedarville+cursive' : 'Cedarville Cursive', 'Ceviche+One' : 'Ceviche One', 'Changa+One' : 'Changa One', 'Chango' : 'Chango', 'Chau+philomene+One' : 'Chau Philomene One', 'Chela+One' : 'Chela One', 'Chelsea+Market' : 'Chelsea Market', 'Chenla' : 'Chenla', 'Cherry+Cream+Soda' : 'Cherry Cream Soda', 'Chewy' : 'Chewy', 'Chicle' : 'Chicle', 'Chivo' : 'Chivo', 'Cinzel' : 'Cinzel', 'Cinzel+Decorative' : 'Cinzel Decorative', 'Clicker+Script' : 'Clicker Script', 'Coda' : 'Coda', 'Coda+Caption' : 'Coda Caption', 'Codystar' : 'Codystar', 'Combo' : 'Combo', 'Comfortaa' : 'Comfortaa', 'Coming+soon' : 'Coming Soon', 'Concert+One' : 'Concert One', 'Condiment' : 'Condiment', 'Content' : 'Content', 'Contrail+One' : 'Contrail One', 'Convergence' : 'Convergence', 'Cookie' : 'Cookie', 'Copse' : 'Copse', 'Corben' : 'Corben', 'Courgette' : 'Courgette', 'Cousine' : 'Cousine', 'Coustard' : 'Coustard', 'Covered+By+Your+Grace' : 'Covered By Your Grace', 'Crafty+Girls' : 'Crafty Girls',
|
2597 |
+
'Creepster' : 'Creepster', 'Crete+Round' : 'Crete Round', 'Crimson+Text' : 'Crimson Text', 'Croissant+One' : 'Croissant One', 'Crushed' : 'Crushed', 'Cuprum' : 'Cuprum', 'Cutive' : 'Cutive', 'Cutive+Mono' : 'Cutive Mono', 'Damion' : 'Damion', 'Dancing+Script' : 'Dancing Script', 'Dangrek' : 'Dangrek', 'Dawning+of+a+New+Day' : 'Dawning of a New Day', 'Days+One' : 'Days One', 'Delius' : 'Delius', 'Delius+Swash+Caps' : 'Delius Swash Caps', 'Delius+Unicase' : 'Delius Unicase', 'Della+Respira' : 'Della Respira', 'Denk+One' : 'Denk One', 'Devonshire' : 'Devonshire', 'Didact+Gothic' : 'Didact Gothic', 'Diplomata' : 'Diplomata', 'Diplomata+SC' : 'Diplomata SC', 'Domine' : 'Domine', 'Donegal+One' : 'Donegal One', 'Doppio+One' : 'Doppio One', 'Dorsa' : 'Dorsa', 'Dosis' : 'Dosis', 'Dr+Sugiyama' : 'Dr Sugiyama', 'Droid+Sans' : 'Droid Sans', 'Droid+Sans+Mono' : 'Droid Sans Mono', 'Droid+Serif' : 'Droid Serif', 'Duru+Sans' : 'Duru Sans', 'Dynalight' : 'Dynalight', 'Eb+Garamond' : 'EB Garamond', 'Eagle+Lake' : 'Eagle Lake', 'Eater' : 'Eater', 'Economica' : 'Economica', 'Electrolize' : 'Electrolize', 'Elsie' : 'Elsie', 'Elsie+Swash+Caps' : 'Elsie Swash Caps', 'Emblema+One' : 'Emblema One', 'Emilys+Candy' : 'Emilys Candy', 'Engagement' : 'Engagement', 'Englebert' : 'Englebert', 'Enriqueta' : 'Enriqueta', 'Erica+One' : 'Erica One', 'Esteban' : 'Esteban', 'Euphoria+Script' : 'Euphoria Script', 'Ewert' : 'Ewert', 'Exo' : 'Exo', 'Expletus+Sans' : 'Expletus Sans', 'Fanwood+Text' : 'Fanwood Text', 'Fascinate' : 'Fascinate', 'Fascinate+Inline' : 'Fascinate Inline', 'Faster+One' : 'Faster One', 'Fasthand' : 'Fasthand', 'Federant' : 'Federant', 'Federo' : 'Federo', 'Felipa' : 'Felipa', 'Fenix' : 'Fenix', 'Finger+Paint' : 'Finger Paint', 'Fjalla+One' : 'Fjalla One', 'Fjord+One' : 'Fjord One', 'Flamenco' : 'Flamenco', 'Flavors' : 'Flavors', 'Fondamento' : 'Fondamento', 'Fontdiner+swanky' : 'Fontdiner Swanky', 'Forum' : 'Forum', 'Francois+One' : 'Francois One', 'Freckle+Face' : 'Freckle Face', 'Fredericka+the+Great' : 'Fredericka the Great', 'Fredoka+One' : 'Fredoka One', 'Freehand' : 'Freehand', 'Fresca' : 'Fresca', 'Frijole' : 'Frijole', 'Fruktur' : 'Fruktur', 'Fugaz+One' : 'Fugaz One', 'GFS+Didot' : 'GFS Didot', 'GFS+Neohellenic' : 'GFS Neohellenic', 'Gabriela' : 'Gabriela', 'Gafata' : 'Gafata', 'Galdeano' : 'Galdeano', 'Galindo' : 'Galindo', 'Gentium+Basic' : 'Gentium Basic', 'Gentium+Book+Basic' : 'Gentium Book Basic', 'Geo' : 'Geo', 'Geostar' : 'Geostar', 'Geostar+Fill' : 'Geostar Fill', 'Germania+One' : 'Germania One', 'Gilda+Display' : 'Gilda Display', 'Give+You+Glory' : 'Give You Glory', 'Glass+Antiqua' : 'Glass Antiqua', 'Glegoo' : 'Glegoo', 'Gloria+Hallelujah' : 'Gloria Hallelujah', 'Goblin+One' : 'Goblin One', 'Gochi+Hand' : 'Gochi Hand', 'Gorditas' : 'Gorditas', 'Goudy+Bookletter+1911' : 'Goudy Bookletter 1911', 'Graduate' : 'Graduate', 'Grand+Hotel' : 'Grand Hotel', 'Gravitas+One' : 'Gravitas One', 'Great+Vibes' : 'Great Vibes', 'Griffy' : 'Griffy', 'Gruppo' : 'Gruppo', 'Gudea' : 'Gudea', 'Habibi' : 'Habibi', 'Hammersmith+One' : 'Hammersmith One', 'Hanalei' : 'Hanalei', 'Hanalei+Fill' : 'Hanalei Fill', 'Handlee' : 'Handlee', 'Hanuman' : 'Hanuman', 'Happy+Monkey' : 'Happy Monkey', 'Headland+One' : 'Headland One', 'Henny+Penny' : 'Henny Penny', 'Herr+Von+Muellerhoff' : 'Herr Von Muellerhoff', 'Holtwood+One +SC' : 'Holtwood One SC', 'Homemade+Apple' : 'Homemade Apple', 'Homenaje' : 'Homenaje', 'IM+Fell+DW+Pica' : 'IM Fell DW Pica', 'IM+Fell+DW+Pica+SC' : 'IM Fell DW Pica SC', 'IM+Fell+Double+Pica' : 'IM Fell Double Pica', 'IM+Fell+Double+Pica+S' : 'IM Fell Double Pica S', 'IM+Fell+English' : 'IM Fell English', 'IM+Fell+English+SC' : 'IM Fell English SC', 'IM+Fell+French+Canon' : 'IM Fell French Canon', 'IM+Fell+French+Canon+SC' : 'IM Fell French Canon SC', 'IM+Fell+Great+Primer' : 'IM Fell Great Primer', 'IM+Fell+Great+Primer+SC' : 'IM Fell Great Primer SC', 'Iceberg' : 'Iceberg', 'Iceland' : 'Iceland', 'Imprima' : 'Imprima', 'Inconsolata' : 'Inconsolata', 'Inder' : 'Inder', 'Indie+Flower' : 'Indie Flower', 'Inika' : 'Inika', 'Irish+Grover' : 'Irish Grover', 'Istok+Web' : 'Istok Web', 'Italiana' : 'Italiana', 'Italianno' : 'Italianno', 'Jacques+Francois' : 'Jacques Francois', 'Jacques+Francois+Shadow' : 'Jacques Francois Shadow', 'Jim+Nightshade' : 'Jim Nightshade', 'Jockey+One' : 'Jockey One', 'Jolly+Lodger' : 'Jolly Lodger', 'Josefin+Sans' : 'Josefin Sans', 'Josefin+Slab' : 'Josefin Slab', 'Joti+One' : 'Joti One', 'Judson' : 'Judson', 'Julee' : 'Julee', 'Julius+Sans+One' : 'Julius Sans One', 'Junge' : 'Junge', 'Jura' : 'Jura', 'Just+Another+Hand' : 'Just Another Hand', 'Just+Me+Again+Down+Here' : 'Just Me Again Down Here', 'Kameron' : 'Kameron', 'Karla' : 'Karla', 'Kaushan+Script' : 'Kaushan Script', 'Kavoon' : 'Kavoon', 'Keania+One' : 'Keania One', 'kelly+Slab' : 'Kelly Slab', 'Kenia' : 'Kenia', 'Khmer' : 'Khmer', 'Kite+One' : 'Kite One', 'Knewave' : 'Knewave', 'Kotta+One' : 'Kotta One', 'Koulen' : 'Koulen', 'Kranky' : 'Kranky', 'Kreon' : 'Kreon', 'Kristi' : 'Kristi', 'Krona+One' : 'Krona One', 'La+Belle+Aurore' : 'La Belle Aurore', 'Lancelot' : 'Lancelot', 'Lato' : 'Lato', 'League+Script' : 'League Script', 'Leckerli+One' : 'Leckerli One', 'Ledger' : 'Ledger', 'Lekton' : 'Lekton', 'Lemon' : 'Lemon', 'Libre+Baskerville' : 'Libre Baskerville', 'Life+Savers' : 'Life Savers', 'Lilita+One' : 'Lilita One', 'Limelight' : 'Limelight', 'Linden+Hill' : 'Linden Hill', 'Lobster' : 'Lobster', 'Lobster+Two' : 'Lobster Two', 'Londrina+Outline' : 'Londrina Outline', 'Londrina+Shadow' : 'Londrina Shadow', 'Londrina+Sketch' : 'Londrina Sketch', 'Londrina+Solid' : 'Londrina Solid', 'Lora' : 'Lora', 'Love+Ya+Like+A+Sister' : 'Love Ya Like A Sister', 'Loved+by+the+King' : 'Loved by the King', 'Lovers+Quarrel' : 'Lovers Quarrel', 'Luckiest+Guy' : 'Luckiest Guy', 'Lusitana' : 'Lusitana', 'Lustria' : 'Lustria', 'Macondo' : 'Macondo', 'Macondo+Swash+Caps' : 'Macondo Swash Caps', 'Magra' : 'Magra', 'Maiden+Orange' : 'Maiden Orange', 'Mako' : 'Mako', 'Marcellus' : 'Marcellus', 'Marcellus+SC' : 'Marcellus SC', 'Marck+Script' : 'Marck Script', 'Margarine' : 'Margarine', 'Marko+One' : 'Marko One', 'Marmelad' : 'Marmelad', 'Marvel' : 'Marvel', 'Mate' : 'Mate', 'Mate+SC' : 'Mate SC', 'Maven+Pro' : 'Maven Pro', 'McLaren' : 'McLaren', 'Meddon' : 'Meddon', 'MedievalSharp' : 'MedievalSharp', 'Medula+One' : 'Medula One', 'Megrim' : 'Megrim', 'Meie+Script' : 'Meie Script', 'Merienda' : 'Merienda', 'Merienda+One' : 'Merienda One', 'Merriweather' : 'Merriweather', 'Merriweather+Sans' : 'Merriweather Sans', 'Metal' : 'Metal', 'Metal+mania' : 'Metal Mania', 'Metamorphous' : 'Metamorphous', 'Metrophobic' : 'Metrophobic', 'Michroma' : 'Michroma', 'Milonga' : 'Milonga', 'Miltonian' : 'Miltonian', 'Miltonian+Tattoo' : 'Miltonian Tattoo', 'Miniver' : 'Miniver', 'Miss+Fajardose' : 'Miss Fajardose', 'Modern+Antiqua' : 'Modern Antiqua', 'Molengo' : 'Molengo', 'Molle' : 'Molle', 'Monda' : 'Monda', 'Monofett' : 'Monofett', 'Monoton' : 'Monoton', 'Monsieur+La+Doulaise' : 'Monsieur La Doulaise', 'Montaga' : 'Montaga', 'Montez' : 'Montez', 'Montserrat' : 'Montserrat', 'Montserrat+Alternates' : 'Montserrat Alternates', 'Montserrat+Subrayada' : 'Montserrat Subrayada', 'Moul' : 'Moul', 'Moulpali' : 'Moulpali', 'Mountains+of+Christmas' : 'Mountains of Christmas', 'Mouse+Memoirs' : 'Mouse Memoirs', 'Mr+Bedfort' : 'Mr Bedfort', 'Mr+Dafoe' : 'Mr Dafoe', 'Mr+De+Haviland' : 'Mr De Haviland', 'Mrs+Saint+Delafield' : 'Mrs Saint Delafield', 'Mrs+Sheppards' : 'Mrs Sheppards', 'Muli' : 'Muli', 'Mystery+Quest' : 'Mystery Quest', 'Neucha' : 'Neucha', 'Neuton' : 'Neuton', 'New+Rocker' : 'New Rocker', 'News+Cycle' : 'News Cycle', 'Niconne' : 'Niconne', 'Nixie+One' : 'Nixie One', 'Nobile' : 'Nobile', 'Nokora' : 'Nokora', 'Norican' : 'Norican', 'Nosifer' : 'Nosifer', 'Nothing+You+Could+Do' : 'Nothing You Could Do', 'Noticia+Text' : 'Noticia Text', 'Nova+Cut' : 'Nova Cut', 'Nova+Flat' : 'Nova Flat', 'Nova+Mono' : 'Nova Mono', 'Nova+Oval' : 'Nova Oval', 'Nova+Round' : 'Nova Round', 'Nova+Script' : 'Nova Script', 'Nova+Slim' : 'Nova Slim', 'Nova+Square' : 'Nova Square', 'Numans' : 'Numans', 'Nunito' : 'Nunito',
|
2598 |
+
'Odor+Mean+Chey' : 'Odor Mean Chey', 'Offside' : 'Offside', 'Old+standard+tt' : 'Old Standard TT', 'Oldenburg' : 'Oldenburg', 'Oleo+Script' : 'Oleo Script', 'Oleo+Script+Swash+Caps' : 'Oleo Script Swash Caps', 'Open+Sans' : 'Open Sans', 'Open+Sans+Condensed' : 'Open Sans Condensed', 'Oranienbaum' : 'Oranienbaum', 'Orbitron' : 'Orbitron', 'Oregano' : 'Oregano', 'Orienta' : 'Orienta', 'Original+Surfer' : 'Original Surfer', 'Oswald' : 'Oswald', 'Over+the+Rainbow' : 'Over the Rainbow', 'Overlock' : 'Overlock', 'Overlock+SC' : 'Overlock SC', 'Ovo' : 'Ovo', 'Oxygen' : 'Oxygen', 'Oxygen+Mono' : 'Oxygen Mono', 'PT+Mono' : 'PT Mono', 'PT+Sans' : 'PT Sans', 'PT+Sans+Caption' : 'PT Sans Caption', 'PT+Sans+Narrow' : 'PT Sans Narrow', 'PT+Serif' : 'PT Serif', 'PT+Serif+Caption' : 'PT Serif Caption', 'Pacifico' : 'Pacifico', 'Paprika' : 'Paprika', 'Parisienne' : 'Parisienne', 'Passero+One' : 'Passero One', 'Passion+One' : 'Passion One', 'Patrick+Hand' : 'Patrick Hand', 'Patrick+Hand+SC' : 'Patrick Hand SC', 'Patua+One' : 'Patua One', 'Paytone+One' : 'Paytone One', 'Peralta' : 'Peralta', 'Permanent+Marker' : 'Permanent Marker', 'Petit+Formal+Script' : 'Petit Formal Script', 'Petrona' : 'Petrona', 'Philosopher' : 'Philosopher', 'Piedra' : 'Piedra', 'Pinyon+Script' : 'Pinyon Script', 'Pirata+One' : 'Pirata One', 'Plaster' : 'Plaster', 'Play' : 'Play', 'Playball' : 'Playball', 'Playfair+Display' : 'Playfair Display', 'Playfair+Display+SC' : 'Playfair Display SC', 'Podkova' : 'Podkova', 'Poiret+One' : 'Poiret One', 'Poller+One' : 'Poller One', 'Poly' : 'Poly', 'Pompiere' : 'Pompiere', 'Pontano+Sans' : 'Pontano Sans', 'Port+Lligat+Sans' : 'Port Lligat Sans', 'Port+Lligat+Slab' : 'Port Lligat Slab', 'Prata' : 'Prata', 'Preahvihear' : 'Preahvihear', 'Press+start+2P' : 'Press Start 2P', 'Princess+Sofia' : 'Princess Sofia', 'Prociono' : 'Prociono', 'Prosto+One' : 'Prosto One', 'Puritan' : 'Puritan', 'Purple+Purse' : 'Purple Purse', 'Quando' : 'Quando', 'Quantico' : 'Quantico', 'Quattrocento' : 'Quattrocento', 'Quattrocento+Sans' : 'Quattrocento Sans', 'Questrial' : 'Questrial', 'Quicksand' : 'Quicksand', 'Quintessential' : 'Quintessential', 'Qwigley' : 'Qwigley', 'Racing+sans+One' : 'Racing Sans One', 'Radley' : 'Radley', 'Raleway' : 'Raleway', 'Raleway+Dots' : 'Raleway Dots', 'Rambla' : 'Rambla', 'Rammetto+One' : 'Rammetto One', 'Ranchers' : 'Ranchers', 'Rancho' : 'Rancho', 'Rationale' : 'Rationale', 'Redressed' : 'Redressed', 'Reenie+Beanie' : 'Reenie Beanie', 'Revalia' : 'Revalia', 'Ribeye' : 'Ribeye', 'Ribeye+Marrow' : 'Ribeye Marrow', 'Righteous' : 'Righteous', 'Risque' : 'Risque', 'Roboto' : 'Roboto', 'Roboto+Condensed' : 'Roboto Condensed', 'Rochester' : 'Rochester', 'Rock+Salt' : 'Rock Salt', 'Rokkitt' : 'Rokkitt', 'Romanesco' : 'Romanesco', 'Ropa+Sans' : 'Ropa Sans', 'Rosario' : 'Rosario', 'Rosarivo' : 'Rosarivo', 'Rouge+Script' : 'Rouge Script', 'Ruda' : 'Ruda', 'Rufina' : 'Rufina', 'Ruge+Boogie' : 'Ruge Boogie', 'Ruluko' : 'Ruluko', 'Rum+Raisin' : 'Rum Raisin', 'Ruslan+Display' : 'Ruslan Display', 'Russo+One' : 'Russo One', 'Ruthie' : 'Ruthie', 'Rye' : 'Rye', 'Sacramento' : 'Sacramento', 'Sail' : 'Sail', 'Salsa' : 'Salsa', 'Sanchez' : 'Sanchez', 'Sancreek' : 'Sancreek', 'Sansita+One' : 'Sansita One', 'Sarina' : 'Sarina', 'Satisfy' : 'Satisfy', 'Scada' : 'Scada', 'Schoolbell' : 'Schoolbell', 'Seaweed+Script' : 'Seaweed Script', 'Sevillana' : 'Sevillana', 'Seymour+One' : 'Seymour One', 'Shadows+Into+Light' : 'Shadows Into Light', 'Shadows+Into+Light+Two' : 'Shadows Into Light Two', 'Shanti' : 'Shanti', 'Share' : 'Share', 'Share+Tech' : 'Share Tech', 'Share+Tech+Mono' : 'Share Tech Mono', 'Shojumaru' : 'Shojumaru', 'Short+Stack' : 'Short Stack', 'Siemreap' : 'Siemreap', 'Sigmar+One' : 'Sigmar One', 'Signika' : 'Signika', 'Signika+Negative' : 'Signika Negative', 'Simonetta' : 'Simonetta', 'Sintony' : 'Sintony', 'Sirin+Stencil' : 'Sirin Stencil', 'Six+Caps' : 'Six Caps', 'Skranji' : 'Skranji', 'Slackey' : 'Slackey', 'Smokum' : 'Smokum', 'Smythe' : 'Smythe', 'Sniglet' : 'Sniglet', 'Snippet' : 'Snippet', 'Snowburst+One' : 'Snowburst One', 'Sofadi+One' :
|
2599 |
+
'Sofadi One', 'Sofia' : 'Sofia', 'Sonsie+One' : 'Sonsie One', 'Sorts+Mill+Goudy' : 'Sorts Mill Goudy', 'Source+Code+Pro' : 'Source Code Pro', 'Source+Sans+Pro' : 'Source Sans Pro', 'Special+Elite' : 'Special Elite', 'Spicy+Rice' : 'Spicy Rice', 'Spinnaker' : 'Spinnaker', 'Spirax' : 'Spirax', 'Squada+One' : 'Squada One', 'Stalemate' : 'Stalemate', 'Stalinist+One' : 'Stalinist One', 'Stardos+Stencil' : 'Stardos Stencil', 'Stint+Ultra+Condensed' : 'Stint Ultra Condensed', 'Stint+Ultra+Expanded' : 'Stint Ultra Expanded', 'Stoke' : 'Stoke', 'Strait' : 'Strait', 'Sue+Ellen+Francisco' : 'Sue Ellen Francisco', 'Sunshiney' : 'Sunshiney', 'Supermercado+One' : 'Supermercado One', 'Suwannaphum' : 'Suwannaphum', 'Swanky+and+Moo+Moo' : 'Swanky and Moo Moo', 'Syncopate' : 'Syncopate', 'Tangerine' : 'Tangerine', 'Taprom' : 'Taprom', 'Tauri' : 'Tauri', 'Telex' : 'Telex', 'Tenor+Sans' : 'Tenor Sans', 'Text+Me+One' : 'Text Me One', 'The+Girl+Next+Door' : 'The Girl Next Door', 'Tienne' : 'Tienne', 'Tinos' : 'Tinos', 'Titan+One' : 'Titan One', 'Titillium+Web' : 'Titillium Web', 'Trade+Winds' : 'Trade Winds', 'Trocchi' : 'Trocchi', 'Trochut' : 'Trochut', 'Trykker' : 'Trykker', 'Tulpen+One' : 'Tulpen One', 'Ubuntu' : 'Ubuntu', 'Ubuntu+Condensed' : 'Ubuntu Condensed', 'Ubuntu+Mono' : 'Ubuntu Mono', 'Ultra' : 'Ultra', 'Uncial+Antiqua' : 'Uncial Antiqua', 'Underdog' : 'Underdog', 'Unica+One' : 'Unica One', 'UnifrakturCook' : 'UnifrakturCook', 'UnifrakturMaguntia' : 'UnifrakturMaguntia', 'Unkempt' : 'Unkempt', 'Unna' : 'Unna', 'VT323' : 'VT323', 'Vampiro+One' : 'Vampiro One', 'Varela' : 'Varela', 'Varela+Round' : 'Varela Round', 'Vast+Shadow' : 'Vast Shadow', 'Vibur' : 'Vibur', 'Vidaloka' : 'Vidaloka', 'Viga' : 'Viga', 'Voces' : 'Voces', 'Volkhov' : 'Volkhov', 'Vollkorn' : 'Vollkorn', 'Voltaire' : 'Voltaire', 'Waiting+for+the+sunrise' : 'Waiting for the Sunrise', 'Wallpoet' : 'Wallpoet', 'Walter+Turncoat' : 'Walter Turncoat', 'Warnes' : 'Warnes', 'Wellfleet' : 'Wellfleet', 'Wendy+One' : 'Wendy One', 'Wire+One' : 'Wire One', 'Yanone+Kaffeesatz' : 'Yanone Kaffeesatz', 'Yellowtail' : 'Yellowtail', 'Yeseva+One' : 'Yeseva One', 'Yesteryear' : 'Yesteryear', 'Zeyada' : 'Zeyada'
|
2600 |
+
};
|
2601 |
+
}
|
2602 |
+
else {
|
2603 |
+
fonts = {'arial' : 'Arial', 'lucida grande' : 'Lucida grande', 'segoe ui' : 'Segoe ui', 'tahoma' : 'Tahoma', 'trebuchet ms' : 'Trebuchet ms', 'verdana' : 'Verdana', 'cursive' : 'Cursive', 'fantasy' : 'Fantasy', 'monospace' : 'Monospace', 'serif' : 'Serif'};
|
2604 |
+
}
|
2605 |
+
if (typeof change == "undefined") {
|
2606 |
+
var fonts_option = "";
|
2607 |
+
for (var i in fonts) {
|
2608 |
+
fonts_option += '<option value="' + i + '">' + fonts[i] + '</option>';
|
2609 |
+
}
|
2610 |
+
jQuery("#" + prefix + "_ffamily").html(fonts_option);
|
2611 |
+
}
|
2612 |
+
var font = jQuery("#" + prefix + "_ffamily").val();
|
2613 |
+
jQuery("#" + prefix).css({fontFamily: fonts[font]});
|
2614 |
+
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-slider-plugin.html
|
|
4 |
Tags: best slider plugin, carousel, carousel slider, coin slider, content slider, content slideshow, custom video slider, flex slider, free video slider, free video slideshow, Horizontal slider, Image Rotator, image slider, image slideshow, javascript slider, javascript slideshow, jquery slider, jquery slideshow, Photo Slider, posts slider, responsive slider, responsive slideshow, sidebar, slide, slide show, slider, slider plugin, slider widget, slides, slideshow,slideshow manager, slideshow plugin, vertical slider, video slider, video slideshow,vimeo slideshow, vimeo slider, widget slider, widget slideshow, wordpress slider, wordpress slideshow, wp slider, youtube slider, youtube slideshow, post slider, fullscreen Slider, css3 slider, responsive image slider, banner slider, social slider, cycle slider, text slider, revolution slider, thumbnail slider, touch slider, sliders, parallax slider, 3D slider, coinslider, featured-content-slider, image, images, picture, pictures, picture slider, responsive, shortcode, widget, vertical slides, autoplay, auto, jquery, rotate, flexslider, gallery, photo gallery, javascript, rotator, wordpress picture slider, wordpress responsive slider, animation, best slider, fullwidth slider, mobile slider, swipe, layer, layer slider, product slider
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.2
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -142,6 +142,9 @@ After downloading the ZIP file of the slider plugin,
|
|
142 |
|
143 |
== Changelog ==
|
144 |
|
|
|
|
|
|
|
145 |
= 1.0.33 =
|
146 |
Added: Option to display bullets on hover.
|
147 |
|
4 |
Tags: best slider plugin, carousel, carousel slider, coin slider, content slider, content slideshow, custom video slider, flex slider, free video slider, free video slideshow, Horizontal slider, Image Rotator, image slider, image slideshow, javascript slider, javascript slideshow, jquery slider, jquery slideshow, Photo Slider, posts slider, responsive slider, responsive slideshow, sidebar, slide, slide show, slider, slider plugin, slider widget, slides, slideshow,slideshow manager, slideshow plugin, vertical slider, video slider, video slideshow,vimeo slideshow, vimeo slider, widget slider, widget slideshow, wordpress slider, wordpress slideshow, wp slider, youtube slider, youtube slideshow, post slider, fullscreen Slider, css3 slider, responsive image slider, banner slider, social slider, cycle slider, text slider, revolution slider, thumbnail slider, touch slider, sliders, parallax slider, 3D slider, coinslider, featured-content-slider, image, images, picture, pictures, picture slider, responsive, shortcode, widget, vertical slides, autoplay, auto, jquery, rotate, flexslider, gallery, photo gallery, javascript, rotator, wordpress picture slider, wordpress responsive slider, animation, best slider, fullwidth slider, mobile slider, swipe, layer, layer slider, product slider
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.2
|
7 |
+
Stable tag: 1.0.34
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
142 |
|
143 |
== Changelog ==
|
144 |
|
145 |
+
= 1.0.34 =
|
146 |
+
Added: Google fonts.
|
147 |
+
|
148 |
= 1.0.33 =
|
149 |
Added: Option to display bullets on hover.
|
150 |
|
slider-wd.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Slider WD
|
5 |
* Plugin URI: https://web-dorado.com/products/wordpress-slider-plugin.html
|
6 |
* Description: This is a responsive plugin, which allows adding sliders to your posts/pages and to custom location. It uses large number of transition effects and supports various types of layers.
|
7 |
-
* Version: 1.0.
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -182,6 +182,11 @@ function wds_preview() {
|
|
182 |
wp_print_styles('wds_effects');
|
183 |
wp_register_style('wds_font-awesome', WD_S_URL . '/css/font-awesome-4.0.1/font-awesome.css', array(), '4.0.1');
|
184 |
wp_print_styles('wds_font-awesome');
|
|
|
|
|
|
|
|
|
|
|
185 |
$id = WDW_S_Library::get('slider_id');
|
186 |
?>
|
187 |
<div class="wds_preview_cont1">
|
@@ -384,7 +389,7 @@ register_activation_hook(__FILE__, 'wds_activate');
|
|
384 |
|
385 |
function wds_install() {
|
386 |
$version = get_option("wds_version");
|
387 |
-
$new_version = '1.0.
|
388 |
if ($version && version_compare($version, $new_version, '<')) {
|
389 |
require_once WD_S_DIR . "/sliders-update.php";
|
390 |
wds_update($version);
|
@@ -406,6 +411,10 @@ function wds_styles() {
|
|
406 |
$version = get_option("wds_version");
|
407 |
wp_admin_css('thickbox');
|
408 |
wp_enqueue_style('wds_tables', WD_S_URL . '/css/wds_tables.css', array(), $version);
|
|
|
|
|
|
|
|
|
409 |
}
|
410 |
|
411 |
// Plugin scripts.
|
@@ -432,6 +441,19 @@ function wds_front_end_scripts() {
|
|
432 |
wp_enqueue_style('wds_effects', WD_S_URL . '/css/wds_effects.css', array(), $version);
|
433 |
|
434 |
wp_enqueue_style('wds_font-awesome', WD_S_URL . '/css/font-awesome-4.0.1/font-awesome.css', array(), '4.0.1');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
435 |
}
|
436 |
add_action('wp_enqueue_scripts', 'wds_front_end_scripts');
|
437 |
|
4 |
* Plugin Name: Slider WD
|
5 |
* Plugin URI: https://web-dorado.com/products/wordpress-slider-plugin.html
|
6 |
* Description: This is a responsive plugin, which allows adding sliders to your posts/pages and to custom location. It uses large number of transition effects and supports various types of layers.
|
7 |
+
* Version: 1.0.34
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
182 |
wp_print_styles('wds_effects');
|
183 |
wp_register_style('wds_font-awesome', WD_S_URL . '/css/font-awesome-4.0.1/font-awesome.css', array(), '4.0.1');
|
184 |
wp_print_styles('wds_font-awesome');
|
185 |
+
$google_fonts = array('ABeeZee' => 'ABeeZee', 'Abel' => 'Abel', 'Abril+Fatface' => 'Abril Fatface', 'Aclonica' => 'Aclonica', 'Acme' => 'Acme', 'Actor' => 'Actor', 'Adamina' => 'Adamina', 'Advent+Pro' => 'Advent Pro', 'Aguafina+Script' => 'Aguafina Script', 'Akronim' => 'Akronim', 'Aladin' => 'Aladin', 'Aldrich' => 'Aldrich', 'Alegreya' => 'Alegreya', 'Alegreya+SC' => 'Alegreya SC', 'Alex+Brush' => 'Alex Brush', 'Alfa+Slab+One' => 'Alfa Slab One', 'Alice' => 'Alice', 'Alike' => 'Alike', 'Alike+Angular' => 'Alike Angular', 'Allan' => 'Allan', 'Allerta' => 'Allerta', 'Allura' => 'Allura', 'Almendra' => 'Almendra', 'Almendra+display' => 'Almendra Display', 'Almendra+sc' => 'Almendra SC', 'Amarante' => 'Amarante', 'Amaranth' => 'Amaranth', 'Amatic+sc' => 'Amatic SC', 'Amethysta' => 'Amethysta', 'Anaheim' => 'Anaheim', 'Andada' => 'Andada', 'Andika' => 'Andika', 'Angkor' => 'Angkor', 'Annie+Use+Your+Telescope' => 'Annie Use Your Telescope', 'Anonymous+Pro' => 'Anonymous Pro', 'Antic' => 'Antic', 'Antic+Didone' => 'Antic Didone', 'Antic+Slab' => 'Antic Slab', 'Anton' => 'Anton', 'Arapey' => 'Arapey', 'Arbutus' => 'Arbutus', 'Arbutus+slab' => 'Arbutus Slab', 'Architects+daughter' => 'Architects Daughter', 'Archivo+black' => 'Archivo Black', 'Archivo+narrow' => 'Archivo Narrow', 'Arimo' => 'Arimo', 'Arizonia' => 'Arizonia', 'Armata' => 'Armata', 'Artifika' => 'Artifika', 'Arvo' => 'Arvo', 'Asap' => 'Asap', 'Asset' => 'Asset', 'Astloch' => 'Astloch', 'Asul' => 'Asul', 'Atomic+age' => 'Atomic Age', 'Aubrey' => 'Aubrey', 'Audiowide' => 'Audiowide', 'Autour+one' => 'Autour One', 'Average' => 'Average', 'Average+Sans' => 'Average Sans', 'Averia+Gruesa+Libre' => 'Averia Gruesa Libre', 'Averia+Libre' => 'Averia Libre', 'Averia+Sans+Libre' => 'Averia Sans Libre', 'Averia+Serif+Libre' => 'Averia Serif Libre', 'Bad+Script' => 'Bad Script', 'Balthazar' => 'Balthazar', 'Bangers' => 'Bangers', 'Basic' => 'Basic', 'Battambang' => 'Battambang', 'Baumans' => 'Baumans', 'Bayon' => 'Bayon', 'Belgrano' => 'Belgrano', 'BenchNine' => 'BenchNine', 'Bentham' => 'Bentham', 'Berkshire+Swash' => 'Berkshire Swash', 'Bevan' => 'Bevan', 'Bigelow+Rules' => 'Bigelow Rules', 'Bigshot+One' => 'Bigshot One', 'Bilbo' => 'Bilbo', 'Bilbo+Swash+Caps' => 'Bilbo Swash Caps', 'Bitter' => 'Bitter', 'Black+Ops+One' => 'Black Ops One', 'Bokor' => 'Bokor', 'Bonbon' => 'Bonbon', 'Boogaloo' => 'Boogaloo', 'Bowlby+One' => 'Bowlby One', 'bowlby+One+SC' => 'Bowlby One SC', 'Brawler' => 'Brawler', 'Bree+Serif' => 'Bree Serif', 'Bubblegum+Sans' => 'Bubblegum Sans', 'Bubbler+One' => 'Bubbler One', 'Buda' => 'Buda', 'Buenard' => 'Buenard', 'Butcherman' => 'Butcherman', 'Butterfly+Kids' => 'Butterfly Kids', 'Cabin' => 'Cabin', 'Cabin+Condensed' => 'Cabin Condensed', 'Cabin+Sketch' => 'Cabin Sketch', 'Caesar+Dressing' => 'Caesar Dressing', 'Cagliostro' => 'Cagliostro', 'Calligraffitti' => 'Calligraffitti', 'Cambo' => 'Cambo', 'Candal' => 'Candal', 'Cantarell' => 'Cantarell', 'Cantata+One' => 'Cantata One', 'Cantora+One' => 'Cantora One', 'Capriola' => 'Capriola', 'Cardo' => 'Cardo', 'Carme' => 'Carme', 'Carrois+Gothic' => 'Carrois Gothic', 'Carrois+Gothic+SC' => 'Carrois Gothic SC', 'Carter+One' => 'Carter One', 'Caudex' => 'Caudex', 'Cedarville+cursive' => 'Cedarville Cursive', 'Ceviche+One' => 'Ceviche One', 'Changa+One' => 'Changa One', 'Chango' => 'Chango', 'Chau+philomene+One' => 'Chau Philomene One', 'Chela+One' => 'Chela One', 'Chelsea+Market' => 'Chelsea Market', 'Chenla' => 'Chenla', 'Cherry+Cream+Soda' => 'Cherry Cream Soda', 'Chewy' => 'Chewy', 'Chicle' => 'Chicle', 'Chivo' => 'Chivo', 'Cinzel' => 'Cinzel', 'Cinzel+Decorative' => 'Cinzel Decorative', 'Clicker+Script' => 'Clicker Script', 'Coda' => 'Coda', 'Coda+Caption' => 'Coda Caption', 'Codystar' => 'Codystar', 'Combo' => 'Combo', 'Comfortaa' => 'Comfortaa', 'Coming+soon' => 'Coming Soon', 'Concert+One' => 'Concert One', 'Condiment' => 'Condiment', 'Content' => 'Content', 'Contrail+One' => 'Contrail One', 'Convergence' => 'Convergence', 'Cookie' => 'Cookie', 'Copse' => 'Copse', 'Corben' => 'Corben', 'Courgette' => 'Courgette', 'Cousine' => 'Cousine', 'Coustard' => 'Coustard', 'Covered+By+Your+Grace' => 'Covered By Your Grace', 'Crafty+Girls' => 'Crafty Girls', 'Creepster' => 'Creepster', 'Crete+Round' => 'Crete Round', 'Crimson+Text' => 'Crimson Text', 'Croissant+One' => 'Croissant One', 'Crushed' => 'Crushed', 'Cuprum' => 'Cuprum', 'Cutive' => 'Cutive', 'Cutive+Mono' => 'Cutive Mono', 'Damion' => 'Damion', 'Dancing+Script' => 'Dancing Script', 'Dangrek' => 'Dangrek', 'Dawning+of+a+New+Day' => 'Dawning of a New Day', 'Days+One' => 'Days One', 'Delius' => 'Delius', 'Delius+Swash+Caps' => 'Delius Swash Caps', 'Delius+Unicase' => 'Delius Unicase', 'Della+Respira' => 'Della Respira', 'Denk+One' => 'Denk One', 'Devonshire' => 'Devonshire', 'Didact+Gothic' => 'Didact Gothic', 'Diplomata' => 'Diplomata', 'Diplomata+SC' => 'Diplomata SC', 'Domine' => 'Domine', 'Donegal+One' => 'Donegal One', 'Doppio+One' => 'Doppio One', 'Dorsa' => 'Dorsa', 'Dosis' => 'Dosis', 'Dr+Sugiyama' => 'Dr Sugiyama', 'Droid+Sans' => 'Droid Sans', 'Droid+Sans+Mono' => 'Droid Sans Mono', 'Droid+Serif' => 'Droid Serif', 'Duru+Sans' => 'Duru Sans', 'Dynalight' => 'Dynalight', 'Eb+Garamond' => 'EB Garamond', 'Eagle+Lake' => 'Eagle Lake', 'Eater' => 'Eater', 'Economica' => 'Economica', 'Electrolize' => 'Electrolize', 'Elsie' => 'Elsie', 'Elsie+Swash+Caps' => 'Elsie Swash Caps', 'Emblema+One' => 'Emblema One', 'Emilys+Candy' => 'Emilys Candy', 'Engagement' => 'Engagement', 'Englebert' => 'Englebert', 'Enriqueta' => 'Enriqueta', 'Erica+One' => 'Erica One', 'Esteban' => 'Esteban', 'Euphoria+Script' => 'Euphoria Script', 'Ewert' => 'Ewert', 'Exo' => 'Exo', 'Expletus+Sans' => 'Expletus Sans', 'Fanwood+Text' => 'Fanwood Text', 'Fascinate' => 'Fascinate', 'Fascinate+Inline' => 'Fascinate Inline', 'Faster+One' => 'Faster One', 'Fasthand' => 'Fasthand', 'Federant' => 'Federant', 'Federo' => 'Federo', 'Felipa' => 'Felipa', 'Fenix' => 'Fenix', 'Finger+Paint' => 'Finger Paint', 'Fjalla+One' => 'Fjalla One', 'Fjord+One' => 'Fjord One', 'Flamenco' => 'Flamenco', 'Flavors' => 'Flavors', 'Fondamento' => 'Fondamento', 'Fontdiner+swanky' => 'Fontdiner Swanky', 'Forum' => 'Forum', 'Francois+One' => 'Francois One', 'Freckle+Face' => 'Freckle Face', 'Fredericka+the+Great' => 'Fredericka the Great', 'Fredoka+One' => 'Fredoka One', 'Freehand' => 'Freehand', 'Fresca' => 'Fresca', 'Frijole' => 'Frijole', 'Fruktur' => 'Fruktur', 'Fugaz+One' => 'Fugaz One', 'GFS+Didot' => 'GFS Didot', 'GFS+Neohellenic' => 'GFS Neohellenic', 'Gabriela' => 'Gabriela', 'Gafata' => 'Gafata', 'Galdeano' => 'Galdeano', 'Galindo' => 'Galindo', 'Gentium+Basic' => 'Gentium Basic', 'Gentium+Book+Basic' => 'Gentium Book Basic', 'Geo' => 'Geo', 'Geostar' => 'Geostar', 'Geostar+Fill' => 'Geostar Fill', 'Germania+One' => 'Germania One', 'Gilda+Display' => 'Gilda Display', 'Give+You+Glory' => 'Give You Glory', 'Glass+Antiqua' => 'Glass Antiqua', 'Glegoo' => 'Glegoo', 'Gloria+Hallelujah' => 'Gloria Hallelujah', 'Goblin+One' => 'Goblin One', 'Gochi+Hand' => 'Gochi Hand', 'Gorditas' => 'Gorditas', 'Goudy+Bookletter+1911' => 'Goudy Bookletter 1911', 'Graduate' => 'Graduate', 'Grand+Hotel' => 'Grand Hotel', 'Gravitas+One' => 'Gravitas One', 'Great+Vibes' => 'Great Vibes', 'Griffy' => 'Griffy', 'Gruppo' => 'Gruppo', 'Gudea' => 'Gudea', 'Habibi' => 'Habibi', 'Hammersmith+One' => 'Hammersmith One', 'Hanalei' => 'Hanalei', 'Hanalei+Fill' => 'Hanalei Fill', 'Handlee' => 'Handlee', 'Hanuman' => 'Hanuman', 'Happy+Monkey' => 'Happy Monkey', 'Headland+One' => 'Headland One', 'Henny+Penny' => 'Henny Penny', 'Herr+Von+Muellerhoff' => 'Herr Von Muellerhoff', 'Holtwood+One +SC' => 'Holtwood One SC', 'Homemade+Apple' => 'Homemade Apple', 'Homenaje' => 'Homenaje', 'IM+Fell+DW+Pica' => 'IM Fell DW Pica', 'IM+Fell+DW+Pica+SC' => 'IM Fell DW Pica SC', 'IM+Fell+Double+Pica' => 'IM Fell Double Pica', 'IM+Fell+Double+Pica+S' => 'IM Fell Double Pica S', 'IM+Fell+English' => 'IM Fell English', 'IM+Fell+English+SC' => 'IM Fell English SC', 'IM+Fell+French+Canon' => 'IM Fell French Canon', 'IM+Fell+French+Canon+SC' => 'IM Fell French Canon SC', 'IM+Fell+Great+Primer' => 'IM Fell Great Primer', 'IM+Fell+Great+Primer+SC' => 'IM Fell Great Primer SC', 'Iceberg' => 'Iceberg', 'Iceland' => 'Iceland', 'Imprima' => 'Imprima', 'Inconsolata' => 'Inconsolata', 'Inder' => 'Inder', 'Indie+Flower' => 'Indie Flower', 'Inika' => 'Inika', 'Irish+Grover' => 'Irish Grover', 'Istok+Web' => 'Istok Web', 'Italiana' => 'Italiana', 'Italianno' => 'Italianno', 'Jacques+Francois' => 'Jacques Francois', 'Jacques+Francois+Shadow' => 'Jacques Francois Shadow', 'Jim+Nightshade' => 'Jim Nightshade', 'Jockey+One' => 'Jockey One', 'Jolly+Lodger' => 'Jolly Lodger', 'Josefin+Sans' => 'Josefin Sans', 'Josefin+Slab' => 'Josefin Slab', 'Joti+One' => 'Joti One', 'Judson' => 'Judson', 'Julee' => 'Julee', 'Julius+Sans+One' => 'Julius Sans One', 'Junge' => 'Junge', 'Jura' => 'Jura', 'Just+Another+Hand' => 'Just Another Hand', 'Just+Me+Again+Down+Here' => 'Just Me Again Down Here', 'Kameron' => 'Kameron', 'Karla' => 'Karla', 'Kaushan+Script' => 'Kaushan Script', 'Kavoon' => 'Kavoon', 'Keania+One' => 'Keania One', 'kelly+Slab' => 'Kelly Slab', 'Kenia' => 'Kenia', 'Khmer' => 'Khmer', 'Kite+One' => 'Kite One', 'Knewave' => 'Knewave', 'Kotta+One' => 'Kotta One', 'Koulen' => 'Koulen', 'Kranky' => 'Kranky', 'Kreon' => 'Kreon', 'Kristi' => 'Kristi', 'Krona+One' => 'Krona One', 'La+Belle+Aurore' => 'La Belle Aurore', 'Lancelot' => 'Lancelot', 'Lato' => 'Lato', 'League+Script' => 'League Script', 'Leckerli+One' => 'Leckerli One', 'Ledger' => 'Ledger', 'Lekton' => 'Lekton', 'Lemon' => 'Lemon', 'Libre+Baskerville' => 'Libre Baskerville', 'Life+Savers' => 'Life Savers', 'Lilita+One' => 'Lilita One', 'Limelight' => 'Limelight', 'Linden+Hill' => 'Linden Hill', 'Lobster' => 'Lobster', 'Lobster+Two' => 'Lobster Two', 'Londrina+Outline' => 'Londrina Outline', 'Londrina+Shadow' => 'Londrina Shadow', 'Londrina+Sketch' => 'Londrina Sketch', 'Londrina+Solid' => 'Londrina Solid', 'Lora' => 'Lora', 'Love+Ya+Like+A+Sister' => 'Love Ya Like A Sister', 'Loved+by+the+King' => 'Loved by the King', 'Lovers+Quarrel' => 'Lovers Quarrel', 'Luckiest+Guy' => 'Luckiest Guy', 'Lusitana' => 'Lusitana', 'Lustria' => 'Lustria', 'Macondo' => 'Macondo', 'Macondo+Swash+Caps' => 'Macondo Swash Caps', 'Magra' => 'Magra', 'Maiden+Orange' => 'Maiden Orange', 'Mako' => 'Mako', 'Marcellus' => 'Marcellus', 'Marcellus+SC' => 'Marcellus SC', 'Marck+Script' => 'Marck Script', 'Margarine' => 'Margarine', 'Marko+One' => 'Marko One', 'Marmelad' => 'Marmelad', 'Marvel' => 'Marvel', 'Mate' => 'Mate', 'Mate+SC' => 'Mate SC', 'Maven+Pro' => 'Maven Pro', 'McLaren' => 'McLaren', 'Meddon' => 'Meddon', 'MedievalSharp' => 'MedievalSharp', 'Medula+One' => 'Medula One', 'Megrim' => 'Megrim', 'Meie+Script' => 'Meie Script', 'Merienda' => 'Merienda', 'Merienda+One' => 'Merienda One', 'Merriweather' => 'Merriweather', 'Merriweather+Sans' => 'Merriweather Sans', 'Metal' => 'Metal', 'Metal+mania' => 'Metal Mania', 'Metamorphous' => 'Metamorphous', 'Metrophobic' => 'Metrophobic', 'Michroma' => 'Michroma', 'Milonga' => 'Milonga', 'Miltonian' => 'Miltonian', 'Miltonian+Tattoo' => 'Miltonian Tattoo', 'Miniver' => 'Miniver', 'Miss+Fajardose' => 'Miss Fajardose', 'Modern+Antiqua' => 'Modern Antiqua', 'Molengo' => 'Molengo', 'Molle' => 'Molle', 'Monda' => 'Monda', 'Monofett' => 'Monofett', 'Monoton' => 'Monoton', 'Monsieur+La+Doulaise' => 'Monsieur La Doulaise', 'Montaga' => 'Montaga', 'Montez' => 'Montez', 'Montserrat' => 'Montserrat', 'Montserrat+Alternates' => 'Montserrat Alternates', 'Montserrat+Subrayada' => 'Montserrat Subrayada', 'Moul' => 'Moul', 'Moulpali' => 'Moulpali', 'Mountains+of+Christmas' => 'Mountains of Christmas', 'Mouse+Memoirs' => 'Mouse Memoirs', 'Mr+Bedfort' => 'Mr Bedfort', 'Mr+Dafoe' => 'Mr Dafoe', 'Mr+De+Haviland' => 'Mr De Haviland', 'Mrs+Saint+Delafield' => 'Mrs Saint Delafield', 'Mrs+Sheppards' => 'Mrs Sheppards', 'Muli' => 'Muli', 'Mystery+Quest' => 'Mystery Quest', 'Neucha' => 'Neucha', 'Neuton' => 'Neuton', 'New+Rocker' => 'New Rocker', 'News+Cycle' => 'News Cycle', 'Niconne' => 'Niconne', 'Nixie+One' => 'Nixie One', 'Nobile' => 'Nobile', 'Nokora' => 'Nokora', 'Norican' => 'Norican', 'Nosifer' => 'Nosifer', 'Nothing+You+Could+Do' => 'Nothing You Could Do', 'Noticia+Text' => 'Noticia Text', 'Nova+Cut' => 'Nova Cut', 'Nova+Flat' => 'Nova Flat', 'Nova+Mono' => 'Nova Mono', 'Nova+Oval' => 'Nova Oval', 'Nova+Round' => 'Nova Round', 'Nova+Script' => 'Nova Script', 'Nova+Slim' => 'Nova Slim', 'Nova+Square' => 'Nova Square', 'Numans' => 'Numans', 'Nunito' => 'Nunito', 'Odor+Mean+Chey' => 'Odor Mean Chey', 'Offside' => 'Offside', 'Old+standard+tt' => 'Old Standard TT', 'Oldenburg' => 'Oldenburg', 'Oleo+Script' => 'Oleo Script', 'Oleo+Script+Swash+Caps' => 'Oleo Script Swash Caps', 'Open+Sans' => 'Open Sans', 'Open+Sans+Condensed' => 'Open Sans Condensed', 'Oranienbaum' => 'Oranienbaum', 'Orbitron' => 'Orbitron', 'Oregano' => 'Oregano', 'Orienta' => 'Orienta', 'Original+Surfer' => 'Original Surfer', 'Oswald' => 'Oswald', 'Over+the+Rainbow' => 'Over the Rainbow', 'Overlock' => 'Overlock', 'Overlock+SC' => 'Overlock SC', 'Ovo' => 'Ovo', 'Oxygen' => 'Oxygen', 'Oxygen+Mono' => 'Oxygen Mono', 'PT+Mono' => 'PT Mono', 'PT+Sans' => 'PT Sans', 'PT+Sans+Caption' => 'PT Sans Caption', 'PT+Sans+Narrow' => 'PT Sans Narrow', 'PT+Serif' => 'PT Serif', 'PT+Serif+Caption' => 'PT Serif Caption', 'Pacifico' => 'Pacifico', 'Paprika' => 'Paprika', 'Parisienne' => 'Parisienne', 'Passero+One' => 'Passero One', 'Passion+One' => 'Passion One', 'Patrick+Hand' => 'Patrick Hand', 'Patrick+Hand+SC' => 'Patrick Hand SC', 'Patua+One' => 'Patua One', 'Paytone+One' => 'Paytone One', 'Peralta' => 'Peralta', 'Permanent+Marker' => 'Permanent Marker', 'Petit+Formal+Script' => 'Petit Formal Script', 'Petrona' => 'Petrona', 'Philosopher' => 'Philosopher', 'Piedra' => 'Piedra', 'Pinyon+Script' => 'Pinyon Script', 'Pirata+One' => 'Pirata One', 'Plaster' => 'Plaster', 'Play' => 'Play', 'Playball' => 'Playball', 'Playfair+Display' => 'Playfair Display', 'Playfair+Display+SC' => 'Playfair Display SC', 'Podkova' => 'Podkova', 'Poiret+One' => 'Poiret One', 'Poller+One' => 'Poller One', 'Poly' => 'Poly', 'Pompiere' => 'Pompiere', 'Pontano+Sans' => 'Pontano Sans', 'Port+Lligat+Sans' => 'Port Lligat Sans', 'Port+Lligat+Slab' => 'Port Lligat Slab', 'Prata' => 'Prata', 'Preahvihear' => 'Preahvihear', 'Press+start+2P' => 'Press Start 2P', 'Princess+Sofia' => 'Princess Sofia', 'Prociono' => 'Prociono', 'Prosto+One' => 'Prosto One', 'Puritan' => 'Puritan', 'Purple+Purse' => 'Purple Purse', 'Quando' => 'Quando', 'Quantico' => 'Quantico', 'Quattrocento' => 'Quattrocento', 'Quattrocento+Sans' => 'Quattrocento Sans', 'Questrial' => 'Questrial', 'Quicksand' => 'Quicksand', 'Quintessential' => 'Quintessential', 'Qwigley' => 'Qwigley', 'Racing+sans+One' => 'Racing Sans One', 'Radley' => 'Radley', 'Raleway' => 'Raleway', 'Raleway+Dots' => 'Raleway Dots', 'Rambla' => 'Rambla', 'Rammetto+One' => 'Rammetto One', 'Ranchers' => 'Ranchers', 'Rancho' => 'Rancho', 'Rationale' => 'Rationale', 'Redressed' => 'Redressed', 'Reenie+Beanie' => 'Reenie Beanie', 'Revalia' => 'Revalia', 'Ribeye' => 'Ribeye', 'Ribeye+Marrow' => 'Ribeye Marrow', 'Righteous' => 'Righteous', 'Risque' => 'Risque', 'Roboto' => 'Roboto', 'Roboto+Condensed' => 'Roboto Condensed', 'Rochester' => 'Rochester', 'Rock+Salt' => 'Rock Salt', 'Rokkitt' => 'Rokkitt', 'Romanesco' => 'Romanesco', 'Ropa+Sans' => 'Ropa Sans', 'Rosario' => 'Rosario', 'Rosarivo' => 'Rosarivo', 'Rouge+Script' => 'Rouge Script', 'Ruda' => 'Ruda', 'Rufina' => 'Rufina', 'Ruge+Boogie' => 'Ruge Boogie', 'Ruluko' => 'Ruluko', 'Rum+Raisin' => 'Rum Raisin', 'Ruslan+Display' => 'Ruslan Display', 'Russo+One' => 'Russo One', 'Ruthie' => 'Ruthie', 'Rye' => 'Rye', 'Sacramento' => 'Sacramento', 'Sail' => 'Sail', 'Salsa' => 'Salsa', 'Sanchez' => 'Sanchez', 'Sancreek' => 'Sancreek', 'Sansita+One' => 'Sansita One', 'Sarina' => 'Sarina', 'Satisfy' => 'Satisfy', 'Scada' => 'Scada', 'Schoolbell' => 'Schoolbell', 'Seaweed+Script' => 'Seaweed Script', 'Sevillana' => 'Sevillana', 'Seymour+One' => 'Seymour One', 'Shadows+Into+Light' => 'Shadows Into Light', 'Shadows+Into+Light+Two' => 'Shadows Into Light Two', 'Shanti' => 'Shanti', 'Share' => 'Share', 'Share+Tech' => 'Share Tech', 'Share+Tech+Mono' => 'Share Tech Mono', 'Shojumaru' => 'Shojumaru', 'Short+Stack' => 'Short Stack', 'Siemreap' => 'Siemreap', 'Sigmar+One' => 'Sigmar One', 'Signika' => 'Signika', 'Signika+Negative' => 'Signika Negative', 'Simonetta' => 'Simonetta', 'Sintony' => 'Sintony', 'Sirin+Stencil' => 'Sirin Stencil', 'Six+Caps' => 'Six Caps', 'Skranji' => 'Skranji', 'Slackey' => 'Slackey', 'Smokum' => 'Smokum', 'Smythe' => 'Smythe', 'Sniglet' => 'Sniglet', 'Snippet' => 'Snippet', 'Snowburst+One' => 'Snowburst One', 'Sofadi+One' => 'Sofadi One', 'Sofia' => 'Sofia', 'Sonsie+One' => 'Sonsie One', 'Sorts+Mill+Goudy' => 'Sorts Mill Goudy', 'Source+Code+Pro' => 'Source Code Pro', 'Source+Sans+Pro' => 'Source Sans Pro', 'Special+Elite' => 'Special Elite', 'Spicy+Rice' => 'Spicy Rice', 'Spinnaker' => 'Spinnaker', 'Spirax' => 'Spirax', 'Squada+One' => 'Squada One', 'Stalemate' => 'Stalemate', 'Stalinist+One' => 'Stalinist One', 'Stardos+Stencil' => 'Stardos Stencil', 'Stint+Ultra+Condensed' => 'Stint Ultra Condensed', 'Stint+Ultra+Expanded' => 'Stint Ultra Expanded', 'Stoke' => 'Stoke', 'Strait' => 'Strait', 'Sue+Ellen+Francisco' => 'Sue Ellen Francisco', 'Sunshiney' => 'Sunshiney', 'Supermercado+One' => 'Supermercado One', 'Suwannaphum' => 'Suwannaphum', 'Swanky+and+Moo+Moo' => 'Swanky and Moo Moo', 'Syncopate' => 'Syncopate', 'Tangerine' => 'Tangerine', 'Taprom' => 'Taprom', 'Tauri' => 'Tauri', 'Telex' => 'Telex', 'Tenor+Sans' => 'Tenor Sans', 'Text+Me+One' => 'Text Me One', 'The+Girl+Next+Door' => 'The Girl Next Door', 'Tienne' => 'Tienne', 'Tinos' => 'Tinos', 'Titan+One' => 'Titan One', 'Titillium+Web' => 'Titillium Web', 'Trade+Winds' => 'Trade Winds', 'Trocchi' => 'Trocchi', 'Trochut' => 'Trochut', 'Trykker' => 'Trykker', 'Tulpen+One' => 'Tulpen One', 'Ubuntu' => 'Ubuntu', 'Ubuntu+Condensed' => 'Ubuntu Condensed', 'Ubuntu+Mono' => 'Ubuntu Mono', 'Ultra' => 'Ultra', 'Uncial+Antiqua' => 'Uncial Antiqua', 'Underdog' => 'Underdog', 'Unica+One' => 'Unica One', 'UnifrakturCook' => 'UnifrakturCook', 'UnifrakturMaguntia' => 'UnifrakturMaguntia', 'Unkempt' => 'Unkempt', 'Unna' => 'Unna', 'VT323' => 'VT323', 'Vampiro+One' => 'Vampiro One', 'Varela' => 'Varela', 'Varela+Round' => 'Varela Round', 'Vast+Shadow' => 'Vast Shadow', 'Vibur' => 'Vibur', 'Vidaloka' => 'Vidaloka', 'Viga' => 'Viga', 'Voces' => 'Voces', 'Volkhov' => 'Volkhov', 'Vollkorn' => 'Vollkorn', 'Voltaire' => 'Voltaire', 'Waiting+for+the+sunrise' => 'Waiting for the Sunrise', 'Wallpoet' => 'Wallpoet', 'Walter+Turncoat' => 'Walter Turncoat', 'Warnes' => 'Warnes', 'Wellfleet' => 'Wellfleet', 'Wendy+One' => 'Wendy One', 'Wire+One' => 'Wire One', 'Yanone+Kaffeesatz' => 'Yanone Kaffeesatz', 'Yellowtail' => 'Yellowtail', 'Yeseva+One' => 'Yeseva One', 'Yesteryear' => 'Yesteryear', 'Zeyada' => 'Zeyada');
|
186 |
+
$query = implode("|", str_replace(' ', '+', $google_fonts));
|
187 |
+
?>
|
188 |
+
<link id="wds_googlefonts" media="all" type="text/css" href="https://fonts.googleapis.com/css?family=<?php echo $query; ?>" rel="stylesheet">
|
189 |
+
<?php
|
190 |
$id = WDW_S_Library::get('slider_id');
|
191 |
?>
|
192 |
<div class="wds_preview_cont1">
|
389 |
|
390 |
function wds_install() {
|
391 |
$version = get_option("wds_version");
|
392 |
+
$new_version = '1.0.34';
|
393 |
if ($version && version_compare($version, $new_version, '<')) {
|
394 |
require_once WD_S_DIR . "/sliders-update.php";
|
395 |
wds_update($version);
|
411 |
$version = get_option("wds_version");
|
412 |
wp_admin_css('thickbox');
|
413 |
wp_enqueue_style('wds_tables', WD_S_URL . '/css/wds_tables.css', array(), $version);
|
414 |
+
$google_fonts = array('ABeeZee' => 'ABeeZee', 'Abel' => 'Abel', 'Abril+Fatface' => 'Abril Fatface', 'Aclonica' => 'Aclonica', 'Acme' => 'Acme', 'Actor' => 'Actor', 'Adamina' => 'Adamina', 'Advent+Pro' => 'Advent Pro', 'Aguafina+Script' => 'Aguafina Script', 'Akronim' => 'Akronim', 'Aladin' => 'Aladin', 'Aldrich' => 'Aldrich', 'Alegreya' => 'Alegreya', 'Alegreya+SC' => 'Alegreya SC', 'Alex+Brush' => 'Alex Brush', 'Alfa+Slab+One' => 'Alfa Slab One', 'Alice' => 'Alice', 'Alike' => 'Alike', 'Alike+Angular' => 'Alike Angular', 'Allan' => 'Allan', 'Allerta' => 'Allerta', 'Allura' => 'Allura', 'Almendra' => 'Almendra', 'Almendra+display' => 'Almendra Display', 'Almendra+sc' => 'Almendra SC', 'Amarante' => 'Amarante', 'Amaranth' => 'Amaranth', 'Amatic+sc' => 'Amatic SC', 'Amethysta' => 'Amethysta', 'Anaheim' => 'Anaheim', 'Andada' => 'Andada', 'Andika' => 'Andika', 'Angkor' => 'Angkor', 'Annie+Use+Your+Telescope' => 'Annie Use Your Telescope', 'Anonymous+Pro' => 'Anonymous Pro', 'Antic' => 'Antic', 'Antic+Didone' => 'Antic Didone', 'Antic+Slab' => 'Antic Slab', 'Anton' => 'Anton', 'Arapey' => 'Arapey', 'Arbutus' => 'Arbutus', 'Arbutus+slab' => 'Arbutus Slab', 'Architects+daughter' => 'Architects Daughter', 'Archivo+black' => 'Archivo Black', 'Archivo+narrow' => 'Archivo Narrow', 'Arimo' => 'Arimo', 'Arizonia' => 'Arizonia', 'Armata' => 'Armata', 'Artifika' => 'Artifika', 'Arvo' => 'Arvo', 'Asap' => 'Asap', 'Asset' => 'Asset', 'Astloch' => 'Astloch', 'Asul' => 'Asul', 'Atomic+age' => 'Atomic Age', 'Aubrey' => 'Aubrey', 'Audiowide' => 'Audiowide', 'Autour+one' => 'Autour One', 'Average' => 'Average', 'Average+Sans' => 'Average Sans', 'Averia+Gruesa+Libre' => 'Averia Gruesa Libre', 'Averia+Libre' => 'Averia Libre', 'Averia+Sans+Libre' => 'Averia Sans Libre', 'Averia+Serif+Libre' => 'Averia Serif Libre', 'Bad+Script' => 'Bad Script', 'Balthazar' => 'Balthazar', 'Bangers' => 'Bangers', 'Basic' => 'Basic', 'Battambang' => 'Battambang', 'Baumans' => 'Baumans', 'Bayon' => 'Bayon', 'Belgrano' => 'Belgrano', 'BenchNine' => 'BenchNine', 'Bentham' => 'Bentham', 'Berkshire+Swash' => 'Berkshire Swash', 'Bevan' => 'Bevan', 'Bigelow+Rules' => 'Bigelow Rules', 'Bigshot+One' => 'Bigshot One', 'Bilbo' => 'Bilbo', 'Bilbo+Swash+Caps' => 'Bilbo Swash Caps', 'Bitter' => 'Bitter', 'Black+Ops+One' => 'Black Ops One', 'Bokor' => 'Bokor', 'Bonbon' => 'Bonbon', 'Boogaloo' => 'Boogaloo', 'Bowlby+One' => 'Bowlby One', 'bowlby+One+SC' => 'Bowlby One SC', 'Brawler' => 'Brawler', 'Bree+Serif' => 'Bree Serif', 'Bubblegum+Sans' => 'Bubblegum Sans', 'Bubbler+One' => 'Bubbler One', 'Buda' => 'Buda', 'Buenard' => 'Buenard', 'Butcherman' => 'Butcherman', 'Butterfly+Kids' => 'Butterfly Kids', 'Cabin' => 'Cabin', 'Cabin+Condensed' => 'Cabin Condensed', 'Cabin+Sketch' => 'Cabin Sketch', 'Caesar+Dressing' => 'Caesar Dressing', 'Cagliostro' => 'Cagliostro', 'Calligraffitti' => 'Calligraffitti', 'Cambo' => 'Cambo', 'Candal' => 'Candal', 'Cantarell' => 'Cantarell', 'Cantata+One' => 'Cantata One', 'Cantora+One' => 'Cantora One', 'Capriola' => 'Capriola', 'Cardo' => 'Cardo', 'Carme' => 'Carme', 'Carrois+Gothic' => 'Carrois Gothic', 'Carrois+Gothic+SC' => 'Carrois Gothic SC', 'Carter+One' => 'Carter One', 'Caudex' => 'Caudex', 'Cedarville+cursive' => 'Cedarville Cursive', 'Ceviche+One' => 'Ceviche One', 'Changa+One' => 'Changa One', 'Chango' => 'Chango', 'Chau+philomene+One' => 'Chau Philomene One', 'Chela+One' => 'Chela One', 'Chelsea+Market' => 'Chelsea Market', 'Chenla' => 'Chenla', 'Cherry+Cream+Soda' => 'Cherry Cream Soda', 'Chewy' => 'Chewy', 'Chicle' => 'Chicle', 'Chivo' => 'Chivo', 'Cinzel' => 'Cinzel', 'Cinzel+Decorative' => 'Cinzel Decorative', 'Clicker+Script' => 'Clicker Script', 'Coda' => 'Coda', 'Coda+Caption' => 'Coda Caption', 'Codystar' => 'Codystar', 'Combo' => 'Combo', 'Comfortaa' => 'Comfortaa', 'Coming+soon' => 'Coming Soon', 'Concert+One' => 'Concert One', 'Condiment' => 'Condiment', 'Content' => 'Content', 'Contrail+One' => 'Contrail One', 'Convergence' => 'Convergence', 'Cookie' => 'Cookie', 'Copse' => 'Copse', 'Corben' => 'Corben', 'Courgette' => 'Courgette', 'Cousine' => 'Cousine', 'Coustard' => 'Coustard', 'Covered+By+Your+Grace' => 'Covered By Your Grace', 'Crafty+Girls' => 'Crafty Girls', 'Creepster' => 'Creepster', 'Crete+Round' => 'Crete Round', 'Crimson+Text' => 'Crimson Text', 'Croissant+One' => 'Croissant One', 'Crushed' => 'Crushed', 'Cuprum' => 'Cuprum', 'Cutive' => 'Cutive', 'Cutive+Mono' => 'Cutive Mono', 'Damion' => 'Damion', 'Dancing+Script' => 'Dancing Script', 'Dangrek' => 'Dangrek', 'Dawning+of+a+New+Day' => 'Dawning of a New Day', 'Days+One' => 'Days One', 'Delius' => 'Delius', 'Delius+Swash+Caps' => 'Delius Swash Caps', 'Delius+Unicase' => 'Delius Unicase', 'Della+Respira' => 'Della Respira', 'Denk+One' => 'Denk One', 'Devonshire' => 'Devonshire', 'Didact+Gothic' => 'Didact Gothic', 'Diplomata' => 'Diplomata', 'Diplomata+SC' => 'Diplomata SC', 'Domine' => 'Domine', 'Donegal+One' => 'Donegal One', 'Doppio+One' => 'Doppio One', 'Dorsa' => 'Dorsa', 'Dosis' => 'Dosis', 'Dr+Sugiyama' => 'Dr Sugiyama', 'Droid+Sans' => 'Droid Sans', 'Droid+Sans+Mono' => 'Droid Sans Mono', 'Droid+Serif' => 'Droid Serif', 'Duru+Sans' => 'Duru Sans', 'Dynalight' => 'Dynalight', 'Eb+Garamond' => 'EB Garamond', 'Eagle+Lake' => 'Eagle Lake', 'Eater' => 'Eater', 'Economica' => 'Economica', 'Electrolize' => 'Electrolize', 'Elsie' => 'Elsie', 'Elsie+Swash+Caps' => 'Elsie Swash Caps', 'Emblema+One' => 'Emblema One', 'Emilys+Candy' => 'Emilys Candy', 'Engagement' => 'Engagement', 'Englebert' => 'Englebert', 'Enriqueta' => 'Enriqueta', 'Erica+One' => 'Erica One', 'Esteban' => 'Esteban', 'Euphoria+Script' => 'Euphoria Script', 'Ewert' => 'Ewert', 'Exo' => 'Exo', 'Expletus+Sans' => 'Expletus Sans', 'Fanwood+Text' => 'Fanwood Text', 'Fascinate' => 'Fascinate', 'Fascinate+Inline' => 'Fascinate Inline', 'Faster+One' => 'Faster One', 'Fasthand' => 'Fasthand', 'Federant' => 'Federant', 'Federo' => 'Federo', 'Felipa' => 'Felipa', 'Fenix' => 'Fenix', 'Finger+Paint' => 'Finger Paint', 'Fjalla+One' => 'Fjalla One', 'Fjord+One' => 'Fjord One', 'Flamenco' => 'Flamenco', 'Flavors' => 'Flavors', 'Fondamento' => 'Fondamento', 'Fontdiner+swanky' => 'Fontdiner Swanky', 'Forum' => 'Forum', 'Francois+One' => 'Francois One', 'Freckle+Face' => 'Freckle Face', 'Fredericka+the+Great' => 'Fredericka the Great', 'Fredoka+One' => 'Fredoka One', 'Freehand' => 'Freehand', 'Fresca' => 'Fresca', 'Frijole' => 'Frijole', 'Fruktur' => 'Fruktur', 'Fugaz+One' => 'Fugaz One', 'GFS+Didot' => 'GFS Didot', 'GFS+Neohellenic' => 'GFS Neohellenic', 'Gabriela' => 'Gabriela', 'Gafata' => 'Gafata', 'Galdeano' => 'Galdeano', 'Galindo' => 'Galindo', 'Gentium+Basic' => 'Gentium Basic', 'Gentium+Book+Basic' => 'Gentium Book Basic', 'Geo' => 'Geo', 'Geostar' => 'Geostar', 'Geostar+Fill' => 'Geostar Fill', 'Germania+One' => 'Germania One', 'Gilda+Display' => 'Gilda Display', 'Give+You+Glory' => 'Give You Glory', 'Glass+Antiqua' => 'Glass Antiqua', 'Glegoo' => 'Glegoo', 'Gloria+Hallelujah' => 'Gloria Hallelujah', 'Goblin+One' => 'Goblin One', 'Gochi+Hand' => 'Gochi Hand', 'Gorditas' => 'Gorditas', 'Goudy+Bookletter+1911' => 'Goudy Bookletter 1911', 'Graduate' => 'Graduate', 'Grand+Hotel' => 'Grand Hotel', 'Gravitas+One' => 'Gravitas One', 'Great+Vibes' => 'Great Vibes', 'Griffy' => 'Griffy', 'Gruppo' => 'Gruppo', 'Gudea' => 'Gudea', 'Habibi' => 'Habibi', 'Hammersmith+One' => 'Hammersmith One', 'Hanalei' => 'Hanalei', 'Hanalei+Fill' => 'Hanalei Fill', 'Handlee' => 'Handlee', 'Hanuman' => 'Hanuman', 'Happy+Monkey' => 'Happy Monkey', 'Headland+One' => 'Headland One', 'Henny+Penny' => 'Henny Penny', 'Herr+Von+Muellerhoff' => 'Herr Von Muellerhoff', 'Holtwood+One +SC' => 'Holtwood One SC', 'Homemade+Apple' => 'Homemade Apple', 'Homenaje' => 'Homenaje', 'IM+Fell+DW+Pica' => 'IM Fell DW Pica', 'IM+Fell+DW+Pica+SC' => 'IM Fell DW Pica SC', 'IM+Fell+Double+Pica' => 'IM Fell Double Pica', 'IM+Fell+Double+Pica+S' => 'IM Fell Double Pica S', 'IM+Fell+English' => 'IM Fell English', 'IM+Fell+English+SC' => 'IM Fell English SC', 'IM+Fell+French+Canon' => 'IM Fell French Canon', 'IM+Fell+French+Canon+SC' => 'IM Fell French Canon SC', 'IM+Fell+Great+Primer' => 'IM Fell Great Primer', 'IM+Fell+Great+Primer+SC' => 'IM Fell Great Primer SC', 'Iceberg' => 'Iceberg', 'Iceland' => 'Iceland', 'Imprima' => 'Imprima', 'Inconsolata' => 'Inconsolata', 'Inder' => 'Inder', 'Indie+Flower' => 'Indie Flower', 'Inika' => 'Inika', 'Irish+Grover' => 'Irish Grover', 'Istok+Web' => 'Istok Web', 'Italiana' => 'Italiana', 'Italianno' => 'Italianno', 'Jacques+Francois' => 'Jacques Francois', 'Jacques+Francois+Shadow' => 'Jacques Francois Shadow', 'Jim+Nightshade' => 'Jim Nightshade', 'Jockey+One' => 'Jockey One', 'Jolly+Lodger' => 'Jolly Lodger', 'Josefin+Sans' => 'Josefin Sans', 'Josefin+Slab' => 'Josefin Slab', 'Joti+One' => 'Joti One', 'Judson' => 'Judson', 'Julee' => 'Julee', 'Julius+Sans+One' => 'Julius Sans One', 'Junge' => 'Junge', 'Jura' => 'Jura', 'Just+Another+Hand' => 'Just Another Hand', 'Just+Me+Again+Down+Here' => 'Just Me Again Down Here', 'Kameron' => 'Kameron', 'Karla' => 'Karla', 'Kaushan+Script' => 'Kaushan Script', 'Kavoon' => 'Kavoon', 'Keania+One' => 'Keania One', 'kelly+Slab' => 'Kelly Slab', 'Kenia' => 'Kenia', 'Khmer' => 'Khmer', 'Kite+One' => 'Kite One', 'Knewave' => 'Knewave', 'Kotta+One' => 'Kotta One', 'Koulen' => 'Koulen', 'Kranky' => 'Kranky', 'Kreon' => 'Kreon', 'Kristi' => 'Kristi', 'Krona+One' => 'Krona One', 'La+Belle+Aurore' => 'La Belle Aurore', 'Lancelot' => 'Lancelot', 'Lato' => 'Lato', 'League+Script' => 'League Script', 'Leckerli+One' => 'Leckerli One', 'Ledger' => 'Ledger', 'Lekton' => 'Lekton', 'Lemon' => 'Lemon', 'Libre+Baskerville' => 'Libre Baskerville', 'Life+Savers' => 'Life Savers', 'Lilita+One' => 'Lilita One', 'Limelight' => 'Limelight', 'Linden+Hill' => 'Linden Hill', 'Lobster' => 'Lobster', 'Lobster+Two' => 'Lobster Two', 'Londrina+Outline' => 'Londrina Outline', 'Londrina+Shadow' => 'Londrina Shadow', 'Londrina+Sketch' => 'Londrina Sketch', 'Londrina+Solid' => 'Londrina Solid', 'Lora' => 'Lora', 'Love+Ya+Like+A+Sister' => 'Love Ya Like A Sister', 'Loved+by+the+King' => 'Loved by the King', 'Lovers+Quarrel' => 'Lovers Quarrel', 'Luckiest+Guy' => 'Luckiest Guy', 'Lusitana' => 'Lusitana', 'Lustria' => 'Lustria', 'Macondo' => 'Macondo', 'Macondo+Swash+Caps' => 'Macondo Swash Caps', 'Magra' => 'Magra', 'Maiden+Orange' => 'Maiden Orange', 'Mako' => 'Mako', 'Marcellus' => 'Marcellus', 'Marcellus+SC' => 'Marcellus SC', 'Marck+Script' => 'Marck Script', 'Margarine' => 'Margarine', 'Marko+One' => 'Marko One', 'Marmelad' => 'Marmelad', 'Marvel' => 'Marvel', 'Mate' => 'Mate', 'Mate+SC' => 'Mate SC', 'Maven+Pro' => 'Maven Pro', 'McLaren' => 'McLaren', 'Meddon' => 'Meddon', 'MedievalSharp' => 'MedievalSharp', 'Medula+One' => 'Medula One', 'Megrim' => 'Megrim', 'Meie+Script' => 'Meie Script', 'Merienda' => 'Merienda', 'Merienda+One' => 'Merienda One', 'Merriweather' => 'Merriweather', 'Merriweather+Sans' => 'Merriweather Sans', 'Metal' => 'Metal', 'Metal+mania' => 'Metal Mania', 'Metamorphous' => 'Metamorphous', 'Metrophobic' => 'Metrophobic', 'Michroma' => 'Michroma', 'Milonga' => 'Milonga', 'Miltonian' => 'Miltonian', 'Miltonian+Tattoo' => 'Miltonian Tattoo', 'Miniver' => 'Miniver', 'Miss+Fajardose' => 'Miss Fajardose', 'Modern+Antiqua' => 'Modern Antiqua', 'Molengo' => 'Molengo', 'Molle' => 'Molle', 'Monda' => 'Monda', 'Monofett' => 'Monofett', 'Monoton' => 'Monoton', 'Monsieur+La+Doulaise' => 'Monsieur La Doulaise', 'Montaga' => 'Montaga', 'Montez' => 'Montez', 'Montserrat' => 'Montserrat', 'Montserrat+Alternates' => 'Montserrat Alternates', 'Montserrat+Subrayada' => 'Montserrat Subrayada', 'Moul' => 'Moul', 'Moulpali' => 'Moulpali', 'Mountains+of+Christmas' => 'Mountains of Christmas', 'Mouse+Memoirs' => 'Mouse Memoirs', 'Mr+Bedfort' => 'Mr Bedfort', 'Mr+Dafoe' => 'Mr Dafoe', 'Mr+De+Haviland' => 'Mr De Haviland', 'Mrs+Saint+Delafield' => 'Mrs Saint Delafield', 'Mrs+Sheppards' => 'Mrs Sheppards', 'Muli' => 'Muli', 'Mystery+Quest' => 'Mystery Quest', 'Neucha' => 'Neucha', 'Neuton' => 'Neuton', 'New+Rocker' => 'New Rocker', 'News+Cycle' => 'News Cycle', 'Niconne' => 'Niconne', 'Nixie+One' => 'Nixie One', 'Nobile' => 'Nobile', 'Nokora' => 'Nokora', 'Norican' => 'Norican', 'Nosifer' => 'Nosifer', 'Nothing+You+Could+Do' => 'Nothing You Could Do', 'Noticia+Text' => 'Noticia Text', 'Nova+Cut' => 'Nova Cut', 'Nova+Flat' => 'Nova Flat', 'Nova+Mono' => 'Nova Mono', 'Nova+Oval' => 'Nova Oval', 'Nova+Round' => 'Nova Round', 'Nova+Script' => 'Nova Script', 'Nova+Slim' => 'Nova Slim', 'Nova+Square' => 'Nova Square', 'Numans' => 'Numans', 'Nunito' => 'Nunito', 'Odor+Mean+Chey' => 'Odor Mean Chey', 'Offside' => 'Offside', 'Old+standard+tt' => 'Old Standard TT', 'Oldenburg' => 'Oldenburg', 'Oleo+Script' => 'Oleo Script', 'Oleo+Script+Swash+Caps' => 'Oleo Script Swash Caps', 'Open+Sans' => 'Open Sans', 'Open+Sans+Condensed' => 'Open Sans Condensed', 'Oranienbaum' => 'Oranienbaum', 'Orbitron' => 'Orbitron', 'Oregano' => 'Oregano', 'Orienta' => 'Orienta', 'Original+Surfer' => 'Original Surfer', 'Oswald' => 'Oswald', 'Over+the+Rainbow' => 'Over the Rainbow', 'Overlock' => 'Overlock', 'Overlock+SC' => 'Overlock SC', 'Ovo' => 'Ovo', 'Oxygen' => 'Oxygen', 'Oxygen+Mono' => 'Oxygen Mono', 'PT+Mono' => 'PT Mono', 'PT+Sans' => 'PT Sans', 'PT+Sans+Caption' => 'PT Sans Caption', 'PT+Sans+Narrow' => 'PT Sans Narrow', 'PT+Serif' => 'PT Serif', 'PT+Serif+Caption' => 'PT Serif Caption', 'Pacifico' => 'Pacifico', 'Paprika' => 'Paprika', 'Parisienne' => 'Parisienne', 'Passero+One' => 'Passero One', 'Passion+One' => 'Passion One', 'Patrick+Hand' => 'Patrick Hand', 'Patrick+Hand+SC' => 'Patrick Hand SC', 'Patua+One' => 'Patua One', 'Paytone+One' => 'Paytone One', 'Peralta' => 'Peralta', 'Permanent+Marker' => 'Permanent Marker', 'Petit+Formal+Script' => 'Petit Formal Script', 'Petrona' => 'Petrona', 'Philosopher' => 'Philosopher', 'Piedra' => 'Piedra', 'Pinyon+Script' => 'Pinyon Script', 'Pirata+One' => 'Pirata One', 'Plaster' => 'Plaster', 'Play' => 'Play', 'Playball' => 'Playball', 'Playfair+Display' => 'Playfair Display', 'Playfair+Display+SC' => 'Playfair Display SC', 'Podkova' => 'Podkova', 'Poiret+One' => 'Poiret One', 'Poller+One' => 'Poller One', 'Poly' => 'Poly', 'Pompiere' => 'Pompiere', 'Pontano+Sans' => 'Pontano Sans', 'Port+Lligat+Sans' => 'Port Lligat Sans', 'Port+Lligat+Slab' => 'Port Lligat Slab', 'Prata' => 'Prata', 'Preahvihear' => 'Preahvihear', 'Press+start+2P' => 'Press Start 2P', 'Princess+Sofia' => 'Princess Sofia', 'Prociono' => 'Prociono', 'Prosto+One' => 'Prosto One', 'Puritan' => 'Puritan', 'Purple+Purse' => 'Purple Purse', 'Quando' => 'Quando', 'Quantico' => 'Quantico', 'Quattrocento' => 'Quattrocento', 'Quattrocento+Sans' => 'Quattrocento Sans', 'Questrial' => 'Questrial', 'Quicksand' => 'Quicksand', 'Quintessential' => 'Quintessential', 'Qwigley' => 'Qwigley', 'Racing+sans+One' => 'Racing Sans One', 'Radley' => 'Radley', 'Raleway' => 'Raleway', 'Raleway+Dots' => 'Raleway Dots', 'Rambla' => 'Rambla', 'Rammetto+One' => 'Rammetto One', 'Ranchers' => 'Ranchers', 'Rancho' => 'Rancho', 'Rationale' => 'Rationale', 'Redressed' => 'Redressed', 'Reenie+Beanie' => 'Reenie Beanie', 'Revalia' => 'Revalia', 'Ribeye' => 'Ribeye', 'Ribeye+Marrow' => 'Ribeye Marrow', 'Righteous' => 'Righteous', 'Risque' => 'Risque', 'Roboto' => 'Roboto', 'Roboto+Condensed' => 'Roboto Condensed', 'Rochester' => 'Rochester', 'Rock+Salt' => 'Rock Salt', 'Rokkitt' => 'Rokkitt', 'Romanesco' => 'Romanesco', 'Ropa+Sans' => 'Ropa Sans', 'Rosario' => 'Rosario', 'Rosarivo' => 'Rosarivo', 'Rouge+Script' => 'Rouge Script', 'Ruda' => 'Ruda', 'Rufina' => 'Rufina', 'Ruge+Boogie' => 'Ruge Boogie', 'Ruluko' => 'Ruluko', 'Rum+Raisin' => 'Rum Raisin', 'Ruslan+Display' => 'Ruslan Display', 'Russo+One' => 'Russo One', 'Ruthie' => 'Ruthie', 'Rye' => 'Rye', 'Sacramento' => 'Sacramento', 'Sail' => 'Sail', 'Salsa' => 'Salsa', 'Sanchez' => 'Sanchez', 'Sancreek' => 'Sancreek', 'Sansita+One' => 'Sansita One', 'Sarina' => 'Sarina', 'Satisfy' => 'Satisfy', 'Scada' => 'Scada', 'Schoolbell' => 'Schoolbell', 'Seaweed+Script' => 'Seaweed Script', 'Sevillana' => 'Sevillana', 'Seymour+One' => 'Seymour One', 'Shadows+Into+Light' => 'Shadows Into Light', 'Shadows+Into+Light+Two' => 'Shadows Into Light Two', 'Shanti' => 'Shanti', 'Share' => 'Share', 'Share+Tech' => 'Share Tech', 'Share+Tech+Mono' => 'Share Tech Mono', 'Shojumaru' => 'Shojumaru', 'Short+Stack' => 'Short Stack', 'Siemreap' => 'Siemreap', 'Sigmar+One' => 'Sigmar One', 'Signika' => 'Signika', 'Signika+Negative' => 'Signika Negative', 'Simonetta' => 'Simonetta', 'Sintony' => 'Sintony', 'Sirin+Stencil' => 'Sirin Stencil', 'Six+Caps' => 'Six Caps', 'Skranji' => 'Skranji', 'Slackey' => 'Slackey', 'Smokum' => 'Smokum', 'Smythe' => 'Smythe', 'Sniglet' => 'Sniglet', 'Snippet' => 'Snippet', 'Snowburst+One' => 'Snowburst One', 'Sofadi+One' => 'Sofadi One', 'Sofia' => 'Sofia', 'Sonsie+One' => 'Sonsie One', 'Sorts+Mill+Goudy' => 'Sorts Mill Goudy', 'Source+Code+Pro' => 'Source Code Pro', 'Source+Sans+Pro' => 'Source Sans Pro', 'Special+Elite' => 'Special Elite', 'Spicy+Rice' => 'Spicy Rice', 'Spinnaker' => 'Spinnaker', 'Spirax' => 'Spirax', 'Squada+One' => 'Squada One', 'Stalemate' => 'Stalemate', 'Stalinist+One' => 'Stalinist One', 'Stardos+Stencil' => 'Stardos Stencil', 'Stint+Ultra+Condensed' => 'Stint Ultra Condensed', 'Stint+Ultra+Expanded' => 'Stint Ultra Expanded', 'Stoke' => 'Stoke', 'Strait' => 'Strait', 'Sue+Ellen+Francisco' => 'Sue Ellen Francisco', 'Sunshiney' => 'Sunshiney', 'Supermercado+One' => 'Supermercado One', 'Suwannaphum' => 'Suwannaphum', 'Swanky+and+Moo+Moo' => 'Swanky and Moo Moo', 'Syncopate' => 'Syncopate', 'Tangerine' => 'Tangerine', 'Taprom' => 'Taprom', 'Tauri' => 'Tauri', 'Telex' => 'Telex', 'Tenor+Sans' => 'Tenor Sans', 'Text+Me+One' => 'Text Me One', 'The+Girl+Next+Door' => 'The Girl Next Door', 'Tienne' => 'Tienne', 'Tinos' => 'Tinos', 'Titan+One' => 'Titan One', 'Titillium+Web' => 'Titillium Web', 'Trade+Winds' => 'Trade Winds', 'Trocchi' => 'Trocchi', 'Trochut' => 'Trochut', 'Trykker' => 'Trykker', 'Tulpen+One' => 'Tulpen One', 'Ubuntu' => 'Ubuntu', 'Ubuntu+Condensed' => 'Ubuntu Condensed', 'Ubuntu+Mono' => 'Ubuntu Mono', 'Ultra' => 'Ultra', 'Uncial+Antiqua' => 'Uncial Antiqua', 'Underdog' => 'Underdog', 'Unica+One' => 'Unica One', 'UnifrakturCook' => 'UnifrakturCook', 'UnifrakturMaguntia' => 'UnifrakturMaguntia', 'Unkempt' => 'Unkempt', 'Unna' => 'Unna', 'VT323' => 'VT323', 'Vampiro+One' => 'Vampiro One', 'Varela' => 'Varela', 'Varela+Round' => 'Varela Round', 'Vast+Shadow' => 'Vast Shadow', 'Vibur' => 'Vibur', 'Vidaloka' => 'Vidaloka', 'Viga' => 'Viga', 'Voces' => 'Voces', 'Volkhov' => 'Volkhov', 'Vollkorn' => 'Vollkorn', 'Voltaire' => 'Voltaire', 'Waiting+for+the+sunrise' => 'Waiting for the Sunrise', 'Wallpoet' => 'Wallpoet', 'Walter+Turncoat' => 'Walter Turncoat', 'Warnes' => 'Warnes', 'Wellfleet' => 'Wellfleet', 'Wendy+One' => 'Wendy One', 'Wire+One' => 'Wire One', 'Yanone+Kaffeesatz' => 'Yanone Kaffeesatz', 'Yellowtail' => 'Yellowtail', 'Yeseva+One' => 'Yeseva One', 'Yesteryear' => 'Yesteryear', 'Zeyada' => 'Zeyada');
|
415 |
+
$query = implode("|", str_replace(' ', '+', $google_fonts));
|
416 |
+
$url = 'https://fonts.googleapis.com/css?family=' . $query;
|
417 |
+
wp_enqueue_style('wds_googlefonts', $url, null, null);
|
418 |
}
|
419 |
|
420 |
// Plugin scripts.
|
441 |
wp_enqueue_style('wds_effects', WD_S_URL . '/css/wds_effects.css', array(), $version);
|
442 |
|
443 |
wp_enqueue_style('wds_font-awesome', WD_S_URL . '/css/font-awesome-4.0.1/font-awesome.css', array(), '4.0.1');
|
444 |
+
global $wpdb;
|
445 |
+
$rows = $wpdb->get_results("SELECT * FROM " . $wpdb->prefix . "wdslayer ORDER BY `depth` ASC");
|
446 |
+
$font_array = array();
|
447 |
+
foreach ($rows as $row) {
|
448 |
+
if (isset($row->google_fonts) && ($row->google_fonts == 1) && ($row->ffamily != "") && !in_array($row->ffamily, $font_array)) {
|
449 |
+
$font_array[] = $row->ffamily;
|
450 |
+
}
|
451 |
+
}
|
452 |
+
$query = implode("|", $font_array);
|
453 |
+
if ($query != '') {
|
454 |
+
$url = 'https://fonts.googleapis.com/css?family=' . $query;
|
455 |
+
wp_enqueue_style('wds_googlefonts', $url, null, null);
|
456 |
+
}
|
457 |
}
|
458 |
add_action('wp_enqueue_scripts', 'wds_front_end_scripts');
|
459 |
|
sliders-insert.php
CHANGED
@@ -158,6 +158,7 @@ function wds_insert() {
|
|
158 |
`hotp_border_color` varchar(8) NOT NULL,
|
159 |
`hotp_border_radius` varchar(32) NOT NULL,
|
160 |
`hotp_text_position` varchar(6) NOT NULL,
|
|
|
161 |
PRIMARY KEY (`id`)
|
162 |
) DEFAULT CHARSET=utf8;";
|
163 |
$wpdb->query($wdslayer);
|
158 |
`hotp_border_color` varchar(8) NOT NULL,
|
159 |
`hotp_border_radius` varchar(32) NOT NULL,
|
160 |
`hotp_text_position` varchar(6) NOT NULL,
|
161 |
+
`google_fonts` int(1) NOT NULL,
|
162 |
PRIMARY KEY (`id`)
|
163 |
) DEFAULT CHARSET=utf8;";
|
164 |
$wpdb->query($wdslayer);
|
sliders-update.php
CHANGED
@@ -73,6 +73,10 @@ function wds_update($version) {
|
|
73 |
// Show bullets on hover.
|
74 |
$wpdb->query("ALTER TABLE " . $wpdb->prefix . "wdsslider ADD `bull_hover` int(1) NOT NULL DEFAULT 1");
|
75 |
}
|
|
|
|
|
|
|
|
|
76 |
return;
|
77 |
}
|
78 |
|
73 |
// Show bullets on hover.
|
74 |
$wpdb->query("ALTER TABLE " . $wpdb->prefix . "wdsslider ADD `bull_hover` int(1) NOT NULL DEFAULT 1");
|
75 |
}
|
76 |
+
if (version_compare($version, '1.0.34') == -1) {
|
77 |
+
// Google fonts.
|
78 |
+
$wpdb->query("ALTER TABLE " . $wpdb->prefix . "wdslayer ADD `google_fonts` int(1) NOT NULL DEFAULT 0");
|
79 |
+
}
|
80 |
return;
|
81 |
}
|
82 |
|