Featured Image From URL - Version 2.8.1

Version Description

  • New: WooCommerce product variations have Image Gallery from URL fields now, used with WooCommerce Additional Variation Images plugin (by WooCommerce).
Download this release

Release Info

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

Code changes from version 2.8.0 to 2.8.1

admin/html/menu.html CHANGED
@@ -21,7 +21,7 @@
21
  <li><a href="#tabs-o"><i class="fas fa-shopping-cart"></i> WooCommerce</a></li>
22
  <li><a href="#tabs-p"><i class="fas fa-redo"></i> WP All Import</a></li>
23
  <li><a href="#tabs-t"><i class="fas fa-info-circle"></i> Troubleshooting</a></li>
24
- <li><a href="#tabs-a"><i class="fas fa-star"></i> Premium version <b style="display:none;border-radius:2px;padding:3px;background-color:#32373c;color:white">20%OFF</b></a></li>
25
  <br>
26
  <br>
27
  <div id="tabs-a">
@@ -2569,13 +2569,13 @@
2569
  </div>
2570
  <div id="tabs-d">
2571
  <div class="box">
2572
- <h2>Fast Support</h2>
2573
  <div class="greybox">
2574
  If you need any help, you can refer to <a href="https://wordpress.org/plugins/featured-image-from-url/screenshots/" target="_blank">screenshots</a> or send an email to <b>marcel@featuredimagefromurl.com</b> (send me this <a href="admin.php?page=fifu-support-data"><button id="opener" onclick="jQuery('.wrap').block({message: 'Please wait some seconds...', css: {backgroundColor: 'none', border: 'none', color: 'white'}});">data</button></a>, please).
2575
  </div>
2576
  </div>
2577
  <div class="box">
2578
- <h2><a class="dbox-donation-button" style="background: #2d81c5;color: #fff;text-decoration: none;display: inline-block;font-size: 16px;padding: 2px 17px;-webkit-border-radius: 2px;-moz-border-radius: 2px;border-radius: 2px;box-shadow: 0px 0px 0px 0px #1f5a89;text-shadow: 0 1px rgba(0, 0, 0, 0.3);" href="https://donorbox.org/fifu" target="_blank">Donate </a> $ 1 to take this project to the next level <span class="dashicons dashicons-info" style="font-size: 25px;" title="Pay with a Card, Apple Pay, Google Pay, Stripe, PayPal and more. No account required."></span></h2>
2579
  <div class="greybox">
2580
  <a href="https://www.linkedin.com/in/marceljm/" target="_blank"><img src="https://avatars0.githubusercontent.com/u/10578419?s=460&v=4" style="border-radius:100%;width:8.5%;float:left"></a>
2581
  <div style="position:relative;left:10px">Hi, I'm Marcel, Software Engineer and Featured Image from URL author, a project 100% developed in my free time. During the last 4 years I did my best to develop all requested features, integrations, improvements and bug fixes. And <b>thanks to FIFU you keep saving money on storage, processing and copyright</b>. However, with so many users (100,000+ active installs in 2020), it's becoming increasingly difficult to help everyone. Important performance and automation features aren't done yet while frequent updates are required to keep this plugin working with the most current WordPress components. So please become a sponsor and help me to take FIFU to the next level!</div>
21
  <li><a href="#tabs-o"><i class="fas fa-shopping-cart"></i> WooCommerce</a></li>
22
  <li><a href="#tabs-p"><i class="fas fa-redo"></i> WP All Import</a></li>
23
  <li><a href="#tabs-t"><i class="fas fa-info-circle"></i> Troubleshooting</a></li>
24
+ <li><a href="#tabs-a"><i class="fas fa-credit-card"></i> Premium version <b style="border-radius:2px;padding:3px;background-color:#32373c;color:white">Stripe | PayPal</b></a></li>
25
  <br>
26
  <br>
27
  <div id="tabs-a">
2569
  </div>
2570
  <div id="tabs-d">
2571
  <div class="box">
