Featured Image From URL - Version 1.7.3

Version Description

  • Bug fix.

=

Download this release

Release Info

Developer marceljm
Plugin Icon 128x128 Featured Image From URL
Version 1.7.3
Comparing to
See all releases

Code changes from version 1.7.2 to 1.7.3

admin/html/menu.html CHANGED
@@ -35,7 +35,7 @@
35
  onclick="invert('get_first')"
36
  name="fifu_toggle_get_first"
37
  class="<?php echo $enable_get_first; ?>"
38
- value=" " style="display:block">
39
 
40
  <input
41
  type="hidden"
@@ -61,7 +61,7 @@
61
  onclick="invert('pop_first')"
62
  name="fifu_toggle_pop_first"
63
  class="<?php echo $enable_pop_first; ?>"
64
- value=" " style="display:block">
65
 
66
  <input
67
  type="hidden"
@@ -87,7 +87,7 @@
87
  onclick="invert('ovw_first')"
88
  name="fifu_toggle_ovw_first"
89
  class="<?php echo $enable_ovw_first; ?>"
90
- value=" " style="display:block">
91
 
92
  <input
93
  type="hidden"
@@ -116,7 +116,7 @@
116
  <table style="text-align:left">
117
  <tr>
118
  <th>
119
- <input type="text" value=" " style="width:35px">
120
  <input type="submit" value="OK" >
121
  </th>
122
  <th>
@@ -129,7 +129,7 @@
129
  type="image"
130
  href="javascript:void(0)"
131
  class="toggleoff"
132
- value=" "
133
  style="display:block">
134
  </th>
135
  <th>
@@ -142,7 +142,7 @@
142
  type="image"
143
  href="javascript:void(0)"
144
  class="toggleoff"
145
- value=" "
146
  style="display:block">
147
  </th>
148
  <th>
@@ -169,7 +169,7 @@
169
  type="image"
170
  href="javascript:void(0)"
171
  class="toggleoff"
172
- value=" "
173
  style="display:block">
174
  </th>
175
  <th>
@@ -216,7 +216,7 @@
216
  onclick="invert('fake')"
217
  name="fifu_toggle_fake"
218
  class="<?php echo $enable_fake; ?>"
219
- value=" "
220
  style="display:block" >
221
  <input
222
  type="hidden"
@@ -258,7 +258,7 @@
258
  onclick="invert('content')"
259
  name="fifu_toggle_content"
260
  class="<?php echo $enable_content; ?>"
261
- value=" "
262
  style="display:block">
263
  <input
264
  type="hidden"
@@ -288,7 +288,7 @@
288
  onclick="invert('hide_page')"
289
  name="fifu_toggle_hide_page"
290
  class="<?php echo $enable_hide_page; ?>"
291
- value=" " style="display:block">
292
 
293
  <input
294
  type="hidden"
@@ -314,7 +314,7 @@
314
  onclick="invert('hide_post')"
315
  name="fifu_toggle_hide_post"
316
  class="<?php echo $enable_hide_post; ?>"
317
- value=" " style="display:block">
318
 
319
  <input
320
  type="hidden"
@@ -347,7 +347,7 @@
347
  onclick="invert('lazy')"
348
  name="fifu_toggle_lazy"
349
  class="<?php echo $enable_lazy; ?>"
350
- value=" "
351
  style="display:block">
352
  <input
353
  type="hidden"
@@ -374,7 +374,7 @@
374
  onclick="invert('social')"
375
  name="fifu_toggle_social"
376
  class="<?php echo $enable_social; ?>"
377
- value=" "
378
  style="display:block">
379
  <input
380
  type="hidden"
@@ -402,7 +402,7 @@
402
  onclick="invert('woocommerce')"
403
  name="fifu_toggle_woocommerce"
404
  class="<?php echo $enable_woocommerce; ?>"
405
- value=" "
406
  style="display:block">
407
  <input
408
  type="hidden"
@@ -433,7 +433,7 @@
433
  onclick="invert('wc_lbox')"
434
  name="fifu_toggle_wc_lbox"
