Featured Image From URL - Version 2.4.6

Version Description

  • Bug fix: lazy load.
Download this release

Release Info

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

Code changes from version 2.4.5 to 2.4.6

admin/html/menu.html CHANGED
@@ -1691,10 +1691,11 @@
1691
  <ul>
1692
  <li><a href="#tabs-1">Endpoints</a></li>
1693
  <li><a href="#tabs-2">Custom Fields</a></li>
1694
- <li><a href="#tabs-3">Creating your first product...</a></li>
1695
- <li><a href="#tabs-6">product category...</a></li>
1696
- <li><a href="#tabs-4">product variation...</a></li>
1697
- <li><a href="#tabs-5">post...</a></li>
 
1698
  </ul>
1699
  <div id="tabs-1">
1700
  <table style="text-align:left">
@@ -1874,6 +1875,13 @@
1874
 
1875
  </div>
1876
 
 
 
 
 
 
 
 
1877
  </div>
1878
 
1879
  </div>
1691
  <ul>
1692
  <li><a href="#tabs-1">Endpoints</a></li>
1693
  <li><a href="#tabs-2">Custom Fields</a></li>
1694
+ <li><a href="#tabs-3">Creating your first product</a></li>
1695
+ <li><a href="#tabs-6">product category</a></li>
1696
+ <li><a href="#tabs-7">product variable</a></li>
1697
+ <li><a href="#tabs-4">product variation</a></li>
1698
+ <li><a href="#tabs-5">post</a></li>
1699
  </ul>
1700
  <div id="tabs-1">
1701
  <table style="text-align:left">
1875
 
1876
  </div>
1877
 
1878
+ <div id="tabs-7">
1879
+
1880
+ <iframe src="<?php echo plugins_url()?>/featured-image-from-url/admin/html/txt/product-variable.txt"
1881
+ width="800px" height="550px" ></iframe>
1882
+
1883
+ </div>
1884
+
1885
  </div>
1886
 
1887
  </div>
admin/html/txt/product-variable.txt ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "Avengers",
3
+ "type": "variable",
4
+ "meta_data": [
5
+ {
6
+ "key": "fifu_list_url",
7
+ "value": "https://farm5.staticflickr.com/4411/36159714680_cc552f124f_q.jpg|https://farm5.staticflickr.com/4415/36510266406_ee630f55e7_q.jpg|https://farm5.staticflickr.com/4415/35747392283_e685519b88_q.jpg"
8
+ },
9
+ {
10
+ "key": "fifu_list_alt",
11
+ "value": "avengers|iron man|hulk"
12
+ }
13
+ ],
14
+ "attributes": [
15
+ {
16
+ "name": "Color",
17
+ "visible": true,
18
+ "variation": true,
19
+ "options": [
20
+ "Black",
21
+ "Red"
22
+ ]
23
+ },
24
+ {
25
+ "name": "Size",
26
+ "visible": true,
27
+ "variation": true,
28
+ "options": [
29
+ "Big",
30
+ "Small"
31
+ ]
32
+ }
33
+ ]
34
+ }
featured-image-from-url.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Featured Image from URL
5
  * Plugin URI: https://featuredimagefromurl.com/
6
  * 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.
7
- * Version: 2.4.5
8
  * Author: Marcel Jacques Machado
9
  * Author URI: https://www.linkedin.com/in/marceljm/
10
  */
@@ -59,7 +59,7 @@ add_filter('network_admin_plugin_action_links_' . plugin_basename(__FILE__), 'fi
59
  function fifu_action_links($links) {
60
  $links[] = '<a href="' . esc_url(get_admin_url(null, 'admin.php?page=featured-image-from-url')) . '">Settings</a>';
61
  $links[] = '<a style="color:black">Support Email:</a>';
62
- $links[] = '<br><center style="width:90%;color:white;background-color:#02a0d2;border-radius:0px 30px">marcel@featuredimagefromurl.com</center>';
63
  return $links;
64
  }
65
 
4
  * Plugin Name: Featured Image from URL
5
  * Plugin URI: https://featuredimagefromurl.com/
6
  * 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.
7
+ * Version: 2.4.6
8
  * Author: Marcel Jacques Machado
9
  * Author URI: https://www.linkedin.com/in/marceljm/
10
  */
59
  function fifu_action_links($links) {
60
  $links[] = '<a href="' . esc_url(get_admin_url(null, 'admin.php?page=featured-image-from-url')) . '">Settings</a>';
61
  $links[] = '<a style="color:black">Support Email:</a>';
62
+ $links[] = '<br><center style="width:275px;color:white;background-color:#02a0d2;border-radius:0px 30px">marcel@featuredimagefromurl.com</center>';
63
  return $links;
64
  }
65
 
includes/thumbnail.php CHANGED
@@ -6,10 +6,9 @@ add_filter('wp_head', 'fifu_apply_css');
6
 
7
  function fifu_add_js() {
8
  if (fifu_is_on('fifu_lazy')) {
9
- wp_enqueue_style('lazyload-spinner', 'https://cdnjs.cloudflare.com/ajax/libs/jquery.lazyloadxt/1.1.0/jquery.lazyloadxt.spinner.min.css');
10
  wp_enqueue_script('lazyload', 'https://cdnjs.cloudflare.com/ajax/libs/jquery.lazyloadxt/1.1.0/jquery.lazyloadxt.min.js');
11
- wp_enqueue_script('lazyload-extra', 'https://cdnjs.cloudflare.com/ajax/libs/jquery.lazyloadxt/1.1.0/jquery.lazyloadxt.extra.min.js');
12
  wp_enqueue_script('lazyload-srcset', 'https://cdnjs.cloudflare.com/ajax/libs/jquery.lazyloadxt/1.1.0/jquery.lazyloadxt.srcset.min.js');
 
13
  }
14
  include 'html/script.html';
15
  }
6
 
7
  function fifu_add_js() {
8
  if (fifu_is_on('fifu_lazy')) {
 
9
  wp_enqueue_script('lazyload', 'https://cdnjs.cloudflare.com/ajax/libs/jquery.lazyloadxt/1.1.0/jquery.lazyloadxt.min.js');
 
10
  wp_enqueue_script('lazyload-srcset', 'https://cdnjs.cloudflare.com/ajax/libs/jquery.lazyloadxt/1.1.0/jquery.lazyloadxt.srcset.min.js');
11
+ wp_enqueue_style('lazyload-spinner', 'https://cdnjs.cloudflare.com/ajax/libs/jquery.lazyloadxt/1.1.0/jquery.lazyloadxt.spinner.min.css');
12
  }
13
  include 'html/script.html';
14
  }
readme.txt CHANGED
@@ -157,6 +157,9 @@ Features:
157
 
158
  == Changelog ==
159
 
 
 
 
160
  = 2.4.5 =
161
  * Bug fix: undefined function error for PHP5 users.
162
 
@@ -562,6 +565,9 @@ was removed. To finish, a Premium version is now been presented.
562
 
563
  == Upgrade Notice ==
564
 
 
 
 
565
  = 2.4.5 =
566
  * Bug fix: undefined function error for PHP5 users.
567
 
157
 
158
  == Changelog ==
159
 
160
+ = 2.4.6 =
161
+ * Bug fix: lazy load.
162
+
163
  = 2.4.5 =
164
  * Bug fix: undefined function error for PHP5 users.
165
 
565
 
566
  == Upgrade Notice ==
567
 
568
+ = 2.4.6 =
569
+ * Bug fix: lazy load.
570
+
571
  = 2.4.5 =
572
  * Bug fix: undefined function error for PHP5 users.
573