Version Description
- Improvement: settings link added to plugins page; some measures to avoid style conflicts.
Download this release
Release Info
Developer | marceljm |
Plugin | Featured Image From URL |
Version | 2.3.5 |
Comparing to | |
See all releases |
Code changes from version 2.3.4 to 2.3.5
- admin/html/menu.html +3 -3
- admin/html/meta-box.html +1 -11
- admin/menu.php +7 -5
- featured-image-from-url.php +11 -1
- readme.txt +6 -0
admin/html/menu.html
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<div class="wrap" style="opacity:0">
|
2 |
|
3 |
<div class="header-box" style="background-color:#23282d">
|
4 |
-
<h1 style="color:white"><img src="
|
5 |
</div>
|
6 |
|
7 |
<div id="tabs-top">
|
@@ -20,7 +20,7 @@
|
|
20 |
<li><a href="#tabs-c">Video</a></li>
|
21 |
<li><a href="#tabs-o">WooCommerce</a></li>
|
22 |
<li><a href="#tabs-p">WP All Import</a></li>
|
23 |
-
<li><a href="#tabs-a">Premium version
|
24 |
<br>
|
25 |
<br>
|
26 |
<div id="tabs-a">
|
@@ -2143,7 +2143,7 @@
|
|
2143 |
<div class="box">
|
2144 |
<h2>Fast Support</h2>
|
2145 |
<div class="greybox">
|
2146 |
-
If you need any help, you can refer to <a href="https://wordpress.org/plugins/featured-image-from-url/faq/" target="_blank">FAQ</a> and <a href="https://wordpress.org/plugins/featured-image-from-url/screenshots/" target="_blank">screenshots</a> or send an email to <b>marcel@featuredimagefromurl.com</b> (send me this <
|
2147 |
</div>
|
2148 |
</div>
|
2149 |
</div>
|
1 |
<div class="wrap" style="opacity:0">
|
2 |
|
3 |
<div class="header-box" style="background-color:#23282d">
|
4 |
+
<h1 style="color:white"><img src="wp-content/plugins/featured-image-from-url/admin/images/favicon.png" alt=""> <b>Featured Image from URL</b> 2</h1>
|
5 |
</div>
|
6 |
|
7 |
<div id="tabs-top">
|
20 |
<li><a href="#tabs-c">Video</a></li>
|
21 |
<li><a href="#tabs-o">WooCommerce</a></li>
|
22 |
<li><a href="#tabs-p">WP All Import</a></li>
|
23 |
+
<li><a href="#tabs-a">Premium version <b style="border-radius:2px;padding:3px;background-color:black;color:white">20%OFF</b></a></li>
|
24 |
<br>
|
25 |
<br>
|
26 |
<div id="tabs-a">
|
2143 |
<div class="box">
|
2144 |
<h2>Fast Support</h2>
|
2145 |
<div class="greybox">
|
2146 |
+
If you need any help, you can refer to <a href="https://wordpress.org/plugins/featured-image-from-url/faq/" target="_blank">FAQ</a> and <a href="https://wordpress.org/plugins/featured-image-from-url/screenshots/" target="_blank">screenshots</a> or send an email to <b>marcel@featuredimagefromurl.com</b> (send me this <button id="opener">data</button>, please).
|
2147 |
</div>
|
2148 |
</div>
|
2149 |
</div>
|
admin/html/meta-box.html
CHANGED
@@ -48,15 +48,5 @@
|
|
48 |
|
49 |
<div style="<?php echo $show_news ?>">
|
50 |
<p style="font-size: 12px; padding: 10px; border-left: 3px solid red; color: black;
|
51 |
-
background-color: whitesmoke;
|
52 |
-
<!--p style="font-size: 12px; padding: 5px; border-left: 6px solid red; color: black;
|
53 |
-
background-color: #eee; border-radius: 25px 5px;">Please report any problem to <a href="mailto:marcel@featuredimagefromurl.com">marcel@featuredimagefromurl.com</a></p-->
|
54 |
-
<!--p style="font-size: 12px; padding: 5px; border-left: 6px solid #b20ab8; color: black;
|
55 |
-
background-color: #eee; border-radius: 25px 5px;">New: WooCommerce <a href="admin.php?page=featured-image-from-url#variable">Product Variable</a> support (<a href="https://shop.featuredimagefromurl.com/product/variable-product/">live preview</a>)</p-->
|
56 |
-
<!--p style="font-size: 12px; padding: 5px; border-left: 6px solid orange; color: black;
|
57 |
-
background-color: #eee; border-radius: 25px 5px;">New: if the Alt/Title field is empty then automatically set that with the post/page/product title</p-->
|
58 |
-
<!--p style="font-size: 12px; padding: 5px; border-left: 6px solid chartreuse; color: black;
|
59 |
-
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-->
|
60 |
-
<!--p style="font-size: 12px; padding: 5px; border-left: 6px solid #3627c2; color: black;
|
61 |
-
background-color: #eee; border-radius: 25px 5px;">New: apply a <b><a href="admin.php?page=featured-image-from-url#css">CSS Style</a></b> to all your external featured images. It's a free feature now (16% of <a href="https://goo.gl/forms/TxLdhwXTqsuO5BHg2">votes</a>)</p-->
|
62 |
</div>
|
48 |
|
49 |
<div style="<?php echo $show_news ?>">
|
50 |
<p style="font-size: 12px; padding: 10px; border-left: 3px solid red; color: black;
|
51 |
+
background-color: whitesmoke; position: relative; top: 10px">Product Gallery, Video and Slider are <a href="wp-admin/admin.php?page=featured-image-from-url#tabs-a">premium features</a></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
</div>
|
admin/menu.php
CHANGED
@@ -5,11 +5,13 @@ define('FIFU_SETTINGS', serialize(array('fifu_social', 'fifu_original', 'fifu_la
|
|
5 |
add_action('admin_menu', 'fifu_insert_menu');
|
6 |
|
7 |
function fifu_insert_menu() {
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
|
|
|
|
13 |
|
14 |
add_menu_page('Featured Image from URL', 'Featured Image from URL', 'administrator', 'featured-image-from-url', 'fifu_get_menu_html', plugins_url() . '/featured-image-from-url/admin/images/favicon.png', 57);
|
15 |
|
5 |
add_action('admin_menu', 'fifu_insert_menu');
|
6 |
|
7 |
function fifu_insert_menu() {
|
8 |
+
if (strpos($_SERVER['REQUEST_URI'], 'featured-image-from-url') !== false) {
|
9 |
+
wp_enqueue_style('font-awesome', 'https://use.fontawesome.com/releases/v5.7.0/css/all.css');
|
10 |
+
wp_enqueue_style('jquery-ui-style', '//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.min.css');
|
11 |
+
wp_enqueue_script('jquery-ui', 'https://code.jquery.com/ui/1.11.4/jquery-ui.min.js');
|
12 |
+
wp_enqueue_script('jquery', 'https://code.jquery.com/jquery-1.11.3.min.js');
|
13 |
+
wp_enqueue_script('jquery-block-ui', 'https://cdnjs.cloudflare.com/ajax/libs/jquery.blockUI/2.70/jquery.blockUI.min.js');
|
14 |
+
}
|
15 |
|
16 |
add_menu_page('Featured Image from URL', 'Featured Image from URL', 'administrator', 'featured-image-from-url', 'fifu_get_menu_html', plugins_url() . '/featured-image-from-url/admin/images/favicon.png', 57);
|
17 |
|
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.3.
|
8 |
* Author: Marcel Jacques Machado
|
9 |
* Author URI: https://www.linkedin.com/in/marceljm/
|
10 |
*/
|
@@ -54,3 +54,13 @@ function fifu_upgrade($upgrader_object, $options) {
|
|
54 |
}
|
55 |
}
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.3.5
|
8 |
* Author: Marcel Jacques Machado
|
9 |
* Author URI: https://www.linkedin.com/in/marceljm/
|
10 |
*/
|
54 |
}
|
55 |
}
|
56 |
|
57 |
+
add_filter('plugin_action_links_' . plugin_basename(__FILE__), 'fifu_action_links');
|
58 |
+
add_filter('network_admin_plugin_action_links_' . plugin_basename(__FILE__), 'fifu_action_links');
|
59 |
+
|
60 |
+
function fifu_action_links($links) {
|
61 |
+
$links[] = '<a href="' . esc_url(get_admin_url(null, 'admin.php?page=featured-image-from-url')) . '">Settings</a>';
|
62 |
+
$links[] = '<a style="color:black">Support Email:</a>';
|
63 |
+
$links[] = '<br><center style="width:90%;color:white;background-color:#02a0d2;border-radius:0px 30px">marcel@featuredimagefromurl.com</center>';
|
64 |
+
return $links;
|
65 |
+
}
|
66 |
+
|
readme.txt
CHANGED
@@ -157,6 +157,9 @@ Features:
|
|
157 |
|
158 |
== Changelog ==
|
159 |
|
|
|
|
|
|
|
160 |
= 2.3.4 =
|
161 |
* Offer: premium version + lifetime updates for US$ 40.
|
162 |
|
@@ -529,6 +532,9 @@ was removed. To finish, a Premium version is now been presented.
|
|
529 |
|
530 |
== Upgrade Notice ==
|
531 |
|
|
|
|
|
|
|
532 |
= 2.3.4 =
|
533 |
* Offer: premium version + lifetime updates for US$ 40.
|
534 |
|
157 |
|
158 |
== Changelog ==
|
159 |
|
160 |
+
= 2.3.5 =
|
161 |
+
* Improvement: settings link added to plugins page; some measures to avoid style conflicts.
|
162 |
+
|
163 |
= 2.3.4 =
|
164 |
* Offer: premium version + lifetime updates for US$ 40.
|
165 |
|
532 |
|
533 |
== Upgrade Notice ==
|
534 |
|
535 |
+
= 2.3.5 =
|
536 |
+
* Improvement: settings link added to plugins page; some measures to avoid style conflicts.
|
537 |
+
|
538 |
= 2.3.4 =
|
539 |
* Offer: premium version + lifetime updates for US$ 40.
|
540 |
|