435
  class="<?php echo $enable_wc_lbox; ?>"
436
- value=" "
437
  style="display:block">
438
 
439
  <input
@@ -460,7 +460,7 @@
460
  onclick="invert('wc_zoom')"
461
  name="fifu_toggle_wc_zoom"
462
  class="<?php echo $enable_wc_zoom; ?>"
463
- value=" "
464
  style="display:block">
465
 
466
  <input
@@ -971,7 +971,7 @@
971
  onclick="invert('woocommerce')"
972
  name="fifu_toggle_woocommerce"
973
  class="<?php echo $enable_woocommerce; ?>"
974
- value=" "
975
  style="display:block">
976
 
977
  <input
@@ -996,7 +996,7 @@
996
  id="fifu_toggle_slider_fade"
997
  name="fifu_toggle_slider_fade"
998
  class="toggleoff"
999
- value=" " style="display:block">
1000
  </th>
1001
  <th>
1002
  fade effect
@@ -1010,7 +1010,7 @@
1010
  id="fifu_toggle_slider_stop"
1011
  name="fifu_toggle_slider_stop"
1012
  class="toggleoff"
1013
- value=" " style="display:block">
1014
  </th>
1015
  <th>
1016
  pause autoplay on hover
@@ -1024,7 +1024,7 @@
1024
  id="fifu_toggle_slider_ctrl"
1025
  name="fifu_toggle_slider_ctrl"
1026
  class="toggleoff"
1027
- value=" " style="display:block">
1028
  </th>
1029
  <th>
1030
  show prev/next buttons
@@ -1038,7 +1038,7 @@
1038
  id="fifu_toggle_slider_auto"
1039
  name="fifu_toggle_slider_auto"
1040
  class="toggleoff"
1041
- value=" " style="display:block">
1042
  </th>
1043
  <th>
1044
  start to play automatically
@@ -1083,7 +1083,7 @@
1083
  type="image"
1084
  href="javascript:void(0)"
1085
  class="toggleoff"
1086
- value=" " style="display:block">
1087
  </div>
1088
 
1089
  <div class="box">
@@ -1100,7 +1100,7 @@
1100
  type="image"
1101
  href="javascript:void(0)"
1102
  class="toggleoff"
1103
- value=" "
1104
  style="display:block">
1105
  </th>
1106
  <th>
@@ -1113,7 +1113,7 @@
1113
  type="image"
1114
  href="javascript:void(0)"
1115
  class="toggleoff"
1116
- value=" "
1117
  style="display:block">
1118
  </th>
1119
  <th>
@@ -1133,7 +1133,7 @@
1133
  type="image"
1134
  href="javascript:void(0)"
1135
  class="toggleoff"
1136
- value=" "
1137
  style="display:block">
1138
  </form>
1139
  </div>
35
  onclick="invert('get_first')"
36
  name="fifu_toggle_get_first"
37
  class="<?php echo $enable_get_first; ?>"
38
+ value="" style="display:block">
39
 
40
  <input
41
  type="hidden"
61
  onclick="invert('pop_first')"
62
  name="fifu_toggle_pop_first"
63
  class="<?php echo $enable_pop_first; ?>"
64
+ value="" style="display:block">
65
 
66
  <input
67
  type="hidden"
87
  onclick="invert('ovw_first')"
88
  name="fifu_toggle_ovw_first"
89
  class="<?php echo $enable_ovw_first; ?>"
90
+ value="" style="display:block">
91
 
92
  <input
93
  type="hidden"
116
  <table style="text-align:left">
117
  <tr>
118
  <th>
119
+ <input type="text" value="" style="width:35px">
120
  <input type="submit" value="OK" >
121
  </th>
122
  <th>
129
  type="image"
130
  href="javascript:void(0)"
131
  class="toggleoff"
132
+ value=""
133
  style="display:block">
134
  </th>
135
  <th>
142
  type="image"
143
  href="javascript:void(0)"
144
  class="toggleoff"
145
+ value=""
146
  style="display:block">
147
  </th>
148
  <th>
169
  type="image"
170
  href="javascript:void(0)"