2572
+ <h2>Fast Support / suggestions</h2>
2573
  <div class="greybox">
2574
  If you need any help, you can refer to <a href="https://wordpress.org/plugins/featured-image-from-url/screenshots/" target="_blank">screenshots</a> or send an email to <b>marcel@featuredimagefromurl.com</b> (send me this <a href="admin.php?page=fifu-support-data"><button id="opener" onclick="jQuery('.wrap').block({message: 'Please wait some seconds...', css: {backgroundColor: 'none', border: 'none', color: 'white'}});">data</button></a>, please).
2575
  </div>
2576
  </div>
2577
  <div class="box">
2578
+ <h2><a class="dbox-donation-button" style="background: #2d81c5;color: #fff;text-decoration: none;display: inline-block;font-size: 16px;padding: 2px 17px;-webkit-border-radius: 2px;-moz-border-radius: 2px;border-radius: 2px;box-shadow: 0px 0px 0px 0px #1f5a89;text-shadow: 0 1px rgba(0, 0, 0, 0.3);" href="https://donorbox.org/fifu" target="_blank">Donate </a> $ 1 to take this project to the next level <span class="dashicons dashicons-info" style="font-size: 25px;" title="Donate with a Card, Apple Pay, Google Pay, Stripe, PayPal and more. No account required."></span></h2>
2579
  <div class="greybox">
2580
  <a href="https://www.linkedin.com/in/marceljm/" target="_blank"><img src="https://avatars0.githubusercontent.com/u/10578419?s=460&v=4" style="border-radius:100%;width:8.5%;float:left"></a>
2581
  <div style="position:relative;left:10px">Hi, I'm Marcel, Software Engineer and Featured Image from URL author, a project 100% developed in my free time. During the last 4 years I did my best to develop all requested features, integrations, improvements and bug fixes. And <b>thanks to FIFU you keep saving money on storage, processing and copyright</b>. However, with so many users (100,000+ active installs in 2020), it's becoming increasingly difficult to help everyone. Important performance and automation features aren't done yet while frequent updates are required to keep this plugin working with the most current WordPress components. So please become a sponsor and help me to take FIFU to the next level!</div>
