Featured Image From URL - Version 1.9.0

Version Description

  • New: if the Alt/Title field is empty then automatically set that with the post/page/product title.
Download this release

Release Info

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

Code changes from version 1.8.9 to 1.9.0

admin/html/meta-box.html CHANGED
@@ -50,6 +50,8 @@
50
  <div style="<?php echo $show_news ?>">
51
  <br>
52
  <hr>
 
 
53
  <p style="font-size: 12px; padding: 5px; border-left: 6px solid orange; color: black;
54
  background-color: #eee; border-radius: 25px 5px;">New: FIFU column added to Custom Post Types.</p>
55
  <p style="font-size: 12px; padding: 5px; border-left: 6px solid chartreuse; color: black;
50
  <div style="<?php echo $show_news ?>">
51
  <br>
52
  <hr>
53
+ <p style="font-size: 12px; padding: 5px; border-left: 6px solid brown; color: black;
54
+ background-color: #eee; border-radius: 25px 5px;">New: if the Alt/Title field is empty then automatically set that with the post/page/product title</p>
55
  <p style="font-size: 12px; padding: 5px; border-left: 6px solid orange; color: black;
56
  background-color: #eee; border-radius: 25px 5px;">New: FIFU column added to Custom Post Types.</p>
57
  <p style="font-size: 12px; padding: 5px; border-left: 6px solid chartreuse; color: black;
admin/meta-box.php CHANGED
@@ -80,6 +80,7 @@ function fifu_save_properties($post_id) {
80
  /* alt */
81
  if (isset($_POST['fifu_input_alt'])) {
82
  $alt = wp_strip_all_tags($_POST['fifu_input_alt']);
 
83
  fifu_update_or_delete($post_id, 'fifu_image_alt', $alt);
84
  }
85
  }
@@ -91,3 +92,4 @@ function fifu_update_or_delete($post_id, $field, $url) {
91
  } else
92
  delete_post_meta($post_id, $field, $url);
93
  }
 
80
  /* alt */
81
  if (isset($_POST['fifu_input_alt'])) {
82
  $alt = wp_strip_all_tags($_POST['fifu_input_alt']);
83
+ $alt = !$alt && $url ? get_the_title() : $alt;
84
  fifu_update_or_delete($post_id, 'fifu_image_alt', $alt);
85
  }
86
  }
92
  } else
93
  delete_post_meta($post_id, $field, $url);
94
  }
95
+
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: 1.8.9
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://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: 1.9.0
8
  * Author: Marcel Jacques Machado
9
  * Author URI: https://www.linkedin.com/in/marceljm/
10
  */
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Plugin Name ===
2
  Contributors: marceljm
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8BLDLZ3HDBGQG
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, priority
5
  Requires at least: 4.0
6
- Tested up to: 4.9.7
7
- Stable tag: 4.9.7
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
  = 1.8.9 =
163
  * New: FIFU column added to Custom Post Types.
164
 
@@ -384,6 +387,9 @@ was removed. To finish, a Premium version is now been presented.
384
 
385
  == Upgrade Notice ==
386
 
 
 
 
387
  = 1.8.9 =
388
  * New: FIFU column added to Custom Post Types.
389
 
1
  === Plugin Name ===
2
  Contributors: marceljm
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8BLDLZ3HDBGQG
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, priority, seo
5
  Requires at least: 4.0
6
+ Tested up to: 4.9.8
7
+ Stable tag: 4.9.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
159
 
160
  == Changelog ==
161
 
162
+ = 1.9.0 =
163
+ * New: if the Alt/Title field is empty then automatically set that with the post/page/product title.
164
+
165
  = 1.8.9 =
166
  * New: FIFU column added to Custom Post Types.
167
 
387
 
388
  == Upgrade Notice ==
389
 
390
+ = 1.9.0 =
391
+ * New: if the Alt/Title field is empty then automatically set that with the post/page/product title.
392
+
393
  = 1.8.9 =
394
  * New: FIFU column added to Custom Post Types.
395