171
  class="toggleoff"
172
+ value=""
173
  style="display:block">
174
  </th>
175
  <th>
216
  onclick="invert('fake')"
217
  name="fifu_toggle_fake"
218
  class="<?php echo $enable_fake; ?>"
219
+ value=""
220
  style="display:block" >
221
  <input
222
  type="hidden"
258
  onclick="invert('content')"
259
  name="fifu_toggle_content"
260
  class="<?php echo $enable_content; ?>"
261
+ value=""
262
  style="display:block">
263
  <input
264
  type="hidden"
288
  onclick="invert('hide_page')"
289
  name="fifu_toggle_hide_page"
290
  class="<?php echo $enable_hide_page; ?>"
291
+ value="" style="display:block">
292
 
293
  <input
294
  type="hidden"
314
  onclick="invert('hide_post')"
315
  name="fifu_toggle_hide_post"
316
  class="<?php echo $enable_hide_post; ?>"
317
+ value="" style="display:block">
318
 
319
  <input
320
  type="hidden"
347
  onclick="invert('lazy')"
348
  name="fifu_toggle_lazy"
349
  class="<?php echo $enable_lazy; ?>"
350
+ value=""
351
  style="display:block">
352
  <input
353
  type="hidden"
374
  onclick="invert('social')"
375
  name="fifu_toggle_social"
376
  class="<?php echo $enable_social; ?>"
377
+ value=""
378
  style="display:block">
379
  <input
380
  type="hidden"
402
  onclick="invert('woocommerce')"
403
  name="fifu_toggle_woocommerce"
404
  class="<?php echo $enable_woocommerce; ?>"
405
+ value=""
406
  style="display:block">
407
  <input
408
  type="hidden"
433
  onclick="invert('wc_lbox')"
434
  name="fifu_toggle_wc_lbox"
435
  class="<?php echo $enable_wc_lbox; ?>"
436
+ value=""
437
  style="display:block">
438
 
439
  <input
460
  onclick="invert('wc_zoom')"
461
  name="fifu_toggle_wc_zoom"
462
  class="<?php echo $enable_wc_zoom; ?>"
463
+ value=""
464
  style="display:block">
465
 
466
  <input
971
  onclick="invert('woocommerce')"
972
  name="fifu_toggle_woocommerce"
973
  class="<?php echo $enable_woocommerce; ?>"
974
+ value=""
975
  style="display:block">
976
 
977
  <input
996
  id="fifu_toggle_slider_fade"
997
  name="fifu_toggle_slider_fade"
998
  class="toggleoff"
999
+ value="" style="display:block">
1000
  </th>
1001
  <th>
1002
  fade effect
1010
  id="fifu_toggle_slider_stop"
1011
  name="fifu_toggle_slider_stop"
1012
  class="toggleoff"
1013
+ value="" style="display:block">
1014
  </th>
1015
  <th>
1016
  pause autoplay on hover
1024
  id="fifu_toggle_slider_ctrl"
1025
  name="fifu_toggle_slider_ctrl"
1026
  class="toggleoff"
1027
+ value="" style="display:block">
1028
  </th>
1029
  <th>
1030
  show prev/next buttons
1038
  id="fifu_toggle_slider_auto"
1039
  name="fifu_toggle_slider_auto"
1040
  class="toggleoff"
1041
+ value="" style="display:block">
1042
  </th>
1043
  <th>
1044
  start to play automatically
1083
  type="image"
1084
  href="javascript:void(0)"
1085
  class="toggleoff"
1086
+ value="" style="display:block">
1087
  </div>
1088
 
1089
  <div class="box">
1100
  type="image"
1101
  href="javascript:void(0)"
1102
  class="toggleoff"
1103
+ value=""
1104
  style="display:block">
1105
  </th>
1106
  <th>
1113
  type="image"
1114
  href="javascript:void(0)"
1115
  class="toggleoff"
1116
+ value=""
1117
  style="display:block">
1118
  </th>
1119
  <th>
1133
  type="image"
1134
  href="javascript:void(0)"
1135
  class="toggleoff"
