Slider by WD – Responsive Slider - Version 1.1.76

Version Description

  • Added: Support forum link.
Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Slider by WD – Responsive Slider
Version 1.1.76
Comparing to
See all releases

Code changes from version 1.1.74 to 1.1.76

admin/views/WDSViewGoptions_wds.php CHANGED
@@ -110,18 +110,7 @@ class WDSViewGoptions_wds {
110
  'zoomOutRight' => 'ZoomOutRight',
111
  'zoomOutUp' => 'ZoomOutUp',
112
  );
113
- $font_families = array(
114
- 'arial' => 'Arial',
115
- 'lucida grande' => 'Lucida grande',
116
- 'segoe ui' => 'Segoe ui',
117
- 'tahoma' => 'Tahoma',
118
- 'trebuchet ms' => 'Trebuchet ms',
119
- 'verdana' => 'Verdana',
120
- 'cursive' =>'Cursive',
121
- 'fantasy' => 'Fantasy',
122
- 'monospace' => 'Monospace',
123
- 'serif' => 'Serif',
124
- );
125
  $google_fonts = WDW_S_Library::get_google_fonts();
126
  $loading_gifs = array(
127
  0 => 'Loading default',
@@ -139,41 +128,9 @@ class WDSViewGoptions_wds {
139
  $global_options->loading_gif = get_option("wds_loading_gif", 0);
140
  $global_options->register_scripts = get_option("wds_register_scripts", 0);
141
  }
142
-
143
- if ( $global_options->possib_add_ffamily != '' ) {
144
- $possib_add_ffamily = explode("*WD*", $global_options->possib_add_ffamily);
145
- foreach ( $possib_add_ffamily as $possib_add_value ) {
146
- if ( $possib_add_value ) {
147
- $font_families[strtolower($possib_add_value)] = $possib_add_value;
148
- }
149
- }
150
- }
151
- if ( $global_options->possib_add_ffamily_google != '' ) {
152
- $possib_add_ffamily_google = explode("*WD*", $global_options->possib_add_ffamily_google);
153
- foreach ( $possib_add_ffamily_google as $possib_add_value_google ) {
154
- if ( $possib_add_value_google ) {
155
- $google_fonts[strtolower($possib_add_value_google)] = $possib_add_value_google;
156
- }
157
- }
158
- }
159
  ?>
160
- <div style="clear: both; float: left; width: 99%;">
161
- <div style="float: left; font-size: 14px; font-weight: bold;">
162
- This section allows you to edit global options for sliders.
163
- <a style="color: blue; text-decoration: none;" target="_blank" href="https://web-dorado.com/wordpress-slider-wd/adding-images.html">Read More in User Manual</a>
164
- </div>
165
- </div>
166
- <div class="wds_pro_container">
167
- <a class="wds_pro_link wds_pro_text" target="_blank" href="https://web-dorado.com/files/fromslider.php">
168
- <?php
169
- $text = strtoupper(__('Upgrade to paid version', 'wds'));
170
- ?>
171
- <span><?php echo $text; ?></span>
172
- <img class="wds_pro_image" alt="web-dorado.com" title="<?php echo $text; ?>" src="<?php echo WD_S_URL . '/images/wd_logo.png?v2'; ?>"" />
173
- </a>
174
- </div>
175
  <div class="clear"></div>
176
- <form class="wrap wds_form" id="sliders_form" method="post" action="admin.php?page=goptions_wds" style="width: 99%;" enctype="multipart/form-data">
177
  <?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
178
  <div class="wds-options-page-banner">
179
  <div class="wds-options-logo"></div>
110
  'zoomOutRight' => 'ZoomOutRight',
111
  'zoomOutUp' => 'ZoomOutUp',
112
  );
113
+ $font_families = WDW_S_Library::get_font_families();
 
 
 
 
 
 
 
 
 
 
 
114
  $google_fonts = WDW_S_Library::get_google_fonts();
115
  $loading_gifs = array(
116
  0 => 'Loading default',
128
  $global_options->loading_gif = get_option("wds_loading_gif", 0);
129
  $global_options->register_scripts = get_option("wds_register_scripts", 0);
130
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
131
  ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
132
  <div class="clear"></div>
133
+ <form class="wrap wds_form" id="sliders_form" method="post" action="admin.php?page=goptions_wds" style="width: 98%;" enctype="multipart/form-data">
134
  <?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
135
  <div class="wds-options-page-banner">
136
  <div class="wds-options-logo"></div>
admin/views/WDSViewSliders_wds.php CHANGED
@@ -39,12 +39,10 @@ class WDSViewSliders_wds {
39
  'export' => __('Export', 'wds'),
40
  'merge_sliders' => __('Merge', 'wds')
41
  );
42
- ?>
43
- <style>
44
- <?php
45
  global $wp_version;
46
  if (version_compare($wp_version, '4','<')) {
47
  ?>
 
48
  #wpwrap {
49
  background-color: #F1F1F1;
50
  }
@@ -63,26 +61,11 @@ class WDSViewSliders_wds {
63
  display:none;
64
  }
65
  }
 
66
  <?php
67
  }
68
  ?>
69
- </style>
70
- <div style="width: 99%;">
71
- <div style="font-size: 14px; font-weight: bold;">
72
- This section allows you to create, edit and delete sliders.
73
- <a style="color: blue; text-decoration: none;" target="_blank" href="https://web-dorado.com/wordpress-slider-wd/adding-images.html">Read More in User Manual</a>
74
- </div>
75
- <div class="wds_pro_container">
76
- <a class="wds_pro_link wds_pro_text" target="_blank" href="https://web-dorado.com/files/fromslider.php">
77
- <?php
78
- $text = strtoupper(__('Upgrade to paid version', 'wds'));
79
- ?>
80
- <span><?php echo $text; ?></span>
81
- <img class="wds_pro_image" alt="web-dorado.com" title="<?php echo $text; ?>" src="<?php echo WD_S_URL . '/images/wd_logo.png?v2'; ?>"" />
82
- </a>
83
- </div>
84
- </div>
85
- <form class="wrap wds_form" id="sliders_form" method="post" action="admin.php?page=sliders_wds" style="float: left; width: 99%;">
86
  <?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
87
  <div class="wds_opacity_export" onclick="jQuery('.wds_opacity_export').hide();jQuery('.wds_exports').hide();"></div>
88
  <div class="wds_exports">
@@ -258,9 +241,7 @@ class WDSViewSliders_wds {
258
  $wds_global_options = get_option("wds_global_options", 0);
259
  $global_options = json_decode($wds_global_options);
260
  $spider_uploader = isset($global_options->spider_uploader) ? $global_options->spider_uploader : 0;
261
- $possib_add_ffamily = isset($global_options->possib_add_ffamily) ? $global_options->possib_add_ffamily : '';
262
- $possib_add_ffamily_google = isset($global_options->possib_add_ffamily_google) ? $global_options->possib_add_ffamily_google : '';
263
-
264
  $query_url = add_query_arg(array('action' => 'addImage', 'width' => '700', 'height' => '550', 'extensions' => 'jpg,jpeg,png,gif', 'callback' => 'bwg_add_preview_image'), admin_url('admin-ajax.php'));
265
  $query_url = wp_nonce_url($query_url, 'addImage', 'nonce_wd');
266
 
@@ -298,36 +279,9 @@ class WDSViewSliders_wds {
298
  'fa-square-o' => 'Square O',
299
  'fa-square' => 'Square',
300
  );
301
- $font_families = array(
302
- 'arial' => 'Arial',
303
- 'lucida grande' => 'Lucida grande',
304
- 'segoe ui' => 'Segoe ui',
305
- 'tahoma' => 'Tahoma',
306
- 'trebuchet ms' => 'Trebuchet ms',
307
- 'verdana' => 'Verdana',
308
- 'cursive' =>'Cursive',
309
- 'fantasy' => 'Fantasy',
310
- 'monospace' => 'Monospace',
311
- 'serif' => 'Serif',
312
- );
313
  $google_fonts = WDW_S_Library::get_google_fonts();
314
 
315
- if ($possib_add_ffamily != '') {
316
- $possib_add_ffamily = explode("*WD*", $possib_add_ffamily);
317
- foreach($possib_add_ffamily as $possib_add_value) {
318
- if ($possib_add_value) {
319
- $font_families[strtolower($possib_add_value)] = $possib_add_value;
320
- }
321
- }
322
- }
323
- if ($possib_add_ffamily_google != '') {
324
- $possib_add_ffamily_google = explode("*WD*", $possib_add_ffamily_google);
325
- foreach($possib_add_ffamily_google as $possib_add_value_google) {
326
- if ($possib_add_value_google) {
327
- $google_fonts[$possib_add_value_google] = $possib_add_value_google;
328
- }
329
- }
330
- }
331
  $font_weights = array(
332
  'lighter' => 'Lighter',
333
  'normal' => 'Normal',
@@ -505,12 +459,10 @@ class WDSViewSliders_wds {
505
  $fv_message = '';
506
  $fv_title = '';
507
  }
508
- ?>
 
 
509
  <style>
510
- <?php
511
- global $wp_version;
512
- if (version_compare($wp_version, '4','<')) {
513
- ?>
514
  #wpwrap {
515
  background-color:#F1F1F1
516
  }
@@ -572,31 +524,16 @@ class WDSViewSliders_wds {
572
  }
573
 
574
  }
575
- <?php
576
- }
577
- ?>
578
  </style>
 
 
 
579
  <div class="spider_message_cont"></div>
580
  <div class="spider_load">
581
  <div class="spider_load_cont"></div>
582
  <div class="spider_load_icon"><img class="spider_ajax_loading" src="<?php echo WD_S_URL . '/images/ajax_loader_back.gif'; ?>"></div>
583
  </div>
584
- <div style="clear: both; float: left; width: 99%;">
585
- <div style="float: left; font-size: 14px; font-weight: bold;">
586
- This section allows you to add/edit slider.
587
- <a style="color: blue; text-decoration: none;" target="_blank" href="https://web-dorado.com/wordpress-slider-wd/adding-images.html">Read More in User Manual</a>
588
- </div>
589
- <div class="wds_pro_container">
590
- <a class="wds_pro_link wds_pro_text" target="_blank" href="https://web-dorado.com/files/fromslider.php">
591
- <?php
592
- $text = strtoupper(__('Upgrade to paid version', 'wds'));
593
- ?>
594
- <span><?php echo $text; ?></span>
595
- <img class="wds_pro_image" alt="web-dorado.com" title="<?php echo $text; ?>" src="<?php echo WD_S_URL . '/images/wd_logo.png?v2'; ?>"" />
596
- </a>
597
- </div>
598
- </div>
599
- <form class="wrap wds_form" method="post" id="sliders_form" action="admin.php?page=sliders_wds" style="float: left; width: 99%;">
600
  <?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
601
  <span class="slider-icon"></span>
602
  <h2 class="wds_default"><?php echo $page_title; ?></h2>
