Feed Them Social – Facebook, Instagram, Twitter, YouTube, Pinterest - Version 2.5.4

Version Description

Download this release

Release Info

Developer slickremix
Plugin Icon 128x128 Feed Them Social – Facebook, Instagram, Twitter, YouTube, Pinterest
Version 2.5.4
Comparing to
See all releases

Code changes from version 2.5.3 to 2.5.4

admin/class-fts-instagram-options-page.php CHANGED
@@ -77,7 +77,7 @@ class FTS_Instagram_Options_Page {
77
  <p>
78
  <?php
79
  echo sprintf(
80
- esc_html( 'This is required to make the feed work. Just click the button below and it will connect to your Instagram to get an access token, then it will return it in the input below. Then just click the save button and you will now be able to generate your Instagram feed. If the button is not working for you and can always %1$s manually create an Access Token.%2$s', 'feed-them-gallery' ),
81
  '<a href="' . esc_url( 'https://www.slickremix.com/docs/how-to-create-instagram-access-token/' ) . '" target="_blank">',
82
  '</a>'
83
  );
@@ -86,7 +86,7 @@ class FTS_Instagram_Options_Page {
86
  <p>
87
  <?php
88
  echo sprintf(
89
- esc_html( '%1$sLogin and get my Access Token%2$s', 'feed-them-gallery' ),
90
  '<a href="' . esc_url( 'https://instagram.com/oauth/authorize/?client_id=da06fb6699f1497bb0d5d4234a50da75&redirect_uri=http://www.slickremix.com/instagram-token-plugin/?return_uri=' . admin_url( 'admin.php?page=fts-instagram-feed-styles-submenu-page' ) . '&response_type=token&scope=public_content' ) . '" class="fts-instagram-get-access-token">',
91
  '</a>'
92
  );
@@ -145,7 +145,7 @@ class FTS_Instagram_Options_Page {
145
  }
146
  if ( ! isset( $test_app_token_response->meta->error_message ) && ! isset( $test_app_token_response->error_message ) && ! empty( $fts_instagram_access_token ) || isset( $test_app_token_response->meta->error_message ) && 'This client has not been approved to access this resource.' === $test_app_token_response->meta->error_message ) {
147
  echo sprintf(
148
- esc_html( '%1$sYour access token is working! Generate your shortcode on the %2$sSettings Page%3$s', 'feed-them-gallery' ),
149
  '<div class="fts-successful-api-token">',
150
  '<a href="' . esc_url( 'admin.php?page=feed-them-settings-page' . $custom_instagram_link_hash ) . '">',
151
  '</a></div>'
@@ -153,7 +153,7 @@ class FTS_Instagram_Options_Page {
153
  } elseif ( isset( $test_app_token_response->meta->error_message ) && ! empty( $fts_instagram_access_token ) || isset( $test_app_token_response->error_message ) && ! empty( $fts_instagram_access_token ) ) {
154
  $text = isset( $test_app_token_response->meta->error_message ) ? $test_app_token_response->meta->error_message : $test_app_token_response->error_message;
155
  echo sprintf(
156
- esc_html( '%1$sOh No something\'s wrong. %2$s. %3$s.', 'feed-them-gallery' ),
157
  '<div class="fts-failed-api-token">',
158
  esc_html( $text ),
159
  '</div>'
@@ -161,7 +161,7 @@ class FTS_Instagram_Options_Page {
161
  }
162
  if ( empty( $fts_instagram_access_token ) ) {
163
  echo sprintf(
164
- esc_html( '%1$sYou are required to get an access token to view your photos. Click Save all Changes after getting your Access Token.%2$s.', 'feed-them-gallery' ),
165
  '<div class="fts-failed-api-token">',
166
  '</div>'
167
  );
77
  <p>
78
  <?php
79
  echo sprintf(
80
+ esc_html( 'This is required to make the feed work. Just click the button below and it will connect to your Instagram to get an access token, then it will return it in the input below. Then just click the save button and you will now be able to generate your Instagram feed. If the button is not working for you and can always %1$s manually create an Access Token.%2$s', 'feed-them-social' ),
81
  '<a href="' . esc_url( 'https://www.slickremix.com/docs/how-to-create-instagram-access-token/' ) . '" target="_blank">',
82
  '</a>'
83
  );
86
  <p>
87
  <?php
88
  echo sprintf(
89
+ esc_html( '%1$sLogin and get my Access Token%2$s', 'feed-them-social' ),
90
  '<a href="' . esc_url( 'https://instagram.com/oauth/authorize/?client_id=da06fb6699f1497bb0d5d4234a50da75&redirect_uri=http://www.slickremix.com/instagram-token-plugin/?return_uri=' . admin_url( 'admin.php?page=fts-instagram-feed-styles-submenu-page' ) . '&response_type=token&scope=public_content' ) . '" class="fts-instagram-get-access-token">',
91
  '</a>'
92
  );
145
  }
146
  if ( ! isset( $test_app_token_response->meta->error_message ) && ! isset( $test_app_token_response->error_message ) && ! empty( $fts_instagram_access_token ) || isset( $test_app_token_response->meta->error_message ) && 'This client has not been approved to access this resource.' === $test_app_token_response->meta->error_message ) {
147
  echo sprintf(
148
+ esc_html( '%1$sYour access token is working! Generate your shortcode on the %2$sSettings Page%3$s', 'feed-them-social' ),
149
  '<div class="fts-successful-api-token">',
150
  '<a href="' . esc_url( 'admin.php?page=feed-them-settings-page' . $custom_instagram_link_hash ) . '">',
151
  '</a></div>'
153
  } elseif ( isset( $test_app_token_response->meta->error_message ) && ! empty( $fts_instagram_access_token ) || isset( $test_app_token_response->error_message ) && ! empty( $fts_instagram_access_token ) ) {
154
  $text = isset( $test_app_token_response->meta->error_message ) ? $test_app_token_response->meta->error_message : $test_app_token_response->error_message;
155
  echo sprintf(
156
+ esc_html( '%1$sOh No something\'s wrong. %2$s. %3$s.', 'feed-them-social' ),
157
  '<div class="fts-failed-api-token">',
158
  esc_html( $text ),
159
  '</div>'
161
  }
162
  if ( empty( $fts_instagram_access_token ) ) {
163
  echo sprintf(
164
+ esc_html( '%1$sYou are required to get an access token to view your photos. Click Save all Changes after getting your Access Token.%2$s.', 'feed-them-social' ),
165
  '<div class="fts-failed-api-token">',
166
  '</div>'
167
  );
admin/class-fts-pinterest-options-page.php CHANGED
@@ -63,7 +63,7 @@ class FTS_Pinterest_Options_Page {
63
  <p>
64
  <?php
65
  echo sprintf(
66
- esc_html( 'This is required to make the feed work. Click the button below and it will connect to your Pinterest account to get an access token, and it will return it in the input below. Then click the save button and you will now be able to generate your Pinterest feed. If you are having troubles with the button you can also get your Access Token %1$sHere%2$s.', 'feed-them-gallery' ),
67
  '<a href="' . esc_url( 'https://www.slickremix.com/docs/how-to-create-a-pinterest-access-token/' ) . '" target="_blank">',
68
  '</a>'
69
  );
@@ -72,7 +72,7 @@ class FTS_Pinterest_Options_Page {
72
  <p>
73
  <?php
74
  echo sprintf(
75
- esc_html( '%1$sLogin and get my Access Token%2$s', 'feed-them-gallery' ),
76
  '<a href="' . esc_url( 'https://api.pinterest.com/oauth/?response_type=token&redirect_uri=https://www.slickremix.com/pinterest-token-plugin/&client_id=4852080225414031681&scope=read_public&state=' . admin_url( 'admin.php?page=fts-pinterest-feed-styles-submenu-page' ) . '&scope=manage_pages' ) . '" class="fts-pinterest-get-access-token">',
77
  '</a>'
78
  );
@@ -114,14 +114,14 @@ class FTS_Pinterest_Options_Page {
114
  // Error Check!
115
  if ( ! isset( $test_app_token_response->status ) && ! empty( $fts_pinterest_access_token ) ) {
116
  echo sprintf(
117
- esc_html( '%1$sYour access token is working! Generate your shortcode on the %2$sSettings Page%3$s', 'feed-them-gallery' ),
118
  '<div class="fts-successful-api-token">',
119
  '<a href="' . esc_url( 'admin.php?page=feed-them-settings-page' ) . '">',
120
  '</a></div>'
121
  );
122
  } elseif ( isset( $test_app_token_response->status ) && ! empty( $fts_pinterest_access_token ) ) {
123
  echo sprintf(
124
- esc_html( '%1$sOh No something\'s wrong. %2$s. Please try again, if you are still having troulbes please contact us on our Support Forum. Make sure to include screenshots of the browser page that may come up with any errors. %3$sSupport Forum%4$s', 'feed-them-gallery' ),
125
  '<div class="fts-failed-api-token">',
126
  esc_html( $test_app_token_response->message ),
127
  '<a href="' . esc_url( 'https://www.slickremix.com/support/' ) . '">',
@@ -130,7 +130,7 @@ class FTS_Pinterest_Options_Page {
130
  }
131
  if ( empty( $fts_pinterest_access_token ) ) {
132
  echo sprintf(
133
- esc_html( 'You are required to get an access token to view your any of the Pinterest Feeds. Click "Save All Changes" after getting your Access Token.', 'feed-them-gallery' ),
134
  '<div class="fts-failed-api-token">',
135
  '</div>'
136
  );
@@ -187,7 +187,7 @@ class FTS_Pinterest_Options_Page {
187
  </h3>
188
  <?php
189
  echo sprintf(
190
- esc_html( 'These styles are for the list of Boards type feed %1$sSeen Here%2$s', 'feed-them-gallery' ),
191
  '<a href="' . esc_url( 'https://feedthemsocial.com/pinterest/' ) . '">',
192
  '</a>'
193
  );
63
  <p>
64
  <?php
65
  echo sprintf(
66
+ esc_html( 'This is required to make the feed work. Click the button below and it will connect to your Pinterest account to get an access token, and it will return it in the input below. Then click the save button and you will now be able to generate your Pinterest feed. If you are having troubles with the button you can also get your Access Token %1$sHere%2$s.', 'feed-them-social' ),
67
  '<a href="' . esc_url( 'https://www.slickremix.com/docs/how-to-create-a-pinterest-access-token/' ) . '" target="_blank">',
68
  '</a>'
69
  );
72
  <p>
73
  <?php
74
  echo sprintf(
75
+ esc_html( '%1$sLogin and get my Access Token%2$s', 'feed-them-social' ),
76
  '<a href="' . esc_url( 'https://api.pinterest.com/oauth/?response_type=token&redirect_uri=https://www.slickremix.com/pinterest-token-plugin/&client_id=4852080225414031681&scope=read_public&state=' . admin_url( 'admin.php?page=fts-pinterest-feed-styles-submenu-page' ) . '&scope=manage_pages' ) . '" class="fts-pinterest-get-access-token">',
77
  '</a>'
78
  );
114
  // Error Check!
115
  if ( ! isset( $test_app_token_response->status ) && ! empty( $fts_pinterest_access_token ) ) {
116
  echo sprintf(
117
+ esc_html( '%1$sYour access token is working! Generate your shortcode on the %2$sSettings Page%3$s', 'feed-them-social' ),
118
  '<div class="fts-successful-api-token">',
119
  '<a href="' . esc_url( 'admin.php?page=feed-them-settings-page' ) . '">',
120
  '</a></div>'
121
  );
122
  } elseif ( isset( $test_app_token_response->status ) && ! empty( $fts_pinterest_access_token ) ) {
123
  echo sprintf(
124
+ esc_html( '%1$sOh No something\'s wrong. %2$s. Please try again, if you are still having troulbes please contact us on our Support Forum. Make sure to include screenshots of the browser page that may come up with any errors. %3$sSupport Forum%4$s', 'feed-them-social' ),
125
  '<div class="fts-failed-api-token">',
126
  esc_html( $test_app_token_response->message ),
127
  '<a href="' . esc_url( 'https://www.slickremix.com/support/' ) . '">',
130
  }
131
  if ( empty( $fts_pinterest_access_token ) ) {
132
  echo sprintf(
133
+ esc_html( 'You are required to get an access token to view your any of the Pinterest Feeds. Click "Save All Changes" after getting your Access Token.', 'feed-them-social' ),
134
  '<div class="fts-failed-api-token">',
135
  '</div>'
136
  );
187
  </h3>
188
  <?php
189
  echo sprintf(
190
+ esc_html( 'These styles are for the list of Boards type feed %1$sSeen Here%2$s', 'feed-them-social' ),
191
  '<a href="' . esc_url( 'https://feedthemsocial.com/pinterest/' ) . '">',
192
  '</a>'
193
  );
admin/class-fts-settings-page-options.php CHANGED
@@ -1203,7 +1203,7 @@ class FTS_Settings_Page_Options {
1203
  // Access Token
1204
  array(
1205
  'option_type' => 'input',
1206
- 'label' => __( 'Access Token (required) ', 'feed-them-social' ) . '<br/><small>' . __( '', 'feed-them-gallery' ) . '</small>',
1207
  'type' => 'text',
1208
  'id' => 'fb_access_token',
1209
  'name' => 'fb_access_token',
@@ -3191,18 +3191,18 @@ class FTS_Settings_Page_Options {
3191
  array(
3192
  'input_wrap_class' => 'youtube_hide_option',
3193
  'option_type' => 'select',
3194
- 'label' => __( 'Force thumbnails rows', 'feed-them-gallery' ) . '<br/><small>' . __( 'No, will allow the video images to be responsive for smaller devices. Yes, will force the selected rows.', 'feed-them-social' ) . '</small>',
3195
  'type' => 'text',
3196
  'id' => 'fts_youtube_force_columns',
3197
  'name' => 'fts_youtube_force_columns',
3198
  'default_value' => 'no',
3199
  'options' => array(
3200
  array(
3201
- 'label' => __( 'No', 'feed-them-gallery' ),
3202
  'value' => 'no',
3203
  ),
3204
  array(
3205
- 'label' => __( 'Yes', 'feed-them-gallery' ),
3206
  'value' => 'yes',
3207
  ),
3208
  ),
@@ -4422,7 +4422,7 @@ class FTS_Settings_Page_Options {
4422
  // Access Token
4423
  array(
4424
  'option_type' => 'input',
4425
- 'label' => __( 'Access Token (required) ', 'feed-them-social' ) . '<br/><small>' . __( '', 'feed-them-gallery' ) . '</small>',
4426
  'type' => 'text',
4427
  'id' => 'insta_access_token',
4428
  'name' => 'insta_access_token',
@@ -4499,7 +4499,7 @@ class FTS_Settings_Page_Options {
4499
  array(
4500
  'input_wrap_class' => 'instagram_fixed_height_option',
4501
  'option_type' => 'input',
4502
- 'label' => __( 'Gallery Fixed Height', 'feed-them-social' ) . '<br/><small>' . __( 'Use this option to create a scrolling feed.', 'feed-them-gallery' ) . '</small>',
4503
  'label_note' => __( 'Leave blank for auto height', 'feed-them-social' ),
4504
  'type' => 'text',
4505
  'id' => 'instagram_page_height',
@@ -4661,9 +4661,9 @@ class FTS_Settings_Page_Options {
4661
  array(
4662
  'input_wrap_class' => 'fb-page-columns-option-hide',
4663
  'option_type' => 'select',
4664
- 'label' => __( 'Number of Columns', 'feed-them-gallery' ),
4665
  'type' => 'text',
4666
- 'instructional-text' => '<strong>' . __( 'NOTE:', 'feed-them-social' ) . '</strong>' . __( 'Using the Columns option will make this gallery fully responsive and it will adapt in size to your containers width. Choose the Number of Columns and Space between each image below. Please add px after any number.', 'feed-them-gallery' ) . ' <a href="http://feedthemsocial.com/instagram-feed-demo/" target="_blank">' . __( 'View demo', 'feed-them-social' ) . '</a>',
4667
  'id' => 'fts_instagram_columns',
4668
  'name' => 'fts_instagram_columns',
4669
  'default_value' => '3',
@@ -4714,18 +4714,18 @@ class FTS_Settings_Page_Options {
4714
  array(
4715
  'input_wrap_class' => 'fb-page-columns-option-hide',
4716
  'option_type' => 'select',
4717
- 'label' => __( 'Force Columns', 'feed-them-gallery' ) . '<br/><small>' . __( 'No, will allow the images to be responsive for smaller devices. Yes, will force columns.', 'feed-them-social' ) . '</small>',
4718
  'type' => 'text',
4719
  'id' => 'fts_instagram_force_columns',
4720
  'name' => 'fts_instagram_force_columns',
4721
  'default_value' => 'no',
4722
  'options' => array(
4723
  array(
4724
- 'label' => __( 'No', 'feed-them-gallery' ),
4725
  'value' => 'no',
4726
  ),
4727
  array(
4728
- 'label' => __( 'Yes', 'feed-them-gallery' ),
4729
  'value' => 'yes',
4730
  ),
4731
  ),
1203
  // Access Token
1204
  array(
1205
  'option_type' => 'input',
1206
+ 'label' => __( 'Access Token (required) ', 'feed-them-social' ) . '<br/><small>' . __( '', 'feed-them-social' ) . '</small>',
1207
  'type' => 'text',
1208
  'id' => 'fb_access_token',
1209
  'name' => 'fb_access_token',
3191
  array(
3192
  'input_wrap_class' => 'youtube_hide_option',
3193
  'option_type' => 'select',
3194
+ 'label' => __( 'Force thumbnails rows', 'feed-them-social' ) . '<br/><small>' . __( 'No, will allow the video images to be responsive for smaller devices. Yes, will force the selected rows.', 'feed-them-social' ) . '</small>',
3195
  'type' => 'text',
3196
  'id' => 'fts_youtube_force_columns',
3197
  'name' => 'fts_youtube_force_columns',
3198
  'default_value' => 'no',
3199
  'options' => array(
3200
  array(
3201
+ 'label' => __( 'No', 'feed-them-social' ),
3202
  'value' => 'no',
3203
  ),
3204
  array(
3205
+ 'label' => __( 'Yes', 'feed-them-social' ),
3206
  'value' => 'yes',
3207
  ),
3208
  ),
4422
  // Access Token
4423
  array(
4424
  'option_type' => 'input',
4425
+ 'label' => __( 'Access Token (required) ', 'feed-them-social' ) . '<br/><small>' . __( '', 'feed-them-social' ) . '</small>',
4426
  'type' => 'text',
4427
  'id' => 'insta_access_token',
4428
  'name' => 'insta_access_token',
4499
  array(
4500
  'input_wrap_class' => 'instagram_fixed_height_option',
4501
  'option_type' => 'input',
4502
+ 'label' => __( 'Gallery Fixed Height', 'feed-them-social' ) . '<br/><small>' . __( 'Use this option to create a scrolling feed.', 'feed-them-social' ) . '</small>',
4503
  'label_note' => __( 'Leave blank for auto height', 'feed-them-social' ),
4504
  'type' => 'text',
4505
  'id' => 'instagram_page_height',
4661
  array(
4662
  'input_wrap_class' => 'fb-page-columns-option-hide',
4663
  'option_type' => 'select',
4664
+ 'label' => __( 'Number of Columns', 'feed-them-social' ),
4665
  'type' => 'text',
4666
+ 'instructional-text' => '<strong>' . __( 'NOTE:', 'feed-them-social' ) . '</strong>' . __( 'Using the Columns option will make this gallery fully responsive and it will adapt in size to your containers width. Choose the Number of Columns and Space between each image below. Please add px after any number.', 'feed-them-social' ) . ' <a href="http://feedthemsocial.com/instagram-feed-demo/" target="_blank">' . __( 'View demo', 'feed-them-social' ) . '</a>',
4667
  'id' => 'fts_instagram_columns',
4668
  'name' => 'fts_instagram_columns',
4669
  'default_value' => '3',
4714
  array(
4715
  'input_wrap_class' => 'fb-page-columns-option-hide',
4716
  'option_type' => 'select',
4717
+ 'label' => __( 'Force Columns', 'feed-them-social' ) . '<br/><small>' . __( 'No, will allow the images to be responsive for smaller devices. Yes, will force columns.', 'feed-them-social' ) . '</small>',
4718
  'type' => 'text',
4719
  'id' => 'fts_instagram_force_columns',
4720
  'name' => 'fts_instagram_force_columns',
4721
  'default_value' => 'no',
4722
  'options' => array(
4723
  array(
4724
+ 'label' => __( 'No', 'feed-them-social' ),
4725
  'value' => 'no',
4726
  ),
4727
  array(
4728
+ 'label' => __( 'Yes', 'feed-them-social' ),
4729
  'value' => 'yes',
4730
  ),
4731
  ),
admin/class-fts-settings-page.php CHANGED
@@ -105,7 +105,7 @@ class FTS_Settings_Page {
105
  1 => array(
106
  'option_name' => 'fts_facebook_custom_api_token',
107
  'no_token_msg' => sprintf(
108
- __( '%1$sSTEP 1:%2$s Please get your API Token on our %3$sFacebook Options%4$s page before getting started.%5$s', 'feed-them-gallery' ),
109
  '<strong>',
110
  '</strong>',
111
  '<a href="admin.php?page=fts-facebook-feed-styles-submenu-page">',
@@ -116,7 +116,7 @@ class FTS_Settings_Page {
116
  2 => array(
117
  'option_name' => 'fts_facebook_custom_api_token_biz',
118
  'no_token_msg' => sprintf(
119
- __( '%1$sSTEP 1:%2$s Please add a Facebook Page Reviews API Token to our %3$sFacebook Options%4$s page before getting started.%5$s', 'feed-them-gallery' ),
120
  '<strong>',
121
  '</strong>',
122
  '<a href="admin.php?page=fts-facebook-feed-styles-submenu-page">',
@@ -132,7 +132,7 @@ class FTS_Settings_Page {
132
  1 => array(
133
  'option_name' => 'fts_facebook_custom_api_token',
134
  'no_token_msg' => sprintf(
135
- __( '%1$sSTEP 1:%2$s Please get your API Token on our %3$sFacebook Options%4$s page before getting started.%5$s', 'feed-them-gallery' ),
136
  '<strong>',
137
  '</strong>',
138
  '<a href="admin.php?page=fts-facebook-feed-styles-submenu-page">',
@@ -791,13 +791,13 @@ class FTS_Settings_Page {
791
  <?php
792
  // Free Support Message!
793
  echo sprintf(
794
- esc_html( 'If you\'re using the Free plugin and are having troubles getting setup please contact us on the %1$sFree WordPress Support Forum%2$s. We will respond within 24hrs during weekdays.', 'feed-them-gallery' ),
795
  '<a href="' . esc_url( 'https://wordpress.org/support/plugin/feed-them-social' ) . '" target="_blank">',
796
  '</a>'
797
  );
798
  // Paid Support Message!
799
  echo sprintf(
800
- esc_html( 'If you have a paid extensions from us please use our %1$sPaid Extension Support Ticket System%2$s', 'feed-them-gallery' ),
801
  '<a href="' . esc_url( 'https://www.slickremix.com/my-account/#tab-support' ) . '" target="_blank">',
802
  '</a>'
803
  );
105
  1 => array(
106
  'option_name' => 'fts_facebook_custom_api_token',
107
  'no_token_msg' => sprintf(
108
+ __( '%1$sSTEP 1:%2$s Please get your API Token on our %3$sFacebook Options%4$s page before getting started.%5$s', 'feed-them-social' ),
109
  '<strong>',
110
  '</strong>',
111
  '<a href="admin.php?page=fts-facebook-feed-styles-submenu-page">',
116
  2 => array(
117
  'option_name' => 'fts_facebook_custom_api_token_biz',
118
  'no_token_msg' => sprintf(
119
+ __( '%1$sSTEP 1:%2$s Please add a Facebook Page Reviews API Token to our %3$sFacebook Options%4$s page before getting started.%5$s', 'feed-them-social' ),
120
  '<strong>',
121
  '</strong>',
122
  '<a href="admin.php?page=fts-facebook-feed-styles-submenu-page">',
132
  1 => array(
133
  'option_name' => 'fts_facebook_custom_api_token',
134
  'no_token_msg' => sprintf(
135
+ __( '%1$sSTEP 1:%2$s Please get your API Token on our %3$sFacebook Options%4$s page before getting started.%5$s', 'feed-them-social' ),
136
  '<strong>',
137
  '</strong>',
138
  '<a href="admin.php?page=fts-facebook-feed-styles-submenu-page">',
791
  <?php
792
  // Free Support Message!
793
  echo sprintf(
794
+ esc_html( 'If you\'re using the Free plugin and are having troubles getting setup please contact us on the %1$sFree WordPress Support Forum%2$s. We will respond within 24hrs during weekdays.', 'feed-them-social' ),
795
  '<a href="' . esc_url( 'https://wordpress.org/support/plugin/feed-them-social' ) . '" target="_blank">',
796
  '</a>'
797
  );
798
  // Paid Support Message!
799
  echo sprintf(
800
+ esc_html( 'If you have a paid extensions from us please use our %1$sPaid Extension Support Ticket System%2$s', 'feed-them-social' ),
801
  '<a href="' . esc_url( 'https://www.slickremix.com/my-account/#tab-support' ) . '" target="_blank">',
802
  '</a>'
803
  );
admin/class-fts-twitter-options-page.php CHANGED
@@ -125,7 +125,7 @@ class FTS_Twitter_Options_Page {
125
  <p>
126
  <?php
127
  echo sprintf(
128
- esc_html( '%1$sLogin and get my Access Tokens%2$s', 'feed-them-gallery' ),
129
  '<a href="' . esc_url( 'https://www.slickremix.com/get-twitter-token/?redirect_url=' . admin_url( 'admin.php?page=fts-twitter-feed-styles-submenu-page' ) . '&scope=manage_pages' ) . '" class="fts-twitter-get-access-token">',
130
  '</a>'
131
  );
@@ -152,7 +152,7 @@ class FTS_Twitter_Options_Page {
152
  <div class="twitter-extra-keys-text">
153
  <?php
154
  echo sprintf(
155
- esc_html( 'Learn how to manually create the Consumer Key/Secret and the Access Token/Secret %1$shere%2$s.', 'feed-them-gallery' ),
156
  '<a href="' . esc_url( 'https://www.slickremix.com/docs/how-to-get-api-keys-and-tokens-for-twitter/' ) . '" target="_blank">',
157
  '</a>'
158
  );
@@ -207,12 +207,12 @@ class FTS_Twitter_Options_Page {
207
  if ( ! empty( $fts_twitter_custom_access_token_secret ) && ! empty( $fts_twitter_custom_access_token_secret ) ) {
208
  if ( 200 !== $test_connection->http_code || isset( $fetched_tweets->errors ) ) {
209
  echo sprintf(
210
- esc_html( '%1$sOh No, something\'s wrong. ', 'feed-them-gallery' ),
211
  '<div class="fts-failed-api-token">'
212
  );
213
  foreach ( $fetched_tweets->errors as $error ) {
214
  echo sprintf(
215
- esc_html( '%1$s%2$s%3$s You may have entered in the Access information incorrectly please re-enter and try again.%4$s', 'feed-them-gallery' ),
216
  '<strong>',
217
  esc_html( $error->message ),
218
  '</strong>',
@@ -221,7 +221,7 @@ class FTS_Twitter_Options_Page {
221
  }
222
  } else {
223
  echo sprintf(
224
- esc_html( '%1$sYou are using our Default Access tokens for testing purposes. Generate your shortcode on the %2$sSettings Page%3$s to test your feed, but remember to add your own tokens after testing as the default tokens will not always work.%4$s', 'feed-them-gallery' ),
225
  '<div class="fts-successful-api-token">',
226
  '<a href="' . esc_url( 'admin.php?page=feed-them-settings-page' ) . '">',
227
  '</a>',
@@ -230,7 +230,7 @@ class FTS_Twitter_Options_Page {
230
  }
231
  } else {
232
  echo sprintf(
233
- esc_html( '%1$sYou are using our Default Access tokens for testing purposes. Generate your shortcode on the %2$sSettings Page%3$s to test your feed, but remember to add your own tokens after testing as the default tokens will not always work.%4$s', 'feed-them-gallery' ),
234
  '<div class="fts-successful-api-token">',
235
  '<a href="' . esc_url( 'admin.php?page=feed-them-settings-page' ) . '">',
236
  '</a>',
@@ -326,7 +326,7 @@ class FTS_Twitter_Options_Page {
326
  <div class="feed-them-social-admin-input-label fts-twitter-text-color-label">
327
  <?php
328
  echo sprintf(
329
- esc_html( 'Convert shortlinks for video%1$sLike bitly etc. May slow load time slightly%2$s.', 'feed-them-gallery' ),
330
  '<br/><small>',
331
  '</small>'
332
  );
@@ -451,7 +451,7 @@ class FTS_Twitter_Options_Page {
451
  <div class="feed-them-social-admin-input-label fts-twitter-feed-margin-label">
452
  <?php
453
  echo sprintf(
454
- esc_html( 'Feed Margin %1$sTo center feed type auto%2$s', 'feed-them-gallery' ),
455
  '<br/><small>',
456
  '</small>'
457
  );
@@ -559,7 +559,7 @@ class FTS_Twitter_Options_Page {
559
  <div class="feed-them-social-admin-input-label fts-fb-border-bottom-color-label">
560
  <?php
561
  echo sprintf(
562
- esc_html( 'Fix Post Count %1$sType 2 or 3 if your feed is skipping posts when using the loadmore option.%2$s', 'feed-them-gallery' ),
563
  '<br/><small>',
564
  '</small>'
565
  );
125
  <p>
126
  <?php
127
  echo sprintf(
128
+ esc_html( '%1$sLogin and get my Access Tokens%2$s', 'feed-them-social' ),
129
  '<a href="' . esc_url( 'https://www.slickremix.com/get-twitter-token/?redirect_url=' . admin_url( 'admin.php?page=fts-twitter-feed-styles-submenu-page' ) . '&scope=manage_pages' ) . '" class="fts-twitter-get-access-token">',
130
  '</a>'
131
  );
152
  <div class="twitter-extra-keys-text">
153
  <?php
154
  echo sprintf(
155
+ esc_html( 'Learn how to manually create the Consumer Key/Secret and the Access Token/Secret %1$shere%2$s.', 'feed-them-social' ),
156
  '<a href="' . esc_url( 'https://www.slickremix.com/docs/how-to-get-api-keys-and-tokens-for-twitter/' ) . '" target="_blank">',
157
  '</a>'
158
  );
207
  if ( ! empty( $fts_twitter_custom_access_token_secret ) && ! empty( $fts_twitter_custom_access_token_secret ) ) {
208
  if ( 200 !== $test_connection->http_code || isset( $fetched_tweets->errors ) ) {
209
  echo sprintf(
210
+ esc_html( '%1$sOh No, something\'s wrong. ', 'feed-them-social' ),
211
  '<div class="fts-failed-api-token">'
212
  );
213
  foreach ( $fetched_tweets->errors as $error ) {
214
  echo sprintf(
215
+ esc_html( '%1$s%2$s%3$s You may have entered in the Access information incorrectly please re-enter and try again.%4$s', 'feed-them-social' ),
216
  '<strong>',
217
  esc_html( $error->message ),
218
  '</strong>',
221
  }
222
  } else {
223
  echo sprintf(
224
+ esc_html( '%1$sYou are using our Default Access tokens for testing purposes. Generate your shortcode on the %2$sSettings Page%3$s to test your feed, but remember to add your own tokens after testing as the default tokens will not always work.%4$s', 'feed-them-social' ),
225
  '<div class="fts-successful-api-token">',
226
  '<a href="' . esc_url( 'admin.php?page=feed-them-settings-page' ) . '">',
227
  '</a>',
230
  }
231
  } else {
232
  echo sprintf(
233
+ esc_html( '%1$sYou are using our Default Access tokens for testing purposes. Generate your shortcode on the %2$sSettings Page%3$s to test your feed, but remember to add your own tokens after testing as the default tokens will not always work.%4$s', 'feed-them-social' ),
234
  '<div class="fts-successful-api-token">',
235
  '<a href="' . esc_url( 'admin.php?page=feed-them-settings-page' ) . '">',
236
  '</a>',
326
  <div class="feed-them-social-admin-input-label fts-twitter-text-color-label">
327
  <?php
328
  echo sprintf(
329
+ esc_html( 'Convert shortlinks for video%1$sLike bitly etc. May slow load time slightly%2$s.', 'feed-them-social' ),
330
  '<br/><small>',
331
  '</small>'
332
  );
451
  <div class="feed-them-social-admin-input-label fts-twitter-feed-margin-label">
452
  <?php
453
  echo sprintf(
454
+ esc_html( 'Feed Margin %1$sTo center feed type auto%2$s', 'feed-them-social' ),
455
  '<br/><small>',
456
  '</small>'
457
  );
559
  <div class="feed-them-social-admin-input-label fts-fb-border-bottom-color-label">
560
  <?php
561
  echo sprintf(
562
+ esc_html( 'Fix Post Count %1$sType 2 or 3 if your feed is skipping posts when using the loadmore option.%2$s', 'feed-them-social' ),
563
  '<br/><small>',
564
  '</small>'
565
  );
admin/css/metabox.css DELETED
@@ -1,1068 +0,0 @@
1
- .facebook-loadmore-wrap, .facebook-popup-wrap, .filelist, .main-grid-options-wrap {
2
- clear: both
3
- }
4
-
5
- .drag-over p {
6
- color: #FFF !important
7
- }
8
-
9
- .drag-over #drag-drop-area {
10
- border-color: #FFF !important;
11
- background: #015881;
12
- -webkit-transition: all .3s ease-in-out;
13
- -moz-transition: all .3s ease-in-out;
14
- -o-transition: all .3s ease-in-out;
15
- transition: all .3s ease-in-out
16
- }
17
-
18
- #tab-content2 section {
19
- padding-left: 15px;
20
- max-width: 100%
21
- }
22
-
23
- div#contact-me.postbox div.inside {
24
- margin-bottom: 0 !important
25
- }
26
-
27
- div#manage-plugin-options.postbox h3.hndle {
28
- cursor: default !important;
29
- margin-top: 0 !important
30
- }
31
-
32
- div#manage-plugin-options.postbox div.inside {
33
- margin: 0 !important;
34
- padding: 0 !important
35
- }
36
-
37
- div.metaBoxRow {
38
- padding: 15px;
39
- border-bottom: 1px solid #e8e8e8
40
- }
41
-
42
- div.metaBoxRow.last {
43
- border-bottom: 0
44
- }
45
-
46
- div.objectRow {
47
- overflow: hidden;
48
- padding-top: 5px;
49
- margin-bottom: -10px
50
- }
51
-
52
- div.toggleObject {
53
- float: left;
54
- width: auto;
55
- height: auto;
56
- margin: 0 20px 0 0;
57
- font-size: 12px;
58
- font-weight: 700;
59
- text-align: center
60
- }
61
-
62
- div.toggleObject p {
63
- margin-top: -14px
64
- }
65
-
66
- input.filesizeLimit {
67
- width: 260px;
68
- padding: 6px;
69
- margin-top: 10px
70
- }
71
-
72
- div.blobContainer {
73
- overflow: hidden;
74
- text-align: center
75
- }
76
-
77
- div.blobContainer img {
78
- width: 23%;
79
- margin: 0 1px;
80
- display: inline-block;
81
- filter: alpha(opacity=70);
82
- -khtml-opacity: .7;
83
- -moz-opacity: .7;
84
- opacity: .7
85
- }
86
-
87
- div#uploaderSection {
88
- position: relative
89
- }
90
-
91
- div#current-uploaded-image {
92
- width: 100%;
93
- overflow: hidden;
94
- margin-bottom: 10px;
95
- position: relative;
96
- max-width: 150px;
97
- display: none
98
- }
99
-
100
- div#current-uploaded-image.closed {
101
- display: none
102
- }
103
-
104
- div#current-uploaded-image p.hide-if-no-js {
105
- width: 100%;
106
- margin: -8px 0 0;
107
- position: absolute;
108
- top: 50%;
109
- left: 0;
110
- text-align: center;
111
- display: none
112
- }
113
-
114
- div#current-uploaded-image:hover p.hide-if-no-js {
115
- display: block
116
- }
117
-
118
- div#current-uploaded-image p.hide-if-no-js a {
119
- border: none;
120
- box-shadow: none
121
- }
122
-
123
- div#current-uploaded-image img {
124
- width: 100%;
125
- height: auto !important;
126
- display: block;
127
- -webkit-border-radius: 2px;
128
- -moz-border-radius: 2px;
129
- border-radius: 2px
130
- }
131
-
132
- div#uploaderSection div.loading {
133
- width: 32px;
134
- height: 32px;
135
- position: absolute;
136
- top: 50%;
137
- left: 50%;
138
- margin: -36px 0 0 -29px;
139
- display: none;
140
- z-index: 10000;
141
- background: #fff;
142
- padding: 12px;
143
- border-radius: 4px;
144
- box-shadow: 1px 1px 2px 1px #a7a7a7
145
- }
146
-
147
- div#drag-drop-area {
148
- -webkit-border-radius: 2px;
149
- -moz-border-radius: 2px;
150
- border-radius: 2px
151
- }
152
-
153
- div#uploaderSection div.drag-drop-inside {
154
- margin-top: 45px !important;
155
- text-align: center;
156
- width: 235px
157
- }
158
-
159
- body.mp6 div#uploaderSection div.drag-drop-inside, body.wp38 div#uploaderSection div.drag-drop-inside {
160
- margin-top: 25px !important
161
- }
162
-
163
- .upload-max-size {
164
- margin: 8px 0 0;
165
- float: left;
166
- color: #6f6f6f
167
- }
168
-
169
- #progressbar {
170
- background: #f1f1f1;
171
- height: 25px;
172
- width: 0
173
- }
174
-
175
- #progressyears {
176
- font-weight: 700;
177
- font-size: 14px;
178
- padding-top: 5px;
179
- width: 20%
180
- }
181
-
182
- .ui-progressbar {
183
- position: relative
184
- }
185
-
186
- .progress-label {
187
- color: #000;
188
- font-weight: 700
189
- }
190
-
191
- .progress-complete {
192
- color: #14c414
193
- }
194
-
195
- .filelist {
196
- width: 100%;
197
- display: inline-block;
198
- margin: 10px 0;
199
- max-height: 180px;
200
- overflow: auto
201
- }
202
-
203
- .filelist .file {
204
- padding: 5px 7px;
205
- background: #f1f1f1;
206
- border: 1px solid #f1f1f1;
207
- margin-bottom: 8px
208
- }
209
-
210
- .filelist .fileprogress {
211
- width: 0;
212
- background: #fff;
213
- height: 15px;
214
- border-radius: 50px;
215
- margin-top: 5px;
216
- box-shadow: 1px 1px 0 #dad8d8
217
- }
218
-
219
- .plupload-thumbs .thumb, .plupload-thumbs .thumb img {
220
- width: 150px;
221
- height: 150px
222
- }
223
-
224
- .plupload-thumbs {
225
- margin-top: 0
226
- }
227
-
228
- .plupload-thumbs .thumb {
229
- margin-right: 10px;
230
- margin-bottom: 10px;
231
- float: left;
232
- position: relative;
233
- border: 5px solid #eaeaea
234
- }
235
-
236
- .plupload-thumbs .thumb:hover {
237
- border: 5px solid #d9d9d9
238
- }
239
-
240
- .ui-sortable .thumb img {
241
- cursor: pointer
242
- }
243
-
244
- .fts-cpt-delete-thumb-btn, .fts-cpt-edit-thumb-btn, .fts-cpt-remove-thumb-btn, .fts-cpt-woo-edit-thumb-btn {
245
- position: absolute;
246
- z-index: 100;
247
- top: 1px;
248
- right: 1px;
249
- background: rgba(0, 115, 170, .81);
250
- line-height: 15px !important
251
- }
252
-
253
- .fts-cpt-edit-thumb-btn {
254
- left: 1px;
255
- right: inherit;
256
- top: 1px
257
- }
258
-
259
- .fts-cpt-remove-thumb-btn {
260
- top: 1px;
261
- right: 34px
262
- }
263
-
264
- .fts-cpt-woo-edit-thumb-btn {
265
- bottom: 1px;
266
- right: 1px;
267
- top: initial
268
- }
269
-
270
- .fts-cpt-delete-thumb-btn a, .fts-cpt-edit-thumb-btn a, .fts-cpt-remove-thumb-btn a, .fts-cpt-woo-edit-thumb-btn a {
271
- color: #FFF;
272
- text-decoration: none
273
- }
274
-
275
- .ft-alettext, .ft-description, .ft-title {
276
- line-height: normal !important
277
- }
278
-
279
- .fts-cpt-popup .fts-popup-wrap .mfp-title {
280
- padding: 18px 20px 20px;
281
- background: rgba(255, 255, 255, .11);
282
- margin-top: 0;
283
- color: #333
284
- }
285
-
286
- .fts-cpt-popup .fts-popup-wrap .mfp-title .fts-cpt-title {
287
- background: rgba(255, 255, 255, .11);
288
- color: #333;
289
- font-size: 18px;
290
- font-weight: 700
291
- }
292
-
293
- .fts-cpt-popup .fts-popup-wrap .mfp-title .fts-cpt-title, .fts-cpt-popup .fts-popup-wrap .mfp-title input.fts-cpt-alttext, .fts-cpt-popup .fts-popup-wrap .mfp-title textarea.fts-cpt-description {
294
- padding: 5px;
295
- border: 1px solid rgba(204, 204, 204, .6);
296
- box-shadow: none;
297
- width: 100%
298
- }
299
-
300
- .fts-cpt-title {
301
- margin-bottom: 20px
302
- }
303
-
304
- .fts-cpt-popup .fts-popup-wrap .mfp-title input.fts-cpt-alttext {
305
- background: rgba(255, 255, 255, .11);
306
- margin-bottom: 20px;
307
- font-size: 14px !important;
308
- color: #333
309
- }
310
-
311
- .fts-cpt-popup .fts-popup-wrap label {
312
- display: block;
313
- margin-bottom: 2px;
314
- font-size: 13px !important;
315
- color: #333
316
- }
317
-
318
- .fts-cpt-popup .fts-popup-wrap .mfp-title .fts-cpt-description {
319
- margin-bottom: 0;
320
- clear: both;
321
- min-height: 150px
322
- }
323
-
324
- .fts-cpt-popup .fts-popup-wrap .mfp-title .fts-cpt-description p {
325
- font-size: 14px !important;
326
- font-weight: 400 !important
327
- }
328
-
329
- .fts-cpt-popup .fts-popup-wrap .mfp-title .fts-cpt-alttext:focus, .fts-cpt-popup .fts-popup-wrap .mfp-title .fts-cpt-description:focus, .fts-cpt-popup .fts-popup-wrap .mfp-title .fts-cpt-title:focus {
330
- background: rgba(238, 238, 238, .6);
331
- outline: 0 !important
332
- }
333
-
334
- #fts-cpt-edit-img-ajax {
335
- color: #FFF;
336
- margin-right: 5px;
337
- margin-top: 1px
338
- }
339
-
340
- .fts-cpt-delete-thumb-btn, .fts-cpt-edit-thumb-btn, .fts-cpt-remove-thumb-btn, .fts-cpt-woo-edit-thumb-btn {
341
- display: none;
342
- padding: 4px
343
- }
344
-
345
- .fts-cpt-delete-thumb-btn a, .fts-cpt-edit-thumb-btn a, .fts-cpt-remove-thumb-btn a, .fts-cpt-woo-edit-thumb-btn a {
346
- display: nonee;
347
- padding: 4px !important;
348
- line-height: 20px !important;
349
- text-align: center;
350
- font-size: 20px !important;
351
- -webkit-font-smoothing: antialiased
352
- }
353
-
354
- .fts-cpt-edit-thumb-btn a {
355
- padding: 4px 3px !important
356
- }
357
-
358
- .fts-cpt-force-delete-img-ajax:before {
359
- font-family: FontAwesomeSlick !important;
360
- content: "\f1f8" !important
361
- }
362
-
363
- .fts-cpt-remove-img-ajax:before {
364
- font-family: FontAwesomeSlick !important;
365
- content: "\f056" !important
366
- }
367
-
368
- .fts-cpt-edit-img-popup:before {
369
- font-family: FontAwesomeSlick !important;
370
- content: "\f044" !important;
371
- left: 1px;
372
- position: relative
373
- }
374
-
375
- .ft_gallery_create_woo_prod_button:before {
376
- font-family: FontAwesomeSlick !important;
377
- content: "\f07a" !important
378
- }
379
-
380
- .thumb i {
381
- display: none
382
- }
383
-
384
- .thumb:hover .fts-cpt-delete-thumb-btn, .thumb:hover .fts-cpt-edit-thumb-btn, .thumb:hover .fts-cpt-remove-thumb-btn, .thumb:hover .fts-cpt-woo-edit-thumb-btn {
385
- display: block
386
- }
387
-
388
- .fts-cpt-id, .fts-hide-me {
389
- /*display: noneee*/
390
- }
391
-
392
- .fts-cpt-meta-wrap input {
393
- width: 100%;
394
- margin-top: 5px
395
- }
396
-
397
- .post-type-ft_gallery .pane-active {
398
- display: block
399
- }
400
-
401
- .post-type-ft_gallery .tabbed {
402
- display: block;
403
- color: #545454;
404
- font-weight: 500;
405
- text-decoration: none;
406
- line-height: 1.5;
407
- text-align: left;
408
- cursor: pointer;
409
- padding: 10px 10px 10px 18px !important;
410
- -webkit-font-smoothing: antialiased;
411
- -moz-osx-font-smoothing: grayscale;
412
- background: #f1f1f1;
413
- margin-right: 1px !important;
414
- font-size: 13px;
415
- width: 100%;
416
- margin-bottom: 1px
417
- }
418
-
419
- .fts-title-description-settings-page {
420
- margin-bottom: 20px
421
- }
422
-
423
- .post-type-ft_gallery label.tab-active {
424
- background: #0073AA !important;
425
- color: #FFF !important
426
- }
427
-
428
- .post-type-ft_gallery .tab-content {
429
- padding-top: 25px;
430
- padding-left: 10px;
431
- min-height: 390px;
432
- padding-bottom: 25px
433
- }
434
-
435
- .feed-them-gallery-admin-input-label small {
436
- font-weight: 400;
437
- width: 150px;
438
- display: block;
439
- line-height: 14px;
440
- margin-top: 3px
441
- }
442
-
443
- .not-active-title:hover h3 {
444
- color: #028fd2
445
- }
446
-
447
- .not-active-title h3 {
448
- color: #0073aa
449
- }
450
-
451
- @media (max-width: 450px) {
452
- #shortcode-form-selector {
453
- min-width: 270px !important
454
- }
455
- }
456
-
457
- @media (max-width: 500px) {
458
- .post-type-ft_gallery #tab-content1 .use-of-plugin {
459
- max-width: 100% !important
460
- }
461
- }
462
-
463
- .post-type-ft_gallery #tab-content1 {
464
- padding-top: 5px;
465
- padding-left: 0;
466
- min-height: 200px
467
- }
468
-
469
- .fts-cpt-settings-tabs-meta-wrap {
470
- padding-top: 0
471
- }
472
-
473
- .ft-image-id-for-popup {
474
- display: none
475
- }
476
-
477
- .tabs-menu-wrap {
478
- max-width: 132px;
479
- width: 100%;
480
- float: left
481
- }
482
-
483
- #ft-galleries-upload-mb .inside {
484
- padding-bottom: 0 !important
485
- }
486
-
487
- .tab-content section {
488
- padding-left: 15px
489
- }
490
-
491
- #tab-content1 section, #tab-content6 section {
492
- max-width: 100%
493
- }
494
-
495
- .tab-content {
496
- border-left: 161px solid #f9f9f9 !important
497
- }
498
-
499
- #poststuff #ft-galleries-upload-mb .inside {
500
- padding-left: 0 !important;
501
- margin-top: 0 !important;
502
- padding-right: 15px
503
- }
504
-
505
- .tab1 .ft_icon:before, .tab2 .ft_icon:before, .tab3 .ft_icon:before, .tab4 .ft_icon:before, .tab5 .ft_icon:before, .tab6 .ft_icon:before, .tab7 .ft_icon:before {
506
- margin-right: 7px;
507
- font-family: FontAwesomeSlick;
508
- font-size: 18px;
509
- top: 2px;
510
- position: relative;
511
- font-weight: 100
512
- }
513
-
514
- .tab1 .ft_icon:before {
515
- content: "\f03e"
516
- }
517
-
518
- .tab2 .ft_icon:before {
519
- content: "\f013"
520
- }
521
-
522
- .tab3 .ft_icon:before {
523
- content: "\f1fc"
524
- }
525
-
526
- .tab4 .ft_icon:before {
527
- content: "\f0ac"
528
- }
529
-
530
- .tab5 .ft_icon:before {
531
- content: "\f07a"
532
- }
533
-
534
- .tab6 .ft_icon:before {
535
- content: "\f1c6"
536
- }
537
-
538
- .tab7 .ft_icon:before {
539
- content: "\f043";
540
- left: 5px
541
- }
542
-
543
- .ft_icon {
544
- display: inline-block;
545
- text-align: left;
546
- width: 25px !important
547
- }
548
-
549
- .tabbed:hover {
550
- background: #fff
551
- }
552
-
553
- .feed-them-gallery-admin-input-label {
554
- display: inline-block;
555
- min-width: 212px;
556
- float: left;
557
- margin-top: 8px;
558
- font-weight: 700
559
- }
560
-
561
- .feed-them-gallery-admin-input-wrap {
562
- float: left;
563
- display: inline-block
564
- }
565
-
566
- .fb-page-grid-option-border-bottom {
567
- margin-bottom: 30px !important
568
- }
569
-
570
- .instructional-text {
571
- margin-bottom: 15px;
572
- padding-bottom: 5px;
573
- margin-left: 20px;
574
- max-width: 630px
575
- }
576
-
577
- .fts-title-description-settings-page h4 {
578
- font-size: 18px;
579
- margin: 12px 0
580
- }
581
-
582
- .fts-facebook-grid-options-wrap, .fts-facebook-load-more-options-wrap, .fts-facebook-load-more-options2-wrap {
583
- display: none
584
- }
585
-
586
- .fts-loadmore-button-wrapper {
587
- border-bottom: 1px solid #f1f1f1;
588
- margin-bottom: 25px;
589
- float: left;
590
- padding-bottom: 15px
591
- }
592
-
593
- .facebook-loadmore-wrap h3, .facebook-popup-wrap h3, .main-grid-options-wrap h3 {
594
- border-bottom: 1px solid #f1f1f1;
595
- font-size: 19px !important;
596
- padding-bottom: 10px;
597
- padding-top: 15px !important;
598
- margin-bottom: 15px
599
- }
600
-
601
- .fts-facebook_page-shortcode-form h3 {
602
- padding-bottom: 20px
603
- }
604
-
605
- h3.sectioned-options-title {
606
- padding-bottom: 10px;
607
- margin-top: 0 !important;
608
- padding-top: 10px !important;
609
- border-bottom: 1px solid #f1f1f1;
610
- margin-bottom: 15px;
611
- float: left;
612
- width: 100%
613
- }
614
-
615
- .feed-them-gallery-admin-global-checkbox {
616
- padding-left: 25px;
617
- margin-top: 5px
618
- }
619
-
620
- .feed-them-gallery-admin-global-checkbox label {
621
- font-size: 11px;
622
- display: inline-block;
623
- margin-top: -3px;
624
- margin-left: 4px
625
- }
626
-
627
- .ft-submit-wrap {
628
- margin-top: 10px;
629
- display: inline-block
630
- }
631
-
632
- #tab-content6 ul {
633
- padding-top: 10px
634
- }
635
-
636
- #tab-content6 ul li {
637
- border-bottom: 1px solid #efefef;
638
- padding: 0 0 10px;
639
- margin-bottom: 10px
640
- }
641
-
642
- .fts-cpt-file-name, .fts-cpt-file-time {
643
- max-width: 500px;
644
- display: inline-block;
645
- padding-top: 4px
646
- }
647
-
648
- .fts-cpt-file-name {
649
- width: 40%;
650
- display: inline-block;
651
- margin-right: 55px
652
- }
653
-
654
- .fts-cpt-file-name a {
655
- text-decoration: none;
656
- font-size: 15px
657
- }
658
-
659
- .ft-download-selection:before, .fts-cpt-download-gallery:before, .fts-cpt-file-name a:before {
660
- font-family: FontAwesomeSlick !important;
661
- content: "\f019" !important;
662
- margin-right: 8px
663
- }
664
-
665
- .fts-cpt-zip-gallery:before, .fts-cpt-zip-selection:before {
666
- font-family: FontAwesomeSlick !important;
667
- content: "\f1c6" !important;
668
- margin-right: 8px
669
- }
670
-
671
- .fts-cpt-create-woo:before {
672
- font-family: FontAwesomeSlick !important;
673
- content: "\f07a" !important;
674
- margin-right: 5px
675
- }
676
-
677
- .fts-cpt-file-time {
678
- font-size: 12px;
679
- margin-bottom: 10px;
680
- margin-top: 2px
681
- }
682
-
683
- .fts-cpt-file-delete {
684
- font-size: 11px;
685
- margin-bottom: 5px;
686
- float: right
687
- }
688
-
689
- .fts-cpt-file-delete a {
690
- display: inline-block;
691
- text-decoration: none;
692
- font-size: 13px;
693
- line-height: 26px;
694
- height: 28px;
695
- margin: 0;
696
- padding: 0 10px 1px;
697
- cursor: pointer;
698
- border-width: 1px;
699
- border-style: solid;
700
- -webkit-appearance: none;
701
- -webkit-border-radius: 3px;
702
- border-radius: 3px;
703
- white-space: nowrap;
704
- -webkit-box-sizing: border-box;
705
- -moz-box-sizing: border-box;
706
- box-sizing: border-box;
707
- color: #555;
708
- border-color: #ccc;
709
- background: #f7f7f7;
710
- -webkit-box-shadow: 0 1px 0 #ccc;
711
- box-shadow: 0 1px 0 #ccc;
712
- vertical-align: top
713
- }
714
-
715
- .fts-cpt-file-delete a:hover {
716
- opacity: .9
717
- }
718
-
719
- .fts-mashup-image-and-video-wrap .fts-watermark-inside img {
720
- max-width: 75% !important
721
- }
722
-
723
- .ft-global-option-wrap-ft_watermark_image_id {
724
- display: none !important
725
- }
726
-
727
- #preview-action, .misc-pub-section:not(.misc-pub-post-status) {
728
- display: none
729
- }
730
-
731
- .fts-cpt-notice {
732
- padding: 0 5px 13px 2px !important;
733
- margin-top: 0 !important;
734
- display: none
735
- }
736
-
737
- .fts-cpt-popup .fts-cpt-file-delete.fts-cpt-file-zip-to-woo {
738
- display: inline-block;
739
- float: none;
740
- margin: 0 0 0 5px
741
- }
742
-
743
- .fts-cpt-file-delete {
744
- margin-left: 10px
745
- }
746
-
747
- .fts-cpt-file-view {
748
- margin-bottom: 0
749
- }
750
-
751
- .fts-cpt-file-view a {
752
- color: #999;
753
- cursor: pointer
754
- }
755
-
756
- .fts-cpt-file-view a:hover, .fts-cpt-file-view a:hover:before {
757
- color: #ccc
758
- }
759
-
760
- .fts-cpt-file-view a:before {
761
- content: '\f06e';
762
- font-family: FontAwesomeSlick !important;
763
- margin-right: 10px;
764
- color: #999
765
- }
766
-
767
- .fb-page-grid-option-hide {
768
- display: none
769
- }
770
-
771
- .zipcontents_list {
772
- margin-top: 5px;
773
- display: none;
774
- margin-bottom: -11px;
775
- margin-left: 0;
776
- list-style-position: inside
777
- }
778
-
779
- .zipcontents_list li {
780
- padding: 15px 0 15px 25px !important;
781
- margin-bottom: 1px !important;
782
- background: #f9f9f9
783
- }
784
-
785
- .zipcontents_list li span {
786
- padding: 0 0 0 10px !important;
787
- display: inline-block
788
- }
789
-
790
- .ft-watermark-duplicate-image, .ft_gallery_hide_zip_list {
791
- display: none
792
- }
793
-
794
- .zipcontents_list li:last-child {
795
- border-bottom: 5px solid #828282 !important;
796
- margin-bottom: -15px !important
797
- }
798
-
799
- #tab-content6 {
800
- padding-right: 10px
801
- }
802
-
803
- .feed-them-gallery-admin-global-checkbox {
804
- display: none !important
805
- }
806
-
807
- .ft-global-option-wrap-ft-watermark-image {
808
- display: block !important
809
- }
810
-
811
- #tab-content5 .feed-them-gallery-admin-input-wrap {
812
- margin-bottom: 0 !important;
813
- float: none !important;
814
- display: inline-block;
815
- clear: both !important
816
- }
817
-
818
- .tab-5-extra-options {
819
- padding: 0 0 0 15px
820
- }
821
-
822
- #tab-content5 .feed-them-gallery-admin-input-label small {
823
- font-weight: 400;
824
- max-width: 300px;
825
- width: 100%;
826
- display: block;
827
- margin-top: 8px;
828
- font-size: 13px;
829
- line-height: 19px
830
- }
831
-
832
- .tab-5-extra-options h4 {
833
- margin: 0 0 5px
834
- }
835
-
836
- .tab-5-extra-options small {
837
- margin: 10px 0 30px 3px !important;
838
- display: block;
839
- max-width: 600px;
840
- font-size: 13px;
841
- line-height: 19px
842
- }
843
-
844
- #tab-content5 .fts-facebook_page-shortcode-form {
845
- margin-bottom: 0
846
- }
847
-
848
- .fts-cpt-zip {
849
- border-bottom: 1px solid #eee;
850
- padding-bottom: 15px;
851
- margin-bottom: 15px
852
- }
853
-
854
- #fts-cpt-zip-list {
855
- margin-top: 25px;
856
- margin-right: 15px
857
- }
858
-
859
- .fts-cpt-no-zips {
860
- padding: 0 0 0 2px
861
- }
862
-
863
- .feed-them-gallery-admin-input-wrap {
864
- padding: 20px 11px 20px 0;
865
- background: #f9f9f9;
866
- border-bottom: 1px solid rgba(230, 230, 230, .7);
867
- min-height: 30px;
868
- margin-bottom: 1px !important;
869
- width: 100%
870
- }
871
-
872
- .feed-them-gallery-admin-input-label {
873
- margin-left: 20px
874
- }
875
-
876
- @media (max-width: 1184px) {
877
- .post-type-ft_gallery #postbox-container-2 input[type=text], .post-type-ft_gallery #postbox-container-2 select {
878
- margin-left: 15px !important
879
- }
880
-
881
- .feed-them-gallery-admin-input-label {
882
- margin-bottom: 8px
883
- }
884
-
885
- #ft-watermark-image {
886
- margin-left: 20px
887
- }
888
-
889
- .ft-global-option-wrap-ft-watermark-image {
890
- padding-left: 20px !important
891
- }
892
- }
893
-
894
- #tab-content2 h3.sectioned-options-title, #tab-content3 h3.sectioned-options-title {
895
- padding-bottom: 0;
896
- margin-top: 20px !important;
897
- padding-top: 10px !important;
898
- border-bottom: 0 solid #f1f1f1;
899
- margin-bottom: 15px;
900
- float: left;
901
- width: 100%
902
- }
903
-
904
- #tab-content5 .feed-them-gallery-admin-input-wrap h4, #tab-content5 .feed-them-gallery-admin-input-wrap select {
905
- margin-left: 20px !important
906
- }
907
-
908
- .feed-them-gallery-admin-input-wrap .tab-section-description {
909
- padding-left: 20px !important;
910
- display: block;
911
- padding-bottom: 0 !important
912
- }
913
-
914
- .feed-them-gallery-admin-input-wrap .tab-section-description small {
915
- margin-bottom: 0 !important
916
- }
917
-
918
- #fts-cpt-zip-list li:last-child {
919
- border: none !important
920
- }
921
-
922
- .fts-cpt-note {
923
- text-align: left;
924
- padding: 15px;
925
- margin: 5px 0 0 20px
926
- }
927
-
928
- .fts-cpt-woo-btns-wrap-for-popup {
929
- display: none
930
- }
931
-
932
- .tab-5-extra-options .fts-cpt-note {
933
- margin-left: 5px
934
- }
935
-
936
- .gallery-edit-button-wrap {
937
- display: inline-block;
938
- text-decoration: none
939
- }
940
-
941
- .gallery-edit-button-wrap a {
942
- text-decoration: none;
943
- border-radius: 20px;
944
- background: #d4d4d4;
945
- width: 20px;
946
- display: inline-block;
947
- text-align: center;
948
- color: #6d6d6d;
949
- margin-right: 5px;
950
- font-size: 11px;
951
- font-weight: 700;
952
- vertical-align: -webkit-baseline-middle;
953
- cursor: pointer;
954
- opacity: .6
955
- }
956
-
957
- .gallery-edit-button-wrap a:hover {
958
- opacity: 1
959
- }
960
-
961
- .gallery-edit-question-message {
962
- background: #f1f1f1;
963
- padding: 20px;
964
- line-height: 21px;
965
- margin-bottom: 15px;
966
- border-radius: 0;
967
- clear: both
968
- }
969
-
970
- .gallery-edit-question-message h3 {
971
- font-size: 17px;
972
- margin-bottom: 5px
973
- }
974
-
975
- .ftg-number-of-images-wrap {
976
- text-align: right;
977
- float: right;
978
- margin: 8px 2px 0;
979
- color: #6f6f6f
980
- }
981
-
982
- #progressCounter {
983
- width: 0;
984
- background: #ddd;
985
- height: 15px
986
- }
987
-
988
- .updatefrombottom {
989
- text-align: right;
990
- z-index: 100;
991
- margin-right: -4px;
992
- margin-bottom: -12px
993
- }
994
-
995
- .updatefrombottom a.button-totop {
996
- margin-right: 6px
997
- }
998
-
999
- .updatefrombottom a.button-primary {
1000
- position: relative
1001
- }
1002
-
1003
- .updatefrombottom a.button-totop:before {
1004
- content: "\f342";
1005
- -webkit-font-smoothing: antialiased;
1006
- font: 400 12px/1 dashicons;
1007
- vertical-align: middle;
1008
- display: inline-block;
1009
- position: relative;
1010
- top: -1px;
1011
- right: 3px
1012
- }
1013
-
1014
- #tab-content1 .gallery-quick-guide-getting-started {
1015
- margin-bottom: -42px;
1016
- clear: inherit
1017
- }
1018
-
1019
- .gallery-quick-guide-getting-started .gallery-edit-question-message h3 {
1020
- font-size: 17px;
1021
- margin-bottom: -10px
1022
- }
1023
-
1024
- #tab-content1 .updatefrombottom {
1025
- margin-top: 50px
1026
- }
1027
-
1028
- .drag-drop-buttons {
1029
- display: inline-block;
1030
- margin: 5px
1031
- }
1032
-
1033
- .fts-cpt-meta-wrap input.readonly, .fts-cpt-meta-wrap input[readonly] {
1034
- background: rgba(238, 238, 238, .51)
1035
- }
1036
-
1037
- .fts-cpt-premium-mesg {
1038
- background: #fff;
1039
- padding: 10px;
1040
- margin-right: 10px;
1041
- box-shadow: 1px 1px 1px #d7d7d7;
1042
- margin-top: 12px;
1043
- border-left: 4px solid #46b450
1044
- }
1045
-
1046
- .fb-page-columns-option-hide {
1047
- display: none
1048
- }
1049
-
1050
- #tab-content5 .fts-cpt-premium-mesg, #tab-content6 .fts-cpt-premium-mesg, #tab-content7 .fts-cpt-premium-mesg {
1051
- margin-top: 0;
1052
- background: #f9f9f9;
1053
- border-left: 4px solid #00b305;
1054
- padding: 14px 15px;
1055
- margin-bottom: -10px !important
1056
- }
1057
-
1058
- #tab-content6 .fts-cpt-premium-mesg {
1059
- margin-left: 15px
1060
- }
1061
-
1062
- ul.ftg-free-list {
1063
- pointer-events: none
1064
- }
1065
-
1066
- #ft-galleries-upload-mb {
1067
- min-height: 476px
1068
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
feed-them.php CHANGED
@@ -7,18 +7,18 @@
7
  * Plugin Name: Feed Them Social (Facebook, Instagram, Twitter, etc)
8
  * Plugin URI: https://feedthemsocial.com/
9
  * Description: Customize feeds for Facebook Pages, Album Photos, Videos & Covers, Instagram, Twitter, Pinterest & YouTube on pages, posts or widgets.
10
- * Version: 2.5.3
11
  * Author: SlickRemix
12
  * Author URI: https://www.slickremix.com/
13
  * Text Domain: feed-them-social
14
  * Domain Path: /languages
15
  * Requires at least: WordPress 4.0.0
16
  * Tested up to: WordPress 4.9.8
17
- * Stable tag: 2.5.3
18
  * License: GPLv2 or later
19
  * License URI: https://www.gnu.org/licenses/gpl-3.0.html
20
  *
21
- * @version 2.5.3
22
  * @package FeedThemSocial/Core
23
  * @copyright Copyright (c) 2012-2018 SlickRemix
24
  *
@@ -31,7 +31,7 @@
31
  *
32
  * Makes sure any js or css changes are reloaded properly. Added to enqued css and js files throughout!
33
  */
34
- define( 'FTS_CURRENT_VERSION', '2.5.3' );
35
 
36
  /**
37
  * Class Feed_Them_Social
@@ -181,10 +181,17 @@ final class Feed_Them_Social {
181
  public function fts_install_notice() {
182
  // Check the transient to see if we've just activated the plugin!
183
  if ( get_transient( 'fts_activated' ) ) {
184
- echo '<div class="notice notice-success updated is-dismissible"><p>' . esc_html( 'Thanks for installing Feed Them Social. To get started please view our <a href="' . esc_url( 'admin.php?page=feed-them-settings-page">Settings' ) . '</a> page.', 'feed-them-social' ) . '</p></div>';
 
 
 
 
 
 
185
  // Delete the transient so we don't keep displaying the activation message!
186
  delete_transient( 'fts_activated' );
187
  }
 
188
  }
189
 
190
  /**
@@ -309,7 +316,17 @@ final class Feed_Them_Social {
309
  * @since 1.0.0
310
  */
311
  public function fts_required_php_check1() {
312
- echo '<div class="error"><p>' . esc_html( '<strong>Warning:</strong> Your php version is ' . phpversion() . '. You need to be running at least 5.3 or greater to use this plugin. Please upgrade the php by contacting your host provider. Some host providers will allow you to change this yourself in the hosting control panel too.<br/><br/>If you are hosting with BlueHost or Godaddy and the php version above is saying you are running 5.2.17 but you are really running something higher please <a href="https://wordpress.org/support/topic/php-version-difference-after-changing-it-at-bluehost-php-config?replies=4" target="_blank">click here for the fix</a>. If you cannot get it to work using the method described in the link please contact your host provider and explain the problem so they can fix it.', 'feed-them-social' ) . '</p></div>';
 
 
 
 
 
 
 
 
 
 
313
  }
314
 
315
  /**
7
  * Plugin Name: Feed Them Social (Facebook, Instagram, Twitter, etc)
8
  * Plugin URI: https://feedthemsocial.com/
9
  * Description: Customize feeds for Facebook Pages, Album Photos, Videos & Covers, Instagram, Twitter, Pinterest & YouTube on pages, posts or widgets.
10
+ * Version: 2.5.4
11
  * Author: SlickRemix
12
  * Author URI: https://www.slickremix.com/
13
  * Text Domain: feed-them-social
14
  * Domain Path: /languages
15
  * Requires at least: WordPress 4.0.0
16
  * Tested up to: WordPress 4.9.8
17
+ * Stable tag: 2.5.4
18
  * License: GPLv2 or later
19
  * License URI: https://www.gnu.org/licenses/gpl-3.0.html
20
  *
21
+ * @version 2.5.4
22
  * @package FeedThemSocial/Core
23
  * @copyright Copyright (c) 2012-2018 SlickRemix
24
  *
31
  *
32
  * Makes sure any js or css changes are reloaded properly. Added to enqued css and js files throughout!
33
  */
34
+ define( 'FTS_CURRENT_VERSION', '2.5.4' );
35
 
36
  /**
37
  * Class Feed_Them_Social
181
  public function fts_install_notice() {
182
  // Check the transient to see if we've just activated the plugin!
183
  if ( get_transient( 'fts_activated' ) ) {
184
+ echo '<div class="notice notice-success updated is-dismissible"><p>';
185
+ echo sprintf(
186
+ esc_html( 'Thanks for installing Feed Them Social. To get started please view our %1$sSettings%2$s page.', 'feed-them-social' ),
187
+ '<a href="' . esc_url( 'admin.php?page=feed-them-settings-page' ) . '">',
188
+ '</a>'
189
+ );
190
+ echo '</p></div>';
191
  // Delete the transient so we don't keep displaying the activation message!
192
  delete_transient( 'fts_activated' );
193
  }
194
+
195
  }
196
 
197
  /**
316
  * @since 1.0.0
317
  */
318
  public function fts_required_php_check1() {
319
+ echo '<div class="error"><p>';
320
+ echo sprintf(
321
+ esc_html( '%1$s Feed Them Social Warning:%2$s Your php version is %1$s%3$s%2$s. You need to be running at least %1$s5.3%2$s or greater to use this plugin. Please upgrade the php by contacting your host provider. Some host providers will allow you to change this yourself in the hosting control panel too. %4$s If you are hosting with BlueHost or Godaddy and the php version above is saying you are running %1$s5.2.17%2$s but you are really running something higher please %5$sclick here for the fix%6$s. If you cannot get it to work using the method described in the link please contact your host provider and explain the problem so they can fix it.', 'feed-them-social' ),
322
+ '<strong>',
323
+ '</strong>',
324
+ phpversion(),
325
+ '<br/><br/>',
326
+ '<a href="' . esc_url( 'https://wordpress.org/support/topic/php-version-difference-after-changing-it-at-bluehost-php-config?replies=4' ) . '" target="_blank">',
327
+ '</a>'
328
+ );
329
+ echo '</p></div>';
330
  }
331
 
332
  /**
feeds/facebook/class-fts-facebook-feed.php CHANGED
@@ -708,7 +708,7 @@ style="margin:' . ( isset( $fb_shortcode['slider_margin'] ) && '' !== $fb_shortc
708
  if ( 'button' === $fb_shortcode['loadmore'] ) {
709
 
710
  echo '<div class="fts-fb-load-more-wrapper">';
711
- echo '<div id="loadMore_' . esc_attr( sanitize_key( $_REQUEST['fts_dynamic_name'] ) ) . '" style="';
712
  if ( isset( $fb_shortcode['loadmore_btn_maxwidth'] ) && '' !== $fb_shortcode['loadmore_btn_maxwidth'] ) {
713
  echo 'max-width:' . esc_attr( $fb_shortcode['loadmore_btn_maxwidth'] ) . ';';
714
  }
@@ -1601,9 +1601,9 @@ style="margin:' . ( isset( $fb_shortcode['slider_margin'] ) && '' !== $fb_shortc
1601
 
1602
  if ( ! $fts_count_ids >= 1 ) {
1603
  // We cannot add sanitize_text_field here on the $_REQUEST['next_url'] otherwise it will fail to load the contents from the facebook API.
1604
- $mulit_data['feed_data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( wp_unslash( $_REQUEST['next_url'] ) ) : esc_url_raw( 'https://graph.facebook.com/' . $fb_shortcode['id'] . '/posts?fields=id,caption,attachments,created_time,description,from,icon,link,message,name,object_id,picture,full_picture,place,shares,source,status_type,story,to,type&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '' );
1605
  } else {
1606
- $mulit_data['feed_data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( wp_unslash( $_REQUEST['next_url'] ) ) : esc_url_raw( 'https://graph.facebook.com/posts?ids=' . $fb_shortcode['id'] . '&fields=id,caption,attachments,created_time,description,from,icon,link,message,name,object_id,picture,full_picture,place,shares,source,status_type,story,to,type&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '' );
1607
  }
1608
  } elseif (
1609
  // Albums.
@@ -1611,9 +1611,9 @@ style="margin:' . ( isset( $fb_shortcode['slider_margin'] ) && '' !== $fb_shortc
1611
  $mulit_data = array( 'page_data' => 'https://graph.facebook.com/' . $fb_shortcode['id'] . '?fields=id,name,description,link&access_token=' . $access_token . $language . '' );
1612
  // Check If Ajax next URL needs to be used.
1613
  if ( ! $fts_count_ids >= 1 ) {
1614
- $mulit_data['feed_data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( wp_unslash( $_REQUEST['next_url'] ) ) : esc_url_raw( 'https://graph.facebook.com/' . $fb_shortcode['id'] . '/albums?fields=id,photos,created_time,name,from,link,cover_photo,count,updated_time,type&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '' );
1615
  } else {
1616
- $mulit_data['feed_data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( wp_unslash( $_REQUEST['next_url'] ) ) : esc_url_raw( 'https://graph.facebook.com/albums?ids=' . $fb_shortcode['id'] . '&fields=id,photos,created_time,name,from,link,cover_photo,count,updated_time,type&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '' );
1617
  }
1618
 
1619
  // $mulit_data['feed_data'] = isset($_REQUEST['next_url']) ? esc_url_raw($_REQUEST['next_url']) : 'https://graph.facebook.com/' . $fb_shortcode['id'] . '/albums?fields=id,created_time,name,from,link,cover_photo,count,updated_time,type&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '';
@@ -1625,21 +1625,21 @@ style="margin:' . ( isset( $fb_shortcode['slider_margin'] ) && '' !== $fb_shortc
1625
  // The reason I did not create a whole new else if for the video album is because I did not want to duplicate all the code required to make the video because the videos gallery comes from the photo albums on facebook.
1626
  if ( isset( $fb_shortcode['video_album'] ) && 'yes' === $fb_shortcode['video_album'] ) {
1627
  if ( ! $fts_count_ids >= 1 ) {
1628
- $mulit_data['feed_data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( wp_unslash( $_REQUEST['next_url'] ) ) : esc_url_raw( 'https://graph.facebook.com/' . $fb_shortcode['id'] . '/videos?fields=id,created_time,description,from,icon,link,message,object_id,picture,place,shares,source,to,type,format,embed_html&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '' );
1629
  } else {
1630
- $mulit_data['feed_data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( wp_unslash( $_REQUEST['next_url'] ) ) : esc_url_raw( 'https://graph.facebook.com/videos?ids=' . $fb_shortcode['id'] . '&fields=id,created_time,description,from,icon,link,message,object_id,picture,place,shares,source,to,type,format,embed_html&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '' );
1631
  }
1632
  } elseif ( isset( $fb_shortcode['album_id'] ) && 'photo_stream' === $fb_shortcode['album_id'] ) {
1633
  if ( ! $fts_count_ids >= 1 ) {
1634
- $mulit_data['feed_data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( wp_unslash( $_REQUEST['next_url'] ) ) : esc_url_raw( 'https://graph.facebook.com/' . $fb_shortcode['id'] . '/photos?fields=id,caption,created_time,description,from,icon,link,message,name,object_id,picture,place,shares,source,status_type,story,to,type&type=uploaded&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '' );
1635
  } else {
1636
- $mulit_data['feed_data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( wp_unslash( $_REQUEST['next_url'] ) ) : esc_url_raw( 'https://graph.facebook.com/photos?ids=' . $fb_shortcode['id'] . '&fields=id,caption,created_time,description,from,icon,link,message,name,object_id,picture,place,shares,source,status_type,story,to,type&type=uploaded&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '' );
1637
  }
1638
  } else {
1639
  if ( ! $fts_count_ids >= 1 ) {
1640
- $mulit_data['feed_data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( wp_unslash( $_REQUEST['next_url'] ) ) : esc_url_raw( 'https://graph.facebook.com/' . $fb_shortcode['album_id'] . '/photos?fields=id,caption,created_time,description,from,icon,link,message,name,object_id,picture,place,shares,source,status_type,story,to,type&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '' );
1641
  } else {
1642
- $mulit_data['feed_data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( wp_unslash( $_REQUEST['next_url'] ) ) : esc_url_raw( 'https://graph.facebook.com/photos?ids=' . $fb_shortcode['album_id'] . '&fields=id,caption,created_time,description,from,icon,link,message,name,object_id,picture,place,shares,source,status_type,story,to,type&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '' );
1643
  }
1644
  }
1645
  } elseif ( 'reviews' === $fb_shortcode['type'] ) {
@@ -1658,9 +1658,9 @@ style="margin:' . ( isset( $fb_shortcode['slider_margin'] ) && '' !== $fb_shortc
1658
  $mulit_data = array( 'page_data' => 'https://graph.facebook.com/' . $fb_shortcode['id'] . '?fields=feed,id,name,description&access_token=' . $access_token . $language . '' );
1659
  // Check If Ajax next URL needs to be used.
1660
  if ( ! $fts_count_ids >= 1 ) {
1661
- $mulit_data['feed_data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( wp_unslash( $_REQUEST['next_url'] ) ) : esc_url_raw( 'https://graph.facebook.com/' . $fb_shortcode['id'] . '/feed?fields=id,caption,created_time,description,from,icon,link,message,name,object_id,picture,full_picture,place,shares,source,status_type,story,to,type&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '' );
1662
  } else {
1663
- $mulit_data['feed_data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( wp_unslash( $_REQUEST['next_url'] ) ) : esc_url_raw( 'https://graph.facebook.com/feed?ids=' . $fb_shortcode['id'] . '&fields=id,caption,created_time,description,from,icon,link,message,name,object_id,picture,full_picture,place,shares,source,status_type,story,to,type&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '' );
1664
  }
1665
  }
1666
  $response = $this->fts_get_feed_json( $mulit_data );
@@ -2028,7 +2028,7 @@ style="margin:' . ( isset( $fb_shortcode['slider_margin'] ) && '' !== $fb_shortc
2028
  $_REQUEST['next_url'] = '' !== $loadmore_count ? str_replace( "limit=$posts", "limit=$loadmore_count", $next_url ) : $next_url;
2029
 
2030
  echo '<script>';
2031
- echo 'var nextURL_' . esc_js( $_REQUEST['fts_dynamic_name'] ) . '= "' . esc_url_raw( wp_unslash( $_REQUEST['next_url'] ) ) . '";';
2032
  echo '</script>';
2033
 
2034
  // Make sure it's not ajaxing.
708
  if ( 'button' === $fb_shortcode['loadmore'] ) {
709
 
710
  echo '<div class="fts-fb-load-more-wrapper">';
711
+ echo '<div id="loadMore_' . esc_attr( $_REQUEST['fts_dynamic_name'] ) . '" style="';
712
  if ( isset( $fb_shortcode['loadmore_btn_maxwidth'] ) && '' !== $fb_shortcode['loadmore_btn_maxwidth'] ) {
713
  echo 'max-width:' . esc_attr( $fb_shortcode['loadmore_btn_maxwidth'] ) . ';';
714
  }
1601
 
1602
  if ( ! $fts_count_ids >= 1 ) {
1603
  // We cannot add sanitize_text_field here on the $_REQUEST['next_url'] otherwise it will fail to load the contents from the facebook API.
1604
+ $mulit_data['feed_data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( $_REQUEST['next_url'] ) : esc_url_raw( 'https://graph.facebook.com/' . $fb_shortcode['id'] . '/posts?fields=id,caption,attachments,created_time,description,from,icon,link,message,name,object_id,picture,full_picture,place,shares,source,status_type,story,to,type&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '' );
1605
  } else {
1606
+ $mulit_data['feed_data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( $_REQUEST['next_url'] ) : esc_url_raw( 'https://graph.facebook.com/posts?ids=' . $fb_shortcode['id'] . '&fields=id,caption,attachments,created_time,description,from,icon,link,message,name,object_id,picture,full_picture,place,shares,source,status_type,story,to,type&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '' );
1607
  }
1608
  } elseif (
1609
  // Albums.
1611
  $mulit_data = array( 'page_data' => 'https://graph.facebook.com/' . $fb_shortcode['id'] . '?fields=id,name,description,link&access_token=' . $access_token . $language . '' );
1612
  // Check If Ajax next URL needs to be used.
1613
  if ( ! $fts_count_ids >= 1 ) {
1614
+ $mulit_data['feed_data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( $_REQUEST['next_url'] ) : esc_url_raw( 'https://graph.facebook.com/' . $fb_shortcode['id'] . '/albums?fields=id,photos,created_time,name,from,link,cover_photo,count,updated_time,type&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '' );
1615
  } else {
1616
+ $mulit_data['feed_data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( $_REQUEST['next_url'] ) : esc_url_raw( 'https://graph.facebook.com/albums?ids=' . $fb_shortcode['id'] . '&fields=id,photos,created_time,name,from,link,cover_photo,count,updated_time,type&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '' );
1617
  }
1618
 
1619
  // $mulit_data['feed_data'] = isset($_REQUEST['next_url']) ? esc_url_raw($_REQUEST['next_url']) : 'https://graph.facebook.com/' . $fb_shortcode['id'] . '/albums?fields=id,created_time,name,from,link,cover_photo,count,updated_time,type&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '';
1625
  // The reason I did not create a whole new else if for the video album is because I did not want to duplicate all the code required to make the video because the videos gallery comes from the photo albums on facebook.
1626
  if ( isset( $fb_shortcode['video_album'] ) && 'yes' === $fb_shortcode['video_album'] ) {
1627
  if ( ! $fts_count_ids >= 1 ) {
1628
+ $mulit_data['feed_data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( $_REQUEST['next_url'] ) : esc_url_raw( 'https://graph.facebook.com/' . $fb_shortcode['id'] . '/videos?fields=id,created_time,description,from,icon,link,message,object_id,picture,place,shares,source,to,type,format,embed_html&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '' );
1629
  } else {
1630
+ $mulit_data['feed_data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( $_REQUEST['next_url'] ) : esc_url_raw( 'https://graph.facebook.com/videos?ids=' . $fb_shortcode['id'] . '&fields=id,created_time,description,from,icon,link,message,object_id,picture,place,shares,source,to,type,format,embed_html&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '' );
1631
  }
1632
  } elseif ( isset( $fb_shortcode['album_id'] ) && 'photo_stream' === $fb_shortcode['album_id'] ) {
1633
  if ( ! $fts_count_ids >= 1 ) {
1634
+ $mulit_data['feed_data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( $_REQUEST['next_url'] ) : esc_url_raw( 'https://graph.facebook.com/' . $fb_shortcode['id'] . '/photos?fields=id,caption,created_time,description,from,icon,link,message,name,object_id,picture,place,shares,source,status_type,story,to,type&type=uploaded&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '' );
1635
  } else {
1636
+ $mulit_data['feed_data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( $_REQUEST['next_url'] ) : esc_url_raw( 'https://graph.facebook.com/photos?ids=' . $fb_shortcode['id'] . '&fields=id,caption,created_time,description,from,icon,link,message,name,object_id,picture,place,shares,source,status_type,story,to,type&type=uploaded&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '' );
1637
  }
1638
  } else {
1639
  if ( ! $fts_count_ids >= 1 ) {
1640
+ $mulit_data['feed_data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( $_REQUEST['next_url'] ) : esc_url_raw( 'https://graph.facebook.com/' . $fb_shortcode['album_id'] . '/photos?fields=id,caption,created_time,description,from,icon,link,message,name,object_id,picture,place,shares,source,status_type,story,to,type&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '' );
1641
  } else {
1642
+ $mulit_data['feed_data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( $_REQUEST['next_url'] ) : esc_url_raw( 'https://graph.facebook.com/photos?ids=' . $fb_shortcode['album_id'] . '&fields=id,caption,created_time,description,from,icon,link,message,name,object_id,picture,place,shares,source,status_type,story,to,type&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '' );
1643
  }
1644
  }
1645
  } elseif ( 'reviews' === $fb_shortcode['type'] ) {
1658
  $mulit_data = array( 'page_data' => 'https://graph.facebook.com/' . $fb_shortcode['id'] . '?fields=feed,id,name,description&access_token=' . $access_token . $language . '' );
1659
  // Check If Ajax next URL needs to be used.
1660
  if ( ! $fts_count_ids >= 1 ) {
1661
+ $mulit_data['feed_data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( $_REQUEST['next_url'] ) : esc_url_raw( 'https://graph.facebook.com/' . $fb_shortcode['id'] . '/feed?fields=id,caption,created_time,description,from,icon,link,message,name,object_id,picture,full_picture,place,shares,source,status_type,story,to,type&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '' );
1662
  } else {
1663
+ $mulit_data['feed_data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( $_REQUEST['next_url'] ) : esc_url_raw( 'https://graph.facebook.com/feed?ids=' . $fb_shortcode['id'] . '&fields=id,caption,created_time,description,from,icon,link,message,name,object_id,picture,full_picture,place,shares,source,status_type,story,to,type&limit=' . $fb_shortcode['posts'] . '&access_token=' . $access_token . $language . '' );
1664
  }
1665
  }
1666
  $response = $this->fts_get_feed_json( $mulit_data );
2028
  $_REQUEST['next_url'] = '' !== $loadmore_count ? str_replace( "limit=$posts", "limit=$loadmore_count", $next_url ) : $next_url;
2029
 
2030
  echo '<script>';
2031
+ echo 'var nextURL_' . esc_js( $_REQUEST['fts_dynamic_name'] ) . '= "' . esc_url_raw( $_REQUEST['next_url'] ) . '";';
2032
  echo '</script>';
2033
 
2034
  // Make sure it's not ajaxing.
feeds/instagram/class-fts-instagram-feed.php CHANGED
@@ -346,11 +346,11 @@ class FTS_Instagram_Feed extends feed_them_social_functions {
346
  // $instagram_id comes from our shortcode.
347
  // URL to get Feeds.
348
  if ( 'hashtag' === $type ) {
349
- $instagram_data_array['data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( wp_unslash( $_REQUEST['next_url'] ) ) : 'https://api.instagram.com/v1/tags/' . $instagram_id . '/media/recent/?access_token=' . $fts_instagram_access_token_final;
350
  } elseif ( 'location' === $type ) {
351
- $instagram_data_array['data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( wp_unslash( $_REQUEST['next_url'] ) ) : 'https://api.instagram.com/v1/locations/' . $instagram_id . '/media/recent/?count=' . $pics_count . '&access_token=' . $fts_instagram_access_token_final;
352
  } else {
353
- $instagram_data_array['data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( wp_unslash( $_REQUEST['next_url'] ) ) : 'https://api.instagram.com/v1/users/' . $instagram_id . '/media/recent/?count=' . $pics_count . '&access_token=' . $fts_instagram_access_token_final;
354
  }
355
 
356
  $instagram_data_array['user_info'] = 'https://api.instagram.com/v1/users/' . $instagram_id . '?access_token=' . $fts_instagram_access_token_final;
@@ -530,7 +530,7 @@ if ( 'yes' === $profile_description ) {
530
  echo '</div>';
531
  }
532
 
533
- if ( 'autoscroll' === $scroll_more || '' !== $height ) {
534
  ?>
535
  <div class="fts-instagram-scrollable <?php echo esc_attr( $fts_dynamic_class_name ); ?>instagram" style="overflow:auto;
536
  <?php
@@ -744,7 +744,7 @@ if ( 'yes' === $profile_description ) {
744
  ?>
745
  <div class='instagram-placeholder fts-instagram-wrapper' style='width:150px;'>
746
  <?php
747
- if ( 'yes' === $popup ) {
748
  print '<div class="fts-backg"></div>';
749
  } else {
750
  ?>
@@ -754,7 +754,7 @@ if ( 'yes' === $profile_description ) {
754
  </div>
755
 
756
 
757
- <?php if ( is_plugin_active( 'feed-them-premium/feed-them-premium.php' ) && 'yes' === $popup ) { ?>
758
 
759
 
760
  <div class="fts-instagram-popup-profile-wrap">
@@ -819,9 +819,9 @@ if ( 'yes' === $profile_description ) {
819
  // ******************
820
  $next_url = isset( $insta_data->pagination->next_url ) ? $insta_data->pagination->next_url : '';
821
  // we check to see if the loadmore count number is set and if so pass that as the new count number when fetching the next set of pics/videos.
822
- $_REQUEST['next_url'] = '' !== $loadmore_count ? str_replace( "count=$pics_count", "count=$loadmore_count", $next_url ) : $next_url;
823
  ?>
824
- <script>var nextURL_<?php echo esc_js( sanitize_text_field( wp_unslash( $_REQUEST['fts_dynamic_name'] ) ) ); ?>= "<?php echo esc_url_raw( wp_unslash( $_REQUEST['next_url'] ) ); ?>";</script>
825
  <?php
826
  // Make sure it's not ajaxing.
827
  if ( ! isset( $_GET['load_more_ajaxing'] ) && ! isset( $_REQUEST['fts_no_more_posts'] ) && ! empty( $loadmore ) ) {
@@ -931,7 +931,7 @@ if ( 'yes' === $profile_description ) {
931
  </script>
932
  <?php } //end $height !== 'auto' && empty($height) == NULL. ?>
933
  <?php
934
- if ( 'autoscroll' === $scroll_more || '' !== $height ) {
935
  print '</div>'; // closing height div for scrollable feeds.
936
  }
937
 
346
  // $instagram_id comes from our shortcode.
347
  // URL to get Feeds.
348
  if ( 'hashtag' === $type ) {
349
+ $instagram_data_array['data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( $_REQUEST['next_url'] ) : 'https://api.instagram.com/v1/tags/' . $instagram_id . '/media/recent/?access_token=' . $fts_instagram_access_token_final;
350
  } elseif ( 'location' === $type ) {
351
+ $instagram_data_array['data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( $_REQUEST['next_url'] ) : 'https://api.instagram.com/v1/locations/' . $instagram_id . '/media/recent/?count=' . $pics_count . '&access_token=' . $fts_instagram_access_token_final;
352
  } else {
353
+ $instagram_data_array['data'] = isset( $_REQUEST['next_url'] ) ? esc_url_raw( $_REQUEST['next_url'] ) : 'https://api.instagram.com/v1/users/' . $instagram_id . '/media/recent/?count=' . $pics_count . '&access_token=' . $fts_instagram_access_token_final;
354
  }
355
 
356
  $instagram_data_array['user_info'] = 'https://api.instagram.com/v1/users/' . $instagram_id . '?access_token=' . $fts_instagram_access_token_final;
530
  echo '</div>';
531
  }
532
 
533
+ if ( isset( $scroll_more ) && 'autoscroll' === $scroll_more || '' !== $height ) {
534
  ?>
535
  <div class="fts-instagram-scrollable <?php echo esc_attr( $fts_dynamic_class_name ); ?>instagram" style="overflow:auto;
536
  <?php
744
  ?>
745
  <div class='instagram-placeholder fts-instagram-wrapper' style='width:150px;'>
746
  <?php
747
+ if ( isset( $popup ) && 'yes' === $popup ) {
748
  print '<div class="fts-backg"></div>';
749
  } else {
750
  ?>
754
  </div>
755
 
756
 
757
+ <?php if ( is_plugin_active( 'feed-them-premium/feed-them-premium.php' ) && isset( $popup ) && 'yes' === $popup ) { ?>
758
 
759
 
760
  <div class="fts-instagram-popup-profile-wrap">
819
  // ******************
820
  $next_url = isset( $insta_data->pagination->next_url ) ? $insta_data->pagination->next_url : '';
821
  // we check to see if the loadmore count number is set and if so pass that as the new count number when fetching the next set of pics/videos.
822
+ $_REQUEST['next_url'] = ! empty( $loadmore_count ) ? str_replace( "count=$pics_count", "count=$loadmore_count", $next_url ) : $next_url;
823
  ?>
824
+ <script>var nextURL_<?php echo esc_js( sanitize_text_field( wp_unslash( $_REQUEST['fts_dynamic_name'] ) ) ); ?>= "<?php echo esc_url_raw( $_REQUEST['next_url'] ); ?>";</script>
825
  <?php
826
  // Make sure it's not ajaxing.
827
  if ( ! isset( $_GET['load_more_ajaxing'] ) && ! isset( $_REQUEST['fts_no_more_posts'] ) && ! empty( $loadmore ) ) {
931
  </script>
932
  <?php } //end $height !== 'auto' && empty($height) == NULL. ?>
933
  <?php
934
+ if ( isset( $scroll_more ) && 'autoscroll' === $scroll_more || '' !== $height ) {
935
  print '</div>'; // closing height div for scrollable feeds.
936
  }
937
 
feeds/youtube/class-youtube-feed-free.php CHANGED
@@ -579,7 +579,7 @@ class FTS_Youtube_Feed_Free extends feed_them_social_functions {
579
  $_REQUEST['next_url'] = ! empty( $loadmore ) ? str_replace( 'maxResults=' . $vid_count, 'maxResults=' . $loadmore_count, $next_url ) : $next_url;
580
 
581
  echo '<script>';
582
- echo 'var nextURL_' . esc_js( sanitize_text_field( wp_unslash( $_REQUEST['fts_dynamic_name'] ) ) ) . '= "' . esc_url_raw( wp_unslash( $_REQUEST['next_url'] ) ) . '";';
583
  echo '</script>';
584
  }
585
  // Make sure it's not ajaxing.
579
  $_REQUEST['next_url'] = ! empty( $loadmore ) ? str_replace( 'maxResults=' . $vid_count, 'maxResults=' . $loadmore_count, $next_url ) : $next_url;
580
 
581
  echo '<script>';
582
+ echo 'var nextURL_' . esc_js( sanitize_text_field( wp_unslash( $_REQUEST['fts_dynamic_name'] ) ) ) . '= "' . esc_url_raw( $_REQUEST['next_url'] ) . '";';
583
  echo '</script>';
584
  }
585
  // Make sure it's not ajaxing.
includes/feed-them-functions.php CHANGED
@@ -143,7 +143,7 @@ class feed_them_social_functions {
143
 
144
  if ( isset( $hide_share ) && 1 !== $hide_share ) {
145
  $output = '<div class="fts-share-wrap">';
146
- $output .= '<a href="javascript:;" class="ft-gallery-link-popup">' . esc_html( '', 'feed-them-gallery' ) . '</a>';
147
  $output .= '<div class="ft-gallery-share-wrap">';
148
  $output .= '<a href="' . esc_attr( $ft_gallery_share_facebook ) . '" target="_blank" class="ft-galleryfacebook-icon"><i class="fa fa-facebook-square"></i></a>';
149
  $output .= '<a href="' . esc_attr( $ft_gallery_share_twitter ) . '" target="_blank" class="ft-gallerytwitter-icon"><i class="fa fa-twitter"></i></a>';
@@ -443,7 +443,7 @@ class feed_them_social_functions {
443
  ?>
444
  <script>
445
  <?php if ( ! isset( $_GET['locations'] ) ) { ?>
446
- var nextURL_<?php echo esc_js( sanitize_text_field( wp_unslash( $_REQUEST['fts_dynamic_name'] ) ) ); ?>= "<?php echo esc_url_raw( wp_unslash( $_REQUEST['next_url'] ) ); ?>";
447
  // alert('nextURL_<?php echo esc_js( sanitize_text_field( wp_unslash( $_REQUEST['fts_dynamic_name'] ) ) ); ?>');
448
  <?php } ?>
449
 
@@ -860,7 +860,7 @@ class feed_them_social_functions {
860
  $output .= '<div class="feed-them-social-admin-input-label">' . esc_html( $label ) . '</div>';
861
  $output .= '<div class="feed-them-social-admin-input-default">';
862
  $output .= sprintf(
863
- esc_html( 'Must have %1$sPremium Extension%3$s to edit.', 'feed-them-gallery' ),
864
  '<a href="' . esc_url( 'https://www.slickremix.com/downloads/feed-them-social-premium-extension/' ) . '" target="_blank">',
865
  '</a>'
866
  );
@@ -2175,7 +2175,7 @@ if ( ! empty( $youtube_loadmore_text_color ) ) {
2175
  $output .= '<h3>' . esc_html( 'Twitter Search', 'feed-them-social' ) . '</h3>';
2176
  $output .= '<div class="instructional-text">';
2177
  $output .= sprintf(
2178
- esc_html( 'You can use #hashtag, @person, or single words. For example, weather or weather-channel.%1$sIf you want to filter a specific users hashtag copy this example into the first input below and replace the user_name and YourHashtag name. DO NOT remove the from: or %# characters. NOTE: Only displays last 7 days worth of Tweets. %2$sfrom:user_name%#YourHashtag%3$s', 'feed-them-gallery' ),
2179
  '<br/><br/>',
2180
  '<strong style="color:#225DE2;">',
2181
  '</strong>'
@@ -2199,7 +2199,7 @@ if ( ! empty( $youtube_loadmore_text_color ) ) {
2199
  $output .= '<div class="feed-them-social-admin-input-label">' . esc_html( '# of Tweets (optional)', 'feed-them-premium' );
2200
  if ( ! is_plugin_active( 'feed-them-premium/feed-them-premium.php' ) ) {
2201
  $output .= sprintf(
2202
- esc_html( '%1$s More than 6 Requires the %2$sPremium Extension%3$s', 'feed-them-gallery' ),
2203
  '<br/><small>',
2204
  '<a target="_blank" href="' . esc_url( 'http://www.slickremix.com/downloads/feed-them-social-premium-extension/' ) . '">',
2205
  '</a></small>'
@@ -2323,7 +2323,7 @@ if ( ! empty( $youtube_loadmore_text_color ) ) {
2323
  $output .= '<div class="feed-them-social-admin-input-label">' . esc_html( '# of Pics (optional)', 'feed-them-premium' );
2324
  if ( ! is_plugin_active( 'feed-them-premium/feed-them-premium.php' ) ) {
2325
  $output .= sprintf(
2326
- esc_html( '%1$s More than 6 Requires the %2$sPremium Extension%3$s', 'feed-them-gallery' ),
2327
  '<br/><small>',
2328
  '<a target="_blank" href="' . esc_url( 'http://www.slickremix.com/downloads/feed-them-social-premium-extension/' ) . '">',
2329
  '</a></small>'
143
 
144
  if ( isset( $hide_share ) && 1 !== $hide_share ) {
145
  $output = '<div class="fts-share-wrap">';
146
+ $output .= '<a href="javascript:;" class="ft-gallery-link-popup">' . esc_html( '', 'feed-them-social' ) . '</a>';
147
  $output .= '<div class="ft-gallery-share-wrap">';
148
  $output .= '<a href="' . esc_attr( $ft_gallery_share_facebook ) . '" target="_blank" class="ft-galleryfacebook-icon"><i class="fa fa-facebook-square"></i></a>';
149
  $output .= '<a href="' . esc_attr( $ft_gallery_share_twitter ) . '" target="_blank" class="ft-gallerytwitter-icon"><i class="fa fa-twitter"></i></a>';
443
  ?>
444
  <script>
445
  <?php if ( ! isset( $_GET['locations'] ) ) { ?>
446
+ var nextURL_<?php echo esc_js( sanitize_text_field( wp_unslash( $_REQUEST['fts_dynamic_name'] ) ) ); ?>= "<?php echo esc_url_raw( $_REQUEST['next_url'] ); ?>";
447
  // alert('nextURL_<?php echo esc_js( sanitize_text_field( wp_unslash( $_REQUEST['fts_dynamic_name'] ) ) ); ?>');
448
  <?php } ?>
449
 
860
  $output .= '<div class="feed-them-social-admin-input-label">' . esc_html( $label ) . '</div>';
861
  $output .= '<div class="feed-them-social-admin-input-default">';
862
  $output .= sprintf(
863
+ esc_html( 'Must have %1$sPremium Extension%3$s to edit.', 'feed-them-social' ),
864
  '<a href="' . esc_url( 'https://www.slickremix.com/downloads/feed-them-social-premium-extension/' ) . '" target="_blank">',
865
  '</a>'
866
  );
2175
  $output .= '<h3>' . esc_html( 'Twitter Search', 'feed-them-social' ) . '</h3>';
2176
  $output .= '<div class="instructional-text">';
2177
  $output .= sprintf(
2178
+ esc_html( 'You can use #hashtag, @person, or single words. For example, weather or weather-channel.%1$sIf you want to filter a specific users hashtag copy this example into the first input below and replace the user_name and YourHashtag name. DO NOT remove the from: or %# characters. NOTE: Only displays last 7 days worth of Tweets. %2$sfrom:user_name%#YourHashtag%3$s', 'feed-them-social' ),
2179
  '<br/><br/>',
2180
  '<strong style="color:#225DE2;">',
2181
  '</strong>'
2199
  $output .= '<div class="feed-them-social-admin-input-label">' . esc_html( '# of Tweets (optional)', 'feed-them-premium' );
2200
  if ( ! is_plugin_active( 'feed-them-premium/feed-them-premium.php' ) ) {
2201
  $output .= sprintf(
2202
+ esc_html( '%1$s More than 6 Requires the %2$sPremium Extension%3$s', 'feed-them-social' ),
2203
  '<br/><small>',
2204
  '<a target="_blank" href="' . esc_url( 'http://www.slickremix.com/downloads/feed-them-social-premium-extension/' ) . '">',
2205
  '</a></small>'
2323
  $output .= '<div class="feed-them-social-admin-input-label">' . esc_html( '# of Pics (optional)', 'feed-them-premium' );
2324
  if ( ! is_plugin_active( 'feed-them-premium/feed-them-premium.php' ) ) {
2325
  $output .= sprintf(
2326
+ esc_html( '%1$s More than 6 Requires the %2$sPremium Extension%3$s', 'feed-them-social' ),
2327
  '<br/><small>',
2328
  '<a target="_blank" href="' . esc_url( 'http://www.slickremix.com/downloads/feed-them-social-premium-extension/' ) . '">',
2329
  '</a></small>'
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: slickremix
3
  Tags: Facebook, Instagram, Twitter, YouTube, Feed
4
  Requires at least: 3.6.0
5
  Tested up to: 4.9.8
6
- Stable tag: 2.5.3
7
  License: GPLv2 or later
8
 
9
  Custom feeds for Facebook Pages, Album Photos, Videos & Covers, Instagram, Twitter, Pinterest & YouTube on pages, posts or widgets.
@@ -76,7 +76,7 @@ Feed Them Social was Developed By SlickRemix --> [https://www.slickremix.com/](h
76
  * Log into WordPress dashboard then click **Plugins** > **Add new** > Then under the title "Install Plugins" click **Upload** > **choose the zip** > **Activate the plugin!**
77
 
78
  == Changelog ==
79
- = Version 2.5.2 - 2.5.3 Wednesday, October 10th, 2018 =
80
  * Full audit of every file to ensure proper escaping and sanitizing are in place to help prevent malicious attacks through our plugin.
81
  * NOTICE: Users of the Combined Streams Extension will also need to update to correct some formatting issues.
82
 
3
  Tags: Facebook, Instagram, Twitter, YouTube, Feed
4
  Requires at least: 3.6.0
5
  Tested up to: 4.9.8
6
+ Stable tag: 2.5.4
7
  License: GPLv2 or later
8
 
9
  Custom feeds for Facebook Pages, Album Photos, Videos & Covers, Instagram, Twitter, Pinterest & YouTube on pages, posts or widgets.
76
  * Log into WordPress dashboard then click **Plugins** > **Add new** > Then under the title "Install Plugins" click **Upload** > **choose the zip** > **Activate the plugin!**
77
 
78
  == Changelog ==
79
+ = Version 2.5.2 - 2.5.4 Wednesday, October 10th, 2018 =
80
  * Full audit of every file to ensure proper escaping and sanitizing are in place to help prevent malicious attacks through our plugin.
81
  * NOTICE: Users of the Combined Streams Extension will also need to update to correct some formatting issues.
82