Featured Image From URL - Version 3.6.1

Version Description

  • New: FIFU widgets for WordPress and Elementor.
Download this release

Release Info

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

Code changes from version 3.6.0 to 3.6.1

admin/db.php CHANGED
@@ -99,6 +99,9 @@ class FifuDb {
99
 
100
  // insert 1 _wp_attachment_image_alt for each attachment
101
  function insert_attachment_meta_alt($ids, $is_ctgr) {
 
 
 
102
  $ctgr_sql = $is_ctgr ? "AND p.post_name LIKE 'fifu-category%'" : "";
103
 
104
  $this->wpdb->get_results("
99
 
100
  // insert 1 _wp_attachment_image_alt for each attachment
101
  function insert_attachment_meta_alt($ids, $is_ctgr) {
102
+ if (fifu_is_off('fifu_auto_alt'))
103
+ return;
104
+
105
  $ctgr_sql = $is_ctgr ? "AND p.post_name LIKE 'fifu-category%'" : "";
106
 
107
  $this->wpdb->get_results("
admin/html/css/menu.css CHANGED
@@ -80,9 +80,9 @@ tr.color:nth-child(even) {
80
  }
81
 
82
  #grad2 {
83
- border: 1px dotted red;
84
  border-radius: 1px;
85
- border-radius: 15px 15px 15px 15px;
86
  }
87
 
88
  /* table */
80
  }
81
 
82
  #grad2 {
83
+ /* border: 1px dotted #aa1919;
84
  border-radius: 1px;
85
+ border-radius: 15px 15px 15px 15px; */
86
  }
87
 
88
  /* table */
admin/html/css/pro.css ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ div.fifu-pro-out {
2
+ width: 54px;
3
+ }
4
+
5
+ a.fifu-pro-link {
6
+ text-decoration: none;
7
+ }
8
+
9
+ .fifu-pro-text {
10
+ background-color:#aa1919;
11
+ color:white;
12
+ font-size:13px;
13
+ border-radius:4px;
14
+ padding-top:2px;
15
+ padding-left:2px;
16
+ }
17
+
18
+ span.fifu-pro-icon {
19
+ font-size:15px;
20
+ }
admin/html/menu.html CHANGED
@@ -1,7 +1,7 @@
1
  <div class="wrap" style="opacity:0">
2
 
3
  <div class="header-box">
4
- <h1 style="color:white;padding-left:20px"><span class="dashicons dashicons-camera" style="font-size:30px"></span><span style="padding-left:20px">featured image from url 3</span></h1>
5
  <a href="https://chrome.google.com/webstore/detail/fifu-scraper/pccimcccbkdeeadhejdmnffmllpicola" target="_blank"><img class="fifu-chrome" src="https://storage.googleapis.com/featuredimagefromurl/chrome-web-store2.png" title="<?php $fifu['chrome']['link']() ?>"/></a>
6
  </div>
7
 
@@ -1993,7 +1993,7 @@
1993
  </div>
1994
 
1995
  <div id="tabsContent-b">
1996
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey; position: relative; top: -40px">premium</a></div>
1997
  <div class="greybox" id="grad2">
1998
  <div id="tabsContentAll">
1999
  <ul>
@@ -2054,7 +2054,7 @@
2054
  </div>
2055
 
2056
  <div class="box">
2057
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
2058
  <h2><?php $fifu['title']['auto']() ?> </span></h2>
2059
  <div class="greybox" id="grad2">
2060
  <?php $fifu['auto']['desc']() ?>
@@ -2135,7 +2135,7 @@
2135
  </div>
2136
 
2137
  <div class="box">
2138
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
2139
  <h2><?php $fifu['title']['isbn']() ?> </span></h2>
2140
  <div class="greybox" id="grad2">
2141
  <?php $fifu['isbn']['desc']() ?>
@@ -2156,7 +2156,7 @@
2156
  </div>
2157
 
2158
  <div class="box">
2159
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
2160
  <h2><?php $fifu['title']['screenshot']() ?> </span></h2>
2161
  <div class="greybox" id="grad2">
2162
  <?php $fifu['screenshot']['desc']() ?>
@@ -2208,7 +2208,7 @@
2208
  </div>
2209
 
2210
  <div class="box">
2211
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
2212
  <h2><?php $fifu['title']['finder']() ?> </span></h2>
2213
  <div class="greybox" id="grad2">
2214
  <?php $fifu['finder']['desc']() ?>
@@ -2534,7 +2534,7 @@
2534
  </div>
2535
 
2536
  <div class="box">
2537
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
2538
 
2539
  <h2><?php $fifu['title']['media']() ?></h2>
2540
 
@@ -2580,7 +2580,7 @@
2580
  </div>
2581
 
2582
  <div class="box">
2583
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
2584
  <h2><?php $fifu['title']['height']() ?></h2>
2585
  <div class="greybox" id="grad2">
2586
  <?php $fifu['height']['desc']() ?>
@@ -2760,7 +2760,7 @@
2760
  </div>
2761
 
2762
  <div class="box">
2763
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
2764
  <h2><?php $fifu['title']['replace']() ?></h2>
2765
  <div class="greybox" id="grad2">
2766
  <?php $fifu['replace']['desc']() ?>
@@ -2776,7 +2776,7 @@
2776
  </div>
2777
 
2778
  <div class="box">
2779
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
2780
  <h2><?php $fifu['title']['hover']() ?></h2>
2781
  <div class="greybox" id="grad2">
2782
  <?php $fifu['hover']['desc']() ?>
@@ -2815,7 +2815,7 @@
2815
  </div>
2816
 
2817
  <div class="box">
2818
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
2819
  <h2><?php $fifu['title']['giphy']() ?></h2>
2820
  <div class="greybox" id="grad2">
2821
  <?php $fifu['giphy']['desc']() ?>
@@ -2836,7 +2836,7 @@
2836
  </div>
2837
 
2838
  <div class="box">
2839
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
2840
  <h2><?php $fifu['title']['validation']() ?></h2>
2841
  <div class="greybox" id="grad2">
2842
  <?php $fifu['validation']['desc']() ?>
@@ -2850,7 +2850,7 @@
2850
  </div>
2851
 
2852
  <div class="box">
2853
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
2854
  <h2><?php $fifu['title']['unsplash']() ?></h2>
2855
  <div class="greybox" id="grad2">
2856
  <?php $fifu['unsplash']['desc']() ?>
@@ -2991,7 +2991,7 @@
2991
  </div>
2992
 
2993
  <div class="box">
2994
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
2995
  <h2><?php $fifu['title']['schedule']() ?></h2>
2996
  <div class="greybox" id="grad2">
2997
  <?php $fifu['schedule']['desc']() ?><br><br>
@@ -3124,7 +3124,7 @@
3124
  <div id="tabs-l">
3125
  <div class="box">
3126
 
3127
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
3128
  <h2><?php $fifu['title']['shortcode']() ?></h2>
3129
 
3130
  <div class="greybox" id="grad2">
@@ -3185,7 +3185,7 @@
3185
  <div id="tabs-c">
3186
  <div class="box">
3187
 
3188
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
3189
  <h2><?php $fifu['title']['video']() ?></h2>
3190
 
3191
  <div class="greybox" id="grad2">
@@ -3221,7 +3221,7 @@
3221
  </div>
3222
 
3223
  <div class="box">
3224
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
3225
  <h2><?php $fifu['title']['thumbnail']() ?></h2>
3226
  <div class="greybox" id="grad2">
3227
  <?php $fifu['thumbnail']['desc']() ?>
@@ -3284,7 +3284,7 @@
3284
  </div>
3285
 
3286
  <div class="box">
3287
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
3288
  <h2><?php $fifu['title']['play']() ?></h2>
3289
  <div class="greybox" id="grad2">
3290
  <?php $fifu['play']['desc']() ?>
@@ -3350,7 +3350,7 @@
3350
  </div>
3351
 
3352
  <div class="box">
3353
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
3354
  <h2><?php $fifu['title']['width']() ?></h2>
3355
  <div class="greybox" id="grad2">
3356
  <?php $fifu['width']['desc']() ?>
@@ -3361,7 +3361,7 @@
3361
  </div>
3362
 
3363
  <div class="box">
3364
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
3365
  <h2><?php $fifu['title']['black']() ?></h2>
3366
  <div class="greybox" id="grad2">
3367
  <?php $fifu['black']['desc']() ?>
@@ -3385,7 +3385,7 @@
3385
  </div>
3386
 
3387
  <div class="box">
3388
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
3389
  <h2><?php $fifu['title']['mouseover']() ?></h2>
3390
  <div class="greybox" id="grad2">
3391
  <?php $fifu['mouseover']['desc']() ?>
@@ -3422,7 +3422,7 @@
3422
  </div>
3423
 
3424
  <div class="box">
3425
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
3426
  <h2><?php $fifu['title']['autoplay']() ?></h2>
3427
  <div class="greybox" id="grad2">
3428
  <?php $fifu['autoplay']['desc']() ?>
@@ -3443,7 +3443,7 @@
3443
  </div>
3444
 
3445
  <div class="box">
3446
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
3447
  <h2><?php $fifu['title']['loop']() ?></h2>
3448
  <div class="greybox" id="grad2">
3449
  <?php $fifu['loop']['desc']() ?>
@@ -3464,7 +3464,7 @@
3464
  </div>
3465
 
3466
  <div class="box">
3467
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
3468
  <h2><?php $fifu['title']['mute']() ?></h2>
3469
  <div class="greybox" id="grad2">
3470
  <?php $fifu['mute']['desc']() ?>
@@ -3486,7 +3486,7 @@
3486
 
3487
 
3488
  <div class="box">
3489
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
3490
  <h2><?php $fifu['title']['background']() ?></h2>
3491
  <div class="greybox" id="grad2">
3492
  <?php $fifu['background']['desc']() ?>
@@ -3510,7 +3510,7 @@
3510
  </div>
3511
 
3512
  <div class="box">
3513
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
3514
  <h2><?php $fifu['title']['related']() ?></h2>
3515
  <div class="greybox" id="grad2">
3516
  <?php $fifu['related']['desc']() ?>
@@ -3534,7 +3534,7 @@
3534
  </div>
3535
 
3536
  <div class="box">
3537
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
3538
  <h2><?php $fifu['title']['icon']() ?></h2>
3539
  <div class="greybox" id="grad2">
3540
  <?php $fifu['icon']['desc']() ?>
@@ -3569,7 +3569,7 @@
3569
  </div>
3570
  <div id="tabs-m">
3571
  <div class="box">
3572
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
3573
  <h2><?php $fifu['title']['slider']() ?></h2>
3574
  <div class="greybox" id="grad2">
3575
  <?php $fifu['slider']['desc']() ?><br><br>
@@ -3849,7 +3849,7 @@
3849
  </table>
3850
  </div>
3851
  <div class="box">
3852
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
3853
  <h2><?php $fifu['title']['rss']() ?></h2>
3854
  <div class="greybox" id="grad2">
3855
  <?php $fifu['rss']['desc']() ?>
@@ -3882,7 +3882,7 @@
3882
  </table>
3883
  </div>
3884
  <div class="box">
3885
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
3886
  <h2><?php $fifu['title']['bbpress']() ?></h2>
3887
  <div class="greybox" id="grad2">
3888
  <?php $fifu['bbpress']['desc']() ?>
@@ -3975,7 +3975,7 @@
3975
  </div>
3976
  </div>
3977
  <div id="tabs-2">
3978
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey; position: relative; top: -40px">premium</a></div>
3979
  <div class="greybox" id="grad2">
3980
 
3981
  <?php $fifu['shortpixel']['desc']() ?><br><br>
@@ -4024,7 +4024,7 @@
4024
  </div>
4025
 
4026
  <div class="box">
4027
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
4028
  <h2><?php $fifu['title']['flickr']() ?></h2>
4029
  <div class="greybox" id="grad2">
4030
  <?php $fifu['flickr']['desc']() ?><br><br>
@@ -4042,7 +4042,7 @@
4042
  <div id="tabs-q">
4043
  <div class="box">
4044
 
4045
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
4046
  <h2><?php $fifu['title']['api']() ?></h2>
4047
 
4048
  <div class="greybox" id="grad2">
@@ -4394,7 +4394,7 @@
4394
  </div>
4395
 
4396
  <div class="box">
4397
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
4398
  <h2><?php $fifu['title']['import']() ?></h2>
4399
 
4400
  <div class="greybox" id="grad2">
@@ -4517,7 +4517,7 @@
4517
  </div>
4518
 
4519
  <div class="box">
4520
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
4521
  <h2><?php $fifu['title']['fields']() ?></h2>
4522
  <div class="greybox" id="grad2">
4523
  <?php $fifu['fields']['desc']() ?><br><br>
@@ -4551,7 +4551,7 @@
4551
 
4552
  <a name="category"></a>
4553
  <div class="box">
4554
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
4555
  <h2><?php $fifu['title']['category']() ?></h2>
4556
  <div class="greybox" id="grad2">
4557
  <?php $fifu['category']['desc']() ?>
@@ -4574,7 +4574,7 @@
4574
  <a name="variable"></a>
4575
 
4576
  <div class="box">
4577
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
4578
  <h2><?php $fifu['title']['variable']() ?></h2>
4579
  <div class="greybox" id="grad2">
4580
  <?php $fifu['variable']['desc']() ?>
@@ -4598,7 +4598,7 @@
4598
  </div>
4599
 
4600
  <div class="box">
4601
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
4602
  <h2><?php $fifu['title']['gallery']() ?></h2>
4603
  <div class="greybox" id="grad2">
4604
  <?php $fifu['gallery']['desc']() ?>
@@ -4621,7 +4621,7 @@
4621
 
4622
  <div id="tabs-p">
4623
  <div class="box">
4624
- <div class="fifu-pro"><a href="https://fifu.app" target="_blank" style="color:grey">premium</a></div>
4625
  <h2><?php $fifu['title']['addon']() ?></h2>
4626
 
4627
  <div class="greybox" id="grad2">
@@ -4759,13 +4759,7 @@
4759
  </div>
4760
 
4761
  </div>
4762
- <!--div class="box">
4763
- <h2><a class="dbox-donation-button" style="background: #2d81c5;color: #fff;text-decoration: none;display: inline-block;font-size: 16px;padding: 2px 17px;-webkit-border-radius: 2px;-moz-border-radius: 2px;border-radius: 2px;box-shadow: 0px 0px 0px 0px #1f5a89;text-shadow: 0 1px rgba(0, 0, 0, 0.3);" href="https://fifu.app/#price" target="_blank">Buy Premium</a> and help me to take this project to the next level <span class="dashicons dashicons-info" style="font-size: 25px;" title="Pay with a Card, Apple Pay, Google Pay, Stripe, PayPal and more. No account required."></span></h2>
4764
- <div class="greybox">
4765
- <a href="https://www.linkedin.com/in/marceljm/" target="_blank"><img src="https://avatars0.githubusercontent.com/u/10578419?s=460&v=4" style="border-radius:100%;width:8.5%;float:left"></a>
4766
- <div style="position:relative;left:10px">Hi, I'm Marcel, Software Engineer and Featured Image from URL author. <br>During the last 4 years I did my best to develop all requested features, integrations, improvements and bug fixes. And thanks to FIFU you keep saving money on storage, processing and copyright. However, with so many users (100,000+ active installs), it's becoming increasingly difficult to help everyone. <b>Extraordinary performance and automation features aren't done yet</b> while updates are required to keep this plugin working with the most current WordPress components. So please become a Premium user and help me to take FIFU to the next level!</div>
4767
- </div>
4768
- </div-->
4769
  <div class="box">
4770
  <h2><?php $fifu['title']['start']() ?></h2>
4771
  <div class="greybox" style="min-height:375px;padding:0 !important">
@@ -4826,7 +4820,7 @@
4826
  <b><?php $fifu['word']['delimiter']() ?></b>
4827
  </th>
4828
  <th>
4829
- <b>Premium</b>
4830
  </th>
4831
  </tr>
4832
  <tr>
1
  <div class="wrap" style="opacity:0">
2
 
3
  <div class="header-box">
4
+ <h1 style="color:white;padding-left:20px"><span class="dashicons dashicons-camera" style="font-size:30px"></span><span style="padding-left:20px">featured image from url</span></h1>
5
  <a href="https://chrome.google.com/webstore/detail/fifu-scraper/pccimcccbkdeeadhejdmnffmllpicola" target="_blank"><img class="fifu-chrome" src="https://storage.googleapis.com/featuredimagefromurl/chrome-web-store2.png" title="<?php $fifu['chrome']['link']() ?>"/></a>
6
  </div>
7
 
1993
  </div>
1994
 
1995
  <div id="tabsContent-b">
1996
+ <div class="fifu-pro" style="position: relative; top: -40px;"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
1997
  <div class="greybox" id="grad2">
1998
  <div id="tabsContentAll">
1999
  <ul>
2054
  </div>
2055
 
2056
  <div class="box">
2057
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
2058
  <h2><?php $fifu['title']['auto']() ?> </span></h2>
2059
  <div class="greybox" id="grad2">
2060
  <?php $fifu['auto']['desc']() ?>
2135
  </div>
2136
 
2137
  <div class="box">
2138
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
2139
  <h2><?php $fifu['title']['isbn']() ?> </span></h2>
2140
  <div class="greybox" id="grad2">
2141
  <?php $fifu['isbn']['desc']() ?>
2156
  </div>
2157
 
2158
  <div class="box">
2159
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
2160
  <h2><?php $fifu['title']['screenshot']() ?> </span></h2>
2161
  <div class="greybox" id="grad2">
2162
  <?php $fifu['screenshot']['desc']() ?>
2208
  </div>
2209
 
2210
  <div class="box">
2211
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
2212
  <h2><?php $fifu['title']['finder']() ?> </span></h2>
2213
  <div class="greybox" id="grad2">
2214
  <?php $fifu['finder']['desc']() ?>
2534
  </div>
2535
 
2536
  <div class="box">
2537
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
2538
 
2539
  <h2><?php $fifu['title']['media']() ?></h2>
2540
 
2580
  </div>
2581
 
2582
  <div class="box">
2583
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
2584
  <h2><?php $fifu['title']['height']() ?></h2>
2585
  <div class="greybox" id="grad2">
2586
  <?php $fifu['height']['desc']() ?>
2760
  </div>
2761
 
2762
  <div class="box">
2763
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
2764
  <h2><?php $fifu['title']['replace']() ?></h2>
2765
  <div class="greybox" id="grad2">
2766
  <?php $fifu['replace']['desc']() ?>
2776
  </div>
2777
 
2778
  <div class="box">
2779
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
2780
  <h2><?php $fifu['title']['hover']() ?></h2>
2781
  <div class="greybox" id="grad2">
2782
  <?php $fifu['hover']['desc']() ?>
2815
  </div>
2816
 
2817
  <div class="box">
2818
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
2819
  <h2><?php $fifu['title']['giphy']() ?></h2>
2820
  <div class="greybox" id="grad2">
2821
  <?php $fifu['giphy']['desc']() ?>
2836
  </div>
2837
 
2838
  <div class="box">
2839
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
2840
  <h2><?php $fifu['title']['validation']() ?></h2>
2841
  <div class="greybox" id="grad2">
2842
  <?php $fifu['validation']['desc']() ?>
2850
  </div>
2851
 
2852
  <div class="box">
2853
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
2854
  <h2><?php $fifu['title']['unsplash']() ?></h2>
2855
  <div class="greybox" id="grad2">
2856
  <?php $fifu['unsplash']['desc']() ?>
2991
  </div>
2992
 
2993
  <div class="box">
2994
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
2995
  <h2><?php $fifu['title']['schedule']() ?></h2>
2996
  <div class="greybox" id="grad2">
2997
  <?php $fifu['schedule']['desc']() ?><br><br>
3124
  <div id="tabs-l">
3125
  <div class="box">
3126
 
3127
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
3128
  <h2><?php $fifu['title']['shortcode']() ?></h2>
3129
 
3130
  <div class="greybox" id="grad2">
3185
  <div id="tabs-c">
3186
  <div class="box">
3187
 
3188
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
3189
  <h2><?php $fifu['title']['video']() ?></h2>
3190
 
3191
  <div class="greybox" id="grad2">
3221
  </div>
3222
 
3223
  <div class="box">
3224
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
3225
  <h2><?php $fifu['title']['thumbnail']() ?></h2>
3226
  <div class="greybox" id="grad2">
3227
  <?php $fifu['thumbnail']['desc']() ?>
3284
  </div>
3285
 
3286
  <div class="box">
3287
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
3288
  <h2><?php $fifu['title']['play']() ?></h2>
3289
  <div class="greybox" id="grad2">
3290
  <?php $fifu['play']['desc']() ?>
3350
  </div>
3351
 
3352
  <div class="box">
3353
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
3354
  <h2><?php $fifu['title']['width']() ?></h2>
3355
  <div class="greybox" id="grad2">
3356
  <?php $fifu['width']['desc']() ?>
3361
  </div>
3362
 
3363
  <div class="box">
3364
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
3365
  <h2><?php $fifu['title']['black']() ?></h2>
3366
  <div class="greybox" id="grad2">
3367
  <?php $fifu['black']['desc']() ?>
3385
  </div>
3386
 
3387
  <div class="box">
3388
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
3389
  <h2><?php $fifu['title']['mouseover']() ?></h2>
3390
  <div class="greybox" id="grad2">
3391
  <?php $fifu['mouseover']['desc']() ?>
3422
  </div>
3423
 
3424
  <div class="box">
3425
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
3426
  <h2><?php $fifu['title']['autoplay']() ?></h2>
3427
  <div class="greybox" id="grad2">
3428
  <?php $fifu['autoplay']['desc']() ?>
3443
  </div>
3444
 
3445
  <div class="box">
3446
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
3447
  <h2><?php $fifu['title']['loop']() ?></h2>
3448
  <div class="greybox" id="grad2">
3449
  <?php $fifu['loop']['desc']() ?>
3464
  </div>
3465
 
3466
  <div class="box">
3467
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
3468
  <h2><?php $fifu['title']['mute']() ?></h2>
3469
  <div class="greybox" id="grad2">
3470
  <?php $fifu['mute']['desc']() ?>
3486
 
3487
 
3488
  <div class="box">
3489
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
3490
  <h2><?php $fifu['title']['background']() ?></h2>
3491
  <div class="greybox" id="grad2">
3492
  <?php $fifu['background']['desc']() ?>
3510
  </div>
3511
 
3512
  <div class="box">
3513
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
3514
  <h2><?php $fifu['title']['related']() ?></h2>
3515
  <div class="greybox" id="grad2">
3516
  <?php $fifu['related']['desc']() ?>
3534
  </div>
3535
 
3536
  <div class="box">
3537
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
3538
  <h2><?php $fifu['title']['icon']() ?></h2>
3539
  <div class="greybox" id="grad2">
3540
  <?php $fifu['icon']['desc']() ?>
3569
  </div>
3570
  <div id="tabs-m">
3571
  <div class="box">
3572
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
3573
  <h2><?php $fifu['title']['slider']() ?></h2>
3574
  <div class="greybox" id="grad2">
3575
  <?php $fifu['slider']['desc']() ?><br><br>
3849
  </table>
3850
  </div>
3851
  <div class="box">
3852
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
3853
  <h2><?php $fifu['title']['rss']() ?></h2>
3854
  <div class="greybox" id="grad2">
3855
  <?php $fifu['rss']['desc']() ?>
3882
  </table>
3883
  </div>
3884
  <div class="box">
3885
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
3886
  <h2><?php $fifu['title']['bbpress']() ?></h2>
3887
  <div class="greybox" id="grad2">
3888
  <?php $fifu['bbpress']['desc']() ?>
3975
  </div>
3976
  </div>
3977
  <div id="tabs-2">
3978
+ <div class="fifu-pro" style="position: relative; top: -40px;"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
3979
  <div class="greybox" id="grad2">
3980
 
3981
  <?php $fifu['shortpixel']['desc']() ?><br><br>
4024
  </div>
4025
 
4026
  <div class="box">
4027
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
4028
  <h2><?php $fifu['title']['flickr']() ?></h2>
4029
  <div class="greybox" id="grad2">
4030
  <?php $fifu['flickr']['desc']() ?><br><br>
4042
  <div id="tabs-q">
4043
  <div class="box">
4044
 
4045
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
4046
  <h2><?php $fifu['title']['api']() ?></h2>
4047
 
4048
  <div class="greybox" id="grad2">
4394
  </div>
4395
 
4396
  <div class="box">
4397
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
4398
  <h2><?php $fifu['title']['import']() ?></h2>
4399
 
4400
  <div class="greybox" id="grad2">
4517
  </div>
4518
 
4519
  <div class="box">
4520
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
4521
  <h2><?php $fifu['title']['fields']() ?></h2>
4522
  <div class="greybox" id="grad2">
4523
  <?php $fifu['fields']['desc']() ?><br><br>
4551
 
4552
  <a name="category"></a>
4553
  <div class="box">
4554
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
4555
  <h2><?php $fifu['title']['category']() ?></h2>
4556
  <div class="greybox" id="grad2">
4557
  <?php $fifu['category']['desc']() ?>
4574
  <a name="variable"></a>
4575
 
4576
  <div class="box">
4577
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
4578
  <h2><?php $fifu['title']['variable']() ?></h2>
4579
  <div class="greybox" id="grad2">
4580
  <?php $fifu['variable']['desc']() ?>
4598
  </div>
4599
 
4600
  <div class="box">
4601
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
4602
  <h2><?php $fifu['title']['gallery']() ?></h2>
4603
  <div class="greybox" id="grad2">
4604
  <?php $fifu['gallery']['desc']() ?>
4621
 
4622
  <div id="tabs-p">
4623
  <div class="box">
4624
+ <div class="fifu-pro"><div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div></div>
4625
  <h2><?php $fifu['title']['addon']() ?></h2>
4626
 
4627
  <div class="greybox" id="grad2">
4759
  </div>
4760
 
4761
  </div>
4762
+
 
 
 
 
 
 
4763
  <div class="box">
4764
  <h2><?php $fifu['title']['start']() ?></h2>
4765
  <div class="greybox" style="min-height:375px;padding:0 !important">
4820
  <b><?php $fifu['word']['delimiter']() ?></b>
4821
  </th>
4822
  <th>
4823
+ <b>PRO</b>
4824
  </th>
4825
  </tr>
4826
  <tr>
admin/html/meta-box.html CHANGED
@@ -96,19 +96,19 @@
96
  </div>
97
 
98
  <div id="fifu_premium" style="<?php echo $show_button ?>">
99
- <table style="position: relative; top: 12px; background-color: #007cba; color:white; width: 100%; border-radius: 2px">
100
  <tr style="text-align: center;">
101
- <td style="width: 90px; font-size: 9px"><a style="color:white; text-decoration: none" target="_blank" href="https://fifu.app/">Premium fields</a></td>
102
- <td style="padding: 0px 0px" class="fifu-hover"><span title="Featured video" class="dashicons dashicons-video-alt3" style="font-size:13px; display: unset; vertical-align:sub;"></span></td>
103
- <td style="padding: 0px 0px" class="fifu-hover"><span title="Woocommerce image gallery" class="dashicons dashicons-format-gallery" style="font-size:13px; display: unset; vertical-align:sub;"></span></td>
104
- <td style="padding: 0px 0px" class="fifu-hover"><span title="Woocommerce video gallery" class="dashicons dashicons-format-video" style="font-size:13px; display: unset; vertical-align:sub;"></span></td>
105
- <td style="padding: 0px 0px" class="fifu-hover"><span title="Featured slider" class="dashicons dashicons-images-alt2" style="font-size:13px; display: unset; vertical-align:sub;"></span></td>
106
- <td style="padding: 0px 0px" class="fifu-hover"><span title="Featured shortcode" class="dashicons dashicons-shortcode" style="font-size:13px; display: unset; vertical-align:sub;"></span></td>
107
- <td style="padding: 0px 0px" class="fifu-hover"><span title="Title (Auto set featured image using post title and search engine)" class="dashicons dashicons-google" style="font-size:13px; display: unset; vertical-align:sub;"></span></td>
108
- <td style="padding: 0px 0px" class="fifu-hover"><span title="ISBN (Auto set featured image using ISBN and books API)" class="dashicons dashicons-book-alt" style="font-size:13px; display: unset; vertical-align:sub;"></span></td>
109
- <td style="padding: 0px 0px" class="fifu-hover"><span title="Screenshot (Auto set screenshot as featured image)" class="dashicons dashicons-cover-image" style="font-size:13px; display: unset; vertical-align:sub;"></span></td>
110
- <td style="padding: 0px 0px" class="fifu-hover"><span title="Image finder (Auto set featured image using web page address)" class="dashicons dashicons-code-standards" style="font-size:13px; display: unset; vertical-align:sub;"></span></td>
111
- <td style="padding: 0px 0px" class="fifu-hover"><span title="Featured image/video (for bbPress forms)" class="dashicons dashicons-buddicons-bbpress-logo" style="font-size:13px; display: unset; vertical-align:sub;"></span></td>
112
  </tr>
113
  </table>
114
  </div>
96
  </div>
97
 
98
  <div id="fifu_premium" style="<?php echo $show_button ?>">
99
+ <table style="position: relative; top: 12px; background-color: #444444; color:white; width: 100%; border-radius: 15px">
100
  <tr style="text-align: center;">
101
+ <td style="width: 90px; font-size: 12px; background-color: #1da867; border-radius: 15px"><a style="color:white; text-decoration: none" target="_blank" href="https://fifu.app/" title="Unlock all features"><b>PRO</b> fields</a></td>
102
+ <td style="padding: 0px 0px" class="fifu-hover"><span title="Featured video" class="dashicons dashicons-video-alt3" style="font-size:16px; display: unset; vertical-align:sub;"></span></td>
103
+ <td style="padding: 0px 0px" class="fifu-hover"><span title="Woocommerce image gallery" class="dashicons dashicons-format-gallery" style="font-size:16px; display: unset; vertical-align:sub;"></span></td>
104
+ <td style="padding: 0px 0px" class="fifu-hover"><span title="Woocommerce video gallery" class="dashicons dashicons-format-video" style="font-size:16px; display: unset; vertical-align:sub;"></span></td>
105
+ <td style="padding: 0px 0px" class="fifu-hover"><span title="Featured slider" class="dashicons dashicons-images-alt2" style="font-size:16px; display: unset; vertical-align:sub;"></span></td>
106
+ <td style="padding: 0px 0px" class="fifu-hover"><span title="Featured shortcode" class="dashicons dashicons-shortcode" style="font-size:16px; display: unset; vertical-align:sub;"></span></td>
107
+ <td style="padding: 0px 0px" class="fifu-hover"><span title="Title (Auto set featured image using post title and search engine)" class="dashicons dashicons-google" style="font-size:16px; display: unset; vertical-align:sub;"></span></td>
108
+ <td style="padding: 0px 0px" class="fifu-hover"><span title="ISBN (Auto set featured image using ISBN and books API)" class="dashicons dashicons-book-alt" style="font-size:16px; display: unset; vertical-align:sub;"></span></td>
109
+ <td style="padding: 0px 0px" class="fifu-hover"><span title="Screenshot (Auto set screenshot as featured image)" class="dashicons dashicons-cover-image" style="font-size:16px; display: unset; vertical-align:sub;"></span></td>
110
+ <td style="padding: 0px 0px" class="fifu-hover"><span title="Image finder (Auto set featured image using web page address)" class="dashicons dashicons-code-standards" style="font-size:16px; display: unset; vertical-align:sub;"></span></td>
111
+ <td style="padding: 0px 0px" class="fifu-hover"><span title="Featured image/video (for bbPress forms)" class="dashicons dashicons-buddicons-bbpress-logo" style="font-size:16px; display: unset; vertical-align:sub;"></span></td>
112
  </tr>
113
  </table>
114
  </div>
admin/html/support-data.html CHANGED
@@ -1,7 +1,7 @@
1
  <div class="wrap">
2
 
3
  <div class="header-box">
4
- <h1 style="color:white;padding-left:20px"><span class="dashicons dashicons-camera" style="font-size:30px"></span><span style="padding-left:20px">featured image from url 3</span></h1>
5
  </div>
6
 
7
  <div id="tabs-top" style="float:left">
1
  <div class="wrap">
2
 
3
  <div class="header-box">
4
+ <h1 style="color:white;padding-left:20px"><span class="dashicons dashicons-camera" style="font-size:30px"></span><span style="padding-left:20px">featured image from url</span></h1>
5
  </div>
6
 
7
  <div id="tabs-top" style="float:left">
admin/html/widget-grid.html ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <p>
2
+ <label for="<?php echo $this->get_field_name('rows'); ?>">Rows</label><br>
3
+ <input type="number" id="<?php echo $this->get_field_id('rows'); ?>" name="<?php echo $this->get_field_name('rows'); ?>" min="1" value="<?php echo $rows; ?>">
4
+ </p>
5
+ <p>
6
+ <label for="<?php echo $this->get_field_name('columns'); ?>">Columns</label><br>
7
+ <input type="number" id="<?php echo $this->get_field_id('columns'); ?>" name="<?php echo $this->get_field_name('columns'); ?>" min="1" value="<?php echo $columns; ?>">
8
+ </p>
admin/menu.php CHANGED
@@ -13,6 +13,8 @@ function fifu_insert_menu() {
13
  wp_enqueue_style('jquery-ui-style2', 'https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.structure.min.css');
14
  wp_enqueue_style('jquery-ui-style3', 'https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.theme.min.css');
15
 
 
 
16
  wp_enqueue_script('jquery-ui', 'https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js');
17
  wp_enqueue_script('jquery-block-ui', 'https://cdnjs.cloudflare.com/ajax/libs/jquery.blockUI/2.70/jquery.blockUI.min.js');
18
 
@@ -22,6 +24,7 @@ function fifu_insert_menu() {
22
  add_menu_page('Featured Image from URL', 'Featured Image from URL', 'manage_options', 'featured-image-from-url', 'fifu_get_menu_html', 'dashicons-camera', 57);
23
  add_submenu_page('featured-image-from-url', 'FIFU Settings', __('Settings'), 'manage_options', 'featured-image-from-url');
24
  add_submenu_page('featured-image-from-url', 'FIFU Status', __('Status'), 'manage_options', 'fifu-support-data', 'fifu_support_data');
 
25
 
26
  add_action('admin_init', 'fifu_get_menu_settings');
27
  }
13
  wp_enqueue_style('jquery-ui-style2', 'https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.structure.min.css');
14
  wp_enqueue_style('jquery-ui-style3', 'https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.theme.min.css');
15
 
16
+ wp_enqueue_style('fifu-pro-css', plugins_url('/html/css/pro.css', __FILE__), array(), fifu_version_number());
17
+
18
  wp_enqueue_script('jquery-ui', 'https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js');
19
  wp_enqueue_script('jquery-block-ui', 'https://cdnjs.cloudflare.com/ajax/libs/jquery.blockUI/2.70/jquery.blockUI.min.js');
20
 
24
  add_menu_page('Featured Image from URL', 'Featured Image from URL', 'manage_options', 'featured-image-from-url', 'fifu_get_menu_html', 'dashicons-camera', 57);
25
  add_submenu_page('featured-image-from-url', 'FIFU Settings', __('Settings'), 'manage_options', 'featured-image-from-url');
26
  add_submenu_page('featured-image-from-url', 'FIFU Status', __('Status'), 'manage_options', 'fifu-support-data', 'fifu_support_data');
27
+ add_submenu_page('featured-image-from-url', 'FIFU Pro', __('<a href="https://fifu.app/" target="_blank"><div style="padding:5px;color:white;background-color:#1da867">Upgrade to <b>PRO</b></div></a>'), 'manage_options', null, null);
28
 
29
  add_action('admin_init', 'fifu_get_menu_settings');
30
  }
admin/strings.php CHANGED
@@ -1511,3 +1511,25 @@ function fifu_get_strings_wai() {
1511
 
1512
  return $fifu;
1513
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1511
 
1512
  return $fifu;
1513
  }
1514
+
1515
+ function fifu_get_strings_widget() {
1516
+ $fifu = array();
1517
+
1518
+ // titles
1519
+ $fifu['title']['media'] = function() {
1520
+ return __("Featured media", FIFU_SLUG);
1521
+ };
1522
+ $fifu['title']['grid'] = function() {
1523
+ return __("Featured grid", FIFU_SLUG);
1524
+ };
1525
+
1526
+ // description
1527
+ $fifu['description']['media'] = function() {
1528
+ return __("Displays the featured image, video or slider from the current post, page or custom post type.", FIFU_SLUG);
1529
+ };
1530
+ $fifu['description']['grid'] = function() {
1531
+ return __("Displays the images from featured slider in a grid format.", FIFU_SLUG);
1532
+ };
1533
+
1534
+ return $fifu;
1535
+ }
admin/widgets.php ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Fifu_Widget_Image extends WP_Widget {
4
+
5
+ public function __construct() {
6
+ $fifu = fifu_get_strings_widget();
7
+ parent::__construct(
8
+ 'fifu_widget_image', // Base ID
9
+ '(FIFU) ' . $fifu['title']['media'](), // Name
10
+ array('description' => $fifu['description']['media'](),) // Args
11
+ );
12
+ }
13
+
14
+ public function widget($args, $instance) {
15
+ echo $args['before_widget'];
16
+ echo $args['after_widget'];
17
+ }
18
+
19
+ public function form($instance) {
20
+ wp_enqueue_style('fifu-pro-css', plugins_url('/html/css/pro.css', __FILE__), array(), fifu_version_number());
21
+ echo '<div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div>';
22
+ }
23
+
24
+ public function update($new_instance, $old_instance) {
25
+ $instance = array();
26
+ return $instance;
27
+ }
28
+
29
+ }
30
+
31
+ class Fifu_Widget_Grid extends WP_Widget {
32
+
33
+ public function __construct() {
34
+ $fifu = fifu_get_strings_widget();
35
+ parent::__construct(
36
+ 'fifu_widget_grid', // Base ID
37
+ '(FIFU) ' . $fifu['title']['grid'](), // Name
38
+ array('description' => $fifu['description']['grid'](),) // Args
39
+ );
40
+ }
41
+
42
+ public function widget($args, $instance) {
43
+ extract($args);
44
+ echo $args['before_widget'];
45
+ echo $args['after_widget'];
46
+ }
47
+
48
+ public function form($instance) {
49
+ $rows = isset($instance['rows']) ? $instance['rows'] : 1;
50
+ $columns = isset($instance['columns']) ? $instance['columns'] : 1;
51
+ echo '<div class="fifu-pro-out"><a class="fifu-pro-link" href="https://fifu.app/" target="_blank" title="Unlock all features"><h4 class="fifu-pro-text"><span class="dashicons dashicons-lock fifu-pro-icon"></span>PRO</h4></a></div>';
52
+ include 'html/widget-grid.html';
53
+ }
54
+
55
+ public function update($new_instance, $old_instance) {
56
+ $instance = array();
57
+ return $instance;
58
+ }
59
+
60
+ }
61
+
62
+ add_action('widgets_init', 'fifu_register_widgets');
63
+
64
+ function fifu_register_widgets() {
65
+ register_widget('Fifu_Widget_Image');
66
+ register_widget('Fifu_Widget_Grid');
67
+ }
68
+
69
+ add_action('admin_head-widgets.php', 'fifu_add_icon_to_custom_widget');
70
+
71
+ function fifu_add_icon_to_custom_widget() {
72
+ echo
73
+ '
74
+ <style>
75
+ *[id*="fifu_widget_"] > div.widget-top > div.widget-title > h3:before {
76
+ font-family: "dashicons";
77
+ content: "\f306";
78
+ width:18px;
79
+ float:left;
80
+ height:6px;
81
+ font-size:15px;
82
+ }
83
+ </style>
84
+ ';
85
+ }
86
+
featured-image-from-url.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin Name: Featured Image from URL (FIFU)
5
  * Plugin URI: https://fifu.app/
6
  * Description: Use an external image as featured image of a post or WooCommerce product. Includes Image Search, Video, Social Tags, SEO, Lazy Load, Gallery, Automation etc.
7
- * Version: 3.6.0
8
  * Author: fifu.app
9
  * Author URI: https://fifu.app/
10
  * WC requires at least: 4.0
@@ -37,6 +37,7 @@ require_once (FIFU_ADMIN_DIR . '/column.php');
37
  require_once (FIFU_ADMIN_DIR . '/menu.php');
38
  require_once (FIFU_ADMIN_DIR . '/meta-box.php');
39
  require_once (FIFU_ADMIN_DIR . '/strings.php');
 
40
 
41
  require_once (FIFU_ELEMENTOR_DIR . '/elementor-fifu-extension.php');
42
 
@@ -94,3 +95,18 @@ function fifu_action_links($links) {
94
  return $links;
95
  }
96
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  * Plugin Name: Featured Image from URL (FIFU)
5
  * Plugin URI: https://fifu.app/
6
  * Description: Use an external image as featured image of a post or WooCommerce product. Includes Image Search, Video, Social Tags, SEO, Lazy Load, Gallery, Automation etc.
7
+ * Version: 3.6.1
8
  * Author: fifu.app
9
  * Author URI: https://fifu.app/
10
  * WC requires at least: 4.0
37
  require_once (FIFU_ADMIN_DIR . '/menu.php');
38
  require_once (FIFU_ADMIN_DIR . '/meta-box.php');
39
  require_once (FIFU_ADMIN_DIR . '/strings.php');
40
+ require_once (FIFU_ADMIN_DIR . '/widgets.php');
41
 
42
  require_once (FIFU_ELEMENTOR_DIR . '/elementor-fifu-extension.php');
43
 
95
  return $links;
96
  }
97
 
98
+ add_filter('plugin_row_meta', 'fifu_row_meta', 10, 4);
99
+
100
+ function fifu_row_meta($plugin_meta, $plugin_file, $plugin_data, $status) {
101
+ if (strpos($plugin_file, 'featured-image-from-url.php') !== false) {
102
+ $tag_review = '<a title="If you are enjoying FIFU, please give it a 5-star rating =]" href="https://wordpress.org/support/plugin/featured-image-from-url/reviews/?filter=5" target="_blank"><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span></a>';
103
+ $tag_pro = '<a href="https://fifu.app/" target="_blank"><span style="padding:5px;color:white;background-color:#1da867">Upgrade to <b>PRO</b></span></a>';
104
+ $new_links = array(
105
+ 'review' => $tag_review,
106
+ 'pro' => $tag_pro,
107
+ );
108
+ $plugin_meta = array_merge($plugin_meta, $new_links);
109
+ }
110
+ return $plugin_meta;
111
+ }
112
+
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Plugin Name ===
2
  Contributors: marceljm
3
  Donate link: https://donorbox.org/fifu
4
- Tags: featured, image, url, woocommerce, thumbnail
5
  Requires at least: 5.3
6
  Tested up to: 5.7
7
- Stable tag: 3.6.0
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -30,86 +30,91 @@ Use an external image as featured image of your post, page or custom post type.
30
  * Auto set image title
31
  * Save image dimensions
32
  * Featured image column
33
- * **[Premium]** Save in the media library
34
- * **[Premium]** Giphy image search
35
- * **[Premium]** Unsplash image size
36
- * **[Premium]** Same height
37
- * **[Premium]** Hover effects
38
- * **[Premium]** Replace not found image
39
- * **[Premium]** Image validation
40
 
41
  #### AUTOMATIC FEATURED MEDIA
42
 
43
  * Auto set featured image/video using img/iframe tag from post content
44
- * **[Premium]** Auto set featured image using post title and search engine
45
- * **[Premium]** Auto set featured image using ISBN and books API
46
- * **[Premium]** Auto set screenshot as featured image
47
- * **[Premium]** Auto set featured image using web page address
48
 
49
  #### PERFORMANCE
50
 
51
  * CDN + optimized thumbnails
52
  * Lazy load
53
- * **[Premium]** Flickr thumbnails
54
 
55
  #### SOCIAL
56
 
57
  * Social tags
58
- * **[Premium]** Media RSS tags
59
- * **[Premium]** bbPress features
60
 
61
  #### AUTOMATION
62
 
63
  * WP-CLI integration
64
- * **[Premium]** WP All Import add-on
65
- * **[Premium]** WooCommerce import
66
- * **[Premium]** WP REST API
67
- * **[Premium]** WooCommerce REST API
68
- * **[Premium]** Schedule metadata generation
69
 
70
  #### WOOCOMMERCE
71
 
72
  * External product image
73
  * Lightbox and zoom
74
  * Category image on grid
75
- * **[Premium]** External image gallery
76
- * **[Premium]** External video gallery
77
- * **[Premium]** Auto set category images
78
- * **[Premium]** Variable product
79
- * **[Premium]** Variation image
80
- * **[Premium]** Variation image gallery
81
- * **[Premium]** Save images in the media library
82
- * **[Premium]** FIFU product gallery
83
 
84
  #### FEATURED VIDEO
85
  Supports videos from YouTube, Vimeo, Imgur, 9GAG, Cloudinary, Tumblr, Publitio, JW Player, WordPress.com (Jetpack Video Hosting) and Sprout.
86
 
87
- * **[Premium]** Featured video
88
- * **[Premium]** Video thumbnail
89
- * **[Premium]** Play button
90
- * **[Premium]** Minimum width
91
- * **[Premium]** Black background
92
- * **[Premium]** Mouseover autoplay
93
- * **[Premium]** Autoplay
94
- * **[Premium]** Loop
95
- * **[Premium]** Mute
96
- * **[Premium]** Background video
97
- * **[Premium]** Related videos
98
- * **[Premium]** Gallery icon
 
 
 
 
 
99
 
100
  #### OTHERS
101
 
102
- * **[Premium]** Featured slider
103
- * **[Premium]** Featured shortcode
104
 
105
  #### INTEGRATION FUNCTION FOR DEVELOPERS
106
 
107
  * fifu_dev_set_image(post_id, image_url)
108
- * **[Premium]** fifu_dev_set_image_list(post_id, image_url_list)
109
 
110
  #### LINKS
111
 
112
- * **<a href="https://fifu.app/">Featured Image from URL Premium</a>**
113
  * **<a href="https://chrome.google.com/webstore/detail/fifu-scraper/pccimcccbkdeeadhejdmnffmllpicola">Google Chrome extension</a>**
114
 
115
 
@@ -139,7 +144,7 @@ Supports videos from YouTube, Vimeo, Imgur, 9GAG, Cloudinary, Tumblr, Publitio,
139
 
140
  = Does FIFU save the images in the media library? =
141
 
142
- * No. Only the Premium version is capable of doing this, but it is optional. The plugin was designed to work with external images.
143
 
144
  = Is any action necessary before removing FIFU?
145
 
@@ -203,20 +208,20 @@ Supports videos from YouTube, Vimeo, Imgur, 9GAG, Cloudinary, Tumblr, Publitio,
203
 
204
  == Changelog ==
205
 
 
 
 
206
  = 3.6.0 =
207
  * New features: for bbPress (Settings > Social > bbPress); improvement: Auto set featured image using post title and search engine (faster and unlimited now); improvement: Auto set featured image using ISBN and books API (faster and unlimited now); improvement: added FIFU fields to bbPress custom post types (Forum, Topic and Reply).
208
 
209
  = 3.5.9 =
210
  * New option: Featured slider > display images in the same height; new file: attached XML example for WP All Import plugin (Variations As Child XML Elements); new site: https://featuredimagefromurl.com/.
211
 
212
- = 3.5.8 =
213
- * New feature: Auto set featured image using web page address; new feature: Auto set screenshot as featured image.
214
-
215
  = others =
216
  * [more](https://fifu.app/changelog)
217
 
218
 
219
  == Upgrade Notice ==
220
 
221
- = 3.6.0 =
222
- * New features: for bbPress (Settings > Social > bbPress); improvement: Auto set featured image using post title and search engine (faster and unlimited now); improvement: Auto set featured image using ISBN and books API (faster and unlimited now); improvement: added FIFU fields to bbPress custom post types (Forum, Topic and Reply).
1
  === Plugin Name ===
2
  Contributors: marceljm
3
  Donate link: https://donorbox.org/fifu
4
+ Tags: featured, image, url, video, thumbnail
5
  Requires at least: 5.3
6
  Tested up to: 5.7
7
+ Stable tag: 3.6.1
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
30
  * Auto set image title
31
  * Save image dimensions
32
  * Featured image column
33
+ * **[PRO]** Save in the media library
34
+ * **[PRO]** Giphy image search
35
+ * **[PRO]** Unsplash image size
36
+ * **[PRO]** Same height
37
+ * **[PRO]** Hover effects
38
+ * **[PRO]** Replace not found image
39
+ * **[PRO]** Image validation
40
 
41
  #### AUTOMATIC FEATURED MEDIA
42
 
43
  * Auto set featured image/video using img/iframe tag from post content
44
+ * **[PRO]** Auto set featured image using post title and search engine
45
+ * **[PRO]** Auto set featured image using ISBN and books API
46
+ * **[PRO]** Auto set screenshot as featured image
47
+ * **[PRO]** Auto set featured image using web page address
48
 
49
  #### PERFORMANCE
50
 
51
  * CDN + optimized thumbnails
52
  * Lazy load
53
+ * **[PRO]** Flickr thumbnails
54
 
55
  #### SOCIAL
56
 
57
  * Social tags
58
+ * **[PRO]** Media RSS tags
59
+ * **[PRO]** bbPress features
60
 
61
  #### AUTOMATION
62
 
63
  * WP-CLI integration
64
+ * **[PRO]** WP All Import add-on
65
+ * **[PRO]** WooCommerce import
66
+ * **[PRO]** WP REST API
67
+ * **[PRO]** WooCommerce REST API
68
+ * **[PRO]** Schedule metadata generation
69
 
70
  #### WOOCOMMERCE
71
 
72
  * External product image
73
  * Lightbox and zoom
74
  * Category image on grid
75
+ * **[PRO]** External image gallery
76
+ * **[PRO]** External video gallery
77
+ * **[PRO]** Auto set category images
78
+ * **[PRO]** Variable product
79
+ * **[PRO]** Variation image
80
+ * **[PRO]** Variation image gallery
81
+ * **[PRO]** Save images in the media library
82
+ * **[PRO]** FIFU product gallery
83
 
84
  #### FEATURED VIDEO
85
  Supports videos from YouTube, Vimeo, Imgur, 9GAG, Cloudinary, Tumblr, Publitio, JW Player, WordPress.com (Jetpack Video Hosting) and Sprout.
86
 
87
+ * **[PRO]** Featured video
88
+ * **[PRO]** Video thumbnail
89
+ * **[PRO]** Play button
90
+ * **[PRO]** Minimum width
91
+ * **[PRO]** Black background
92
+ * **[PRO]** Mouseover autoplay
93
+ * **[PRO]** Autoplay
94
+ * **[PRO]** Loop
95
+ * **[PRO]** Mute
96
+ * **[PRO]** Background video
97
+ * **[PRO]** Related videos
98
+ * **[PRO]** Gallery icon
99
+
100
+ #### WIDGETS
101
+
102
+ * **[PRO]** Featured media
103
+ * **[PRO]** Featured grid
104
 
105
  #### OTHERS
106
 
107
+ * **[PRO]** Featured slider
108
+ * **[PRO]** Featured shortcode
109
 
110
  #### INTEGRATION FUNCTION FOR DEVELOPERS
111
 
112
  * fifu_dev_set_image(post_id, image_url)
113
+ * **[PRO]** fifu_dev_set_image_list(post_id, image_url_list)
114
 
115
  #### LINKS
116
 
117
+ * **<a href="https://fifu.app/">Featured Image from URL PRO</a>**
118
  * **<a href="https://chrome.google.com/webstore/detail/fifu-scraper/pccimcccbkdeeadhejdmnffmllpicola">Google Chrome extension</a>**
119
 
120
 
144
 
145
  = Does FIFU save the images in the media library? =
146
 
147
+ * No. Only the PRO version is capable of doing this, but it is optional. The plugin was designed to work with external images.
148
 
149
  = Is any action necessary before removing FIFU?
150
 
208
 
209
  == Changelog ==
210
 
211
+ = 3.6.1 =
212
+ * New: FIFU widgets for WordPress and Elementor.
213
+
214
  = 3.6.0 =
215
  * New features: for bbPress (Settings > Social > bbPress); improvement: Auto set featured image using post title and search engine (faster and unlimited now); improvement: Auto set featured image using ISBN and books API (faster and unlimited now); improvement: added FIFU fields to bbPress custom post types (Forum, Topic and Reply).
216
 
217
  = 3.5.9 =
218
  * New option: Featured slider > display images in the same height; new file: attached XML example for WP All Import plugin (Variations As Child XML Elements); new site: https://featuredimagefromurl.com/.
219
 
 
 
 
220
  = others =
221
  * [more](https://fifu.app/changelog)
222
 
223
 
224
  == Upgrade Notice ==
225
 
226
+ = 3.6.1 =
227
+ * New: FIFU widgets for WordPress and Elementor.