Version Description
- Bug fix: allows URLs with special characters now.
Download this release
Release Info
Developer | marceljm |
Plugin | Featured Image From URL |
Version | 2.2.8 |
Comparing to | |
See all releases |
Code changes from version 2.2.7 to 2.2.8
- admin/category.php +1 -1
- admin/html/js/menu.js +1 -0
- admin/html/menu.html +33 -3
- admin/meta-box.php +1 -1
- featured-image-from-url.php +1 -1
- readme.txt +11 -2
admin/category.php
CHANGED
@@ -52,7 +52,7 @@ function fifu_ctgr_save_properties($term_id) {
|
|
52 |
update_term_meta($term_id, 'fifu_image_alt', wp_strip_all_tags($_POST['fifu_input_alt']));
|
53 |
|
54 |
if (isset($_POST['fifu_input_url'])) {
|
55 |
-
$url =
|
56 |
update_term_meta($term_id, 'fifu_image_url', fifu_convert($url));
|
57 |
fifu_db_ctgr_update_fake_attach_id($term_id);
|
58 |
}
|
52 |
update_term_meta($term_id, 'fifu_image_alt', wp_strip_all_tags($_POST['fifu_input_alt']));
|
53 |
|
54 |
if (isset($_POST['fifu_input_url'])) {
|
55 |
+
$url = $_POST['fifu_input_url'];
|
56 |
update_term_meta($term_id, 'fifu_image_url', fifu_convert($url));
|
57 |
fifu_db_ctgr_update_fake_attach_id($term_id);
|
58 |
}
|
admin/html/js/menu.js
CHANGED
@@ -28,6 +28,7 @@ jQuery(function () {
|
|
28 |
jQuery("#accordionClean").accordion();
|
29 |
jQuery("#tabs").tabs();
|
30 |
jQuery("#tabs-top").tabs();
|
|
|
31 |
jQuery("#fifu_input_spinner_db").spinner({min: 100, step: 100});
|
32 |
jQuery("#fifu_input_spinner_image").spinner({min: 0});
|
33 |
jQuery("#fifu_input_spinner_video").spinner({min: 0});
|
28 |
jQuery("#accordionClean").accordion();
|
29 |
jQuery("#tabs").tabs();
|
30 |
jQuery("#tabs-top").tabs();
|
31 |
+
jQuery("#fifu_input_spinner_cron_metadata").spinner({min: 1, step: 1});
|
32 |
jQuery("#fifu_input_spinner_db").spinner({min: 100, step: 100});
|
33 |
jQuery("#fifu_input_spinner_image").spinner({min: 0});
|
34 |
jQuery("#fifu_input_spinner_video").spinner({min: 0});
|
admin/html/menu.html
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
<li><a href="#tabs-c">Video</a></li>
|
21 |
<li><a href="#tabs-o">WooCommerce</a></li>
|
22 |
<li><a href="#tabs-p">WP All Import</a></li>
|
23 |
-
<li><a href="#tabs-a">Get Premium Version + Lifetime Updates for US$
|
24 |
<br>
|
25 |
<br>
|
26 |
<div id="tabs-a">
|
@@ -87,9 +87,9 @@
|
|
87 |
</form>
|
88 |
</div>
|
89 |
<div style="display:inline-block;top:0px;position:relative">
|
90 |
-
(<b>US$
|
91 |
Moreover, <b>you will have lifetime automatic updates</b>.<br>
|
92 |
-
And if you need more license keys, you can get 5 by US$
|
93 |
</div>
|
94 |
</div>
|
95 |
</div>
|
@@ -174,6 +174,36 @@
|
|
174 |
<br>
|
175 |
<input type="submit" value="Submit" disabled>
|
176 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
</div>
|
178 |
<div id="tabs-b">
|
179 |
<div class="box">
|
20 |
<li><a href="#tabs-c">Video</a></li>
|
21 |
<li><a href="#tabs-o">WooCommerce</a></li>
|
22 |
<li><a href="#tabs-p">WP All Import</a></li>
|
23 |
+
<li><a href="#tabs-a">Get Premium Version + Lifetime Updates for US$ 50</a></li>
|
24 |
<br>
|
25 |
<br>
|
26 |
<div id="tabs-a">
|
87 |
</form>
|
88 |
</div>
|
89 |
<div style="display:inline-block;top:0px;position:relative">
|
90 |
+
(<b>US$ 50</b> or more, please) and receive the download link by email within 12 hours.<br>
|
91 |
Moreover, <b>you will have lifetime automatic updates</b>.<br>
|
92 |
+
And if you need more license keys, you can get 5 by US$ 100.
|
93 |
</div>
|
94 |
</div>
|
95 |
</div>
|
174 |
<br>
|
175 |
<input type="submit" value="Submit" disabled>
|
176 |
</div>
|
177 |
+
<div class="box">
|
178 |
+
<h2>Schedule Metadata Generation</h2>
|
179 |
+
<div class="greybox" id="grad2">
|
180 |
+
<b>Premium feature</b><br><br>
|
181 |
+
If you are setting the image URLs in a nonstandard way, the images probably won't be shown at front-end because some internal metadata is required. Here you can schedule an event to run each N minutes and check if there is some image URL without metadata and create that.<br><br>
|
182 |
+
<table style="text-align:left">
|
183 |
+
<tr>
|
184 |
+
<th>
|
185 |
+
<label for="fifu_input_spinner_cron_metadata"
|
186 |
+
placehold>Interval (minutes)</label>
|
187 |
+
</th>
|
188 |
+
<th>
|
189 |
+
<input id="fifu_input_spinner_cron_metadata"
|
190 |
+
name="fifu_input_spinner_cron_metadata"
|
191 |
+
size="4">
|
192 |
+
</th>
|
193 |
+
<th>
|
194 |
+
<input type="submit" value="Submit" disabled>
|
195 |
+
</th>
|
196 |
+
</tr>
|
197 |
+
</table>
|
198 |
+
</div>
|
199 |
+
<br>
|
200 |
+
<input
|
201 |
+
type="image"
|
202 |
+
href="javascript:void(0)"
|
203 |
+
class="toggleoff"
|
204 |
+
value=""
|
205 |
+
style="display:block">
|
206 |
+
</div>
|
207 |
</div>
|
208 |
<div id="tabs-b">
|
209 |
<div class="box">
|
admin/meta-box.php
CHANGED
@@ -71,7 +71,7 @@ function fifu_save_properties($post_id) {
|
|
71 |
|
72 |
/* image url */
|
73 |
if (isset($_POST['fifu_input_url'])) {
|
74 |
-
$url =
|
75 |
$first = fifu_first_url_in_content($post_id);
|
76 |
if ($first && fifu_is_on('fifu_get_first') && (!$url || fifu_is_on('fifu_ovw_first')))
|
77 |
$url = $first;
|
71 |
|
72 |
/* image url */
|
73 |
if (isset($_POST['fifu_input_url'])) {
|
74 |
+
$url = $_POST['fifu_input_url'];
|
75 |
$first = fifu_first_url_in_content($post_id);
|
76 |
if ($first && fifu_is_on('fifu_get_first') && (!$url || fifu_is_on('fifu_ovw_first')))
|
77 |
$url = $first;
|
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.2.
|
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: 2.2.8
|
8 |
* Author: Marcel Jacques Machado
|
9 |
* Author URI: https://www.linkedin.com/in/marceljm/
|
10 |
*/
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ 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, variable, tumblr, variation, product variation, shortcode
|
5 |
Requires at least: 4.0
|
6 |
-
Tested up to: 5.0
|
7 |
-
Stable tag: 5.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -157,6 +157,9 @@ Features:
|
|
157 |
|
158 |
== Changelog ==
|
159 |
|
|
|
|
|
|
|
160 |
= 2.2.7 =
|
161 |
* Improvement: block UI added to the menu settings.
|
162 |
|
@@ -508,6 +511,12 @@ was removed. To finish, a Premium version is now been presented.
|
|
508 |
|
509 |
== Upgrade Notice ==
|
510 |
|
|
|
|
|
|
|
|
|
|
|
|
|
511 |
= 2.2.6 =
|
512 |
* Bug fixes: menu settings, product category and default external image.
|
513 |
|
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, variable, tumblr, variation, product variation, shortcode
|
5 |
Requires at least: 4.0
|
6 |
+
Tested up to: 5.0.3
|
7 |
+
Stable tag: 5.0.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
157 |
|
158 |
== Changelog ==
|
159 |
|
160 |
+
= 2.2.8 =
|
161 |
+
* Bug fix: allows URLs with special characters now.
|
162 |
+
|
163 |
= 2.2.7 =
|
164 |
* Improvement: block UI added to the menu settings.
|
165 |
|
511 |
|
512 |
== Upgrade Notice ==
|
513 |
|
514 |
+
= 2.2.8 =
|
515 |
+
* Bug fix: allows URLs with special characters now.
|
516 |
+
|
517 |
+
= 2.2.7 =
|
518 |
+
* Improvement: block UI added to the menu settings.
|
519 |
+
|
520 |
= 2.2.6 =
|
521 |
* Bug fixes: menu settings, product category and default external image.
|
522 |
|