Version Description
- Shortcode (premium feature) introduced on FIFU settings.
Download this release
Release Info
Developer | marceljm |
Plugin | Featured Image From URL |
Version | 1.9.10 |
Comparing to | |
See all releases |
Code changes from version 1.9.9 to 1.9.10
- admin/html/menu.html +155 -4
- featured-image-from-url.php +1 -1
- readme.txt +6 -0
admin/html/menu.html
CHANGED
@@ -666,7 +666,7 @@
|
|
666 |
|
667 |
<div id="accordionCrop">
|
668 |
|
669 |
-
<h3
|
670 |
<div>
|
671 |
<input
|
672 |
type="image"
|
@@ -678,7 +678,7 @@
|
|
678 |
P.S.: if the crop doesn't work, use a Selector to inform where is the group of external images that you want to crop.
|
679 |
</div>
|
680 |
|
681 |
-
<h3
|
682 |
<div>
|
683 |
Examples of valid selectors: <b>#</b><i>products</i> (if the element <b>id</b>="<i>products</i>"), <b>.</b><i>my-post-area</i> (if the element <b>class</b>="<i>my-post-area</i>")
|
684 |
<br>
|
@@ -916,7 +916,7 @@
|
|
916 |
<div class="greybox" id="grad2">
|
917 |
<b>Premium feature</b><br><br>
|
918 |
<div id="accordion">
|
919 |
-
<h3
|
920 |
<div>
|
921 |
<ol>
|
922 |
<li>It's free;</li>
|
@@ -925,7 +925,7 @@
|
|
925 |
<li>Creates automatic copies of your images in <b>many different sizes.</b></li>
|
926 |
</ol>
|
927 |
</div>
|
928 |
-
<h3
|
929 |
<div>
|
930 |
Smaller the images, faster your site.<br><br> So the plugin will load the images from Flickr in the exactly size your site needs.
|
931 |
And the result is...<br><br>
|
@@ -1018,12 +1018,126 @@
|
|
1018 |
<input type="submit" value="Submit" disabled>
|
1019 |
</div>
|
1020 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1021 |
<div class="box">
|
1022 |
<h2>Slider Settings</h2>
|
1023 |
<div class="greybox" id="grad2">
|
1024 |
<b>Premium feature</b><br><br>
|
1025 |
Once you have added the first external image on a post/page/product, the slider meta box will show up. Adding more external images, you have a slider and you can define its settings here.<br><br>
|
1026 |
<table style="text-align:left">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1027 |
<tr>
|
1028 |
<th>
|
1029 |
<input
|
@@ -1122,6 +1236,43 @@
|
|
1122 |
value="" style="display:block">
|
1123 |
</div>
|
1124 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1125 |
<div class="box">
|
1126 |
<h2>Video Auto Play</h2>
|
1127 |
<div class="greybox" id="grad2">
|
666 |
|
667 |
<div id="accordionCrop">
|
668 |
|
669 |
+
<h3>  crop images</h3>
|
670 |
<div>
|
671 |
<input
|
672 |
type="image"
|
678 |
P.S.: if the crop doesn't work, use a Selector to inform where is the group of external images that you want to crop.
|
679 |
</div>
|
680 |
|
681 |
+
<h3>  inform a Selector</h3>
|
682 |
<div>
|
683 |
Examples of valid selectors: <b>#</b><i>products</i> (if the element <b>id</b>="<i>products</i>"), <b>.</b><i>my-post-area</i> (if the element <b>class</b>="<i>my-post-area</i>")
|
684 |
<br>
|
916 |
<div class="greybox" id="grad2">
|
917 |
<b>Premium feature</b><br><br>
|
918 |
<div id="accordion">
|
919 |
+
<h3>  Do you know Flickr?</h3>
|
920 |
<div>
|
921 |
<ol>
|
922 |
<li>It's free;</li>
|
925 |
<li>Creates automatic copies of your images in <b>many different sizes.</b></li>
|
926 |
</ol>
|
927 |
</div>
|
928 |
+
<h3>  How does Featured Image From URL take advantage of Flickr?</h3>
|
929 |
<div>
|
930 |
Smaller the images, faster your site.<br><br> So the plugin will load the images from Flickr in the exactly size your site needs.
|
931 |
And the result is...<br><br>
|
1018 |
<input type="submit" value="Submit" disabled>
|
1019 |
</div>
|
1020 |
|
1021 |
+
<div class="box">
|
1022 |
+
|
1023 |
+
<h2>Shortcode (beta feature)</h2>
|
1024 |
+
|
1025 |
+
<div class="greybox" id="grad2">
|
1026 |
+
<b>Premium feature</b><br><br>
|
1027 |
+
|
1028 |
+
This experimental feature allows to use a shortcode as "featured image" of posts/pages/products. Using shortcodes you are not limited to images/videos/sliders anymore. You can use any content provided by the shortcode, what could be a music, a text, a whole site etc. However, some contents will need a large area of your site to be shown properly. So you should define a minimum width that an area of your site should have to be able to show the shortcode content, otherwise it will be shown the regular featured image. Important: shortcodes can be not compatible with other FIFU features, such as CSS Style and Crop Image.
|
1029 |
+
|
1030 |
+
</div>
|
1031 |
+
|
1032 |
+
<br>
|
1033 |
+
|
1034 |
+
<table style="text-align:left">
|
1035 |
+
<tr>
|
1036 |
+
<th>
|
1037 |
+
<form
|
1038 |
+
id="fifu_form_shortcode"
|
1039 |
+
action="javascript:void(0)"
|
1040 |
+
method="post">
|
1041 |
+
|
1042 |
+
<input
|
1043 |
+
type="image"
|
1044 |
+
href="javascript:void(0)"
|
1045 |
+
id="fifu_toggle_shortcode"
|
1046 |
+
onclick="javascript:void(0)"
|
1047 |
+
name="fifu_toggle_shortcode"
|
1048 |
+
class="toggleoff"
|
1049 |
+
value=""
|
1050 |
+
style="display:block">
|
1051 |
+
|
1052 |
+
<input
|
1053 |
+
type="hidden"
|
1054 |
+
id="fifu_input_shortcode"
|
1055 |
+
name="fifu_input_shortcode"
|
1056 |
+
value="" >
|
1057 |
+
</form>
|
1058 |
+
</th>
|
1059 |
+
<th>
|
1060 |
+
shortcode
|
1061 |
+
</th>
|
1062 |
+
</tr>
|
1063 |
+
<tr>
|
1064 |
+
<th>
|
1065 |
+
|
1066 |
+
<form
|
1067 |
+
id="fifu_form_shortcode_min_width"
|
1068 |
+
action="javascript:void(0)"
|
1069 |
+
method="post">
|
1070 |
+
|
1071 |
+
<input id="fifu_input_shortcode_min_width"
|
1072 |
+
size=1
|
1073 |
+
type="text"
|
1074 |
+
name="fifu_input_shortcode_min_width"
|
1075 |
+
value="">
|
1076 |
+
|
1077 |
+
<input type="submit" value="OK" >
|
1078 |
+
</form>
|
1079 |
+
</th>
|
1080 |
+
<th>
|
1081 |
+
minimum width required (px)
|
1082 |
+
</th>
|
1083 |
+
</tr>
|
1084 |
+
<tr>
|
1085 |
+
<th>
|
1086 |
+
|
1087 |
+
<form
|
1088 |
+
id="fifu_form_shortcode_max_height"
|
1089 |
+
action="javascript:void(0)"
|
1090 |
+
method="post">
|
1091 |
+
|
1092 |
+
<input id="fifu_input_shortcode_max_height"
|
1093 |
+
size=1
|
1094 |
+
type="text"
|
1095 |
+
name="fifu_input_shortcode_max_height"
|
1096 |
+
value="">
|
1097 |
+
|
1098 |
+
<input type="submit" value="OK" >
|
1099 |
+
</form>
|
1100 |
+
</th>
|
1101 |
+
<th>
|
1102 |
+
maximum height (px)
|
1103 |
+
</th>
|
1104 |
+
</tr>
|
1105 |
+
</table>
|
1106 |
+
|
1107 |
+
</div>
|
1108 |
+
|
1109 |
<div class="box">
|
1110 |
<h2>Slider Settings</h2>
|
1111 |
<div class="greybox" id="grad2">
|
1112 |
<b>Premium feature</b><br><br>
|
1113 |
Once you have added the first external image on a post/page/product, the slider meta box will show up. Adding more external images, you have a slider and you can define its settings here.<br><br>
|
1114 |
<table style="text-align:left">
|
1115 |
+
<tr>
|
1116 |
+
<th>
|
1117 |
+
<form
|
1118 |
+
id="fifu_form_slider"
|
1119 |
+
action="javascript:void(0)"
|
1120 |
+
method="post">
|
1121 |
+
<input
|
1122 |
+
type="image"
|
1123 |
+
href="javascript:void(0)"
|
1124 |
+
id="fifu_toggle_slider"
|
1125 |
+
onclick="javascript:void(0)"
|
1126 |
+
name="fifu_toggle_slider"
|
1127 |
+
class="toggleoff"
|
1128 |
+
value="">
|
1129 |
+
|
1130 |
+
<input
|
1131 |
+
type="hidden"
|
1132 |
+
id="fifu_input_slider"
|
1133 |
+
name="fifu_input_slider"
|
1134 |
+
value="" >
|
1135 |
+
</form>
|
1136 |
+
</th>
|
1137 |
+
<th>
|
1138 |
+
slider
|
1139 |
+
</th>
|
1140 |
+
</tr>
|
1141 |
<tr>
|
1142 |
<th>
|
1143 |
<input
|
1236 |
value="" style="display:block">
|
1237 |
</div>
|
1238 |
|
1239 |
+
<div class="box">
|
1240 |
+
|
1241 |
+
<h2>Video</h2>
|
1242 |
+
|
1243 |
+
<div class="greybox" id="grad2">
|
1244 |
+
<b>Premium feature</b><br><br>
|
1245 |
+
|
1246 |
+
Enable video meta box. If you are not using videos as featured images, you can disable this feature and make your site a little faster.
|
1247 |
+
|
1248 |
+
</div>
|
1249 |
+
|
1250 |
+
<br>
|
1251 |
+
|
1252 |
+
<form
|
1253 |
+
id="fifu_form_video"
|
1254 |
+
action="javascript:void(0)"
|
1255 |
+
method="post">
|
1256 |
+
|
1257 |
+
<input
|
1258 |
+
type="image"
|
1259 |
+
href="javascript:void(0)"
|
1260 |
+
id="fifu_toggle_video"
|
1261 |
+
onclick="javascript:void(0)"
|
1262 |
+
name="fifu_toggle_video"
|
1263 |
+
class="toggleoff"
|
1264 |
+
value=""
|
1265 |
+
style="display:block">
|
1266 |
+
|
1267 |
+
<input
|
1268 |
+
type="hidden"
|
1269 |
+
id="fifu_input_video"
|
1270 |
+
name="fifu_input_video"
|
1271 |
+
value="" >
|
1272 |
+
</form>
|
1273 |
+
|
1274 |
+
</div>
|
1275 |
+
|
1276 |
<div class="box">
|
1277 |
<h2>Video Auto Play</h2>
|
1278 |
<div class="greybox" id="grad2">
|
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: 1.9.
|
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: 1.9.10
|
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 |
= 1.9.9 =
|
163 |
* "Featured Image in Content" can be enabled/disabled for pages/posts individually now.
|
164 |
|
@@ -414,6 +417,9 @@ was removed. To finish, a Premium version is now been presented.
|
|
414 |
|
415 |
== Upgrade Notice ==
|
416 |
|
|
|
|
|
|
|
417 |
= 1.9.9 =
|
418 |
* "Featured Image in Content" can be enabled/disabled for pages/posts individually now.
|
419 |
|
159 |
|
160 |
== Changelog ==
|
161 |
|
162 |
+
= 1.9.10 =
|
163 |
+
* Shortcode (premium feature) introduced on FIFU settings.
|
164 |
+
|
165 |
= 1.9.9 =
|
166 |
* "Featured Image in Content" can be enabled/disabled for pages/posts individually now.
|
167 |
|
417 |
|
418 |
== Upgrade Notice ==
|
419 |
|
420 |
+
= 1.9.10 =
|
421 |
+
* Shortcode (premium feature) introduced on FIFU settings.
|
422 |
+
|
423 |
= 1.9.9 =
|
424 |
* "Featured Image in Content" can be enabled/disabled for pages/posts individually now.
|
425 |
|