WD Instagram Feed – Instagram Gallery - Version 1.3.17

Version Description

Added: Feed edit links for Elementor widget.

Download this release

Release Info

Developer 10web
Plugin Icon 128x128 WD Instagram Feed – Instagram Gallery
Version 1.3.17
Comparing to
See all releases

Code changes from version 1.3.16 to 1.3.17

admin-functions.php CHANGED
@@ -673,7 +673,7 @@ function wdi_get_settings(){
673
  'wdi_access_token' => array('name' => 'wdi_access_token', 'sanitize_type' => 'text', 'input_size' => '53', 'type' => 'input', 'default' => '', 'field_or_not' => 'field', 'section' => 'wdi_configure_section', 'title' => __('Primary Access Token', "wd-instagram-feed")),
674
  'wdi_user_name' => array('name' => 'wdi_user_name', 'sanitize_type' => 'text', 'type' => 'input', 'input_size' => '53', 'section' => 'wdi_configure_section', 'field_or_not' => 'field', 'default' => '', 'title' => __('Primary Username', "wd-instagram-feed")),
675
  'wdi_user_id' => array('name' => 'wdi_user_id', 'sanitize_type' => 'text', 'type' => 'input', 'section' => 'wdi_configure_section', 'readonly' => 'readonly', 'default' => '', 'field_or_not' => 'no_field'),
676
- 'wdi_fb_auth' => array('name'=>'wdi_fb_auth','sanitize_type'=>'','field_or_not'=>'','type'=>'link_button', 'section'=>'wdi_configure_section', 'href'=>wdi_get_graph_auth_url(), 'title'=>__('Log in for hashtag feed',"wd-instagram-feed"),'default'=>'', 'value'=>$fb_button_text, 'description' => 'Connect to Facebook Graph API to get hashtag feeds. See more in <a href="https://help.10web.io/hc/en-us/articles/360021344111" target="_blank">documentation</a>.'),
677
 
678
  'wdi_transient_time' => array('name'=>'wdi_transient_time','sanitize_type'=>'number','field_or_not'=>'','type'=>'input', 'input_type'=>'number', 'section'=>'wdi_customize_section', 'title'=>__('Check for new posts every (min)',"wd-instagram-feed"),'default'=>'' ,'value'=>60),
679
  'wdi_reset_cache' => array('name'=>'wdi_reset_cache','sanitize_type'=>'','field_or_not'=>'','type'=>'link_button', 'section'=>'wdi_customize_section', 'href'=>admin_url( 'admin.php?page=wdi_settings' ), 'title'=>__('Reset cache with Instagram data',"wd-instagram-feed"),'default'=>'', 'value'=>'Reset cache'),
673
  'wdi_access_token' => array('name' => 'wdi_access_token', 'sanitize_type' => 'text', 'input_size' => '53', 'type' => 'input', 'default' => '', 'field_or_not' => 'field', 'section' => 'wdi_configure_section', 'title' => __('Primary Access Token', "wd-instagram-feed")),
674
  'wdi_user_name' => array('name' => 'wdi_user_name', 'sanitize_type' => 'text', 'type' => 'input', 'input_size' => '53', 'section' => 'wdi_configure_section', 'field_or_not' => 'field', 'default' => '', 'title' => __('Primary Username', "wd-instagram-feed")),
675
  'wdi_user_id' => array('name' => 'wdi_user_id', 'sanitize_type' => 'text', 'type' => 'input', 'section' => 'wdi_configure_section', 'readonly' => 'readonly', 'default' => '', 'field_or_not' => 'no_field'),
676
+ 'wdi_fb_auth' => array('name'=>'wdi_fb_auth','sanitize_type'=>'','field_or_not'=>'','type'=>'link_button', 'section'=>'wdi_configure_section', 'href'=>wdi_get_graph_auth_url(), 'title'=>__('Log in for hashtag feed',"wd-instagram-feed"),'default'=>'', 'value'=>$fb_button_text, 'description' => 'Connect to Facebook Graph API to get hashtag feeds. See more in <a href="https://help.10web.io/hc/en-us/articles/360021344111?utm_source=instagram_feed&utm_medium=free_plugin" target="_blank">documentation</a>.'),
677
 
678
  'wdi_transient_time' => array('name'=>'wdi_transient_time','sanitize_type'=>'number','field_or_not'=>'','type'=>'input', 'input_type'=>'number', 'section'=>'wdi_customize_section', 'title'=>__('Check for new posts every (min)',"wd-instagram-feed"),'default'=>'' ,'value'=>60),
679
  'wdi_reset_cache' => array('name'=>'wdi_reset_cache','sanitize_type'=>'','field_or_not'=>'','type'=>'link_button', 'section'=>'wdi_customize_section', 'href'=>admin_url( 'admin.php?page=wdi_settings' ), 'title'=>__('Reset cache with Instagram data',"wd-instagram-feed"),'default'=>'', 'value'=>'Reset cache'),
admin/views/WDIViewFeeds_wdi.php CHANGED
@@ -58,14 +58,14 @@ class WDIViewFeeds_wdi
58
  <span class="wdi_help_bar_text">
59
  <?php _e('This section allows you to create, edit and delete Feeds.', "wd-instagram-feed"); ?>
60
  <a style="color: #5CAEBD; text-decoration: none;border-bottom: 1px dotted;" class="wdi_hb_t_link" target="_blank"
61
- href="https://help.10web.io/hc/en-us/articles/360016497251-Creating-Instagram-Feed"><?php _e('Read More in User Guide', "wd-instagram-feed"); ?></a>
62
  </span>
63
  <div class="wdi_hb_buy_pro">
64
  <a class="wdi_support_link" href="https://wordpress.org/support/plugin/wd-instagram-feed" target="_blank">
65
  <img src="<?php echo WDI_URL; ?>/images/i_support.png" >
66
  <?php _e("Support Forum", "gmwd"); ?>
67
  </a>
68
- <a class="wdi_update_pro_link" target="_blank" href="https://web-dorado.com/files/fromInstagramFeedWD.php">
69
  <?php _e("UPGRADE TO PREMIUM VERSION", "wd-instagram-feed"); ?>
70
  </a>
71
  </div>
@@ -526,14 +526,14 @@ public function genarateFeedViews()
526
  <span class="wdi_help_bar_text">
527
  <?php _e('Here You Can Change Feed Parameters.', "wd-instagram-feed"); ?>
528
  <a style="color: #5CAEBD; text-decoration: none;border-bottom: 1px dotted;" class="wdi_hb_t_link" target="_blank"
529
- href="https://help.10web.io/hc/en-us/articles/360016497251-Creating-Instagram-Feed"><?php _e('Read More in User Guide', "wd-instagram-feed"); ?></a>
530
  </span>
531
  <div class="wdi_hb_buy_pro">
532
  <a class="wdi_support_link" href="https://wordpress.org/support/plugin/wd-instagram-feed" target="_blank">
533
  <img src="<?php echo WDI_URL; ?>/images/i_support.png" >
534
  <?php _e("Support Forum", "gmwd"); ?>
535
  </a>
536
- <a class="wdi_update_pro_link" target="_blank" href="https://web-dorado.com/files/fromInstagramFeedWD.php">
537
  <?php _e("UPGRADE TO PREMIUM VERSION", "wd-instagram-feed"); ?>
538
  </a>
539
  </div>
58
  <span class="wdi_help_bar_text">
59
  <?php _e('This section allows you to create, edit and delete Feeds.', "wd-instagram-feed"); ?>
60
  <a style="color: #5CAEBD; text-decoration: none;border-bottom: 1px dotted;" class="wdi_hb_t_link" target="_blank"
61
+ href="https://help.10web.io/hc/en-us/articles/360016497251-Creating-Instagram-Feed?utm_source=instagram_feed&utm_medium=free_plugin"><?php _e('Read More in User Guide', "wd-instagram-feed"); ?></a>
62
  </span>
63
  <div class="wdi_hb_buy_pro">
64
  <a class="wdi_support_link" href="https://wordpress.org/support/plugin/wd-instagram-feed" target="_blank">
65
  <img src="<?php echo WDI_URL; ?>/images/i_support.png" >
66
  <?php _e("Support Forum", "gmwd"); ?>
67
  </a>
68
+ <a class="wdi_update_pro_link" target="_blank" href="https://10web.io/plugins/wordpress-instagram-feed/?utm_source=instagram_feed&utm_medium=free_plugin">
69
  <?php _e("UPGRADE TO PREMIUM VERSION", "wd-instagram-feed"); ?>
70
  </a>
71
  </div>
526
  <span class="wdi_help_bar_text">
527
  <?php _e('Here You Can Change Feed Parameters.', "wd-instagram-feed"); ?>
528
  <a style="color: #5CAEBD; text-decoration: none;border-bottom: 1px dotted;" class="wdi_hb_t_link" target="_blank"
529
+ href="https://help.10web.io/hc/en-us/articles/360016497251-Creating-Instagram-Feed?utm_source=instagram_feed&utm_medium=free_plugin"><?php _e('Read More in User Guide', "wd-instagram-feed"); ?></a>
530
  </span>
531
  <div class="wdi_hb_buy_pro">
532
  <a class="wdi_support_link" href="https://wordpress.org/support/plugin/wd-instagram-feed" target="_blank">
533
  <img src="<?php echo WDI_URL; ?>/images/i_support.png" >
534
  <?php _e("Support Forum", "gmwd"); ?>
535
  </a>
536
+ <a class="wdi_update_pro_link" target="_blank" href="https://10web.io/plugins/wordpress-instagram-feed/?utm_source=instagram_feed&utm_medium=free_plugin">
537
  <?php _e("UPGRADE TO PREMIUM VERSION", "wd-instagram-feed"); ?>
538
  </a>
539
  </div>
admin/views/WDIViewLicensing_wdi.php CHANGED
@@ -27,7 +27,7 @@ class WDIViewLicensing_wdi {
27
  <div class="wrap">
28
  <div class="update-nag notice wd-notice wdi_help_bar_wrap">
29
  <div class="wdi_hb_buy_pro">
30
- <a class="wdi_update_pro_link" target="_blank" href="https://web-dorado.com/files/fromInstagramFeedWD.php">
31
  <?php _e("UPGRADE TO PREMIUM VERSION", "wd-instagram-feed"); ?>
32
  </a>
33
  </div>
27
  <div class="wrap">
28
  <div class="update-nag notice wd-notice wdi_help_bar_wrap">
29
  <div class="wdi_hb_buy_pro">
30
+ <a class="wdi_update_pro_link" target="_blank" href="https://10web.io/plugins/wordpress-instagram-feed/?utm_source=instagram_feed&utm_medium=free_plugin">
31
  <?php _e("UPGRADE TO PREMIUM VERSION", "wd-instagram-feed"); ?>
32
  </a>
33
  </div>
admin/views/WDIViewSettings_wdi.php CHANGED
@@ -49,14 +49,14 @@ private $model;
49
  <span class="wdi_help_bar_text">
50
  <?php _e('This section allows you to set API parameters.', "wd-instagram-feed"); ?>
51
  <a style="color: #5CAEBD; text-decoration: none;border-bottom: 1px dotted;" class="wdi_hb_t_link" target="_blank"
52
- href="https://help.10web.io/hc/en-us/articles/360016277532-Configuring-Instagram-Access-Token"><?php _e('Read More in User Guide', "wd-instagram-feed"); ?></a>
53
  </span>
54
  <div class="wdi_hb_buy_pro">
55
  <a class="wdi_support_link" href="https://wordpress.org/support/plugin/wd-instagram-feed" target="_blank">
56
  <img src="<?php echo WDI_URL; ?>/images/i_support.png" >
57
  <?php _e("Support Forum", "gmwd"); ?>
58
  </a>
59
- <a class="wdi_update_pro_link" target="_blank" href="https://web-dorado.com/files/fromInstagramFeedWD.php">
60
  <?php _e("UPGRADE TO PREMIUM VERSION", "wd-instagram-feed"); ?>
61
  </a>
62
  </div>
49
  <span class="wdi_help_bar_text">
50
  <?php _e('This section allows you to set API parameters.', "wd-instagram-feed"); ?>
51
  <a style="color: #5CAEBD; text-decoration: none;border-bottom: 1px dotted;" class="wdi_hb_t_link" target="_blank"
52
+ href="https://help.10web.io/hc/en-us/articles/360016277532-Configuring-Instagram-Access-Token?utm_source=instagram_feed&utm_medium=free_plugin"><?php _e('Read More in User Guide', "wd-instagram-feed"); ?></a>
53
  </span>
54
  <div class="wdi_hb_buy_pro">
55
  <a class="wdi_support_link" href="https://wordpress.org/support/plugin/wd-instagram-feed" target="_blank">
56
  <img src="<?php echo WDI_URL; ?>/images/i_support.png" >
57
  <?php _e("Support Forum", "gmwd"); ?>
58
  </a>
59
+ <a class="wdi_update_pro_link" target="_blank" href="https://10web.io/plugins/wordpress-instagram-feed/?utm_source=instagram_feed&utm_medium=free_plugin">
60
  <?php _e("UPGRADE TO PREMIUM VERSION", "wd-instagram-feed"); ?>
61
  </a>
62
  </div>
admin/views/WDIViewThemes_wdi.php CHANGED
@@ -29,14 +29,14 @@ class WDIViewThemes_wdi {
29
  <span class="wdi_help_bar_text">
30
  <?php _e('This section allows you to create, edit and delete Themes.', "wd-instagram-feed"); ?>
31
  <a style="color: #5CAEBD; text-decoration: none;border-bottom: 1px dotted;" class="wdi_hb_t_link" target="_blank"
32
- href="https://help.10web.io/hc/en-us/articles/360016277832"><?php _e('Read More in User Guide', "wd-instagram-feed"); ?></a>
33
  </span>
34
  <div class="wdi_hb_buy_pro">
35
  <a class="wdi_support_link" href="https://wordpress.org/support/plugin/wd-instagram-feed" target="_blank">
36
  <img src="<?php echo WDI_URL; ?>/images/i_support.png" >
37
  <?php _e("Support Forum", "gmwd"); ?>
38
  </a>
39
- <a class="wdi_update_pro_link" target="_blank" href="https://web-dorado.com/files/fromInstagramFeedWD.php">
40
  <?php _e("UPGRADE TO PREMIUM VERSION", "wd-instagram-feed"); ?>
41
  </a>
42
  </div>
29
  <span class="wdi_help_bar_text">
30
  <?php _e('This section allows you to create, edit and delete Themes.', "wd-instagram-feed"); ?>
31
  <a style="color: #5CAEBD; text-decoration: none;border-bottom: 1px dotted;" class="wdi_hb_t_link" target="_blank"
32
+ href="https://help.10web.io/hc/en-us/articles/360016277832?utm_source=instagram_feed&utm_medium=free_plugin"><?php _e('Read More in User Guide', "wd-instagram-feed"); ?></a>
33
  </span>
34
  <div class="wdi_hb_buy_pro">
35
  <a class="wdi_support_link" href="https://wordpress.org/support/plugin/wd-instagram-feed" target="_blank">
36
  <img src="<?php echo WDI_URL; ?>/images/i_support.png" >
37
  <?php _e("Support Forum", "gmwd"); ?>
38
  </a>
39
+ <a class="wdi_update_pro_link" target="_blank" href="https://10web.io/plugins/wordpress-instagram-feed/?utm_source=instagram_feed&utm_medium=free_plugin">
40
  <?php _e("UPGRADE TO PREMIUM VERSION", "wd-instagram-feed"); ?>
41
  </a>
42
  </div>
changelog.txt CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  = 1.3.16 =
2
  Fixed: First time authorization.
3
 
1
+ = 1.3.17 =
2
+ Added: Feed edit links for Elementor widget.
3
+
4
  = 1.3.16 =
5
  Fixed: First time authorization.
6
 
elementor/elementor.php CHANGED
@@ -13,6 +13,7 @@ class WDIElementor {
13
  private function __construct(){
14
  // Register widget for Elementor builder.
15
  add_action('elementor/widgets/widgets_registered', array($this, 'register_elementor_widgets'));
 
16
 
17
  if(!defined('TWBB_VERSION')) {
18
  //fires after elementor editor styles and scripts are enqueued.
@@ -36,6 +37,9 @@ class WDIElementor {
36
  public function enqueue_editor_styles(){
37
  wp_enqueue_style('twbb-editor-styles', plugin_dir_url(__FILE__) . 'styles/editor.css', array(), '1.0.0');
38
  }
 
 
 
39
 
40
  public function register_widget_category($elements_manager){
41
  $elements_manager->add_category('tenweb-plugins-widgets', array(
13
  private function __construct(){
14
  // Register widget for Elementor builder.
15
  add_action('elementor/widgets/widgets_registered', array($this, 'register_elementor_widgets'));
16
+ add_action('elementor/editor/after_enqueue_scripts', array($this, 'enqueue_elementor_widget_scripts'));
17
 
18
  if(!defined('TWBB_VERSION')) {
19
  //fires after elementor editor styles and scripts are enqueued.
37
  public function enqueue_editor_styles(){
38
  wp_enqueue_style('twbb-editor-styles', plugin_dir_url(__FILE__) . 'styles/editor.css', array(), '1.0.0');
39
  }
40
+ public function enqueue_elementor_widget_scripts(){
41
+ wp_enqueue_script('twbb_editor_widget_js', plugin_dir_url(__FILE__) . 'js/wdi_elementor_widget.js', array('jquery'));
42
+ }
43
 
44
  public function register_widget_category($elements_manager){
45
  $elements_manager->add_category('tenweb-plugins-widgets', array(
elementor/js/wdi_elementor_widget.js ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery("document").ready(function () {
2
+ elementor.hooks.addAction( 'panel/open_editor/widget/wdi-elementor', function( panel, model, view ) {
3
+ var wdi_el = jQuery('select[data-setting="wdi_feeds"]',window.parent.document);
4
+ wdi_add_edit_link(wdi_el);
5
+ });
6
+ jQuery('body').on('change', 'select[data-setting="wdi_feeds"]',window.parent.document, function (){
7
+ wdi_add_edit_link(jQuery(this));
8
+ });
9
+ });
10
+
11
+ function wdi_add_edit_link(el) {
12
+ var wdi_el = el;
13
+ var wdi_id = wdi_el.val();
14
+ var a_link = wdi_el.closest('.elementor-control-content').find('.elementor-control-field-description').find('a');
15
+ var new_link = 'admin.php?page=wdi_feeds';
16
+ if(wdi_id !== '0'){
17
+ new_link = 'admin.php?page=wdi_feeds&task=edit&current_id='+wdi_el.val();
18
+ }
19
+ a_link.attr( 'href', new_link);
20
+ }
21
+
22
+
elementor/widget.php CHANGED
@@ -58,6 +58,15 @@ class WDIElementorWidget extends \Elementor\Widget_Base {
58
  ]
59
  );
60
 
 
 
 
 
 
 
 
 
 
61
  $this->add_control(
62
  'wdi_feeds',
63
  [
@@ -66,7 +75,8 @@ class WDIElementorWidget extends \Elementor\Widget_Base {
66
  'description' => __('', 'wd-instagram-feed'),
67
  'type' => \Elementor\Controls_Manager::SELECT,
68
  'default' => $this->default_feed,
69
- 'options' => $this->feed_options
 
70
  ]
71
  );
72
 
58
  ]
59
  );
60
 
61
+ $wdi_feed_id = $this->default_feed;
62
+ if(isset($settings) && isset($settings["wdi_feeds"]) && intval($settings["wdi_feeds"])>0){
63
+ $wdi_feed_id = intval($settings["wdi_feeds"]);
64
+ }
65
+ if(intval($this->default_feed) !==0){
66
+ $wdi_edit_link = add_query_arg(array( 'page' => 'wdi_feeds&task=edit&current_id='.$wdi_feed_id), admin_url('admin.php'));
67
+ }else{
68
+ $wdi_edit_link = add_query_arg(array( 'page' => 'wdi_feeds'), admin_url('admin.php'));
69
+ }
70
  $this->add_control(
71
  'wdi_feeds',
72
  [
75
  'description' => __('', 'wd-instagram-feed'),
76
  'type' => \Elementor\Controls_Manager::SELECT,
77
  'default' => $this->default_feed,
78
+ 'options' => $this->feed_options,
79
+ 'description' => __('Select the feed to display.', 'wd-instagram-feed') .' <a target="_balnk" " href="' . $wdi_edit_link . '">' . __('Edit feed', 'wd-instagram-feed') . '</a>',
80
  ]
81
  );
82
 
readme.txt CHANGED
@@ -1,24 +1,24 @@
1
- === 10Web Instagram Feed - Instagram Gallery ===
2
  Contributors: webdorado,10web,progmastery
3
  Tags: custom instagram feed, feed, instagram, hashtag, Instagram feed, instagram gallery, instagram posts, Instagram images, Instagram photos, lightbox, photos,instagram account
4
  Requires at least: 3.9
5
  Requires PHP: 5.2
6
  Tested up to: 5.2
7
- Stable tag: 1.3.16
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- 10Web Instagram Feed is the leading plugin for easily presenting a customizable Instagram feed on your website.
12
 
13
  == Description ==
14
 
15
- 10Web Instagram Feed is the leading plugin for easily presenting a customizable Instagram feed on your website.
16
 
17
  = Useful Links: =
18
 
19
  [Live Demo](https://demo.10web.io/instagram-feed/)
20
 
21
- [Premium Instagram Feed by 10Web](https://10web.io/plugins/wordpress-instagram-feed/)
22
 
23
  [Special Offer for all Premium Plugins](https://10web.io/plugins-bundle-pricing/)
24
 
@@ -26,9 +26,9 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
26
  https://www.youtube.com/watch?v=CgZNya0HZCQ
27
 
28
 
29
- 10Web Instagram Feed is a user-friendly WordPress plugin that can help you bring Instagram feeds with the media of your Instagram account to any of your posts and pages. It will take couple of minutes to set up and customize to your needs. 10Web Instagram Feed's settings and features will allow you to take full control over how to display the feeds and the content on your website.
30
 
31
- 10Web Instagram Feed is a perfect fit for bloggers, photography websites, travel and food blogs and for WordPress users that want to spice up their posts with the latest images and videos from their Instagram profiles. The plugin is responsive and scales perfectly to screens of all sizes, providing better user experience across the board.
32
 
33
 
34
  == Benefits ==
@@ -38,8 +38,8 @@ https://www.youtube.com/watch?v=CgZNya0HZCQ
38
  * **Add appeal to your website** - Stunning display views, custom styling features and image lightbox effects will bring vibrancy to your posts and pages, and add to your website's overall look and feel.
39
  * **Control** - Take pure charge of what content to display and how to display it with an extensive list of content and display settings. Specify the number of photos you display on the page and choose what happens when a visitor clicks on an image from the feed. Custom styled display views and filtered Instagram content will be a great addition to any post you publish.
40
  * **Minimal effort** – Set the plugin up and have it up and running in no time and with minimal efforts. Out of box solution that's user-friendly and simple in use.
41
- * **Support** - The team behind 10Web Instagram Feed provides timely and effective support to all its users. We keep standards high and response time low.
42
- * **Resource efficient** - WordPress 10Web Instagram Feed plugin loads the images pretty fast as no feed data is stored in the database. All the images, videos, captions and comments are retrieved directly from the Instagram in the front-end.
43
 
44
 
45
 
@@ -55,25 +55,25 @@ Create Instagram galleries on your website by embedding entire timelines to your
55
  You can choose to show a single feed on your pages and posts, but you can make things more interesting and create mixed feeds (Premium version). With single feeds you can show posts from your Instagram account and single hashtag. Mixed feeds, on the other hand, can contain your Instagram account and multiple hashtags. A front end filter is available for mixed feeds (Premium version).
56
 
57
  = FILTERED FEEDS =
58
- Use Conditional Filters of the 10Web Instagram Feed plugin to display or skip certain content from the feeds by setting up a filter logic and condition types. Add custom condition types if necessary and fine-tune your feeds. Conditional Filters option is available for Premium version only.
59
 
60
  = INSTAGRAM WIDGET =
61
  Want to show Instagram feeds on your website sidebar? Do it quick and easy with the help of the Instagram Feed Widget.
62
 
63
  = LIGHTBOX =
64
- 10Web Instagram Feed features a powerful lightbox. It provides support for HTML5 video, 15 transition effects (Premium version), filmstrip (Premium version) and carousel features. The lightbox works great with Instagram touch as well.
65
 
66
  = SCROLL AND PAGINATION =
67
  The plugin comes with a classic pagination with next and previous buttons. You can also choose the infinite scroll option (Premium version) to bring better user experience. This allows to view more images when scrolling the page down. You can set the the number of images you want to show per page.
68
 
69
  = THEMES =
70
- Choose from the two default themes offered by the plugin or create multifarious themes (Premium version) by customizing the colors, sizes and display styles. 10Web Instagram Feed allows you to have separate layout settings for each theme with custom settings for header, user data and pagination.
71
 
72
  = SETTINGS/CUSTOMIZATION =
73
 
74
  *Some customizations described here are available in Premium version. Please refer to feature summary for additional info.*
75
 
76
- 10Web Instagram Feed comes with extensive customization options for the feeds, layouts, themes and content display. Every new feed you add to your website has its own settings for the feed and for the lightbox that pops up when people click on an image or video. Upon clicking on the image you can choose to redirect people to Instagram, open the image in the lightbox, or chose the custom redirect option. There are various image sorting options available based on the date, likes, comments, and on random basis. Media loading options include load more button, infinite Instagram scrolling, or classic pagination with next and previous buttons. You can enable "Follow on Instagram" button from the feed settings and let your visitors follow the displayed Instagram accounts directly from your site. The number of photos you display on the page or post can be specified from the feed settings, as well as the number of the loading images.
77
 
78
 
79
  [Premium version adds](https://10web.io/plugins/wordpress-instagram-feed/)
@@ -94,32 +94,32 @@ Choose from the two default themes offered by the plugin or create multifarious
94
  * Conditional Filters
95
 
96
  ###IMPORTANT:
97
- If you think you found a bug in 10Web Instagram Feed or wonder how to add Instagram to your website, or how to get Instagram plugin up and running, please check out [Support Forum](https://wordpress.org/support/plugin/wd-instagram-feed). Additional information on how to download Instagram plugin to your website you can find in our user manual If you do not find a solution in the forum, do not hesitate to [click here to contact us](https://10web.io/contact-us/).
98
 
99
  == Installation ==
100
 
101
- #### Thank you for your interest in 10Web Instagram Feed.
102
 
103
- Here are two ways of installing 10Web Instagram Feed: via WordPress backend and via FTP. Let's discuss each case individually:
104
 
105
  **Installing via WordPress**
106
 
107
  Login to the WordPress Administrator Panel.
108
  Go to Plugins > Add New > Upload.
109
- Click Choose file button and select the zip folder of 10Web Instagram Feed plugin and press Install now button.
110
  Click Activate button.
111
 
112
  **Installing via FTP**
113
 
114
  Login to your hosting space via an FTP software, e.g. FileZilla.
115
- Unzip the downloaded 10Web Instagram Feed plugin folder without making any changes to the folder.
116
  Upload the Instagram plugin into the following location wp-content>wp-plugins.
117
  Login to the WordPress Administrator Panel.
118
- Activate 10Web Instagram Feed by going to Plugins and pressing Activate button.
119
 
120
  **Creating an Instagram Feed**
121
 
122
- Creating a responsive Instagram feed is simple and easy with this user-friendly Instagram importer plugin. Go to **10Web Instagram Feed > Feeds** and press **Add New.** Here you can choose Instagram feed layout and manage lightbox options. From the lightbox options you can enable filmstrip, slideshow, and take full control how custom feed images, image galleries, pictures, Instagram gallery, and videos of this social network are displayed within the lightbox.
123
 
124
  You can enable autoplay to play photos and Instagram group images similar to an image slider. To get an Instagram slider appearance in the lightbox you'll need to adjust the lightbox and image display settings. Lightbox works great with Instagram touch. The feed will be automatically updated once users share Instagram new images. The feeds support new Instagram carousel feature, and display the images of the responsive carousel.
125
 
@@ -495,19 +495,22 @@ Please make sure you don't have any important information before you proceed.
495
 
496
  == Screenshots ==
497
 
498
- 1. WordPress 10Web Instagram Feed - Thumbnail layout
499
- 2. WordPress 10Web Instagram Feed - Image browser layout
500
- 3. WordPress 10Web Instagram Feed - Lightbox
501
- 4. WordPress 10Web Instagram Feed - Edit Instagram Feed
502
- 5. WordPress 10Web Instagram Feed - Theme Settings
503
 
504
  == Privacy Policy ==
505
- 10Web Instagram Feed plugin uses Instagram API on website front end. You have to authorize the plugin via sign in to get data from Instagram on your behalf. The plugin does not send any user’s data to Instagram. All the data received from Instagram via API is cached in WordPress database for some short customizable period to provide front end optimization. You can delete or update cached data. Instagram saves some cookies in browsers of website visitors via API data. These cookies are mostly used for security purposes. They are regulated under terms of Instagram’s privacy policy https://instagram.com/legal/privacy. The plugin asks for your consent to collect site administrator’s email address and site URL to offer customer support, deals and discounts on premium products and more.
506
 
507
  == Changelog ==
508
 
 
 
 
509
  = 1.3.16 =
510
- Fixed: First time authorization.
511
 
512
  = 1.3.15 =
513
  Added: Banner to install 10Web manager.
@@ -641,7 +644,7 @@ Change: Introduction of Backup WD plugin
641
  Change: "create_function" is not used anymore
642
 
643
  = 1.2.4 =
644
- Fixed: 10Web Instagram Feed compatibility issue with Better WordPress Minify plugin, thanks to @amityweb for bug report
645
 
646
  = 1.2.3 =
647
  Change: WD library updated to version 1.0.11
@@ -789,7 +792,7 @@ Changed: Check and get user id on frontend if empty for some unknown reason
789
  Fixed: Bug when duplicating feeds
790
 
791
  = 1.1.0 =
792
- **IMPORTANT: Instagram changed the API. You need to get a new access token by using "Sign in with Instagram" button on the Settings page in order to keep your 10Web Instagram Feed plugin functioning after June 1.**
793
  new: Instagram new API
794
  new: Spanish translation (Thanks to Alexandro Lacadena Gomez)
795
 
1
+ === 10Web Social Feed ===
2
  Contributors: webdorado,10web,progmastery
3
  Tags: custom instagram feed, feed, instagram, hashtag, Instagram feed, instagram gallery, instagram posts, Instagram images, Instagram photos, lightbox, photos,instagram account
4
  Requires at least: 3.9
5
  Requires PHP: 5.2
6
  Tested up to: 5.2
7
+ Stable tag: 1.3.17
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ Formerly "10Web Istagram Feed". 10Web Social Feed for Instagram is the leading plugin for easily presenting a customizable Instagram feed on your website.
12
 
13
  == Description ==
14
 
15
+ 10Web Social Feed for Instagram is the leading plugin for easily presenting a customizable Instagram feed on your website.
16
 
17
  = Useful Links: =
18
 
19
  [Live Demo](https://demo.10web.io/instagram-feed/)
20
 
21
+ [Premium 10Web Social Feed for Instagram](https://10web.io/plugins/wordpress-instagram-feed/)
22
 
23
  [Special Offer for all Premium Plugins](https://10web.io/plugins-bundle-pricing/)
24
 
26
  https://www.youtube.com/watch?v=CgZNya0HZCQ
27
 
28
 
29
+ 10Web Social Feed for Instagram is a user-friendly WordPress plugin that can help you bring Instagram feeds with the media of your Instagram account to any of your posts and pages. It will take couple of minutes to set up and customize to your needs. 10Web Social Feed for Instagram's settings and features will allow you to take full control over how to display the feeds and the content on your website.
30
 
31
+ 10Web Social Feed for Instagram is a perfect fit for bloggers, photography websites, travel and food blogs and for WordPress users that want to spice up their posts with the latest images and videos from their Instagram profiles. The plugin is responsive and scales perfectly to screens of all sizes, providing better user experience across the board.
32
 
33
 
34
  == Benefits ==
38
  * **Add appeal to your website** - Stunning display views, custom styling features and image lightbox effects will bring vibrancy to your posts and pages, and add to your website's overall look and feel.
39
  * **Control** - Take pure charge of what content to display and how to display it with an extensive list of content and display settings. Specify the number of photos you display on the page and choose what happens when a visitor clicks on an image from the feed. Custom styled display views and filtered Instagram content will be a great addition to any post you publish.
40
  * **Minimal effort** – Set the plugin up and have it up and running in no time and with minimal efforts. Out of box solution that's user-friendly and simple in use.
41
+ * **Support** - The team behind 10Web Social Feed for Instagram provides timely and effective support to all its users. We keep standards high and response time low.
42
+ * **Resource efficient** - WordPress 10Web Social Feed for Instagram plugin loads the images pretty fast as no feed data is stored in the database. All the images, videos, captions and comments are retrieved directly from the Instagram in the front-end.
43
 
44
 
45
 
55
  You can choose to show a single feed on your pages and posts, but you can make things more interesting and create mixed feeds (Premium version). With single feeds you can show posts from your Instagram account and single hashtag. Mixed feeds, on the other hand, can contain your Instagram account and multiple hashtags. A front end filter is available for mixed feeds (Premium version).
56
 
57
  = FILTERED FEEDS =
58
+ Use Conditional Filters of the 10Web Social Feed for Instagram plugin to display or skip certain content from the feeds by setting up a filter logic and condition types. Add custom condition types if necessary and fine-tune your feeds. Conditional Filters option is available for Premium version only.
59
 
60
  = INSTAGRAM WIDGET =
61
  Want to show Instagram feeds on your website sidebar? Do it quick and easy with the help of the Instagram Feed Widget.
62
 
63
  = LIGHTBOX =
64
+ 10Web Social Feed for Instagram features a powerful lightbox. It provides support for HTML5 video, 15 transition effects (Premium version), filmstrip (Premium version) and carousel features. The lightbox works great with Instagram touch as well.
65
 
66
  = SCROLL AND PAGINATION =
67
  The plugin comes with a classic pagination with next and previous buttons. You can also choose the infinite scroll option (Premium version) to bring better user experience. This allows to view more images when scrolling the page down. You can set the the number of images you want to show per page.
68
 
69
  = THEMES =
70
+ Choose from the two default themes offered by the plugin or create multifarious themes (Premium version) by customizing the colors, sizes and display styles. 10Web Social Feed for Instagram allows you to have separate layout settings for each theme with custom settings for header, user data and pagination.
71
 
72
  = SETTINGS/CUSTOMIZATION =
73
 
74
  *Some customizations described here are available in Premium version. Please refer to feature summary for additional info.*
75
 
76
+ 10Web Social Feed for Instagram comes with extensive customization options for the feeds, layouts, themes and content display. Every new feed you add to your website has its own settings for the feed and for the lightbox that pops up when people click on an image or video. Upon clicking on the image you can choose to redirect people to Instagram, open the image in the lightbox, or chose the custom redirect option. There are various image sorting options available based on the date, likes, comments, and on random basis. Media loading options include load more button, infinite Instagram scrolling, or classic pagination with next and previous buttons. You can enable "Follow on Instagram" button from the feed settings and let your visitors follow the displayed Instagram accounts directly from your site. The number of photos you display on the page or post can be specified from the feed settings, as well as the number of the loading images.
77
 
78
 
79
  [Premium version adds](https://10web.io/plugins/wordpress-instagram-feed/)
94
  * Conditional Filters
95
 
96
  ###IMPORTANT:
97
+ If you think you found a bug in 10Web Social Feed for Instagram or wonder how to add Instagram to your website, or how to get Instagram plugin up and running, please check out [Support Forum](https://wordpress.org/support/plugin/wd-instagram-feed). Additional information on how to download Instagram plugin to your website you can find in our user manual If you do not find a solution in the forum, do not hesitate to [click here to contact us](https://10web.io/contact-us/).
98
 
99
  == Installation ==
100
 
101
+ #### Thank you for your interest in 10Web Social Feed for Instagram.
102
 
103
+ Here are two ways of installing 10Web Social Feed for Instagram: via WordPress backend and via FTP. Let's discuss each case individually:
104
 
105
  **Installing via WordPress**
106
 
107
  Login to the WordPress Administrator Panel.
108
  Go to Plugins > Add New > Upload.
109
+ Click Choose file button and select the zip folder of 10Web Social Feed for Instagram plugin and press Install now button.
110
  Click Activate button.
111
 
112
  **Installing via FTP**
113
 
114
  Login to your hosting space via an FTP software, e.g. FileZilla.
115
+ Unzip the downloaded 10Web Social Feed for Instagram plugin folder without making any changes to the folder.
116
  Upload the Instagram plugin into the following location wp-content>wp-plugins.
117
  Login to the WordPress Administrator Panel.
118
+ Activate 10Web Social Feed for Instagram by going to Plugins and pressing Activate button.
119
 
120
  **Creating an Instagram Feed**
121
 
122
+ Creating a responsive Instagram feed is simple and easy with this user-friendly Instagram importer plugin. Go to **10Web Social Feed for Instagram > Feeds** and press **Add New.** Here you can choose Instagram feed layout and manage lightbox options. From the lightbox options you can enable filmstrip, slideshow, and take full control how custom feed images, image galleries, pictures, Instagram gallery, and videos of this social network are displayed within the lightbox.
123
 
124
  You can enable autoplay to play photos and Instagram group images similar to an image slider. To get an Instagram slider appearance in the lightbox you'll need to adjust the lightbox and image display settings. Lightbox works great with Instagram touch. The feed will be automatically updated once users share Instagram new images. The feeds support new Instagram carousel feature, and display the images of the responsive carousel.
125
 
495
 
496
  == Screenshots ==
497
 
498
+ 1. WordPress 10Web Social Feed for Instagram - Thumbnail layout
499
+ 2. WordPress 10Web Social Feed for Instagram - Image browser layout
500
+ 3. WordPress 10Web Social Feed for Instagram - Lightbox
501
+ 4. WordPress 10Web Social Feed for Instagram - Edit Instagram Feed
502
+ 5. WordPress 10Web Social Feed for Instagram - Theme Settings
503
 
504
  == Privacy Policy ==
505
+ 10Web Social Feed for Instagram plugin uses Instagram API on website front end. You have to authorize the plugin via sign in to get data from Instagram on your behalf. The plugin does not send any user’s data to Instagram. All the data received from Instagram via API is cached in WordPress database for some short customizable period to provide front end optimization. You can delete or update cached data. Instagram saves some cookies in browsers of website visitors via API data. These cookies are mostly used for security purposes. They are regulated under terms of Instagram’s privacy policy https://instagram.com/legal/privacy. The plugin asks for your consent to collect site administrator’s email address and site URL to offer customer support, deals and discounts on premium products and more.
506
 
507
  == Changelog ==
508
 
509
+ = 1.3.17 =
510
+ Added: Feed edit links for Elementor widget.
511
+
512
  = 1.3.16 =
513
+ Fixed: First time authorization.
514
 
515
  = 1.3.15 =
516
  Added: Banner to install 10Web manager.
644
  Change: "create_function" is not used anymore
645
 
646
  = 1.2.4 =
647
+ Fixed: 10Web Social Feed for Instagram compatibility issue with Better WordPress Minify plugin, thanks to @amityweb for bug report
648
 
649
  = 1.2.3 =
650
  Change: WD library updated to version 1.0.11
792
  Fixed: Bug when duplicating feeds
793
 
794
  = 1.1.0 =
795
+ **IMPORTANT: Instagram changed the API. You need to get a new access token by using "Sign in with Instagram" button on the Settings page in order to keep your 10Web Social Feed for Instagram plugin functioning after June 1.**
796
  new: Instagram new API
797
  new: Spanish translation (Thanks to Alexandro Lacadena Gomez)
798
 
templates/plugin-uninstalled.php CHANGED
@@ -26,7 +26,7 @@
26
  </style>
27
  <div class="wdi_plugin_uninstalled">
28
  <p>Dear <span><?php echo (wp_get_current_user()->user_firstname!='') ? wp_get_current_user()->user_firstname .' '. wp_get_current_user()->user_lastname : wp_get_current_user()->user_login?></span> <?php _e('you have uninstalled','wd-instagram-feed') ?> <span>Instagram Feed </span><?php _e('plugin,if you want to use it again simply deactivate and activate it again','wd-instagram-feed') ?>
29
- <span class="wdi_regards">Best regards Web-Dorado Team.</span></p>
30
  <a href="<?php echo $deactivate_url?>">Deactivate Plugin</a>
31
  <p id="wdi_redirect"></p>
32
  </div>
26
  </style>
27
  <div class="wdi_plugin_uninstalled">
28
  <p>Dear <span><?php echo (wp_get_current_user()->user_firstname!='') ? wp_get_current_user()->user_firstname .' '. wp_get_current_user()->user_lastname : wp_get_current_user()->user_login?></span> <?php _e('you have uninstalled','wd-instagram-feed') ?> <span>Instagram Feed </span><?php _e('plugin,if you want to use it again simply deactivate and activate it again','wd-instagram-feed') ?>
29
+ <span class="wdi_regards">Best regards 10Web Team.</span></p>
30
  <a href="<?php echo $deactivate_url?>">Deactivate Plugin</a>
31
  <p id="wdi_redirect"></p>
32
  </div>
wd-instagram-feed.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
  /*
3
  Plugin Name: Instagram Feed by 10Web
4
- Plugin URI: https://10web.io/plugins/wordpress-instagram-feed/
5
  Description: Instagram Feed by 10Web is a user-friendly tool for displaying user or hashtag-based feeds on your website. You can create feeds with one of the available layouts. It allows displaying image metadata, open up images in lightbox, download them and even share in social networking websites.
6
- Version: 1.3.16
7
  Author: 10Web
8
- Author URI: https://10Web.io
9
  License: GPLv2 or later
10
  */
11
 
@@ -20,7 +20,7 @@ define("WDI_META", "_".WDI_VAR."_meta");
20
  //define("wdi",'wdi');
21
  define('WDI_FEED_TABLE','wdi_feeds');
22
  define('WDI_THEME_TABLE','wdi_themes');
23
- define('WDI_VERSION','1.3.16');
24
  define('WD_WDI_PREFIX', 'wdi' );
25
  define('WDI_IS_PRO', false );
26
  $wdi_minify = ((isset($_GET['wdi_no_minify']) && $_GET['wdi_no_minify'] == "true") ? false : true);
@@ -100,7 +100,7 @@ function wdi_save_user_access_token(){
100
  }
101
 
102
  function wdi_no_business_account_notice(){
103
- echo "<div class='notice notice-error'><p>Cannot find connected Instagram business page. Either you do not have Instagram business account or it is not connected to current Facebook user's page. <a href='https://help.10web.io/hc/en-us/articles/360022629872' target='_blank'>See more in documentation.</a> </p></div>";
104
  }
105
 
106
  function wdi_invalid_fb_token_notice(){
@@ -628,7 +628,7 @@ function wdi_load_scripts($hook){
628
  "prefix" => "wdi" ,
629
  "deactivate_class" => 'wdi_deactivate_link',
630
  "email" => $admin_data->data->user_email,
631
- "plugin_wd_url" => "https://web-dorado.com/products/wordpress-instagram-feed-wd.html",
632
  ));
633
  }
634
 
@@ -880,68 +880,68 @@ function wdi_wd_lib_init(){
880
  "user_guide" => array(
881
  0 => array(
882
  "main_title" => __("Installation and configuration", "wd-instagram-feed"),
883
- "url" => "https://web-dorado.com/wordpress-instagram-feed-wd/installation-and-configuration/installation.html",
884
  "titles" => array(
885
  array(
886
  "title" => __("Getting Instagram Access Token", "wd-instagram-feed"),
887
- "url" => "https://help.10web.io/hc/en-us/articles/360016277532-Configuring-Instagram-Access-Token"
888
  )
889
  )
890
  ),
891
  1 => array(
892
  "main_title" => __("Creating an Instagram Feed", "wd-instagram-feed"),
893
- "url" => "https://help.10web.io/hc/en-us/articles/360016497251-Creating-Instagram-Feed",
894
  "titles" => array(
895
  array(
896
  "title" => __("Thumbnails and Masonry Layouts", "wd-instagram-feed"),
897
- "url" => "https://help.10web.io/hc/en-us/articles/360016277632",
898
  ),
899
  array(
900
  "title" => __("Blog Style Layout", "wd-instagram-feed"),
901
- "url" => "https://help.10web.io/hc/en-us/articles/360016277632",
902
  ),
903
  array(
904
  "title" => __("Image Browser", "wd-instagram-feed"),
905
- "url" => "https://help.10web.io/hc/en-us/articles/360016277632",
906
  ),
907
  array(
908
  "title" => __("Lightbox Settings", "wd-instagram-feed"),
909
- "url" => "https://help.10web.io/hc/en-us/articles/360016277752",
910
  ),
911
  array(
912
  "title" => __("Conditional Filters", "wd-instagram-feed"),
913
- "url" => "https://help.10web.io/hc/en-us/articles/360016497371",
914
  ),
915
  )
916
  ),
917
  2 => array(
918
  "main_title" => __("Publishing Instagram Feed", "wd-instagram-feed"),
919
- "url" => "https://help.10web.io/hc/en-us/articles/360016497391",
920
  "titles" => array(
921
  array(
922
  "title" => __("Publishing in a Page/Post", "wd-instagram-feed"),
923
- "url" => "https://help.10web.io/hc/en-us/articles/360016497391",
924
  ),
925
  array(
926
  "title" => __("Publishing as a Widget", "wd-instagram-feed"),
927
- "url" => "https://help.10web.io/hc/en-us/articles/360016497391",
928
  ),
929
  array(
930
  "title" => __("Publishing by PHP function", "wd-instagram-feed"),
931
- "url" => "https://help.10web.io/hc/en-us/articles/360016497391",
932
  ),
933
  )
934
  ),
935
  3 => array(
936
  "main_title" => __("Styling with Themes", "wd-instagram-feed"),
937
- "url" => "https://help.10web.io/hc/en-us/articles/360016277832",
938
  "titles" => array()
939
  )
940
  ),
941
  "overview_welcome_image" => null,
942
- "video_youtube_id" => "ijdrpkVAfEw", // e.g. https://www.youtube.com/watch?v=ijdrpkVAfEw youtube id is the ijdrpkVAfEw
943
- "plugin_wd_url" => "https://web-dorado.com/products/wordpress-instagram-feed-wd.html",
944
- "plugin_wd_demo_link" => "http://wpdemo.web-dorado.com/instagram-wd/?_ga=1.208438225.212018776.1470817467",
945
  "plugin_wd_addons_link" => "",
946
  "after_subscribe" => "admin.php?page=wdi_settings", // this can be plagin overview page or set up page
947
  "plugin_wizard_link" => "",
@@ -1027,7 +1027,7 @@ function wdi_privacy_policy($content){
1027
  $text .= "<br/>";
1028
  $text .= sprintf(__('"Instagram Feed plugin uses Instagram API on website front end. All the data received from Instagram via API is cached in WordPress database for some short period to provide front end optimization. You may request us to delete your Instagram data if it is accidentally cached in our website database with hashtag feed data. Instagram saves some cookies in browsers of website visitors via API data. These cookies are mostly used for security purposes. They are regulated under terms of Instagram’s %s."', "wd-instagram-feed"), $pp_link);
1029
  $text .= "<br/>";
1030
- $text .= __('Web-Dorado Disclaimer: The above text is for informational purposes only and is not a legal advice. You must not rely on it as an alternative to legal advice. You should contact your legal counsel to obtain advice with respect to your particular case.', "wd-instagram-feed");
1031
  $pp_text = '<h3>' . $title . '</h3>' . '<p class="wp-policy-help">' . $text . '</p>';
1032
 
1033
  $content .= $pp_text;
1
  <?php
2
  /*
3
  Plugin Name: Instagram Feed by 10Web
4
+ Plugin URI: https://10web.io/plugins/wordpress-instagram-feed/?utm_source=instagram_feed&utm_medium=free_plugin
5
  Description: Instagram Feed by 10Web is a user-friendly tool for displaying user or hashtag-based feeds on your website. You can create feeds with one of the available layouts. It allows displaying image metadata, open up images in lightbox, download them and even share in social networking websites.
6
+ Version: 1.3.17
7
  Author: 10Web
8
+ Author URI: https://10Web.io/plugins/?utm_source=instagram_feed&utm_medium=free_plugin
9
  License: GPLv2 or later
10
  */
11
 
20
  //define("wdi",'wdi');
21
  define('WDI_FEED_TABLE','wdi_feeds');
22
  define('WDI_THEME_TABLE','wdi_themes');
23
+ define('WDI_VERSION','1.3.17');
24
  define('WD_WDI_PREFIX', 'wdi' );
25
  define('WDI_IS_PRO', false );
26
  $wdi_minify = ((isset($_GET['wdi_no_minify']) && $_GET['wdi_no_minify'] == "true") ? false : true);
100
  }
101
 
102
  function wdi_no_business_account_notice(){
103
+ echo "<div class='notice notice-error'><p>Cannot find connected Instagram business page. Either you do not have Instagram business account or it is not connected to current Facebook user's page. <a href='https://help.10web.io/hc/en-us/articles/360022629872?utm_source=instagram_feed&utm_medium=free_plugin' target='_blank'>See more in documentation.</a> </p></div>";
104
  }
105
 
106
  function wdi_invalid_fb_token_notice(){
628
  "prefix" => "wdi" ,
629
  "deactivate_class" => 'wdi_deactivate_link',
630
  "email" => $admin_data->data->user_email,
631
+ "plugin_wd_url" => "https://10web.io/plugins/wordpress-instagram-feed/?utm_source=instagram_feed&utm_medium=free_plugin",
632
  ));
633
  }
634
 
880
  "user_guide" => array(
881
  0 => array(
882
  "main_title" => __("Installation and configuration", "wd-instagram-feed"),
883
+ "url" => "https://help.10web.io/hc/en-us/articles/360016277532-Configuring-Instagram-Access-Token?utm_source=instagram_feed&utm_medium=free_plugin",
884
  "titles" => array(
885
  array(
886
  "title" => __("Getting Instagram Access Token", "wd-instagram-feed"),
887
+ "url" => "https://help.10web.io/hc/en-us/articles/360016277532-Configuring-Instagram-Access-Token?utm_source=instagram_feed&utm_medium=free_plugin"
888
  )
889
  )
890
  ),
891
  1 => array(
892
  "main_title" => __("Creating an Instagram Feed", "wd-instagram-feed"),
893
+ "url" => "https://help.10web.io/hc/en-us/articles/360016497251-Creating-Instagram-Feed?utm_source=instagram_feed&utm_medium=free_plugin",
894
  "titles" => array(
895
  array(
896
  "title" => __("Thumbnails and Masonry Layouts", "wd-instagram-feed"),
897
+ "url" => "https://help.10web.io/hc/en-us/articles/360016277632?utm_source=instagram_feed&utm_medium=free_plugin",
898
  ),
899
  array(
900
  "title" => __("Blog Style Layout", "wd-instagram-feed"),
901
+ "url" => "https://help.10web.io/hc/en-us/articles/360016277632?utm_source=instagram_feed&utm_medium=free_plugin",
902
  ),
903
  array(
904
  "title" => __("Image Browser", "wd-instagram-feed"),
905
+ "url" => "https://help.10web.io/hc/en-us/articles/360016277632?utm_source=instagram_feed&utm_medium=free_plugin",
906
  ),
907
  array(
908
  "title" => __("Lightbox Settings", "wd-instagram-feed"),
909
+ "url" => "https://help.10web.io/hc/en-us/articles/360016277752?utm_source=instagram_feed&utm_medium=free_plugin",
910
  ),
911
  array(
912
  "title" => __("Conditional Filters", "wd-instagram-feed"),
913
+ "url" => "https://help.10web.io/hc/en-us/articles/360016497371?utm_source=instagram_feed&utm_medium=free_plugin",
914
  ),
915
  )
916
  ),
917
  2 => array(
918
  "main_title" => __("Publishing Instagram Feed", "wd-instagram-feed"),
919
+ "url" => "https://help.10web.io/hc/en-us/articles/360016497391?utm_source=instagram_feed&utm_medium=free_plugin",
920
  "titles" => array(
921
  array(
922
  "title" => __("Publishing in a Page/Post", "wd-instagram-feed"),
923
+ "url" => "https://help.10web.io/hc/en-us/articles/360016497391?utm_source=instagram_feed&utm_medium=free_plugin",
924
  ),
925
  array(
926
  "title" => __("Publishing as a Widget", "wd-instagram-feed"),
927
+ "url" => "https://help.10web.io/hc/en-us/articles/360016497391?utm_source=instagram_feed&utm_medium=free_plugin",
928
  ),
929
  array(
930
  "title" => __("Publishing by PHP function", "wd-instagram-feed"),
931
+ "url" => "https://help.10web.io/hc/en-us/articles/360016497391?utm_source=instagram_feed&utm_medium=free_plugin",
932
  ),
933
  )
934
  ),
935
  3 => array(
936
  "main_title" => __("Styling with Themes", "wd-instagram-feed"),
937
+ "url" => "https://help.10web.io/hc/en-us/articles/360016277832?utm_source=instagram_feed&utm_medium=free_plugin",
938
  "titles" => array()
939
  )
940
  ),
941
  "overview_welcome_image" => null,
942
+ "video_youtube_id" => "ijdrpkVAfEw",
943
+ "plugin_wd_url" => "https://10web.io/plugins/wordpress-instagram-feed/?utm_source=instagram_feed&utm_medium=free_plugin",
944
+ "plugin_wd_demo_link" => "https://demo.10web.io/instagram-feed/?utm_source=instagram_feed&utm_medium=free_plugin",
945
  "plugin_wd_addons_link" => "",
946
  "after_subscribe" => "admin.php?page=wdi_settings", // this can be plagin overview page or set up page
947
  "plugin_wizard_link" => "",
1027
  $text .= "<br/>";
1028
  $text .= sprintf(__('"Instagram Feed plugin uses Instagram API on website front end. All the data received from Instagram via API is cached in WordPress database for some short period to provide front end optimization. You may request us to delete your Instagram data if it is accidentally cached in our website database with hashtag feed data. Instagram saves some cookies in browsers of website visitors via API data. These cookies are mostly used for security purposes. They are regulated under terms of Instagram’s %s."', "wd-instagram-feed"), $pp_link);
1029
  $text .= "<br/>";
1030
+ $text .= __('10Web Disclaimer: The above text is for informational purposes only and is not a legal advice. You must not rely on it as an alternative to legal advice. You should contact your legal counsel to obtain advice with respect to your particular case.', "wd-instagram-feed");
1031
  $pp_text = '<h3>' . $title . '</h3>' . '<p class="wp-policy-help">' . $text . '</p>';
1032
 
1033
  $content .= $pp_text;