Version Description
- New premium feature: Video > Related Videos; Bug fix: undefined variable.
Download this release
Release Info
Developer | marceljm |
Plugin | Featured Image From URL |
Version | 2.6.4 |
Comparing to | |
See all releases |
Code changes from version 2.6.3 to 2.6.4
- admin/category.php +2 -0
- admin/html/menu.html +88 -7
- admin/html/meta-box.html +3 -3
- featured-image-from-url.php +1 -1
- readme.txt +6 -0
admin/category.php
CHANGED
@@ -23,6 +23,7 @@ function fifu_ctgr_edit_box($term) {
|
|
23 |
$show_button = '';
|
24 |
$show_alt = $show_image = $show_link = 'display:none;';
|
25 |
}
|
|
|
26 |
|
27 |
include 'html/category.html';
|
28 |
}
|
@@ -36,6 +37,7 @@ function fifu_ctgr_add_box() {
|
|
36 |
|
37 |
$show_button = $url = $alt = '';
|
38 |
$show_alt = $show_image = $show_link = 'display:none;';
|
|
|
39 |
|
40 |
include 'html/category.html';
|
41 |
}
|
23 |
$show_button = '';
|
24 |
$show_alt = $show_image = $show_link = 'display:none;';
|
25 |
}
|
26 |
+
$show_ignore = '';
|
27 |
|
28 |
include 'html/category.html';
|
29 |
}
|
37 |
|
38 |
$show_button = $url = $alt = '';
|
39 |
$show_alt = $show_image = $show_link = 'display:none;';
|
40 |
+
$show_ignore = '';
|
41 |
|
42 |
include 'html/category.html';
|
43 |
}
|
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-t">
|
24 |
<li><a href="#tabs-a">Premium version <b style="border-radius:2px;padding:3px;background-color:#32373c;color:white">20%OFF</b></a></li>
|
25 |
<br>
|
26 |
<br>
|
@@ -198,7 +198,7 @@
|
|
198 |
<h2>Schedule Metadata Generation</h2>
|
199 |
<div class="greybox" id="grad2">
|
200 |
<b>Premium feature</b><br><br>
|
201 |
-
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>
|
202 |
<table style="text-align:left">
|
203 |
<tr>
|
204 |
<th>
|
@@ -1520,7 +1520,21 @@
|
|
1520 |
class="toggleoff"
|
1521 |
value=""
|
1522 |
style="display:block">
|
1523 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1524 |
</div>
|
1525 |
|
1526 |
<div class="box">
|
@@ -1574,6 +1588,7 @@
|
|
1574 |
<div class="box">
|
1575 |
<h2>Video Autoplay</h2>
|
1576 |
<div class="greybox" id="grad2">
|
|
|
1577 |
This option enables autoplay (available for YouTube and Vimeo videos).
|
1578 |
</div>
|
1579 |
<br>
|
@@ -1594,6 +1609,7 @@
|
|
1594 |
<div class="box">
|
1595 |
<h2>Video Loop</h2>
|
1596 |
<div class="greybox" id="grad2">
|
|
|
1597 |
This option enables loop (available for YouTube and Vimeo videos).
|
1598 |
</div>
|
1599 |
<br>
|
@@ -1610,6 +1626,27 @@
|
|
1610 |
</tr>
|
1611 |
</table>
|
1612 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1613 |
</div>
|
1614 |
<div id="tabs-m">
|
1615 |
<div class="box">
|
@@ -2645,16 +2682,60 @@
|
|
2645 |
</div>
|
2646 |
<div id="tabs-t">
|
2647 |
<div class="box">
|
2648 |
-
<h2>
|
2649 |
<div class="greybox">
|
2650 |
-
From <b>September 2019</b>, always you guys report an issue between FIFU and another plugin
|
2651 |
</div>
|
2652 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2653 |
<div class="box">
|
2654 |
<table>
|
2655 |
<tr>
|
2656 |
<td style="border-bottom:none">2019-09-13</td>
|
2657 |
-
<td style="border-bottom:none"><
|
|
|
2658 |
</tr>
|
2659 |
</table>
|
2660 |
<div class="greybox" style="position: relative; top: -10px">
|
@@ -2662,7 +2743,7 @@
|
|
2662 |
1) add a new "Group";<br>
|
2663 |
2) add a new "Field";<br>
|
2664 |
3) set "fifu_image_url" for "Field slug".<br>
|
2665 |
-
</div>
|
2666 |
</div>
|
2667 |
</div>
|
2668 |
</ul>
|
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-t">Troubleshooting</a></li>
|
24 |
<li><a href="#tabs-a">Premium version <b style="border-radius:2px;padding:3px;background-color:#32373c;color:white">20%OFF</b></a></li>
|
25 |
<br>
|
26 |
<br>
|
198 |
<h2>Schedule Metadata Generation</h2>
|
199 |
<div class="greybox" id="grad2">
|
200 |
<b>Premium feature</b><br><br>
|
201 |
+
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. The FIFU keys are listed on WP All Import > Custom Fields.<br><br>
|
202 |
<table style="text-align:left">
|
203 |
<tr>
|
204 |
<th>
|
1520 |
class="toggleoff"
|
1521 |
value=""
|
1522 |
style="display:block">
|
1523 |
+
</div>
|
1524 |
+
|
1525 |
+
<div class="box">
|
1526 |
+
<h2>Black Background</h2>
|
1527 |
+
<div class="greybox" id="grad2">
|
1528 |
+
<b>Premium feature</b><br><br>
|
1529 |
+
Unlike Youtube, Vimeo videos can't fit an available theme area without generating a vertical padding. Here you can change the background color from transparent to black.
|
1530 |
+
</div>
|
1531 |
+
<br>
|
1532 |
+
<input
|
1533 |
+
type="image"
|
1534 |
+
href="javascript:void(0)"
|
1535 |
+
class="toggleoff"
|
1536 |
+
value=""
|
1537 |
+
style="display:block">
|
1538 |
</div>
|
1539 |
|
1540 |
<div class="box">
|
1588 |
<div class="box">
|
1589 |
<h2>Video Autoplay</h2>
|
1590 |
<div class="greybox" id="grad2">
|
1591 |
+
<b>Premium feature</b><br><br>
|
1592 |
This option enables autoplay (available for YouTube and Vimeo videos).
|
1593 |
</div>
|
1594 |
<br>
|
1609 |
<div class="box">
|
1610 |
<h2>Video Loop</h2>
|
1611 |
<div class="greybox" id="grad2">
|
1612 |
+
<b>Premium feature</b><br><br>
|
1613 |
This option enables loop (available for YouTube and Vimeo videos).
|
1614 |
</div>
|
1615 |
<br>
|
1626 |
</tr>
|
1627 |
</table>
|
1628 |
</div>
|
1629 |
+
|
1630 |
+
<div class="box">
|
1631 |
+
<h2>Related Videos</h2>
|
1632 |
+
<div class="greybox" id="grad2">
|
1633 |
+
<b>Premium feature</b><br><br>
|
1634 |
+
This option enables related videos when the video ends (available for YouTube).
|
1635 |
+
</div>
|
1636 |
+
<br>
|
1637 |
+
<table style="text-align:left">
|
1638 |
+
<tr>
|
1639 |
+
<th>
|
1640 |
+
<input
|
1641 |
+
type="image"
|
1642 |
+
href="javascript:void(0)"
|
1643 |
+
class="toggleoff"
|
1644 |
+
value=""
|
1645 |
+
style="display:block">
|
1646 |
+
</th>
|
1647 |
+
</tr>
|
1648 |
+
</table>
|
1649 |
+
</div>
|
1650 |
</div>
|
1651 |
<div id="tabs-m">
|
1652 |
<div class="box">
|
2682 |
</div>
|
2683 |
<div id="tabs-t">
|
2684 |
<div class="box">
|
2685 |
+
<h2>Troubleshooting</h2>
|
2686 |
<div class="greybox">
|
2687 |
+
From <b>September 2019</b>, always you guys report an issue between FIFU and another plugin or theme, the solution will be posted here.
|
2688 |
</div>
|
2689 |
</div>
|
2690 |
+
<div class="box">
|
2691 |
+
<table>
|
2692 |
+
<tr>
|
2693 |
+
<td style="border-bottom:none">2019-09-18</td>
|
2694 |
+
<td style="border-bottom:none"><h3>WooCommerce</h3></td>
|
2695 |
+
<td style="border-bottom:none">plugin</td>
|
2696 |
+
</tr>
|
2697 |
+
</table>
|
2698 |
+
<div class="greybox" style="position: relative; top: -10px">
|
2699 |
+
Adding external "Product Image" and "Product Gallery" via SQL:<br>
|
2700 |
+
1) enable "FIFU Settings > Admin Area > Schedule Metadata Generation";<br>
|
2701 |
+
2) run the SQL. Example: "insert into wp_postmeta (post_id, meta_key, meta_value) values (12345, 'fifu_list_url', 'URL1|URL2|URL3|URL4')"<br>
|
2702 |
+
* the first URL is for the featured image and the others for the gallery<br>
|
2703 |
+
</div>
|
2704 |
+
</div>
|
2705 |
+
<div class="box">
|
2706 |
+
<table>
|
2707 |
+
<tr>
|
2708 |
+
<td style="border-bottom:none;">2019-09-14</td>
|
2709 |
+
<td style="border-bottom:none"><h3>Divi</h3></td>
|
2710 |
+
<td style="border-bottom:none">theme</td>
|
2711 |
+
</tr>
|
2712 |
+
</table>
|
2713 |
+
<div class="greybox" style="position: relative; top: -10px">
|
2714 |
+
Preventing a small image from scaling to 100%:<br>
|
2715 |
+
1) inspect the image and get the CSS selector;<br>
|
2716 |
+
2) access "Customize > Additional CSS";<br>
|
2717 |
+
3) set "width:unset" for your selector.<br>
|
2718 |
+
</div>
|
2719 |
+
<div class="greybox" style="position: relative; top: -10px">
|
2720 |
+
Centering a small image:<br>
|
2721 |
+
1) inspect the image and get the CSS selector;<br>
|
2722 |
+
2) access "Customize > Additional CSS";<br>
|
2723 |
+
3) set "display:inherit" for your selector;<br>
|
2724 |
+
4) set "text-align:center" for its parent.<br>
|
2725 |
+
</div>
|
2726 |
+
<div class="greybox" style="position: relative; top: -10px">
|
2727 |
+
Defining a height for an image:<br>
|
2728 |
+
1) inspect the image and get the CSS selector;<br>
|
2729 |
+
2) access "Customize > Additional CSS";<br>
|
2730 |
+
3) set "height:300px" (or a different number) for your selector.<br>
|
2731 |
+
</div>
|
2732 |
+
</div>
|
2733 |
<div class="box">
|
2734 |
<table>
|
2735 |
<tr>
|
2736 |
<td style="border-bottom:none">2019-09-13</td>
|
2737 |
+
<td style="border-bottom:none"><h3>Toolset Forms</h3></td>
|
2738 |
+
<td style="border-bottom:none">plugin</td>
|
2739 |
</tr>
|
2740 |
</table>
|
2741 |
<div class="greybox" style="position: relative; top: -10px">
|
2743 |
1) add a new "Group";<br>
|
2744 |
2) add a new "Field";<br>
|
2745 |
3) set "fifu_image_url" for "Field slug".<br>
|
2746 |
+
</div>
|
2747 |
</div>
|
2748 |
</div>
|
2749 |
</ul>
|
admin/html/meta-box.html
CHANGED
@@ -61,9 +61,9 @@
|
|
61 |
<p style="font-size: 12px; padding: 10px; border-bottom: 2px solid orange; border-top: 2px solid orange; color: black; background: repeating-linear-gradient(-55deg,white,white 2px,whitesmoke 2px,white 5px);
|
62 |
background-color: whitesmoke; border-radius: 15px 5px 15px 5px; position: relative; top: 5px;">Product Gallery, Video and Slider fields are only available in <a href="admin.php?page=featured-image-from-url#tabs-a"><b>premium</b></a> version</p>
|
63 |
<p style="font-size: 12px; padding: 10px; border-bottom: 2px solid #34ba1c; border-top: 2px solid #34ba1c; color: black; background: repeating-linear-gradient(-55deg,white,white 2px,whitesmoke 2px,white 5px);
|
64 |
-
background-color: whitesmoke; border-radius: 15px 5px 15px 5px; position: relative; top: 5px;">New feature:
|
65 |
-
|
66 |
-
background-color: whitesmoke; border-radius: 15px 5px 15px 5px; position: relative; top: 5px;">New: tips about the integration between FIFU and other plugins will be posted <a href='admin.php?page=featured-image-from-url#tabs-t'>here</a></p
|
67 |
<!--p style="font-size: 12px; padding: 10px; border-bottom: 2px solid #7e600e ; border-top: 2px solid #7e600e ; color: black; background: repeating-linear-gradient(-55deg,white,white 2px,whitesmoke 2px,white 5px);
|
68 |
background-color: whitesmoke; border-radius: 15px 5px 15px 5px; position: relative; top: 5px;">New: "Premium > Donate" replaced by regular PayPal payment button</p-->
|
69 |
</div>
|
61 |
<p style="font-size: 12px; padding: 10px; border-bottom: 2px solid orange; border-top: 2px solid orange; color: black; background: repeating-linear-gradient(-55deg,white,white 2px,whitesmoke 2px,white 5px);
|
62 |
background-color: whitesmoke; border-radius: 15px 5px 15px 5px; position: relative; top: 5px;">Product Gallery, Video and Slider fields are only available in <a href="admin.php?page=featured-image-from-url#tabs-a"><b>premium</b></a> version</p>
|
63 |
<p style="font-size: 12px; padding: 10px; border-bottom: 2px solid #34ba1c; border-top: 2px solid #34ba1c; color: black; background: repeating-linear-gradient(-55deg,white,white 2px,whitesmoke 2px,white 5px);
|
64 |
+
background-color: whitesmoke; border-radius: 15px 5px 15px 5px; position: relative; top: 5px;">New premium feature: now you can disable Related Videos for YouTube</p>
|
65 |
+
<!--p style="font-size: 12px; padding: 10px; border-bottom: 2px solid #538dd3; border-top: 2px solid #538dd3; color: black; background: repeating-linear-gradient(-55deg,white,white 2px,whitesmoke 2px,white 5px);
|
66 |
+
background-color: whitesmoke; border-radius: 15px 5px 15px 5px; position: relative; top: 5px;">New: tips about the integration between FIFU and other plugins will be posted <a href='admin.php?page=featured-image-from-url#tabs-t'>here</a></p-->
|
67 |
<!--p style="font-size: 12px; padding: 10px; border-bottom: 2px solid #7e600e ; border-top: 2px solid #7e600e ; color: black; background: repeating-linear-gradient(-55deg,white,white 2px,whitesmoke 2px,white 5px);
|
68 |
background-color: whitesmoke; border-radius: 15px 5px 15px 5px; position: relative; top: 5px;">New: "Premium > Donate" replaced by regular PayPal payment button</p-->
|
69 |
</div>
|
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.6.
|
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.6.4
|
8 |
* Author: Marcel Jacques Machado
|
9 |
* Author URI: https://www.linkedin.com/in/marceljm/
|
10 |
*/
|
readme.txt
CHANGED
@@ -159,6 +159,9 @@ Features:
|
|
159 |
|
160 |
== Changelog ==
|
161 |
|
|
|
|
|
|
|
162 |
= 2.6.3 =
|
163 |
* New feature: Auto Set First Image > Remove Query Strings; Integration: Toolset Forms plugin; New: WordPress Plugins tab.
|
164 |
|
@@ -618,6 +621,9 @@ was removed. To finish, a Premium version is now been presented.
|
|
618 |
|
619 |
== Upgrade Notice ==
|
620 |
|
|
|
|
|
|
|
621 |
= 2.6.3 =
|
622 |
* New feature: Auto Set First Image > Remove Query Strings; Integration: Toolset Forms plugin; New: WordPress Plugins tab.
|
623 |
|
159 |
|
160 |
== Changelog ==
|
161 |
|
162 |
+
= 2.6.4 =
|
163 |
+
* New premium feature: Video > Related Videos; Bug fix: undefined variable.
|
164 |
+
|
165 |
= 2.6.3 =
|
166 |
* New feature: Auto Set First Image > Remove Query Strings; Integration: Toolset Forms plugin; New: WordPress Plugins tab.
|
167 |
|
621 |
|
622 |
== Upgrade Notice ==
|
623 |
|
624 |
+
= 2.6.4 =
|
625 |
+
* New premium feature: Video > Related Videos; Bug fix: undefined variable.
|
626 |
+
|
627 |
= 2.6.3 =
|
628 |
* New feature: Auto Set First Image > Remove Query Strings; Integration: Toolset Forms plugin; New: WordPress Plugins tab.
|
629 |
|