@@ -2354,7 +2291,6 @@ class WDSViewSliders_wds {
2354
  switch ($layer->type) {
2355
  case 'text': {
2356
  ?>
2357
- <style>#<?php echo $prefix; ?>:hover {color: #<?php echo $layer->hover_color_text; ?> !important;}</style>
2358
  <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)"
2359
  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; ?>; text-align: <?php echo $layer->text_alignment; ?>"><?php echo str_replace(array("\r\n", "\r", "\n"), "<br>", $layer->text); ?></span>
2360
  <?php
@@ -2376,7 +2312,6 @@ class WDSViewSliders_wds {
2376
  }
2377
  case 'social': {
2378
  ?>
2379
- <style>#<?php echo $prefix; ?>:hover {color: #<?php echo $layer->hover_color; ?> !important;}</style>
2380
  <i id="<?php echo $prefix; ?>" class="wds_draggable_<?php echo $slide_row->id; ?> wds_draggable fa fa-<?php echo $layer->social_button; ?> ui-draggable" onclick="wds_showhide_layer('<?php echo $prefix; ?>_tbody', 1)"
2381
  style="opacity: <?php echo (100 - $layer->transparent) / 100; ?>; filter: Alpha(opacity=<?php echo 100 - $layer->transparent; ?>); 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: <?php echo $layer->size; ?>px; padding: <?php echo $layer->padding; ?>; "></i>
2382
  <?php
@@ -2550,7 +2485,7 @@ class WDSViewSliders_wds {
2550
  <label for="<?php echo $prefix; ?>_hover_color_text">Hover Color: </label>
2551
  </td>
2552
  <td>
2553
- <input id="<?php echo $prefix; ?>_hover_color_text" class="color" type="text" onchange="jQuery('#<?php echo $prefix; ?>').hover(function() { jQuery(this).css({color: '#' + jQuery('#<?php echo $prefix; ?>_hover_color_text').val()}); }, function() { jQuery(this).css({color: '#' + jQuery('#<?php echo $prefix; ?>_color').val()}); })" value="<?php echo $layer->hover_color_text; ?>" name="<?php echo $prefix; ?>_hover_color_text" />
2554
  <div class="spider_description"></div>
2555
  </td>
2556
  </tr>
@@ -2594,13 +2529,12 @@ class WDSViewSliders_wds {
2594
  </td>
2595
  </tr>
2596
  <tr class="wds_layer_tr" >
2597
- <td class="spider_label">
2598
  <label for="<?php echo $prefix; ?>_link">Link: </label>
2599
  </td>
2600
  <td>
2601
  <input id="<?php echo $prefix; ?>_link" class="wds_link" type="text" value="<?php echo $layer->link; ?>" name="<?php echo $prefix; ?>_link" />
2602
  <input id="<?php echo $prefix; ?>_target_attr_layer" type="checkbox" name="<?php echo $prefix; ?>_target_attr_layer" <?php echo (($layer->target_attr_layer) ? 'checked="checked"' : ''); ?> value="1" /><label for="<?php echo $prefix; ?>_target_attr_layer"> Open in a new window</label>
2603
- <div class="spider_description">Use http:// and https:// for external links.</div>
2604
  </td>
2605
  </tr>
2606
  <tr class="wds_layer_tr" >
@@ -2737,12 +2671,11 @@ class WDSViewSliders_wds {
2737
  </td>
2738
  </tr>
2739
  <tr class="wds_layer_tr">
2740
- <td class="spider_label">
2741
  <label for="<?php echo $prefix; ?>_shadow">Shadow: </label>
2742
  </td>
2743
  <td>
2744
  <input id="<?php echo $prefix; ?>_shadow" class="spider_char_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({boxShadow: jQuery(this).val()})" value="<?php echo $layer->shadow; ?>" name="<?php echo $prefix; ?>_shadow" />
2745
- <div class="spider_description">Use CSS type values (e.g. 10px 10px 5px #888888).</div>
2746
  </td>
2747
  </tr>
2748
  <tr class="wds_layer_tr" >
@@ -2801,45 +2734,40 @@ class WDSViewSliders_wds {
2801
  <input id="<?php echo $prefix; ?>_image_height" class="spider_int_input" type="text" onkeyup="wds_scale('#<?php echo $prefix; ?>_image_scale', '<?php echo $prefix; ?>')" value="<?php echo $layer->image_height; ?>" name="<?php echo $prefix; ?>_image_height" /> px
2802
  <input id="<?php echo $prefix; ?>_image_scale" type="checkbox" onchange="wds_scale(this, '<?php echo $prefix; ?>')" name="<?php echo $prefix; ?>_image_scale" <?php echo (($layer->image_scale) ? 'checked="checked"' : ''); ?> /><label for="<?php echo $prefix; ?>_image_scale">Scale</label>
2803
  <input class="wds_not_image_buttons_grey wds_free_button" type="button" value="Edit Image" onclick="alert('This functionality is disabled in free version.')" />
2804
- <div class="spider_description">Set width and height of the image.</div>
2805
  </td>
2806
  </tr>
2807
  <tr class="wds_layer_tr" >
2808
- <td class="spider_label">
2809
  <label for="<?php echo $prefix; ?>_alt">Alt: </label>
2810
  </td>
2811
  <td>
2812
  <input id="<?php echo $prefix; ?>_alt" type="text" size="39" value="<?php echo $layer->alt; ?>" name="<?php echo $prefix; ?>_alt" />
2813
- <div class="spider_description">Set the HTML attribute specified in the IMG tag.</div>
2814
  </td>
2815
  </tr>
2816
  <tr class="wds_layer_tr" >
2817
- <td class="spider_label">
2818
  <label for="<?php echo $prefix; ?>_link">Link: </label>
2819
  </td>
2820
  <td>
2821
  <input id="<?php echo $prefix; ?>_link" type="text" size="39" value="<?php echo $layer->link; ?>" name="<?php echo $prefix; ?>_link" />
2822
  <input id="<?php echo $prefix; ?>_target_attr_layer" type="checkbox" name="<?php echo $prefix; ?>_target_attr_layer" <?php echo (($layer->target_attr_layer) ? 'checked="checked"' : ''); ?> value="1" /><label for="<?php echo $prefix; ?>_target_attr_layer"> Open in a new window</label>
2823
- <div class="spider_description">Use http:// and https:// for external links.</div>
2824
  </td>
2825
  </tr>
2826
  <tr class="wds_layer_tr" >
2827
- <td class="spider_label">
2828
  <label>Position: </label>
2829
  </td>
2830
  <td>
2831
  X <input id="<?php echo $prefix; ?>_left" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({left: jQuery(this).val() + 'px'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->left; ?>" name="<?php echo $prefix; ?>_left" />
2832
  Y <input id="<?php echo $prefix; ?>_top" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({top: jQuery(this).val() + 'px'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->top; ?>" name="<?php echo $prefix; ?>_top" />
2833
- <div class="spider_description">In addition you can drag and drop the layer to a desired position.</div>
2834
  </td>
2835
  </tr>
2836
  <tr class="wds_layer_tr" >
2837
- <td class="spider_label">
2838
  <label for="<?php echo $prefix; ?>_imgtransparent">Transparent: </label>
2839
  </td>
2840
  <td>
2841
  <input id="<?php echo $prefix; ?>_imgtransparent" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({opacity: (100 - jQuery(this).val()) / 100, filter: 'Alpha(opacity=' + 100 - jQuery(this).val() + ')'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->imgtransparent; ?>" name="<?php echo $prefix; ?>_imgtransparent"> %
2842
- <div class="spider_description">Value must be between 0 to 100.</div>
2843
  </td>
2844
  </tr>
2845
  <tr class="wds_layer_tr" >
@@ -2940,21 +2868,19 @@ class WDSViewSliders_wds {
2940
  </td>
2941
  </tr>
2942
  <tr class="wds_layer_tr">
2943
- <td class="spider_label">
2944
  <label for="<?php echo $prefix; ?>_border_radius">Radius: </label>
2945
  </td>
2946
  <td>
2947
  <input id="<?php echo $prefix; ?>_border_radius" class="spider_char_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({borderRadius: jQuery(this).val()})" value="<?php echo $layer->border_radius; ?>" name="<?php echo $prefix; ?>_border_radius">
2948
- <div class="spider_description">Use CSS type values.</div>
2949
  </td>
2950
  </tr>
2951
  <tr class="wds_layer_tr">
2952
- <td class="spider_label">
2953
  <label for="<?php echo $prefix; ?>_shadow">Shadow: </label>
2954
  </td>
2955
  <td>
2956
  <input id="<?php echo $prefix; ?>_shadow" class="spider_char_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({boxShadow: jQuery(this).val()})" value="<?php echo $layer->shadow; ?>" name="<?php echo $prefix; ?>_shadow" />
2957
- <div class="spider_description">Use CSS type values.</div>
2958
  </td>
2959
  </tr>
2960
  <tr class="wds_layer_tr" >
@@ -3119,7 +3045,7 @@ class WDSViewSliders_wds {
3119
  <label for="<?php echo $prefix; ?>_hover_color">Hover Color: </label>
3120
  </td>
3121
  <td>
3122
- <input id="<?php echo $prefix; ?>_hover_color" class="color" type="text" onchange="jQuery('#<?php echo $prefix; ?>').hover(function() { jQuery(this).css({color: '#' + jQuery('#<?php echo $prefix; ?>_hover_color').val()}); }, function() { jQuery(this).css({color: '#' + jQuery('#<?php echo $prefix; ?>_color').val()}); })" value="<?php echo $layer->hover_color; ?>" name="<?php echo $prefix; ?>_hover_color" />
3123
  <div class="spider_description"></div>
3124
  </td>
3125
  </tr>
@@ -3167,7 +3093,41 @@ class WDSViewSliders_wds {
3167
  if ($layer->type == 'image') {
3168
  $prefix = 'slide' . $slide_row->id . '_layer' . $layer->id;
3169
  ?>
3170
- wds_scale('#<?php echo $prefix; ?>_image_scale', '<?php echo $prefix; ?>');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3171
  <?php
3172
  }
3173
  }
@@ -3230,8 +3190,6 @@ class WDSViewSliders_wds {
3230
  <input type="button" class="wds_not_image_buttons_grey" onclick="jQuery('.opacity_add_image_url').hide(); return false;" value="Cancel" />
3231
  <div class="spider_description">Enter absolute url of the image.</div>
3232
  <input type="hidden" id="current_prefix" value="" />
3233
- <input type="hidden" id="possib_add_ffamily" value="<?php echo $global_options->possib_add_ffamily; ?>" />
3234
- <input type="hidden" id="possib_add_ffamily_google" value="<?php echo $global_options->possib_add_ffamily_google; ?>" />
3235
  </div>
3236
  </form>
3237
  <?php
39
  'export' => __('Export', 'wds'),
40
  'merge_sliders' => __('Merge', 'wds')
41
  );
 
 
 
42
  global $wp_version;
43
  if (version_compare($wp_version, '4','<')) {
44
  ?>
45
+ <style>
46
  #wpwrap {
47
  background-color: #F1F1F1;
48
  }
61
  display:none;
62
  }
63
  }
64
+ </style>
65
  <?php
66
  }
67
  ?>
68
+ <form class="wrap wds_form" id="sliders_form" method="post" action="admin.php?page=sliders_wds" style="float: left; width: 98%;">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  <?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
70
  <div class="wds_opacity_export" onclick="jQuery('.wds_opacity_export').hide();jQuery('.wds_exports').hide();"></div>
71
  <div class="wds_exports">
241
  $wds_global_options = get_option("wds_global_options", 0);
242
  $global_options = json_decode($wds_global_options);
243
  $spider_uploader = isset($global_options->spider_uploader) ? $global_options->spider_uploader : 0;
244
+
 
 
245
  $query_url = add_query_arg(array('action' => 'addImage', 'width' => '700', 'height' => '550', 'extensions' => 'jpg,jpeg,png,gif', 'callback' => 'bwg_add_preview_image'), admin_url('admin-ajax.php'));
246
  $query_url = wp_nonce_url($query_url, 'addImage', 'nonce_wd');
247
 
279
  'fa-square-o' => 'Square O',
280
  'fa-square' => 'Square',
281
  );
282
+ $font_families = WDW_S_Library::get_font_families();
 
 
 
 
 
 
 
 
 
 
 
283
  $google_fonts = WDW_S_Library::get_google_fonts();
284
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
285
  $font_weights = array(
286
  'lighter' => 'Lighter',
287
  'normal' => 'Normal',
459
  $fv_message = '';
460
  $fv_title = '';
461
  }
462
+ global $wp_version;
463
+ if (version_compare($wp_version, '4','<')) {
464
+ ?>
465
  <style>
 
 
 
 
466
  #wpwrap {
467
  background-color:#F1F1F1
468
  }
524
  }
525
 
526
  }
 
 
 
527
  </style>
528
+ <?php
529
+ }
530
+ ?>
531
  <div class="spider_message_cont"></div>
532
  <div class="spider_load">
533
  <div class="spider_load_cont"></div>
534
  <div class="spider_load_icon"><img class="spider_ajax_loading" src="<?php echo WD_S_URL . '/images/ajax_loader_back.gif'; ?>"></div>
535
  </div>
536
+ <form class="wrap wds_form" method="post" id="sliders_form" action="admin.php?page=sliders_wds" style="float: left; width: 98%;">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
537
  <?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
538
  <span class="slider-icon"></span>
539
  <h2 class="wds_default"><?php echo $page_title; ?></h2>
2291
  switch ($layer->type) {
2292
  case 'text': {
2293
  ?>
 
2294
  <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)"
2295
  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; ?>; text-align: <?php echo $layer->text_alignment; ?>"><?php echo str_replace(array("\r\n", "\r", "\n"), "<br>", $layer->text); ?></span>
2296
  <?php
2312
  }
2313
  case 'social': {
2314
  ?>
 
2315
  <i id="<?php echo $prefix; ?>" class="wds_draggable_<?php echo $slide_row->id; ?> wds_draggable fa fa-<?php echo $layer->social_button; ?> ui-draggable" onclick="wds_showhide_layer('<?php echo $prefix; ?>_tbody', 1)"
2316
  style="opacity: <?php echo (100 - $layer->transparent) / 100; ?>; filter: Alpha(opacity=<?php echo 100 - $layer->transparent; ?>); 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: <?php echo $layer->size; ?>px; padding: <?php echo $layer->padding; ?>; "></i>
2317
  <?php
2485
  <label for="<?php echo $prefix; ?>_hover_color_text">Hover Color: </label>
2486
  </td>
2487
  <td>
2488
+ <input id="<?php echo $prefix; ?>_hover_color_text" class="color" type="text" value="<?php echo $layer->hover_color_text; ?>" name="<?php echo $prefix; ?>_hover_color_text" />
2489
  <div class="spider_description"></div>
2490
  </td>
2491
  </tr>
2529
  </td>
2530
  </tr>
2531
  <tr class="wds_layer_tr" >
2532
+ <td title="Use http:// and https:// for external links." class="wds_tooltip spider_label">
2533
  <label for="<?php echo $prefix; ?>_link">Link: </label>
2534
  </td>
2535
  <td>
2536
  <input id="<?php echo $prefix; ?>_link" class="wds_link" type="text" value="<?php echo $layer->link; ?>" name="<?php echo $prefix; ?>_link" />
2537
  <input id="<?php echo $prefix; ?>_target_attr_layer" type="checkbox" name="<?php echo $prefix; ?>_target_attr_layer" <?php echo (($layer->target_attr_layer) ? 'checked="checked"' : ''); ?> value="1" /><label for="<?php echo $prefix; ?>_target_attr_layer"> Open in a new window</label>
 
2538
  </td>
2539
  </tr>
2540
  <tr class="wds_layer_tr" >
2671
  </td>
2672
  </tr>
2673
  <tr class="wds_layer_tr">
2674
+ <td title="Use CSS type values (e.g. 10px 10px 5px #888888)." class="wds_tooltip spider_label">
2675
  <label for="<?php echo $prefix; ?>_shadow">Shadow: </label>
2676
  </td>
2677
  <td>
2678
  <input id="<?php echo $prefix; ?>_shadow" class="spider_char_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({boxShadow: jQuery(this).val()})" value="<?php echo $layer->shadow; ?>" name="<?php echo $prefix; ?>_shadow" />
 
2679
  </td>
2680
  </tr>
2681
  <tr class="wds_layer_tr" >
2734
  <input id="<?php echo $prefix; ?>_image_height" class="spider_int_input" type="text" onkeyup="wds_scale('#<?php echo $prefix; ?>_image_scale', '<?php echo $prefix; ?>')" value="<?php echo $layer->image_height; ?>" name="<?php echo $prefix; ?>_image_height" /> px
2735
  <input id="<?php echo $prefix; ?>_image_scale" type="checkbox" onchange="wds_scale(this, '<?php echo $prefix; ?>')" name="<?php echo $prefix; ?>_image_scale" <?php echo (($layer->image_scale) ? 'checked="checked"' : ''); ?> /><label for="<?php echo $prefix; ?>_image_scale">Scale</label>
2736
  <input class="wds_not_image_buttons_grey wds_free_button" type="button" value="Edit Image" onclick="alert('This functionality is disabled in free version.')" />
 
2737
  </td>
2738
  </tr>
2739
  <tr class="wds_layer_tr" >
2740
+ <td title="Set the HTML attribute specified in the IMG tag." class="wds_tooltip spider_label">
2741
  <label for="<?php echo $prefix; ?>_alt">Alt: </label>
2742
  </td>
2743
  <td>
2744
  <input id="<?php echo $prefix; ?>_alt" type="text" size="39" value="<?php echo $layer->alt; ?>" name="<?php echo $prefix; ?>_alt" />
 
2745
  </td>
2746
  </tr>
2747
  <tr class="wds_layer_tr" >
2748
+ <td title="Use http:// and https:// for external links." class="wds_tooltip spider_label">
2749
  <label for="<?php echo $prefix; ?>_link">Link: </label>
2750
  </td>
2751
  <td>
2752
  <input id="<?php echo $prefix; ?>_link" type="text" size="39" value="<?php echo $layer->link; ?>" name="<?php echo $prefix; ?>_link" />
2753
  <input id="<?php echo $prefix; ?>_target_attr_layer" type="checkbox" name="<?php echo $prefix; ?>_target_attr_layer" <?php echo (($layer->target_attr_layer) ? 'checked="checked"' : ''); ?> value="1" /><label for="<?php echo $prefix; ?>_target_attr_layer"> Open in a new window</label>
 
2754
  </td>
2755
  </tr>
2756
  <tr class="wds_layer_tr" >
2757
+ <td title="In addition you can drag and drop the layer to a desired position." class="wds_tooltip spider_label">
2758
  <label>Position: </label>
2759
  </td>
2760
  <td>
2761
  X <input id="<?php echo $prefix; ?>_left" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({left: jQuery(this).val() + 'px'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->left; ?>" name="<?php echo $prefix; ?>_left" />
2762
  Y <input id="<?php echo $prefix; ?>_top" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({top: jQuery(this).val() + 'px'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->top; ?>" name="<?php echo $prefix; ?>_top" />
 
2763
  </td>
2764
  </tr>
2765
  <tr class="wds_layer_tr" >
2766
+ <td title="Value must be between 0 to 100." class="wds_tooltip spider_label">
2767
  <label for="<?php echo $prefix; ?>_imgtransparent">Transparent: </label>
2768
  </td>
2769
  <td>
2770
  <input id="<?php echo $prefix; ?>_imgtransparent" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({opacity: (100 - jQuery(this).val()) / 100, filter: 'Alpha(opacity=' + 100 - jQuery(this).val() + ')'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->imgtransparent; ?>" name="<?php echo $prefix; ?>_imgtransparent"> %
 
2771
  </td>
2772
  </tr>
2773
  <tr class="wds_layer_tr" >
2868
  </td>
2869
  </tr>
2870
  <tr class="wds_layer_tr">
2871
+ <td title="Use CSS type values." class="wds_tooltip spider_label">
2872
  <label for="<?php echo $prefix; ?>_border_radius">Radius: </label>
2873
  </td>
2874
  <td>
2875
  <input id="<?php echo $prefix; ?>_border_radius" class="spider_char_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({borderRadius: jQuery(this).val()})" value="<?php echo $layer->border_radius; ?>" name="<?php echo $prefix; ?>_border_radius">
 
2876
  </td>
2877
  </tr>
2878
  <tr class="wds_layer_tr">
2879
+ <td title="Use CSS type values." class="wds_tooltip spider_label">
2880
  <label for="<?php echo $prefix; ?>_shadow">Shadow: </label>
2881
  </td>
2882
  <td>
2883
  <input id="<?php echo $prefix; ?>_shadow" class="spider_char_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({boxShadow: jQuery(this).val()})" value="<?php echo $layer->shadow; ?>" name="<?php echo $prefix; ?>_shadow" />
 
2884
  </td>
2885
  </tr>
2886
  <tr class="wds_layer_tr" >
3045
  <label for="<?php echo $prefix; ?>_hover_color">Hover Color: </label>
3046
  </td>
3047
  <td>
3048
+ <input id="<?php echo $prefix; ?>_hover_color" class="color" type="text" value="<?php echo $layer->hover_color; ?>" name="<?php echo $prefix; ?>_hover_color" />
3049
  <div class="spider_description"></div>
3050
  </td>
3051
  </tr>
3093
  if ($layer->type == 'image') {
3094
  $prefix = 'slide' . $slide_row->id . '_layer' . $layer->id;
3095
  ?>
3096
+ wds_scale('#<?php echo $prefix; ?>_image_scale', '<?php echo $prefix; ?>');
3097
+ <?php
3098
+ }
3099
+ if ($layer->type == 'text') {
3100
+ $prefix = 'slide' . $slide_row->id . '_layer' . $layer->id;
3101
+ ?>
3102
+ jQuery('#<?php echo $prefix; ?>').hover(
3103
+ function() {
3104
+ jQuery(this).css({
3105
+ color: '#' + jQuery('#<?php echo $prefix; ?>_hover_color_text').val()
3106
+ });
3107
+ },
3108
+ function() {
3109
+ jQuery(this).css({
3110
+ color: '#' + jQuery('#<?php echo $prefix; ?>_color').val()
3111
+ });
3112
+ }
3113
+ );
3114
+ <?php
3115
+ }
3116
+ if ($layer->type == 'social') {
3117
+ $prefix = 'slide' . $slide_row->id . '_layer' . $layer->id;
3118
+ ?>
3119
+ jQuery('#<?php echo $prefix; ?>').hover(
3120
+ function() {
3121
+ jQuery(this).css({
3122
+ color: '#' + jQuery('#<?php echo $prefix; ?>_hover_color').val()
3123
+ });
3124
+ },
3125
+ function() {
3126
+ jQuery(this).css({
3127
+ color: '#' + jQuery('#<?php echo $prefix; ?>_color').val()
3128
+ });
3129
+ }
3130
+ );
3131
  <?php
3132
  }
3133
  }
3190
  <input type="button" class="wds_not_image_buttons_grey" onclick="jQuery('.opacity_add_image_url').hide(); return false;" value="Cancel" />
3191
  <div class="spider_description">Enter absolute url of the image.</div>
3192
  <input type="hidden" id="current_prefix" value="" />
 
 
3193
  </div>
3194
  </form>
3195
  <?php
framework/WDW_S_Library.php CHANGED
@@ -560,7 +560,18 @@ class WDW_S_Library {
560
  }
561
 
562
  public static function get_google_fonts() {
 
 
 
563
  $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', 'Alef' => 'Alef', 'Alegreya' => 'Alegreya', 'Alegreya SC' => 'Alegreya SC', 'Alegreya Sans' => 'Alegreya Sans', 'Alex Brush' => 'Alex Brush', 'Alfa Slab One' => 'Alfa Slab One', 'Alice' => 'Alice', 'Alike' => 'Alike', 'Alike Angular' => 'Alike Angular', 'Allan' => 'Allan', 'Allerta' => 'Allerta', 'Allerta Stencil' => 'Allerta Stencil', 'Allura' => 'Allura', 'Almendra' => 'Almendra', 'Almendra display' => 'Almendra Display', 'Almendra sc' => 'Almendra SC', 'Amarante' => 'Amarante', 'Amaranth' => 'Amaranth', 'Amatic sc' => 'Amatic SC', 'Amethysta' => 'Amethysta', 'Amiri' => 'Amiri', 'Amita' => 'Amita', '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', 'Arya' => 'Arya', 'Asap' => 'Asap', 'Asar' => 'Asar', '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', 'Biryani' => 'Biryani', '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', 'Buda Light 300' => 'Buda Light 300', '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', 'Cambay' => 'Cambay', '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', 'Caveat Brush' => 'Caveat Brush', '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', 'Chonburi' => 'Chonburi', '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', 'Dekko' => 'Dekko', 'Delius' => 'Delius', 'Delius Swash Caps' => 'Delius Swash Caps', 'Delius Unicase' => 'Delius Unicase', 'Della Respira' => 'Della Respira', 'Denk One' => 'Denk One', 'Devonshire' => 'Devonshire', 'Dhurjati' => 'Dhurjati', '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', 'Eczar' => 'Eczar', 'Ek Mukta' => 'Ek Mukta', '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', 'Exo 2' => 'Exo 2', 'Expletus Sans' => 'Expletus Sans', 'Fanwood Text' => 'Fanwood Text', 'Fascinate' => 'Fascinate', 'Fascinate Inline' => 'Fascinate Inline', 'Faster One' => 'Faster One', 'Fasthand' => 'Fasthand', 'Fauna One' => 'Fauna One', 'Federant' => 'Federant', 'Federo' => 'Federo', 'Felipa' => 'Felipa', 'Fenix' => 'Fenix', 'Finger Paint' => 'Finger Paint', 'Fira Mono' => 'Fira Mono', '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', 'Gidugu' => 'Gidugu', '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', 'Gurajada' => 'Gurajada', 'Habibi' => 'Habibi', 'Halant' => 'Halant', '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', 'Hind' => 'Hind', 'Holtwood One SC' => 'Holtwood One SC', 'Homemade Apple' => 'Homemade Apple', 'Homenaje' => 'Homenaje', 'IM Fell DW Pica' => 'IM Fell DW Pica', 'IM Fell DW Pica SC' => 'IM Fell DW Pica SC', 'IM Fell Double Pica' => 'IM Fell Double Pica', 'IM Fell Double Pica SC' => 'IM Fell Double Pica SC', 'IM Fell English' => 'IM Fell English', 'IM Fell English SC' => 'IM Fell English SC', 'IM Fell French Canon' => 'IM Fell French Canon', 'IM Fell French Canon SC' => 'IM Fell French Canon SC', 'IM Fell Great Primer' => 'IM Fell Great Primer', 'IM Fell Great Primer SC' => 'IM Fell Great Primer SC', 'Iceberg' => 'Iceberg', 'Iceland' => 'Iceland', 'Imprima' => 'Imprima', 'Inconsolata' => 'Inconsolata', 'Inder' => 'Inder', 'Indie Flower' => 'Indie Flower', 'Inika' => 'Inika', 'Inknut Antiqua' => 'Inknut Antiqua', 'Irish Grover' => 'Irish Grover', 'Istok Web' => 'Istok Web', 'Italiana' => 'Italiana', 'Italianno' => 'Italianno', 'Itim' => 'Itim', 'Jacques Francois' => 'Jacques Francois', 'Jacques Francois Shadow' => 'Jacques Francois Shadow', 'Jaldi' => 'Jaldi', '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', 'Kadwa' => 'Kadwa', 'Kameron' => 'Kameron', 'Kanit' => 'Kanit', 'Karla' => 'Karla', 'Kaushan Script' => 'Kaushan Script', 'Kavoon' => 'Kavoon', 'Keania One' => 'Keania One', 'kelly Slab' => 'Kelly Slab', 'Kenia' => 'Kenia', 'Khand' => 'Khand', 'Khmer' => 'Khmer', 'Khula' => 'Khula', 'Kite One' => 'Kite One', 'Knewave' => 'Knewave', 'Kotta One' => 'Kotta One', 'Koulen' => 'Koulen', 'Kranky' => 'Kranky', 'Kreon' => 'Kreon', 'Kristi' => 'Kristi', 'Krona One' => 'Krona One', 'Kurale' => 'Kurale', 'La Belle Aurore' => 'La Belle Aurore', 'Laila' => 'Laila', 'Lakki Reddy' => 'Lakki Reddy', 'Lancelot' => 'Lancelot', 'Lateef' => 'Lateef', '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', 'Lily Script One' => 'Lily Script 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', 'Mandali' => 'Mandali', 'Marcellus' => 'Marcellus', 'Marcellus SC' => 'Marcellus SC', 'Marck Script' => 'Marck Script', 'Margarine' => 'Margarine', 'Marko One' => 'Marko One', 'Marmelad' => 'Marmelad', 'Martel' => 'Martel', 'Martel Sans' => 'Martel Sans', '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', 'Modak' => 'Modak', 'Modern Antiqua' => 'Modern Antiqua', 'Molengo' => 'Molengo', 'Molle' => 'Molle:400i', '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', 'NTR' => 'NTR', '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', 'Noto Sans' => 'Noto Sans', 'Noto Serif' => 'Noto Serif', '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:300', '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', 'Palanquin' => 'Palanquin', 'Palanquin Dark' => 'Palanquin Dark', 'Paprika' => 'Paprika', 'Parisienne' => 'Parisienne', 'Passero One' => 'Passero One', 'Passion One' => 'Passion One', 'Pathway Gothic One' => 'Pathway Gothic One', 'Patrick Hand' => 'Patrick Hand', 'Patrick Hand SC' => 'Patrick Hand SC', 'Patua One' => 'Patua One', 'Paytone One' => 'Paytone One', 'Peddana' => 'Peddana', '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', 'Poppins' => 'Poppins', 'Port Lligat Sans' => 'Port Lligat Sans', 'Port Lligat Slab' => 'Port Lligat Slab', 'Pragati Narrow' => 'Pragati Narrow', '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', 'Rajdhani' => 'Rajdhani', 'Raleway' => 'Raleway', 'Raleway Dots' => 'Raleway Dots', 'Ramabhadra' => 'Ramabhadra', 'Ramaraja' => 'Ramaraja', 'Rambla' => 'Rambla', 'Rammetto One' => 'Rammetto One', 'Ranchers' => 'Ranchers', 'Rancho' => 'Rancho', 'Ranga' => 'Ranga', 'Rationale' => 'Rationale', 'Ravi Prakash' => 'Ravi Prakash', 'Redressed' => 'Redressed', 'Reenie Beanie' => 'Reenie Beanie', 'Revalia' => 'Revalia', 'Rhodium Libre' => 'Rhodium Libre', 'Ribeye' => 'Ribeye', 'Ribeye Marrow' => 'Ribeye Marrow', 'Righteous' => 'Righteous', 'Risque' => 'Risque', 'Roboto' => 'Roboto', 'Roboto Condensed' => 'Roboto Condensed', 'Roboto Mono' => 'Roboto Mono', 'Roboto Slab' => 'Roboto Slab', 'Rochester' => 'Rochester', 'Rock Salt' => 'Rock Salt', 'Rokkitt' => 'Rokkitt', 'Romanesco' => 'Romanesco', 'Ropa Sans' => 'Ropa Sans', 'Rosario' => 'Rosario', 'Rosarivo' => 'Rosarivo', 'Rouge Script' => 'Rouge Script', 'Rozha One' => 'Rozha One', 'Rubik' => 'Rubik', 'Rubik Mono One' => 'Rubik Mono One', 'Rubik One' => 'Rubik One', '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', 'Sahitya' => 'Sahitya', 'Sail' => 'Sail', 'Salsa' => 'Salsa', 'Sanchez' => 'Sanchez', 'Sancreek' => 'Sancreek', 'Sansita One' => 'Sansita One', 'Sarina' => 'Sarina', 'Sarpanch' => 'Sarpanch', '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', 'Slabo 13px' => 'Slabo 13px', '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', 'Source Serif Pro' => 'Source Serif Pro', 'Special Elite' => 'Special Elite', 'Spicy Rice' => 'Spicy Rice', 'Spinnaker' => 'Spinnaker', 'Spirax' => 'Spirax', 'Squada One' => 'Squada One', 'Sree Krushnadevaraya' => 'Sree Krushnadevaraya', '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', 'Sumana' => 'Sumana', 'Sunshiney' => 'Sunshiney', 'Supermercado One' => 'Supermercado One', 'Sura' => 'Sura', 'Suranna' => 'Suranna', 'Suravaram' => 'Suravaram', 'Suwannaphum' => 'Suwannaphum', 'Swanky and Moo Moo' => 'Swanky and Moo Moo', 'Syncopate' => 'Syncopate', 'Tangerine' => 'Tangerine', 'Taprom' => 'Taprom', 'Tauri' => 'Tauri', 'Teko' => 'Teko', 'Telex' => 'Telex', 'Tenali Ramakrishna' => 'Tenali Ramakrishna', 'Tenor Sans' => 'Tenor Sans', 'Text Me One' => 'Text Me One', 'The Girl Next Door' => 'The Girl Next Door', 'Tienne' => 'Tienne', 'Tillana' => 'Tillana', 'Timmana' => 'Timmana', '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:700', 'UnifrakturMaguntia' => 'UnifrakturMaguntia', 'Unkempt' => 'Unkempt', 'Unlock' => 'Unlock', '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', 'Work Sans' => 'Work Sans', 'Yanone Kaffeesatz' => 'Yanone Kaffeesatz', 'Yantramanav' => 'Yantramanav', 'Yellowtail' => 'Yellowtail', 'Yeseva One' => 'Yeseva One', 'Yesteryear' => 'Yesteryear', 'Zeyada' => 'Zeyada');
 
 
 
 
 
 
 
 
564
  return $google_fonts;
565
  }
566
 
@@ -574,6 +585,33 @@ class WDW_S_Library {
574
  <?php
575
  return ob_get_clean();
576
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
577
  ////////////////////////////////////////////////////////////////////////////////////////
578
  // Private Methods //
579
  ////////////////////////////////////////////////////////////////////////////////////////
560
  }
561
 
562
  public static function get_google_fonts() {
563
+ $wds_global_options = get_option("wds_global_options", 0);
564
+ $global_options = json_decode($wds_global_options);
565
+ $possib_add_ffamily_google = isset($global_options->possib_add_ffamily_google) ? $global_options->possib_add_ffamily_google : '';
566
  $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', 'Alef' => 'Alef', 'Alegreya' => 'Alegreya', 'Alegreya SC' => 'Alegreya SC', 'Alegreya Sans' => 'Alegreya Sans', 'Alex Brush' => 'Alex Brush', 'Alfa Slab One' => 'Alfa Slab One', 'Alice' => 'Alice', 'Alike' => 'Alike', 'Alike Angular' => 'Alike Angular', 'Allan' => 'Allan', 'Allerta' => 'Allerta', 'Allerta Stencil' => 'Allerta Stencil', 'Allura' => 'Allura', 'Almendra' => 'Almendra', 'Almendra display' => 'Almendra Display', 'Almendra sc' => 'Almendra SC', 'Amarante' => 'Amarante', 'Amaranth' => 'Amaranth', 'Amatic sc' => 'Amatic SC', 'Amethysta' => 'Amethysta', 'Amiri' => 'Amiri', 'Amita' => 'Amita', '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', 'Arya' => 'Arya', 'Asap' => 'Asap', 'Asar' => 'Asar', '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', 'Biryani' => 'Biryani', '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', 'Buda Light 300' => 'Buda Light 300', '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', 'Cambay' => 'Cambay', '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', 'Caveat Brush' => 'Caveat Brush', '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', 'Chonburi' => 'Chonburi', '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', 'Dekko' => 'Dekko', 'Delius' => 'Delius', 'Delius Swash Caps' => 'Delius Swash Caps', 'Delius Unicase' => 'Delius Unicase', 'Della Respira' => 'Della Respira', 'Denk One' => 'Denk One', 'Devonshire' => 'Devonshire', 'Dhurjati' => 'Dhurjati', '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', 'Eczar' => 'Eczar', 'Ek Mukta' => 'Ek Mukta', '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', 'Exo 2' => 'Exo 2', 'Expletus Sans' => 'Expletus Sans', 'Fanwood Text' => 'Fanwood Text', 'Fascinate' => 'Fascinate', 'Fascinate Inline' => 'Fascinate Inline', 'Faster One' => 'Faster One', 'Fasthand' => 'Fasthand', 'Fauna One' => 'Fauna One', 'Federant' => 'Federant', 'Federo' => 'Federo', 'Felipa' => 'Felipa', 'Fenix' => 'Fenix', 'Finger Paint' => 'Finger Paint', 'Fira Mono' => 'Fira Mono', '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', 'Gidugu' => 'Gidugu', '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', 'Gurajada' => 'Gurajada', 'Habibi' => 'Habibi', 'Halant' => 'Halant', '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', 'Hind' => 'Hind', 'Holtwood One SC' => 'Holtwood One SC', 'Homemade Apple' => 'Homemade Apple', 'Homenaje' => 'Homenaje', 'IM Fell DW Pica' => 'IM Fell DW Pica', 'IM Fell DW Pica SC' => 'IM Fell DW Pica SC', 'IM Fell Double Pica' => 'IM Fell Double Pica', 'IM Fell Double Pica SC' => 'IM Fell Double Pica SC', 'IM Fell English' => 'IM Fell English', 'IM Fell English SC' => 'IM Fell English SC', 'IM Fell French Canon' => 'IM Fell French Canon', 'IM Fell French Canon SC' => 'IM Fell French Canon SC', 'IM Fell Great Primer' => 'IM Fell Great Primer', 'IM Fell Great Primer SC' => 'IM Fell Great Primer SC', 'Iceberg' => 'Iceberg', 'Iceland' => 'Iceland', 'Imprima' => 'Imprima', 'Inconsolata' => 'Inconsolata', 'Inder' => 'Inder', 'Indie Flower' => 'Indie Flower', 'Inika' => 'Inika', 'Inknut Antiqua' => 'Inknut Antiqua', 'Irish Grover' => 'Irish Grover', 'Istok Web' => 'Istok Web', 'Italiana' => 'Italiana', 'Italianno' => 'Italianno', 'Itim' => 'Itim', 'Jacques Francois' => 'Jacques Francois', 'Jacques Francois Shadow' => 'Jacques Francois Shadow', 'Jaldi' => 'Jaldi', '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', 'Kadwa' => 'Kadwa', 'Kameron' => 'Kameron', 'Kanit' => 'Kanit', 'Karla' => 'Karla', 'Kaushan Script' => 'Kaushan Script', 'Kavoon' => 'Kavoon', 'Keania One' => 'Keania One', 'kelly Slab' => 'Kelly Slab', 'Kenia' => 'Kenia', 'Khand' => 'Khand', 'Khmer' => 'Khmer', 'Khula' => 'Khula', 'Kite One' => 'Kite One', 'Knewave' => 'Knewave', 'Kotta One' => 'Kotta One', 'Koulen' => 'Koulen', 'Kranky' => 'Kranky', 'Kreon' => 'Kreon', 'Kristi' => 'Kristi', 'Krona One' => 'Krona One', 'Kurale' => 'Kurale', 'La Belle Aurore' => 'La Belle Aurore', 'Laila' => 'Laila', 'Lakki Reddy' => 'Lakki Reddy', 'Lancelot' => 'Lancelot', 'Lateef' => 'Lateef', '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', 'Lily Script One' => 'Lily Script 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', 'Mandali' => 'Mandali', 'Marcellus' => 'Marcellus', 'Marcellus SC' => 'Marcellus SC', 'Marck Script' => 'Marck Script', 'Margarine' => 'Margarine', 'Marko One' => 'Marko One', 'Marmelad' => 'Marmelad', 'Martel' => 'Martel', 'Martel Sans' => 'Martel Sans', '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', 'Modak' => 'Modak', 'Modern Antiqua' => 'Modern Antiqua', 'Molengo' => 'Molengo', 'Molle' => 'Molle:400i', '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', 'NTR' => 'NTR', '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', 'Noto Sans' => 'Noto Sans', 'Noto Serif' => 'Noto Serif', '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:300', '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', 'Palanquin' => 'Palanquin', 'Palanquin Dark' => 'Palanquin Dark', 'Paprika' => 'Paprika', 'Parisienne' => 'Parisienne', 'Passero One' => 'Passero One', 'Passion One' => 'Passion One', 'Pathway Gothic One' => 'Pathway Gothic One', 'Patrick Hand' => 'Patrick Hand', 'Patrick Hand SC' => 'Patrick Hand SC', 'Patua One' => 'Patua One', 'Paytone One' => 'Paytone One', 'Peddana' => 'Peddana', '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', 'Poppins' => 'Poppins', 'Port Lligat Sans' => 'Port Lligat Sans', 'Port Lligat Slab' => 'Port Lligat Slab', 'Pragati Narrow' => 'Pragati Narrow', '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', 'Rajdhani' => 'Rajdhani', 'Raleway' => 'Raleway', 'Raleway Dots' => 'Raleway Dots', 'Ramabhadra' => 'Ramabhadra', 'Ramaraja' => 'Ramaraja', 'Rambla' => 'Rambla', 'Rammetto One' => 'Rammetto One', 'Ranchers' => 'Ranchers', 'Rancho' => 'Rancho', 'Ranga' => 'Ranga', 'Rationale' => 'Rationale', 'Ravi Prakash' => 'Ravi Prakash', 'Redressed' => 'Redressed', 'Reenie Beanie' => 'Reenie Beanie', 'Revalia' => 'Revalia', 'Rhodium Libre' => 'Rhodium Libre', 'Ribeye' => 'Ribeye', 'Ribeye Marrow' => 'Ribeye Marrow', 'Righteous' => 'Righteous', 'Risque' => 'Risque', 'Roboto' => 'Roboto', 'Roboto Condensed' => 'Roboto Condensed', 'Roboto Mono' => 'Roboto Mono', 'Roboto Slab' => 'Roboto Slab', 'Rochester' => 'Rochester', 'Rock Salt' => 'Rock Salt', 'Rokkitt' => 'Rokkitt', 'Romanesco' => 'Romanesco', 'Ropa Sans' => 'Ropa Sans', 'Rosario' => 'Rosario', 'Rosarivo' => 'Rosarivo', 'Rouge Script' => 'Rouge Script', 'Rozha One' => 'Rozha One', 'Rubik' => 'Rubik', 'Rubik Mono One' => 'Rubik Mono One', 'Rubik One' => 'Rubik One', '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', 'Sahitya' => 'Sahitya', 'Sail' => 'Sail', 'Salsa' => 'Salsa', 'Sanchez' => 'Sanchez', 'Sancreek' => 'Sancreek', 'Sansita One' => 'Sansita One', 'Sarina' => 'Sarina', 'Sarpanch' => 'Sarpanch', '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', 'Slabo 13px' => 'Slabo 13px', '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', 'Source Serif Pro' => 'Source Serif Pro', 'Special Elite' => 'Special Elite', 'Spicy Rice' => 'Spicy Rice', 'Spinnaker' => 'Spinnaker', 'Spirax' => 'Spirax', 'Squada One' => 'Squada One', 'Sree Krushnadevaraya' => 'Sree Krushnadevaraya', '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', 'Sumana' => 'Sumana', 'Sunshiney' => 'Sunshiney', 'Supermercado One' => 'Supermercado One', 'Sura' => 'Sura', 'Suranna' => 'Suranna', 'Suravaram' => 'Suravaram', 'Suwannaphum' => 'Suwannaphum', 'Swanky and Moo Moo' => 'Swanky and Moo Moo', 'Syncopate' => 'Syncopate', 'Tangerine' => 'Tangerine', 'Taprom' => 'Taprom', 'Tauri' => 'Tauri', 'Teko' => 'Teko', 'Telex' => 'Telex', 'Tenali Ramakrishna' => 'Tenali Ramakrishna', 'Tenor Sans' => 'Tenor Sans', 'Text Me One' => 'Text Me One', 'The Girl Next Door' => 'The Girl Next Door', 'Tienne' => 'Tienne', 'Tillana' => 'Tillana', 'Timmana' => 'Timmana', '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:700', 'UnifrakturMaguntia' => 'UnifrakturMaguntia', 'Unkempt' => 'Unkempt', 'Unlock' => 'Unlock', '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', 'Work Sans' => 'Work Sans', 'Yanone Kaffeesatz' => 'Yanone Kaffeesatz', 'Yantramanav' => 'Yantramanav', 'Yellowtail' => 'Yellowtail', 'Yeseva One' => 'Yeseva One', 'Yesteryear' => 'Yesteryear', 'Zeyada' => 'Zeyada');
567
+ if ($possib_add_ffamily_google != '') {
568
+ $possib_add_ffamily_google = explode("*WD*", $possib_add_ffamily_google);
569
+ foreach($possib_add_ffamily_google as $possib_add_value_google) {
570
+ if ($possib_add_value_google) {
571
+ $google_fonts[$possib_add_value_google] = $possib_add_value_google;
572
+ }
573
+ }
574
+ }
575
  return $google_fonts;
576
  }
577
 
585
  <?php
586
  return ob_get_clean();
587
  }
588
+
589
+ public static function get_font_families() {
590
+ $wds_global_options = get_option("wds_global_options", 0);
591
+ $global_options = json_decode($wds_global_options);
592
+ $possib_add_ffamily = isset($global_options->possib_add_ffamily) ? $global_options->possib_add_ffamily : '';
593
+ $font_families = array(
594
+ 'arial' => 'Arial',
595
+ 'lucida grande' => 'Lucida grande',
596
+ 'segoe ui' => 'Segoe ui',
597
+ 'tahoma' => 'Tahoma',
598
+ 'trebuchet ms' => 'Trebuchet ms',
599
+ 'verdana' => 'Verdana',
600
+ 'cursive' =>'Cursive',
601
+ 'fantasy' => 'Fantasy',
602
+ 'monospace' => 'Monospace',
603
+ 'serif' => 'Serif',
604
+ );
605
+ if ($possib_add_ffamily != '') {
606
+ $possib_add_ffamily = explode("*WD*", $possib_add_ffamily);
607
+ foreach($possib_add_ffamily as $possib_add_value) {
608
+ if ($possib_add_value) {
609
+ $font_families[strtolower($possib_add_value)] = $possib_add_value;
610
+ }
611
+ }
612
+ }
613
+ return $font_families;
614
+ }
615
  ////////////////////////////////////////////////////////////////////////////////////////
616
  // Private Methods //
617
  ////////////////////////////////////////////////////////////////////////////////////////
frontend/views/WDSViewSlider.php CHANGED
@@ -978,7 +978,7 @@ class WDSViewSlider {
978
  top: <?php echo $top_percent; ?>%;
979
  z-index: <?php echo $layer->depth; ?>;
980
  color: #<?php echo $layer->color; ?>;
981
- font-family: <?php echo str_replace('+', ' ', $layer->ffamily); ?>;
982
  font-weight: <?php echo $layer->fweight; ?>;
983
  background-color: <?php echo WDW_S_Library::spider_hex2rgba($layer->fbgcolor, (100 - $layer->transparent) / 100); ?>;
984
  border: <?php echo $layer->border_width; ?>px <?php echo $layer->border_style; ?> #<?php echo $layer->border_color; ?>;
978
  top: <?php echo $top_percent; ?>%;
979
  z-index: <?php echo $layer->depth; ?>;
980
  color: #<?php echo $layer->color; ?>;
981
+ font-family: <?php echo $layer->ffamily; ?>;
982
  font-weight: <?php echo $layer->fweight; ?>;
983
  background-color: <?php echo WDW_S_Library::spider_hex2rgba($layer->fbgcolor, (100 - $layer->transparent) / 100); ?>;
984
  border: <?php echo $layer->border_width; ?>px <?php echo $layer->border_style; ?> #<?php echo $layer->border_color; ?>;
images/support.png ADDED
Binary file
images/wd_logo.png DELETED
Binary file
js/wds.js CHANGED
@@ -314,6 +314,7 @@ function spider_ajax_save(form_id, event) {
314
  }
315
  ).success(function (data, textStatus, errorThrown) {
316
  wds_success(form_id, 0);
 
317
  });
318
  if (event.preventDefault) {
319
  event.preventDefault();
@@ -2164,26 +2165,26 @@ function wds_add_layer(type, id, layerID, duplicate, files, edit) {
2164
  '</tr>';
2165
  var text = '<td class="spider_label"><label for="' + prefix + '_text">Text: </label></td>' +
2166
  '<td><textarea id="' + prefix + '_text" name="' + prefix + '_text" style="width: 222px; height: 60px; resize: vertical;" onkeyup="wds_new_line(\'' + prefix + '\')">Sample text</textarea></td>';
2167
- var text_dimensions = '<td class="spider_label"><label for="' + prefix + '_image_width">Dimensions: </label></td>' +
2168
  '<td>' +
2169
  '<input id="' + prefix + '_image_width" class="spider_int_input" type="text" onchange="wds_text_width(this,\'' + prefix + '\')" value="" name="' + prefix + '_image_width" /> x ' +
2170
  '<input id="' + prefix + '_image_height" class="spider_int_input" type="text" onchange="wds_text_height(this,\'' + prefix + '\')" value="" name="' + prefix + '_image_height" /> % ' +
2171
  '<input id="' + prefix + '_image_scale" type="checkbox" onchange="wds_break_word(this, \'' + prefix + '\')" name="' + prefix + '_image_scale" checked="checked"/><label for="' + prefix + '_image_scale">Break-word</label>' +
2172
- '<div class="spider_description">Leave blank to keep the initial width and height.</div></td>';
2173
- var alt = '<td class="spider_label"><label for="' + prefix + '_alt">Alt: </label></td>' +
2174
  '<td><input type="text" id="' + prefix + '_alt" name="' + prefix + '_alt" value="" />' +
2175
- '<div class="spider_description">Set the HTML attribute specified in the IMG tag.</div></td>';
2176
- var link = '<td class="spider_label"><label for="' + prefix + '_link">Link: </label></td>' +
2177
  '<td><input type="text" id="' + prefix + '_link" name="' + prefix + '_link" value="" />' +
2178
  '<input id="' + prefix + '_target_attr_layer" type="checkbox" name="' + prefix + '_target_attr_layer" value="1" checked="checked" /><label for="' + prefix + '_target_attr_layer"> Open in a new window</label>' +
2179
- '<div class="spider_description">Use http:// and https:// for external links.</div></td>';
2180
- var position = '<td class="spider_label"><label>Position: </label></td>' +
2181
  '<td> X <input type="text" name="' + prefix + '_left" id="' + prefix + '_left" value="0" class="spider_int_input" onkeypress="return spider_check_isnum(event)" onchange="jQuery(\'#' + prefix + '\').css({left: jQuery(this).val() + \'px\'})" />' +
2182
  ' Y <input type="text" name="' + prefix + '_top" id="' + prefix + '_top" value="0" class="spider_int_input" onkeypress="return spider_check_isnum(event)" onchange="jQuery(\'#' + prefix + '\').css({top: jQuery(this).val() + \'px\'})" />';
2183
  if (type == 'text') {
2184
  position += '<input id="' + prefix + '_align_layer" type="checkbox" name="' + prefix + '_align_layer" value="1" onchange="wds_position_left_disabled(\'' + prefix + '\');" /><label for="' + prefix + '_align_layer">Fixed step (left, center, right)</label>';
2185
  }
2186
- position += '<div class="spider_description">In addition you can drag and drop the layer to a desired position.</div></td>';
2187
  var published = '<td class="spider_label"><label>Published: </label></td>' +
2188
  '<td><input type="radio" id="' + prefix + '_published1" name="' + prefix + '_published" checked="checked" value="1" ><label for="' + prefix + '_published1">Yes</label>' +
2189
  '<input type="radio" id="' + prefix + '_published0" name="' + prefix + '_published" value="0" /><label for="' + prefix + '_published0">No</label><div class="spider_description"></div></td>';
@@ -2200,22 +2201,22 @@ function wds_add_layer(type, id, layerID, duplicate, files, edit) {
2200
  '<div class="spider_description"></div></td>';
2201
  var fweight = '<td class="spider_label"><label for="' + prefix + '_fweight">Font weight: </label></td>' +
2202
  '<td><select class="select_icon" name="' + prefix + '_fweight" id="' + prefix + '_fweight" onchange="jQuery(\'#' + prefix + '\').css({fontWeight: jQuery(this).val()})">' + font_weights_option + '</select><div class="spider_description"></div></td>';
2203
- var padding = '<td class="spider_label"><label for="' + prefix + '_padding">Padding: </label></td>' +
2204
- '<td><input type="text" name="' + prefix + '_padding" id="' + prefix + '_padding" value="5px" class="spider_char_input" onchange="document.getElementById(\'' + prefix + '\').style.padding=jQuery(this).val()" /><div class="spider_description">Use CSS type values.</div></td>';
2205
  var fbgcolor = '<td class="spider_label"><label for="' + prefix + '_fbgcolor">Background Color: </label></td>' +
2206
  '<td><input type="text" name="' + prefix + '_fbgcolor" id="' + prefix + '_fbgcolor" value="000000" class="color" onchange="jQuery(\'#' + prefix + '\').css({backgroundColor: wds_hex_rgba(jQuery(this).val(), 100 - jQuery(\'#' + prefix + '_transparent\').val())})" /><div class="spider_description"></div></td>';
2207
- var fbgtransparent = '<td class="spider_label"><label for="' + prefix + '_transparent">Transparent: </label></td>' +
2208
- '<td><input type="text" name="' + prefix + '_transparent" id="' + prefix + '_transparent" value="50" class="spider_int_input" onkeypress="return spider_check_isnum(event)" onchange="jQuery(\'#' + prefix + '\').css({backgroundColor: wds_hex_rgba(jQuery(\'#' + prefix + '_fbgcolor\').val(), 100 - jQuery(this).val())})" /> %<div class="spider_description">Value must be between 0 to 100.</div></td>';
2209
- var imgtransparent = '<td class="spider_label"><label for="' + prefix + '_imgtransparent">Transparent: </label></td>' +
2210
- '<td><input type="text" name="' + prefix + '_imgtransparent" id="' + prefix + '_imgtransparent" value="0" class="spider_int_input" onkeypress="return spider_check_isnum(event)" onchange="jQuery(\'#' + prefix + '\').css({opacity: (100 - jQuery(this).val()) / 100, filter: \'Alpha(opacity=\' + 100 - jQuery(this).val() + \')\'})" /> %<div class="spider_description">Value must be between 0 to 100.</div></td>';
2211
  var border_width = '<td class="spider_label"><label for="' + prefix + '_border_width">Border: </label></td>' +
2212
  '<td><input type="text" name="' + prefix + '_border_width" id="' + prefix + '_border_width" value="2" class="spider_int_input" onkeypress="return spider_check_isnum(event)" onchange="jQuery(\'#' + prefix + '\').css({borderWidth: jQuery(this).val() + \'px\'})" /> px ' +
2213
  '<select class="select_icon" name="' + prefix + '_border_style" id="' + prefix + '_border_style" style="width: 80px;" onchange="jQuery(\'#' + prefix + '\').css({borderStyle: jQuery(this).val()})">' + border_styles_option + '</select> ' +
2214
  '<input type="text" name="' + prefix + '_border_color" id="' + prefix + '_border_color" value="" class="color" onchange="jQuery(\'#' + prefix + '\').css({borderColor: \'#\' + jQuery(this).val()})" /><div class="spider_description"></div></td>';
2215
- var border_radius = '<td class="spider_label"><label for="' + prefix + '_border_radius">Radius: </label></td>' +
2216
- '<td><input type="text" name="' + prefix + '_border_radius" id="' + prefix + '_border_radius" value="2px" class="spider_char_input" onchange="jQuery(\'#' + prefix + '\').css({borderRadius: jQuery(this).val()})" /><div class="spider_description">Use CSS type values.</div></td>';
2217
- var shadow = '<td class="spider_label"><label for="' + prefix + '_shadow">Shadow: </label></td>' +
2218
- '<td><input type="text" name="' + prefix + '_shadow" id="' + prefix + '_shadow" value="" class="spider_char_input" onchange="jQuery(\'#' + prefix + '\').css({boxShadow: jQuery(this).val()})" /><div class="spider_description">Use CSS type values (e.g. 10px 10px 5px #888888).</div></td>';
2219
  var dimensions = '<td class="spider_label"><label>Dimensions: </label></td>' +
2220
  '<td>' +
2221
  '<input type="hidden" name="' + prefix + '_image_url" id="' + prefix + '_image_url" />' +
@@ -2226,8 +2227,8 @@ function wds_add_layer(type, id, layerID, duplicate, files, edit) {
2226
  '<div class="spider_description">Set width and height of the image.</div></td>';
2227
  var social_button = '<td class="spider_label"><label for="' + prefix + '_social_button">Social button: </label></td>' +
2228
  '<td><select class="select_icon" name="' + prefix + '_social_button" id="' + prefix + '_social_button" onchange="jQuery(\'#' + prefix + '\').attr(\'class\', \'wds_draggable fa fa-\' + jQuery(this).val())">' + social_button_option + '</select><div class="spider_description"></div></td>';
2229
- var transparent = '<td class="spider_label"><label for="' + prefix + '_transparent">Transparent: </label></td>' +
2230
- '<td><input type="text" name="' + prefix + '_transparent" id="' + prefix + '_transparent" value="0" class="spider_int_input" onkeypress="return spider_check_isnum(event)" onchange="jQuery(\'#' + prefix + '\').css({opacity: (100 - jQuery(this).val()) / 100, filter: \'Alpha(opacity=\' + 100 - jQuery(this).val() + \')\'})" /> %<div class="spider_description">Value must be between 0 to 100.</div></td>';
2231
  var hover_color = '<td class="spider_label"><label for="' + prefix + '_hover_color">Hover Color: </label></td>' +
2232
  '<td><input type="text" name="' + prefix + '_hover_color" id="' + prefix + '_hover_color" value="" class="color" onchange="jQuery(\'#' + prefix + '\').hover(function() { jQuery(this).css({color: \'#\' + jQuery(\'#' + prefix + '_hover_color\').val()}); }, function() { jQuery(this).css({color: \'#\' + jQuery(\'#' + prefix + '_color\').val()}); })" /><div class="spider_description"></div></td>';
2233
  var layer_type = '<input type="hidden" name="' + prefix + '_type" id="' + prefix + '_type" value="' + type + '" />';
@@ -2411,6 +2412,7 @@ function wds_add_layer(type, id, layerID, duplicate, files, edit) {
2411
  }
2412
  wds_layer_weights(id);
2413
  wds_onkeypress();
 
2414
  return layerID;
2415
  }
2416
 
@@ -2569,6 +2571,7 @@ function wds_add_image_layer(prefix, tbodyID, id, layerID, tbody_html, edit) {
2569
  jQuery("#" + prefix + "_image_url").val(attachment.url);
2570
  }
2571
  wds_drag_layer(id);
 
2572
  jscolor.bind();
2573
  });
2574
 
@@ -2958,16 +2961,7 @@ function wds_onkeypress() {
2958
 
2959
  jQuery(document).ready(function () {
2960
  wds_onkeypress();
2961
- if (typeof jQuery().tooltip !== 'undefined') {
2962
- if (jQuery.isFunction(jQuery().tooltip)) {
2963
- jQuery(".wds_tooltip").tooltip({
2964
- track: true,
2965
- content: function () {
2966
- return jQuery(this).prop('title');
2967
- }
2968
- });
2969
- }
2970
- }
2971
  });
2972
 
2973
  function wds_merge() {
@@ -3003,25 +2997,9 @@ function wds_change_fonts(prefix, change) {
3003
  }
3004
  if (jQuery("#" + prefix + "_google_fonts1").is(":checked")) {
3005
  fonts = wds_object.GGF;
3006
- if (jQuery('#possib_add_ffamily_google').val() != '') {
3007
- var possib_add_ffamily_google = jQuery('#possib_add_ffamily_google').val().split("*WD*");
3008
- for (var i = 0; i < possib_add_ffamily_google.length; i++) {
3009
- if (possib_add_ffamily_google[i]) {
3010
- fonts[possib_add_ffamily_google[i]] = possib_add_ffamily_google[i];
3011
- }
3012
- }
3013
- }
3014
  }
3015
  else {
3016
- 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'};
3017
- if (jQuery('#possib_add_ffamily').val() != '') {
3018
- var possib_add_ffamily = jQuery('#possib_add_ffamily').val().split("*WD*");
3019
- for (var i = 0; i < possib_add_ffamily.length; i++) {
3020
- if (possib_add_ffamily[i]) {
3021
- fonts[possib_add_ffamily[i].toLowerCase()] = possib_add_ffamily[i];
3022
- }
3023
- }
3024
- }
3025
  }
3026
  if (typeof change == "undefined") {
3027
  var fonts_option = "";
@@ -3135,4 +3113,17 @@ function wds_reset(event) {
3135
  return true;
3136
  }
3137
  return false;
 
 
 
 
 
 
 
 
 
 
 
 
 
3138
  }
314
  }
315
  ).success(function (data, textStatus, errorThrown) {
316
  wds_success(form_id, 0);
317
+ wds_tooltip();
318
  });
319
  if (event.preventDefault) {
320
  event.preventDefault();
2165
  '</tr>';
2166
  var text = '<td class="spider_label"><label for="' + prefix + '_text">Text: </label></td>' +
2167
  '<td><textarea id="' + prefix + '_text" name="' + prefix + '_text" style="width: 222px; height: 60px; resize: vertical;" onkeyup="wds_new_line(\'' + prefix + '\')">Sample text</textarea></td>';
2168
+ var text_dimensions = '<td title="Leave blank to keep the initial width and height." class="wds_tooltip spider_label"><label for="' + prefix + '_image_width">Dimensions: </label></td>' +
2169
  '<td>' +
2170
  '<input id="' + prefix + '_image_width" class="spider_int_input" type="text" onchange="wds_text_width(this,\'' + prefix + '\')" value="" name="' + prefix + '_image_width" /> x ' +
2171
  '<input id="' + prefix + '_image_height" class="spider_int_input" type="text" onchange="wds_text_height(this,\'' + prefix + '\')" value="" name="' + prefix + '_image_height" /> % ' +
2172
  '<input id="' + prefix + '_image_scale" type="checkbox" onchange="wds_break_word(this, \'' + prefix + '\')" name="' + prefix + '_image_scale" checked="checked"/><label for="' + prefix + '_image_scale">Break-word</label>' +
2173
+ '</td>';
2174
+ var alt = '<td title="Set the HTML attribute specified in the IMG tag." class="wds_tooltip spider_label"><label for="' + prefix + '_alt">Alt: </label></td>' +
2175
  '<td><input type="text" id="' + prefix + '_alt" name="' + prefix + '_alt" value="" />' +
2176
+ '</td>';
2177
+ var link = '<td title="Use http:// and https:// for external links." class="wds_tooltip spider_label"><label for="' + prefix + '_link">Link: </label></td>' +
2178
  '<td><input type="text" id="' + prefix + '_link" name="' + prefix + '_link" value="" />' +
2179
  '<input id="' + prefix + '_target_attr_layer" type="checkbox" name="' + prefix + '_target_attr_layer" value="1" checked="checked" /><label for="' + prefix + '_target_attr_layer"> Open in a new window</label>' +
2180
+ '</td>';
2181
+ var position = '<td title="In addition you can drag and drop the layer to a desired position." class="wds_tooltip spider_label"><label>Position: </label></td>' +
2182
  '<td> X <input type="text" name="' + prefix + '_left" id="' + prefix + '_left" value="0" class="spider_int_input" onkeypress="return spider_check_isnum(event)" onchange="jQuery(\'#' + prefix + '\').css({left: jQuery(this).val() + \'px\'})" />' +
2183
  ' Y <input type="text" name="' + prefix + '_top" id="' + prefix + '_top" value="0" class="spider_int_input" onkeypress="return spider_check_isnum(event)" onchange="jQuery(\'#' + prefix + '\').css({top: jQuery(this).val() + \'px\'})" />';
2184
  if (type == 'text') {
2185
  position += '<input id="' + prefix + '_align_layer" type="checkbox" name="' + prefix + '_align_layer" value="1" onchange="wds_position_left_disabled(\'' + prefix + '\');" /><label for="' + prefix + '_align_layer">Fixed step (left, center, right)</label>';
2186
  }
2187
+ position += '</td>';
2188
  var published = '<td class="spider_label"><label>Published: </label></td>' +
2189
  '<td><input type="radio" id="' + prefix + '_published1" name="' + prefix + '_published" checked="checked" value="1" ><label for="' + prefix + '_published1">Yes</label>' +
2190
  '<input type="radio" id="' + prefix + '_published0" name="' + prefix + '_published" value="0" /><label for="' + prefix + '_published0">No</label><div class="spider_description"></div></td>';
2201
  '<div class="spider_description"></div></td>';
2202
  var fweight = '<td class="spider_label"><label for="' + prefix + '_fweight">Font weight: </label></td>' +
2203
  '<td><select class="select_icon" name="' + prefix + '_fweight" id="' + prefix + '_fweight" onchange="jQuery(\'#' + prefix + '\').css({fontWeight: jQuery(this).val()})">' + font_weights_option + '</select><div class="spider_description"></div></td>';
2204
+ var padding = '<td title="Use CSS type values." class="wds_tooltip spider_label"><label for="' + prefix + '_padding">Padding: </label></td>' +
2205
+ '<td><input type="text" name="' + prefix + '_padding" id="' + prefix + '_padding" value="5px" class="spider_char_input" onchange="document.getElementById(\'' + prefix + '\').style.padding=jQuery(this).val()" /></td>';
2206
  var fbgcolor = '<td class="spider_label"><label for="' + prefix + '_fbgcolor">Background Color: </label></td>' +
2207
  '<td><input type="text" name="' + prefix + '_fbgcolor" id="' + prefix + '_fbgcolor" value="000000" class="color" onchange="jQuery(\'#' + prefix + '\').css({backgroundColor: wds_hex_rgba(jQuery(this).val(), 100 - jQuery(\'#' + prefix + '_transparent\').val())})" /><div class="spider_description"></div></td>';
2208
+ var fbgtransparent = '<td title="Value must be between 0 to 100." class="wds_tooltip spider_label"><label for="' + prefix + '_transparent">Transparent: </label></td>' +
2209
+ '<td><input type="text" name="' + prefix + '_transparent" id="' + prefix + '_transparent" value="50" class="spider_int_input" onkeypress="return spider_check_isnum(event)" onchange="jQuery(\'#' + prefix + '\').css({backgroundColor: wds_hex_rgba(jQuery(\'#' + prefix + '_fbgcolor\').val(), 100 - jQuery(this).val())})" /> %</td>';
2210
+ var imgtransparent = '<td title="Value must be between 0 to 100." class="wds_tooltip spider_label"><label for="' + prefix + '_imgtransparent">Transparent: </label></td>' +
2211
+ '<td><input type="text" name="' + prefix + '_imgtransparent" id="' + prefix + '_imgtransparent" value="0" class="spider_int_input" onkeypress="return spider_check_isnum(event)" onchange="jQuery(\'#' + prefix + '\').css({opacity: (100 - jQuery(this).val()) / 100, filter: \'Alpha(opacity=\' + 100 - jQuery(this).val() + \')\'})" /> %</td>';
2212
  var border_width = '<td class="spider_label"><label for="' + prefix + '_border_width">Border: </label></td>' +
2213
  '<td><input type="text" name="' + prefix + '_border_width" id="' + prefix + '_border_width" value="2" class="spider_int_input" onkeypress="return spider_check_isnum(event)" onchange="jQuery(\'#' + prefix + '\').css({borderWidth: jQuery(this).val() + \'px\'})" /> px ' +
2214
  '<select class="select_icon" name="' + prefix + '_border_style" id="' + prefix + '_border_style" style="width: 80px;" onchange="jQuery(\'#' + prefix + '\').css({borderStyle: jQuery(this).val()})">' + border_styles_option + '</select> ' +
2215
  '<input type="text" name="' + prefix + '_border_color" id="' + prefix + '_border_color" value="" class="color" onchange="jQuery(\'#' + prefix + '\').css({borderColor: \'#\' + jQuery(this).val()})" /><div class="spider_description"></div></td>';
2216
+ var border_radius = '<td title="Use CSS type values." class="wds_tooltip spider_label"><label for="' + prefix + '_border_radius">Radius: </label></td>' +
2217
+ '<td><input type="text" name="' + prefix + '_border_radius" id="' + prefix + '_border_radius" value="2px" class="spider_char_input" onchange="jQuery(\'#' + prefix + '\').css({borderRadius: jQuery(this).val()})" /></td>';
2218
+ var shadow = '<td title="Use CSS type values (e.g. 10px 10px 5px #888888)." class="wds_tooltip spider_label"><label for="' + prefix + '_shadow">Shadow: </label></td>' +
2219
+ '<td><input type="text" name="' + prefix + '_shadow" id="' + prefix + '_shadow" value="" class="spider_char_input" onchange="jQuery(\'#' + prefix + '\').css({boxShadow: jQuery(this).val()})" /></td>';
2220
  var dimensions = '<td class="spider_label"><label>Dimensions: </label></td>' +
2221
  '<td>' +
2222
  '<input type="hidden" name="' + prefix + '_image_url" id="' + prefix + '_image_url" />' +
2227
  '<div class="spider_description">Set width and height of the image.</div></td>';
2228
  var social_button = '<td class="spider_label"><label for="' + prefix + '_social_button">Social button: </label></td>' +
2229
  '<td><select class="select_icon" name="' + prefix + '_social_button" id="' + prefix + '_social_button" onchange="jQuery(\'#' + prefix + '\').attr(\'class\', \'wds_draggable fa fa-\' + jQuery(this).val())">' + social_button_option + '</select><div class="spider_description"></div></td>';
2230
+ var transparent = '<td title="Value must be between 0 to 100." class="wds_tooltip spider_label"><label for="' + prefix + '_transparent">Transparent: </label></td>' +
2231
+ '<td><input type="text" name="' + prefix + '_transparent" id="' + prefix + '_transparent" value="0" class="spider_int_input" onkeypress="return spider_check_isnum(event)" onchange="jQuery(\'#' + prefix + '\').css({opacity: (100 - jQuery(this).val()) / 100, filter: \'Alpha(opacity=\' + 100 - jQuery(this).val() + \')\'})" /> %</td>';
2232
  var hover_color = '<td class="spider_label"><label for="' + prefix + '_hover_color">Hover Color: </label></td>' +
2233
  '<td><input type="text" name="' + prefix + '_hover_color" id="' + prefix + '_hover_color" value="" class="color" onchange="jQuery(\'#' + prefix + '\').hover(function() { jQuery(this).css({color: \'#\' + jQuery(\'#' + prefix + '_hover_color\').val()}); }, function() { jQuery(this).css({color: \'#\' + jQuery(\'#' + prefix + '_color\').val()}); })" /><div class="spider_description"></div></td>';
2234
  var layer_type = '<input type="hidden" name="' + prefix + '_type" id="' + prefix + '_type" value="' + type + '" />';
2412
  }
2413
  wds_layer_weights(id);
2414
  wds_onkeypress();
2415
+ wds_tooltip();
2416
  return layerID;
2417
  }
2418
 
2571
  jQuery("#" + prefix + "_image_url").val(attachment.url);
2572
  }
2573
  wds_drag_layer(id);
2574
+ wds_tooltip();
2575
  jscolor.bind();
2576
  });
2577
 
2961
 
2962
  jQuery(document).ready(function () {
2963
  wds_onkeypress();
2964
+ wds_tooltip();
 
 
 
 
 
 
 
 
 
2965
  });
2966
 
2967
  function wds_merge() {
2997
  }
2998
  if (jQuery("#" + prefix + "_google_fonts1").is(":checked")) {
2999
  fonts = wds_object.GGF;
 
 
 
 
 
 
 
 
3000
  }
3001
  else {
3002
+ fonts = wds_object.FGF;
 
 
 
 
 
 
 
 
3003
  }
3004
  if (typeof change == "undefined") {
3005
  var fonts_option = "";
3113
  return true;
3114
  }
3115
  return false;
3116
+ }
3117
+
3118
+ function wds_tooltip() {
3119
+ if (typeof jQuery().tooltip !== 'undefined') {
3120
+ if (jQuery.isFunction(jQuery().tooltip)) {
3121
+ jQuery(".wds_tooltip").tooltip({
3122
+ track: true,
3123
+ content: function () {
3124
+ return jQuery(this).prop('title');
3125
+ }
3126
+ });
3127
+ }
3128
+ }
3129
  }
licensing/licensing.php CHANGED
@@ -80,15 +80,6 @@
80
  <span class="yes"></span>
81
  </div>
82
  </div>
83
- <div class="wds_pro_container">
84
- <a class="wds_pro_link wds_pro_text" target="_blank" href="https://web-dorado.com/files/fromslider.php">
85
- <?php
86
- $text = strtoupper(__('Upgrade to paid version', 'wds'));
87
- ?>
88
- <span><?php echo $text; ?></span>
89
- <img class="wds_pro_image" alt="web-dorado.com" title="<?php echo $text; ?>" src="<?php echo WD_S_URL . '/images/wd_logo.png?v2'; ?>"" />
90
- </a>
91
- </div>
92
  <div style="float: left; clear: both;">
93
  <p>After purchasing the commercial version follow these steps:</p>
94
  <ol>
80
  <span class="yes"></span>
81
  </div>
82
  </div>
 
 
 
 
 
 
 
 
 
83
  <div style="float: left; clear: both;">
84
  <p>After purchasing the commercial version follow these steps:</p>
85
  <ol>
readme.txt CHANGED
@@ -1,23 +1,25 @@
1
- === Slider ===
2
  Contributors: webdorado
3
  Donate link: https://web-dorado.com/products/wordpress-slider-plugin.html
4
- Tags: easy slider, gallery slider, image slider, images slider, Photo Slider, post slider, responsive slider, slider, slider plugin, video slider, wordpress slider, youtube slider
5
  Requires at least: 3.4
6
  Tested up to: 4.7
7
- Stable tag: 1.1.74
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- Slider WD plugin is the perfect slider solution for Wordpress. Create a great responsive slider with Slider WD.
12
 
13
  == Description ==
14
 
 
 
 
 
15
  Slider WD WordPress Plugin
16
 
17
  Create responsive, highly configurable sliders with various effects for your WordPress site. Download for FREE!
18
 
19
- https://www.youtube.com/watch?v=xebpM_-GwG0&index=1&list=PLnxWPiY5tLFWQf5XaEYYPZj0gdggUrVxP
20
-
21
  [WordPress Slider Plugin](http://web-dorado.com/products/wordpress-slider-plugin.html)
22
  [Demo](http://wpdemo.web-dorado.com/slider/)
23
  [Demo Admin](http://wpdemo.web-dorado.com/wp-admin/admin.php?page=sliders_wds)
@@ -125,6 +127,12 @@ After downloading the ZIP file of the slider plugin,
125
 
126
  == Changelog ==
127
 
 
 
 
 
 
 
128
  = 1.1.74 =
129
  * Added: Default options for layers.
130
  * Added: Overview page.
1
+ === Slider by WD – Responsive Slider for WordPress ===
2
  Contributors: webdorado
3
  Donate link: https://web-dorado.com/products/wordpress-slider-plugin.html
4
+ Tags: responsive slider, slider, slideshow, wordpress slider, image slider, gallery slider, images slider, Photo Slider, post slider, slider plugin, video slider, youtube slider
5
  Requires at least: 3.4
6
  Tested up to: 4.7
7
+ Stable tag: 1.1.76
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ Slider WD plugin is the perfect slider solution for Wordpress. Create a great responsive slideshow with Slider WD.
12
 
13
  == Description ==
14
 
15
+ = Slider WD =
16
+
17
+ https://www.youtube.com/watch?v=xebpM_-GwG0&index=1&list=PLnxWPiY5tLFWQf5XaEYYPZj0gdggUrVxP
18
+
19
  Slider WD WordPress Plugin
20
 
21
  Create responsive, highly configurable sliders with various effects for your WordPress site. Download for FREE!
22
 
 
 
23
  [WordPress Slider Plugin](http://web-dorado.com/products/wordpress-slider-plugin.html)
24
  [Demo](http://wpdemo.web-dorado.com/slider/)
25
  [Demo Admin](http://wpdemo.web-dorado.com/wp-admin/admin.php?page=sliders_wds)
127
 
128
  == Changelog ==
129
 
130
+ = 1.1.76 =
131
+ * Added: Support forum link.
132
+
133
+ = 1.1.75 =
134
+ * Improved: Fonts.
135
+
136
  = 1.1.74 =
137
  * Added: Default options for layers.
138
  * Added: Overview page.
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.1.74
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -14,7 +14,7 @@ define('WD_S_NAME', plugin_basename(dirname(__FILE__)));
14
  define('WD_S_DIR', WP_PLUGIN_DIR . "/" . WD_S_NAME);
15
  define('WD_S_URL', plugins_url(WD_S_NAME));
16
 
17
- define('WD_S_VERSION', '1.1.74');
18
 
19
  function wds_use_home_url() {
20
  $home_url = str_replace("http://", "", home_url());
@@ -520,6 +520,7 @@ function wds_scripts() {
520
  require_once(WD_S_DIR . '/framework/WDW_S_Library.php');
521
  wp_localize_script('wds_admin', 'wds_object', array(
522
  "GGF" => WDW_S_Library::get_google_fonts(),
 
523
  "LDO" => $global_options,
524
  ));
525
 
@@ -687,4 +688,116 @@ function wds_overview() {
687
  dorado_web_init($wds_options);
688
  }
689
  }
690
- add_action('init', 'wds_overview');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.1.76
8
  * Author: WebDorado
9
  * Author URI: https://web-dorado.com/
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
14
  define('WD_S_DIR', WP_PLUGIN_DIR . "/" . WD_S_NAME);
15
  define('WD_S_URL', plugins_url(WD_S_NAME));
16
 
17
+ define('WD_S_VERSION', '1.1.76');
18
 
19
  function wds_use_home_url() {
20
  $home_url = str_replace("http://", "", home_url());
520
  require_once(WD_S_DIR . '/framework/WDW_S_Library.php');
521
  wp_localize_script('wds_admin', 'wds_object', array(
522
  "GGF" => WDW_S_Library::get_google_fonts(),
523
+ "FGF" => WDW_S_Library::get_font_families(),
524
  "LDO" => $global_options,
525
  ));
526
 
688
  dorado_web_init($wds_options);
689
  }
690
  }
691
+ add_action('init', 'wds_overview');
692
+
693
+ function wds_topic() {
694
+ $page = isset($_GET['page']) ? $_GET['page'] : '';
695
+ $user_guide_link = 'https://web-dorado.com/wordpress-slider-wd/';
696
+ $support_forum_link = 'https://wordpress.org/support/plugin/slider-wd';
697
+ $pro_link = 'https://web-dorado.com/files/fromslider.php';
698
+ $support_icon = WD_S_URL . '/images/support.png';
699
+ $prefix = 'wds';
700
+ $is_free = TRUE;
701
+ switch ($page) {
702
+ case 'sliders_wds': {
703
+ $help_text = 'create, edit and delete sliders';
704
+ $user_guide_link .= 'adding-images.html';
705
+ break;
706
+ }
707
+ case 'goptions_wds': {
708
+ $help_text = 'edit global options for sliders';
709
+ $user_guide_link .= 'adding-images.html';
710
+ break;
711
+ }
712
+ case 'licensing_wds': {
713
+ $help_text = '';
714
+ $user_guide_link .= 'adding-images.html';
715
+ break;
716
+ }
717
+ default: {
718
+ return '';
719
+ break;
720
+ }
721
+ }
722
+ ob_start();
723
+ ?>
724
+ <style>
725
+ .wd_topic {
726
+ background-color: #ffffff;
727
+ box-sizing: border-box;
728
+ clear: both;
729
+ color: #6e7990;
730
+ float: left;
731
+ font-size: 14px;
732
+ font-weight: bold;
733
+ line-height: 30px;
734
+ padding: 10px 15px;
735
+ vertical-align: middle;
736
+ width: 98%;
737
+ }
738
+ .wd_topic .wd_help_topic {
739
+ float: left;
740
+ }
741
+ .wd_topic .wd_help_topic a {
742
+ color: #0073aa;
743
+ }
744
+ .wd_topic .wd_help_topic a:hover {
745
+ color: #00A0D2;
746
+ }
747
+ .wd_topic .wd_support {
748
+ float: right;
749
+ margin: 0 10px;
750
+ }
751
+ .wd_topic .wd_support img {
752
+ vertical-align: middle;
753
+ }
754
+ .wd_topic .wd_support a {
755
+ text-decoration: none;
756
+ color: #6E7990;
757
+ }
758
+ .wd_topic .wd_pro {
759
+ float: right;
760
+ background-color: #45A6B7;
761
+ padding: 0 10px;
762
+ }
763
+ .wd_topic .wd_pro a {
764
+ border: none;
765
+ box-shadow: none !important;
766
+ color: #FFFFFF;
767
+ text-decoration: none;
768
+ }
769
+ </style>
770
+ <div class="wd_topic">
771
+ <?php
772
+ if ($help_text) {
773
+ ?>
774
+ <span class="wd_help_topic">
775
+ <?php echo sprintf(__('This section allows you to %s.', $prefix), $help_text); ?>
776
+ <a target="_blank" href="<?php echo $user_guide_link; ?>">
777
+ <?php _e('Read More in User Manual', $prefix); ?>
778
+ </a>
779
+ </span>
780
+ <?php
781
+ }
782
+ if ($is_free) {
783
+ $text = strtoupper(__('Upgrade to paid version', $prefix));
784
+ ?>
785
+ <span class="wd_pro">
786
+ <a target="_blank" href="<?php echo $pro_link; ?>">
787
+ <span><?php echo $text; ?></span>
788
+ </a>
789
+ </span>
790
+ <?php
791
+ }
792
+ ?>
793
+ <span class="wd_support">
794
+ <a target="_blank" href="<?php echo $support_forum_link; ?>">
795
+ <img src="<?php echo $support_icon; ?>" />
796
+ <?php _e('Support Forum', $prefix); ?>
797
+ </a>
798
+ </span>
799
+ </div>
800
+ <?php
801
+ echo ob_get_clean();
802
+ }
803
+ add_action('admin_notices', 'wds_topic');