Version Description
- New feature: Settings > Admin Area > jQuery; bug fix: Copy Link was wrong in some sites.
Download this release
Release Info
Developer | marceljm |
Plugin | Featured Image From URL |
Version | 2.7.3 |
Comparing to | |
See all releases |
Code changes from version 2.7.2 to 2.7.3
- admin/html/menu.html +83 -27
- admin/html/meta-box.html +2 -2
- admin/menu.php +3 -1
- featured-image-from-url.php +1 -1
- includes/attachment.php +1 -1
- includes/html/jquery.html +1 -0
- includes/thumbnail.php +6 -0
- readme.txt +7 -1
admin/html/menu.html
CHANGED
@@ -257,6 +257,38 @@
|
|
257 |
</table>
|
258 |
</form>
|
259 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
260 |
</div>
|
261 |
<div id="tabs-b">
|
262 |
<div class="box">
|
@@ -741,10 +773,10 @@
|
|
741 |
<h2>Hover Effects</h2>
|
742 |
<div class="greybox" id="grad2">
|
743 |
<b>Premium feature</b><br><br>
|
744 |
-
Choose one among 18 hover effects to be applied to the external featured images of your posts/products on your homepage. <a href="https://featuredimagefromurl.com/hover-effects/">Live preview</a><br
|
745 |
</div>
|
746 |
<br>
|
747 |
-
<select id="select_hover" style="width:
|
748 |
<option value=""></option>
|
749 |
<option value="hover17">315 Degrees</option>
|
750 |
<option value="hover02">360 Degrees</option>
|
@@ -765,6 +797,14 @@
|
|
765 |
<option value="hover01">Zoom In</option>
|
766 |
<option value="hover03">Zoom Out</option>
|
767 |
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
768 |
<input type="submit" value="Submit" disabled>
|
769 |
</div>
|
770 |
|
@@ -2493,9 +2533,6 @@
|
|
2493 |
As you can see below, FIFU has its own WP All Import add-on now. So you don't need to buy/use ACF Add-On¹ anymore.
|
2494 |
<br/>
|
2495 |
<br/>
|
2496 |
-
¹ since you just saved US$ 69,00, why not to buy FIFU Premium? <i class="far fa-smile-wink fa-2x" style="font-size: 1.1rem;"></i> Or you can also help this project giving FIFU a <a href='https://wordpress.org/support/plugin/featured-image-from-url/reviews/?filter=5'>5-star</a> rating.
|
2497 |
-
<br/>
|
2498 |
-
<br/>
|
2499 |
<div id="tabsWpAllImport">
|
2500 |
<ul>
|
2501 |
<li><a href="#tabs-3">Importing products...</a></li>
|
@@ -2593,14 +2630,6 @@
|
|
2593 |
<th>
|
2594 |
1)
|
2595 |
</th>
|
2596 |
-
<th>
|
2597 |
-
<a href="http://www.wpallimport.com/documentation/custom-fields/theme-plugin-fields/">How To Import To Your Theme (Or Plugin) - Custom Fields</a>
|
2598 |
-
</th>
|
2599 |
-
</tr>
|
2600 |
-
<tr>
|
2601 |
-
<th>
|
2602 |
-
2)
|
2603 |
-
</th>
|
2604 |
<th>
|
2605 |
<a href="http://www.wpallimport.com/documentation/woocommerce/variable-products/">Importing Variable Products to WooCommerce</a>
|
2606 |
</th>
|
@@ -2643,33 +2672,59 @@
|
|
2643 |
<div class="box">
|
2644 |
<table>
|
2645 |
<tr>
|
2646 |
-
<td style="border-bottom:none">2019-
|
2647 |
-
<td style="border-bottom:none"><h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2648 |
<td style="border-bottom:none">plugin</td>
|
2649 |
</tr>
|
2650 |
</table>
|
2651 |
<div class="greybox" style="position: relative; top: -10px">
|
2652 |
-
|
2653 |
-
|
2654 |
-
2) select "Update existing posts/products with changed data in your file > Choose which data to update";<br>
|
2655 |
-
3) uncheck "Images" (otherwise WP All Import will delete the image metadata and FIFU will need to create that again);<br>
|
2656 |
-
4) select "Custom Fields > Update only these Custom Fields, leave the rest alone".<br>
|
2657 |
</div>
|
2658 |
</div>
|
2659 |
<div class="box">
|
2660 |
<table>
|
2661 |
<tr>
|
2662 |
-
<td style="border-bottom:none">2019-11-
|
2663 |
-
<td style="border-bottom:none"><h3>
|
2664 |
-
<td style="border-bottom:none">
|
2665 |
</tr>
|
2666 |
</table>
|
2667 |
<div class="greybox" style="position: relative; top: -10px">
|
2668 |
-
Avoiding
|
2669 |
-
1)
|
2670 |
-
2)
|
|
|
|
|
2671 |
</div>
|
2672 |
-
</div>
|
2673 |
<div class="box">
|
2674 |
<table>
|
2675 |
<tr>
|
@@ -2872,6 +2927,7 @@ fifu_image_width_page:<?php echo $max_image_width_page ?>;
|
|
2872 |
fifu_image_width_post:<?php echo $max_image_width_post ?>;
|
2873 |
fifu_image_width_prod:<?php echo $max_image_width_prod ?>;
|
2874 |
fifu_image_width_shop:<?php echo $max_image_width_shop ?>;
|
|
|
2875 |
fifu_lazy:<?php echo $enable_lazy ?>;
|
2876 |
fifu_media_library:<?php echo $enable_media_library ?>;
|
2877 |
fifu_original:<?php echo $enable_original ?>;
|
257 |
</table>
|
258 |
</form>
|
259 |
</div>
|
260 |
+
<div class="box">
|
261 |
+
<h2>jQuery</h2>
|
262 |
+
<div class="greybox">
|
263 |
+
If for some reason jQuery is missing from your site, which is not commom, you can import that from a CDN.
|
264 |
+
</div>
|
265 |
+
<br>
|
266 |
+
<form
|
267 |
+
id="fifu_form_jquery"
|
268 |
+
action="javascript:void(0)"
|
269 |
+
method="post">
|
270 |
+
<table>
|
271 |
+
<tr>
|
272 |
+
<td>
|
273 |
+
<input
|
274 |
+
type="image"
|
275 |
+
href="javascript:void(0)"
|
276 |
+
id="fifu_toggle_jquery"
|
277 |
+
onclick="invert('jquery')"
|
278 |
+
name="fifu_toggle_jquery"
|
279 |
+
class="<?php echo $enable_jquery; ?>"
|
280 |
+
value=""
|
281 |
+
style="display:block">
|
282 |
+
<input
|
283 |
+
type="hidden"
|
284 |
+
id="fifu_input_jquery"
|
285 |
+
name="fifu_input_jquery"
|
286 |
+
value="" ></td>
|
287 |
+
<td>import jQuery from a CDN</td>
|
288 |
+
</tr>
|
289 |
+
</table>
|
290 |
+
</form>
|
291 |
+
</div>
|
292 |
</div>
|
293 |
<div id="tabs-b">
|
294 |
<div class="box">
|
773 |
<h2>Hover Effects</h2>
|
774 |
<div class="greybox" id="grad2">
|
775 |
<b>Premium feature</b><br><br>
|
776 |
+
Choose one among 18 hover effects to be applied to the external featured images of your posts/products on your homepage. <a href="https://featuredimagefromurl.com/hover-effects/">Live preview</a><br>
|
777 |
</div>
|
778 |
<br>
|
779 |
+
<select id="select_hover" style="width:30%">
|
780 |
<option value=""></option>
|
781 |
<option value="hover17">315 Degrees</option>
|
782 |
<option value="hover02">360 Degrees</option>
|
797 |
<option value="hover01">Zoom In</option>
|
798 |
<option value="hover03">Zoom Out</option>
|
799 |
</select>
|
800 |
+
|
801 |
+
<input id="fifu_input_hover_selector"
|
802 |
+
type="text"
|
803 |
+
name="fifu_input_hover_selector"
|
804 |
+
placeholder="CSS selectors (optional)"
|
805 |
+
value=""
|
806 |
+
style="width:50%">
|
807 |
+
|
808 |
<input type="submit" value="Submit" disabled>
|
809 |
</div>
|
810 |
|
2533 |
As you can see below, FIFU has its own WP All Import add-on now. So you don't need to buy/use ACF Add-On¹ anymore.
|
2534 |
<br/>
|
2535 |
<br/>
|
|
|
|
|
|
|
2536 |
<div id="tabsWpAllImport">
|
2537 |
<ul>
|
2538 |
<li><a href="#tabs-3">Importing products...</a></li>
|
2630 |
<th>
|
2631 |
1)
|
2632 |
</th>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2633 |
<th>
|
2634 |
<a href="http://www.wpallimport.com/documentation/woocommerce/variable-products/">Importing Variable Products to WooCommerce</a>
|
2635 |
</th>
|
2672 |
<div class="box">
|
2673 |
<table>
|
2674 |
<tr>
|
2675 |
+
<td style="border-bottom:none">2019-12-07</td>
|
2676 |
+
<td style="border-bottom:none"><h3>Bimber | Techwise</h3></td>
|
2677 |
+
<td style="border-bottom:none">themes</td>
|
2678 |
+
</tr>
|
2679 |
+
</table>
|
2680 |
+
<div class="greybox" style="position: relative; top: -10px">
|
2681 |
+
Avoiding external featured images overlay:<br>
|
2682 |
+
1) enable "FIFU settings > Featured Image > Save Image Dimensions > save and use image dimensions";<br>
|
2683 |
+
2) enable "save the image dimensions of all external featured images now" (it will be automatically disabled when finished).<br>
|
2684 |
+
</div>
|
2685 |
+
</div>
|
2686 |
+
<div class="box">
|
2687 |
+
<table>
|
2688 |
+
<tr>
|
2689 |
+
<td style="border-bottom:none">2019-12-01</td>
|
2690 |
+
<td style="border-bottom:none"><h3>jQuery</h3></td>
|
2691 |
+
<td style="border-bottom:none">JavaScript library</td>
|
2692 |
+
</tr>
|
2693 |
+
</table>
|
2694 |
+
<div class="greybox" style="position: relative; top: -10px">
|
2695 |
+
Solving "Uncaught ReferenceError: jQuery is not defined"<br>
|
2696 |
+
1) enable "FIFU settings > Admin Area > jQuery".<br>
|
2697 |
+
</div>
|
2698 |
+
</div>
|
2699 |
+
<div class="box">
|
2700 |
+
<table>
|
2701 |
+
<tr>
|
2702 |
+
<td style="border-bottom:none">2019-11-21</td>
|
2703 |
+
<td style="border-bottom:none"><h3>Jetpack</h3></td>
|
2704 |
<td style="border-bottom:none">plugin</td>
|
2705 |
</tr>
|
2706 |
</table>
|
2707 |
<div class="greybox" style="position: relative; top: -10px">
|
2708 |
+
Showing external images on "Related Posts":<br>
|
2709 |
+
x) There is no local solution. Jetpack Related Posts documentation informs: "we do all the analysis, processing, and serving from our cloud". It means Jetpack would need to adapt its web service to work with the images provided by FIFU. So you may contact Jetpack support or install an alternative plugin for Related Posts, like <a href="https://wordpress.org/plugins/related-posts-thumbnails/">this</a>.<br>
|
|
|
|
|
|
|
2710 |
</div>
|
2711 |
</div>
|
2712 |
<div class="box">
|
2713 |
<table>
|
2714 |
<tr>
|
2715 |
+
<td style="border-bottom:none">2019-11-17</td>
|
2716 |
+
<td style="border-bottom:none"><h3>WP All Import</h3></td>
|
2717 |
+
<td style="border-bottom:none">plugin</td>
|
2718 |
</tr>
|
2719 |
</table>
|
2720 |
<div class="greybox" style="position: relative; top: -10px">
|
2721 |
+
Avoiding updates on unchanged image data:<br>
|
2722 |
+
1) access "WP All Import > Import Settings";<br>
|
2723 |
+
2) select "Update existing posts/products with changed data in your file > Choose which data to update";<br>
|
2724 |
+
3) uncheck "Images" (otherwise WP All Import will delete the image metadata and FIFU will need to create that again);<br>
|
2725 |
+
4) select "Custom Fields > Update only these Custom Fields, leave the rest alone".<br>
|
2726 |
</div>
|
2727 |
+
</div>
|
2728 |
<div class="box">
|
2729 |
<table>
|
2730 |
<tr>
|
2927 |
fifu_image_width_post:<?php echo $max_image_width_post ?>;
|
2928 |
fifu_image_width_prod:<?php echo $max_image_width_prod ?>;
|
2929 |
fifu_image_width_shop:<?php echo $max_image_width_shop ?>;
|
2930 |
+
fifu_jquery:<?php echo $enable_jquery ?>;
|
2931 |
fifu_lazy:<?php echo $enable_lazy ?>;
|
2932 |
fifu_media_library:<?php echo $enable_media_library ?>;
|
2933 |
fifu_original:<?php echo $enable_original ?>;
|
admin/html/meta-box.html
CHANGED
@@ -25,7 +25,7 @@
|
|
25 |
<input id="fifu_input_url"
|
26 |
type="text"
|
27 |
name="fifu_input_url"
|
28 |
-
placeholder="URL"
|
29 |
value="<?php echo $url; ?>"
|
30 |
style="<?php echo $width, $margin ?>" />
|
31 |
|
@@ -61,7 +61,7 @@
|
|
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: FIFU
|
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);
|
25 |
<input id="fifu_input_url"
|
26 |
type="text"
|
27 |
name="fifu_input_url"
|
28 |
+
placeholder="Image URL"
|
29 |
value="<?php echo $url; ?>"
|
30 |
style="<?php echo $width, $margin ?>" />
|
31 |
|
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: FIFU <a href='admin.php?page=featured-image-from-url#tabs-p'>add-on</a> for <b>WP All Import</b>.</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);
|
admin/menu.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
define('FIFU_SETTINGS', serialize(array('fifu_social', 'fifu_original', 'fifu_lazy', 'fifu_media_library', 'fifu_content', 'fifu_content_page', 'fifu_enable_default_url', 'fifu_fake', 'fifu_fake2', 'fifu_css', 'fifu_default_url', 'fifu_wc_lbox', 'fifu_wc_zoom', 'fifu_hide_page', 'fifu_hide_post', 'fifu_class', 'fifu_get_first', 'fifu_pop_first', 'fifu_ovw_first', 'fifu_query_strings', 'fifu_column_height', 'fifu_grid_category', 'fifu_auto_alt', 'fifu_dynamic_alt', 'fifu_data_generation', 'fifu_data_clean', 'fifu_image_height_shop', 'fifu_image_width_shop', 'fifu_image_height_prod', 'fifu_image_width_prod', 'fifu_image_height_cart', 'fifu_image_width_cart', 'fifu_image_height_ctgr', 'fifu_image_width_ctgr', 'fifu_image_height_arch', 'fifu_image_width_arch', 'fifu_image_height_home', 'fifu_image_width_home', 'fifu_image_height_page', 'fifu_image_width_page', 'fifu_image_height_post', 'fifu_image_width_post', 'fifu_save_dimensions', 'fifu_save_dimensions_redirect', 'fifu_save_dimensions_all', 'fifu_clean_dimensions_all')));
|
4 |
|
5 |
add_action('admin_menu', 'fifu_insert_menu');
|
6 |
|
@@ -28,6 +28,7 @@ function fifu_get_menu_html() {
|
|
28 |
$enable_social = get_option('fifu_social');
|
29 |
$enable_original = get_option('fifu_original');
|
30 |
$enable_lazy = get_option('fifu_lazy');
|
|
|
31 |
$enable_media_library = get_option('fifu_media_library');
|
32 |
$enable_content = get_option('fifu_content');
|
33 |
$enable_content_page = get_option('fifu_content_page');
|
@@ -128,6 +129,7 @@ function fifu_update_menu_options() {
|
|
128 |
fifu_update_option('fifu_input_social', 'fifu_social');
|
129 |
fifu_update_option('fifu_input_original', 'fifu_original');
|
130 |
fifu_update_option('fifu_input_lazy', 'fifu_lazy');
|
|
|
131 |
fifu_update_option('fifu_input_media_library', 'fifu_media_library');
|
132 |
fifu_update_option('fifu_input_content', 'fifu_content');
|
133 |
fifu_update_option('fifu_input_content_page', 'fifu_content_page');
|
1 |
<?php
|
2 |
|
3 |
+
define('FIFU_SETTINGS', serialize(array('fifu_social', 'fifu_original', 'fifu_lazy', 'fifu_jquery', 'fifu_media_library', 'fifu_content', 'fifu_content_page', 'fifu_enable_default_url', 'fifu_fake', 'fifu_fake2', 'fifu_css', 'fifu_default_url', 'fifu_wc_lbox', 'fifu_wc_zoom', 'fifu_hide_page', 'fifu_hide_post', 'fifu_class', 'fifu_get_first', 'fifu_pop_first', 'fifu_ovw_first', 'fifu_query_strings', 'fifu_column_height', 'fifu_grid_category', 'fifu_auto_alt', 'fifu_dynamic_alt', 'fifu_data_generation', 'fifu_data_clean', 'fifu_image_height_shop', 'fifu_image_width_shop', 'fifu_image_height_prod', 'fifu_image_width_prod', 'fifu_image_height_cart', 'fifu_image_width_cart', 'fifu_image_height_ctgr', 'fifu_image_width_ctgr', 'fifu_image_height_arch', 'fifu_image_width_arch', 'fifu_image_height_home', 'fifu_image_width_home', 'fifu_image_height_page', 'fifu_image_width_page', 'fifu_image_height_post', 'fifu_image_width_post', 'fifu_save_dimensions', 'fifu_save_dimensions_redirect', 'fifu_save_dimensions_all', 'fifu_clean_dimensions_all')));
|
4 |
|
5 |
add_action('admin_menu', 'fifu_insert_menu');
|
6 |
|
28 |
$enable_social = get_option('fifu_social');
|
29 |
$enable_original = get_option('fifu_original');
|
30 |
$enable_lazy = get_option('fifu_lazy');
|
31 |
+
$enable_jquery = get_option('fifu_jquery');
|
32 |
$enable_media_library = get_option('fifu_media_library');
|
33 |
$enable_content = get_option('fifu_content');
|
34 |
$enable_content_page = get_option('fifu_content_page');
|
129 |
fifu_update_option('fifu_input_social', 'fifu_social');
|
130 |
fifu_update_option('fifu_input_original', 'fifu_original');
|
131 |
fifu_update_option('fifu_input_lazy', 'fifu_lazy');
|
132 |
+
fifu_update_option('fifu_input_jquery', 'fifu_jquery');
|
133 |
fifu_update_option('fifu_input_media_library', 'fifu_media_library');
|
134 |
fifu_update_option('fifu_input_content', 'fifu_content');
|
135 |
fifu_update_option('fifu_input_content_page', 'fifu_content_page');
|
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.7.
|
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.7.3
|
8 |
* Author: Marcel Jacques Machado
|
9 |
* Author URI: https://www.linkedin.com/in/marceljm/
|
10 |
*/
|
includes/attachment.php
CHANGED
@@ -120,7 +120,7 @@ function fifu_is_internal_image($image) {
|
|
120 |
}
|
121 |
|
122 |
function fifu_get_internal_image_path() {
|
123 |
-
return
|
124 |
}
|
125 |
|
126 |
add_filter('wp_get_attachment_metadata', 'fifu_filter_wp_get_attachment_metadata', 10, 2);
|
120 |
}
|
121 |
|
122 |
function fifu_get_internal_image_path() {
|
123 |
+
return explode("//", get_home_url())[1] . "/wp-content/uploads/";
|
124 |
}
|
125 |
|
126 |
add_filter('wp_get_attachment_metadata', 'fifu_filter_wp_get_attachment_metadata', 10, 2);
|
includes/html/jquery.html
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
|
includes/thumbnail.php
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
<?php
|
2 |
|
|
|
3 |
add_filter('wp_head', 'fifu_add_js');
|
4 |
add_filter('wp_head', 'fifu_add_social_tags');
|
5 |
add_filter('wp_head', 'fifu_apply_css');
|
@@ -23,6 +24,11 @@ function fifu_add_social_tags() {
|
|
23 |
include 'html/social.html';
|
24 |
}
|
25 |
|
|
|
|
|
|
|
|
|
|
|
26 |
function fifu_apply_css() {
|
27 |
if (fifu_is_off('fifu_wc_lbox'))
|
28 |
echo '<style>[class$="woocommerce-product-gallery__trigger"] {display:none !important;}</style>';
|
1 |
<?php
|
2 |
|
3 |
+
add_filter('wp_head', 'fifu_add_jquery');
|
4 |
add_filter('wp_head', 'fifu_add_js');
|
5 |
add_filter('wp_head', 'fifu_add_social_tags');
|
6 |
add_filter('wp_head', 'fifu_apply_css');
|
24 |
include 'html/social.html';
|
25 |
}
|
26 |
|
27 |
+
function fifu_add_jquery() {
|
28 |
+
if (fifu_is_on('fifu_jquery'))
|
29 |
+
include 'html/jquery.html';
|
30 |
+
}
|
31 |
+
|
32 |
function fifu_apply_css() {
|
33 |
if (fifu_is_off('fifu_wc_lbox'))
|
34 |
echo '<style>[class$="woocommerce-product-gallery__trigger"] {display:none !important;}</style>';
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
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, seo, variable, tumblr, variation, product variation, shortcode, facebook, instagram, imgur, 9gag, wcfm, add-on
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.4
|
7 |
-
Stable tag: 2.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 |
= 2.7.2 =
|
163 |
* New feature: FIFU has its own WP All Import add-on now. ACF add-on is not required anymore.
|
164 |
|
@@ -645,6 +648,9 @@ was removed. To finish, a Premium version is now been presented.
|
|
645 |
|
646 |
== Upgrade Notice ==
|
647 |
|
|
|
|
|
|
|
648 |
= 2.7.2 =
|
649 |
* New feature: FIFU has its own WP All Import add-on now. ACF add-on is not required anymore.
|
650 |
|
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, seo, variable, tumblr, variation, product variation, shortcode, facebook, instagram, imgur, 9gag, wcfm, add-on
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.4
|
7 |
+
Stable tag: 2.7.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
159 |
|
160 |
== Changelog ==
|
161 |
|
162 |
+
= 2.7.3 =
|
163 |
+
* New feature: Settings > Admin Area > jQuery; bug fix: Copy Link was wrong in some sites.
|
164 |
+
|
165 |
= 2.7.2 =
|
166 |
* New feature: FIFU has its own WP All Import add-on now. ACF add-on is not required anymore.
|
167 |
|
648 |
|
649 |
== Upgrade Notice ==
|
650 |
|
651 |
+
= 2.7.3 =
|
652 |
+
* New feature: Settings > Admin Area > jQuery; bug fix: Copy Link was wrong in some sites.
|
653 |
+
|
654 |
= 2.7.2 =
|
655 |
* New feature: FIFU has its own WP All Import add-on now. ACF add-on is not required anymore.
|
656 |
|