admin/meta-box.php CHANGED
@@ -233,6 +233,7 @@ function fifu_is_aliplugin_active() {
233
  add_action('woocommerce_product_after_variable_attributes', 'fifu_variation_settings_fields', 10, 3);
234
 
235
  function fifu_variation_settings_fields($loop, $variation_data, $variation) {
 
236
  woocommerce_wp_text_input(
237
  array(
238
  'id' => "fifu_image_url{$loop}",
@@ -245,5 +246,20 @@ function fifu_variation_settings_fields($loop, $variation_data, $variation) {
245
  'wrapper_class' => 'form-row form-row-full',
246
  )
247
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
248
  }
249
 
233
  add_action('woocommerce_product_after_variable_attributes', 'fifu_variation_settings_fields', 10, 3);
234
 
235
  function fifu_variation_settings_fields($loop, $variation_data, $variation) {
236
+ // variation
237
  woocommerce_wp_text_input(
238
  array(
239
  'id' => "fifu_image_url{$loop}",
246
  'wrapper_class' => 'form-row form-row-full',
247
  )
248
  );
249
+ // variation gallery
250
+ for ($i = 0; $i < 3; $i ++) {
251
+ woocommerce_wp_text_input(
252
+ array(
253
+ 'id' => "fifu_image_url_" . $i . "{$loop}",
254
+ 'name' => "fifu_image_url_" . $i . "[{$loop}]",
255
+ 'value' => get_post_meta($variation->ID, 'fifu_image_url_' . $i, true),
256
+ 'label' => __('<span class="dashicons dashicons-format-gallery" style="font-size:20px"></span> Image Gallery from URL #' . ($i + 1), 'woocommerce'),
257
+ 'desc_tip' => true,
258
+ 'description' => __('Requires "WooCommerce Additional Variation Images" plugin', 'woocommerce'),
259
+ 'placeholder' => 'Image URL (Premium)',
260
+ 'wrapper_class' => 'form-row form-row-full',
261
+ )
262
+ );
263
+ }
264
  }
265
 
featured-image-from-url.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Featured Image from URL
5
  * Plugin URI: https://fifu.app/
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.8.0
8
  * Author: Marcel Jacques Machado
9
  * Author URI: https://www.linkedin.com/in/marceljm/
10
  */
4
  * Plugin Name: Featured Image from URL
5
  * Plugin URI: https://fifu.app/
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.8.1
8
  * Author: Marcel Jacques Machado
9
  * Author URI: https://www.linkedin.com/in/marceljm/
10
  */
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: featured image, external featured image, featured image from url, url featured image, featured, image, external, url, flickr, s3, picasa, woocommerce, product image, product gallery, product, gallery, column, list, page, post, all, content, custom, type, custom post type, category, video, external video, youtube, vimeo, featured video, hover, effects, hover effects, sirv, wp all import, css, style, slider, thumbnail, social, network, auto, publish, hide, first image, content, lightbox, size, grid, auto post thumbnail, link, uri, affiliate, wp, rest, api, wp rest api, lazy, load, google, drive, instagram, validation, jetpack, visual composer, play, pause, crop, resize, zoom, enable, disable, default, automatic, auto set, cloudinary, schedule, event, cron, seo, variable, tumblr, variation, product variation, shortcode, facebook, instagram, imgur, 9gag, wcfm, add-on
5
  Requires at least: 4.0
6
  Tested up to: 5.4
7
- Stable tag: 2.8.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -159,6 +159,9 @@ Features:
159
 
160
  == Changelog ==
161
 
 
 
 
162
  = 2.8.0 =
163
  * Improvement: WooCommerce product variations have a Featured Image from URL field now; icons added to FIFU fields.
164
 
@@ -669,6 +672,9 @@ was removed. To finish, a Premium version is now been presented.
669
 
670
  == Upgrade Notice ==
671
 
 
 
 
672
  = 2.8.0 =
673
  * Improvement: WooCommerce product variations have a Featured Image from URL field now; icons added to FIFU fields.
674
 
4
  Tags: featured image, external featured image, featured image from url, url featured image, featured, image, external, url, flickr, s3, picasa, woocommerce, product image, product gallery, product, gallery, column, list, page, post, all, content, custom, type, custom post type, category, video, external video, youtube, vimeo, featured video, hover, effects, hover effects, sirv, wp all import, css, style, slider, thumbnail, social, network, auto, publish, hide, first image, content, lightbox, size, grid, auto post thumbnail, link, uri, affiliate, wp, rest, api, wp rest api, lazy, load, google, drive, instagram, validation, jetpack, visual composer, play, pause, crop, resize, zoom, enable, disable, default, automatic, auto set, cloudinary, schedule, event, cron, seo, variable, tumblr, variation, product variation, shortcode, facebook, instagram, imgur, 9gag, wcfm, add-on
5
  Requires at least: 4.0
6
  Tested up to: 5.4
7
+ Stable tag: 2.8.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
159
 
160
  == Changelog ==
161
 
162
+ = 2.8.1 =
163
+ * New: WooCommerce product variations have Image Gallery from URL fields now, used with WooCommerce Additional Variation Images plugin (by WooCommerce).
164
+
165
  = 2.8.0 =
166
  * Improvement: WooCommerce product variations have a Featured Image from URL field now; icons added to FIFU fields.
167
 
672
 
673
  == Upgrade Notice ==
674
 
675
+ = 2.8.1 =
676
+ * New: WooCommerce product variations have Image Gallery from URL fields now, used with WooCommerce Additional Variation Images plugin (by WooCommerce).
677
+
678
  = 2.8.0 =
679
  * Improvement: WooCommerce product variations have a Featured Image from URL field now; icons added to FIFU fields.
680