Featured Image From URL - Version 3.9.5

Version Description

  • New option: Autoplay > on home; fix: FIFU Column (no title on Screen Options).
Download this release

Release Info

Developer marceljm
Plugin Icon 128x128 Featured Image From URL
Version 3.9.5
Comparing to
See all releases

Code changes from version 3.9.4 to 3.9.5

admin/column.php CHANGED
@@ -42,7 +42,7 @@ function fifu_admin_add_css_js() {
42
  function fifu_column_head($default) {
43
  $fifu = fifu_get_strings_quick_edit();
44
  $height = get_option('fifu_column_height');
45
- $default['featured_image'] = "<center style='max-width:{$height}px'><span class='dashicons dashicons-camera' style='font-size:20px; cursor:help;' title='{$fifu['tip']['column']()}'></span></center>";
46
  return $default;
47
  }
48
 
42
  function fifu_column_head($default) {
43
  $fifu = fifu_get_strings_quick_edit();
44
  $height = get_option('fifu_column_height');
45
+ $default['featured_image'] = "<center style='max-width:{$height}px;min-width:{$height}px'><span class='dashicons dashicons-camera' style='font-size:20px; cursor:help;' title='{$fifu['tip']['column']()}'></span><div style='display:none'>FIFU</div></center>";
46
  return $default;
47
  }
48
 
admin/db.php CHANGED
@@ -130,7 +130,7 @@ class FifuDb {
130
  );
131
  }
132
 
133
- // has attachment created bu FIFU
134
  function is_fifu_attachment($att_id) {
135
  return $this->wpdb->get_row("
136
  SELECT 1
130
  );
131
  }
132
 
