Version Description
- Improvement: Hide Featured Media may work with internal featured images now.
Download this release
Release Info
Developer | marceljm |
Plugin | Featured Image From URL |
Version | 3.5.5 |
Comparing to | |
See all releases |
Code changes from version 3.5.4 to 3.5.5
- admin/html/meta-box.html +0 -4
- featured-image-from-url.php +2 -2
- includes/thumbnail.php +4 -0
- readme.txt +7 -7
admin/html/meta-box.html
CHANGED
@@ -13,10 +13,6 @@
|
|
13 |
</tr>
|
14 |
</table>
|
15 |
|
16 |
-
<div id="fifu_upload" class="button" style="<?php echo $width, $show_alt, $show_image ?>" disabled>
|
17 |
-
<span style="top:3px; position:relative" class="dashicons dashicons-upload"></span><?php $fifu['image']['upload']() ?>
|
18 |
-
</div>
|
19 |
-
|
20 |
<input id="fifu_input_alt"
|
21 |
type="text"
|
22 |
name="fifu_input_alt"
|
13 |
</tr>
|
14 |
</table>
|
15 |
|
|
|
|
|
|
|
|
|
16 |
<input id="fifu_input_alt"
|
17 |
type="text"
|
18 |
name="fifu_input_alt"
|
featured-image-from-url.php
CHANGED
@@ -4,11 +4,11 @@
|
|
4 |
* Plugin Name: Featured Image from URL (FIFU)
|
5 |
* Plugin URI: https://fifu.app/
|
6 |
* Description: Use an external image as featured image of a post or WooCommerce product. Includes Image Search, Video, Social Tags, SEO, Lazy Load, Gallery, Automation etc.
|
7 |
-
* Version: 3.5.
|
8 |
* Author: fifu.app
|
9 |
* Author URI: https://fifu.app/
|
10 |
* WC requires at least: 4.0
|
11 |
-
* WC tested up to: 5.
|
12 |
* Text Domain: featured-image-from-url
|
13 |
* License: GPLv3
|
14 |
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
4 |
* Plugin Name: Featured Image from URL (FIFU)
|
5 |
* Plugin URI: https://fifu.app/
|
6 |
* Description: Use an external image as featured image of a post or WooCommerce product. Includes Image Search, Video, Social Tags, SEO, Lazy Load, Gallery, Automation etc.
|
7 |
+
* Version: 3.5.5
|
8 |
* Author: fifu.app
|
9 |
* Author URI: https://fifu.app/
|
10 |
* WC requires at least: 4.0
|
11 |
+
* WC tested up to: 5.1
|
12 |
* Text Domain: featured-image-from-url
|
13 |
* License: GPLv3
|
14 |
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
includes/thumbnail.php
CHANGED
@@ -137,6 +137,10 @@ function fifu_replace($html, $post_id, $post_thumbnail_id, $size, $attr) {
|
|
137 |
if ($url)
|
138 |
return $html;
|
139 |
|
|
|
|
|
|
|
|
|
140 |
$width = fifu_get_attribute('width', $html);
|
141 |
$height = fifu_get_attribute('height', $html);
|
142 |
|
137 |
if ($url)
|
138 |
return $html;
|
139 |
|
140 |
+
// hide internal featured images
|
141 |
+
if (!$url && fifu_should_hide())
|
142 |
+
return '';
|
143 |
+
|
144 |
$width = fifu_get_attribute('width', $html);
|
145 |
$height = fifu_get_attribute('height', $html);
|
146 |
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: marceljm
|
|
3 |
Donate link: https://donorbox.org/fifu
|
4 |
Tags: featured, image, url, woocommerce, thumbnail
|
5 |
Requires at least: 5.3
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 3.5.
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -200,20 +200,20 @@ Supports videos from YouTube, Vimeo, Imgur, 9GAG, Cloudinary, Tumblr and Publiti
|
|
200 |
|
201 |
== Changelog ==
|
202 |
|
|
|
|
|
|
|
203 |
= 3.5.4 =
|
204 |
* Improvement: FIFU Product Gallery supports videos now.
|
205 |
|
206 |
= 3.5.3 =
|
207 |
* New option: Featured Image in Content > Custom post type; new option: CDN + Optimized Thumbnails > Shortpixel.
|
208 |
|
209 |
-
= 3.5.2 =
|
210 |
-
* New feature: FIFU Product Gallery (able to replace WooCommerce Additional Variation Images plugin).
|
211 |
-
|
212 |
= others =
|
213 |
* [more](https://fifu.app/changelog/)
|
214 |
|
215 |
|
216 |
== Upgrade Notice ==
|
217 |
|
218 |
-
= 3.5.
|
219 |
-
* Improvement:
|
3 |
Donate link: https://donorbox.org/fifu
|
4 |
Tags: featured, image, url, woocommerce, thumbnail
|
5 |
Requires at least: 5.3
|
6 |
+
Tested up to: 5.7
|
7 |
+
Stable tag: 3.5.5
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
200 |
|
201 |
== Changelog ==
|
202 |
|
203 |
+
= 3.5.5 =
|
204 |
+
* Improvement: Hide Featured Media may work with internal featured images now.
|
205 |
+
|
206 |
= 3.5.4 =
|
207 |
* Improvement: FIFU Product Gallery supports videos now.
|
208 |
|
209 |
= 3.5.3 =
|
210 |
* New option: Featured Image in Content > Custom post type; new option: CDN + Optimized Thumbnails > Shortpixel.
|
211 |
|
|
|
|
|
|
|
212 |
= others =
|
213 |
* [more](https://fifu.app/changelog/)
|
214 |
|
215 |
|
216 |
== Upgrade Notice ==
|
217 |
|
218 |
+
= 3.5.5 =
|
219 |
+
* Improvement: Hide Featured Media may work with internal featured images now.
|