Featured Image From URL - Version 1.8.9

Version Description

  • New: FIFU column added to Custom Post Types.
Download this release

Release Info

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

Code changes from version 1.8.8 to 1.8.9

admin/column.php CHANGED
@@ -6,6 +6,7 @@ function fifu_column() {
6
  add_filter('manage_posts_columns', 'fifu_column_head');
7
  add_filter('manage_pages_columns', 'fifu_column_head');
8
  add_filter('manage_edit-product_cat_columns', 'fifu_column_head');
 
9
  add_action('manage_posts_custom_column', 'fifu_column_content', 10, 2);
10
  add_action('manage_pages_custom_column', 'fifu_column_content', 10, 2);
11
  add_action('manage_product_cat_custom_column', 'fifu_cat_column_content', 10, 3);
@@ -33,3 +34,9 @@ function fifu_column_content($column, $post_id) {
33
  echo sprintf('<img src="%s" height="%s"/>', $url, get_option('fifu_column_height'));
34
  }
35
  }
 
 
 
 
 
 
6
  add_filter('manage_posts_columns', 'fifu_column_head');
7
  add_filter('manage_pages_columns', 'fifu_column_head');
8
  add_filter('manage_edit-product_cat_columns', 'fifu_column_head');
9
+ fifu_column_custom_post_type();
10
  add_action('manage_posts_custom_column', 'fifu_column_content', 10, 2);
11
  add_action('manage_pages_custom_column', 'fifu_column_content', 10, 2);
12
  add_action('manage_product_cat_custom_column', 'fifu_cat_column_content', 10, 3);
34
  echo sprintf('<img src="%s" height="%s"/>', $url, get_option('fifu_column_height'));
35
  }
36
  }
37
+
38
+ function fifu_column_custom_post_type() {
39
+ for ($i = 0; $i < 5; $i++)
40
+ add_filter('manage_edit-' . get_option('fifu_cpt' . $i) . '_columns', 'fifu_column_head');
41
+ }
42
+
admin/html/meta-box.html CHANGED
@@ -44,12 +44,14 @@
44
  href="#"
45
  class="button sirv-add-image-modal-click"
46
  title="Add image from Sirv"
47
- style="<?php echo $show_sirv?>">Choose Sirv image</a>
48
 
49
 
50
- <div style="<?php echo $show_news?>">
51
  <br>
52
  <hr>
 
 
53
  <p style="font-size: 12px; padding: 5px; border-left: 6px solid chartreuse; color: black;
54
  background-color: #eee; border-radius: 25px 5px;">What should be the next plugin feature? Vote <a href="https://goo.gl/forms/TxLdhwXTqsuO5BHg2">here</a>.</p>
55
  <!--p style="font-size: 12px; padding: 5px; border-left: 6px solid #3627c2; color: black;
44
  href="#"
45
  class="button sirv-add-image-modal-click"
46
  title="Add image from Sirv"
47
+ style="<?php echo $show_sirv ?>">Choose Sirv image</a>
48
 
49
 
50
+ <div style="<?php echo $show_news ?>">
51
  <br>
52
  <hr>
53
+ <p style="font-size: 12px; padding: 5px; border-left: 6px solid orange; color: black;
54
+ background-color: #eee; border-radius: 25px 5px;">New: FIFU column added to Custom Post Types.</p>
55
  <p style="font-size: 12px; padding: 5px; border-left: 6px solid chartreuse; color: black;
56
  background-color: #eee; border-radius: 25px 5px;">What should be the next plugin feature? Vote <a href="https://goo.gl/forms/TxLdhwXTqsuO5BHg2">here</a>.</p>
57
  <!--p style="font-size: 12px; padding: 5px; border-left: 6px solid #3627c2; color: black;
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.8.8
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.8.9
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.8.8 =
163
  * Bug fix: priority feature.
164
 
@@ -381,6 +384,9 @@ was removed. To finish, a Premium version is now been presented.
381
 
382
  == Upgrade Notice ==
383
 
 
 
 
384
  = 1.8.8 =
385
  * Bug fix: priority feature.
386
 
159
 
160
  == Changelog ==
161
 
162
+ = 1.8.9 =
163
+ * New: FIFU column added to Custom Post Types.
164
+
165
  = 1.8.8 =
166
  * Bug fix: priority feature.
167
 
384
 
385
  == Upgrade Notice ==
386
 
387
+ = 1.8.9 =
388
+ * New: FIFU column added to Custom Post Types.
389
+
390
  = 1.8.8 =
391
  * Bug fix: priority feature.
392