1136
+ value=""
1137
  style="display:block">
1138
  </form>
1139
  </div>
featured-image-from-url.php CHANGED
@@ -3,14 +3,14 @@
3
  /*
4
  * Plugin Name: Featured Image From URL
5
  * Description: Use an external image as Featured Image of your post/page/custom post type (WooCommerce). Includes Auto Set (External Post), Product Gallery, Social Tags and more.
6
- * Version: 1.7.2
7
  * Author: Marcel Jacques Machado
8
  * Author URI: http://featuredimagefromurl.com/
9
  */
10
 
11
  define('FIFU_PLUGIN_DIR', plugin_dir_path(__FILE__));
12
- define('FIFU_INCLUDES_DIR', FIFU_PLUGIN_DIR . '/includes');
13
- define('FIFU_ADMIN_DIR', FIFU_PLUGIN_DIR . '/admin');
14
 
15
  require_once( FIFU_INCLUDES_DIR . '/thumbnail.php' );
16
  require_once( FIFU_INCLUDES_DIR . '/thumbnail-category.php' );
3
  /*
4
  * Plugin Name: Featured Image From URL
5
  * Description: Use an external image as Featured Image of your post/page/custom post type (WooCommerce). Includes Auto Set (External Post), Product Gallery, Social Tags and more.
6
+ * Version: 1.7.3
7
  * Author: Marcel Jacques Machado
8
  * Author URI: http://featuredimagefromurl.com/
9
  */
10
 
11
  define('FIFU_PLUGIN_DIR', plugin_dir_path(__FILE__));
12
+ define('FIFU_INCLUDES_DIR', FIFU_PLUGIN_DIR . 'includes');
13
+ define('FIFU_ADMIN_DIR', FIFU_PLUGIN_DIR . 'admin');
14
 
15
  require_once( FIFU_INCLUDES_DIR . '/thumbnail.php' );
16
  require_once( FIFU_INCLUDES_DIR . '/thumbnail-category.php' );
includes/html/script.html CHANGED
@@ -1,4 +1,3 @@
1
  <style><?php include 'css/woo.css' ?></style>
2
 
3
  <script><?php include 'js/image.js' ?></script>
4
- <script><?php include 'js/jquery.lazyloadxt.extra.js' ?></script>
1
  <style><?php include 'css/woo.css' ?></style>
2
 
3
  <script><?php include 'js/image.js' ?></script>
 
includes/thumbnail.php CHANGED
@@ -6,6 +6,8 @@ add_filter('wp_head', 'fifu_add_sirv_js');
6
  add_filter('wp_head', 'fifu_apply_css');
7
 
8
  function fifu_add_js() {
 
 
9
  include 'html/script.html';
10
  }
11
 
6
  add_filter('wp_head', 'fifu_apply_css');
7
 
8
  function fifu_add_js() {
9
+ wp_register_script('lazyload', plugins_url('/html/js/jquery.lazyloadxt.extra.js', __FILE__), array('jquery'));
10
+ wp_enqueue_script('lazyload');
11
  include 'html/script.html';
12
  }
13
 
readme.txt CHANGED
@@ -325,6 +325,9 @@ was removed. To finish, a Premium version is now been presented.
325
  = 1.7.2 =
326
  * Disable product lightbox and zoom.
327
 
 
 
 
328
  == Upgrade Notice ==
329
 
330
  = 1.0 =
@@ -497,4 +500,7 @@ was removed. To finish, a Premium version is now been presented.
497
  * Crop all external featured images to the same size.
498
 
499
  = 1.7.2 =
500
- * Disable product lightbox and zoom.
 
 
 
325
  = 1.7.2 =
326
  * Disable product lightbox and zoom.
327
 
328
+ = 1.7.3 =
329
+ * Bug fix.
330
+
331
  == Upgrade Notice ==
332
 
333
  = 1.0 =
500
  * Crop all external featured images to the same size.
501
 
502
  = 1.7.2 =
503
+ * Disable product lightbox and zoom.
504
+
505
+ = 1.7.3 =
506
+ * Bug fix.