133
+ // has attachment created by FIFU
134
  function is_fifu_attachment($att_id) {
135
  return $this->wpdb->get_row("
136
  SELECT 1
admin/html/menu.html CHANGED
@@ -1546,14 +1546,33 @@
1546
  <th>
1547
  <?php $fifu['title']['autoplay']() ?>
1548
  </th>
1549
- <th></th>
 
 
1550
  <th>
1551
  wp fifu video --autoplay &lt;toggle&gt;
1552
  </th>
1553
  <th>
1554
  on, off
1555
  </th>
1556
- </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1557
  <tr class="color">
1558
  <th>
1559
  <?php $fifu['tab']['video']() ?>
@@ -4233,6 +4252,22 @@
4233
  value=""
4234
  style="display:block;border:none">
4235
  </th>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4236
  </tr>
4237
  </table>
4238
  </div>
1546
  <th>
1547
  <?php $fifu['title']['autoplay']() ?>
1548
  </th>
1549
+ <th>
1550
+ <?php $fifu['where']['single']() ?>
1551
+ </th>
1552
  <th>
1553
  wp fifu video --autoplay &lt;toggle&gt;
1554
  </th>
1555
  <th>
1556
  on, off
1557
  </th>
1558
+ </tr>
1559
+ <tr class="color">
1560
+ <th>
1561
+ <?php $fifu['tab']['video']() ?>
1562
+ </th>
1563
+ <th>
1564
+ <?php $fifu['title']['autoplay']() ?>
1565
+ </th>
1566
+ <th>
1567
+ <?php $fifu['where']['home']() ?>
1568
+ </th>
1569
+ <th>
1570
+ wp fifu video --autoplay-front &lt;toggle&gt;
1571
+ </th>
1572
+ <th>
1573
+ on, off
1574
+ </th>
1575
+ </tr>
1576
  <tr class="color">
1577
  <th>
1578
  <?php $fifu['tab']['video']() ?>
4252
  value=""
4253
  style="display:block;border:none">
4254
  </th>
4255
+ <th>
4256
+ <?php $fifu['where']['single']() ?>
4257
+ </th>
4258
+ </tr>
4259
+ <tr>
4260
+ <th>
4261
+ <input
4262
+ type="submit"
4263
+ href="javascript:void(0)"
4264
+ class="toggleoff"
4265
+ value=""
4266
+ style="display:block;border:none">
4267
+ </th>
4268
+ <th>
4269
+ <?php $fifu['where']['home']() ?>
4270
+ </th>
4271
  </tr>
4272
  </table>
4273
  </div>
admin/strings.php CHANGED
@@ -117,6 +117,9 @@ function fifu_get_strings_settings() {
117
  $fifu['where']['home'] = function() {
118
  _e("on home (or shop)", FIFU_SLUG);
119
  };
 
 
 
120
 
121
  // player
122
  $fifu['player']['youtube'] = function() {
117
  $fifu['where']['home'] = function() {
118
  _e("on home (or shop)", FIFU_SLUG);
119
  };
120
+ $fifu['where']['single'] = function() {
121
+ _e("on single post types", FIFU_SLUG);
122
+ };
123
 
124
  // player
125
  $fifu['player']['youtube'] = function() {
featured-image-from-url.php CHANGED
@@ -4,11 +4,11 @@
4
  * Plugin Name: Featured Image from URL (FIFU)
5
  * Plugin URI: https://fifu.app/
6
  * Description: Use an external image/video as featured image/video of a post or WooCommerce product.
7
- * Version: 3.9.4
8
  * Author: fifu.app
9
  * Author URI: https://fifu.app/
10
  * WC requires at least: 4.0
11
- * WC tested up to: 6.4.1
12
  * Text Domain: featured-image-from-url
13
  * License: GPLv3
14
  * License URI: https://www.gnu.org/licenses/gpl-3.0.html
4
  * Plugin Name: Featured Image from URL (FIFU)
5
  * Plugin URI: https://fifu.app/
6
  * Description: Use an external image/video as featured image/video of a post or WooCommerce product.
7
+ * Version: 3.9.5
8
  * Author: fifu.app
9
  * Author URI: https://fifu.app/
10
  * WC requires at least: 4.0
11
+ * WC tested up to: 6.5.1
12
  * Text Domain: featured-image-from-url
13
  * License: GPLv3
14
  * License URI: https://www.gnu.org/licenses/gpl-3.0.html
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: marceljm
3
  Donate link: https://donorbox.org/fifu
4
  Tags: featured, image, url, video, woocommerce
5
  Requires at least: 5.3
6
- Tested up to: 5.9.3
7
- Stable tag: 3.9.4
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -227,20 +227,20 @@ Featured Image, Figurë e Zgjedhur, Image mise en avant, Uitgelichte afbeelding,
227
 
228
  == Changelog ==
229
 
 
 
 
230
  = 3.9.4 =
231
  * New feature: Video Controls; enhancement: CDN + Optimized Thumbnails (works on Product Categories page now); deprecated: Black Background; fix: Quick Edit Column (style issues).
232
 
233
  = 3.9.3 =
234
  * Enhancement: Featured Video (supports VideoPress now); fix: Social Tags (were being added to the front page); fix: conflict with Rank Math SEO plugin.
235
 
236
- = 3.9.2 =
237
- * News: FIFU Cloud (Smart Crop, Hotlink Protection and Pricing).
238
-
239
  = others =
240
  * [more](https://fifu.app/changelog)
241
 
242
 
243
  == Upgrade Notice ==
244
 
245
- = 3.9.4 =
246
- * New feature: Video Controls; enhancement: CDN + Optimized Thumbnails (works on Product Categories page now); deprecated: Black Background; fix: Quick Edit Column (style issues).
3
  Donate link: https://donorbox.org/fifu
4
  Tags: featured, image, url, video, woocommerce
5
  Requires at least: 5.3
6
+ Tested up to: 6.0
7
+ Stable tag: 3.9.5
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
227
 
228
  == Changelog ==
229
 
230
+ = 3.9.5 =
231
+ * New option: Autoplay > on home; fix: FIFU Column (no title on Screen Options).
232
+
233
  = 3.9.4 =
234
  * New feature: Video Controls; enhancement: CDN + Optimized Thumbnails (works on Product Categories page now); deprecated: Black Background; fix: Quick Edit Column (style issues).
235
 
236
  = 3.9.3 =
237
  * Enhancement: Featured Video (supports VideoPress now); fix: Social Tags (were being added to the front page); fix: conflict with Rank Math SEO plugin.
238
 
 
 
 
239
  = others =
240
  * [more](https://fifu.app/changelog)
241
 
242
 
243
  == Upgrade Notice ==
244
 
245
+ = 3.9.5 =
246
+ * New option: Autoplay > on home; fix: FIFU Column (no title on Screen Options).