Version Description
- Instagram widget follow text issue fixed
=
Download this release
Release Info
Developer | blossomthemes |
Plugin | BlossomThemes Social Feed |
Version | 1.1.0 |
Comparing to | |
See all releases |
Code changes from version 1.0.9 to 1.1.0
README.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://blossomthemes.com
|
|
4 |
Tags: comments, spam
|
5 |
Requires at least: 4.3
|
6 |
Tested up to: 4.9
|
7 |
-
Stable tag: 1.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -73,4 +73,43 @@ If you do not enter the Instagram username in the widget, the username assigned
|
|
73 |
* Image size load smaller
|
74 |
|
75 |
= 1.0.9 =
|
76 |
-
* Image size for shortcode
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
Tags: comments, spam
|
5 |
Requires at least: 4.3
|
6 |
Tested up to: 4.9
|
7 |
+
Stable tag: 1.1.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
73 |
* Image size load smaller
|
74 |
|
75 |
= 1.0.9 =
|
76 |
+
* Image size for shortcode
|
77 |
+
|
78 |
+
= 1.1.0 =
|
79 |
+
* Instagram widget follow text issue fixed
|
80 |
+
|
81 |
+
== Upgrade Notice ==
|
82 |
+
|
83 |
+
= 1.1.0 =
|
84 |
+
* Instagram widget follow text issue fixed
|
85 |
+
|
86 |
+
= 1.0.9 =
|
87 |
+
* Image size for shortcode
|
88 |
+
|
89 |
+
= 1.0.8 =
|
90 |
+
* Resource Minification
|
91 |
+
* Image size load smaller
|
92 |
+
|
93 |
+
= 1.0.7 =
|
94 |
+
* Notice Fixed
|
95 |
+
|
96 |
+
= 1.0.6 =
|
97 |
+
* API updated
|
98 |
+
|
99 |
+
= 1.0.5 =
|
100 |
+
* API updated
|
101 |
+
|
102 |
+
= 1.0.4 =
|
103 |
+
* Function changed
|
104 |
+
|
105 |
+
= 1.0.3 =
|
106 |
+
* No username issue fixed
|
107 |
+
|
108 |
+
= 1.0.2 =
|
109 |
+
* Issue fixed
|
110 |
+
|
111 |
+
= 1.0.1 =
|
112 |
+
* Compatibility tested
|
113 |
+
|
114 |
+
= 1.0.0 =
|
115 |
+
* Initial release
|
blossomthemes-instagram-feed.php
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
* Plugin Name: BlossomThemes Instagram Feed
|
16 |
* Plugin URI: https://wordpress.org/plugins/blossomthemes-instagram-feed
|
17 |
* Description: Show instagram feed on your website using shortcode and widget.
|
18 |
-
* Version: 1.0
|
19 |
* Author: blossomthemes
|
20 |
* Author URI: https://blossomthemes.com
|
21 |
* License: GPL-2.0+
|
15 |
* Plugin Name: BlossomThemes Instagram Feed
|
16 |
* Plugin URI: https://wordpress.org/plugins/blossomthemes-instagram-feed
|
17 |
* Description: Show instagram feed on your website using shortcode and widget.
|
18 |
+
* Version: 1.1.0
|
19 |
* Author: blossomthemes
|
20 |
* Author URI: https://blossomthemes.com
|
21 |
* License: GPL-2.0+
|
includes/class-blossomthemes-instagram-feed-shortcodes.php
CHANGED
@@ -71,8 +71,7 @@ class BlossomThemes_Instagram_Feed_Shortcodes
|
|
71 |
});
|
72 |
});
|
73 |
</script>';
|
74 |
-
echo '<a class="profile-link" href="'.esc_url($instaUrl).'" target="_blank">'.esc_attr($profile_link_text).'</a>';
|
75 |
-
|
76 |
$output = ob_get_clean();
|
77 |
return $output;
|
78 |
}
|
71 |
});
|
72 |
});
|
73 |
</script>';
|
74 |
+
echo '<span class="insta-icon"><i class="fab fa-instagram"></i></span>'.' <a class="profile-link" href="'.esc_url($instaUrl).'" target="_blank">'.esc_attr($profile_link_text).'</a>';
|
|
|
75 |
$output = ob_get_clean();
|
76 |
return $output;
|
77 |
}
|
includes/widgets/widget-blossomthemes-instagram-feed.php
CHANGED
@@ -44,8 +44,13 @@ class BlossomThemes_Instagram_Widget extends WP_Widget {
|
|
44 |
$options = get_option( 'blossomthemes_instagram_feed_settings', true );
|
45 |
$username = empty( $instance['username'] ) ? $options['username'] : $instance['username'];
|
46 |
$profile_link = 'https://www.instagram.com/'.$username ;
|
47 |
-
$profile_link_text =
|
48 |
-
|
|
|
|
|
|
|
|
|
|
|
49 |
|
50 |
echo $args['before_widget'];
|
51 |
|
@@ -133,7 +138,12 @@ class BlossomThemes_Instagram_Widget extends WP_Widget {
|
|
133 |
$size = empty( $instance['size'] ) ? 'img_standard' : $instance['size'];
|
134 |
$per_row = empty( $instance['per_row'] ) ? 5 : $instance['per_row'];
|
135 |
$profile_link = 'https://www.instagram.com/'.$username;
|
136 |
-
$profile_link_text =
|
|
|
|
|
|
|
|
|
|
|
137 |
$meta = !isset( $instance['meta'] ) ? '' : $instance['meta'];
|
138 |
?>
|
139 |
<p>
|
@@ -198,6 +208,7 @@ class BlossomThemes_Instagram_Widget extends WP_Widget {
|
|
198 |
$instance['meta'] = $new_instance['meta'];
|
199 |
$instance['profile_link'] = 'https://www.instagram.com/'.$username;
|
200 |
$instance['username'] = $new_instance['username'] ;
|
|
|
201 |
|
202 |
return $instance;
|
203 |
}
|
44 |
$options = get_option( 'blossomthemes_instagram_feed_settings', true );
|
45 |
$username = empty( $instance['username'] ) ? $options['username'] : $instance['username'];
|
46 |
$profile_link = 'https://www.instagram.com/'.$username ;
|
47 |
+
$profile_link_text = 'Follow Me!';
|
48 |
+
|
49 |
+
if( isset( $instance['profile_link_text'] ) && $instance['profile_link_text']!='' )
|
50 |
+
{
|
51 |
+
$profile_link_text = $instance['profile_link_text'];
|
52 |
+
}
|
53 |
+
$meta = isset( $instance['meta'] ) ? 'true' : 'false';
|
54 |
|
55 |
echo $args['before_widget'];
|
56 |
|
138 |
$size = empty( $instance['size'] ) ? 'img_standard' : $instance['size'];
|
139 |
$per_row = empty( $instance['per_row'] ) ? 5 : $instance['per_row'];
|
140 |
$profile_link = 'https://www.instagram.com/'.$username;
|
141 |
+
$profile_link_text = 'Follow Me!';
|
142 |
+
if( isset( $instance['profile_link_text'] ) && $instance['profile_link_text']!='' )
|
143 |
+
{
|
144 |
+
$profile_link_text = $instance['profile_link_text'];
|
145 |
+
}
|
146 |
+
|
147 |
$meta = !isset( $instance['meta'] ) ? '' : $instance['meta'];
|
148 |
?>
|
149 |
<p>
|
208 |
$instance['meta'] = $new_instance['meta'];
|
209 |
$instance['profile_link'] = 'https://www.instagram.com/'.$username;
|
210 |
$instance['username'] = $new_instance['username'] ;
|
211 |
+
$instance['profile_link_text'] = $new_instance['profile_link_text'] ;
|
212 |
|
213 |
return $instance;
|
214 |
}
|
public/class-blossomthemes-instagram-feed-public.php
CHANGED
@@ -75,7 +75,6 @@ class Blossomthemes_Instagram_Feed_Public {
|
|
75 |
|
76 |
wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'css/blossomthemes-instagram-feed-public.min.css', array(), $this->version, 'all' );
|
77 |
wp_enqueue_style( 'magnific-popup', plugin_dir_url( __FILE__ ) . 'css/magnific-popup.min.css', array(), $this->version, 'all' );
|
78 |
-
wp_enqueue_style( 'font-awesome', plugin_dir_url( __FILE__ ) . 'css/font-awesome.css', array(), $this->version, 'all' );
|
79 |
}
|
80 |
|
81 |
/**
|
75 |
|
76 |
wp_enqueue_style( $this->plugin_name, plugin_dir_url( __FILE__ ) . 'css/blossomthemes-instagram-feed-public.min.css', array(), $this->version, 'all' );
|
77 |
wp_enqueue_style( 'magnific-popup', plugin_dir_url( __FILE__ ) . 'css/magnific-popup.min.css', array(), $this->version, 'all' );
|
|
|
78 |
}
|
79 |
|
80 |
/**
|