Version Description
- New feature: FIFU Product Gallery (able to replace WooCommerce Additional Variation Images plugin).
Download this release
Release Info
Developer | marceljm |
Plugin | Featured Image From URL |
Version | 3.5.2 |
Comparing to | |
See all releases |
Code changes from version 3.5.1 to 3.5.2
- admin/html/menu.html +46 -11
- admin/meta-box.php +0 -1
- admin/strings.php +13 -4
- featured-image-from-url.php +1 -1
- readme.txt +7 -6
admin/html/menu.html
CHANGED
@@ -1604,7 +1604,22 @@
|
|
1604 |
<th>
|
1605 |
on, off
|
1606 |
</th>
|
1607 |
-
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1608 |
</table>
|
1609 |
</div>
|
1610 |
<div id="tabs-2">
|
@@ -4144,16 +4159,36 @@
|
|
4144 |
<table style="text-align:left">
|
4145 |
<tr>
|
4146 |
<th>
|
4147 |
-
<
|
4148 |
-
|
4149 |
-
|
4150 |
-
|
4151 |
-
|
4152 |
-
|
4153 |
-
|
4154 |
-
|
4155 |
-
|
4156 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4157 |
</th>
|
4158 |
</tr>
|
4159 |
</table>
|
1604 |
<th>
|
1605 |
on, off
|
1606 |
</th>
|
1607 |
+
</tr>
|
1608 |
+
<tr class="color">
|
1609 |
+
<th>
|
1610 |
+
<?php $fifu['tab']['woo']() ?>
|
1611 |
+
</th>
|
1612 |
+
<th>
|
1613 |
+
<?php $fifu['title']['gallery']() ?>
|
1614 |
+
</th>
|
1615 |
+
<th></th>
|
1616 |
+
<th>
|
1617 |
+
wp fifu woo --gallery <toggle>
|
1618 |
+
</th>
|
1619 |
+
<th>
|
1620 |
+
on, off
|
1621 |
+
</th>
|
1622 |
+
</tr>
|
1623 |
</table>
|
1624 |
</div>
|
1625 |
<div id="tabs-2">
|
4159 |
<table style="text-align:left">
|
4160 |
<tr>
|
4161 |
<th>
|
4162 |
+
<input
|
4163 |
+
type="submit"
|
4164 |
+
href="javascript:void(0)"
|
4165 |
+
class="toggleoff"
|
4166 |
+
value=""
|
4167 |
+
style="display:block;border:none" >
|
4168 |
+
</th>
|
4169 |
+
</tr>
|
4170 |
+
</table>
|
4171 |
+
</div>
|
4172 |
+
|
4173 |
+
<div class="box">
|
4174 |
+
<div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
|
4175 |
+
<h2><?php $fifu['title']['gallery']() ?></h2>
|
4176 |
+
<div class="greybox" id="grad2">
|
4177 |
+
<?php $fifu['gallery']['desc']() ?>
|
4178 |
+
<br>
|
4179 |
+
<br>
|
4180 |
+
<b><?php $fifu['detail']['important']() ?></b>: <?php $fifu['gallery']['important']() ?>
|
4181 |
+
</div>
|
4182 |
+
<br>
|
4183 |
+
<table style="text-align:left">
|
4184 |
+
<tr>
|
4185 |
+
<th>
|
4186 |
+
<input
|
4187 |
+
type="submit"
|
4188 |
+
href="javascript:void(0)"
|
4189 |
+
class="toggleoff"
|
4190 |
+
value=""
|
4191 |
+
style="display:block;border:none" >
|
4192 |
</th>
|
4193 |
</tr>
|
4194 |
</table>
|
admin/meta-box.php
CHANGED
@@ -266,7 +266,6 @@ function fifu_variation_settings_fields($loop, $variation_data, $variation) {
|
|
266 |
'value' => get_post_meta($variation->ID, 'fifu_image_url_' . $i, true),
|
267 |
'label' => '<span class="dashicons dashicons-format-gallery" style="font-size:20px"></span>' . $fifu['variation']['images']() . ' #' . ($i + 1),
|
268 |
'desc_tip' => true,
|
269 |
-
'description' => $fifu['variation']['wavi'](),
|
270 |
'placeholder' => $fifu['variation']['image'](),
|
271 |
'wrapper_class' => 'form-row form-row-full',
|
272 |
)
|
266 |
'value' => get_post_meta($variation->ID, 'fifu_image_url_' . $i, true),
|
267 |
'label' => '<span class="dashicons dashicons-format-gallery" style="font-size:20px"></span>' . $fifu['variation']['images']() . ' #' . ($i + 1),
|
268 |
'desc_tip' => true,
|
|
|
269 |
'placeholder' => $fifu['variation']['image'](),
|
270 |
'wrapper_class' => 'form-row form-row-full',
|
271 |
)
|
admin/strings.php
CHANGED
@@ -334,6 +334,9 @@ function fifu_get_strings_settings() {
|
|
334 |
$fifu['title']['key'] = function() {
|
335 |
_e("License Key", FIFU_SLUG);
|
336 |
};
|
|
|
|
|
|
|
337 |
|
338 |
// support
|
339 |
$fifu['support']['email'] = function() {
|
@@ -1112,12 +1115,21 @@ function fifu_get_strings_settings() {
|
|
1112 |
_e("Show the category image on the category page, immediately before the product grid.", FIFU_SLUG);
|
1113 |
};
|
1114 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1115 |
// variable
|
1116 |
$fifu['variable']['desc'] = function() {
|
1117 |
_e("Add FIFU fields (featured image and image gallery) to product variations.", FIFU_SLUG);
|
1118 |
};
|
1119 |
$fifu['variable']['important'] = function() {
|
1120 |
-
_e("variation image gallery requires <a href='https://woocommerce.com/products/woocommerce-additional-variation-images/' target='_blank'>WooCommerce Additional Variation Images</a>. Unofficial solutions are not supported.", FIFU_SLUG);
|
1121 |
};
|
1122 |
|
1123 |
// import
|
@@ -1358,9 +1370,6 @@ function fifu_get_strings_meta_box_php() {
|
|
1358 |
$fifu['variation']['images'] = function() {
|
1359 |
return __("Gallery Image (URL)", FIFU_SLUG);
|
1360 |
};
|
1361 |
-
$fifu['variation']['wavi'] = function() {
|
1362 |
-
return __("Requires WooCommerce Additional Variation Images plugin", FIFU_SLUG);
|
1363 |
-
};
|
1364 |
$fifu['variation']['upload'] = function() {
|
1365 |
return __("upload to media library", FIFU_SLUG);
|
1366 |
};
|
334 |
$fifu['title']['key'] = function() {
|
335 |
_e("License Key", FIFU_SLUG);
|
336 |
};
|
337 |
+
$fifu['title']['gallery'] = function() {
|
338 |
+
_e("FIFU Product Gallery", FIFU_SLUG);
|
339 |
+
};
|
340 |
|
341 |
// support
|
342 |
$fifu['support']['email'] = function() {
|
1115 |
_e("Show the category image on the category page, immediately before the product grid.", FIFU_SLUG);
|
1116 |
};
|
1117 |
|
1118 |
+
// gallery
|
1119 |
+
$fifu['gallery']['desc'] = function() {
|
1120 |
+
_e("It is known that some galleries provided by some themes work only when the dimensions of the images are saved in the database, which is often impracticable due to the slowness of this process. So FIFU offers a product gallery that does not depend on the dimensions of the external images to work correctly. You can configure the behavior of this gallery in the \"Featured slider\" tab. You should enable at least \"show gallery on click\" and \"show thumbnails gallery\". To change the aspect ratio, access \"Featured image > Same Height > Size ratio\".", FIFU_SLUG);
|
1121 |
+
};
|
1122 |
+
$fifu['gallery']['important'] = function() {
|
1123 |
+
_e("it's not integrated with videos and featured slider yet.", FIFU_SLUG);
|
1124 |
+
};
|
1125 |
+
|
1126 |
+
|
1127 |
// variable
|
1128 |
$fifu['variable']['desc'] = function() {
|
1129 |
_e("Add FIFU fields (featured image and image gallery) to product variations.", FIFU_SLUG);
|
1130 |
};
|
1131 |
$fifu['variable']['important'] = function() {
|
1132 |
+
_e("variation image gallery requires FIFU Product Gallery or <a href='https://woocommerce.com/products/woocommerce-additional-variation-images/' target='_blank'>WooCommerce Additional Variation Images</a>. Unofficial solutions are not supported.", FIFU_SLUG);
|
1133 |
};
|
1134 |
|
1135 |
// import
|
1370 |
$fifu['variation']['images'] = function() {
|
1371 |
return __("Gallery Image (URL)", FIFU_SLUG);
|
1372 |
};
|
|
|
|
|
|
|
1373 |
$fifu['variation']['upload'] = function() {
|
1374 |
return __("upload to media library", FIFU_SLUG);
|
1375 |
};
|
featured-image-from-url.php
CHANGED
@@ -4,7 +4,7 @@
|
|
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
|
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.2
|
8 |
* Author: fifu.app
|
9 |
* Author URI: https://fifu.app/
|
10 |
* WC requires at least: 4.0
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://donorbox.org/fifu
|
|
4 |
Tags: featured, image, url, woocommerce, thumbnail
|
5 |
Requires at least: 5.3
|
6 |
Tested up to: 5.6
|
7 |
-
Stable tag: 3.5.
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -76,6 +76,7 @@ Use an external image as featured image of your post, page or custom post type.
|
|
76 |
* **[Premium]** Variation image
|
77 |
* **[Premium]** Variation image gallery
|
78 |
* **[Premium]** Save images in the media library
|
|
|
79 |
|
80 |
#### FEATURED VIDEO
|
81 |
Supports videos from YouTube, Vimeo, Imgur, 9GAG, Cloudinary, Tumblr and Publitio.
|
@@ -199,20 +200,20 @@ Supports videos from YouTube, Vimeo, Imgur, 9GAG, Cloudinary, Tumblr and Publiti
|
|
199 |
|
200 |
== Changelog ==
|
201 |
|
|
|
|
|
|
|
202 |
= 3.5.1 =
|
203 |
* New premium feature: Save External Images in the Media Library; fix: WooCommerce category was keeping a few unnecessary metadata after deleting.
|
204 |
|
205 |
= 3.5.0 =
|
206 |
* Improvement: WP-CLI integration is complete (90 commands).
|
207 |
|
208 |
-
= 3.4.9 =
|
209 |
-
* Improvement: 13 new WP-CLI commands added; fix: missing images after WordPress core updates (affects images with long URLs); bug fix: images not being displayed for Anywhere Elementor plugin (and maybe other components).
|
210 |
-
|
211 |
= others =
|
212 |
* [more](https://fifu.app/changelog/)
|
213 |
|
214 |
|
215 |
== Upgrade Notice ==
|
216 |
|
217 |
-
= 3.5.
|
218 |
-
* New
|
4 |
Tags: featured, image, url, woocommerce, thumbnail
|
5 |
Requires at least: 5.3
|
6 |
Tested up to: 5.6
|
7 |
+
Stable tag: 3.5.2
|
8 |
License: GPLv3
|
9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
76 |
* **[Premium]** Variation image
|
77 |
* **[Premium]** Variation image gallery
|
78 |
* **[Premium]** Save images in the media library
|
79 |
+
* **[Premium]** FIFU product gallery
|
80 |
|
81 |
#### FEATURED VIDEO
|
82 |
Supports videos from YouTube, Vimeo, Imgur, 9GAG, Cloudinary, Tumblr and Publitio.
|
200 |
|
201 |
== Changelog ==
|
202 |
|
203 |
+
= 3.5.2 =
|
204 |
+
* New feature: FIFU Product Gallery (able to replace WooCommerce Additional Variation Images plugin).
|
205 |
+
|
206 |
= 3.5.1 =
|
207 |
* New premium feature: Save External Images in the Media Library; fix: WooCommerce category was keeping a few unnecessary metadata after deleting.
|
208 |
|
209 |
= 3.5.0 =
|
210 |
* Improvement: WP-CLI integration is complete (90 commands).
|
211 |
|
|
|
|
|
|
|
212 |
= others =
|
213 |
* [more](https://fifu.app/changelog/)
|
214 |
|
215 |
|
216 |
== Upgrade Notice ==
|
217 |
|
218 |
+
= 3.5.2 =
|
219 |
+
* New feature: FIFU Product Gallery (able to replace WooCommerce Additional Variation Images plugin).
|