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

Version Description

Download this release

Release Info

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

Code changes from version 2.4.8 to 2.4.9

Files changed (56) hide show
  1. admin/feed-them-facebook-style-options-page.php +9 -0
  2. admin/feed-them-settings-page.php +13 -5
  3. admin/feed-them-system-info.php +10 -3
  4. feed-them.php +4 -4
  5. feeds/css/styles.css +1 -1
  6. feeds/facebook/facebook-feed-post-types.php +22 -17
  7. feeds/facebook/facebook-feed.php +8 -7
  8. includes/feed-metabox-options.php +1 -1
  9. includes/feed-them-functions.php +2 -1
  10. readme.txt +5 -1
  11. trunk/SUPPORT.md +13 -0
  12. trunk/admin/css/admin-settings.css +1 -0
  13. trunk/admin/css/admin.css +1 -0
  14. trunk/admin/css/fonts/SlickRemix.eot +0 -0
  15. trunk/admin/css/fonts/SlickRemix.svg +11 -0
  16. trunk/admin/css/fonts/SlickRemix.ttf +0 -0
  17. trunk/admin/css/fonts/SlickRemix.woff +0 -0
  18. trunk/admin/css/metabox.css +1068 -0
  19. trunk/admin/css/settings-page.css +1 -0
  20. trunk/admin/feed-them-facebook-style-options-page.php +879 -0
  21. trunk/admin/feed-them-instagram-style-options-page.php +236 -0
  22. trunk/admin/feed-them-pinterest-style-options-page.php +189 -0
  23. trunk/admin/feed-them-settings-page.php +6527 -0
  24. trunk/admin/feed-them-system-info.php +267 -0
  25. trunk/admin/feed-them-twitter-style-options-page.php +550 -0
  26. trunk/admin/feed-them-youtube-style-options-page.php +336 -0
  27. trunk/admin/images/facebook-icon.png +0 -0
  28. trunk/admin/images/facebook-logo-admin.jpg +0 -0
  29. trunk/admin/images/feed-them-social-logo.png +0 -0
  30. trunk/admin/images/footer-logo.png +0 -0
  31. trunk/admin/images/ft-gallery-promo-fts.jpg +0 -0
  32. trunk/admin/images/ft-gallery-promo.jpg +0 -0
  33. trunk/admin/images/fts-help-icon.png +0 -0
  34. trunk/admin/images/instagram-backg.jpg +0 -0
  35. trunk/admin/images/instagram-icon.png +0 -0
  36. trunk/admin/images/instagram-logo-admin.png +0 -0
  37. trunk/admin/images/pinterest-icon.png +0 -0
  38. trunk/admin/images/pinterest-logo-admin.jpg +0 -0
  39. trunk/admin/images/slickremix-icon-sprite.png +0 -0
  40. trunk/admin/images/twitter-icon.png +0 -0
  41. trunk/admin/images/twitter-logo-admin.jpg +0 -0
  42. trunk/admin/images/vine-icon.png +0 -0
  43. trunk/admin/images/youtube-icon.png +0 -0
  44. trunk/admin/images/youtube-logo-admin.jpg +0 -0
  45. trunk/admin/js/admin.js +22 -0
  46. trunk/admin/js/developer-admin.js +19 -0
  47. trunk/admin/js/jscolor/arrow.gif +0 -0
  48. trunk/admin/js/jscolor/cross.gif +0 -0
  49. trunk/admin/js/jscolor/hs.png +0 -0
  50. trunk/admin/js/jscolor/hv.png +0 -0
  51. trunk/admin/js/jscolor/jscolor.js +1902 -0
  52. trunk/admin/metabox.js +1 -0
  53. trunk/feed-them.php +481 -0
  54. trunk/feeds/css/font/FontAwesome.otf +0 -0
  55. trunk/feeds/css/font/fontawesome-webfont.eot +0 -0
  56. trunk/feeds/css/font/fontawesome-webfont.svg +106 -0
admin/feed-them-facebook-style-options-page.php CHANGED
@@ -267,6 +267,15 @@ class FTS_facebook_options_page
267
  </div>
268
  <!--/fts-facebook-feed-styles-input-wrap-->
269
 
 
 
 
 
 
 
 
 
 
270
  <div class="feed-them-social-admin-input-wrap">
271
  <div class="feed-them-social-admin-input-label fb-events-map-link-color-label">
272
  <?php _e('Text for "See More Reviews"', 'feed-them-social'); ?>
267
  </div>
268
  <!--/fts-facebook-feed-styles-input-wrap-->
269
 
270
+ <div class="feed-them-social-admin-input-wrap">
271
+ <div class="feed-them-social-admin-input-label fb-events-map-link-color-label">
272
+ <?php _e('Text for the word "Recommended"', 'feed-them-social'); ?>
273
+ </div>
274
+ <input type="text" name="fb_reviews_recommended_language" class="feed-them-social-admin-input" id="fb_reviews_recommended_language" placeholder="Recommeded" value="<?php echo get_option('fb_reviews_recommended_language'); ?>"/>
275
+ <div class="clear"></div>
276
+ </div>
277
+ <!--/fts-facebook-feed-styles-input-wrap-->
278
+
279
  <div class="feed-them-social-admin-input-wrap">
280
  <div class="feed-them-social-admin-input-label fb-events-map-link-color-label">
281
  <?php _e('Text for "See More Reviews"', 'feed-them-social'); ?>
admin/feed-them-settings-page.php CHANGED
@@ -995,7 +995,10 @@ class FTS_settings_page
995
  'type' => 'text',
996
  'id' => 'combine_grid_column_width',
997
  'name' => 'combine_grid_column_width',
998
- 'instructional-text' => '<strong> ' . __('NOTE:', 'feed-them-social') . '</strong> ' . __('Define the Width of each post and the Space between each post below. You must add px after any number.', 'feed-them-social'),
 
 
 
999
  'placeholder' => '310px ' . __('for example', 'feed-them-social'),
1000
  'req_plugin' => 'combine_streams',
1001
  //Relative to JS.
@@ -1778,7 +1781,7 @@ class FTS_settings_page
1778
  //Rating Format
1779
  array(
1780
  'option_type' => 'select',
1781
- 'label' => __('Rating Format', 'feed-them-social'),
1782
  'type' => 'text',
1783
  'id' => 'reviews_rating_format',
1784
  'name' => 'reviews_rating_format',
@@ -2215,8 +2218,10 @@ class FTS_settings_page
2215
  'type' => 'text',
2216
  'id' => 'facebook_grid_column_width',
2217
  'name' => 'facebook_grid_column_width',
2218
- 'instructional-text' => '<strong> ' . __('NOTE:', 'feed-them-social') . '</strong> ' . __('Define the Width of each post and the Space between each post below. You must add px after any number.', 'feed-them-social'),
2219
- 'placeholder' => '310px ' . __('for example', 'feed-them-social'),
 
 
2220
  'value' => '',
2221
  'req_plugin' => 'fts_premium',
2222
  'or_req_plugin' => 'combine_streams',
@@ -4131,7 +4136,10 @@ class FTS_settings_page
4131
  'type' => 'text',
4132
  'id' => 'twitter_grid_column_width',
4133
  'name' => 'twitter_grid_column_width',
4134
- 'instructional-text' => '<strong> ' . __('NOTE:', 'feed-them-social') . '</strong> ' . __('Define the Width of each post and the Space between each post below. You must add px after any number.', 'feed-them-social'),
 
 
 
4135
  'placeholder' => '310px ' . __('for example', 'feed-them-social'),
4136
  'value' => '',
4137
  'req_plugin' => 'fts_premium',
995
  'type' => 'text',
996
  'id' => 'combine_grid_column_width',
997
  'name' => 'combine_grid_column_width',
998
+ 'instructional-text' => '<strong> ' . __('NOTE:', 'feed-them-social') . '</strong> ' . sprintf(__('Define the Width of each post and the Space between each post below. You must add px after any number. Learn how to make the %1$sgrid responsive%2$s.', 'feed-them-social'),
999
+ '<a href="https://www.slickremix.com/docs/responsive-grid-css/" target="_blank">',
1000
+ '</a>'
1001
+ ),
1002
  'placeholder' => '310px ' . __('for example', 'feed-them-social'),
1003
  'req_plugin' => 'combine_streams',
1004
  //Relative to JS.
1781
  //Rating Format
1782
  array(
1783
  'option_type' => 'select',
1784
+ 'label' => __('Rating Format', 'feed-them-social').'<br/><small>'.__('8/17/2018: Facebook has moved to what are called "recommendations" so for some people this option may not be necessary.', 'feed-them-premium') . '</small>',
1785
  'type' => 'text',
1786
  'id' => 'reviews_rating_format',
1787
  'name' => 'reviews_rating_format',
2218
  'type' => 'text',
2219
  'id' => 'facebook_grid_column_width',
2220
  'name' => 'facebook_grid_column_width',
2221
+ 'instructional-text' => '<strong> ' . __('NOTE:', 'feed-them-social') . '</strong> ' . sprintf(__('Define the Width of each post and the Space between each post below. You must add px after any number. Learn how to make the %1$sgrid responsive%2$s.', 'feed-them-social'),
2222
+ '<a href="https://www.slickremix.com/docs/responsive-grid-css/" target="_blank">',
2223
+ '</a>'
2224
+ ),'placeholder' => '310px ' . __('for example', 'feed-them-social'),
2225
  'value' => '',
2226
  'req_plugin' => 'fts_premium',
2227
  'or_req_plugin' => 'combine_streams',
4136
  'type' => 'text',
4137
  'id' => 'twitter_grid_column_width',
4138
  'name' => 'twitter_grid_column_width',
4139
+ 'instructional-text' => '<strong> ' . __('NOTE:', 'feed-them-social') . '</strong> ' . sprintf(__('Define the Width of each post and the Space between each post below. You must add px after any number. Learn how to make the %1$sgrid responsive%2$s.', 'feed-them-social'),
4140
+ '<a href="https://www.slickremix.com/docs/responsive-grid-css/" target="_blank">',
4141
+ '</a>'
4142
+ ),
4143
  'placeholder' => '310px ' . __('for example', 'feed-them-social'),
4144
  'value' => '',
4145
  'req_plugin' => 'fts_premium',
admin/feed-them-system-info.php CHANGED
@@ -33,7 +33,7 @@ class FTS_system_info_page extends feed_them_social_functions {
33
  */
34
  function feed_them_system_info_page() {
35
  ?>
36
- <div class="fts-help-admin-wrap"> <a class="buy-extensions-btn" href="http://www.slickremix.com/downloads/category/feed-them-social/" target="_blank">
37
  <?php _e( 'Get Extensions Here!', 'feed-them-social' ); ?>
38
  </a>
39
  <h2>
@@ -41,7 +41,7 @@ class FTS_system_info_page extends feed_them_social_functions {
41
  </h2>
42
  <p>
43
  <?php _e( 'Please click the box below and copy the report. You will need to paste this information along with your question in our', 'feed-them-social' ); ?>
44
- <a href="http://www.slickremix.com/support-forum/" target="_blank">
45
  <?php _e( 'Support Forum', 'feed-them-social' ); ?>
46
  </a>.
47
  <?php _e( 'Ask your question then paste the copied text below it. To copy the system info, click below then press Ctrl + C (PC) or Cmd + C (Mac).', 'feed-them-social' ); ?>
@@ -168,6 +168,9 @@ $fts_bar_license_key = get_option('fts_bar_license_key');
168
  $feed_them_carousel_premium_license_key = get_option('feed_them_carousel_premium_license_key');
169
  $feed_them_social_combined_streams_license_key = get_option('feed_them_social_combined_streams_license_key');
170
  $fb_hide_error_handler_message = get_option('fb_hide_error_handler_message');
 
 
 
171
 
172
  ?>YouTube: <?php echo $youtubeOptions . "\n"; ?>
173
 
@@ -176,6 +179,10 @@ $fb_hide_error_handler_message = get_option('fb_hide_error_handler_message');
176
  Date Format: <?php echo $ftsDateTimeFormat . "\n"; ?>
177
  Timezone: <?php echo $ftsTimezone . "\n"; ?>
178
 
 
 
 
 
179
  -- Hide Facebook Error Handler:
180
 
181
  Hide: <?php echo isset($fb_hide_error_handler_message) && $fb_hide_error_handler_message == 'yes' ? 'Yes'. "\n" : 'No'. "\n"; ?>
@@ -215,7 +222,7 @@ Facebook Reviews Active: <?php echo isset($fb_reviews_token) && $fb_reviews_t
215
  // COMMENTING OUT FOR NOW BECAUSE TO MUCH INFO FROM PEOPLES SITES ARE BEING ADDED TO OUR SUPPORT FORUMS.
216
  //echo do_shortcode("[shortcodefinderSlick find='[fts']"); ?>
217
  </form>
218
- <a class="fts-settings-admin-slick-logo" href="http://www.slickremix.com/support-forum/" target="_blank"></a> </div>
219
  <?php
220
  }
221
  //**************************************************
33
  */
34
  function feed_them_system_info_page() {
35
  ?>
36
+ <div class="fts-help-admin-wrap"> <a class="buy-extensions-btn" href="https://www.slickremix.com/downloads/category/feed-them-social/" target="_blank">
37
  <?php _e( 'Get Extensions Here!', 'feed-them-social' ); ?>
38
  </a>
39
  <h2>
41
  </h2>
42
  <p>
43
  <?php _e( 'Please click the box below and copy the report. You will need to paste this information along with your question in our', 'feed-them-social' ); ?>
44
+ <a href="https://www.slickremix.com/support/" target="_blank">
45
  <?php _e( 'Support Forum', 'feed-them-social' ); ?>
46
  </a>.
47
  <?php _e( 'Ask your question then paste the copied text below it. To copy the system info, click below then press Ctrl + C (PC) or Cmd + C (Mac).', 'feed-them-social' ); ?>
168
  $feed_them_carousel_premium_license_key = get_option('feed_them_carousel_premium_license_key');
169
  $feed_them_social_combined_streams_license_key = get_option('feed_them_social_combined_streams_license_key');
170
  $fb_hide_error_handler_message = get_option('fb_hide_error_handler_message');
171
+ $fb_hide_images_in_posts = get_option('fb_hide_images_in_posts');
172
+
173
+
174
 
175
  ?>YouTube: <?php echo $youtubeOptions . "\n"; ?>
176
 
179
  Date Format: <?php echo $ftsDateTimeFormat . "\n"; ?>
180
  Timezone: <?php echo $ftsTimezone . "\n"; ?>
181
 
182
+ -- Hide Facebook Images in Posts:
183
+
184
+ Hide: <?php echo isset($fb_hide_images_in_posts) && $fb_hide_images_in_posts == 'yes' ? 'Yes'. "\n" : 'No'. "\n"; ?>
185
+
186
  -- Hide Facebook Error Handler:
187
 
188
  Hide: <?php echo isset($fb_hide_error_handler_message) && $fb_hide_error_handler_message == 'yes' ? 'Yes'. "\n" : 'No'. "\n"; ?>
222
  // COMMENTING OUT FOR NOW BECAUSE TO MUCH INFO FROM PEOPLES SITES ARE BEING ADDED TO OUR SUPPORT FORUMS.
223
  //echo do_shortcode("[shortcodefinderSlick find='[fts']"); ?>
224
  </form>
225
+ <a class="fts-settings-admin-slick-logo" href="https://www.slickremix.com/support/" target="_blank"></a> </div>
226
  <?php
227
  }
228
  //**************************************************
feed-them.php CHANGED
@@ -7,18 +7,18 @@
7
  * Plugin Name: Feed Them Social (Facebook, Instagram, Twitter, etc)
8
  * Plugin URI: http://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.4.8
11
  * Author: SlickRemix
12
  * Author URI: https://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.4.8
18
  * License: GPLv2 or later
19
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
20
  *
21
- * @version 2.4.8
22
  * @package FeedThemSocial/Core
23
  * @copyright Copyright (c) 2012-2018 SlickRemix
24
  *
@@ -27,7 +27,7 @@
27
  */
28
 
29
  // Makes sure any js or css changes are reloaded properly. Added to enqued css and js files throughout
30
- define('FTS_CURRENT_VERSION', '2.4.8');
31
 
32
  final class Feed_Them_Social {
33
 
7
  * Plugin Name: Feed Them Social (Facebook, Instagram, Twitter, etc)
8
  * Plugin URI: http://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.4.9
11
  * Author: SlickRemix
12
  * Author URI: https://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.4.9
18
  * License: GPLv2 or later
19
  * License URI: http://www.gnu.org/licenses/gpl-3.0.html
20
  *
21
+ * @version 2.4.9
22
  * @package FeedThemSocial/Core
23
  * @copyright Copyright (c) 2012-2018 SlickRemix
24
  *
27
  */
28
 
29
  // Makes sure any js or css changes are reloaded properly. Added to enqued css and js files throughout
30
+ define('FTS_CURRENT_VERSION', '2.4.9');
31
 
32
  final class Feed_Them_Social {
33
 
feeds/css/styles.css CHANGED
@@ -1 +1 @@
1
- /* If you think we have to many !important rules you have to consider that we are fighting with the themes CSS which in most cases overrides a plugins CSS. So if you see an !important rule and are having trouble overriding it make sure and target the body, html or a wrapper ID before the CSS class you are trying to override. */ @charset "UTF-8";.entriestitle.fts-youtube-popup,.fts-yt-first-video{word-break:break-word}.fts-twitter-div a,.tweeter-info:hover a{-webkit-transition:all .3s ease-in-out;text-decoration:none!important}.tweeter-info,.tweeter-info:hover a{-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out}.fts-jal-fb-group-display,.fts-twitter-div{clear:both}@font-face{font-family:FontAwesomeSlick;src:url(../css/font/fontawesome-webfont.eot?v=3.2.1);src:url(../css/font/fontawesome-webfont.eot?#iefix&v=3.2.1) format("embedded-opentype"),url(../css/font/fontawesome-webfont.woff?v=3.2.1) format("woff"),url(../css/font/fontawesome-webfont.ttf?v=3.2.1) format("truetype"),url(../css/font/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1) format("svg")}pre{white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}.fts-twitter-text{padding:4px 0 0;display:block;line-height:19px}.fts-video-show-hide-btns-wrap a:focus,.fts-video-show-hide-btns-wrap a:link,.fts-video-show-hide-btns-wrap a:visited{outline:0!important;border:none!important}.fts-view-on-twitter-link:before{font-family:FontAwesomeSlick;content:"\f14c ";display:inline-block;margin-right:6px}.fts-video-show-hide-btns-wrap a:before{font-family:FontAwesomeSlick;content:'\f16a';display:inline-block;margin-right:5px}img.fts-twitter-description-image{margin:10px 0 0!important}.fts-twitter-favorites:before,.fts-twitter-retweet:before{margin-right:5px;font-family:FontAwesomeSlick;position:relative}.fts-twitter-retweet:before{content:'\f079'!important;font-size:17px!important;top:1px}.fts-twitter-favorites:before{content:'\f004 '!important;font-size:13px!important;top:0}.fts-twitter-reply:before{font-family:FontAwesomeSlick;content:'\f112'!important;position:relative;top:2px;font-size:14px}.fts-twitter-caption,blockquote.twitter-video{display:none}.fts-twitter-div *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fts-fb-slideshow,.fts-fb-slideshow *,.fts-slicker-facebook-photos *,.fts-yt-videolist *,.popup-video-gallery-fb .fts-fb-photo-post-wrap{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.fts-twitter-div{position:relative;padding:0}.tweeter-info:hover a{transition:all .3s ease-in-out}.widget .fts-twitter-div .fts-uppercase{width:auto}.fts-twitter-div p{margin:0 0 5px!important;line-height:20px!important;padding:0}.widget .fts-twitter-div p{margin:0 0 8px!important;padding:0!important;line-height:19px!important;font-size:12px!important}.fts-twitter-div img{margin:0 10px}.fts-twitter-div .fts-uppercase{margin:0 5px 0 0;font-size:13px;font-weight:700;text-align:left;display:inline-block}.widget .twitter-image{margin-right:10px!important}.widget .fts-twitter-div .fts-uppercase,.widget .tweeter-info .fts-right,.widget .tweeter-info .fts-twitter-full-width{text-align:left;font-size:11px;line-height:14px;font-weight:400!important}.fts-right .fts-uppercase,.fts-twitter-full-width .fts-uppercase{display:inline-block}.tweeter-info .fts-right{float:none!important;padding:0 7px 0 71px;line-height:15px!important}.tweeter-info .fts-twitter-full-width{padding:10px 10px 0}.fts-twitter-fade{display:none;width:321px;height:80px;position:absolute;top:137px;left:1px}.fts-twitter-image,.widget .fts-twitter-image{margin:0;float:left}.tweeter-info{padding:11px;background:#eee;box-shadow:0 1px 2px #555;clear:both;min-height:51px;line-height:13px;-webkit-transition:background 2s;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.fts-twitter-div a,.tweeter-info:hover{-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out}.widget .tweeter-info{min-height:42px}.tweeter-info:hover{background:#FFF;box-shadow:0 1px 2px #222;-webkit-transition:background 2s;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.tweeter-info img{border-radius:0;box-shadow:0!important}.fts-twitter-link{position:absolute;top:217px;left:0;font-size:22px;text-transform:uppercase;width:291px;height:36px;padding:15px 0 0 38px;border-top:1px solid #c1c2c3;color:#000}.fts-video-loading-notice{color:#000}a.fts-powered-by-text{padding-top:8px!important;width:100%;text-align:center!important;display:block}.fts-twitter-div a{transition:all .3s ease-in-out;color:#0084b4}.fts-twitter-div a:hover{color:#444;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out;text-decoration:none!important}.tweeter-info .time{font-size:12px}.fts-tweeter-wrap .tweeter-info{padding:14px 0 8px;background:0 0;box-shadow:0 0 0 #555;border-bottom:1px solid #eee;word-wrap:break-word;clear:both;font-size:14px;line-height:13px;-webkit-transition:background 0;-webkit-transition:all 0 ease-in-out;-moz-transition:all 0 ease-in-out;-o-transition:all 0 ease-in-out;transition:all 0 ease-in-out}.fts-tweeter-wrap .fts-video-wrapper{margin:15px 0 0}.fts-video-wrapper-padding{display:none}.fts-tweeter-wrap .tweeter-info:hover{background:0 0!important;box-shadow:0 0 0 #222!important}.fts-tweeter-wrap .tweeter-info img{max-width:100%;box-shadow:none!important;border-radius:0}.fts-twitter-favorites,.fts-twitter-reply,.fts-twitter-retweet{font-size:13px!important}.fts-twitter-reply-wrap a{display:inline-block!important;opacity:1;padding-right:0;-webkit-transition:background 1s;-webkit-transition:all 1s ease-in-out;-moz-transition:all 1s ease-in-out;-o-transition:all 1s ease-in-out;transition:all 1s ease-in-out}.fts-twitter-reply-wrap{font-size:16px;margin-right:0;margin-top:10px;font-style:normal!important}.fts-tweeter-wrap:hover a{opacity:1}@media (max-width:767px){.fts-tweeter-wrap a{opacity:1!important}}.fts-video-show-hide-btns-wrap{margin:7px 0 0!important}.fts-video-show-hide-btns-wrap a{font-size:13px!important}.fts-twitter-load-video-wrapper,a.fts-twitter-load-video-wrapper{margin:0!important;padding:0!important}.fts-show-media-text,a.fts-close-media{display:none}.fts-twitter-div iframe,.fts-video-wrapper iframe{margin:0!important}.twitter-social-btn-bottom{margin:15px 0}.fts-jal-fb-see-more .icon-thumbs-up:before{content:"\f164"!important;font-size:14px}.fts-jal-fb-see-more .icon-comments:before{content:"\f086"!important;top:0;position:relative;font-size:14px}.fts-jal-fb-see-more .icon-file:before{content:"\f064"!important;top:2px!important;position:relative;font-size:14px}.fts-events-list-wrap .icon-map-marker [class^=icon-thumbs-up],.fts-jal-fb-see-more [class*=" icon--thumbs-up"],.fts-jal-fb-see-more [class*=" icon--file"],.fts-jal-fb-see-more [class^=icon-comments],.fts-jal-fb-see-more [class^=icon-file],.fts-jal-fb-see-more [class^=icon-thumbs-up]{display:inline-block!important;font-style:normal!important}.fts-events-list-wrap [class^=icon-]:before,.fts-jal-fb-see-more [class^=icon-]:before,.fts-jal-single-fb-post [class^=icon-]:before{font-family:FontAwesomeSlick!important;-webkit-font-smoothing:antialiased;margin:0 0 0 7px!important}.fts-jal-fb-see-more [class^=icon-]:before [class^=icon-],.fts-jal-single-fb-post{float:none!important;margin:0!important;display:block;padding:0!important;text-align:right!important;width:auto!important;height:auto!important;line-height:normal!important;vertical-align:baseline!important;background:0 0!important;font-style:normal!important}.fts-jal-fb-group-display img{border-radius:0!important;box-shadow:0 0 0 transparent!important;display:block;max-width: 100%;}.fts-jal-fb-group-header-desc{width:100%;margin:7px 0 15px!important;line-height:20px}.fts-jal-fb-header{clear:both}.no-more-posts-fts-fb{cursor:auto}.fts-jal-single-fb-post .slicker-facebook-album-photoshadow{display:none}.fts-jal-fb-header a:hover,.fts-jal-single-fb-post a:hover{font-style:normal;text-decoration:none!important;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out;color:#313131}.fts-jal-fb-user-thumb a{display:block}.fts-fb-get-directions{text-align:left!important;margin:0}.fts-jal-fb-header a,.fts-jal-single-fb-post a{-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out;text-decoration:none!important;word-break:break-word;border:none!important}.fts-jal-fb-header h1{font-size:1.9em;margin:0!important;line-height:normal!important;padding:0!important}.widget .fts-jal-fb-header h1{font-size:1.8em;line-height:22px}.fts-jal-single-fb-post{width:100%;padding:15px 0 7px!important;margin-bottom:0;border-bottom:1px solid rgba(184,184,184,.3);position:relative;line-height:17px;text-align:left}.fts-slicker-facebook-posts .fts-jal-single-fb-post{width:auto;padding:10px 10px 8px!important;border-bottom:1px solid rgba(184,184,184,.3);line-height:17px}.widget .fts-jal-single-fb-post{width:100%;padding:17px 0 10px!important}.fts-facebook-popup .fts-jal-fb-user-thumb{width:50px;height:50px;float:left;margin:0 0 0 20px!important}.fts-jal-fb-user-thumb,.fts-mashup-icon{height:50px;margin-right:11px;float:left}.fts-jal-fb-user-thumb{width:50px;margin-bottom:5px}.fts-mashup-icon{width:20px;margin-bottom:5px}.widget .fts-jal-fb-right-wrap{padding-left:0}.widget .fts-jal-fb-top-wrap{padding-bottom:5px;padding-left:0;margin-bottom:5px;min-height:50px}.fts-jal-fb-message{padding-top:10px;line-height:21px;word-wrap:break-word}.fts-jal-fb-link-wrap p,.fts-jal-fb-message p{padding:0!important;margin:0 0 10px!important}.fts-jal-fb-link-wrap p{line-height:19px!important}.fts-jal-fb-link-wrap{margin-top:0;border-radius:0;-webkit-transition:background 2s;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.jal-fb-description{word-wrap:break-word!important}.fts-jal-fb-picture{float:left;display:block;margin:10px 10px 4px 0}.fts-jal-fb-link-wrap img{margin:0}.fts-jal-fb-vid-picture{position:relative;float:left;height:auto!important;margin:10px 0 0;line-height:normal!important;cursor:pointer}.fts-jal-fb-description-wrap{float:left;padding:15px 12px 0 17px!important;color:#757575;font-size:13px!important;font-weight:400;text-align:left}.popup-gallery-fb .fts-jal-fb-description-wrap,.popup-video-gallery-fb .fts-jal-fb-description-wrap{padding:15px 0 0!important}.fts-jal-single-fb-post .fts-jal-fb-vid-wrap .fts-jal-fb-description-wrap{padding:15px 15px 0!important}.widget .fts-jal-fb-description-wrap{float:left;overflow:hidden;max-width:90%;line-height:19px!important;color:#999;font-size:12px!important;font-weight:400}.entry-content .fts-jal-fb-picture img,.fts-yt-videolist li img,.widget .fts-jal-fb-picture img,.widget a.fts-pin-board-wrap img,a.fts-pin-board-wrap img{max-width:100%}.fts-jal-fb-description{padding:5px 0 10px;line-height:17px!important;font-size:13px;color:#919191;word-wrap:break-word}.fts-jal-fb-description p{font-size:13px!important}.fts-jal-fb-top-wrap{margin-bottom:10px;text-align:left}.fts-jal-fb-user-name{font-weight:700;color:#888;display:block;padding-top:6px;padding-right:5px;font-size:16px;line-height:18px}.fts-slicker-facebook-albums .fts-jal-fb-user-name a{color:#FFF}.fts-jal-fb-post-time{color:#999;padding-top:4px;font-size:12px;line-height:10px;display:block}.fts-jal-fb-name{font-weight:700;color:#C00;padding-bottom:5px;font-size:15px;display:inline-block;line-height:18px}.fts-events-list-wrap .fts-jal-fb-name{font-weight:400;color:#c52214;padding-bottom:5px;font-size:15px;display:block;line-height:21px}.fts-jal-fb-vid-play-btn{background:url(../images/video-play-btn.png) no-repeat;bottom:7px;height:26px;left:9px;position:absolute;width:35px}.fts-jal-fb-picture img,.fts-vid-div{width:100%}.fts-vid-div .fts-jal-fb-vid-play-btn,.fts-vid-div img{display:none}.fts-vid-div iframe{position:absolute;z-index:500}.fts-jal-fb-see-more .icon-file{font-size:10px}.fts-jal-fb-see-more{float:right;margin:10px 0 0;font-size:12px;width:100%;text-align:right;font-style:normal!important}.fts-fb-event-photo{float:left}.fts-fb-large-photo{margin-right:0!important;font-weight:inherit}.fts-slicker-facebook-photos .fts-fb-photo-post-wrap:hover .fts-likes-shares-etc-wrap,.fts-slicker-facebook-photos .slicker-facebook-album-photoshadow:hover .fts-jal-fb-see-more{display:block}.fts-slicker-facebook-photos .fts-fb-photo-post-wrap:hover .fts-jal-fb-top-wrap,.fts-slicker-facebook-photos .fts-fb-video-post-wrap .slicker-facebook-album-photoshadow:hover .fts-jal-fb-top-wrap{opacity:1}.fts-slicker-facebook-albums .fts-jal-fb-description-wrap,.fts-slicker-facebook-photos .fts-jal-fb-description,.fts-slicker-facebook-photos .fts-jal-fb-see-more:hover,.fts-slicker-facebook-photos .fts-jal-fb-user-name a:hover{color:#FFF}.fts-slicker-facebook-photos .fts-jal-fb-description-wrap{font-weight:inherit!important}.fts-slicker-facebook-photos *{-ms-box-sizing:border-box;box-sizing:border-box}.instagram-placeholder *,.slicker-instagram-placeholder *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fts-jal-fb-vid-wrap .slicker-facebook-album-photoshadow{position:absolute;top:0;right:0;height:auto;z-index:600;cursor:pointer;width:auto;opacity:1!important;background-color:rgba(0,0,0,.6)!important;display:none}.fts-jal-fb-vid-wrap .slicker-facebook-album-photoshadow:before{content:'info';color:#FFF;padding:5px 10px 7px;text-align:right;float:right;font-size:12px;display:none}.fts-fb-load-more,.fts-fb-spinner,.fts-instagram{text-align:center}.slicker-facebook-album-photoshadow{position:absolute;top:0;right:0;height:100%;width:100%;z-index:100}.fts-slicker-facebook-photos .fts-fb-photo-post-wrap .slicker-facebook-album-photoshadow:hover{background-color:rgba(0,0,0,.9);-webkit-transition:background-color .01s ease-out;-moz-transition:background-color .01s ease-out;-o-transition:background-color .01s ease-out;transition:background-color .01s ease-out;z-index:100;opacity:.8;top:0;right:0;height:100%;width:100%}.fts-slicker-facebook-photos .fts-fb-photo-post-wrap:hover .slicker-facebook-album-photoshadow{background-color:rgba(0,0,0,.9);-webkit-transition:background-color .01s ease-out;-moz-transition:background-color .01s ease-out;-o-transition:background-color .01s ease-out;transition:background-color .01s ease-out;z-index:100;opacity:.8;top:0;display:block;right:0;height:100%;width:100%}.fts-slicker-facebook-photos .fts-jal-fb-right-wrap{padding:0!important}.fts-slicker-facebook-photos .fts-jal-fb-user-thumb{display:none}.fts-slicker-facebook-photos .fts-jal-fb-top-wrap{color:#FFF!important;padding:12px 15px 0!important;z-index:600;position:absolute;width:100%;opacity:0;-webkit-transition:all .15s ease-out .1s;-moz-transition:all .15s ease-out .1s;-o-transition:all .15s ease-out .1s}.fts-slicker-facebook-photos .fts-jal-fb-message{padding:15px 0 0;color:#FFF!important;position:relative;font-size:14px;z-index:100}.fts-slicker-facebook-photos .fts-jal-fb-post-time{color:#ddd;margin-top:0}.fts-slicker-facebook-albums .fts-jal-fb-description-wrap a:hover,.fts-slicker-facebook-albums .jal-fb-description a:hover,.fts-slicker-facebook-photos .jal-fb-description a:hover{color:#ccc}.fts-slicker-facebook-photos .fts-jal-fb-link-wrap,.fts-slicker-facebook-photos .fts-jal-fb-vid-wrap{line-height:12px!important}.fts-slicker-facebook-photos .fts-jal-fb-vid-wrap iframe{height:305px;width:305px}.fts-slicker-facebook-albums .fts-jal-fb-description-wrap{word-wrap:break-word;width:100%}.fts-slicker-facebook-albums .fts-jal-fb-description-wrap a{float:left;width:100%;line-height:19px;padding:0!important}.fts-slicker-facebook-albums .jal-fb-description a,.fts-slicker-facebook-photos .jal-fb-description a{float:none!important}.fts-slicker-facebook-photos .fts-jal-single-fb-post{position:relative;float:none;z-index:0;overflow:hidden;border:none!important;padding:0!important;font-family:proxima-nova,'Helvetica Neue',Arial,Helvetica,sans-serif!important;background:#000;vertical-align:top!important;display:inline-block!important}.fts-fb-get-directions:before,.slicker-instagram-image-likes:before,.slicker-instagram-placeholder .fts-instagram-icon:before{font-family:FontAwesomeSlick;-webkit-font-smoothing:antialiased}.fts-slicker-facebook-photos .fts-jal-fb-link-wrap,.fts-slicker-facebook-photos .fts-jal-fb-vid-wrap{border:none!important;margin:0!important;width:100%;height:100%}.fts-album-photos-wrap img{vertical-align:middle!important;display:inline-block!important}.fts-slicker-facebook-photos.fts-slicker-facebook-albums .fts-jal-single-fb-post{height:auto}.fts-slicker-facebook-photos{margin:auto;text-align:center}.fts-slicker-facebook-photos .fts-jal-fb-picture{display:block;margin:0;padding:0;float:none;width:auto;left:0;right:0;top:0;position:absolute;background-size:cover;background-position:center center;background-repeat:no-repeat}div.fts-fb-location{letter-spacing:1px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:21),only screen and (min-device-pixel-ratio:2){.fts-jal-fb-vid-wrap iframe{height:130px}}.fts-fb-spinner>div{width:10px;height:10px;background-color:#999;border-radius:100%;display:inline-block;-webkit-animation:fts-fb-bouncedelay 1.4s infinite ease-in-out;animation:fts-fb-bouncedelay 1.4s infinite ease-in-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}.fb-social-btn-below-description,.fb-social-btn-bottom,.fb-social-btn-top{width:100%;overflow:hidden}.fts-fb-spinner .bounce1{-webkit-animation-delay:-.32s;animation-delay:-.32s}.fts-fb-spinner .bounce2{-webkit-animation-delay:-.16s;animation-delay:-.16s}@-webkit-keyframes fts-fb-bouncedelay{0%,100%,80%{-webkit-transform:scale(0)}40%{-webkit-transform:scale(1)}}@keyframes fts-fb-bouncedelay{0%,100%,80%{transform:scale(0);-webkit-transform:scale(0)}40%{transform:scale(1);-webkit-transform:scale(1)}}.fts-fluid-videoWrapper-html5 video{object-fit:inherit;margin-bottom:0!important}.fts-fb-album-view-link a{color:#FFF}.fts-fb-album-view-link a:hover{color:#eee}.fts-instagram-fade .fts-fb-caption{display:block}.fts-view-album-photos-large:before,.fts-view-fb-videos-large:before,.fts-view-on-facebook-link:before,.view-on-facebook-albums-link:before{font-family:FontAwesomeSlick;content:"\f14c ";display:inline-block;margin-right:6px;-webkit-font-smoothing:antialiased}.fts-fb-get-directions:before{content:"\f041 ";display:inline-block;margin:0 5px 0 2px}.instagram-placeholder,.slicker-instagram-placeholder{font-family:proxima-nova,'Helvetica Neue',Arial,Helvetica,sans-serif!important}.fts-instagram-fade .fts-instagram-caption-content,.fts-instagram-fade .fts-jal-fb-description{color:#fff;padding:0;margin:0}.fts-instagram-fade .fts-fb-album-view-link{display:none}#facebook-sidebar .fts-fb-load-more-wrapper{max-width:100%!important;margin-top:-1px!important;z-index:9999;position:relative}.fb-social-btn-bottom{margin-top:15px!important}.fb-social-btn-top{display:block;margin-bottom:12px!important}.fb-social-btn-below-description{margin-top:5px!important;margin-bottom:5px!important}@media only screen and (max-width:640px){.fb-like.fb_iframe_widget,.fb-like.fb_iframe_widget>span,.fb-like.fb_iframe_widget>span>iframe{width:100%!important;position:relative!important}}.fts-events-list-wrap .fts-jal-fb-picture{float:left;display:block;margin:0}.fts-events-list-wrap a.fts-jal-fb-name{font-size:17px}.fts-events-list-wrap .fts-fb-event-time{font-size:15px}.fts-events-list-wrap .fts-fb-location{font-size:15px;display:block;margin:10px 0 5px}.fts-events-list-wrap .fts-fb-location-title{font-size:15px;display:block;padding:0;font-weight:700;font-style:normal;margin:12px 0 0}.fts-events-list-wrap .fts-jal-fb-message{clear:both;font-size:15px}.fts-fb-get-directions{font-size:15px;padding:0 0 20px;color:#4595f0}.fts-fb-load-more{border-radius:1px;padding:0;line-height:37px!important;width:100%;min-height:37px!important;font-size:13px!important;background:rgba(240,240,240,.45);cursor:pointer;color:#111;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.fts-fb-load-more:hover{background:rgba(240,240,240,.85)}.instagram-image,.widget .instagram-image{background-color:#000;z-index:1;display:block}.flip360-fts-load-more{-moz-animation:spinY .5s linear;-ms-animation:spinY .5s linear;-o-animation:spinY .5s linear;animation:spinY .5s linear;-webkit-animation-name:spinY;-webkit-animation-duration:.5s;-webkit-animation-timing-function:linear;-webkit-animation-fill-mode:both;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;-moz-animation-timing-function:cubic-bezier(.75,0,.175,1);-ms-animation-timing-function:cubic-bezier(.75,0,.175,1);-o-animation-timing-function:cubic-bezier(.75,0,.175,1);animation-timing-function:cubic-bezier(.75,0,.175,1)}@-moz-keyframes spinY{0%{-moz-transform:rotateY(0);transform:rotateY(0)}100%{-moz-transform:rotateY(360deg);transform:rotateY(360deg)}}@-webkit-keyframes spinY{0%{-webkit-transform:rotateY(0);transform:rotateY(0);-webkit-transform-style:preserve-3d}100%{-webkit-transform:rotateY(360deg);transform:rotateY(360deg);-webkit-transform-style:preserve-3d}}@-o-keyframes spinY{0%{-o-transform:rotateY(0);transform:rotateY(0)}100%{-o-transform:rotateY(360deg);transform:rotateY(360deg)}}@-ms-keyframes spinY{0%{-ms-transform:rotateY(0);transform:rotateY(0)}100%{-ms-transform:rotateY(360deg);transform:rotateY(360deg)}}@keyframes spinY{0%{-webkit-transform:rotateY(0);-moz-transform:rotateY(0);-ms-transform:rotateY(0);-o-transform:rotateY(0);transform:rotateY(0)}100%{-webkit-transform:rotateY(360deg);-moz-transform:rotateY(360deg);-ms-transform:rotateY(360deg);-o-transform:rotateY(360deg);transform:rotateY(360deg)}}.clear{clear:both}.heart-comments-wrap li,ul.heart-comments-wrap{padding:0!important;margin:0!important;line-height:1.3em!important;border:none!important}.widget .instagram-placeholder li,.widget .instagram-placeholder ul{padding:0!important;margin:0!important;height:auto!important}.instagram-placeholder p{margin:0;padding:0}.instagram-placeholder{position:relative;z-index:0;display:inline-block;margin:0 20px 20px}.widget .instagram-placeholder{margin:-10px 9px 0 10px!important;width:104px!important;text-align:left!important}.instagram-image{width:150px;height:150px;position:relative}.widget .instagram-image{width:105px;height:100px;position:relative;background-size:100%!important}.instaG-photoshadow{background-color:rgba(0,0,0,.1);bottom:0;left:0;position:absolute;right:0;top:0;border:1px solid rgba(0,0,0,.12);z-index:1;-webkit-transition:background-color .05s ease-out;-moz-transition:background-color .05s ease-out;-o-transition:background-color .05s ease-out;transition:background-color .05s ease-out;width:148px;height:148px}.widget .instaG-photoshadow{width:103px;height:98px}.instagram-placeholder:hover .instaG-photoshadow{background-color:transparent;-webkit-transition:background-color .01s ease-out;-moz-transition:background-color .01s ease-out;-o-transition:background-color .01s ease-out;transition:background-color .01s ease-out;border:1px solid rgba(0,0,0,.12);width:148px;height:148px}.heart-comments-wrap li,.instagram-placeholder .date{color:#888;position:relative;z-index:1;-webkit-transition:all .15s ease-out .1s;-moz-transition:all .15s ease-out .1s;-o-transition:all .15s ease-out .1s;text-shadow:0 1px 0 rgba(255,255,255,.8);opacity:0;pointer-events:none}.widget .instagram-placeholder:hover .instaG-photoshadow{width:103px;height:98px}a.instaG-backg-link{position:relative;display:block}.instagram-placeholder .date{text-align:center;margin-bottom:5px;font-size:12px;height:20px;line-height:20px;font-weight:700;transition:all .15s ease-out .1s}.widget .instagram-placeholder .date{text-align:center;margin-bottom:5px;font-size:11px;height:15px;line-height:20px;font-weight:400!important}.instagram-placeholder .heart-comments-wrap ul{height:20px;margin:10px 0 0!important}.widgets .instagram-placeholder .heart-comments-wrap ul{height:15px;margin:6px 0 0!important}.heart-comments-wrap li{display:inline-block;margin:10px 0 0 .5em!important;padding:0 0 0 16px!important;line-height:10px!important;font-size:12px!important;font-weight:400!important;transition:all .15s ease-out .1s}.instagram-placeholder .fts-backg,.slicker-instagram-placeholder .slicker-date{-webkit-transition:all .15s ease-out .1s;-moz-transition:all .15s ease-out .1s;-o-transition:all .15s ease-out .1s}.widget .instagram-placeholder .heart-comments-wrap li{display:inline-block;margin:6px 0 5px 2px!important;pointer-events:none;padding:0 0 0 15px!important;line-height:10px!important;font-size:11px!important;border:none!important}.widget .instagram-placeholder .heart-comments-wrap .instagram-image-likes{margin-right:4px!important}.instagram-placeholder .fts-backg,.widget .instagram-placeholder .fts-backg{z-index:0;left:0;width:100%;margin:-5px;padding:5px;background:#FFF;position:absolute}.instagram-placeholder .fts-backg{top:25px;height:150px;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.04),0 1px 5px rgba(0,0,0,.1);-moz-box-shadow:0 0 0 1px rgba(0,0,0,.04),0 1px 5px rgba(0,0,0,.1);box-shadow:0 0 0 1px rgba(0,0,0,.04),0 1px 5px rgba(0,0,0,.1);transition:all .15s ease-out .1s}.widget .instagram-placeholder .fts-backg{top:20px;height:100px;font-size:11px}.widget .date{font-size:11px}.instagram-placeholder:hover .fts-backg{margin:-28px -12px;padding:8px 12px;height:193px;-webkit-transition-delay:0;-moz-transition-delay:0;-o-transition-delay:0;transition-delay:0;-webkit-transition-duration:.1s;-moz-transition-duration:.1s;-o-transition-duration:.1s;transition-duration:.1s;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.04),0 1px 5px rgba(0,0,0,.2);-moz-box-shadow:0 0 0 1px rgba(0,0,0,.04),0 1px 5px rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(0,0,0,.04),0 1px 5px rgba(0,0,0,.2)}.widget .instagram-placeholder:hover .fts-backg{margin:-22px -10px;padding:5px 10px;height:135px}.instagram-image-likes{background:url(../images/hearts-instagram.jpg) no-repeat}.instagram-image-comments{background:url(../images/comments-instagram.jpg) no-repeat}.instagram-placeholder:hover .date,.instagram-placeholder:hover .instagram-image-comments,.instagram-placeholder:hover .instagram-image-likes{opacity:1;z-index:1;-webkit-transition-delay:.1s;-moz-transition-delay:.1s;-o-transition-delay:.1s;transition-delay:.1s}.slicker-instagram-placeholder li,.slicker-instagram-placeholder ul{padding:0!important;margin:0!important;line-height:1.3em!important;border:none!important;width:auto!important;overflow:visible!important}.slicker-heart-comments-wrap{position:absolute;z-index:500;bottom:10px;right:12px}.slicker-instagram-placeholder p{margin:0;padding:0}.slicker-instagram-placeholder,.slicker-youtube-placeholder{position:relative;z-index:0;display:inline-block;overflow:hidden;background-size:cover;background-position:center center;background-repeat:no-repeat;vertical-align:top}.slicker-instagram-image{line-height:0!important;position:relative;z-index:1;background-color:#000;display:block}.slicker-instagram-image img{line-height:normal!important;-webkit-border-radius:0!important;-moz-border-radius:0!important;border-radius:0!important;-webkit-box-shadow:0 0 0 rgba(0,0,0,.175)!important;-moz-box-shadow:0 0 0 rgba(0,0,0,.175)!important;box-shadow:0 0 0 rgba(0,0,0,.175)!important;margin:0!important;padding:0!important;border:none!important;width:100%}.slicker-instaG-photoshadow{bottom:0;left:0;position:absolute;right:0;top:0;z-index:1;-webkit-transition:background-color .05s ease-out;-moz-transition:background-color .05s ease-out;-o-transition:background-color .05s ease-out;transition:background-color .05s ease-out;vertical-align:middle}.slicker-instagram-placeholder:hover .slicker-instaG-photoshadow{background-color:rgba(0,0,0,.7);-webkit-transition:background-color .01s ease-out;-moz-transition:background-color .01s ease-out;-o-transition:background-color .01s ease-out;transition:background-color .01s ease-out;border:1px solid rgba(0,0,0,.12)}a.slicker-instaG-backg-link{position:relative;display:block}.slicker-instagram-placeholder .fts-share-wrap,.slicker-instagram-placeholder .slicker-date{margin-bottom:5px;font-size:13px;line-height:20px;font-weight:400;position:absolute;transition:all .15s ease-out .1s;height:20px;color:#FFF;opacity:0;text-align:center}.slicker-instagram-placeholder .fts-share-wrap{bottom:-10px;left:4px;z-index:50000000}.slicker-instagram-placeholder .slicker-date{top:10px;left:15px;z-index:500;pointer-events:none}.slicker-instagram-placeholder .slicker-heart-comments-wrap ul{height:20px;margin:10px 0 0!important}.fts-mashup-count-wrap .slicker-heart-comments-wrap li,.slicker-instagram-placeholder .slicker-heart-comments-wrap li{display:inline-block;margin:0!important;pointer-events:none;padding:0 0 0 10px!important;line-height:10px!important;font-size:12px!important;font-weight:400!important;color:#FFF;text-align:center;position:relative;z-index:1;opacity:0;-webkit-transition:all .15s ease-out .1s;-moz-transition:all .15s ease-out .1s;-o-transition:all .15s ease-out .1s}body .fts-mashup-count-wrap li{opacity:1!important}.fts-mashup .fts-jal-fb-see-more,.fts-mashup .fts-single-pin-like-count,.fts-mashup .fts-single-pin-repin-count,.fts-mashup a.ft-gallery-link-popup,body .fts-mashup-count-wrap a,body .fts-mashup-count-wrap li{color:#777!important}a.fts-slicker-backg{height:68px;width:68px;line-height:68px;font-size:68px;top:0;bottom:0;left:0;right:0;margin:auto;z-index:700;position:absolute;text-align:center;vertical-align:middle;opacity:0;color:rgba(255,255,255,.27)}.slicker-instagram-placeholder .fts-instagram-icon:before{content:"\f16d";font-size:100%;display:inline-block;-webkit-transition:all 1s ease-out 0;-moz-transition:all 1s ease-out 0;-o-transition:all 1s ease-out 0}.slicker-instagram-placeholder a.fts-slicker-backg:hover{opacity:1;color:rgba(255,255,255,.55);-webkit-transition:all 0 ease-out 0;-moz-transition:all 0 ease-out 0;-o-transition:all 0 ease-out 0}.slicker-instagram-image-likes:before{content:"\f004";margin-right:5px}.fts-slicker-instagram{margin:auto;text-align:center}.instagram-placeholder:hover .fts-see-on-instagram,.slicker-instagram-placeholder:hover .fts-see-on-instagram,.slicker-instagram-placeholder:hover .fts-share-wrap,.slicker-instagram-placeholder:hover .fts-slicker-backg,.slicker-instagram-placeholder:hover .slicker-date,.slicker-instagram-placeholder:hover .slicker-instagram-image-comments,.slicker-instagram-placeholder:hover .slicker-instagram-image-likes{opacity:1;-webkit-transition-delay:.1s;-moz-transition-delay:.1s;-o-transition-delay:.1s;transition-delay:.1s}.fts-comment-instagram:before{font-family:FontAwesomeSlick!important;content:"\f075"!important;-webkit-font-smoothing:antialiased;margin-right:5px;font-size:13px!important;display:inline-block;-moz-transform:scaleX(-1);-o-transform:scaleX(-1);-webkit-transform:scaleX(-1);transform:scaleX(-1);filter:FlipH;-ms-filter:FlipH;position:relative;top:-1px;right:-4px}.fts-see-on-instagram div:before,.fts-view-on-instagram-link:before{content:"\f138 ";font-family:FontAwesomeSlick}.fts-see-on-instagram{position:absolute;bottom:11px;right:12px;opacity:0;z-index:750;-webkit-transition:all .15s ease-out .1s;-moz-transition:all .15s ease-out .1s;-o-transition:all .15s ease-out .1s}.widget .instagram-placeholder .fts-see-on-instagram{position:absolute;top:19px;right:6px;z-index:750;display:none}.instagram-placeholder .fts-see-on-instagram{position:absolute;bottom:2px;right:6px;opacity:0;z-index:750}.fts-see-on-instagram div{display:inline-block;cursor:pointer;font-weight:400!important}.instagram-placeholder .fts-see-on-instagram div{display:block;cursor:pointer;font-weight:400!important}.widget .instagram-placeholder .fts-see-on-instagram div:before{color:#FFF;font-size:14px}.instagram-placeholder .fts-see-on-instagram div:before{color:#888;font-size:13px}.slicker-instagram-placeholder .fts-see-on-instagram div:before{color:#FFF;font-size:14px}.fts-see-on-instagram div:before{display:inline-block}.fts-view-on-instagram-link:before{display:inline-block;margin-right:6px}.fts-instagram-caption{display:none}.fts-instagram-fade .mfp-title p{color:#fff!important;margin:0 0 10px!important;padding:0!important}.fts-instagram-fade .mfp-title a{color:#FFF;text-decoration:none!important}.fts-instagram-fade .mfp-title a:hover{color:#eee}.instagram-social-btn-bottom,.instagram-social-btn-top{text-align:center;font-size:14px!important;background:#517fa4;border-radius:4px;width:167px;color:#FFF;line-height:15px;padding:7px 0!important}.instagram-social-btn-top{margin:0 auto 15px}.instagram-social-btn-bottom{margin:15px auto 0}.instagram-social-btn-bottom:hover,.instagram-social-btn-top:hover{opacity:.9}#fts-social-bar-icons-wrap .instagram-social-btn-bottom a,#fts-social-bar-icons-wrap .instagram-social-btn-top a{color:#FFF!important;font-weight:100!important;display:inline-block;text-decoration:none!important}#fts-social-bar-icons-wrap .instagram-social-btn-top a:hover{color:#FFF!important}.instagram-social-btn-bottom a,.instagram-social-btn-top a{color:#FFF!important;font-weight:100!important;display:inline-block;text-decoration:none!important}.instagram-social-btn-bottom a:hover,.instagram-social-btn-top a:hover{color:#FFF;font-weight:100!important}.instagram-social-btn-bottom:before,.instagram-social-btn-top:before{font-family:FontAwesomeSlick;content:"\f16d ";display:inline-block;margin-right:6px;font-size:16px!important;-webkit-font-smoothing:antialiased}.fts-pinterest-boards-wrap *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fts-fb-slideshow,.fts-fb-slideshow *,.fts-yt-videolist *{box-sizing:border-box}.fts-pinterest-wrapper{text-align:center;margin:auto;position:relative}a.fts-pin-board-wrap:link{text-decoration:none!important;border-bottom:0}a.fts-pin-board-wrap{border-radius:10px!important;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out;-moz-border-radius:6px;-ms-border-radius:6px;-o-border-radius:6px;-moz-box-shadow:0 1px 3px 0 rgba(0,0,0,.33);display:inline-block;text-decoration:none;padding:10px 9px 10px 10px;margin:8px 8px 0;text-align:left}a.fts-pin-board-wrap:hover{background:#fff;border-radius:10px}.fts-pin-board-wrap .label,.fts-single-pin-description a,.fts-single-pin-pinned-to-wrap{text-decoration:none!important}h3.fts-pin-board-board_title,h3.fts-pin-board-board_title span{-webkit-font-smoothing:antialiased!important;display:block!important}.fts-pin-board-wrap:hover .hoverMask,.pinterest-single-thumb-wrap:hover .hoverMask{background:rgba(255,255,255,.1)}h3.fts-pin-board-board_title{width:210px;color:#555!important;font-size:16px!important;font-weight:700!important;margin:7px 0 5px 7px!important;padding:0!important;position:relative!important;font-family:"Helvetica Neue",arial,sans-serif!important;line-height:15px!important;clear:both}div.fts-pin-board-img-wrap,div.pinterest-single-thumb-wrap{background-size:cover;background-position:center center;background-repeat:no-repeat;position:relative;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px}h3.fts-pin-board-board_title span{white-space:nowrap!important;overflow:hidden!important;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis;text-transform:capitalize}a.fts-pin-board-wrap{-webkit-border-radius:0;overflow:hidden}div.fts-pin-board-img-wrap{vertical-align:top;border-radius:10px 10px 0 0!important;overflow:hidden;clear:both;height:115px;-moz-box-shadow:0 0 3px rgba(0,0,0,.33) inset}.fts-pin-board-thumbs-wrap div:last-child{margin-right:0;border-bottom-right-radius:10px!important;border-bottom-left-radius:0!important}.fts-pin-board-wrap{max-width:254px;width:100%}.fts-pin-board-thumbs-wrap{min-height:50px}div.pinterest-single-thumb-wrap{margin-right:2px;margin-top:2px;height:108px!important;border-bottom-left-radius:10px!important;width:49.58%;display:inline-block}.fts-pin-board-img-wrap .hoverMask,.pinterest-single-thumb-wrap .hoverMask{-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 0 3px rgba(0,0,0,.33) inset;-moz-box-shadow:0 0 3px rgba(0,0,0,.33) inset;box-shadow:0 0 3px rgba(0,0,0,.33) inset;bottom:0;left:0;position:absolute;right:0;top:0}.fts-pin-board-wrap .fts-pin-board-pin-count{-webkit-font-smoothing:antialiased;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;-o-border-radius:2px;border-radius:2px;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2),0 1px 0 rgba(255,255,255,.3);-moz-box-shadow:inset 0 0 5px rgba(0,0,0,.2),0 1px 0 rgba(255,255,255,.3);box-shadow:inset 0 0 5px rgba(0,0,0,.2),0 1px 0 rgba(255,255,255,.3);text-shadow:0 -1px 0 rgba(0,0,0,.7);background-color:#000;background-color:rgba(68,68,68,.7);bottom:3px;color:#fff;padding:0 6px;position:absolute;left:3px;font-family:"Helvetica Neue",arial,sans-serif!important;font-size:12px!important;font-weight:700;line-height:21px}.fts-pin-board-pin-count:before{content:'';width:7px;height:9px;background:url(../images/pinterest-icons.png) -137px -87px no-repeat;display:inline-block;margin-right:3px}.fts-pin-board-wrap .label{font-weight:700;text-align:left!important;line-height:1.1em!important;white-space:nowrap;display:inline-block;position:relative;margin-bottom:inherit;padding:0!important;font-size:.7875rem;background:0 0!important;color:#fff}.widget .fts-pin-board-thumbs-wrap,.widget h3.fts-pin-board-board_title{display:none!important}.widget div.fts-pin-board-img-wrap{position:relative;overflow:hidden;clear:both;min-height:100px;height:auto;width:auto;border-radius:10px!important}.widget a.fts-pin-board-wrap{width:40%;padding:6px;margin:4px 4px 0!important;border-radius:1px!important}.widget div.fts-pin-board-img-wrap{-webkit-box-shadow:0 0 1px rgba(0,0,0,.11) inset!important;-moz-box-shadow:0 0 1px rgba(0,0,0,.11) inset;box-shadow:0 0 0 transparent inset!important;margin-bottom:0}.pinterest-single-thumb-wrap .hoverMask,.widget .fts-pin-board-img-wrap .hoverMask{-webkit-box-shadow:0 0 0 rgba(0,0,0,.33) inset;-moz-box-shadow:0 0 0 rgba(0,0,0,.33) inset;box-shadow:0 0 0 rgba(0,0,0,.33) inset}.fts-single-pin-wrap{background:#FFF;-webkit-box-shadow:0 1px 2px 0 rgba(0,0,0,.22);box-shadow:0 1px 2px 0 rgba(0,0,0,.22);border-radius:6px;width:236px!important;margin:14px 7px 0;border:none!important;text-align:left;overflow:hidden}.fts-single-pin-description{margin:10px 15px;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333;font-size:13px;line-height:17px;word-wrap:break-word}.fts-single-pin-img-wrap img{-webkit-border-top-left-radius:6px;-webkit-border-top-right-radius:6px;-moz-border-radius-topleft:6px;-moz-border-radius-topright:6px;border-top-left-radius:6px;border-top-right-radius:6px;max-width:100%}.fts-single-pin-social-meta-wrap{font-family:Helvetica,sans-serif;font-size:11px;color:#999;font-style:normal;font-weight:400;-webkit-font-smoothing:antialiased;margin:-13px 10px 7px 15px}.fts-single-pin-social-meta-wrap .fts-single-pin-repin-count{margin:10px 12px 0 0;display:inline-block;font-size:13px}.fts-single-pin-social-meta-wrap .fts-single-pin-repin-count:before{font-family:FontAwesomeSlick;margin-right:5px;font-size:12px!important;content:"\f08d"}.fts-single-pin-social-meta-wrap .fts-single-pin-like-count{font-size:13px!important}.fts-single-pin-social-meta-wrap .fts-single-pin-like-count:before{font-family:FontAwesomeSlick;content:"\f086"!important;margin-right:5px;font-size:13px!important}.fts-single-pin-pinned-to-title,.fts-single-pin-pinned-to-wrap{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:block;overflow:hidden}.fts-single-pin-pinned-to-wrap{line-height:15px;padding:10px;border-radius:0 0 6px 6px;border:none!important;border-top:1px solid #e7e7e7!important}.fts-single-pin-pinned-to-wrap:hover{background:#eee;cursor:pointer}.fts-single-pin-pinned-to-wrap div{color:#999;display:block;font-weight:700;font-size:11px;font-family:Helvetica,sans-serif}.fts-single-pin-pinned-to-text{color:#999}div.fts-single-pin-pinned-to-title{color:#717171}.fts-single-pin-pinned-to-wrap img{position:relative;border-radius:2px;height:30px;margin-right:5px;width:30px;float:left}.fts-single-pin-pinned-to-title{border-radius:0 0 6px 6px}.fts-single-attribution-wrap{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis;font-family:Helvetica,sans-serif;color:#666;margin:-2px 0 5px 15px!important;font-size:11px;display:block;border:none!important;line-height:1.6471}.fts-yt-vids-in-row1 .fts-yt-videolist ul li:first-child,.fts-yt-vids-in-row1 li .entriestitle{display:none}.fts-yt-vids-in-row3 li .entriestitle,.fts-yt-vids-in-row4 li .entriestitle{font-size:85%!important;line-height:100%!important}.fts-single-attribution-wrap img{height:16px;margin-right:5px;position:relative;width:16px;float:left}.pinterest-social-btn-top{margin-bottom:0;text-align:center}.widget .pinterest-social-btn-top{margin-bottom:5px;text-align:center}.pinterest-social-btn-bottom{margin-top:5px;text-align:center}.fts-yt-videolist iframe{width:100%}.fts-yt-vids-in-row1 div.fts-yt-videolist p{padding-bottom:25px;clear:both}.fts-yt-first-video p{margin:10px 10px 25px!important}.fts-yt-videolist ul,.fts-yt-vids-in-row1 ul li{margin:0!important;padding:0!important}#secondary .front-widgets .fts-yt-large iframe{height:100%!important;max-height:300px!important;min-height:300px!important}.widget .fts-yt-videolist ul li{margin-bottom:0!important;list-style:none!important}.fts-yt-videolist ul{width:100%!important}.fts-yt-videolist ul li{list-style:none!important}.fts-yt-vids-in-row1 li{width:100%!important;margin-bottom:5%}.fts-yt-vids-in-row2 li,.fts-yt-vids-in-row3 li,.fts-yt-vids-in-row4 li{float:left;border:none;position:relative;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;padding:1%!important;margin:0!important}.fts-yt-vids-in-row1 li iframe{width:100%}.fts-yt-vids-in-row2 li{width:50%!important}.fts-yt-vids-in-row3 li{width:33.3%!important}.fts-yt-vids-in-row4 li{width:25%!important}.fts-yt-vids-in-row2 li .entriestitle,.fts-yt-vids-in-row3 li .entriestitle,.fts-yt-vids-in-row4 li .entriestitle{padding:0 5px;position:absolute;left:0;top:20%;opacity:0;width:87.5%;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.fts-yt-vids-in-row2 li:hover .entriestitle,.fts-yt-vids-in-row3 li:hover .entriestitle,.fts-yt-vids-in-row4 li:hover .entriestitle{background:#000;border-radius:0;color:#FFF;padding:5% 6%;opacity:.9;z-index:100;right:0;line-height:18px;font-size:90%;font-weight:700;box-shadow:0 4px 8px #333;display:block}.fts-yt-vids-in-row2 li:hover,.fts-yt-vids-in-row3 li:hover,.fts-yt-vids-in-row4 li:hover{background-color:rgba(0,0,0,.9);box-shadow:0 1px 10px #333;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.fts-yt-overlay-wrap{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;z-index:-1!important;background-color:rgba(0,0,0,.75);text-align:center;-webkit-transition:opacity .2s ease-out;-moz-transition:opacity .2s ease-out;transition:opacity .2s ease-out;pointer-events:none;box-shadow:0 2px 500px #000}body .fts-yt-overlay-wrap.fts-yt-target{display:block;opacity:1;z-index:9999999!important;-webkit-transition:opacity .5s ease-in;-moz-transition:opacity .5 ss ease-in;transition:opacity .5s ease-in;pointer-events:auto}.fts-fb-video-icon,.fts-watermark-inside{pointer-events:none}.fts-yt-overlay{max-width:775px;opacity:1;z-index:300;position:absolute;top:0;bottom:0;right:0;left:0;max-height:472px;padding:10px;background:#444;margin:auto!important;box-shadow:0 2px 200px #000}.fts-yt-overlay-wrap iframe{margin:0;min-height:343px;background:#000!important;margin-bottom:0!important}.fts-yt-popup-close{display:block;position:absolute;top:-19px;right:0;background:#444;color:#FFF!important;text-decoration:none;font-size:85%;font-family:verdana;font-weight:400;padding:.5% 2.5% 0;line-height:20px}.widget .fts-yt-first-video p{font-size:12px!important;margin-bottom:10px!important;margin-top:5px}.widget .fts-yt-videolist li{margin:0!important;line-height:0!important}.widget .fts-yt-videolist ul{padding-bottom:15px!important;float:left}.fts-yt-vids-in-row1 ul li iframe{margin-bottom:12px!important}@media only screen and (max-width:775px){.fts-yt-overlay{background:0 0;box-shadow:0 0 0 #000}.fts-yt-popup-close{background:0 0}}.widget .fts-yt-large .fts-yt-first-video iframe,.widget .fts-yt-vids-in-row1 li iframe{width:100%;height:0!important;min-height:100%!important;max-height:160px!important;padding:0}.fts-fluid-videoWrapper{position:relative;padding-bottom:56.25%;padding-top:25px;height:0}.fts-fluid-videoWrapper iframe{position:absolute;top:0;left:0;width:100%;height:100%;min-height:100%;background:#000;border:none}.fts-fluid-videoWrapper video{background:#000}.fts-jal-fb-vid-wrap{margin-top:10px;border-radius:0;-webkit-transition:background 2s;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.fts-jal-fb-vid-wrap iframe,.widget .fts-jal-fb-vid-wrap iframe{width:100%;margin:0!important;padding:0!important}.fts-vine-thumbnail .fts-vine-logo:before,.fts-vine-thumbnail-cover,.popup-video-gallery-fb span.fts-fb-video-icon:before{-webkit-transition:all .5s ease-out 0;-moz-transition:all .5s ease-out 0;-o-transition:all .5s ease-out 0;-webkit-font-smoothing:antialiased}.widget .fts-jal-fb-vid-wrap iframe{height:50%}.fts-yt-first-video h2{margin:0 0 7px!important}.youtube-social-btn-top{margin:0 0 5px!important}.youtube-social-btn-bottom{padding:10px 0 0 6px;clear:both}@keyframes fade{from,to{opacity:1}50%{opacity:.5}}@-webkit-keyframes fade{from,to{opacity:1}50%{opacity:.5}}.fts-vine-wrapper{text-align:center}.fts-vine-video-wrap{text-align:left;display:inline-block;max-width:290px;vertical-align:top}.fts-vine-video-wrap a.fts-vine-author{display:block;margin:5px 0 0;padding:0}.fts-vine-white-popup .mfp-close{margin-top:-40px;font-size:35px;margin-right:-10px;color:#FFF!important}.fts-vine-white-popup{position:relative;background:#FFF;padding:20px;width:auto;max-width:640px;margin:30px auto}.fts-iframe-vine{padding-top:262px}.fts-vine-author{font-size:18px;line-height:24px}.fts-vine-text{font-size:13px;line-height:18px;padding:0 15px 15px 0}.fts-vine-thumbnail{display:block;position:relative;background:0 0!important}.fts-vine-thumbnail-cover{position:absolute;z-index:100;left:0;top:0;width:100%;height:100%;opacity:0;display:inline-block;cursor:pointer}.fts-vine-logo{font-size:27px}.fts-vine-thumbnail .fts-vine-logo:before,.popup-video-gallery-fb span.fts-fb-video-icon:before{font-family:FontAwesomeSlick;font-size:100%}.fts-vine-thumbnail .fts-vine-logo:before{content:"\f1ca"!important;display:inline-block;position:absolute;z-index:200;right:12px;top:5px;line-height:1.5;color:#00bf8f}.fts-vine-thumbnail-cover:hover{opacity:.3;background:#000}.fts-vine-thumbnail:hover .fts-vine-logo:before{color:#FFF;text-shadow:2px 1px #555;-webkit-animation:wiggle .5s ease;animation:wiggle .5s ease}@-webkit-keyframes wiggle{0%,100%,40%{-webkit-transform:rotate(0);transform:rotate(0)}60%{-webkit-transform:rotate(-30deg);transform:rotate(-30deg)}80%{-webkit-transform:rotate(30deg);transform:rotate(30deg)}}@keyframes wiggle{0%,100%,40%{-webkit-transform:rotate(0);transform:rotate(0)}60%{-webkit-transform:rotate(-30deg);transform:rotate(-30deg)}80%{-webkit-transform:rotate(30deg);transform:rotate(30deg)}}@media only screen and (max-device-width:736px){.fts-iframe-vine{padding-bottom:14%!important}.fts-vine-white-popup{padding:0}}.post-5593 .entry-content{text-align:center}.fts-fb-video-popup{position:relative;background:0 0;padding:20px 60px;width:auto;max-width:1400px;margin:30px auto}.fts-fb-video-popup .mfp-close{color:#FFF!important;right:47px!important;top:-19px!important}@media only screen and (min-device-width:375px) and (max-device-width:667px){.fts-fb-video-popup{padding:20px!important}.fts-fb-video-popup .mfp-close{right:5px!important}}@media only screen and (min-device-width:414px) and (max-device-width:736px){.fts-fb-video-popup{padding:20px!important}.fts-fb-video-popup .mfp-close{right:5px!important}}@media only screen and (min-device-width:768px) and (max-device-width:1024px){.fts-fb-video-popup video{min-height:400px}.fts-fb-video-popup{padding:10px!important}.fts-fb-video-popup .mfp-close{right:-2px!important;top:-25px!important}}@media only screen and (min-device-width:768px) and (max-device-width:1024px) and (orientation:landscape){.fts-fb-video-popup video{min-height:600px}}.fts-view-fb-videos-largeeee:before{content:"";display:inline-block;margin-right:6px;-webkit-font-smoothing:antialiased;background:url(../images/fb-play-btn.png);height:80px;width:80px}.fts-fb-photo-post-wrap:hover a.fts-slicker-backg{opacity:1;outline:0!important;color:#FFF}.popup-video-gallery-fb span.fts-fb-video-icon:before{content:"\f144"!important;display:inline-block!important;opacity:.5!important;color:#FFF;outline:0!important}.popup-video-gallery-fb span.fts-fb-video-icon:hover:before{opacity:.8!important;color:#FFF}.popup-video-gallery-fb a.visible-video-button{opacity:9!important;outline:0!important;z-index:1500}.popup-video-gallery-fb .fts-fb-load-more{max-width:340px;margin:20px auto}.fts-fb-social-btn-center,.popup-video-gallery-align-center{text-align:center;font-size:0}.fts-fb-social-btn-right,.popup-video-gallery-align-right{text-align:right}.fts-fb-social-btn-left,.popup-video-gallery-align-left{text-align:left}.cycle-slideshow .fts-jal-fb-picture{max-width:100%!important}.popup-video-gallery-fb .fts-fb-photo-post-wrap{vertical-align:top!important;display:inline-block!important;float:none;text-align:left;border-radius:0;max-width:100%;max-height:100%;box-sizing:border-box}.popup-video-gallery-fb .fts-fb-photo-post-wrap .fts-jal-fb-user-name{padding-top:0!important}.fts-review-star,.fts-reviews-star{background:#4791FF;color:#FFF;font-weight:400;padding:2px 12px;border-radius:15px}.fts-review-details-master-wrap .fts-review-star{background:#4791FF;color:#FFF;font-weight:400;padding:11px 12px 9px 17px;border-radius:30px;margin:0 12px 0 0;font-size:20px;float:left;vertical-align:top;line-height:22px}.fts-review-star{font-size:13px;margin-left:5px;font-style:normal;white-space:nowrap}.fts-review-star a{background:#4791FF;color:#FFF}.fts-reviews-feed .fts-jal-fb-post-time{padding-top:10px!important}.fts-review-star:after{content:"";font-size:14px}.fts-reviews-feed .fts-jal-fb-message{margin-top:5px}.fts-reviews-feed .fts-jal-fb-user-name{margin-top:0;font-size:14px}.fts-jal-fb-vid-picture .fts-fluid-videoWrapper-html5{display:none}.fts-fluid-videoWrapper .fluid-width-video-wrapper{position:initial}.fts-jal-fb-user-thumb img{width:50px;max-width:100%}.fts-jal-fb-description p{line-height:17px!important;white-space:normal!important}.fts-checked-in-text-link{display:inline-block;padding-bottom:0}.fts-checked-in-img{float:left;margin-right:10px;max-width:160px}.fts-checked-in-get-directions{margin-top:5px}.fts-instagram-fade .mfp-title,.fts-instagram-fade .mfp-title a{font-size:13px}.fts-fluid-videoWrapper-html5{margin-top:10px;width:100%}.fts-fb-slideshow.slideshow .fts-fb-photo-post-wrap{position:relative!important;float:none;display:inline-block}.fts-fb-slideshow{width:100%;padding:0;overflow:hidden}.fts-fb-slideshow>a{position:absolute;top:0;left:0;width:100%;padding:0;background-color:#222;display:block}.fts-fb-slideshow>a>img{width:100%;position:static;display:block}.fts-fb-slideshow>div{position:absolute;top:0;left:0;padding:0}.composite-example>div{background:#fff}.composite-example>div>img{display:block}.composite-example>div .cycle-overlay{color:#fff;background:#000;opacity:.6;filter:alpha(opacity=60);position:absolute;bottom:0;width:100%;padding:0}.fts-slider-center{text-align:center;padding:2px 0;background:#171717;position:relative;display:block;min-height:35px;font-size:15px;line-height:30px}.fts-slider-center span{display:inline-block;position:absolute;-webkit-text-size-adjust:none}.fts-cycle-slide p{margin:0;padding:0}.fts-prevControl-icon:before{content:'\f0a8';font-family:FontAwesomeSlick!important;font-size:24px}.fts-custom-caption{text-align:center;position:absolute;width:100%;left:0;top:2px;font-size:13px!important;line-height:30px;font-weight:700;z-index:0;letter-spacing:1px}.fts-nextControl-icon:before{font-size:24px;content:'\f0a9';font-family:FontAwesomeSlick!important}.fts-prevControl-icon{left:8px;z-index:1;cursor:pointer}.fts-nextControl-icon{right:7px;z-index:1;cursor:pointer}.fts-nextControl-icon:hover,.fts-prevControl-icon:hover{opacity:.8!important}.fb-social-btn-top{width:100%!important;overflow:hidden}.fts-instagram-fade.mfp-ready .mfp-figure{opacity:1!important}.page-id-6026 #main-header{display:none}.page-id-6026 #page-container{padding-top:0!important}.page-id-6026 .container{margin:0 auto!important;max-width:100%!important;width:100%!important}.fts-slider-icons-center{display:block;line-height:30px}.fts-pager-option{top:10px;position:relative}.fts-pager-option-top{bottom:0;position:relative;top:5px}.fts-pager-option,.fts-pager-option-top{text-align:center;width:100%;z-index:500;display:block}.fts-pager-option span{font-size:47px;width:15px;height:15px;line-height:10px;display:inline-block}.fts-pager-option span.cycle-pager-active,.fts-pager-option span:hover{opacity:.5}.fts-pager-option>*{cursor:pointer}.fts-fb-vid-popup .mfp-iframe-holder .mfp-close,.fts-fb-vid-popup .mfp-inline-holder .mfp-close{top:-50px!important;font-size:54px!important;font-weight:100;font-family:inherit}.fts-facebook-popup.mfp-bg,.fts-vine-vid-popup.mfp-bg{opacity:0;-webkit-transition:all .15s ease-out;-moz-transition:all .15s ease-out;transition:all .15s ease-out}.fts-facebook-popup.mfp-bg.mfp-ready{opacity:.8;z-index:99999990}.fts-facebook-popup.mfp-bg.mfp-removing{opacity:0}.fts-facebook-popup.mfp-wrap .mfp-content{opacity:0;-webkit-transition:all .15s ease-out;-moz-transition:all .15s ease-out;transition:all .15s ease-out}.fts-facebook-popup.mfp-wrap.mfp-ready .mfp-content{opacity:1}.fts-facebook-popup.mfp-wrap.mfp-removing .mfp-content{opacity:0}.fts-facebook-popup .mfp-close{left:0!important;margin-left:4px!important;background:0 0!important;cursor:zoom-out!important;border:none!important;box-shadow:none!important;font-size:27px!important;font-family:'Open Sans',Arial,sans-serif!important;font-weight:600!important;top:-42px!important;opacity:.5!important}.fts-facebook-popup .mfp-close:before{display:none!important}.fts-facebook-popup .mfp-iframe-holder .mfp-content,.fts-facebook-popup .mfp-inline-holder .mfp-content{max-width:1400px}.fts-facebook-popup .mfp-iframe-scaler iframe,.fts-facebook-popup .mfp-iframe-scaler video{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:none!important;background:#000;right:0;margin:auto}.fts-facebook-popup .mfp-title{padding:20px;background:rgba(255,255,255,.11);margin-top:21px}.fts-facebook-popup .fts-popup-wrap{max-width:1400px;margin:0 auto;padding:0;vertical-align:middle;width:100%;position:relative}.fts-facebook-popup .fts-popup-half{width:75%;float:left;background:#000;text-align:center;vertical-align:middle;height:100%;position:relative;z-index:88888888}.fts-facebook-popup .fts-popup-second-half{height:100%;width:25%;position:relative;float:left}.fts-facebook-popup .fts-popup-second-half .mfp-bottom-bar{margin:0;position:absolute!important;top:0;right:0;width:100%;cursor:auto;color:#000;overflow:auto}.fts-facebook-popup .fts-popup-wrap img.mfp-img{width:auto;max-width:100%;display:initial;line-height:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0;margin:0;vertical-align:middle}.fts-facebook-popup .fts-popup-wrap .mfp-counter{position:relative;bottom:0;text-align:right;right:10px;color:#c1c1c1!important;font-size:12px;line-height:18px;white-space:nowrap;display:inline-block;float:right;top:initial;margin:5px 0}.fts-facebook-popup .fts-position-helper{display:inline-block;height:100%;vertical-align:middle}.fts-facebook-popup .fts-popup-image-position{min-height:527px;width:100%;background:#000;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-user-select:none}.fts-facebook-popup .fts-popup-wrap .mfp-title{padding:0;background:rgba(255,255,255,.11);margin:0}.fts-facebook-popup .fts-popup-second-half .mfp-title a{color:#0f6fad;text-decoration:none!important}.fts-youtube-popup .fts-popup-second-half .mfp-title a{color:#0f6fad!important}.fts-facebook-popup .mfp-figure:after{content:'';position:absolute;left:0;top:0;bottom:0;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6);background:#FFF}.fts-facebook-popup .fts-popup-wrap .mfp-title p,.fts-instagram-caption-content .fts-popup-wrap .mfp-title p{color:#000!important;margin:0 0 10px!important;padding:0!important}.fts-facebook-popup .mfp-image-holder .mfp-content{max-width:1400px;width:100%}.fts-facebook-popup .fts-jal-fb-user-name{font-size:14px;margin-top:20px;padding-left:82px;display:block;padding-right:15px}.fts-facebook-popup .fts-fb-caption,.fts-facebook-popup .fts-non-popup-text,.hide-date-likes-comments-etc{display:none!important}.fts-facebook-popup .fts-jal-fb-post-time{padding-left:82px}.fts-facebook-popup .fts-instagram-caption-content,.fts-facebook-popup .fts-jal-fb-message{padding:20px 20px 0}.fts-facebook-popup .fts-fb-caption a{font-size:13px}.fts-facebook-popup i:before{margin-left:0!important;font-style:normal!important;font-size:15px!important}.fts-facebook-popup .icon-file:before{font-size:15px!important}#fts-photo-next:hover:after,#fts-photo-prev:hover:after,.fts-popup-half:hover #fts-photo-next:after,.fts-popup-half:hover #fts-photo-prev:after{opacity:1!important;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}#fts-photo-next:after,#fts-photo-prev:after{font-family:FontAwesomeSlick;font-size:58px!important;font-weight:100;opacity:0;color:#FFF;border:none!important;margin-top:-20px!important}#fts-photo-next:after{content:"\f105"}#fts-photo-prev:after{content:"\f104"}.fts-facebook-popup .mfp-arrow{background:0 0!important;width:48px!important;height:28px!important;line-height:normal!important;margin:-32px 0!important}.fts-facebook-popup .mfp-arrow:after{margin:0!important;top:0!important;border:none!important;width:48px!important;height:24px!important}.twitter-followers-fts.fts-tweets-first,.twitter-followers-fts:hover{border-bottom:4px solid #1b95e0!important}.fts-facebook-popup .mfp-arrow-left{left:5px!important}.fts-facebook-popup .mfp-arrow-right{right:5px!important}.fts-facebook-popup .fts-jal-fb-description.fts-jal-fb-description-popup,.fts-facebook-popup .hide-date-likes-comments-etc{display:inline-block!important}.fts-facebook-popup .mfp-arrow:before,.fts-iframe-popup-element,.fts-video-popup-element{display:none}.fts-jal-fb-description-popup{color:#444}.fts-facebook-popup .fts-jal-fb-description-wrap{max-height:300px;overflow:auto;max-width:100%;padding-left:20px!important;width:100%}.fts-facebook-popup *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}body .fts-facebook-popup a.fts-powered-by-text{margin:2px 20px!important;text-align:left!important;float:left!important;font-size:12px;color:#c1c1c1!important;width:auto!important;font-weight:400!important;line-height:18px!important}.fts-powered-by-text-popup a.fts-powered-by-text{display:block!important}.fts-facebook-popup .mfp-iframe-holder .mfp-bottom-bar,.fts-facebook-popup .mfp-inline-holder .mfp-bottom-bar{overflow:auto}.fts-fb-comments-content{float:left;width:100%;max-width:100%;background:#f6f7f9;padding:0 20px 20px}.fts-facebook-popup .fts-fb-location-title{font-size:15px;display:block;padding:0;font-weight:700;font-style:normal;margin:12px 0 0;color:#333}.ft-gallery-share-wrap .fa,.fts-share-wrap i{font-style:normal!important}.fts-facebook-popup .fts-instagram-caption-content,.fts-facebook-popup .fts-jal-fb-message{clear:both;font-size:15px;color:#333}.fts-facebook-popup .fts-fb-get-directions{font-size:15px;display:inline-block;padding:0 0 20px;color:#4595f0!important}.fts-facebook-popup .fts-fb-ticket-info{color:#4595f0!important}.fts-event-title-wrap{font-size:24px;line-height:24px}.fts-fb-comments-wrap{display:none!important}.fts-fb-comment{clear:both;float:left;width:100%;color:#222;margin:0;padding:15px 0 0;font-size:13px}.fts-fb-comment-user-pic{float:left;width:32px;height:32px;margin:0;border-radius:50px}.fts-fb-comment-msg{padding-left:42px;font-size:12px}.fts-fb-comment-user-name{font-weight:700;display:inline-block;font-size:12px}@media all and (max-width:900px){.fts-facebook-styles-popup .fts-popup-half,.fts-facebook-styles-popup .fts-popup-second-half{height:100%;width:100%;position:relative;float:none}.fts-facebook-styles-popup .fts-popup-half{background:#000;text-align:center;vertical-align:middle;z-index:500}.fts-facebook-styles-popup .mfp-bottom-bar{background:#FFF;padding-bottom:10px}.fts-facebook-styles-popup .mfp-iframe-holder .mfp-content,.fts-facebook-styles-popup .mfp-inline-holder .mfp-content{top:0}.fts-facebook-styles-popup .mfp-iframe-holder .fts-popup-image-position,.fts-facebook-styles-popup .mfp-inline-holder .fts-popup-image-position{height:auto!important}.fts-facebook-styles-popup .mfp-container{padding-top:40px;padding-bottom:0}.fts-facebook-styles-popup .mfp-container:before{display:none}.fts-popup-image-position{min-height:50px!important}.fts-facebook-styles-popup .fts-popup-second-half .mfp-bottom-bar{height:auto!important;overflow:visible!important}}@media all and (max-width:640px){.fts-instagram-styles-popup .fts-popup-half,.fts-instagram-styles-popup .fts-popup-second-half{height:100%;width:100%!important;position:relative;float:none}.fts-instagram-styles-popup .fts-popup-half{background:#fff;text-align:center;vertical-align:middle;z-index:500}.fts-instagram-styles-popup .mfp-bottom-bar{background:#FFF;padding-bottom:10px}.fts-instagram-styles-popup .mfp-iframe-holder .mfp-content,.fts-instagram-styles-popup .mfp-inline-holder .mfp-content{top:0}.fts-instagram-styles-popup .mfp-iframe-holder .fts-popup-image-position{height:auto!important}.fts-instagram-styles-popup .mfp-container{padding-top:40px;padding-bottom:0}.fts-instagram-styles-popup .mfp-container:before{display:none}.fts-popup-image-position{min-height:50px!important}.fts-instagram-styles-popup .fts-popup-second-half .mfp-bottom-bar{height:auto!important;overflow:visible!important}}@media all and (min-width:1900px){.fts-facebook-popup .fts-popup-second-half.fts-instagram-popup-second-half{float:left!important}.fts-facebook-popup .fts-popup-second-half{height:100%;width:100%;position:relative;float:left}.fts-facebook-popup .fts-popup-half{background:#000;text-align:center;vertical-align:middle;z-index:500;width:100%}.fts-facebook-popup .mfp-bottom-bar{background:#FFF;padding-bottom:10px}.fts-facebook-popup .mfp-iframe-holder .mfp-content,.fts-facebook-popup .mfp-inline-holder .mfp-content{top:0}.fts-facebook-popup .mfp-iframe-holder .fts-popup-image-position,.fts-facebook-popup .mfp-inline-holder .fts-popup-image-position{height:auto!important}.fts-facebook-popup .mfp-container{padding-top:40px;padding-bottom:0}.fts-facebook-popup .mfp-container:before{display:none}.fts-popup-image-position{min-height:50px!important}.fts-facebook-popup .fts-popup-second-half .mfp-bottom-bar{height:auto!important;overflow:visible!important;min-height:auto!important}}.fts-twitter-backg-image,.fts-twitter-backg-image img{margin:0!important;padding:0!important;position:relative;z-index:99}.fts-instagram .image-overlay,.fts-instagram .image-overlay-inside,.fts-instagram .image-overlay.overlay-type-extern,.fts-jal-fb-group-display .image-overlay-inside,.fts-jal-single-fb-post .image-overlay,.fts-jal-single-fb-post .image-overlay-inside,.fts-jal-single-fb-post .image-overlay.overlay-type-extern,.fts-mashup .image-overlay,.fts-mashup .image-overlay.overlay-type-extern,.fts-pinterest-wrapper .image-overlay,.fts-pinterest-wrapper .image-overlay-inside,.fts-pinterest-wrapper .image-overlay.overlay-type-extern,.fts-profile-pic a .image-overlay,.fts-profile-pic a .image-overlay-inside,.fts-profile-pic a .image-overlay.overlay-type-extern,.fts-slicker-facebook-photos .image-overlay,.fts-slicker-facebook-photos .image-overlay-inside,.fts-slicker-facebook-photos .image-overlay.overlay-type-extern,.fts-tweeter-wrap .image-overlay,.fts-tweeter-wrap .image-overlay-inside,.fts-tweeter-wrap .image-overlay.overlay-type-extern,.fts-vine-content .image-overlay,.fts-vine-content .image-overlay-inside,.fts-vine-content .image-overlay.overlay-type-extern,.fts-yt-videolist .image-overlay,.fts-yt-videolist .image-overlay-inside,.fts-yt-videolist .image-overlay.overlay-type-extern{display:none!important}.fts-facebook-popup.mfp-ready .mfp-figure{opacity:1}ul.fts-sidebar-menu ul.fts-social-bar-icons-wrap ul li{margin:0!important}.fts-instagram-inline-block-centered{text-align:center;font-size:0;margin:auto}#facebook-sidebar .fts-fb-comments-wrap{display:none}.fts-twitter-backg-image img{display:block!important;width:100%}.fts-twitter-backg-image .twitter-social-btn-top{position:absolute!important;bottom:5px;left:10px;z-index:100}.fts-twitter-followers-wrap{background:#FFF;padding:1px 5px 0 0;margin-bottom:10px;text-align:center;color:#1b95e0!important}.twitter-followers-fts{text-align:center;display:inline-block;padding:5px 15px;font-size:18px;font-weight:600!important}.twitter-followers-fts a,.twitter-followers-fts-singular a{font-weight:400!important;letter-spacing:.02em;text-transform:uppercase}.twitter-followers-fts a{display:block;color:#66757f!important;font-size:11px;transition:color .15s ease-in-out}.twitter-followers-fts:hover{transition:border .15s ease-in-out}.fts-tweets-first,.fts-tweets-first a,.twitter-followers-fts:hover a{color:#1b95e0!important}.fts-tweet-others-right{margin-left:65px}.fts-tweet-reply-left{float:left;display:inline-block}.fts-twitter-reply-wrap a{color:rgba(144,147,148,.71)}body .fts-twitter-favorites-wrap:hover{color:#c32525!important}.fts-twitter-favorites-wrap{margin-left:20px}body .fts-twitter-reply-wrap.fts-twitter-full-width{margin-left:0!important;margin-top:0}.twitter-followers-fts-singular{font-size:15px;padding:5px 0 0}.twitter-followers-fts-singular a{color:#66757f!important;font-size:11px}.twitter-social-btn-top a,.twitter-social-btn-top iframe{color:#fff!important}@media (max-width:400px){.twitter-followers-fts{padding:5px 10px;font-size:15px!important;font-weight:500!important}}.fts-twitter-full-name{font-size:14px!important}a.fts-twitter-at-name{font-size:12px!important;color:#999!important;font-weight:400!important}.fts-profile-wrap{clear:both;display:block}.fts-clear{clear:both}.fts-profile-pic{float:left;margin:0 25px 20px 0;max-width:125px}.fts-profile-pic a:hover{opacity:.8}.fts-isnta-full-name{padding:0 0 10px;float:left;margin:4px 20px 0 0}.fts-profile-name-wrap .fts-follow-header-wrap{font-size:14px;display:inline-block;letter-spacing:0;padding:7px 10px;border-radius:4px;border:1px solid #5dba00;line-height:18px}.fts-profile-description{font-size:15px;line-height:22px}.fts-profile-name-wrap{font-size:32px;margin-bottom:18px;letter-spacing:2px;line-height:28px}.fts-profile-pic img{border-radius:50%;max-width:100%}.fts-profile-stats{margin:0 0 5px}.fts-profile-stats span{font-weight:700;display:inline-block}.fts-profile-stats div{font-size:15px;display:inline-block;margin-right:20px;margin-bottom:10px}.fts-profile-wrap{max-width:630px;margin:auto;padding:0 0 20px}.fts-facebook-popup .fts-instagram-caption-content a{color:#003569!important}.fts-facebook-popup a.ft-gallery-link-popup,.fts-facebook-popup a.fts-jal-fb-see-more{font-size:12px;text-align:right;margin-top:15px;border-top:1px solid #eee;border-bottom:1px solid #eee;padding:13px 20px 11px 40px;background:#f6f7f9;display:block!important;width:100%!important}.fts-instagram-popup-profile-wrap{display:none}.fts-facebook-popup.fts-instagram-styles-popup .fts-profile-pic{display:block;padding:15px 10px 0 15px;margin:0}.fts-facebook-popup.fts-instagram-styles-popup .fts-profile-pic img{display:block;width:40px}.fts-facebook-popup.fts-instagram-styles-popup .fts-isnta-full-name{font-size:17px;letter-spacing:normal;color:#333}.fts-facebook-popup.fts-instagram-styles-popup .fts-profile-name-wrap{padding-top:15px}.fts-follow-header-wrap{margin-right:15px;color:#5dba00}.fts-follow-header-wrap a{color:#5dba00!important}.fts-facebook-popup.fts-instagram-styles-popup .fts-insta-date-popup-grab{clear:both;text-align:right;margin:55px 15px -8px!important;color:#999;border-top:1px solid #eee;padding-top:12px;font-size:14px}.fts-facebook-popup.fts-instagram-styles-popup a.fts-view-on-instagram-link{margin:20px 15px 0;padding:10px 0!important;color:#9f9f9f!important}.fts-facebook-popup.fts-instagram-styles-popup .fts-view-on-instagram-link:before{font-size:15px;top:1px;position:relative;margin-left:5px}.fts-facebook-popup.fts-instagram-styles-popup .fts-follow-header-wrap{float:right;margin:0 15px 20px 0;color:#5dba00;font-size:12px}.fts-facebook-popup.fts-instagram-styles-popup .heart-comments-wrap,.fts-facebook-popup.fts-instagram-styles-popup .slicker-heart-comments-wrap{position:relative;color:#444!important;margin:0 0 0 15px!important;font-size:14px;width:auto!important;left:0}.fts-facebook-popup.fts-instagram-styles-popup .heart-comments-wrap li,.fts-facebook-popup.fts-instagram-styles-popup .slicker-heart-comments-wrap li{display:inline-block;margin-right:15px!important;margin-top:-5px!important;opacity:1}.fts-facebook-popup.fts-instagram-styles-popup .fts-comment-instagram:before{font-size:14px}.fts-facebook-popup.fts-instagram-styles-popup .fts-popup-half.fts-instagram-popup-half{width:64%}.fts-facebook-popup.fts-instagram-styles-popup .fts-popup-second-half.fts-instagram-popup-second-half{width:36%}.fts-facebook-popup.fts-instagram-styles-popup .fts-instagram-popup-half .fts-popup-image-position{min-height:auto!important}.fts-facebook-popup.fts-instagram-styles-popup .fts-popup-second-half .mfp-bottom-bar{margin:0;position:absolute!important;top:0;right:0;width:100%;cursor:auto;color:#000;overflow:auto;min-height:200px}.fts-facebook-popup.fts-instagram-styles-popup .mfp-iframe-holder .mfp-content,.fts-facebook-popup.fts-instagram-styles-popup .mfp-image-holder .mfp-content,.fts-facebook-popup.fts-instagram-styles-popup .mfp-inline-holder .mfp-content{max-width:1000px;width:100%}.fts-facebook-popup.fts-instagram-styles-popup .heart-comments-wrap{margin:-18px 0 0 15px!important}.fts-facebook-popup a.fts-view-on-instagram-link{font-size:12px;text-align:left;margin-top:15px;border-top:1px solid #eee;border-bottom:1px solid #eee;color:#555!important;padding:10px 20px;background:#FFF;display:block}.fts-mashup-post-wrap{padding:0!important;border-bottom:1px solid rgba(184,184,184,.3);line-height:17px;margin-bottom:10px;position:relative;display:inline-block;width:100%}.fts-mashup-type-name{clear:both;width:100%;display:block;background:#f7f7f7;margin-bottom:10px;box-shadow:1px 1px 0 #ddd}.fts-mashup-type-name span{display:block;padding:0 7px 3px 0;text-align:right;font-size:10px;color:#bfbfbf;line-height:14px}.fts-mashup-count-wrap{width:100%;clear:both;display:block;padding-top:12px;text-align:left;margin-bottom:6px;float:left}.fts-mashup-count-wrap a{display:inline-block;font-size:13px}.fts-mashup-count-wrap .fts-tweet-reply-left{float:none;display:inline-block}.fts-mashup-description-wrap{clear:both;padding-top:5px;line-height:18px}.fts-jal-fb-post-time{margin-bottom:8px}.twitter-video{min-width:200px!important}.fts-mashup .fts-mashup-image-and-video-wrap{margin-top:8px;position:relative;line-height:0}.fts-mashup-count-wrap .slicker-heart-comments-wrap{position:relative;top:inherit;bottom:inherit;margin:0!important}.fts-mashup-count-wrap .slicker-heart-comments-wrap li.slicker-instagram-image-likes{padding-left:0!important}.fts-mashup .fts-twitter-description-image{margin-top:0!important}.fts-mashup .fts-single-pin-social-meta-wrap{margin:0}.fts-mashup .fts-single-pin-social-meta-wrap span{margin-top:0;font-size:14px}.fts-mashup .fts-youtube-title{font-weight:700;font-size:12px;padding:8px 0 0;line-height:14px}.fts-mashup-post-wrap .fts-jal-single-fb-post{padding-top:0!important}.fts-mashup .fts-jal-single-fb-post{border-bottom:none}.fts-mashup .fts-jal-fb-picture,.fts-mashup .fts-jal-fb-vid-picture{margin-top:0}.fts-mashup .fts-jal-single-fb-post .fts-jal-fb-user-thumb a:before,.fts-mashup-instagram-icon a:before,.fts-mashup-pinterest-icon a:before,.fts-mashup-twitter-icon a:before,.fts-mashup-wp_gallery-icon a:before,.fts-mashup-youtube-icon a:before{font-family:FontAwesomeSlick;font-size:32px;font-weight:100!important}.fts-mashup-instagram-icon a:before{content:"\f16d";font-size:37px;top:2px;position:relative}.fts-mashup .fts-jal-single-fb-post .fts-jal-fb-user-thumb a:before{content:"\f09a";top:2px;position:relative;left:8px;font-size:30px}.fts-mashup-hide-fb-icon .fts-jal-single-fb-post .fts-jal-fb-user-thumb a:before{content:""}.fts-mashup-twitter-icon a:before{content:"\f099";top:0;position:relative;left:3px}.fts-mashup-pinterest-icon a:before{content:"\f231";position:relative;top:3px;left:5px}.fts-mashup-youtube-icon a:before{content:"\f167";position:relative;top:2px;left:4px}.fts-mashup-icon-wrap-left.fts-mashup-youtube-icon a:before{top:0;left:2px}.slicker-instagram-placeholder .ft-text-for-popup-content{padding:5px 15px;opacity:0;z-index:10;position:relative;color:#FFF}.slicker-instagram-placeholder .fts-mashup-count-wrap{opacity:0;z-index:10;position:absolute;bottom:-5px;left:5px;color:#FFF}.slicker-instagram-placeholder:hover .fts-mashup-count-wrap a{color:#FFF!important;font-size:12px}.slicker-instagram-placeholder .fts-mashup-count-wrap a{color:#FFF;font-size:12px}.slicker-instagram-placeholder:hover .ft-text-for-popup-content,.slicker-instagram-placeholder:hover .fts-mashup-count-wrap{opacity:1;color:rgba(255,255,255,.88)}.slicker-instagram-placeholder .ft-gallery-link-popup{font-size:14px;position:absolute;bottom:10px;left:10px}.ft-gallery-link-popup:before{font-family:FontAwesomeSlick;content:"\f14d ";display:inline-block;margin-right:6px;-webkit-font-smoothing:antialiased;font-size:16px;margin-top:1px;margin-left:1px}.fts-mashup-wp_gallery-icon a:before{content:"\f19a";position:relative;top:2px;left:4px}.fts-mashup-icon-wrap-left.fts-mashup-wp_gallery-icon a:before{top:0;left:2px}.fts-mashup-icon-wrap-right.fts-mashup-wp_gallery-icon{margin-top:3px;margin-right:5px}.slicker-instagram-placeholder .ft-wp-gallery-icon{margin-top:-12px;margin-right:0}.fts-mashup-icon-wrap-left.fts-mashup-twitter-icon a:before{top:0;left:3px}.fts-mashup-type-icon-spacer{clear:both;width:100%;display:block;background:#f7f7f7;margin-bottom:2px}.fts-feed-type-wp_gallery .fts-mashup-description-wrap{margin:0 0 15px}.fts-mashup .fts-feed-type-facebook .fts-jal-fb-user-thumb,.fts-mashup-hide-fb-thumb.fts-feed-type-facebook .fts-jal-fb-user-thumb{display:none!important}.fts-feed-type-facebook .fts-mashup-icon-wrap-left a:before,.fts-feed-type-facebook .fts-mashup-icon-wrap-right a:before{content:"\f09a";top:2px;position:relative;left:9px;font-size:28px!important}.fts-mashup-type-icon{float:left;height:40px;margin:15px 10px 0 0}.fts-mashup .fts-jal-single-fb-post .fts-jal-fb-user-thumb{width:40px;height:45px;float:left;margin:0}.fts-mashup .fts-jal-single-fb-post .fts-jal-fb-user-thumb a,.fts-mashup-icon-wrap{float:left;height:45px;width:40px;padding-top:13px;position:relative;margin-top:0!important;text-decoration:none!important}.fts-mashup-hide-fb-icon .fts-jal-single-fb-post .fts-jal-fb-user-thumb a{float:left;height:50px;width:50px;padding-top:0;position:relative;margin-top:0!important;text-decoration:none!important}.fts-mashup-hide-fb-icon .fts-jal-single-fb-post .fts-jal-fb-user-thumb{width:50px;height:50px;float:left;margin:0 15px 0 0}.fts-mashup .fts-jal-fb-message{line-height:18px;padding-top:5px}.fts-mashup-count-wrap a,.fts-mashup-icon-wrap a{text-decoration:none!important}.fts-mashup .fts-jal-fb-post-time{padding-top:3px}.fts-mashup .fts-likes-shares-etc-wrap{float:left;width:100%;padding:0}.fts-mashup .icon-thumbs-up:before,.fts-single-pin-social-meta-wrap,.fts-tweet-reply-left{margin-left:5px!important}.fts-mashup .fts-jal-fb-see-more,.fts-mashup .fts-mashup-count-wrap .slicker-heart-comments-wrap li,.fts-mashup .slicker-instagram-placeholder .slicker-heart-comments-wrap li{font-size:12px!important}.fts-mashup .fts-comment-instagram:before,.fts-mashup .fts-jal-fb-see-more .icon-comments:before,.fts-mashup .fts-jal-fb-see-more .icon-file-up:before,.fts-mashup .fts-jal-fb-see-more .icon-thumbs-up:before{font-size:14px}.fts-mashup-icon-wrap-right{float:right}.fts-mashup-icon-wrap-right a{text-decoration:none!important;font-size:12px}.fts-mashup-icon-wrap-left a:before,.fts-mashup-icon-wrap-right a:before{font-family:FontAwesomeSlick;font-weight:100!important;top:12px}.fts-mashup-icon-wrap-right.fts-mashup-facebook-icon{position:absolute;right:18px;top:13px;z-index:1}.fts-mashup-hide-fb-icon.fts-feed-type-facebook .fts-mashup-icon-wrap-right a:before{font-size:30px!important}.fts-mashup-icon-wrap-left{float:left;margin:16px 12px 0 0}.fts-feed-type-pinterest .fts-mashup-icon-wrap-left a:before{left:4px;top:0}.fts-mashup .fts-feed-type-facebook .fts-jal-fb-user-thumb a:before{font-family:FontAwesomeSlick!important;content:"\f09a"!important;top:2px!important;position:relative!important;left:8px!important;font-size:29px!important}.fts-mashup .fts-mashup-icon-left .fts-jal-fb-user-thumb{display:block!important}.fts-feed-type-facebook.fts-mashup-hide-fb-thumb .fts-jal-fb-user-thumb,.fts-mashup .fts-mashup-hide-fb-icon-and-thumbnail.fts-feed-type-facebook .fts-jal-fb-user-thumb,.fts-mashup-hide-fb-icon-and-thumbnail .fts-jal-fb-user-thumb,.fts-mashup-icon-left .fts-jal-fb-user-thumb img{display:none!important}.fts-mashup-icon-left .fts-feed-type-facebook .fts-jal-fb-user-thumb a:before{content:''!important}.fts-mashup-icon-left.fts-feed-type-facebook.fts-mashup-hide-fb-thumb .fts-jal-fb-user-thumb{display:block!important}body div.fts-mashup-hide-fb-thumbnail-icon .fts-jal-fb-user-thumb a:before{display:none}body div.fts-mashup-hide-fb-thumbnail-icon .fts-jal-fb-user-thumb{width:50px!important;height:50px!important;margin-right:10px!important;margin-bottom:10px!important}body .fts-mashup .fts-mashup-hide-fb-thumbnail-icon .fts-jal-single-fb-post .fts-jal-fb-user-thumb a{width:50px!important;height:50px!important;margin-top:0!important;padding:0!important}.fts-mashup .fts-likes-shares-etc-wrap a{color:#777}.fts-mashup-error-notice{padding-right:42px;position:absolute;top:5px}.fts-mashup-icon-left .fts-mashup-error-notice{margin-left:45px}.fts-mashup-icon-wrap-left a{text-decoration:none!important}.fts-mashup-icon-wrap-right.fts-mashup-youtube-icon a:before{left:-2px!important;top:15px}.fts-mashup-icon-wrap-right.fts-mashup-twitter-icon a:before{left:-2px!important}.fts-mashup-icon-wrap-right.fts-mashup-pinterest-icon a:before{left:0!important}.fts-mashup .fts-jal-fb-user-name{margin-right:23px}.fts-mashup-media-top.fts-mashup-post-wrap .fts-jal-fb-user-name{margin-left:10px;padding-top:0}.fts-mashup-media-top .fts-jal-fb-user-name{margin-left:10px}.fts-mashup .fts-jal-fb-message p,.fts-mashup-description-wrap p{margin:4px 0 5px!important;font-size:14px}.fts-single-pin-meta-wrap .fts-single-pin-social-meta-wrap{margin-left:15px!important}.fts-review-details-wrap{margin-top:0}.fts-review-details-master-wrap{display:block;clear:both;padding:10px 10px 15px;background:#FFF;border-bottom:1px solid rgba(184,184,184,.3)}.fts-reviews-overall-rating-stars{margin:auto}.fts-review-details-wrap{padding:5px 0 0;line-height:17px}.fts-review-details-master-wrap-no-background-or-border{background:0 0!important;border:none!important}.fts-slicker-twitter-posts .fts-tweeter-wrap .tweeter-info{padding:11px 0 7px}.fts-slicker-twitter-posts .fts-twitter-image{margin-left:11px!important}.fts-slicker-twitter-posts .tweeter-info .fts-twitter-full-width{padding:0 10px 10px}.fts-slicker-twitter-posts .tweeter-info .fts-twitter-full-width.fts-twitter-reply-wrap{padding:0 10px 2px}.tweeter-info .twitter-video{margin:0 -8px -5px!important}.fts-fb-get-directions,.fts-fb-ticket-info{display:inline-block}.fts-fb-ticket-info:before{content:'|';margin-left:10px;margin-right:10px}.fts-facebook-popup .ft-text-for-popup-content .fts-jal-fb-post-time,.fts-facebook-popup .ft-text-for-popup-content .fts-jal-fb-user-name,.fts-facebook-popup .ft-text-for-popup-content .fts-mashup-description-wrap{padding-right:15px}.fts-facebook-popup .ft-text-for-popup-content .fts-mashup-description-wrap{margin-top:20px;margin-bottom:25px;padding-left:20px!important}.fts-facebook-popup .ft-text-for-popup-content .fts-jal-fb-user-name{margin-top:12px;padding-left:20px!important}.fts-facebook-popup .ft-text-for-popup-content .fts-jal-fb-post-time{padding-left:20px!important}.fts-facebook-popup .ft-text-for-popup-content .fts-mashup-icon-wrap-right.fts-mashup-wp_gallery-icon{margin-right:20px!important;margin-top:-1px}.fts-facebook-popup a.ft-gallery-link-popup{font-size:12px;text-align:left;margin-top:15px;border-top:0 solid #eee;border-bottom:0 solid #eee;padding:14px 20px 10px;background:0 0;display:inline-block;float:left}.fts-facebook-popup .ft-text-for-popup-content .fts-mashup-description-wrap p{padding-top:0;line-height:21px;word-wrap:break-word;font-size:15px;color:#333}.ft-text-for-popup-content{text-align:left}.fts-slicker-facebook-photos .ft-text-for-popup-content .fts-jal-fb-post-time{color:#9d9d9d!important;margin-top:0}.ft-image-overlay{position:absolute;top:0;left:0;height:100%;width:100%}.fts-popup-second-half .fts-watermark-inside{display:none!important}.fts-watermark-inside-center{position:absolute;top:50%;text-align:center;transform:translateY(-50%);width:100%}.fts-watermark-inside-top-center{position:absolute;text-align:center;top:0;width:100%}.fts-watermark-inside-bottom-center{position:absolute;bottom:0;text-align:center;width:100%}.fts-watermark-inside-bottom-left{position:absolute;bottom:0}.fts-watermark-inside-bottom-right{position:absolute;text-align:right;bottom:0;width:100%}.fts-watermark-inside-top-right{position:absolute;width:100%;top:0;text-align:right}.fts-watermark-inside-top-left{position:absolute;text-align:left;top:0;width:100%}.fts-watermark-inside img{max-width:100%;height:auto;display:inline-block;margin:0}.fts-mashup-image-and-video-wrap .fts-watermark-inside img{max-width:75%!important}.ft-gallery-share-wrap{display:none;margin-top:0;position:absolute;left:20px;background:#fff;top:-8px;min-width:145px;box-shadow:2px -2px 3px 0 rgba(187,187,187,.8);width:100%;z-index:1000;text-align:left}.fts-popup-second-half .ft-gallery-share-wrap{left:50px;background:#f6f7f9;top:8px}.ft-gallery-share-wrap a{display:inline-block!important}.fts-share-wrap{padding:0;float:left;width:auto;margin:9px 0 0;display:inline-block;position:relative;z-index:1}a.fts-jal-fb-see-more{width:auto!important;display:inline-block!important;text-align:left}.ft-gallery-share-wrap .fa{display:inline-block!important;font-family:FontAwesomeSlick!important;font-weight:400!important;line-height:1!important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ft-gallery-share-wrap .fa-facebook-square:before{content:"\f082";font-size:17px!important}.ft-gallery-share-wrap .fa-linkedin:before{content:"\f0e1";font-size:16px!important}.ft-gallery-share-wrap .fa-google-plus:before{content:"\f0d5";font-size:16px!important}.ft-gallery-share-wrap .fa-pinterest-plus:before{content:"\f0d2";font-size:15px!important}.ft-gallery-share-wrap .fa-twitter:before{content:"\f099";font-size:19px!important;top:1px;position:relative}.ft-gallery-share-wrap .fa-envelope:before{content:"\f0e0";font-size:16px!important}.ft-gallery-link-popup{margin:5px 0 0!important}.ft-gallery-share-wrap a:hover{opacity:.8}.fts-slicker-facebook-photos .fts-share-wrap a{color:#FFF!important}.fts-slicker-facebook-photos .fts-mashup-count-wrap{clear:both;display:block!important;top:-21px;left:16px}.fts-slicker-facebook-photos .fts-likes-shares-etc-wrap{outline:0;z-index:5000!important;color:#FFF;position:absolute;bottom:10px!important;display:none;width:100%;text-align:left}.fts-slicker-facebook-photos .fts-jal-fb-see-more{bottom:0!important;position:absolute;left:10px}.fts-mashup-post-wrap.fts-feed-type-facebook .fts-mashup-count-wrap.fts-share-wrap{margin:10px 3px 0 0;padding:0}.fts-mashup-post-wrap.fts-feed-type-facebook .fts-mashup-count-wrap.fts-share-wrap a.ft-gallery-link-popup{margin:0!important}.fts-mashup-post-wrap.fts-feed-type-facebook .ft-gallery-share-wrap{top:-7px}.fts-mashup-count-wrap.fts-share-wrap .ft-gallery-link-popup{margin-top:0!important}.fts-twitter-reply-wrap{float:left}.fts-instagram-reply-wrap-left,.fts-pinterest-reply-wrap-left,.fts-youtube-reply-wrap-left{float:right}.fts-tweeter-wrap .fts-share-wrap{padding:7px 0 0;margin-top:10px}.ft-gallery-share-wrap a{margin:7px 5px;font-size:13px}.fts-tweeter-wrap .ft-gallery-share-wrap{top:-10px}.fts-tweeter-wrap .fts-mashup-count-wrap a{display:inline-block;margin:7px 5px;font-size:13px}body .fts-slicker-facebook-photos .fts-tweeter-wrap .ft-gallery-share-wrap{max-width:132px!important;width:100%!important}.fts-tweeter-wrap .ft-gallery-link-popup{font-size:13px}.fts-twitter-reply-wrap-left{float:right;padding:10px 10px 0;margin-top:10px}.fts-tweet-others-right a{display:inline-block}.fts-twitter-reply-wrap .fts-share-wrap{margin-top:10px;padding:0}.fts-share-wrap .fts-share-wrap{margin-top:10px}.fts-twitter-reply-wrap .fts-share-wrap a.ft-gallery-link-popup{margin-top:0!important}.fts-slicker-twitter-posts .fts-twitter-reply-wrap-left{padding:0 10px 2px!important;margin:10px 0 0!important}.ft-galleryfacebook-icon{margin-left:11px!important}.fts-mashup-post-wrap .fts-tweet-reply-left{margin-right:35px;padding:0 5px}.fts-mashup-post-wrap .fts-twitter-reply-wrap-left{padding:0;margin-top:0}.fts-share-wrap .ft-gallery-link-popup{margin:0!important;font-size:12px}.fts-mashup-count-wrap .fts-share-wrap{margin:0!important}.fts-instagram-reply-wrap-left{margin-right:8px}.fts-popup-second-half .fts-share-wrap{margin:15px 0 -64px}.fts-popup-second-half .mfp-title .ft-gallery-share-wrap a{color:#137fc4}.fts-instagram-styles-popup .fts-share-wrap .ft-gallery-share-wrap a,.fts-instagram-styles-popup .fts-share-wrap a.ft-gallery-link-popup{color:#444}.fts-youtube-reply-wrap-left a{font-size:12px}.fts-mashup-post-wrap.fts-feed-type-facebook .fts-jal-fb-see-more{margin-bottom:-1px;text-transform:none!important}.fts-instagram-styles-popup .ft-gallery-link-popup,.fts-instagram-styles-popup .fts-share-wrap{margin:0!important;padding:0!important}.fts-instagram-styles-popup .fts-instagram-reply-wrap-left{float:left;margin-left:20px}.fts-instagram-styles-popup .fts-share-wrap{background:#fff;top:-11px;left:19px;position:relative;z-index:1000}.fts-instagram-styles-popup .ft-gallery-share-wrap{top:-6px;left:25px;background:#FFF}.fts-instagram-styles-popup .ft-gallery-link-popup:before{content:"\f064";margin-right:10px}.slicker-instagram-placeholder .ft-gallery-link-popup:before{content:"\f064";color:#FFF;font-size:15px;position:relative;top:2px}.slicker-instagram-placeholder .ft-gallery-share-wrap{top:-19px;left:35px;box-shadow:2px -2px 3px 0 #222!important;background:#000}.slicker-instagram-placeholder .ft-gallery-share-wrap a{color:#FFF}.fts-facebook-popup .ft-gallery-link-popup:before{font-family:FontAwesomeSlick;content:"\f064 ";margin-left:8px}.fts-mashup-count-wrap .fts-instagram-reply-wrap-left{margin-right:-8px}.fts-facebook-thumb-one,.fts-facebook-thumb-zero{margin-right:1px!important;display:inline-block;margin-bottom:1px!important}a.fts-facebook-thumbs-wrap{display:inline-block;max-width:515px}.fts-facebook-thumb-two{display:inline-block}.fts-image-count-tint-underlay{position:absolute;top:0;bottom:0;right:0;left:0;background:rgba(0,0,0,.5)}.fts-fb-thumbs-wrap,.fts-more-photos-auto-width .fts-fb-thumbs-wrap{position:relative;background-size:cover!important;background-position:center center!important;display:inline-block!important;overflow:hidden}.fts-fb-thumbs-wrap{margin-right:.233333%!important}.fts-2-photos.fts-fb-thumbs-wrap,.fts-more-photos-3-photos .fts-fb-thumb-two-wrap{margin-right:0!important}.fts-3-photos{max-width:33.1%}.fts-2-photos{max-width:49.77%}.fts-fb-more-photos-wrap .fts-jal-fb-picture{margin-bottom:1px!important}.fts-more-photos-auto-width{float:none!important;margin:10px 0 4px}.fts-more-photos-auto-width a{width:49.84%;margin:0!important}.fts-more-photos-auto-width .fts-fb-thumbs-wrap{max-width:100%;margin-right:0!important;margin-left:.2333333333%!important;margin:0 0 4px;z-index:0;background-repeat:no-repeat;vertical-align:top}.fts-more-photos-auto-width .fts-jal-fb-picture{float:none!important;display:inline-block!important;margin:0!important}.fts-more-photos-three-photo-wrap .fts-fb-thumbs-wrap{display:inline-block!important;max-width:100%;margin-right:.233333333%!important;margin:0 0 4px;width:49.887%;overflow:hidden;max-height:240px}.fts-fb-scrollable,.fts-twitter-scrollable,.fts-youtube-scrollable{overflow:auto}.ft-text-for-popup,.fts-slicker-facebook-albums .fts-fb-load-more-output,.fts-slicker-facebook-albums .fts-share-wrap,.fts-slicker-facebook-photos .fts-share-wrap,.fts-twitter-reply-wrap-left p{display:none}.fts-more-photos-three-photo-wrap .fts-fb-thumb-one-wrap{margin-right:0!important}.fts-image-count{position:absolute;bottom:50%;width:100%;top:50%;text-align:center;font-size:36px;color:#fff;line-height:36px;height:36px;transform:translate(0,-50%)}.fts-image-count span{position:relative;bottom:0;font-size:35px}.fts-fb-more-photos-wrap{width:100%}@media (max-width:375px){.fts-image-count,.fts-image-count span{font-size:20px}}@media (max-width:667px){.fts-image-count,.fts-image-count span{font-size:34px}}.ft-gallery-buy-now{margin:0 12px}.fts-mashup-post-wrap .fts-share-wrap,.fts-slicker-facebook-albums.ft-wp-gallery .fts-share-wrap{display:block}.fts-mashup-count-wrap .fts-twitter-reply-wrap.fts-twitter-no-margin-left,.fts-mashup-hide-date .fts-jal-fb-post-time,.fts-mashup-hide-name .fts-jal-fb-user-name,.fts-mashup-media-top .fts-jal-fb-description-wrap,.fts-mashup-media-top .fts-mashup-type-icon-spacer{display:none}.ft-wp-gallery .fts-share-wrap a{color:#777!important}.fts-slicker-facebook-posts img{max-width:100%}.fts-twitter-no-margin-left{margin-left:71px;clear:both}.fts-instagram-styles-popup .fts-comment-instagram:before{font-size:14px!important}.fts-smallerthan-180 .fts-instagram-link-target{padding-left:50%;padding-bottom:50%;padding-top:50%}.fts-smallerthan-180 .fts-instagram-link-target span:before{content:''!important}.fts-smallerthan-180 .fts-instagram-link-target:hover,.fts-smallerthan-180.slicker-instagram-placeholder:hover .slicker-instaG-photoshadow{background:0 0!important}.fts-instagram,.fts-instagram-scrollable{margin:auto}.fts-mashup-hide-name .fts-mashup-description-wrap,.fts-mashup-hide-name.fts-mashup-hide-date .fts-jal-fb-message{padding-top:0!important}.fts-mashup-description-wrap a{word-wrap:break-word}.fts-mashup-image-and-video-wrap.popup-gallery-twitter .twitter-video{margin:-8px!important}.fts-mashup-media-top .fts-mashup-image-and-video-wrap.popup-gallery-twitter{margin-top:0}.fts-mashup-media-top .fts-likes-shares-etc-wrap,.fts-mashup-media-top .fts-mashup-description-wrap,body .fts-mashup-post-wrap.fts-mashup-media-top .fts-jal-fb-message{padding:0 10px!important}.fts-mashup-media-top .fts-youtube-title{padding:10px 10px 0;display:none}.fts-mashup-post-wrap .fts-jal-single-fb-post .fts-jal-fb-vid-wrap .fts-jal-fb-description-wrap{padding:5px 10px 0!important}.fts-mashup-media-top .fts-mashup-count-wrap{padding:8px 10px 7px!important;margin-bottom:0;margin-top:4px}.fts-mashup-media-top .fts-likes-shares-etc-wrap{padding:7px 10px 8px!important;margin-bottom:0;margin-top:10px}.fts-mashup-media-top .fts-jal-single-fb-post{padding-bottom:0!important}.fts-mashup-media-top .fts-jal-fb-post-time{padding:5px 10px 7px!important}.fts-mashup-hide-thumbnail.fts-mashup-media-top .fts-jal-fb-user-name,.fts-mashup-hide-thumbnail.fts-mashup-media-top .fts-jal-single-fb-post .fts-jal-fb-user-name,.fts-mashup-media-top .fts-jal-fb-message{padding:0 10px!important}.fts-mashup-media-top .fts-jal-fb-see-more,.fts-mashup-media-top .fts-share-wrap{margin-top:0}.fts-mashup-media-top .fts-mashup-youtube-icon a:before{margin-right:8px!important;top:10px}.fts-mashup-media-top .fts-mashup-twitter-icon a:before{margin-right:8px!important;top:5px}.fts-mashup-media-top .fts-mashup-pinterest-icon a:before{margin-right:8px!important;top:9px}.fts-mashup-media-top .fts-mashup-instagram-icon a:before{margin-right:9px!important;top:9px}.fts-mashup-media-top .fts-mashup-icon-wrap-right.fts-mashup-facebook-icon{position:unset;right:unset;top:unset;z-index:1;float:right!important}.fts-mashup-media-top .fts-jal-fb-top-wrap{display:none!important}.fts-jal-fb-group-display.fts-mashup-media-top .fts-jal-single-fb-post .fts-jal-fb-top-wrap,.fts-mashup-hide-thumbnail .fts-jal-fb-user-thumb,.slicker-youtube-placeholder .entriestitle{display:none}.fts-mashup-media-top .fts-jal-fb-link-wrap,.fts-mashup-media-top .fts-jal-fb-vid-wrap{margin-top:0;margin-bottom:10px;text-align:center}.fts-mashup-media-top .fts-jal-fb-link-wrap .fts-jal-fb-picture,.fts-mashup-media-top .fts-jal-fb-vid-wrap{float:none}.fts-mashup-media-top .fts-jal-fb-picture,.fts-mashup-media-top .fts-jal-fb-vid-picture{margin-bottom:0!important}.fts-mashup-media-top .fts-mashup-icon-wrap-left{margin-left:10px;margin-right:5px;margin-top:3px;top:0}.fts-mashup-media-top .fts-mashup-icon-wrap-left.fts-mashup-instagram-icon,.fts-mashup-media-top .fts-mashup-icon-wrap-left.fts-mashup-pinterest-icon{margin-top:2px;min-height:40px}.fts-mashup-media-top .fts-mashup-icon-wrap-left.fts-mashup-instagram-icon{margin-right:0;margin-top:0}.fts-mashup-media-top .fts-mashup-icon-wrap-left.fts-mashup-youtube-icon a:before{margin-right:8px!important;top:6px}.fts-mashup-media-top .fts-mashup-icon-wrap-right.fts-mashup-facebook-icon{margin-right:20px!important;margin-top:4px!important}.fts-mashup-media-top .fts-mashup-icon-wrap-left.fts-mashup-facebook-icon{margin-top:8px!important}.fts-mashup-media-top .fts-mashup-icon-wrap-left.fts-mashup-youtube-icon{margin-top:5px!important}.fts-mashup-media-top .fts-mashup-image-and-video-wrap{margin-bottom:12px}.fts-mashup-media-top.fts-feed-type-facebook .fts-mashup-image-and-video-wrap.popup-gallery-twitter{margin:0}.fts-feed-type-facebook .fts-mashup-icon-wrap-left{margin-top:17px;margin-right:20px}.fts-mashup-icon-wrap-left.fts-mashup-instagram-icon{margin-top:3px}.fts-mashup-icon-wrap-left,.fts-mashup-icon-wrap-right{min-height:35px}.fts-jal-fb-group-display.fts-mashup-media-top .fts-jal-single-fb-post{padding-bottom:6px!important;border:none;margin-bottom:10px;background:#fff;margin-top:0!important;padding-top:0!important}.fts-mashup-media-top .fts-jal-fb-link-wrap a,.fts-mashup-media-top .fts-jal-fb-vid-picture{margin-top:0!important;line-height:0!important}.fts-mashup-media-top.fts-slicker-facebook-posts .fts-jal-single-fb-post{padding:0 0 8px!important}.fts-mashup-media-top .fts-jal-fb-user-thumb{margin-left:10px;margin-bottom:12px}.fts-yt-open{display:block;width:100%;height:100%;position:absolute}.fts-master-youtube-wrap .slicker-instagram-placeholder{position:relative;background-size:cover}.fts-facebook-popup.mfp-ready{z-index:99999999999999}.fts-youtube-popup h3{color:#111;padding:20px 40px 0 20px!important;margin-bottom:2px;font-size:24px;margin-top:0}.fts-youtube-popup h4{color:#222;padding:0 20px 4px!important;font-size:17px}.fts-youtube-description-popup{padding:0 20px 20px;color:#000}.fts-youtube-date{color:#9a9a9a;padding:0 20px 20px!important;font-size:13px}.fts-yt-open:hover{background:rgba(0,0,0,.5);cursor:pointer}.fts-master-youtube-wrap .slicker-youtube-placeholder{min-height:100px}.fts-youtube-popup-gallery,.fts-youtube-scrollable{clear:both;display:block}.fts-yt-open:hover:before{font-family:FontAwesomeSlick;content:"\f04b";display:block;font-size:32px;color:rgba(255,255,255,.54);position:absolute;top:45%;right:45%;left:43%}.fts-youtube-smallerthan-180 .fts-yt-open:hover:before{content:""}.fts-jal-fb-vid-picture a{margin:0}.fts-facebook-popup .mfp-inline-holder .mfp-close{color:#FFF;right:-6px;text-align:right;padding-right:6px;width:100%}.fts-more-photos-4-photos a{max-height:150px;display:inline-block;width:auto}.fts-more-photos-2-photos a{max-height:250px}.fts-youtube-scrollable .fts-fb-autoscroll-loader{background:0 0}.fts-yt-large.fts-youtube-thumbs-wrap{float:left}.fts-youtube-scrollable.fts-youtube-thumbs-wrap{float:right;clear:none}.fts-youtube-scrollable.fts-youtube-thumbs-wrap-left{float:left;clear:none}.fts-yt-large.fts-youtube-thumbs-wrap-left{float:right}.fts-yt-large.fts-youtube-thumbs-wrap-option-80-20{width:80%}.fts-youtube-scrollable.fts-youtube-thumbs-wrap-option-80-20{width:20%}.fts-yt-large.fts-youtube-thumbs-wrap-option-60-40{width:60%}.fts-youtube-scrollable.fts-youtube-thumbs-wrap-option-60-40{width:40%}.fts-youtube-scrollable.fts-youtube-thumbs-wrap-option-50-50,.fts-yt-large.fts-youtube-thumbs-wrap-option-50-50{width:50%}.fts-fb-comment .image-overlay-inside{display:none}.fts-youtube-popup .fts-fb-comment img{border-radius:30px}.fts-youtube-popup span.fts-fb-comment-date{color:#a6a6a6;padding-left:2px;font-size:12px!important}.fts-youtube-popup .fts-popup-second-half .mfp-title .fts-fb-comment-user-name a{color:#333!important}.youtube-comments-wrap{background:#fff;text-align:left;color:#2d2d2d!important}.youtube-comments-wrap .fts-share-wrap{margin:15px 0 -64px}.youtube-comments-wrap .fts-youtube-description-popup{display:block;position:relative!important;margin-bottom:-25px;padding-bottom:30px}.youtube-comments-wrap .ft-gallery-share-wrap{left:50px;background:#f6f7f9;top:8px}.fts-facebook-popup .mfp-bottom-bar a.ft-gallery-link-popup,.fts-facebook-popup .mfp-bottom-bar a.fts-jal-fb-see-more{color:#137fc4}.fts-youtube-scrollable .youtube-comments-wrap #___ytsubscribe_0{margin:20px 20px 10px!important}.mfp-title .fts-master-youtube-wrap-close{display:none}.fts-master-youtube-wrap-close{color:#636363;right:3px;top:3px;text-align:right;padding:15px;width:50px;font-size:24px;font-weight:700;position:absolute}.fts-master-youtube-wrap-close:before{content:"X"}.youtube-comments-wrap{overflow:auto;display:none;position:relative}.youtube-comments-wrap h3{padding-top:18px!important}.fts-scrollable-function{height:auto}.fts-youtube-description-popup{font-size:14px!important}.fts-youtube-no-thumbs-gallery{padding:0!important}.fts-youtube-noscroll .youtube-comments-wrap{overflow:visible}.fts-youtube-smallerthan-550-stack{width:100%!important}.fts-jal-fb-user-thumb img{border-radius:50px!important}.fts-twitter-username img.twitter-image{border-radius:50px}.fts-youtube-second-video-margin-btm{margin-bottom:35px}.fts-share-wrap [class*=fa-]{width:auto;height:auto}.fts-popup-half .mfp-arrow-left,.fts-popup-half .mfp-arrow-right{height:auto;width:auto;border:none!important;margin-top:0!important}.fts-popup-half .mfp-arrow-left:after,.fts-popup-half .mfp-arrow-right:after{background:0 0!important;height:auto!important;top:0!important;left:0!important;margin:0!important;padding:0!important;cursor:pointer;transform:none!important;transition:none!important;-webkit-transition:none!important}.fts-popup-half audio,.fts-popup-half video{visibility:visible!important}.fts-album-photos-wrap{text-align:center}.fts-fb-more-photos-wrap,.fts-more-photos-4-photos{position:relative;top:-3px}#wp-admin-bar-feed_them_social_admin_bar_set_cache{padding-bottom:17px!important;line-height:0!important}#wp-admin-bar-feed_them_social_admin_bar_set_cache span{line-height:10px;display:block;color:rgba(221,221,221,.57)}#wp-admin-bar-feed_them_social_admin_bar_set_cache:hover span{line-height:10px;display:block;color:#fff}.fts-mashup-media-top.fts-mashup-hide-thumbnail .fts-jal-fb-user-name{margin-left:0!important}.fts-steemit-username{display:inline-block;background-size:cover;background-repeat:no-repeat;background-position:50% 50%;border-radius:50%;width:48px;height:48px;margin-bottom:5px}.fts-steemit-div .steemit-info img{margin:0!important}.steemit-info .fts-uppercase{margin:14px 0 10px 10px}.fts-steemit-title{font-size:18px;margin-bottom:10px;letter-spacing:1px;font-weight:400;line-height:21px;color:#0084b4}.fts-steemit-div .fts-twitter-retweet:before{content:"\f27a"!important;font-size:15px!important;top:1px}.fts-steemit-div .fts-twitter-favorites:before{content:'Votes:'!important;font-family:arial!important;font-size:14px!important;margin-right:3px!important;top:0;font-weight:700}.fts-steemit-div .fts-twitter-reply:before{font-family:FontAwesomeSlick;content:'\f06e'!important;position:relative;top:2px;font-size:19px}.fts-twitter-quoted-text-wrap{padding:0 0 10px;border:1px solid #efe8e8!important;margin-top:10px;font-size:13px}.fts-twitter-quoted-text-wrap a{font-size:13px!important}.fts-twitter-quoted-text-wrap .twitter-video-rendered{margin:auto!important}.fts-fluid-videoWrapper{margin-top:8px}.fts-twitter-quoted-text-wrap .fts-twitter-link-image img,.fts-twitter-quoted-text-wrap img{margin-top:0!important}.fts-twitter-quoted-text{display:inline-block!important;padding:8px 10px 0;line-height:18px}.fts-twitter-quoted-video .fts-twitter-quoted-text{padding-top:0!important}.fts-twitter-quoted-image{padding:8px}.fts-twitter-quoted-image .fts-twitter-quoted-text{padding:8px 2px 2px!important}.fts-fb-more-photos-wrap a:last-child{margin-right:0!important}.fts-fb-more-photos-wrap a:first-child{margin-left:0!important}.fts-yt-first-video .fts-fluid-videoWrapper{margin-top:0}.fts-twitter-quoted-video .fts-fluid-videoWrapper-html5,.fts-twitter-quoted-video .fts-jal-fb-vid-wrap{margin-top:0;margin-bottom:10px}.fts-fb-location-wrap{text-align:center;padding:15px}.fts-fb-location-img{display:block;margin-bottom:9px;height:20px}.fts-fb-location-img:before{content:"\f024";font-family:FontAwesomeSlick;font-size:28px;display:block}.fts-fb-location-link{margin-bottom:5px;display:block;font-size:16px}.fts-popup-second-half .fts-fb-location-wrap{color:#444}.fts-fb-embed-iframe-check-used-for-popup,.greater-than-or-equal-width-height{display:none!important}.fts-fb-video-on-page.fts-fluid-videoWrapper{padding-bottom:56%;padding-top:0;width:100%!important;height:auto!important}.fts-fb-video-on-page.fts-fluid-videoWrapper iframe{width:100%!important;height:auto!important}.fts-greater-than-width-height.fts-fb-video-on-page{margin-top:18px}.fts-greater-than-width-height.fts-fb-video-on-page iframe{padding-bottom:100%}.fts-equal-width-height{max-width:100%;padding-bottom:100%!important}
1
+ /* If you think we have to many !important rules you have to consider that we are fighting with the themes CSS which in most cases overrides a plugins CSS. So if you see an !important rule and are having trouble overriding it make sure and target the body, html or a wrapper ID before the CSS class you are trying to override. */ @charset "UTF-8";.entriestitle.fts-youtube-popup,.fts-yt-first-video{word-break:break-word}.fts-twitter-div a,.tweeter-info:hover a{-webkit-transition:all .3s ease-in-out;text-decoration:none!important}.tweeter-info,.tweeter-info:hover a{-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out}.fts-jal-fb-group-display,.fts-twitter-div{clear:both}@font-face{font-family:FontAwesomeSlick;src:url(../css/font/fontawesome-webfont.eot?v=3.2.1);src:url(../css/font/fontawesome-webfont.eot?#iefix&v=3.2.1) format("embedded-opentype"),url(../css/font/fontawesome-webfont.woff?v=3.2.1) format("woff"),url(../css/font/fontawesome-webfont.ttf?v=3.2.1) format("truetype"),url(../css/font/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1) format("svg")}pre{white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}.fts-twitter-text{padding:4px 0 0;display:block;line-height:19px}.fts-video-show-hide-btns-wrap a:focus,.fts-video-show-hide-btns-wrap a:link,.fts-video-show-hide-btns-wrap a:visited{outline:0!important;border:none!important}.fts-view-on-twitter-link:before{font-family:FontAwesomeSlick;content:"\f14c ";display:inline-block;margin-right:6px}.fts-video-show-hide-btns-wrap a:before{font-family:FontAwesomeSlick;content:'\f16a';display:inline-block;margin-right:5px}img.fts-twitter-description-image{margin:10px 0 0!important}.fts-twitter-favorites:before,.fts-twitter-retweet:before{margin-right:5px;font-family:FontAwesomeSlick;position:relative}.fts-twitter-retweet:before{content:'\f079'!important;font-size:17px!important;top:1px}.fts-twitter-favorites:before{content:'\f004 '!important;font-size:13px!important;top:0}.fts-twitter-reply:before{font-family:FontAwesomeSlick;content:'\f112'!important;position:relative;top:2px;font-size:14px}.fts-twitter-caption,blockquote.twitter-video{display:none}.fts-twitter-div *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fts-fb-slideshow,.fts-fb-slideshow *,.fts-slicker-facebook-photos *,.fts-yt-videolist *,.popup-video-gallery-fb .fts-fb-photo-post-wrap{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.fts-twitter-div{position:relative;padding:0}.tweeter-info:hover a{transition:all .3s ease-in-out}.widget .fts-twitter-div .fts-uppercase{width:auto}.fts-twitter-div p{margin:0 0 5px!important;line-height:20px!important;padding:0}.widget .fts-twitter-div p{margin:0 0 8px!important;padding:0!important;line-height:19px!important;font-size:12px!important}.fts-twitter-div img{margin:0 10px}.fts-twitter-div .fts-uppercase{margin:0 5px 0 0;font-size:13px;font-weight:700;text-align:left;display:inline-block}.widget .twitter-image{margin-right:10px!important}.widget .fts-twitter-div .fts-uppercase,.widget .tweeter-info .fts-right,.widget .tweeter-info .fts-twitter-full-width{text-align:left;font-size:11px;line-height:14px;font-weight:400!important}.fts-right .fts-uppercase,.fts-twitter-full-width .fts-uppercase{display:inline-block}.tweeter-info .fts-right{float:none!important;padding:0 7px 0 71px;line-height:15px!important}.tweeter-info .fts-twitter-full-width{padding:10px 10px 0}.fts-twitter-fade{display:none;width:321px;height:80px;position:absolute;top:137px;left:1px}.fts-twitter-image,.widget .fts-twitter-image{margin:0;float:left}.tweeter-info{padding:11px;background:#eee;box-shadow:0 1px 2px #555;clear:both;min-height:51px;line-height:13px;-webkit-transition:background 2s;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.fts-twitter-div a,.tweeter-info:hover{-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out}.widget .tweeter-info{min-height:42px}.tweeter-info:hover{background:#FFF;box-shadow:0 1px 2px #222;-webkit-transition:background 2s;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.tweeter-info img{border-radius:0;box-shadow:0!important}.fts-twitter-link{position:absolute;top:217px;left:0;font-size:22px;text-transform:uppercase;width:291px;height:36px;padding:15px 0 0 38px;border-top:1px solid #c1c2c3;color:#000}.fts-video-loading-notice{color:#000}a.fts-powered-by-text{padding-top:8px!important;width:100%;text-align:center!important;display:block}.fts-twitter-div a{transition:all .3s ease-in-out;color:#0084b4}.fts-twitter-div a:hover{color:#444;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out;text-decoration:none!important}.tweeter-info .time{font-size:12px}.fts-tweeter-wrap .tweeter-info{padding:14px 0 8px;background:0 0;box-shadow:0 0 0 #555;border-bottom:1px solid #eee;word-wrap:break-word;clear:both;font-size:14px;line-height:13px;-webkit-transition:background 0;-webkit-transition:all 0 ease-in-out;-moz-transition:all 0 ease-in-out;-o-transition:all 0 ease-in-out;transition:all 0 ease-in-out}.fts-tweeter-wrap .fts-video-wrapper{margin:15px 0 0}.fts-video-wrapper-padding{display:none}.fts-tweeter-wrap .tweeter-info:hover{background:0 0!important;box-shadow:0 0 0 #222!important}.fts-tweeter-wrap .tweeter-info img{max-width:100%;box-shadow:none!important;border-radius:0}.fts-twitter-favorites,.fts-twitter-reply,.fts-twitter-retweet{font-size:13px!important}.fts-twitter-reply-wrap a{display:inline-block!important;opacity:1;padding-right:0;-webkit-transition:background 1s;-webkit-transition:all 1s ease-in-out;-moz-transition:all 1s ease-in-out;-o-transition:all 1s ease-in-out;transition:all 1s ease-in-out}.fts-twitter-reply-wrap{font-size:16px;margin-right:0;margin-top:10px;font-style:normal!important}.fts-tweeter-wrap:hover a{opacity:1}@media (max-width:767px){.fts-tweeter-wrap a{opacity:1!important}}.fts-video-show-hide-btns-wrap{margin:7px 0 0!important}.fts-video-show-hide-btns-wrap a{font-size:13px!important}.fts-twitter-load-video-wrapper,a.fts-twitter-load-video-wrapper{margin:0!important;padding:0!important}.fts-show-media-text,a.fts-close-media{display:none}.fts-twitter-div iframe,.fts-video-wrapper iframe{margin:0!important}.twitter-social-btn-bottom{margin:15px 0}.fts-jal-fb-see-more .icon-thumbs-up:before{content:"\f164"!important;font-size:14px}.fts-jal-fb-see-more .icon-comments:before{content:"\f086"!important;top:0;position:relative;font-size:14px}.fts-jal-fb-see-more .icon-file:before{content:"\f064"!important;top:2px!important;position:relative;font-size:14px}.fts-events-list-wrap .icon-map-marker [class^=icon-thumbs-up],.fts-jal-fb-see-more [class*=" icon--thumbs-up"],.fts-jal-fb-see-more [class*=" icon--file"],.fts-jal-fb-see-more [class^=icon-comments],.fts-jal-fb-see-more [class^=icon-file],.fts-jal-fb-see-more [class^=icon-thumbs-up]{display:inline-block!important;font-style:normal!important}.fts-events-list-wrap [class^=icon-]:before,.fts-jal-fb-see-more [class^=icon-]:before,.fts-jal-single-fb-post [class^=icon-]:before{font-family:FontAwesomeSlick!important;-webkit-font-smoothing:antialiased;margin:0 0 0 7px!important}.fts-jal-fb-see-more [class^=icon-]:before [class^=icon-],.fts-jal-single-fb-post{float:none!important;margin:0!important;display:block;padding:0!important;text-align:right!important;width:auto!important;height:auto!important;line-height:normal!important;vertical-align:baseline!important;background:0 0!important;font-style:normal!important}.fts-jal-fb-group-display img{border-radius:0!important;box-shadow:0 0 0 transparent!important;display:block;max-width: 100%;}.fts-jal-fb-group-header-desc{width:100%;margin:7px 0 15px!important;line-height:20px}.fts-jal-fb-header{clear:both}.no-more-posts-fts-fb{cursor:auto}.fts-jal-single-fb-post .slicker-facebook-album-photoshadow{display:none}.fts-jal-fb-header a:hover,.fts-jal-single-fb-post a:hover{font-style:normal;text-decoration:none!important;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out;color:#313131}.fts-jal-fb-user-thumb a{display:block}.fts-fb-get-directions{text-align:left!important;margin:0}.fts-jal-fb-header a,.fts-jal-single-fb-post a{-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out;text-decoration:none!important;word-break:break-word;border:none!important}.fts-jal-fb-header h1{font-size:1.9em;margin:0!important;line-height:normal!important;padding:0!important}.widget .fts-jal-fb-header h1{font-size:1.8em;line-height:22px}.fts-jal-single-fb-post{width:100%;padding:15px 0 7px!important;margin-bottom:0;border-bottom:1px solid rgba(184,184,184,.3);position:relative;line-height:17px;text-align:left}.fts-slicker-facebook-posts .fts-jal-single-fb-post{width:auto;padding:10px 10px 8px!important;border-bottom:1px solid rgba(184,184,184,.3);line-height:17px}.widget .fts-jal-single-fb-post{width:100%;padding:17px 0 10px!important}.fts-facebook-popup .fts-jal-fb-user-thumb{width:50px;height:50px;float:left;margin:0 0 0 20px!important}.fts-jal-fb-user-thumb,.fts-mashup-icon{height:50px;margin-right:11px;float:left}.fts-jal-fb-user-thumb{width:50px;margin-bottom:5px}.fts-mashup-icon{width:20px;margin-bottom:5px}.widget .fts-jal-fb-right-wrap{padding-left:0}.widget .fts-jal-fb-top-wrap{padding-bottom:5px;padding-left:0;margin-bottom:5px;min-height:50px}.fts-jal-fb-message{padding-top:10px;line-height:21px;word-wrap:break-word}.fts-jal-fb-link-wrap p,.fts-jal-fb-message p{padding:0!important;margin:0 0 10px!important}.fts-jal-fb-link-wrap p{line-height:19px!important}.fts-jal-fb-link-wrap{margin-top:0;border-radius:0;-webkit-transition:background 2s;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.jal-fb-description{word-wrap:break-word!important}.fts-jal-fb-picture{float:left;display:block;margin:10px 10px 4px 0}.fts-jal-fb-link-wrap img{margin:0}.fts-jal-fb-vid-picture{position:relative;float:left;height:auto!important;margin:10px 0 0;line-height:normal!important;cursor:pointer}.fts-jal-fb-description-wrap{float:left;padding:15px 12px 0 17px!important;color:#757575;font-size:13px!important;font-weight:400;text-align:left}.popup-gallery-fb .fts-jal-fb-description-wrap,.popup-video-gallery-fb .fts-jal-fb-description-wrap{padding:15px 0 0!important}.fts-jal-single-fb-post .fts-jal-fb-vid-wrap .fts-jal-fb-description-wrap{padding:15px 15px 0!important}.widget .fts-jal-fb-description-wrap{float:left;overflow:hidden;max-width:90%;line-height:19px!important;color:#999;font-size:12px!important;font-weight:400}.entry-content .fts-jal-fb-picture img,.fts-yt-videolist li img,.widget .fts-jal-fb-picture img,.widget a.fts-pin-board-wrap img,a.fts-pin-board-wrap img{max-width:100%}.fts-jal-fb-description{padding:5px 0 10px;line-height:17px!important;font-size:13px;color:#919191;word-wrap:break-word}.fts-jal-fb-description p{font-size:13px!important}.fts-jal-fb-top-wrap{margin-bottom:10px;text-align:left}.fts-jal-fb-user-name{font-weight:700;color:#888;display:block;padding-top:6px;padding-right:5px;font-size:16px;line-height:18px}.fts-slicker-facebook-albums .fts-jal-fb-user-name a{color:#FFF}.fts-jal-fb-post-time{color:#999;padding-top:4px;font-size:12px;line-height:10px;display:block}.fts-jal-fb-name{font-weight:700;color:#C00;padding-bottom:5px;font-size:15px;display:inline-block;line-height:18px}.fts-events-list-wrap .fts-jal-fb-name{font-weight:400;color:#c52214;padding-bottom:5px;font-size:15px;display:block;line-height:21px}.fts-jal-fb-vid-play-btn{background:url(../images/video-play-btn.png) no-repeat;bottom:7px;height:26px;left:9px;position:absolute;width:35px}.fts-jal-fb-picture img,.fts-vid-div{width:100%}.fts-vid-div .fts-jal-fb-vid-play-btn,.fts-vid-div img{display:none}.fts-vid-div iframe{position:absolute;z-index:500}.fts-jal-fb-see-more .icon-file{font-size:10px}.fts-jal-fb-see-more{float:right;margin:10px 0 0;font-size:12px;width:100%;text-align:right;font-style:normal!important}.fts-fb-event-photo{float:left}.fts-fb-large-photo{margin-right:0!important;font-weight:inherit}.fts-slicker-facebook-photos .fts-fb-photo-post-wrap:hover .fts-likes-shares-etc-wrap,.fts-slicker-facebook-photos .slicker-facebook-album-photoshadow:hover .fts-jal-fb-see-more{display:block}.fts-slicker-facebook-photos .fts-fb-photo-post-wrap:hover .fts-jal-fb-top-wrap,.fts-slicker-facebook-photos .fts-fb-video-post-wrap .slicker-facebook-album-photoshadow:hover .fts-jal-fb-top-wrap{opacity:1}.fts-slicker-facebook-albums .fts-jal-fb-description-wrap,.fts-slicker-facebook-photos .fts-jal-fb-description,.fts-slicker-facebook-photos .fts-jal-fb-see-more:hover,.fts-slicker-facebook-photos .fts-jal-fb-user-name a:hover{color:#FFF}.fts-slicker-facebook-photos .fts-jal-fb-description-wrap{font-weight:inherit!important}.fts-slicker-facebook-photos *{-ms-box-sizing:border-box;box-sizing:border-box}.instagram-placeholder *,.slicker-instagram-placeholder *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fts-jal-fb-vid-wrap .slicker-facebook-album-photoshadow{position:absolute;top:0;right:0;height:auto;z-index:600;cursor:pointer;width:auto;opacity:1!important;background-color:rgba(0,0,0,.6)!important;display:none}.fts-jal-fb-vid-wrap .slicker-facebook-album-photoshadow:before{content:'info';color:#FFF;padding:5px 10px 7px;text-align:right;float:right;font-size:12px;display:none}.fts-fb-load-more,.fts-fb-spinner,.fts-instagram{text-align:center}.slicker-facebook-album-photoshadow{position:absolute;top:0;right:0;height:100%;width:100%;z-index:100}.fts-slicker-facebook-photos .fts-fb-photo-post-wrap .slicker-facebook-album-photoshadow:hover{background-color:rgba(0,0,0,.9);-webkit-transition:background-color .01s ease-out;-moz-transition:background-color .01s ease-out;-o-transition:background-color .01s ease-out;transition:background-color .01s ease-out;z-index:100;opacity:.8;top:0;right:0;height:100%;width:100%}.fts-slicker-facebook-photos .fts-fb-photo-post-wrap:hover .slicker-facebook-album-photoshadow{background-color:rgba(0,0,0,.9);-webkit-transition:background-color .01s ease-out;-moz-transition:background-color .01s ease-out;-o-transition:background-color .01s ease-out;transition:background-color .01s ease-out;z-index:100;opacity:.8;top:0;display:block;right:0;height:100%;width:100%}.fts-slicker-facebook-photos .fts-jal-fb-right-wrap{padding:0!important}.fts-slicker-facebook-photos .fts-jal-fb-user-thumb{display:none}.fts-slicker-facebook-photos .fts-jal-fb-top-wrap{color:#FFF!important;padding:12px 15px 0!important;z-index:600;position:absolute;width:100%;opacity:0;-webkit-transition:all .15s ease-out .1s;-moz-transition:all .15s ease-out .1s;-o-transition:all .15s ease-out .1s}.fts-slicker-facebook-photos .fts-jal-fb-message{padding:15px 0 0;color:#FFF!important;position:relative;font-size:14px;z-index:100}.fts-slicker-facebook-photos .fts-jal-fb-post-time{color:#ddd;margin-top:0}.fts-slicker-facebook-albums .fts-jal-fb-description-wrap a:hover,.fts-slicker-facebook-albums .jal-fb-description a:hover,.fts-slicker-facebook-photos .jal-fb-description a:hover{color:#ccc}.fts-slicker-facebook-photos .fts-jal-fb-link-wrap,.fts-slicker-facebook-photos .fts-jal-fb-vid-wrap{line-height:12px!important}.fts-slicker-facebook-photos .fts-jal-fb-vid-wrap iframe{height:305px;width:305px}.fts-slicker-facebook-albums .fts-jal-fb-description-wrap{word-wrap:break-word;width:100%}.fts-slicker-facebook-albums .fts-jal-fb-description-wrap a{float:left;width:100%;line-height:19px;padding:0!important}.fts-slicker-facebook-albums .jal-fb-description a,.fts-slicker-facebook-photos .jal-fb-description a{float:none!important}.fts-slicker-facebook-photos .fts-jal-single-fb-post{position:relative;float:none;z-index:0;overflow:hidden;border:none!important;padding:0!important;font-family:proxima-nova,'Helvetica Neue',Arial,Helvetica,sans-serif!important;background:#000;vertical-align:top!important;display:inline-block!important}.fts-fb-get-directions:before,.slicker-instagram-image-likes:before,.slicker-instagram-placeholder .fts-instagram-icon:before{font-family:FontAwesomeSlick;-webkit-font-smoothing:antialiased}.fts-slicker-facebook-photos .fts-jal-fb-link-wrap,.fts-slicker-facebook-photos .fts-jal-fb-vid-wrap{border:none!important;margin:0!important;width:100%;height:100%}.fts-album-photos-wrap img{vertical-align:middle!important;display:inline-block!important}.fts-slicker-facebook-photos.fts-slicker-facebook-albums .fts-jal-single-fb-post{height:auto}.fts-slicker-facebook-photos{margin:auto;text-align:center}.fts-slicker-facebook-photos .fts-jal-fb-picture{display:block;margin:0;padding:0;float:none;width:auto;left:0;right:0;top:0;position:absolute;background-size:cover;background-position:center center;background-repeat:no-repeat}div.fts-fb-location{letter-spacing:1px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (-o-min-device-pixel-ratio:21),only screen and (min-device-pixel-ratio:2){.fts-jal-fb-vid-wrap iframe{height:130px}}.fts-fb-spinner>div{width:10px;height:10px;background-color:#999;border-radius:100%;display:inline-block;-webkit-animation:fts-fb-bouncedelay 1.4s infinite ease-in-out;animation:fts-fb-bouncedelay 1.4s infinite ease-in-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}.fb-social-btn-below-description,.fb-social-btn-bottom,.fb-social-btn-top{width:100%;overflow:hidden}.fts-fb-spinner .bounce1{-webkit-animation-delay:-.32s;animation-delay:-.32s}.fts-fb-spinner .bounce2{-webkit-animation-delay:-.16s;animation-delay:-.16s}@-webkit-keyframes fts-fb-bouncedelay{0%,100%,80%{-webkit-transform:scale(0)}40%{-webkit-transform:scale(1)}}@keyframes fts-fb-bouncedelay{0%,100%,80%{transform:scale(0);-webkit-transform:scale(0)}40%{transform:scale(1);-webkit-transform:scale(1)}}.fts-fluid-videoWrapper-html5 video{object-fit:inherit;margin-bottom:0!important}.fts-fb-album-view-link a{color:#FFF}.fts-fb-album-view-link a:hover{color:#eee}.fts-instagram-fade .fts-fb-caption{display:block}.fts-view-album-photos-large:before,.fts-view-fb-videos-large:before,.fts-view-on-facebook-link:before,.view-on-facebook-albums-link:before{font-family:FontAwesomeSlick;content:"\f14c ";display:inline-block;margin-right:6px;-webkit-font-smoothing:antialiased}.fts-fb-get-directions:before{content:"\f041 ";display:inline-block;margin:0 5px 0 2px}.instagram-placeholder,.slicker-instagram-placeholder{font-family:proxima-nova,'Helvetica Neue',Arial,Helvetica,sans-serif!important}.fts-instagram-fade .fts-instagram-caption-content,.fts-instagram-fade .fts-jal-fb-description{color:#fff;padding:0;margin:0}.fts-instagram-fade .fts-fb-album-view-link{display:none}#facebook-sidebar .fts-fb-load-more-wrapper{max-width:100%!important;margin-top:-1px!important;z-index:9999;position:relative}.fb-social-btn-bottom{margin-top:15px!important}.fb-social-btn-top{display:block;margin-bottom:12px!important}.fb-social-btn-below-description{margin-top:5px!important;margin-bottom:5px!important}@media only screen and (max-width:640px){.fb-like.fb_iframe_widget,.fb-like.fb_iframe_widget>span,.fb-like.fb_iframe_widget>span>iframe{width:100%!important;position:relative!important}}.fts-events-list-wrap .fts-jal-fb-picture{float:left;display:block;margin:0}.fts-events-list-wrap a.fts-jal-fb-name{font-size:17px}.fts-events-list-wrap .fts-fb-event-time{font-size:15px}.fts-events-list-wrap .fts-fb-location{font-size:15px;display:block;margin:10px 0 5px}.fts-events-list-wrap .fts-fb-location-title{font-size:15px;display:block;padding:0;font-weight:700;font-style:normal;margin:12px 0 0}.fts-events-list-wrap .fts-jal-fb-message{clear:both;font-size:15px}.fts-fb-get-directions{font-size:15px;padding:0 0 20px;color:#4595f0}.fts-fb-load-more{border-radius:1px;padding:0;line-height:37px!important;width:100%;min-height:37px!important;font-size:13px!important;background:rgba(240,240,240,.45);cursor:pointer;color:#111;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.fts-fb-load-more:hover{background:rgba(240,240,240,.85)}.instagram-image,.widget .instagram-image{background-color:#000;z-index:1;display:block}.flip360-fts-load-more{-moz-animation:spinY .5s linear;-ms-animation:spinY .5s linear;-o-animation:spinY .5s linear;animation:spinY .5s linear;-webkit-animation-name:spinY;-webkit-animation-duration:.5s;-webkit-animation-timing-function:linear;-webkit-animation-fill-mode:both;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-moz-animation-fill-mode:both;-ms-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;-moz-animation-timing-function:cubic-bezier(.75,0,.175,1);-ms-animation-timing-function:cubic-bezier(.75,0,.175,1);-o-animation-timing-function:cubic-bezier(.75,0,.175,1);animation-timing-function:cubic-bezier(.75,0,.175,1)}@-moz-keyframes spinY{0%{-moz-transform:rotateY(0);transform:rotateY(0)}100%{-moz-transform:rotateY(360deg);transform:rotateY(360deg)}}@-webkit-keyframes spinY{0%{-webkit-transform:rotateY(0);transform:rotateY(0);-webkit-transform-style:preserve-3d}100%{-webkit-transform:rotateY(360deg);transform:rotateY(360deg);-webkit-transform-style:preserve-3d}}@-o-keyframes spinY{0%{-o-transform:rotateY(0);transform:rotateY(0)}100%{-o-transform:rotateY(360deg);transform:rotateY(360deg)}}@-ms-keyframes spinY{0%{-ms-transform:rotateY(0);transform:rotateY(0)}100%{-ms-transform:rotateY(360deg);transform:rotateY(360deg)}}@keyframes spinY{0%{-webkit-transform:rotateY(0);-moz-transform:rotateY(0);-ms-transform:rotateY(0);-o-transform:rotateY(0);transform:rotateY(0)}100%{-webkit-transform:rotateY(360deg);-moz-transform:rotateY(360deg);-ms-transform:rotateY(360deg);-o-transform:rotateY(360deg);transform:rotateY(360deg)}}.clear{clear:both}.heart-comments-wrap li,ul.heart-comments-wrap{padding:0!important;margin:0!important;line-height:1.3em!important;border:none!important}.widget .instagram-placeholder li,.widget .instagram-placeholder ul{padding:0!important;margin:0!important;height:auto!important}.instagram-placeholder p{margin:0;padding:0}.instagram-placeholder{position:relative;z-index:0;display:inline-block;margin:0 20px 20px}.widget .instagram-placeholder{margin:-10px 9px 0 10px!important;width:104px!important;text-align:left!important}.instagram-image{width:150px;height:150px;position:relative}.widget .instagram-image{width:105px;height:100px;position:relative;background-size:100%!important}.instaG-photoshadow{background-color:rgba(0,0,0,.1);bottom:0;left:0;position:absolute;right:0;top:0;border:1px solid rgba(0,0,0,.12);z-index:1;-webkit-transition:background-color .05s ease-out;-moz-transition:background-color .05s ease-out;-o-transition:background-color .05s ease-out;transition:background-color .05s ease-out;width:148px;height:148px}.widget .instaG-photoshadow{width:103px;height:98px}.instagram-placeholder:hover .instaG-photoshadow{background-color:transparent;-webkit-transition:background-color .01s ease-out;-moz-transition:background-color .01s ease-out;-o-transition:background-color .01s ease-out;transition:background-color .01s ease-out;border:1px solid rgba(0,0,0,.12);width:148px;height:148px}.heart-comments-wrap li,.instagram-placeholder .date{color:#888;position:relative;z-index:1;-webkit-transition:all .15s ease-out .1s;-moz-transition:all .15s ease-out .1s;-o-transition:all .15s ease-out .1s;text-shadow:0 1px 0 rgba(255,255,255,.8);opacity:0;pointer-events:none}.widget .instagram-placeholder:hover .instaG-photoshadow{width:103px;height:98px}a.instaG-backg-link{position:relative;display:block}.instagram-placeholder .date{text-align:center;margin-bottom:5px;font-size:12px;height:20px;line-height:20px;font-weight:700;transition:all .15s ease-out .1s}.widget .instagram-placeholder .date{text-align:center;margin-bottom:5px;font-size:11px;height:15px;line-height:20px;font-weight:400!important}.instagram-placeholder .heart-comments-wrap ul{height:20px;margin:10px 0 0!important}.widgets .instagram-placeholder .heart-comments-wrap ul{height:15px;margin:6px 0 0!important}.heart-comments-wrap li{display:inline-block;margin:10px 0 0 .5em!important;padding:0 0 0 16px!important;line-height:10px!important;font-size:12px!important;font-weight:400!important;transition:all .15s ease-out .1s}.instagram-placeholder .fts-backg,.slicker-instagram-placeholder .slicker-date{-webkit-transition:all .15s ease-out .1s;-moz-transition:all .15s ease-out .1s;-o-transition:all .15s ease-out .1s}.widget .instagram-placeholder .heart-comments-wrap li{display:inline-block;margin:6px 0 5px 2px!important;pointer-events:none;padding:0 0 0 15px!important;line-height:10px!important;font-size:11px!important;border:none!important}.widget .instagram-placeholder .heart-comments-wrap .instagram-image-likes{margin-right:4px!important}.instagram-placeholder .fts-backg,.widget .instagram-placeholder .fts-backg{z-index:0;left:0;width:100%;margin:-5px;padding:5px;background:#FFF;position:absolute}.instagram-placeholder .fts-backg{top:25px;height:150px;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.04),0 1px 5px rgba(0,0,0,.1);-moz-box-shadow:0 0 0 1px rgba(0,0,0,.04),0 1px 5px rgba(0,0,0,.1);box-shadow:0 0 0 1px rgba(0,0,0,.04),0 1px 5px rgba(0,0,0,.1);transition:all .15s ease-out .1s}.widget .instagram-placeholder .fts-backg{top:20px;height:100px;font-size:11px}.widget .date{font-size:11px}.instagram-placeholder:hover .fts-backg{margin:-28px -12px;padding:8px 12px;height:193px;-webkit-transition-delay:0;-moz-transition-delay:0;-o-transition-delay:0;transition-delay:0;-webkit-transition-duration:.1s;-moz-transition-duration:.1s;-o-transition-duration:.1s;transition-duration:.1s;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.04),0 1px 5px rgba(0,0,0,.2);-moz-box-shadow:0 0 0 1px rgba(0,0,0,.04),0 1px 5px rgba(0,0,0,.2);box-shadow:0 0 0 1px rgba(0,0,0,.04),0 1px 5px rgba(0,0,0,.2)}.widget .instagram-placeholder:hover .fts-backg{margin:-22px -10px;padding:5px 10px;height:135px}.instagram-image-likes{background:url(../images/hearts-instagram.jpg) no-repeat}.instagram-image-comments{background:url(../images/comments-instagram.jpg) no-repeat}.instagram-placeholder:hover .date,.instagram-placeholder:hover .instagram-image-comments,.instagram-placeholder:hover .instagram-image-likes{opacity:1;z-index:1;-webkit-transition-delay:.1s;-moz-transition-delay:.1s;-o-transition-delay:.1s;transition-delay:.1s}.slicker-instagram-placeholder li,.slicker-instagram-placeholder ul{padding:0!important;margin:0!important;line-height:1.3em!important;border:none!important;width:auto!important;overflow:visible!important}.slicker-heart-comments-wrap{position:absolute;z-index:500;bottom:10px;right:12px}.slicker-instagram-placeholder p{margin:0;padding:0}.slicker-instagram-placeholder,.slicker-youtube-placeholder{position:relative;z-index:0;display:inline-block;overflow:hidden;background-size:cover;background-position:center center;background-repeat:no-repeat;vertical-align:top}.slicker-instagram-image{line-height:0!important;position:relative;z-index:1;background-color:#000;display:block}.slicker-instagram-image img{line-height:normal!important;-webkit-border-radius:0!important;-moz-border-radius:0!important;border-radius:0!important;-webkit-box-shadow:0 0 0 rgba(0,0,0,.175)!important;-moz-box-shadow:0 0 0 rgba(0,0,0,.175)!important;box-shadow:0 0 0 rgba(0,0,0,.175)!important;margin:0!important;padding:0!important;border:none!important;width:100%}.slicker-instaG-photoshadow{bottom:0;left:0;position:absolute;right:0;top:0;z-index:1;-webkit-transition:background-color .05s ease-out;-moz-transition:background-color .05s ease-out;-o-transition:background-color .05s ease-out;transition:background-color .05s ease-out;vertical-align:middle}.slicker-instagram-placeholder:hover .slicker-instaG-photoshadow{background-color:rgba(0,0,0,.7);-webkit-transition:background-color .01s ease-out;-moz-transition:background-color .01s ease-out;-o-transition:background-color .01s ease-out;transition:background-color .01s ease-out;border:1px solid rgba(0,0,0,.12)}a.slicker-instaG-backg-link{position:relative;display:block}.slicker-instagram-placeholder .fts-share-wrap,.slicker-instagram-placeholder .slicker-date{margin-bottom:5px;font-size:13px;line-height:20px;font-weight:400;position:absolute;transition:all .15s ease-out .1s;height:20px;color:#FFF;opacity:0;text-align:center}.slicker-instagram-placeholder .fts-share-wrap{bottom:-10px;left:4px;z-index:50000000}.slicker-instagram-placeholder .slicker-date{top:10px;left:15px;z-index:500;pointer-events:none}.slicker-instagram-placeholder .slicker-heart-comments-wrap ul{height:20px;margin:10px 0 0!important}.fts-mashup-count-wrap .slicker-heart-comments-wrap li,.slicker-instagram-placeholder .slicker-heart-comments-wrap li{display:inline-block;margin:0!important;pointer-events:none;padding:0 0 0 10px!important;line-height:10px!important;font-size:12px!important;font-weight:400!important;color:#FFF;text-align:center;position:relative;z-index:1;opacity:0;-webkit-transition:all .15s ease-out .1s;-moz-transition:all .15s ease-out .1s;-o-transition:all .15s ease-out .1s}body .fts-mashup-count-wrap li{opacity:1!important}.fts-mashup .fts-jal-fb-see-more,.fts-mashup .fts-single-pin-like-count,.fts-mashup .fts-single-pin-repin-count,.fts-mashup a.ft-gallery-link-popup,body .fts-mashup-count-wrap a,body .fts-mashup-count-wrap li{color:#777!important}a.fts-slicker-backg{height:68px;width:68px;line-height:68px;font-size:68px;top:0;bottom:0;left:0;right:0;margin:auto;z-index:700;position:absolute;text-align:center;vertical-align:middle;opacity:0;color:rgba(255,255,255,.27)}.slicker-instagram-placeholder .fts-instagram-icon:before{content:"\f16d";font-size:100%;display:inline-block;-webkit-transition:all 1s ease-out 0;-moz-transition:all 1s ease-out 0;-o-transition:all 1s ease-out 0}.slicker-instagram-placeholder a.fts-slicker-backg:hover{opacity:1;color:rgba(255,255,255,.55);-webkit-transition:all 0 ease-out 0;-moz-transition:all 0 ease-out 0;-o-transition:all 0 ease-out 0}.slicker-instagram-image-likes:before{content:"\f004";margin-right:5px}.fts-slicker-instagram{margin:auto;text-align:center}.instagram-placeholder:hover .fts-see-on-instagram,.slicker-instagram-placeholder:hover .fts-see-on-instagram,.slicker-instagram-placeholder:hover .fts-share-wrap,.slicker-instagram-placeholder:hover .fts-slicker-backg,.slicker-instagram-placeholder:hover .slicker-date,.slicker-instagram-placeholder:hover .slicker-instagram-image-comments,.slicker-instagram-placeholder:hover .slicker-instagram-image-likes{opacity:1;-webkit-transition-delay:.1s;-moz-transition-delay:.1s;-o-transition-delay:.1s;transition-delay:.1s}.fts-comment-instagram:before{font-family:FontAwesomeSlick!important;content:"\f075"!important;-webkit-font-smoothing:antialiased;margin-right:5px;font-size:13px!important;display:inline-block;-moz-transform:scaleX(-1);-o-transform:scaleX(-1);-webkit-transform:scaleX(-1);transform:scaleX(-1);filter:FlipH;-ms-filter:FlipH;position:relative;top:-1px;right:-4px}.fts-see-on-instagram div:before,.fts-view-on-instagram-link:before{content:"\f138 ";font-family:FontAwesomeSlick}.fts-see-on-instagram{position:absolute;bottom:11px;right:12px;opacity:0;z-index:750;-webkit-transition:all .15s ease-out .1s;-moz-transition:all .15s ease-out .1s;-o-transition:all .15s ease-out .1s}.widget .instagram-placeholder .fts-see-on-instagram{position:absolute;top:19px;right:6px;z-index:750;display:none}.instagram-placeholder .fts-see-on-instagram{position:absolute;bottom:2px;right:6px;opacity:0;z-index:750}.fts-see-on-instagram div{display:inline-block;cursor:pointer;font-weight:400!important}.instagram-placeholder .fts-see-on-instagram div{display:block;cursor:pointer;font-weight:400!important}.widget .instagram-placeholder .fts-see-on-instagram div:before{color:#FFF;font-size:14px}.instagram-placeholder .fts-see-on-instagram div:before{color:#888;font-size:13px}.slicker-instagram-placeholder .fts-see-on-instagram div:before{color:#FFF;font-size:14px}.fts-see-on-instagram div:before{display:inline-block}.fts-view-on-instagram-link:before{display:inline-block;margin-right:6px}.fts-instagram-caption{display:none}.fts-instagram-fade .mfp-title p{color:#fff!important;margin:0 0 10px!important;padding:0!important}.fts-instagram-fade .mfp-title a{color:#FFF;text-decoration:none!important}.fts-instagram-fade .mfp-title a:hover{color:#eee}.instagram-social-btn-bottom,.instagram-social-btn-top{text-align:center;font-size:14px!important;background:#517fa4;border-radius:4px;width:167px;color:#FFF;line-height:15px;padding:7px 0!important}.instagram-social-btn-top{margin:0 auto 15px}.instagram-social-btn-bottom{margin:15px auto 0}.instagram-social-btn-bottom:hover,.instagram-social-btn-top:hover{opacity:.9}#fts-social-bar-icons-wrap .instagram-social-btn-bottom a,#fts-social-bar-icons-wrap .instagram-social-btn-top a{color:#FFF!important;font-weight:100!important;display:inline-block;text-decoration:none!important}#fts-social-bar-icons-wrap .instagram-social-btn-top a:hover{color:#FFF!important}.instagram-social-btn-bottom a,.instagram-social-btn-top a{color:#FFF!important;font-weight:100!important;display:inline-block;text-decoration:none!important}.instagram-social-btn-bottom a:hover,.instagram-social-btn-top a:hover{color:#FFF;font-weight:100!important}.instagram-social-btn-bottom:before,.instagram-social-btn-top:before{font-family:FontAwesomeSlick;content:"\f16d ";display:inline-block;margin-right:6px;font-size:16px!important;-webkit-font-smoothing:antialiased}.fts-pinterest-boards-wrap *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.fts-fb-slideshow,.fts-fb-slideshow *,.fts-yt-videolist *{box-sizing:border-box}.fts-pinterest-wrapper{text-align:center;margin:auto;position:relative}a.fts-pin-board-wrap:link{text-decoration:none!important;border-bottom:0}a.fts-pin-board-wrap{border-radius:10px!important;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out;-moz-border-radius:6px;-ms-border-radius:6px;-o-border-radius:6px;-moz-box-shadow:0 1px 3px 0 rgba(0,0,0,.33);display:inline-block;text-decoration:none;padding:10px 9px 10px 10px;margin:8px 8px 0;text-align:left}a.fts-pin-board-wrap:hover{background:#fff;border-radius:10px}.fts-pin-board-wrap .label,.fts-single-pin-description a,.fts-single-pin-pinned-to-wrap{text-decoration:none!important}h3.fts-pin-board-board_title,h3.fts-pin-board-board_title span{-webkit-font-smoothing:antialiased!important;display:block!important}.fts-pin-board-wrap:hover .hoverMask,.pinterest-single-thumb-wrap:hover .hoverMask{background:rgba(255,255,255,.1)}h3.fts-pin-board-board_title{width:210px;color:#555!important;font-size:16px!important;font-weight:700!important;margin:7px 0 5px 7px!important;padding:0!important;position:relative!important;font-family:"Helvetica Neue",arial,sans-serif!important;line-height:15px!important;clear:both}div.fts-pin-board-img-wrap,div.pinterest-single-thumb-wrap{background-size:cover;background-position:center center;background-repeat:no-repeat;position:relative;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px}h3.fts-pin-board-board_title span{white-space:nowrap!important;overflow:hidden!important;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis;text-transform:capitalize}a.fts-pin-board-wrap{-webkit-border-radius:0;overflow:hidden}div.fts-pin-board-img-wrap{vertical-align:top;border-radius:10px 10px 0 0!important;overflow:hidden;clear:both;height:115px;-moz-box-shadow:0 0 3px rgba(0,0,0,.33) inset}.fts-pin-board-thumbs-wrap div:last-child{margin-right:0;border-bottom-right-radius:10px!important;border-bottom-left-radius:0!important}.fts-pin-board-wrap{max-width:254px;width:100%}.fts-pin-board-thumbs-wrap{min-height:50px}div.pinterest-single-thumb-wrap{margin-right:2px;margin-top:2px;height:108px!important;border-bottom-left-radius:10px!important;width:49.58%;display:inline-block}.fts-pin-board-img-wrap .hoverMask,.pinterest-single-thumb-wrap .hoverMask{-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 0 3px rgba(0,0,0,.33) inset;-moz-box-shadow:0 0 3px rgba(0,0,0,.33) inset;box-shadow:0 0 3px rgba(0,0,0,.33) inset;bottom:0;left:0;position:absolute;right:0;top:0}.fts-pin-board-wrap .fts-pin-board-pin-count{-webkit-font-smoothing:antialiased;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;-o-border-radius:2px;border-radius:2px;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2),0 1px 0 rgba(255,255,255,.3);-moz-box-shadow:inset 0 0 5px rgba(0,0,0,.2),0 1px 0 rgba(255,255,255,.3);box-shadow:inset 0 0 5px rgba(0,0,0,.2),0 1px 0 rgba(255,255,255,.3);text-shadow:0 -1px 0 rgba(0,0,0,.7);background-color:#000;background-color:rgba(68,68,68,.7);bottom:3px;color:#fff;padding:0 6px;position:absolute;left:3px;font-family:"Helvetica Neue",arial,sans-serif!important;font-size:12px!important;font-weight:700;line-height:21px}.fts-pin-board-pin-count:before{content:'';width:7px;height:9px;background:url(../images/pinterest-icons.png) -137px -87px no-repeat;display:inline-block;margin-right:3px}.fts-pin-board-wrap .label{font-weight:700;text-align:left!important;line-height:1.1em!important;white-space:nowrap;display:inline-block;position:relative;margin-bottom:inherit;padding:0!important;font-size:.7875rem;background:0 0!important;color:#fff}.widget .fts-pin-board-thumbs-wrap,.widget h3.fts-pin-board-board_title{display:none!important}.widget div.fts-pin-board-img-wrap{position:relative;overflow:hidden;clear:both;min-height:100px;height:auto;width:auto;border-radius:10px!important}.widget a.fts-pin-board-wrap{width:40%;padding:6px;margin:4px 4px 0!important;border-radius:1px!important}.widget div.fts-pin-board-img-wrap{-webkit-box-shadow:0 0 1px rgba(0,0,0,.11) inset!important;-moz-box-shadow:0 0 1px rgba(0,0,0,.11) inset;box-shadow:0 0 0 transparent inset!important;margin-bottom:0}.pinterest-single-thumb-wrap .hoverMask,.widget .fts-pin-board-img-wrap .hoverMask{-webkit-box-shadow:0 0 0 rgba(0,0,0,.33) inset;-moz-box-shadow:0 0 0 rgba(0,0,0,.33) inset;box-shadow:0 0 0 rgba(0,0,0,.33) inset}.fts-single-pin-wrap{background:#FFF;-webkit-box-shadow:0 1px 2px 0 rgba(0,0,0,.22);box-shadow:0 1px 2px 0 rgba(0,0,0,.22);border-radius:6px;width:236px!important;margin:14px 7px 0;border:none!important;text-align:left;overflow:hidden}.fts-single-pin-description{margin:10px 15px;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#333;font-size:13px;line-height:17px;word-wrap:break-word}.fts-single-pin-img-wrap img{-webkit-border-top-left-radius:6px;-webkit-border-top-right-radius:6px;-moz-border-radius-topleft:6px;-moz-border-radius-topright:6px;border-top-left-radius:6px;border-top-right-radius:6px;max-width:100%}.fts-single-pin-social-meta-wrap{font-family:Helvetica,sans-serif;font-size:11px;color:#999;font-style:normal;font-weight:400;-webkit-font-smoothing:antialiased;margin:-13px 10px 7px 15px}.fts-single-pin-social-meta-wrap .fts-single-pin-repin-count{margin:10px 12px 0 0;display:inline-block;font-size:13px}.fts-single-pin-social-meta-wrap .fts-single-pin-repin-count:before{font-family:FontAwesomeSlick;margin-right:5px;font-size:12px!important;content:"\f08d"}.fts-single-pin-social-meta-wrap .fts-single-pin-like-count{font-size:13px!important}.fts-single-pin-social-meta-wrap .fts-single-pin-like-count:before{font-family:FontAwesomeSlick;content:"\f086"!important;margin-right:5px;font-size:13px!important}.fts-single-pin-pinned-to-title,.fts-single-pin-pinned-to-wrap{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:block;overflow:hidden}.fts-single-pin-pinned-to-wrap{line-height:15px;padding:10px;border-radius:0 0 6px 6px;border:none!important;border-top:1px solid #e7e7e7!important}.fts-single-pin-pinned-to-wrap:hover{background:#eee;cursor:pointer}.fts-single-pin-pinned-to-wrap div{color:#999;display:block;font-weight:700;font-size:11px;font-family:Helvetica,sans-serif}.fts-single-pin-pinned-to-text{color:#999}div.fts-single-pin-pinned-to-title{color:#717171}.fts-single-pin-pinned-to-wrap img{position:relative;border-radius:2px;height:30px;margin-right:5px;width:30px;float:left}.fts-single-pin-pinned-to-title{border-radius:0 0 6px 6px}.fts-single-attribution-wrap{white-space:nowrap;overflow:hidden;-ms-text-overflow:ellipsis;text-overflow:ellipsis;font-family:Helvetica,sans-serif;color:#666;margin:-2px 0 5px 15px!important;font-size:11px;display:block;border:none!important;line-height:1.6471}.fts-yt-vids-in-row1 .fts-yt-videolist ul li:first-child,.fts-yt-vids-in-row1 li .entriestitle{display:none}.fts-yt-vids-in-row3 li .entriestitle,.fts-yt-vids-in-row4 li .entriestitle{font-size:85%!important;line-height:100%!important}.fts-single-attribution-wrap img{height:16px;margin-right:5px;position:relative;width:16px;float:left}.pinterest-social-btn-top{margin-bottom:0;text-align:center}.widget .pinterest-social-btn-top{margin-bottom:5px;text-align:center}.pinterest-social-btn-bottom{margin-top:5px;text-align:center}.fts-yt-videolist iframe{width:100%}.fts-yt-vids-in-row1 div.fts-yt-videolist p{padding-bottom:25px;clear:both}.fts-yt-first-video p{margin:10px 10px 25px!important}.fts-yt-videolist ul,.fts-yt-vids-in-row1 ul li{margin:0!important;padding:0!important}#secondary .front-widgets .fts-yt-large iframe{height:100%!important;max-height:300px!important;min-height:300px!important}.widget .fts-yt-videolist ul li{margin-bottom:0!important;list-style:none!important}.fts-yt-videolist ul{width:100%!important}.fts-yt-videolist ul li{list-style:none!important}.fts-yt-vids-in-row1 li{width:100%!important;margin-bottom:5%}.fts-yt-vids-in-row2 li,.fts-yt-vids-in-row3 li,.fts-yt-vids-in-row4 li{float:left;border:none;position:relative;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;padding:1%!important;margin:0!important}.fts-yt-vids-in-row1 li iframe{width:100%}.fts-yt-vids-in-row2 li{width:50%!important}.fts-yt-vids-in-row3 li{width:33.3%!important}.fts-yt-vids-in-row4 li{width:25%!important}.fts-yt-vids-in-row2 li .entriestitle,.fts-yt-vids-in-row3 li .entriestitle,.fts-yt-vids-in-row4 li .entriestitle{padding:0 5px;position:absolute;left:0;top:20%;opacity:0;width:87.5%;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.fts-yt-vids-in-row2 li:hover .entriestitle,.fts-yt-vids-in-row3 li:hover .entriestitle,.fts-yt-vids-in-row4 li:hover .entriestitle{background:#000;border-radius:0;color:#FFF;padding:5% 6%;opacity:.9;z-index:100;right:0;line-height:18px;font-size:90%;font-weight:700;box-shadow:0 4px 8px #333;display:block}.fts-yt-vids-in-row2 li:hover,.fts-yt-vids-in-row3 li:hover,.fts-yt-vids-in-row4 li:hover{background-color:rgba(0,0,0,.9);box-shadow:0 1px 10px #333;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.fts-yt-overlay-wrap{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;z-index:-1!important;background-color:rgba(0,0,0,.75);text-align:center;-webkit-transition:opacity .2s ease-out;-moz-transition:opacity .2s ease-out;transition:opacity .2s ease-out;pointer-events:none;box-shadow:0 2px 500px #000}body .fts-yt-overlay-wrap.fts-yt-target{display:block;opacity:1;z-index:9999999!important;-webkit-transition:opacity .5s ease-in;-moz-transition:opacity .5 ss ease-in;transition:opacity .5s ease-in;pointer-events:auto}.fts-fb-video-icon,.fts-watermark-inside{pointer-events:none}.fts-yt-overlay{max-width:775px;opacity:1;z-index:300;position:absolute;top:0;bottom:0;right:0;left:0;max-height:472px;padding:10px;background:#444;margin:auto!important;box-shadow:0 2px 200px #000}.fts-yt-overlay-wrap iframe{margin:0;min-height:343px;background:#000!important;margin-bottom:0!important}.fts-yt-popup-close{display:block;position:absolute;top:-19px;right:0;background:#444;color:#FFF!important;text-decoration:none;font-size:85%;font-family:verdana;font-weight:400;padding:.5% 2.5% 0;line-height:20px}.widget .fts-yt-first-video p{font-size:12px!important;margin-bottom:10px!important;margin-top:5px}.widget .fts-yt-videolist li{margin:0!important;line-height:0!important}.widget .fts-yt-videolist ul{padding-bottom:15px!important;float:left}.fts-yt-vids-in-row1 ul li iframe{margin-bottom:12px!important}@media only screen and (max-width:775px){.fts-yt-overlay{background:0 0;box-shadow:0 0 0 #000}.fts-yt-popup-close{background:0 0}}.widget .fts-yt-large .fts-yt-first-video iframe,.widget .fts-yt-vids-in-row1 li iframe{width:100%;height:0!important;min-height:100%!important;max-height:160px!important;padding:0}.fts-fluid-videoWrapper{position:relative;padding-bottom:56.25%;padding-top:25px;height:0}.fts-fluid-videoWrapper iframe{position:absolute;top:0;left:0;width:100%;height:100%;min-height:100%;background:#000;border:none}.fts-fluid-videoWrapper video{background:#000}.fts-jal-fb-vid-wrap{margin-top:10px;border-radius:0;-webkit-transition:background 2s;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.fts-jal-fb-vid-wrap iframe,.widget .fts-jal-fb-vid-wrap iframe{width:100%;margin:0!important;padding:0!important}.fts-vine-thumbnail .fts-vine-logo:before,.fts-vine-thumbnail-cover,.popup-video-gallery-fb span.fts-fb-video-icon:before{-webkit-transition:all .5s ease-out 0;-moz-transition:all .5s ease-out 0;-o-transition:all .5s ease-out 0;-webkit-font-smoothing:antialiased}.widget .fts-jal-fb-vid-wrap iframe{height:50%}.fts-yt-first-video h2{margin:0 0 7px!important}.youtube-social-btn-top{margin:0 0 5px!important}.youtube-social-btn-bottom{padding:10px 0 0 6px;clear:both}@keyframes fade{from,to{opacity:1}50%{opacity:.5}}@-webkit-keyframes fade{from,to{opacity:1}50%{opacity:.5}}.fts-vine-wrapper{text-align:center}.fts-vine-video-wrap{text-align:left;display:inline-block;max-width:290px;vertical-align:top}.fts-vine-video-wrap a.fts-vine-author{display:block;margin:5px 0 0;padding:0}.fts-vine-white-popup .mfp-close{margin-top:-40px;font-size:35px;margin-right:-10px;color:#FFF!important}.fts-vine-white-popup{position:relative;background:#FFF;padding:20px;width:auto;max-width:640px;margin:30px auto}.fts-iframe-vine{padding-top:262px}.fts-vine-author{font-size:18px;line-height:24px}.fts-vine-text{font-size:13px;line-height:18px;padding:0 15px 15px 0}.fts-vine-thumbnail{display:block;position:relative;background:0 0!important}.fts-vine-thumbnail-cover{position:absolute;z-index:100;left:0;top:0;width:100%;height:100%;opacity:0;display:inline-block;cursor:pointer}.fts-vine-logo{font-size:27px}.fts-vine-thumbnail .fts-vine-logo:before,.popup-video-gallery-fb span.fts-fb-video-icon:before{font-family:FontAwesomeSlick;font-size:100%}.fts-vine-thumbnail .fts-vine-logo:before{content:"\f1ca"!important;display:inline-block;position:absolute;z-index:200;right:12px;top:5px;line-height:1.5;color:#00bf8f}.fts-vine-thumbnail-cover:hover{opacity:.3;background:#000}.fts-vine-thumbnail:hover .fts-vine-logo:before{color:#FFF;text-shadow:2px 1px #555;-webkit-animation:wiggle .5s ease;animation:wiggle .5s ease}@-webkit-keyframes wiggle{0%,100%,40%{-webkit-transform:rotate(0);transform:rotate(0)}60%{-webkit-transform:rotate(-30deg);transform:rotate(-30deg)}80%{-webkit-transform:rotate(30deg);transform:rotate(30deg)}}@keyframes wiggle{0%,100%,40%{-webkit-transform:rotate(0);transform:rotate(0)}60%{-webkit-transform:rotate(-30deg);transform:rotate(-30deg)}80%{-webkit-transform:rotate(30deg);transform:rotate(30deg)}}@media only screen and (max-device-width:736px){.fts-iframe-vine{padding-bottom:14%!important}.fts-vine-white-popup{padding:0}}.post-5593 .entry-content{text-align:center}.fts-fb-video-popup{position:relative;background:0 0;padding:20px 60px;width:auto;max-width:1400px;margin:30px auto}.fts-fb-video-popup .mfp-close{color:#FFF!important;right:47px!important;top:-19px!important}@media only screen and (min-device-width:375px) and (max-device-width:667px){.fts-fb-video-popup{padding:20px!important}.fts-fb-video-popup .mfp-close{right:5px!important}}@media only screen and (min-device-width:414px) and (max-device-width:736px){.fts-fb-video-popup{padding:20px!important}.fts-fb-video-popup .mfp-close{right:5px!important}}@media only screen and (min-device-width:768px) and (max-device-width:1024px){.fts-fb-video-popup video{min-height:400px}.fts-fb-video-popup{padding:10px!important}.fts-fb-video-popup .mfp-close{right:-2px!important;top:-25px!important}}@media only screen and (min-device-width:768px) and (max-device-width:1024px) and (orientation:landscape){.fts-fb-video-popup video{min-height:600px}}.fts-view-fb-videos-largeeee:before{content:"";display:inline-block;margin-right:6px;-webkit-font-smoothing:antialiased;background:url(../images/fb-play-btn.png);height:80px;width:80px}.fts-fb-photo-post-wrap:hover a.fts-slicker-backg{opacity:1;outline:0!important;color:#FFF}.popup-video-gallery-fb span.fts-fb-video-icon:before{content:"\f144"!important;display:inline-block!important;opacity:.5!important;color:#FFF;outline:0!important}.popup-video-gallery-fb span.fts-fb-video-icon:hover:before{opacity:.8!important;color:#FFF}.popup-video-gallery-fb a.visible-video-button{opacity:9!important;outline:0!important;z-index:1500}.popup-video-gallery-fb .fts-fb-load-more{max-width:340px;margin:20px auto}.fts-fb-social-btn-center,.popup-video-gallery-align-center{text-align:center;font-size:0}.fts-fb-social-btn-right,.popup-video-gallery-align-right{text-align:right}.fts-fb-social-btn-left,.popup-video-gallery-align-left{text-align:left}.cycle-slideshow .fts-jal-fb-picture{max-width:100%!important}.popup-video-gallery-fb .fts-fb-photo-post-wrap{vertical-align:top!important;display:inline-block!important;float:none;text-align:left;border-radius:0;max-width:100%;max-height:100%;box-sizing:border-box}.popup-video-gallery-fb .fts-fb-photo-post-wrap .fts-jal-fb-user-name{padding-top:0!important}.fts-review-star,.fts-reviews-star{background:#4791FF;color:#FFF;font-weight:400;padding:2px 12px;border-radius:15px;border: none !important;}.fts-review-details-master-wrap .fts-review-star{background:#4791FF;color:#FFF;font-weight:400;padding:11px 12px 9px 17px;border-radius:30px;margin:0 12px 0 0;font-size:20px;float:left;vertical-align:top;line-height:22px}.fts-review-star{font-size:13px;margin-left:5px;font-style:normal;white-space:nowrap}.fts-review-star a{background:#4791FF;color:#FFF}.fts-reviews-feed .fts-jal-fb-post-time{padding-top:10px!important}.fts-review-star:after{content:"";font-size:14px}.fts-reviews-feed .fts-jal-fb-message{margin-top:5px}.fts-reviews-feed .fts-jal-fb-user-name{margin-top:0;font-size:14px}.fts-jal-fb-vid-picture .fts-fluid-videoWrapper-html5{display:none}.fts-fluid-videoWrapper .fluid-width-video-wrapper{position:initial}.fts-jal-fb-user-thumb img{width:50px;max-width:100%}.fts-jal-fb-description p{line-height:17px!important;white-space:normal!important}.fts-checked-in-text-link{display:inline-block;padding-bottom:0}.fts-checked-in-img{float:left;margin-right:10px;max-width:160px}.fts-checked-in-get-directions{margin-top:5px}.fts-instagram-fade .mfp-title,.fts-instagram-fade .mfp-title a{font-size:13px}.fts-fluid-videoWrapper-html5{margin-top:10px;width:100%}.fts-fb-slideshow.slideshow .fts-fb-photo-post-wrap{position:relative!important;float:none;display:inline-block}.fts-fb-slideshow{width:100%;padding:0;overflow:hidden}.fts-fb-slideshow>a{position:absolute;top:0;left:0;width:100%;padding:0;background-color:#222;display:block}.fts-fb-slideshow>a>img{width:100%;position:static;display:block}.fts-fb-slideshow>div{position:absolute;top:0;left:0;padding:0}.composite-example>div{background:#fff}.composite-example>div>img{display:block}.composite-example>div .cycle-overlay{color:#fff;background:#000;opacity:.6;filter:alpha(opacity=60);position:absolute;bottom:0;width:100%;padding:0}.fts-slider-center{text-align:center;padding:2px 0;background:#171717;position:relative;display:block;min-height:35px;font-size:15px;line-height:30px}.fts-slider-center span{display:inline-block;position:absolute;-webkit-text-size-adjust:none}.fts-cycle-slide p{margin:0;padding:0}.fts-prevControl-icon:before{content:'\f0a8';font-family:FontAwesomeSlick!important;font-size:24px}.fts-custom-caption{text-align:center;position:absolute;width:100%;left:0;top:2px;font-size:13px!important;line-height:30px;font-weight:700;z-index:0;letter-spacing:1px}.fts-nextControl-icon:before{font-size:24px;content:'\f0a9';font-family:FontAwesomeSlick!important}.fts-prevControl-icon{left:8px;z-index:1;cursor:pointer}.fts-nextControl-icon{right:7px;z-index:1;cursor:pointer}.fts-nextControl-icon:hover,.fts-prevControl-icon:hover{opacity:.8!important}.fb-social-btn-top{width:100%!important;overflow:hidden}.fts-instagram-fade.mfp-ready .mfp-figure{opacity:1!important}.page-id-6026 #main-header{display:none}.page-id-6026 #page-container{padding-top:0!important}.page-id-6026 .container{margin:0 auto!important;max-width:100%!important;width:100%!important}.fts-slider-icons-center{display:block;line-height:30px}.fts-pager-option{top:10px;position:relative}.fts-pager-option-top{bottom:0;position:relative;top:5px}.fts-pager-option,.fts-pager-option-top{text-align:center;width:100%;z-index:500;display:block}.fts-pager-option span{font-size:47px;width:15px;height:15px;line-height:10px;display:inline-block}.fts-pager-option span.cycle-pager-active,.fts-pager-option span:hover{opacity:.5}.fts-pager-option>*{cursor:pointer}.fts-fb-vid-popup .mfp-iframe-holder .mfp-close,.fts-fb-vid-popup .mfp-inline-holder .mfp-close{top:-50px!important;font-size:54px!important;font-weight:100;font-family:inherit}.fts-facebook-popup.mfp-bg,.fts-vine-vid-popup.mfp-bg{opacity:0;-webkit-transition:all .15s ease-out;-moz-transition:all .15s ease-out;transition:all .15s ease-out}.fts-facebook-popup.mfp-bg.mfp-ready{opacity:.8;z-index:99999990}.fts-facebook-popup.mfp-bg.mfp-removing{opacity:0}.fts-facebook-popup.mfp-wrap .mfp-content{opacity:0;-webkit-transition:all .15s ease-out;-moz-transition:all .15s ease-out;transition:all .15s ease-out}.fts-facebook-popup.mfp-wrap.mfp-ready .mfp-content{opacity:1}.fts-facebook-popup.mfp-wrap.mfp-removing .mfp-content{opacity:0}.fts-facebook-popup .mfp-close{left:0!important;margin-left:4px!important;background:0 0!important;cursor:zoom-out!important;border:none!important;box-shadow:none!important;font-size:27px!important;font-family:'Open Sans',Arial,sans-serif!important;font-weight:600!important;top:-42px!important;opacity:.5!important}.fts-facebook-popup .mfp-close:before{display:none!important}.fts-facebook-popup .mfp-iframe-holder .mfp-content,.fts-facebook-popup .mfp-inline-holder .mfp-content{max-width:1400px}.fts-facebook-popup .mfp-iframe-scaler iframe,.fts-facebook-popup .mfp-iframe-scaler video{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:none!important;background:#000;right:0;margin:auto}.fts-facebook-popup .mfp-title{padding:20px;background:rgba(255,255,255,.11);margin-top:21px}.fts-facebook-popup .fts-popup-wrap{max-width:1400px;margin:0 auto;padding:0;vertical-align:middle;width:100%;position:relative}.fts-facebook-popup .fts-popup-half{width:75%;float:left;background:#000;text-align:center;vertical-align:middle;height:100%;position:relative;z-index:88888888}.fts-facebook-popup .fts-popup-second-half{height:100%;width:25%;position:relative;float:left}.fts-facebook-popup .fts-popup-second-half .mfp-bottom-bar{margin:0;position:absolute!important;top:0;right:0;width:100%;cursor:auto;color:#000;overflow:auto}.fts-facebook-popup .fts-popup-wrap img.mfp-img{width:auto;max-width:100%;display:initial;line-height:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0;margin:0;vertical-align:middle}.fts-facebook-popup .fts-popup-wrap .mfp-counter{position:relative;bottom:0;text-align:right;right:10px;color:#c1c1c1!important;font-size:12px;line-height:18px;white-space:nowrap;display:inline-block;float:right;top:initial;margin:5px 0}.fts-facebook-popup .fts-position-helper{display:inline-block;height:100%;vertical-align:middle}.fts-facebook-popup .fts-popup-image-position{min-height:527px;width:100%;background:#000;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-user-select:none}.fts-facebook-popup .fts-popup-wrap .mfp-title{padding:0;background:rgba(255,255,255,.11);margin:0}.fts-facebook-popup .fts-popup-second-half .mfp-title a{color:#0f6fad;text-decoration:none!important}.fts-youtube-popup .fts-popup-second-half .mfp-title a{color:#0f6fad!important}.fts-facebook-popup .mfp-figure:after{content:'';position:absolute;left:0;top:0;bottom:0;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6);background:#FFF}.fts-facebook-popup .fts-popup-wrap .mfp-title p,.fts-instagram-caption-content .fts-popup-wrap .mfp-title p{color:#000!important;margin:0 0 10px!important;padding:0!important}.fts-facebook-popup .mfp-image-holder .mfp-content{max-width:1400px;width:100%}.fts-facebook-popup .fts-jal-fb-user-name{font-size:14px;margin-top:20px;padding-left:82px;display:block;padding-right:15px}.fts-facebook-popup .fts-fb-caption,.fts-facebook-popup .fts-non-popup-text,.hide-date-likes-comments-etc{display:none!important}.fts-facebook-popup .fts-jal-fb-post-time{padding-left:82px}.fts-facebook-popup .fts-instagram-caption-content,.fts-facebook-popup .fts-jal-fb-message{padding:20px 20px 0}.fts-facebook-popup .fts-fb-caption a{font-size:13px}.fts-facebook-popup i:before{margin-left:0!important;font-style:normal!important;font-size:15px!important}.fts-facebook-popup .icon-file:before{font-size:15px!important}#fts-photo-next:hover:after,#fts-photo-prev:hover:after,.fts-popup-half:hover #fts-photo-next:after,.fts-popup-half:hover #fts-photo-prev:after{opacity:1!important;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}#fts-photo-next:after,#fts-photo-prev:after{font-family:FontAwesomeSlick;font-size:58px!important;font-weight:100;opacity:0;color:#FFF;border:none!important;margin-top:-20px!important}#fts-photo-next:after{content:"\f105"}#fts-photo-prev:after{content:"\f104"}.fts-facebook-popup .mfp-arrow{background:0 0!important;width:48px!important;height:28px!important;line-height:normal!important;margin:-32px 0!important}.fts-facebook-popup .mfp-arrow:after{margin:0!important;top:0!important;border:none!important;width:48px!important;height:24px!important}.twitter-followers-fts.fts-tweets-first,.twitter-followers-fts:hover{border-bottom:4px solid #1b95e0!important}.fts-facebook-popup .mfp-arrow-left{left:5px!important}.fts-facebook-popup .mfp-arrow-right{right:5px!important}.fts-facebook-popup .fts-jal-fb-description.fts-jal-fb-description-popup,.fts-facebook-popup .hide-date-likes-comments-etc{display:inline-block!important}.fts-facebook-popup .mfp-arrow:before,.fts-iframe-popup-element,.fts-video-popup-element{display:none}.fts-jal-fb-description-popup{color:#444}.fts-facebook-popup .fts-jal-fb-description-wrap{max-height:300px;overflow:auto;max-width:100%;padding-left:20px!important;width:100%}.fts-facebook-popup *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}body .fts-facebook-popup a.fts-powered-by-text{margin:2px 20px!important;text-align:left!important;float:left!important;font-size:12px;color:#c1c1c1!important;width:auto!important;font-weight:400!important;line-height:18px!important}.fts-powered-by-text-popup a.fts-powered-by-text{display:block!important}.fts-facebook-popup .mfp-iframe-holder .mfp-bottom-bar,.fts-facebook-popup .mfp-inline-holder .mfp-bottom-bar{overflow:auto}.fts-fb-comments-content{float:left;width:100%;max-width:100%;background:#f6f7f9;padding:0 20px 20px}.fts-facebook-popup .fts-fb-location-title{font-size:15px;display:block;padding:0;font-weight:700;font-style:normal;margin:12px 0 0;color:#333}.ft-gallery-share-wrap .fa,.fts-share-wrap i{font-style:normal!important}.fts-facebook-popup .fts-instagram-caption-content,.fts-facebook-popup .fts-jal-fb-message{clear:both;font-size:15px;color:#333}.fts-facebook-popup .fts-fb-get-directions{font-size:15px;display:inline-block;padding:0 0 20px;color:#4595f0!important}.fts-facebook-popup .fts-fb-ticket-info{color:#4595f0!important}.fts-event-title-wrap{font-size:24px;line-height:24px}.fts-fb-comments-wrap{display:none!important}.fts-fb-comment{clear:both;float:left;width:100%;color:#222;margin:0;padding:15px 0 0;font-size:13px}.fts-fb-comment-user-pic{float:left;width:32px;height:32px;margin:0;border-radius:50px}.fts-fb-comment-msg{padding-left:42px;font-size:12px}.fts-fb-comment-user-name{font-weight:700;display:inline-block;font-size:12px}@media all and (max-width:900px){.fts-facebook-styles-popup .fts-popup-half,.fts-facebook-styles-popup .fts-popup-second-half{height:100%;width:100%;position:relative;float:none}.fts-facebook-styles-popup .fts-popup-half{background:#000;text-align:center;vertical-align:middle;z-index:500}.fts-facebook-styles-popup .mfp-bottom-bar{background:#FFF;padding-bottom:10px}.fts-facebook-styles-popup .mfp-iframe-holder .mfp-content,.fts-facebook-styles-popup .mfp-inline-holder .mfp-content{top:0}.fts-facebook-styles-popup .mfp-iframe-holder .fts-popup-image-position,.fts-facebook-styles-popup .mfp-inline-holder .fts-popup-image-position{height:auto!important}.fts-facebook-styles-popup .mfp-container{padding-top:40px;padding-bottom:0}.fts-facebook-styles-popup .mfp-container:before{display:none}.fts-popup-image-position{min-height:50px!important}.fts-facebook-styles-popup .fts-popup-second-half .mfp-bottom-bar{height:auto!important;overflow:visible!important}}@media all and (max-width:640px){.fts-instagram-styles-popup .fts-popup-half,.fts-instagram-styles-popup .fts-popup-second-half{height:100%;width:100%!important;position:relative;float:none}.fts-instagram-styles-popup .fts-popup-half{background:#fff;text-align:center;vertical-align:middle;z-index:500}.fts-instagram-styles-popup .mfp-bottom-bar{background:#FFF;padding-bottom:10px}.fts-instagram-styles-popup .mfp-iframe-holder .mfp-content,.fts-instagram-styles-popup .mfp-inline-holder .mfp-content{top:0}.fts-instagram-styles-popup .mfp-iframe-holder .fts-popup-image-position{height:auto!important}.fts-instagram-styles-popup .mfp-container{padding-top:40px;padding-bottom:0}.fts-instagram-styles-popup .mfp-container:before{display:none}.fts-popup-image-position{min-height:50px!important}.fts-instagram-styles-popup .fts-popup-second-half .mfp-bottom-bar{height:auto!important;overflow:visible!important}}@media all and (min-width:1900px){.fts-facebook-popup .fts-popup-second-half.fts-instagram-popup-second-half{float:left!important}.fts-facebook-popup .fts-popup-second-half{height:100%;width:100%;position:relative;float:left}.fts-facebook-popup .fts-popup-half{background:#000;text-align:center;vertical-align:middle;z-index:500;width:100%}.fts-facebook-popup .mfp-bottom-bar{background:#FFF;padding-bottom:10px}.fts-facebook-popup .mfp-iframe-holder .mfp-content,.fts-facebook-popup .mfp-inline-holder .mfp-content{top:0}.fts-facebook-popup .mfp-iframe-holder .fts-popup-image-position,.fts-facebook-popup .mfp-inline-holder .fts-popup-image-position{height:auto!important}.fts-facebook-popup .mfp-container{padding-top:40px;padding-bottom:0}.fts-facebook-popup .mfp-container:before{display:none}.fts-popup-image-position{min-height:50px!important}.fts-facebook-popup .fts-popup-second-half .mfp-bottom-bar{height:auto!important;overflow:visible!important;min-height:auto!important}}.fts-twitter-backg-image,.fts-twitter-backg-image img{margin:0!important;padding:0!important;position:relative;z-index:99}.fts-instagram .image-overlay,.fts-instagram .image-overlay-inside,.fts-instagram .image-overlay.overlay-type-extern,.fts-jal-fb-group-display .image-overlay-inside,.fts-jal-single-fb-post .image-overlay,.fts-jal-single-fb-post .image-overlay-inside,.fts-jal-single-fb-post .image-overlay.overlay-type-extern,.fts-mashup .image-overlay,.fts-mashup .image-overlay.overlay-type-extern,.fts-pinterest-wrapper .image-overlay,.fts-pinterest-wrapper .image-overlay-inside,.fts-pinterest-wrapper .image-overlay.overlay-type-extern,.fts-profile-pic a .image-overlay,.fts-profile-pic a .image-overlay-inside,.fts-profile-pic a .image-overlay.overlay-type-extern,.fts-slicker-facebook-photos .image-overlay,.fts-slicker-facebook-photos .image-overlay-inside,.fts-slicker-facebook-photos .image-overlay.overlay-type-extern,.fts-tweeter-wrap .image-overlay,.fts-tweeter-wrap .image-overlay-inside,.fts-tweeter-wrap .image-overlay.overlay-type-extern,.fts-vine-content .image-overlay,.fts-vine-content .image-overlay-inside,.fts-vine-content .image-overlay.overlay-type-extern,.fts-yt-videolist .image-overlay,.fts-yt-videolist .image-overlay-inside,.fts-yt-videolist .image-overlay.overlay-type-extern{display:none!important}.fts-facebook-popup.mfp-ready .mfp-figure{opacity:1}ul.fts-sidebar-menu ul.fts-social-bar-icons-wrap ul li{margin:0!important}.fts-instagram-inline-block-centered{text-align:center;font-size:0;margin:auto}#facebook-sidebar .fts-fb-comments-wrap{display:none}.fts-twitter-backg-image img{display:block!important;width:100%}.fts-twitter-backg-image .twitter-social-btn-top{position:absolute!important;bottom:5px;left:10px;z-index:100}.fts-twitter-followers-wrap{background:#FFF;padding:1px 5px 0 0;margin-bottom:10px;text-align:center;color:#1b95e0!important}.twitter-followers-fts{text-align:center;display:inline-block;padding:5px 15px;font-size:18px;font-weight:600!important}.twitter-followers-fts a,.twitter-followers-fts-singular a{font-weight:400!important;letter-spacing:.02em;text-transform:uppercase}.twitter-followers-fts a{display:block;color:#66757f!important;font-size:11px;transition:color .15s ease-in-out}.twitter-followers-fts:hover{transition:border .15s ease-in-out}.fts-tweets-first,.fts-tweets-first a,.twitter-followers-fts:hover a{color:#1b95e0!important}.fts-tweet-others-right{margin-left:65px}.fts-tweet-reply-left{float:left;display:inline-block}.fts-twitter-reply-wrap a{color:rgba(144,147,148,.71)}body .fts-twitter-favorites-wrap:hover{color:#c32525!important}.fts-twitter-favorites-wrap{margin-left:20px}body .fts-twitter-reply-wrap.fts-twitter-full-width{margin-left:0!important;margin-top:0}.twitter-followers-fts-singular{font-size:15px;padding:5px 0 0}.twitter-followers-fts-singular a{color:#66757f!important;font-size:11px}.twitter-social-btn-top a,.twitter-social-btn-top iframe{color:#fff!important}@media (max-width:400px){.twitter-followers-fts{padding:5px 10px;font-size:15px!important;font-weight:500!important}}.fts-twitter-full-name{font-size:14px!important}a.fts-twitter-at-name{font-size:12px!important;color:#999!important;font-weight:400!important}.fts-profile-wrap{clear:both;display:block}.fts-clear{clear:both}.fts-profile-pic{float:left;margin:0 25px 20px 0;max-width:125px}.fts-profile-pic a:hover{opacity:.8}.fts-isnta-full-name{padding:0 0 10px;float:left;margin:4px 20px 0 0}.fts-profile-name-wrap .fts-follow-header-wrap{font-size:14px;display:inline-block;letter-spacing:0;padding:7px 10px;border-radius:4px;border:1px solid #5dba00;line-height:18px}.fts-profile-description{font-size:15px;line-height:22px}.fts-profile-name-wrap{font-size:32px;margin-bottom:18px;letter-spacing:2px;line-height:28px}.fts-profile-pic img{border-radius:50%;max-width:100%}.fts-profile-stats{margin:0 0 5px}.fts-profile-stats span{font-weight:700;display:inline-block}.fts-profile-stats div{font-size:15px;display:inline-block;margin-right:20px;margin-bottom:10px}.fts-profile-wrap{max-width:630px;margin:auto;padding:0 0 20px}.fts-facebook-popup .fts-instagram-caption-content a{color:#003569!important}.fts-facebook-popup a.ft-gallery-link-popup,.fts-facebook-popup a.fts-jal-fb-see-more{font-size:12px;text-align:right;margin-top:15px;border-top:1px solid #eee;border-bottom:1px solid #eee;padding:13px 20px 11px 40px;background:#f6f7f9;display:block!important;width:100%!important}.fts-instagram-popup-profile-wrap{display:none}.fts-facebook-popup.fts-instagram-styles-popup .fts-profile-pic{display:block;padding:15px 10px 0 15px;margin:0}.fts-facebook-popup.fts-instagram-styles-popup .fts-profile-pic img{display:block;width:40px}.fts-facebook-popup.fts-instagram-styles-popup .fts-isnta-full-name{font-size:17px;letter-spacing:normal;color:#333}.fts-facebook-popup.fts-instagram-styles-popup .fts-profile-name-wrap{padding-top:15px}.fts-follow-header-wrap{margin-right:15px;color:#5dba00}.fts-follow-header-wrap a{color:#5dba00!important}.fts-facebook-popup.fts-instagram-styles-popup .fts-insta-date-popup-grab{clear:both;text-align:right;margin:55px 15px -8px!important;color:#999;border-top:1px solid #eee;padding-top:12px;font-size:14px}.fts-facebook-popup.fts-instagram-styles-popup a.fts-view-on-instagram-link{margin:20px 15px 0;padding:10px 0!important;color:#9f9f9f!important}.fts-facebook-popup.fts-instagram-styles-popup .fts-view-on-instagram-link:before{font-size:15px;top:1px;position:relative;margin-left:5px}.fts-facebook-popup.fts-instagram-styles-popup .fts-follow-header-wrap{float:right;margin:0 15px 20px 0;color:#5dba00;font-size:12px}.fts-facebook-popup.fts-instagram-styles-popup .heart-comments-wrap,.fts-facebook-popup.fts-instagram-styles-popup .slicker-heart-comments-wrap{position:relative;color:#444!important;margin:0 0 0 15px!important;font-size:14px;width:auto!important;left:0}.fts-facebook-popup.fts-instagram-styles-popup .heart-comments-wrap li,.fts-facebook-popup.fts-instagram-styles-popup .slicker-heart-comments-wrap li{display:inline-block;margin-right:15px!important;margin-top:-5px!important;opacity:1}.fts-facebook-popup.fts-instagram-styles-popup .fts-comment-instagram:before{font-size:14px}.fts-facebook-popup.fts-instagram-styles-popup .fts-popup-half.fts-instagram-popup-half{width:64%}.fts-facebook-popup.fts-instagram-styles-popup .fts-popup-second-half.fts-instagram-popup-second-half{width:36%}.fts-facebook-popup.fts-instagram-styles-popup .fts-instagram-popup-half .fts-popup-image-position{min-height:auto!important}.fts-facebook-popup.fts-instagram-styles-popup .fts-popup-second-half .mfp-bottom-bar{margin:0;position:absolute!important;top:0;right:0;width:100%;cursor:auto;color:#000;overflow:auto;min-height:200px}.fts-facebook-popup.fts-instagram-styles-popup .mfp-iframe-holder .mfp-content,.fts-facebook-popup.fts-instagram-styles-popup .mfp-image-holder .mfp-content,.fts-facebook-popup.fts-instagram-styles-popup .mfp-inline-holder .mfp-content{max-width:1000px;width:100%}.fts-facebook-popup.fts-instagram-styles-popup .heart-comments-wrap{margin:-18px 0 0 15px!important}.fts-facebook-popup a.fts-view-on-instagram-link{font-size:12px;text-align:left;margin-top:15px;border-top:1px solid #eee;border-bottom:1px solid #eee;color:#555!important;padding:10px 20px;background:#FFF;display:block}.fts-mashup-post-wrap{padding:0!important;border-bottom:1px solid rgba(184,184,184,.3);line-height:17px;margin-bottom:10px;position:relative;display:inline-block;width:100%}.fts-mashup-type-name{clear:both;width:100%;display:block;background:#f7f7f7;margin-bottom:10px;box-shadow:1px 1px 0 #ddd}.fts-mashup-type-name span{display:block;padding:0 7px 3px 0;text-align:right;font-size:10px;color:#bfbfbf;line-height:14px}.fts-mashup-count-wrap{width:100%;clear:both;display:block;padding-top:12px;text-align:left;margin-bottom:6px;float:left}.fts-mashup-count-wrap a{display:inline-block;font-size:13px}.fts-mashup-count-wrap .fts-tweet-reply-left{float:none;display:inline-block}.fts-mashup-description-wrap{clear:both;padding-top:5px;line-height:18px}.fts-jal-fb-post-time{margin-bottom:8px}.twitter-video{min-width:200px!important}.fts-mashup .fts-mashup-image-and-video-wrap{margin-top:8px;position:relative;line-height:0}.fts-mashup-count-wrap .slicker-heart-comments-wrap{position:relative;top:inherit;bottom:inherit;margin:0!important}.fts-mashup-count-wrap .slicker-heart-comments-wrap li.slicker-instagram-image-likes{padding-left:0!important}.fts-mashup .fts-twitter-description-image{margin-top:0!important}.fts-mashup .fts-single-pin-social-meta-wrap{margin:0}.fts-mashup .fts-single-pin-social-meta-wrap span{margin-top:0;font-size:14px}.fts-mashup .fts-youtube-title{font-weight:700;font-size:12px;padding:8px 0 0;line-height:14px}.fts-mashup-post-wrap .fts-jal-single-fb-post{padding-top:0!important}.fts-mashup .fts-jal-single-fb-post{border-bottom:none}.fts-mashup .fts-jal-fb-picture,.fts-mashup .fts-jal-fb-vid-picture{margin-top:0}.fts-mashup .fts-jal-single-fb-post .fts-jal-fb-user-thumb a:before,.fts-mashup-instagram-icon a:before,.fts-mashup-pinterest-icon a:before,.fts-mashup-twitter-icon a:before,.fts-mashup-wp_gallery-icon a:before,.fts-mashup-youtube-icon a:before{font-family:FontAwesomeSlick;font-size:32px;font-weight:100!important}.fts-mashup-instagram-icon a:before{content:"\f16d";font-size:37px;top:2px;position:relative}.fts-mashup .fts-jal-single-fb-post .fts-jal-fb-user-thumb a:before{content:"\f09a";top:2px;position:relative;left:8px;font-size:30px}.fts-mashup-hide-fb-icon .fts-jal-single-fb-post .fts-jal-fb-user-thumb a:before{content:""}.fts-mashup-twitter-icon a:before{content:"\f099";top:0;position:relative;left:3px}.fts-mashup-pinterest-icon a:before{content:"\f231";position:relative;top:3px;left:5px}.fts-mashup-youtube-icon a:before{content:"\f167";position:relative;top:2px;left:4px}.fts-mashup-icon-wrap-left.fts-mashup-youtube-icon a:before{top:0;left:2px}.slicker-instagram-placeholder .ft-text-for-popup-content{padding:5px 15px;opacity:0;z-index:10;position:relative;color:#FFF}.slicker-instagram-placeholder .fts-mashup-count-wrap{opacity:0;z-index:10;position:absolute;bottom:-5px;left:5px;color:#FFF}.slicker-instagram-placeholder:hover .fts-mashup-count-wrap a{color:#FFF!important;font-size:12px}.slicker-instagram-placeholder .fts-mashup-count-wrap a{color:#FFF;font-size:12px}.slicker-instagram-placeholder:hover .ft-text-for-popup-content,.slicker-instagram-placeholder:hover .fts-mashup-count-wrap{opacity:1;color:rgba(255,255,255,.88)}.slicker-instagram-placeholder .ft-gallery-link-popup{font-size:14px;position:absolute;bottom:10px;left:10px}.ft-gallery-link-popup:before{font-family:FontAwesomeSlick;content:"\f14d ";display:inline-block;margin-right:6px;-webkit-font-smoothing:antialiased;font-size:16px;margin-top:1px;margin-left:1px}.fts-mashup-wp_gallery-icon a:before{content:"\f19a";position:relative;top:2px;left:4px}.fts-mashup-icon-wrap-left.fts-mashup-wp_gallery-icon a:before{top:0;left:2px}.fts-mashup-icon-wrap-right.fts-mashup-wp_gallery-icon{margin-top:3px;margin-right:5px}.slicker-instagram-placeholder .ft-wp-gallery-icon{margin-top:-12px;margin-right:0}.fts-mashup-icon-wrap-left.fts-mashup-twitter-icon a:before{top:0;left:3px}.fts-mashup-type-icon-spacer{clear:both;width:100%;display:block;background:#f7f7f7;margin-bottom:2px}.fts-feed-type-wp_gallery .fts-mashup-description-wrap{margin:0 0 15px}.fts-mashup .fts-feed-type-facebook .fts-jal-fb-user-thumb,.fts-mashup-hide-fb-thumb.fts-feed-type-facebook .fts-jal-fb-user-thumb{display:none!important}.fts-feed-type-facebook .fts-mashup-icon-wrap-left a:before,.fts-feed-type-facebook .fts-mashup-icon-wrap-right a:before{content:"\f09a";top:2px;position:relative;left:9px;font-size:28px!important}.fts-mashup-type-icon{float:left;height:40px;margin:15px 10px 0 0}.fts-mashup .fts-jal-single-fb-post .fts-jal-fb-user-thumb{width:40px;height:45px;float:left;margin:0}.fts-mashup .fts-jal-single-fb-post .fts-jal-fb-user-thumb a,.fts-mashup-icon-wrap{float:left;height:45px;width:40px;padding-top:13px;position:relative;margin-top:0!important;text-decoration:none!important}.fts-mashup-hide-fb-icon .fts-jal-single-fb-post .fts-jal-fb-user-thumb a{float:left;height:50px;width:50px;padding-top:0;position:relative;margin-top:0!important;text-decoration:none!important}.fts-mashup-hide-fb-icon .fts-jal-single-fb-post .fts-jal-fb-user-thumb{width:50px;height:50px;float:left;margin:0 15px 0 0}.fts-mashup .fts-jal-fb-message{line-height:18px;padding-top:5px}.fts-mashup-count-wrap a,.fts-mashup-icon-wrap a{text-decoration:none!important}.fts-mashup .fts-jal-fb-post-time{padding-top:3px}.fts-mashup .fts-likes-shares-etc-wrap{float:left;width:100%;padding:0}.fts-mashup .icon-thumbs-up:before,.fts-single-pin-social-meta-wrap,.fts-tweet-reply-left{margin-left:5px!important}.fts-mashup .fts-jal-fb-see-more,.fts-mashup .fts-mashup-count-wrap .slicker-heart-comments-wrap li,.fts-mashup .slicker-instagram-placeholder .slicker-heart-comments-wrap li{font-size:12px!important}.fts-mashup .fts-comment-instagram:before,.fts-mashup .fts-jal-fb-see-more .icon-comments:before,.fts-mashup .fts-jal-fb-see-more .icon-file-up:before,.fts-mashup .fts-jal-fb-see-more .icon-thumbs-up:before{font-size:14px}.fts-mashup-icon-wrap-right{float:right}.fts-mashup-icon-wrap-right a{text-decoration:none!important;font-size:12px}.fts-mashup-icon-wrap-left a:before,.fts-mashup-icon-wrap-right a:before{font-family:FontAwesomeSlick;font-weight:100!important;top:12px}.fts-mashup-icon-wrap-right.fts-mashup-facebook-icon{position:absolute;right:18px;top:13px;z-index:1}.fts-mashup-hide-fb-icon.fts-feed-type-facebook .fts-mashup-icon-wrap-right a:before{font-size:30px!important}.fts-mashup-icon-wrap-left{float:left;margin:16px 12px 0 0}.fts-feed-type-pinterest .fts-mashup-icon-wrap-left a:before{left:4px;top:0}.fts-mashup .fts-feed-type-facebook .fts-jal-fb-user-thumb a:before{font-family:FontAwesomeSlick!important;content:"\f09a"!important;top:2px!important;position:relative!important;left:8px!important;font-size:29px!important}.fts-mashup .fts-mashup-icon-left .fts-jal-fb-user-thumb{display:block!important}.fts-feed-type-facebook.fts-mashup-hide-fb-thumb .fts-jal-fb-user-thumb,.fts-mashup .fts-mashup-hide-fb-icon-and-thumbnail.fts-feed-type-facebook .fts-jal-fb-user-thumb,.fts-mashup-hide-fb-icon-and-thumbnail .fts-jal-fb-user-thumb,.fts-mashup-icon-left .fts-jal-fb-user-thumb img{display:none!important}.fts-mashup-icon-left .fts-feed-type-facebook .fts-jal-fb-user-thumb a:before{content:''!important}.fts-mashup-icon-left.fts-feed-type-facebook.fts-mashup-hide-fb-thumb .fts-jal-fb-user-thumb{display:block!important}body div.fts-mashup-hide-fb-thumbnail-icon .fts-jal-fb-user-thumb a:before{display:none}body div.fts-mashup-hide-fb-thumbnail-icon .fts-jal-fb-user-thumb{width:50px!important;height:50px!important;margin-right:10px!important;margin-bottom:10px!important}body .fts-mashup .fts-mashup-hide-fb-thumbnail-icon .fts-jal-single-fb-post .fts-jal-fb-user-thumb a{width:50px!important;height:50px!important;margin-top:0!important;padding:0!important}.fts-mashup .fts-likes-shares-etc-wrap a{color:#777}.fts-mashup-error-notice{padding-right:42px;position:absolute;top:5px}.fts-mashup-icon-left .fts-mashup-error-notice{margin-left:45px}.fts-mashup-icon-wrap-left a{text-decoration:none!important}.fts-mashup-icon-wrap-right.fts-mashup-youtube-icon a:before{left:-2px!important;top:15px}.fts-mashup-icon-wrap-right.fts-mashup-twitter-icon a:before{left:-2px!important}.fts-mashup-icon-wrap-right.fts-mashup-pinterest-icon a:before{left:0!important}.fts-mashup .fts-jal-fb-user-name{margin-right:23px}.fts-mashup-media-top.fts-mashup-post-wrap .fts-jal-fb-user-name{margin-left:10px;padding-top:0}.fts-mashup-media-top .fts-jal-fb-user-name{margin-left:10px}.fts-mashup .fts-jal-fb-message p,.fts-mashup-description-wrap p{margin:4px 0 5px!important;font-size:14px}.fts-single-pin-meta-wrap .fts-single-pin-social-meta-wrap{margin-left:15px!important}.fts-review-details-wrap{margin-top:0}.fts-review-details-master-wrap{display:block;clear:both;padding:10px 10px 15px;background:#FFF;border-bottom:1px solid rgba(184,184,184,.3)}.fts-reviews-overall-rating-stars{margin:auto}.fts-review-details-wrap{padding:5px 0 0;line-height:17px}.fts-review-details-master-wrap-no-background-or-border{background:0 0!important;border:none!important}.fts-slicker-twitter-posts .fts-tweeter-wrap .tweeter-info{padding:11px 0 7px}.fts-slicker-twitter-posts .fts-twitter-image{margin-left:11px!important}.fts-slicker-twitter-posts .tweeter-info .fts-twitter-full-width{padding:0 10px 10px}.fts-slicker-twitter-posts .tweeter-info .fts-twitter-full-width.fts-twitter-reply-wrap{padding:0 10px 2px}.tweeter-info .twitter-video{margin:0 -8px -5px!important}.fts-fb-get-directions,.fts-fb-ticket-info{display:inline-block}.fts-fb-ticket-info:before{content:'|';margin-left:10px;margin-right:10px}.fts-facebook-popup .ft-text-for-popup-content .fts-jal-fb-post-time,.fts-facebook-popup .ft-text-for-popup-content .fts-jal-fb-user-name,.fts-facebook-popup .ft-text-for-popup-content .fts-mashup-description-wrap{padding-right:15px}.fts-facebook-popup .ft-text-for-popup-content .fts-mashup-description-wrap{margin-top:20px;margin-bottom:25px;padding-left:20px!important}.fts-facebook-popup .ft-text-for-popup-content .fts-jal-fb-user-name{margin-top:12px;padding-left:20px!important}.fts-facebook-popup .ft-text-for-popup-content .fts-jal-fb-post-time{padding-left:20px!important}.fts-facebook-popup .ft-text-for-popup-content .fts-mashup-icon-wrap-right.fts-mashup-wp_gallery-icon{margin-right:20px!important;margin-top:-1px}.fts-facebook-popup a.ft-gallery-link-popup{font-size:12px;text-align:left;margin-top:15px;border-top:0 solid #eee;border-bottom:0 solid #eee;padding:14px 20px 10px;background:0 0;display:inline-block;float:left}.fts-facebook-popup .ft-text-for-popup-content .fts-mashup-description-wrap p{padding-top:0;line-height:21px;word-wrap:break-word;font-size:15px;color:#333}.ft-text-for-popup-content{text-align:left}.fts-slicker-facebook-photos .ft-text-for-popup-content .fts-jal-fb-post-time{color:#9d9d9d!important;margin-top:0}.ft-image-overlay{position:absolute;top:0;left:0;height:100%;width:100%}.fts-popup-second-half .fts-watermark-inside{display:none!important}.fts-watermark-inside-center{position:absolute;top:50%;text-align:center;transform:translateY(-50%);width:100%}.fts-watermark-inside-top-center{position:absolute;text-align:center;top:0;width:100%}.fts-watermark-inside-bottom-center{position:absolute;bottom:0;text-align:center;width:100%}.fts-watermark-inside-bottom-left{position:absolute;bottom:0}.fts-watermark-inside-bottom-right{position:absolute;text-align:right;bottom:0;width:100%}.fts-watermark-inside-top-right{position:absolute;width:100%;top:0;text-align:right}.fts-watermark-inside-top-left{position:absolute;text-align:left;top:0;width:100%}.fts-watermark-inside img{max-width:100%;height:auto;display:inline-block;margin:0}.fts-mashup-image-and-video-wrap .fts-watermark-inside img{max-width:75%!important}.ft-gallery-share-wrap{display:none;margin-top:0;position:absolute;left:20px;background:#fff;top:-8px;min-width:145px;box-shadow:2px -2px 3px 0 rgba(187,187,187,.8);width:100%;z-index:1000;text-align:left}.fts-popup-second-half .ft-gallery-share-wrap{left:50px;background:#f6f7f9;top:8px}.ft-gallery-share-wrap a{display:inline-block!important}.fts-share-wrap{padding:0;float:left;width:auto;margin:9px 0 0;display:inline-block;position:relative;z-index:1}a.fts-jal-fb-see-more{width:auto!important;display:inline-block!important;text-align:left}.ft-gallery-share-wrap .fa{display:inline-block!important;font-family:FontAwesomeSlick!important;font-weight:400!important;line-height:1!important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ft-gallery-share-wrap .fa-facebook-square:before{content:"\f082";font-size:17px!important}.ft-gallery-share-wrap .fa-linkedin:before{content:"\f0e1";font-size:16px!important}.ft-gallery-share-wrap .fa-google-plus:before{content:"\f0d5";font-size:16px!important}.ft-gallery-share-wrap .fa-pinterest-plus:before{content:"\f0d2";font-size:15px!important}.ft-gallery-share-wrap .fa-twitter:before{content:"\f099";font-size:19px!important;top:1px;position:relative}.ft-gallery-share-wrap .fa-envelope:before{content:"\f0e0";font-size:16px!important}.ft-gallery-link-popup{margin:5px 0 0!important}.ft-gallery-share-wrap a:hover{opacity:.8}.fts-slicker-facebook-photos .fts-share-wrap a{color:#FFF!important}.fts-slicker-facebook-photos .fts-mashup-count-wrap{clear:both;display:block!important;top:-21px;left:16px}.fts-slicker-facebook-photos .fts-likes-shares-etc-wrap{outline:0;z-index:5000!important;color:#FFF;position:absolute;bottom:10px!important;display:none;width:100%;text-align:left}.fts-slicker-facebook-photos .fts-jal-fb-see-more{bottom:0!important;position:absolute;left:10px}.fts-mashup-post-wrap.fts-feed-type-facebook .fts-mashup-count-wrap.fts-share-wrap{margin:10px 3px 0 0;padding:0}.fts-mashup-post-wrap.fts-feed-type-facebook .fts-mashup-count-wrap.fts-share-wrap a.ft-gallery-link-popup{margin:0!important}.fts-mashup-post-wrap.fts-feed-type-facebook .ft-gallery-share-wrap{top:-7px}.fts-mashup-count-wrap.fts-share-wrap .ft-gallery-link-popup{margin-top:0!important}.fts-twitter-reply-wrap{float:left}.fts-instagram-reply-wrap-left,.fts-pinterest-reply-wrap-left,.fts-youtube-reply-wrap-left{float:right}.fts-tweeter-wrap .fts-share-wrap{padding:7px 0 0;margin-top:10px}.ft-gallery-share-wrap a{margin:7px 5px;font-size:13px}.fts-tweeter-wrap .ft-gallery-share-wrap{top:-10px}.fts-tweeter-wrap .fts-mashup-count-wrap a{display:inline-block;margin:7px 5px;font-size:13px}body .fts-slicker-facebook-photos .fts-tweeter-wrap .ft-gallery-share-wrap{max-width:132px!important;width:100%!important}.fts-tweeter-wrap .ft-gallery-link-popup{font-size:13px}.fts-twitter-reply-wrap-left{float:right;padding:10px 10px 0;margin-top:10px}.fts-tweet-others-right a{display:inline-block}.fts-twitter-reply-wrap .fts-share-wrap{margin-top:10px;padding:0}.fts-share-wrap .fts-share-wrap{margin-top:10px}.fts-twitter-reply-wrap .fts-share-wrap a.ft-gallery-link-popup{margin-top:0!important}.fts-slicker-twitter-posts .fts-twitter-reply-wrap-left{padding:0 10px 2px!important;margin:10px 0 0!important}.ft-galleryfacebook-icon{margin-left:11px!important}.fts-mashup-post-wrap .fts-tweet-reply-left{margin-right:35px;padding:0 5px}.fts-mashup-post-wrap .fts-twitter-reply-wrap-left{padding:0;margin-top:0}.fts-share-wrap .ft-gallery-link-popup{margin:0!important;font-size:12px}.fts-mashup-count-wrap .fts-share-wrap{margin:0!important}.fts-instagram-reply-wrap-left{margin-right:8px}.fts-popup-second-half .fts-share-wrap{margin:15px 0 -64px}.fts-popup-second-half .mfp-title .ft-gallery-share-wrap a{color:#137fc4}.fts-instagram-styles-popup .fts-share-wrap .ft-gallery-share-wrap a,.fts-instagram-styles-popup .fts-share-wrap a.ft-gallery-link-popup{color:#444}.fts-youtube-reply-wrap-left a{font-size:12px}.fts-mashup-post-wrap.fts-feed-type-facebook .fts-jal-fb-see-more{margin-bottom:-1px;text-transform:none!important}.fts-instagram-styles-popup .ft-gallery-link-popup,.fts-instagram-styles-popup .fts-share-wrap{margin:0!important;padding:0!important}.fts-instagram-styles-popup .fts-instagram-reply-wrap-left{float:left;margin-left:20px}.fts-instagram-styles-popup .fts-share-wrap{background:#fff;top:-11px;left:19px;position:relative;z-index:1000}.fts-instagram-styles-popup .ft-gallery-share-wrap{top:-6px;left:25px;background:#FFF}.fts-instagram-styles-popup .ft-gallery-link-popup:before{content:"\f064";margin-right:10px}.slicker-instagram-placeholder .ft-gallery-link-popup:before{content:"\f064";color:#FFF;font-size:15px;position:relative;top:2px}.slicker-instagram-placeholder .ft-gallery-share-wrap{top:-19px;left:35px;box-shadow:2px -2px 3px 0 #222!important;background:#000}.slicker-instagram-placeholder .ft-gallery-share-wrap a{color:#FFF}.fts-facebook-popup .ft-gallery-link-popup:before{font-family:FontAwesomeSlick;content:"\f064 ";margin-left:8px}.fts-mashup-count-wrap .fts-instagram-reply-wrap-left{margin-right:-8px}.fts-facebook-thumb-one,.fts-facebook-thumb-zero{margin-right:1px!important;display:inline-block;margin-bottom:1px!important}a.fts-facebook-thumbs-wrap{display:inline-block;max-width:515px}.fts-facebook-thumb-two{display:inline-block}.fts-image-count-tint-underlay{position:absolute;top:0;bottom:0;right:0;left:0;background:rgba(0,0,0,.5)}.fts-fb-thumbs-wrap,.fts-more-photos-auto-width .fts-fb-thumbs-wrap{position:relative;background-size:cover!important;background-position:center center!important;display:inline-block!important;overflow:hidden}.fts-fb-thumbs-wrap{margin-right:.233333%!important}.fts-2-photos.fts-fb-thumbs-wrap,.fts-more-photos-3-photos .fts-fb-thumb-two-wrap{margin-right:0!important}.fts-3-photos{max-width:33.1%}.fts-2-photos{max-width:49.77%}.fts-fb-more-photos-wrap .fts-jal-fb-picture{margin-bottom:1px!important}.fts-more-photos-auto-width{float:none!important;margin:10px 0 4px}.fts-more-photos-auto-width a{width:49.84%;margin:0!important}.fts-more-photos-auto-width .fts-fb-thumbs-wrap{max-width:100%;margin-right:0!important;margin-left:.2333333333%!important;margin:0 0 4px;z-index:0;background-repeat:no-repeat;vertical-align:top}.fts-more-photos-auto-width .fts-jal-fb-picture{float:none!important;display:inline-block!important;margin:0!important}.fts-more-photos-three-photo-wrap .fts-fb-thumbs-wrap{display:inline-block!important;max-width:100%;margin-right:.233333333%!important;margin:0 0 4px;width:49.887%;overflow:hidden;max-height:240px}.fts-fb-scrollable,.fts-twitter-scrollable,.fts-youtube-scrollable{overflow:auto}.ft-text-for-popup,.fts-slicker-facebook-albums .fts-fb-load-more-output,.fts-slicker-facebook-albums .fts-share-wrap,.fts-slicker-facebook-photos .fts-share-wrap,.fts-twitter-reply-wrap-left p{display:none}.fts-more-photos-three-photo-wrap .fts-fb-thumb-one-wrap{margin-right:0!important}.fts-image-count{position:absolute;bottom:50%;width:100%;top:50%;text-align:center;font-size:36px;color:#fff;line-height:36px;height:36px;transform:translate(0,-50%)}.fts-image-count span{position:relative;bottom:0;font-size:35px}.fts-fb-more-photos-wrap{width:100%}@media (max-width:375px){.fts-image-count,.fts-image-count span{font-size:20px}}@media (max-width:667px){.fts-image-count,.fts-image-count span{font-size:34px}}.ft-gallery-buy-now{margin:0 12px}.fts-mashup-post-wrap .fts-share-wrap,.fts-slicker-facebook-albums.ft-wp-gallery .fts-share-wrap{display:block}.fts-mashup-count-wrap .fts-twitter-reply-wrap.fts-twitter-no-margin-left,.fts-mashup-hide-date .fts-jal-fb-post-time,.fts-mashup-hide-name .fts-jal-fb-user-name,.fts-mashup-media-top .fts-jal-fb-description-wrap,.fts-mashup-media-top .fts-mashup-type-icon-spacer{display:none}.ft-wp-gallery .fts-share-wrap a{color:#777!important}.fts-slicker-facebook-posts img{max-width:100%}.fts-twitter-no-margin-left{margin-left:71px;clear:both}.fts-instagram-styles-popup .fts-comment-instagram:before{font-size:14px!important}.fts-smallerthan-180 .fts-instagram-link-target{padding-left:50%;padding-bottom:50%;padding-top:50%}.fts-smallerthan-180 .fts-instagram-link-target span:before{content:''!important}.fts-smallerthan-180 .fts-instagram-link-target:hover,.fts-smallerthan-180.slicker-instagram-placeholder:hover .slicker-instaG-photoshadow{background:0 0!important}.fts-instagram,.fts-instagram-scrollable{margin:auto}.fts-mashup-hide-name .fts-mashup-description-wrap,.fts-mashup-hide-name.fts-mashup-hide-date .fts-jal-fb-message{padding-top:0!important}.fts-mashup-description-wrap a{word-wrap:break-word}.fts-mashup-image-and-video-wrap.popup-gallery-twitter .twitter-video{margin:-8px!important}.fts-mashup-media-top .fts-mashup-image-and-video-wrap.popup-gallery-twitter{margin-top:0}.fts-mashup-media-top .fts-likes-shares-etc-wrap,.fts-mashup-media-top .fts-mashup-description-wrap,body .fts-mashup-post-wrap.fts-mashup-media-top .fts-jal-fb-message{padding:0 10px!important}.fts-mashup-media-top .fts-youtube-title{padding:10px 10px 0;display:none}.fts-mashup-post-wrap .fts-jal-single-fb-post .fts-jal-fb-vid-wrap .fts-jal-fb-description-wrap{padding:5px 10px 0!important}.fts-mashup-media-top .fts-mashup-count-wrap{padding:8px 10px 7px!important;margin-bottom:0;margin-top:4px}.fts-mashup-media-top .fts-likes-shares-etc-wrap{padding:7px 10px 8px!important;margin-bottom:0;margin-top:10px}.fts-mashup-media-top .fts-jal-single-fb-post{padding-bottom:0!important}.fts-mashup-media-top .fts-jal-fb-post-time{padding:5px 10px 7px!important}.fts-mashup-hide-thumbnail.fts-mashup-media-top .fts-jal-fb-user-name,.fts-mashup-hide-thumbnail.fts-mashup-media-top .fts-jal-single-fb-post .fts-jal-fb-user-name,.fts-mashup-media-top .fts-jal-fb-message{padding:0 10px!important}.fts-mashup-media-top .fts-jal-fb-see-more,.fts-mashup-media-top .fts-share-wrap{margin-top:0}.fts-mashup-media-top .fts-mashup-youtube-icon a:before{margin-right:8px!important;top:10px}.fts-mashup-media-top .fts-mashup-twitter-icon a:before{margin-right:8px!important;top:5px}.fts-mashup-media-top .fts-mashup-pinterest-icon a:before{margin-right:8px!important;top:9px}.fts-mashup-media-top .fts-mashup-instagram-icon a:before{margin-right:9px!important;top:9px}.fts-mashup-media-top .fts-mashup-icon-wrap-right.fts-mashup-facebook-icon{position:unset;right:unset;top:unset;z-index:1;float:right!important}.fts-mashup-media-top .fts-jal-fb-top-wrap{display:none!important}.fts-jal-fb-group-display.fts-mashup-media-top .fts-jal-single-fb-post .fts-jal-fb-top-wrap,.fts-mashup-hide-thumbnail .fts-jal-fb-user-thumb,.slicker-youtube-placeholder .entriestitle{display:none}.fts-mashup-media-top .fts-jal-fb-link-wrap,.fts-mashup-media-top .fts-jal-fb-vid-wrap{margin-top:0;margin-bottom:10px;text-align:center}.fts-mashup-media-top .fts-jal-fb-link-wrap .fts-jal-fb-picture,.fts-mashup-media-top .fts-jal-fb-vid-wrap{float:none}.fts-mashup-media-top .fts-jal-fb-picture,.fts-mashup-media-top .fts-jal-fb-vid-picture{margin-bottom:0!important}.fts-mashup-media-top .fts-mashup-icon-wrap-left{margin-left:10px;margin-right:5px;margin-top:3px;top:0}.fts-mashup-media-top .fts-mashup-icon-wrap-left.fts-mashup-instagram-icon,.fts-mashup-media-top .fts-mashup-icon-wrap-left.fts-mashup-pinterest-icon{margin-top:2px;min-height:40px}.fts-mashup-media-top .fts-mashup-icon-wrap-left.fts-mashup-instagram-icon{margin-right:0;margin-top:0}.fts-mashup-media-top .fts-mashup-icon-wrap-left.fts-mashup-youtube-icon a:before{margin-right:8px!important;top:6px}.fts-mashup-media-top .fts-mashup-icon-wrap-right.fts-mashup-facebook-icon{margin-right:20px!important;margin-top:4px!important}.fts-mashup-media-top .fts-mashup-icon-wrap-left.fts-mashup-facebook-icon{margin-top:8px!important}.fts-mashup-media-top .fts-mashup-icon-wrap-left.fts-mashup-youtube-icon{margin-top:5px!important}.fts-mashup-media-top .fts-mashup-image-and-video-wrap{margin-bottom:12px}.fts-mashup-media-top.fts-feed-type-facebook .fts-mashup-image-and-video-wrap.popup-gallery-twitter{margin:0}.fts-feed-type-facebook .fts-mashup-icon-wrap-left{margin-top:17px;margin-right:20px}.fts-mashup-icon-wrap-left.fts-mashup-instagram-icon{margin-top:3px}.fts-mashup-icon-wrap-left,.fts-mashup-icon-wrap-right{min-height:35px}.fts-jal-fb-group-display.fts-mashup-media-top .fts-jal-single-fb-post{padding-bottom:6px!important;border:none;margin-bottom:10px;background:#fff;margin-top:0!important;padding-top:0!important}.fts-mashup-media-top .fts-jal-fb-link-wrap a,.fts-mashup-media-top .fts-jal-fb-vid-picture{margin-top:0!important;line-height:0!important}.fts-mashup-media-top.fts-slicker-facebook-posts .fts-jal-single-fb-post{padding:0 0 8px!important}.fts-mashup-media-top .fts-jal-fb-user-thumb{margin-left:10px;margin-bottom:12px}.fts-yt-open{display:block;width:100%;height:100%;position:absolute}.fts-master-youtube-wrap .slicker-instagram-placeholder{position:relative;background-size:cover}.fts-facebook-popup.mfp-ready{z-index:99999999999999}.fts-youtube-popup h3{color:#111;padding:20px 40px 0 20px!important;margin-bottom:2px;font-size:24px;margin-top:0}.fts-youtube-popup h4{color:#222;padding:0 20px 4px!important;font-size:17px}.fts-youtube-description-popup{padding:0 20px 20px;color:#000}.fts-youtube-date{color:#9a9a9a;padding:0 20px 20px!important;font-size:13px}.fts-yt-open:hover{background:rgba(0,0,0,.5);cursor:pointer}.fts-master-youtube-wrap .slicker-youtube-placeholder{min-height:100px}.fts-youtube-popup-gallery,.fts-youtube-scrollable{clear:both;display:block}.fts-yt-open:hover:before{font-family:FontAwesomeSlick;content:"\f04b";display:block;font-size:32px;color:rgba(255,255,255,.54);position:absolute;top:45%;right:45%;left:43%}.fts-youtube-smallerthan-180 .fts-yt-open:hover:before{content:""}.fts-jal-fb-vid-picture a{margin:0}.fts-facebook-popup .mfp-inline-holder .mfp-close{color:#FFF;right:-6px;text-align:right;padding-right:6px;width:100%}.fts-more-photos-4-photos a{max-height:150px;display:inline-block;width:auto}.fts-more-photos-2-photos a{max-height:250px}.fts-youtube-scrollable .fts-fb-autoscroll-loader{background:0 0}.fts-yt-large.fts-youtube-thumbs-wrap{float:left}.fts-youtube-scrollable.fts-youtube-thumbs-wrap{float:right;clear:none}.fts-youtube-scrollable.fts-youtube-thumbs-wrap-left{float:left;clear:none}.fts-yt-large.fts-youtube-thumbs-wrap-left{float:right}.fts-yt-large.fts-youtube-thumbs-wrap-option-80-20{width:80%}.fts-youtube-scrollable.fts-youtube-thumbs-wrap-option-80-20{width:20%}.fts-yt-large.fts-youtube-thumbs-wrap-option-60-40{width:60%}.fts-youtube-scrollable.fts-youtube-thumbs-wrap-option-60-40{width:40%}.fts-youtube-scrollable.fts-youtube-thumbs-wrap-option-50-50,.fts-yt-large.fts-youtube-thumbs-wrap-option-50-50{width:50%}.fts-fb-comment .image-overlay-inside{display:none}.fts-youtube-popup .fts-fb-comment img{border-radius:30px}.fts-youtube-popup span.fts-fb-comment-date{color:#a6a6a6;padding-left:2px;font-size:12px!important}.fts-youtube-popup .fts-popup-second-half .mfp-title .fts-fb-comment-user-name a{color:#333!important}.youtube-comments-wrap{background:#fff;text-align:left;color:#2d2d2d!important}.youtube-comments-wrap .fts-share-wrap{margin:15px 0 -64px}.youtube-comments-wrap .fts-youtube-description-popup{display:block;position:relative!important;margin-bottom:-25px;padding-bottom:30px}.youtube-comments-wrap .ft-gallery-share-wrap{left:50px;background:#f6f7f9;top:8px}.fts-facebook-popup .mfp-bottom-bar a.ft-gallery-link-popup,.fts-facebook-popup .mfp-bottom-bar a.fts-jal-fb-see-more{color:#137fc4}.fts-youtube-scrollable .youtube-comments-wrap #___ytsubscribe_0{margin:20px 20px 10px!important}.mfp-title .fts-master-youtube-wrap-close{display:none}.fts-master-youtube-wrap-close{color:#636363;right:3px;top:3px;text-align:right;padding:15px;width:50px;font-size:24px;font-weight:700;position:absolute}.fts-master-youtube-wrap-close:before{content:"X"}.youtube-comments-wrap{overflow:auto;display:none;position:relative}.youtube-comments-wrap h3{padding-top:18px!important}.fts-scrollable-function{height:auto}.fts-youtube-description-popup{font-size:14px!important}.fts-youtube-no-thumbs-gallery{padding:0!important}.fts-youtube-noscroll .youtube-comments-wrap{overflow:visible}.fts-youtube-smallerthan-550-stack{width:100%!important}.fts-jal-fb-user-thumb img{border-radius:50px!important}.fts-twitter-username img.twitter-image{border-radius:50px}.fts-youtube-second-video-margin-btm{margin-bottom:35px}.fts-share-wrap [class*=fa-]{width:auto;height:auto}.fts-popup-half .mfp-arrow-left,.fts-popup-half .mfp-arrow-right{height:auto;width:auto;border:none!important;margin-top:0!important}.fts-popup-half .mfp-arrow-left:after,.fts-popup-half .mfp-arrow-right:after{background:0 0!important;height:auto!important;top:0!important;left:0!important;margin:0!important;padding:0!important;cursor:pointer;transform:none!important;transition:none!important;-webkit-transition:none!important}.fts-popup-half audio,.fts-popup-half video{visibility:visible!important}.fts-album-photos-wrap{text-align:center}.fts-fb-more-photos-wrap,.fts-more-photos-4-photos{position:relative;top:-3px}#wp-admin-bar-feed_them_social_admin_bar_set_cache{padding-bottom:17px!important;line-height:0!important}#wp-admin-bar-feed_them_social_admin_bar_set_cache span{line-height:10px;display:block;color:rgba(221,221,221,.57)}#wp-admin-bar-feed_them_social_admin_bar_set_cache:hover span{line-height:10px;display:block;color:#fff}.fts-mashup-media-top.fts-mashup-hide-thumbnail .fts-jal-fb-user-name{margin-left:0!important}.fts-steemit-username{display:inline-block;background-size:cover;background-repeat:no-repeat;background-position:50% 50%;border-radius:50%;width:48px;height:48px;margin-bottom:5px}.fts-steemit-div .steemit-info img{margin:0!important}.steemit-info .fts-uppercase{margin:14px 0 10px 10px}.fts-steemit-title{font-size:18px;margin-bottom:10px;letter-spacing:1px;font-weight:400;line-height:21px;color:#0084b4}.fts-steemit-div .fts-twitter-retweet:before{content:"\f27a"!important;font-size:15px!important;top:1px}.fts-steemit-div .fts-twitter-favorites:before{content:'Votes:'!important;font-family:arial!important;font-size:14px!important;margin-right:3px!important;top:0;font-weight:700}.fts-steemit-div .fts-twitter-reply:before{font-family:FontAwesomeSlick;content:'\f06e'!important;position:relative;top:2px;font-size:19px}.fts-twitter-quoted-text-wrap{padding:0 0 10px;border:1px solid #efe8e8!important;margin-top:10px;font-size:13px}.fts-twitter-quoted-text-wrap a{font-size:13px!important}.fts-twitter-quoted-text-wrap .twitter-video-rendered{margin:auto!important}.fts-fluid-videoWrapper{margin-top:8px}.fts-twitter-quoted-text-wrap .fts-twitter-link-image img,.fts-twitter-quoted-text-wrap img{margin-top:0!important}.fts-twitter-quoted-text{display:inline-block!important;padding:8px 10px 0;line-height:18px}.fts-twitter-quoted-video .fts-twitter-quoted-text{padding-top:0!important}.fts-twitter-quoted-image{padding:8px}.fts-twitter-quoted-image .fts-twitter-quoted-text{padding:8px 2px 2px!important}.fts-fb-more-photos-wrap a:last-child{margin-right:0!important}.fts-fb-more-photos-wrap a:first-child{margin-left:0!important}.fts-yt-first-video .fts-fluid-videoWrapper{margin-top:0}.fts-twitter-quoted-video .fts-fluid-videoWrapper-html5,.fts-twitter-quoted-video .fts-jal-fb-vid-wrap{margin-top:0;margin-bottom:10px}.fts-fb-location-wrap{text-align:center;padding:15px}.fts-fb-location-img{display:block;margin-bottom:9px;height:20px}.fts-fb-location-img:before{content:"\f024";font-family:FontAwesomeSlick;font-size:28px;display:block}.fts-fb-location-link{margin-bottom:5px;display:block;font-size:16px}.fts-popup-second-half .fts-fb-location-wrap{color:#444}.fts-fb-embed-iframe-check-used-for-popup,.greater-than-or-equal-width-height{display:none!important}.fts-fb-video-on-page.fts-fluid-videoWrapper{padding-bottom:56%;padding-top:0;width:100%!important;height:auto!important}.fts-fb-video-on-page.fts-fluid-videoWrapper iframe{width:100%!important;height:auto!important}.fts-greater-than-width-height.fts-fb-video-on-page{margin-top:18px}.fts-greater-than-width-height.fts-fb-video-on-page iframe{padding-bottom:100%}.fts-equal-width-height{max-width:100%;padding-bottom:100%!important}.fts-comment-star:before {font-family:FontAwesomeSlick;content: "\f075";font-size: 14px;margin:0 6px 0 -2px !important;padding:0 !important;display:inline-block !important;border:none!important}
feeds/facebook/facebook-feed-post-types.php CHANGED
@@ -36,7 +36,6 @@ class FTS_Facebook_Feed_Post_Types extends FTS_Facebook_Feed {
36
  //Create Facebook Variables
37
  $FBfinalstory = '';
38
  $first_dir = '';
39
-
40
  $FBpicture = isset($post_data->picture) ? $post_data->picture : "";
41
  $FBlink = isset($post_data->link) ? $post_data->link : "";
42
  $FBname = isset($post_data->name) ? $post_data->name : '';
@@ -47,19 +46,15 @@ class FTS_Facebook_Feed_Post_Types extends FTS_Facebook_Feed {
47
  $FBicon = isset($post_data->icon) ? $post_data->icon : "";
48
  $FBby = isset($post_data->properties->text) ? $post_data->properties->text : "";
49
  $FBbylink = isset($post_data->properties->href) ? $post_data->properties->href : "";
50
-
51
  $FBpost_share_count = isset($post_data->shares->count) ? $post_data->shares->count : "";
52
  $FBpost_like_count_array = isset($post_data->likes->data) ? $post_data->likes->data : "";
53
  $FBpost_comments_count_array = isset($post_data->comments->data) ? $post_data->comments->data : "";
54
-
55
  $FBpost_object_id = isset($post_data->object_id) ? $post_data->object_id : "";
56
  $FBalbum_photo_count = isset($post_data->count) ? $post_data->count : "";
57
  $FBalbum_cover = isset($post_data->cover_photo->id) ? $post_data->cover_photo->id : "";
58
  $FBalbum_picture = isset($post_data->source) ? $post_data->source : '';
59
-
60
  $FBplaces_name = isset($post_data->place->name) ? $post_data->place->name : '';
61
  $FBplaces_id = isset($post_data->place->id) ? $post_data->place->id : '';
62
-
63
  if($FBplaces_name){
64
 
65
  $location = '<div class="fts-fb-location-wrap">';
@@ -67,12 +62,11 @@ class FTS_Facebook_Feed_Post_Types extends FTS_Facebook_Feed {
67
  $location .= '<a href="https://www.facebook.com/'.$FBplaces_id.'/" class="fts-fb-location-link" target="_blank">'.$FBname.'</a>';
68
  $location .= '<div class="fts-fb-location-name">'.$FBplaces_name.'</div>';
69
  $location .= '</div>';
70
-
71
  $fts_fb_location = $location;
72
  }
73
-
74
- $FBattachmentsDescription = isset($post_data->attachments->data[0]->description) ? $post_data->attachments->data[0]->description : "";
75
  $FBattachments = isset($post_data->attachments) ? $post_data->attachments : "";
 
76
  // youtube and vimeo embed url
77
  $FBvideo_embed = isset($post_data->source) ? $post_data->source : "";
78
 
@@ -146,12 +140,6 @@ class FTS_Facebook_Feed_Post_Types extends FTS_Facebook_Feed {
146
  $data_height = '';
147
  }
148
 
149
-
150
-
151
-
152
-
153
-
154
-
155
  $FBvideo = isset($post_data->embed_html) ? $post_data->embed_html : "";
156
  $FBvideoPicture = isset($post_data->format[2]->picture) ? $post_data->format[2]->picture : "";
157
 
@@ -171,6 +159,9 @@ class FTS_Facebook_Feed_Post_Types extends FTS_Facebook_Feed {
171
  $FBpost_id = '';
172
  $FBpost_user_id = '';
173
  }
 
 
 
174
  if ($FB_Shortcode['type'] == 'albums' && !$FBalbum_cover) {
175
  unset($post_data);
176
  }
@@ -334,6 +325,11 @@ class FTS_Facebook_Feed_Post_Types extends FTS_Facebook_Feed {
334
  //Comments Count
335
  $FBpost_id_final = substr($FBpost_id, strpos($FBpost_id, "_") + 1);
336
  }
 
 
 
 
 
337
  //filter messages to have urls
338
  //Output Message
339
  $FBmessage = (isset($post_data->message) ? $post_data->message : (isset($post_data->review_text) ? $post_data->review_text : '') . '');
@@ -366,6 +362,7 @@ class FTS_Facebook_Feed_Post_Types extends FTS_Facebook_Feed {
366
 
367
  $FTS_FB_OUTPUT .= '<div class="fts-jal-fb-message"' . $itemprop_description_reviews . '>';
368
 
 
369
  $FTS_FB_OUTPUT .= !empty($trimmed_content) ? $trimmed_content : '';
370
  //If POPUP
371
  // $FTS_FB_OUTPUT .= $FB_Shortcode['popup'] == 'yes' ? '<div class="fts-fb-caption"><a href="' . $FBlink . '" class="fts-view-on-facebook-link" target="_blank">' . __('View on Facebook', 'feed-them-facebook') . '</a></div> ' : '';
@@ -483,10 +480,17 @@ class FTS_Facebook_Feed_Post_Types extends FTS_Facebook_Feed {
483
  //**************************************************
484
  case 'status':
485
  // && !$FBpicture == '' makes it so the attachment unavailable message does not show up
486
- if (!$FBpicture && !$FBname && !$FBdescription && !$FBpicture == '') {
487
  $FTS_FB_OUTPUT .= '<div class="fts-jal-fb-link-wrap">';
488
  //Output Link Picture
489
- $FTS_FB_OUTPUT .= $FBpicture ? $this->fts_facebook_post_photo($FBlink, $FB_Shortcode, $post_data->from->name, $post_data->picture) : '';
 
 
 
 
 
 
 
490
 
491
  if ($FBname || $FBcaption || $FBdescription) {
492
  $FTS_FB_OUTPUT .= '<div class="fts-jal-fb-description-wrap">';
@@ -507,7 +511,7 @@ class FTS_Facebook_Feed_Post_Types extends FTS_Facebook_Feed {
507
 
508
 
509
  $FTS_FB_OUTPUT .= '<div class="fts-clear"></div></div>';
510
- }
511
 
512
  break;
513
  //**************************************************
@@ -1116,6 +1120,7 @@ class FTS_Facebook_Feed_Post_Types extends FTS_Facebook_Feed {
1116
 
1117
  $FTS_FB_OUTPUT .= '<div class="fts-jal-fb-message">';
1118
 
 
1119
  $FTS_FB_OUTPUT .= !empty($trimmed_content) ? $trimmed_content : '';
1120
  //If POPUP
1121
  // $FTS_FB_OUTPUT .= $FB_Shortcode['popup'] == 'yes' ? '<div class="fts-fb-caption"><a href="' . $FBlink . '" class="fts-view-on-facebook-link" target="_blank">' . __('View on Facebook', 'feed-them-facebook') . '</a></div> ' : '';
36
  //Create Facebook Variables
37
  $FBfinalstory = '';
38
  $first_dir = '';
 
39
  $FBpicture = isset($post_data->picture) ? $post_data->picture : "";
40
  $FBlink = isset($post_data->link) ? $post_data->link : "";
41
  $FBname = isset($post_data->name) ? $post_data->name : '';
46
  $FBicon = isset($post_data->icon) ? $post_data->icon : "";
47
  $FBby = isset($post_data->properties->text) ? $post_data->properties->text : "";
48
  $FBbylink = isset($post_data->properties->href) ? $post_data->properties->href : "";
 
49
  $FBpost_share_count = isset($post_data->shares->count) ? $post_data->shares->count : "";
50
  $FBpost_like_count_array = isset($post_data->likes->data) ? $post_data->likes->data : "";
51
  $FBpost_comments_count_array = isset($post_data->comments->data) ? $post_data->comments->data : "";
 
52
  $FBpost_object_id = isset($post_data->object_id) ? $post_data->object_id : "";
53
  $FBalbum_photo_count = isset($post_data->count) ? $post_data->count : "";
54
  $FBalbum_cover = isset($post_data->cover_photo->id) ? $post_data->cover_photo->id : "";
55
  $FBalbum_picture = isset($post_data->source) ? $post_data->source : '';
 
56
  $FBplaces_name = isset($post_data->place->name) ? $post_data->place->name : '';
57
  $FBplaces_id = isset($post_data->place->id) ? $post_data->place->id : '';
 
58
  if($FBplaces_name){
59
 
60
  $location = '<div class="fts-fb-location-wrap">';
62
  $location .= '<a href="https://www.facebook.com/'.$FBplaces_id.'/" class="fts-fb-location-link" target="_blank">'.$FBname.'</a>';
63
  $location .= '<div class="fts-fb-location-name">'.$FBplaces_name.'</div>';
64
  $location .= '</div>';
 
65
  $fts_fb_location = $location;
66
  }
67
+ $FBattachmentsTitle = isset($post_data->attachments->data[0]->title) ? $post_data->attachments->data[0]->title : "";
 
68
  $FBattachments = isset($post_data->attachments) ? $post_data->attachments : "";
69
+ $FBpicture_job = isset($post_data->attachments->data[0]->media->image->src) ? $post_data->attachments->data[0]->media->image->src : "";
70
  // youtube and vimeo embed url
71
  $FBvideo_embed = isset($post_data->source) ? $post_data->source : "";
72
 
140
  $data_height = '';
141
  }
142
 
 
 
 
 
 
 
143
  $FBvideo = isset($post_data->embed_html) ? $post_data->embed_html : "";
144
  $FBvideoPicture = isset($post_data->format[2]->picture) ? $post_data->format[2]->picture : "";
145
 
159
  $FBpost_id = '';
160
  $FBpost_user_id = '';
161
  }
162
+
163
+ $FBJoblink = isset($post_data->id) ? 'https://www.facebook.com/'.$post_data->from->id.'/posts/'.$FBpost_single_id.'' : "";
164
+
165
  if ($FB_Shortcode['type'] == 'albums' && !$FBalbum_cover) {
166
  unset($post_data);
167
  }
325
  //Comments Count
326
  $FBpost_id_final = substr($FBpost_id, strpos($FBpost_id, "_") + 1);
327
  }
328
+
329
+
330
+ $FB_title_job_opening = isset($post_data->attachments->data[0]->title) && $post_data->attachments->data[0]->type === 'job_search_job_opening' ? $post_data->attachments->data[0]->title : '';
331
+
332
+
333
  //filter messages to have urls
334
  //Output Message
335
  $FBmessage = (isset($post_data->message) ? $post_data->message : (isset($post_data->review_text) ? $post_data->review_text : '') . '');
362
 
363
  $FTS_FB_OUTPUT .= '<div class="fts-jal-fb-message"' . $itemprop_description_reviews . '>';
364
 
365
+ $FTS_FB_OUTPUT .= $FB_title_job_opening;
366
  $FTS_FB_OUTPUT .= !empty($trimmed_content) ? $trimmed_content : '';
367
  //If POPUP
368
  // $FTS_FB_OUTPUT .= $FB_Shortcode['popup'] == 'yes' ? '<div class="fts-fb-caption"><a href="' . $FBlink . '" class="fts-view-on-facebook-link" target="_blank">' . __('View on Facebook', 'feed-them-facebook') . '</a></div> ' : '';
480
  //**************************************************
481
  case 'status':
482
  // && !$FBpicture == '' makes it so the attachment unavailable message does not show up
483
+ // if (!$FBpicture && !$FBname && !$FBdescription && !$FBpicture == '') {
484
  $FTS_FB_OUTPUT .= '<div class="fts-jal-fb-link-wrap">';
485
  //Output Link Picture
486
+ if($FBpicture_job) {
487
+ $FTS_FB_OUTPUT .= $this->fts_facebook_post_photo($FBJoblink, $FB_Shortcode, $post_data->from->name, $FBpicture_job);
488
+ }
489
+ else{
490
+ $FTS_FB_OUTPUT .= $FBpicture ? $this->fts_facebook_post_photo($FBlink, $FB_Shortcode, $post_data->from->name, $post_data->picture) : '';
491
+ }
492
+
493
+
494
 
495
  if ($FBname || $FBcaption || $FBdescription) {
496
  $FTS_FB_OUTPUT .= '<div class="fts-jal-fb-description-wrap">';
511
 
512
 
513
  $FTS_FB_OUTPUT .= '<div class="fts-clear"></div></div>';
514
+ // }
515
 
516
  break;
517
  //**************************************************
1120
 
1121
  $FTS_FB_OUTPUT .= '<div class="fts-jal-fb-message">';
1122
 
1123
+ $FTS_FB_OUTPUT .= $FB_title_job_opening;
1124
  $FTS_FB_OUTPUT .= !empty($trimmed_content) ? $trimmed_content : '';
1125
  //If POPUP
1126
  // $FTS_FB_OUTPUT .= $FB_Shortcode['popup'] == 'yes' ? '<div class="fts-fb-caption"><a href="' . $FBlink . '" class="fts-view-on-facebook-link" target="_blank">' . __('View on Facebook', 'feed-them-facebook') . '</a></div> ' : '';
feeds/facebook/facebook-feed.php CHANGED
@@ -187,9 +187,9 @@ class FTS_Facebook_Feed extends feed_them_social_functions {
187
  $feed_data_check = json_decode($response2['feed_data']);
188
 
189
  // SHOW THE REGULAR FEEDS PRINT_R
190
- // echo '<pre>';
191
- // print_r($feed_data_check);
192
- // echo '</pre>';
193
 
194
  // $idNew = array();
195
  // $idNew = explode(',', $FB_Shortcode['id']);
@@ -325,9 +325,9 @@ class FTS_Facebook_Feed extends feed_them_social_functions {
325
 
326
  $feed_data = json_decode($response['feed_data']);
327
  // SHOW THE REVIEWS FEED PRINT_R
328
- // echo '<pre>';
329
- // print_r($feed_data );
330
- // echo '</pre>';
331
 
332
 
333
  if ($FB_Shortcode['remove_reviews_no_description'] == 'yes') {
@@ -404,7 +404,8 @@ class FTS_Facebook_Feed extends feed_them_social_functions {
404
  //Reviews Rating Filter
405
  if (is_plugin_active('feed-them-social-facebook-reviews/feed-them-social-facebook-reviews.php') && $FB_Shortcode['type'] == 'reviews') {
406
  foreach ($feed_data->data as $key => $post_data) {
407
- if ($post_data->rating < $FB_Shortcode['reviews_type_to_show']) {
 
408
  unset($feed_data->data[$key]);
409
  }
410
  }
187
  $feed_data_check = json_decode($response2['feed_data']);
188
 
189
  // SHOW THE REGULAR FEEDS PRINT_R
190
+ // echo '<pre>';
191
+ // print_r($feed_data_check);
192
+ // echo '</pre>';
193
 
194
  // $idNew = array();
195
  // $idNew = explode(',', $FB_Shortcode['id']);
325
 
326
  $feed_data = json_decode($response['feed_data']);
327
  // SHOW THE REVIEWS FEED PRINT_R
328
+ echo '<pre>';
329
+ print_r($feed_data );
330
+ echo '</pre>';
331
 
332
 
333
  if ($FB_Shortcode['remove_reviews_no_description'] == 'yes') {
404
  //Reviews Rating Filter
405
  if (is_plugin_active('feed-them-social-facebook-reviews/feed-them-social-facebook-reviews.php') && $FB_Shortcode['type'] == 'reviews') {
406
  foreach ($feed_data->data as $key => $post_data) {
407
+ // we are not going to show the unrecommended reviews in the feed at this point, no options in our plugin srl 8-28-18
408
+ if (isset($post_data->rating) && $post_data->rating < $FB_Shortcode['reviews_type_to_show'] || isset($post_data->recommendation_type) && $post_data->recommendation_type === 'negative') {
409
  unset($feed_data->data[$key]);
410
  }
411
  }
includes/feed-metabox-options.php CHANGED
@@ -587,7 +587,7 @@ class Feed_Metabox_Options {
587
  //Rating Format
588
  array(
589
  'option_type' => 'select',
590
- 'label' => __('Rating Format', 'feed-them-social'),
591
  'type' => 'text',
592
  'id' => 'reviews_rating_format',
593
  'name' => 'reviews_rating_format',
587
  //Rating Format
588
  array(
589
  'option_type' => 'select',
590
+ 'label' => __('Rating Format', 'feed-them-social'). '<br/><small>' . __('Facebook has moved to what are called "recommendations" so for some people this option may not be needed anymore: <a href="admin.php?page=fts-facebook-feed-styles-submenu-page">Facebook Options</a> page.', 'feed-them-social') . '</small>',
591
  'type' => 'text',
592
  'id' => 'reviews_rating_format',
593
  'name' => 'reviews_rating_format',
includes/feed-them-functions.php CHANGED
@@ -213,7 +213,7 @@ class feed_them_social_functions
213
 
214
  ?>
215
  <div id="fb-list-wrap">
216
- <div class="fts-pages-info"> <?php _e('Click a page to add the access token above, then click save.', 'feed-them-social'); ?></div>
217
  <ul class="fb-page-list">
218
  <?php }
219
 
@@ -796,6 +796,7 @@ class feed_them_social_functions
796
  'fb_reviews_text_color',
797
  'fb_reviews_backg_color',
798
  'fb_reviews_star_language',
 
799
  'fb_reviews_see_more_reviews_language',
800
  'fb_reviews_see_more_reviews_language',
801
  'fb_reviews_overall_rating_background_border_hide',
213
 
214
  ?>
215
  <div id="fb-list-wrap">
216
+ <div class="fts-pages-info"> <?php _e('Click on a page in the list below and it will add the Page ID and Access Token above, then click save.', 'feed-them-social'); ?></div>
217
  <ul class="fb-page-list">
218
  <?php }
219
 
796
  'fb_reviews_text_color',
797
  'fb_reviews_backg_color',
798
  'fb_reviews_star_language',
799
+ 'fb_reviews_recommended_language',
800
  'fb_reviews_see_more_reviews_language',
801
  'fb_reviews_see_more_reviews_language',
802
  'fb_reviews_overall_rating_background_border_hide',
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.4.8
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,6 +76,10 @@ 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.4.8 Monday, August 27th, 2018 =
80
  * FIX: Facebook Feed: Animated gif post types showing extra small image that was not clickable. NOTE: facebook re-encodes gifs into videos so that is what is shown in the feed, we do not have a way to show a gif that repeats.
81
  * FIX: Admin: php warning for a case that did not have a default setting.
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.4.9
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.4.9 Monday, August 30th, 2018 =
80
+ * NEW: Facebook Feed: Add Job Posts Text and Image to the feed.
81
+ * FB REVIEWS EXTENSION: Recommendations have been added to the feed, although we are waiting for facebook to do a final release in the API.
82
+
83
  = Version 2.4.8 Monday, August 27th, 2018 =
84
  * FIX: Facebook Feed: Animated gif post types showing extra small image that was not clickable. NOTE: facebook re-encodes gifs into videos so that is what is shown in the feed, we do not have a way to show a gif that repeats.
85
  * FIX: Admin: php warning for a case that did not have a default setting.
trunk/SUPPORT.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Getting help with Feed Them Social or FTS extensions
2
+ ========================
3
+
4
+ We look forward to helping resolve any issues or relaying any feedback or ideas you have about Feed Them Social. To report an issue, receive support, give us feedback, or send us an idea please open a support ticket.
5
+
6
+ Support Ticket
7
+ ------
8
+
9
+ We recommend all users with support questions email us via the support form found at [SlickRemix.com/support/](https://www.slickremix.com/support/). GitHub is used for core development only, and is not the place to seek help or report non-developer issues for Feed Them Social or FTS extensions.
10
+
11
+ Before opening a support ticket, please also review our [Documentation](http://www.slickremix.com/feed-them-social/) for assistance with common issues and FAQs.
12
+
13
+ If reporting a bug, please be as descriptive as possible and include links to screenshots or screenshares that demonstrate the issue.
trunk/admin/css/admin-settings.css ADDED
@@ -0,0 +1 @@
 
1
+ .fts-clear,.clear,.im-done{clear:both}.buy-extensions-btn,.fts-settings-admin-submit-btn,.fts-settings-admin-wrap .upload_image_button,.im-done{text-shadow:1px 1px 3px #000;filter:dropshadow(color=#000000, offx=1, offy=1)}.buy-extensions-btn,.fts-settings-admin-submit-btn,.fts-settings-admin-wrap h2,.fts-settings-admin-wrap h3,.im-done{text-shadow:1px 1px 3px #000}.buy-extensions-btn{margin-top:23px;padding:9px 25px 11px;background-color:#CE1212!important;border:none!important;color:#fff!important;font-weight:700;cursor:pointer!important;position:absolute;right:21px;top:0;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.buy-extensions-btn,.fts-settings-admin-input-label a{text-decoration:none;-webkit-transition:background 2s;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out}.display{display:block!important}.use-of-plugin{color:#fff;font-weight:400;font-size:14px;padding-bottom:8px}.subtext-of-title{color:#c7c4c4;font-weight:700;margin-bottom:10px}.fts-settings-admin-wrap{width:900px;background:url(../images/vinyl-backg.jpeg) no-repeat #1A1830;padding:15px 25px 0;-webkit-box-shadow:2px 3px 7px 1px #333;box-shadow:2px 3px 7px 1px #333;-webkit-border-radius:6px;border-radius:5px;position:relative;margin-top:50px}.fts-settings-admin-wrap h2{color:#CD1723;font-size:28px;margin:17px 0 15px -2px}.fts-settings-admin-wrap h3{color:#FFF;padding-top:12px;margin-bottom:6px;font-size:18px}.fts-settings-admin-wrap h4{color:#000;font-size:14px;margin-bottom:5px;margin-top:10px}.fts-settings-admin-form{width:100%;padding:0 0 20px}.fts-settings-admin-input-wrap{background-color:#f3f3f3;padding:10px 20px;margin-bottom:10px;border:1px solid #CFCACA;border-radius:4px;-webkit-border-radius:6px}.fts-settings-admin-input-label{margin-right:10px;font-size:13px;font-weight:700;text-transform:uppercase;padding-bottom:4px}.fts-settings-admin-input-label a{cursor:pointer;font-size:13px;color:red;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.fts-settings-admin-input-label a:hover{color:grey}.company-info-style{background-color:rgba(240,243,245,.78)!important;color:#000}.fts-settings-admin-wrap .upload_image_button{margin-top:5px;padding:9px 20px;background-color:#CD1723;border:none;color:#fff!important;font-weight:700;float:left;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.fts-settings-admin-input-example a,.fts-settings-admin-wrap .upload_image_button,.fts-video-admin-wrap a{cursor:pointer;-webkit-transition:background 2s;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out}.upload-logo-size{float:left;width:350px;margin-left:15px;margin-top:2px}.fts-settings-admin-input-example{font-weight:400;padding-top:4px;font-size:12px;color:#797979}.company-info-style .fts-settings-admin-input-example{color:#434343}.fts-settings-admin-input-example a,.fts-video-admin-wrap a{-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.fts-settings-admin-input:focus{background-color:#f0f0f0;color:#000;outline:0}.fts-settings-admin-input{width:100%;padding:10px;font-size:13px;-webkit-transition-duration:400ms;-webkit-transition-property:width,background;-webkit-transition-timing-function:ease;-moz-transition-duration:400ms;-moz-transition-property:width,background;-moz-transition-timing-function:ease;-o-transition-duration:400ms;-o-transition-property:width,background;-o-transition-timing-function:ease}.fts-settings-admin-submit-btn{background-color:#CD1723!important;border:none!important;color:#fff!important;font-weight:700;cursor:pointer!important}.fts-settings-admin-slick-logo{background:url(../images/footer-logo.png) left no-repeat;width:108px;height:20px;padding:8px 2px;display:block;position:absolute;bottom:20px;right:18px;-webkit-border-radius:3px;border-radius:3px}.fts-video-admin-wrap .fts-settings-admin-slick-logo{bottom:7px;right:3px;-webkit-border-radius:3px;border-radius:3px}.fts-settings-admin-slick-logo:hover{opacity:.9}.fts-settings-facebook-btn{width:250px;position:absolute;bottom:19px;right:269px}.fts-settings-paypal-btn{width:200px;position:absolute;bottom:12px;right:146px}.fts-settings-id-answer{padding:15px 0 0;display:none;margin-top:10px;font-weight:700;border-top:1px solid #ccc}.fts-settings-id-answer h4{padding:0;margin:5px 0 -6px}.fts-settings-id-answer span{display:block;color:#999;font-size:13px;margin:15px 0 0}.fts-settings-id-answer img{margin:10px 0 14px}.fts-settings-id-answer ul{padding:8px 0 0;clear:both;margin:0}.fts-settings-id-answer ul li{margin:0 0 4px}.fts-settings-id-answer a{cursor:pointer!important}.im-done{margin-top:0;padding:7px 38px;background-color:#CD1723;border:none;color:#fff;font-size:12px;font-weight:700;-webkit-border-radius:3px;border-radius:5px;cursor:pointer;float:left;display:block;-webkit-transition:background 2s;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.buy-extensions-btn:hover,.fts-settings-admin-submit-btn:hover,.upload_image_button:hover,a.im-done:hover{background:#919191!important;-webkit-transition:background 2s;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out;color:#f1f1f1}.fts-settings-admin-submit-btn{padding:10px 40px;margin-top:30px;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.fts-help-admin-wrap a,.fts-settings-admin-submit-btn{-webkit-transition:background 2s;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out}.fts-admin-help-wrap{padding:0 20px 10px 0}.fts-help-admin-wrap{width:auto;background:0 0;padding:10px 20px 45px 0;position:relative;margin-top:5px;margin-right:0;min-width:673px}.fts-help-admin-wrap .use-of-plugin{color:#888;font-weight:400;font-size:12px;text-align:justify;background:#FFF;line-height:18px;margin:10px 0 25px;padding:15px 20px 15px 17px;border:1px solid #DFDFDF}.fts-help-admin-wrap li{margin-top:-10px;line-height:23px}.fts-help-admin-wrap h2{color:#CC0303;font-size:27px;margin:0 25px 15px 0;letter-spacing:-1px;height:30px;text-shadow:0 0 0 #222;padding:15px 0 5px 68px;background:url(../images/fts-help-icon.png) 0 9px no-repeat;border-bottom:1px solid #DBDBDB}.fts-help-admin-wrap h3{padding:0;margin-bottom:10px;font-size:18px;color:#555}.fts-help-admin-wrap a{text-decoration:none;cursor:pointer!important;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out}.fts-help-admin-wrap ol li{margin:5px 0 0;line-height:17px}#fts-debug-report{font-family:monospace;display:none;width:100%;margin-bottom:20px;height:200px}a.fts-debug-report{padding:1px 7px 2px;background:#E6E6E6}.fts-admin-help-faqs-wrap{line-height:21px}.fts-admin-help-faqs-wrap ol{margin:12px 17px 31px 27px}@keyframes fade{from,to{opacity:1}50%{opacity:.5}}@-webkit-keyframes fade{from,to{opacity:1}50%{opacity:.5}}#system-info-textarea{min-height:450px;width:100%;font-family:Menlo,Monaco,monospace;background:0 0;white-space:pre;overflow:auto;margin-bottom:7px;display:block}.feed-them_page_fts-system-info-submenu-page .error{margin:20px 20px 0px 0 !important; }
trunk/admin/css/admin.css ADDED
@@ -0,0 +1 @@
 
1
+ @font-face{font-family:SlickRemix;src:url(fonts/SlickRemix.eot?p9iqv);src:url(fonts/SlickRemix.eot?#iefixp9iqv) format("embedded-opentype"),url(fonts/SlickRemix.woff?p9iqv) format("woff"),url(fonts/SlickRemix.ttf?p9iqv) format("truetype"),url(fonts/SlickRemix.svg?p9iqv#SlickRemix) format("svg");font-weight:400;font-style:normal}#adminmenu #toplevel_page_feed-them-settings-page div.wp-menu-image:before{font-family:SlickRemix!important;content:"\e600";line-height:1.2em;font-size:1.2em!important}@media only screen and (max-width:782px){#adminmenu #toplevel_page_feed-them-settings-page div.wp-menu-image:before{line-height:normal!important}}.fts-activation-msg{margin:14px 0 25px;font-size:13px}.fts-activation-msg ol{margin:10px 0 0 20px}.fts-update-message:before{color:#FFF;content:'\e600';display:inline-block;font:400 16px/1 SlickRemix;speak:none;margin:0 8px 0 -1px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top}.fts-update-message{font-weight:400;color:#fff;background:#d54d21;padding:1em;margin:9px 0}.fts_old_plugins_message{margin:15px 15px 0 0}.fts-update-message a{color:#fff;text-decoration:underline}.feed-them_page_fts-license-page .edd-upgrade-license-btn{display:inline-block!important;margin-left:5px!important}.fts-no-license-overlay{position:absolute;height:100%;width:100%;top:0;left:0;z-index:100;background:rgba(255,255,255,.64);text-align:center;vertical-align:middle}.fts-no-license-button-wrap{position:absolute;top:50%;left:50%;-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%);min-width:200px}.fts-no-license-overlay a{padding:9px 15px;background:#0073aa;color:#FFF;text-decoration:none;border-radius:3px;font-size:14px;display:inline-block}.fts-no-license-overlay a:hover{background:rgba(0,115,170,.88)}.fts-license-master-form .form-table tr{min-width:250px}.fts-license-wrap th{position:relative;z-index:200;padding:14px!important}.fts-clear{clear:both}.fts-license-wrap .regular-text{width:100%!important}#wp-admin-bar-feed_them_social_admin_bar_set_cache{padding-bottom:17px!important;line-height:0!important}#wp-admin-bar-feed_them_social_admin_bar_set_cache span{line-height:10px;display:block;color:rgba(221,221,221,.57)}#wp-admin-bar-feed_them_social_admin_bar_set_cache:hover span{line-height:10px;display:block;color:#fff}.fts_review_notice{background:#FFF;padding: 20px 25px 8px;}.fts_review_notice img{max-width:100%}.fts-notice-text p{line-height:19px}.fts_notice_dismiss{padding:5px 10px;background:#f1f1f1;color:#0081c1;border-radius:2px;text-decoration:none;margin-right:5px;margin-bottom: 5px;display: inline-block;}.fts-links{margin-top:20px;}.fts-notice-text{max-width:1015px;}
trunk/admin/css/fonts/SlickRemix.eot ADDED
Binary file
trunk/admin/css/fonts/SlickRemix.svg ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Generated by IcoMoon</metadata>
5
+ <defs>
6
+ <font id="icomoon" horiz-adv-x="1024">
7
+ <font-face units-per-em="1024" ascent="960" descent="-64" />
8
+ <missing-glyph horiz-adv-x="1024" />
9
+ <glyph unicode="&#x20;" d="" horiz-adv-x="512" />
10
+ <glyph unicode="&#xe600;" d="M497.050 511.023l38.231 247.692-295.142 200.308-14.973 0.311-220.457-337.283v-51.36l95.656-112.472zM615.32 509.445l-30.589 243.116 338.793 127.334 183.581-264.108-8.419-98.699-120.936-47.028zM495.406 385.377l43.874-291.099-179.382-153.191-183.247-2.333-169.474 347.302 107.985 146.705zM618.83 386.555l-34.099-276.082 235.874-149.992 70.953 11.196 186.868 292.299-38.964 184.025-418.699-62.067z" horiz-adv-x="1111" />
11
+ </font></defs></svg>
trunk/admin/css/fonts/SlickRemix.ttf ADDED
Binary file
trunk/admin/css/fonts/SlickRemix.woff ADDED
Binary file
trunk/admin/css/metabox.css ADDED
@@ -0,0 +1,1068 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ }
trunk/admin/css/settings-page.css ADDED
@@ -0,0 +1 @@
 
1
+ .clear,.fts-clear{clear:both}.display{display:block!important}.facebook-message-generator,.final-instagram-user-id-textarea,.final-shortcode-textarea,.fts-facebook_group-shortcode-form .twitter_name,.fts-fb-event-option-wrap .twitter_name,.shortcode-generator-form,instagram-shortcode-form{display:none}.feed-them_page_fts-facebook-feed-styles-submenu-page .use-of-plugin{font-size:13px;font-weight:400;line-height:20px;max-width:740px;border-bottom:1px solid #ccc}.feed-them_page_fts-facebook-feed-styles-submenu-page .feed-them-social-admin-wrap h1,.feed-them_page_fts-facebook-feed-styles-submenu-page .feed-them-social-admin-wrap h2,.feed-them_page_fts-facebook-feed-styles-submenu-page .use-of-plugin,.feed-them_page_fts-instagram-feed-styles-submenu-page .feed-them-social-admin-wrap h1,.feed-them_page_fts-instagram-feed-styles-submenu-page .feed-them-social-admin-wrap h2,.feed-them_page_fts-instagram-feed-styles-submenu-page .use-of-plugin,.feed-them_page_fts-pinterest-feed-styles-submenu-page .feed-them-social-admin-wrap h1,.feed-them_page_fts-pinterest-feed-styles-submenu-page .use-of-plugin,.feed-them_page_fts-twitter-feed-styles-submenu-page .feed-them-social-admin-wrap h1,.feed-them_page_fts-twitter-feed-styles-submenu-page .feed-them-social-admin-wrap h2,.feed-them_page_fts-twitter-feed-styles-submenu-page .use-of-plugin,.feed-them_page_fts-youtube-feed-styles-submenu-page .feed-them-social-admin-wrap h1,.feed-them_page_fts-youtube-feed-styles-submenu-page .use-of-plugin{color:#333}.instagram-id-option-wrap{margin-top:25px}.feed-them_page_fts-facebook-feed-styles-submenu-page .feed-them-social-admin-wrap h2,.feed-them_page_fts-instagram-feed-styles-submenu-page .feed-them-social-admin-wrap h2{margin-top:45px}.fts-super-instagram-options-wrap{padding-top:0}.fts-empty-error input{background-color:#FDFDD3!important}.toplevel_page_feed-them-settings-page h1{font-size:32px}.feed-them_page_fts-twitter-feed-styles-submenu-page .feed-them-social-admin-wrap h2,.fts-youtube-feed-styles-submenu-page .feed-them-social-admin-wrap h2{margin-top:45px;color:#333}.feed-them-social-admin-wrap h1{color:#FFF;margin:0 0 5px;line-height:30px;font-weight:700}.feed-them-social-admin-wrap h4{font-size:12px;font-weight:400;color:#000;margin:1px 0 8px}.feed-them-social-admin-wrap input[type=button],.feed-them-social-admin-wrap input[type=submit]{-webkit-appearance:none}.feed-them-social-admin-wrap input[type=text]{line-height:19px;max-width:100%;font-weight:400}.feed-them_page_fts-facebook-feed-styles-submenu-page .feed-them-social-admin-wrap,.feed-them_page_fts-instagram-feed-styles-submenu-page .feed-them-social-admin-wrap,.feed-them_page_fts-pinterest-feed-styles-submenu-page .feed-them-social-admin-wrap,.feed-them_page_fts-twitter-feed-styles-submenu-page .feed-them-social-admin-wrap,.feed-them_page_fts-youtube-feed-styles-submenu-page .feed-them-social-admin-wrap{max-width:100%;width:100%;min-height:auto;background:0 0;padding:0;-webkit-box-shadow:none;box-shadow:none;border-radius:1px;position:relative;margin:20px 20px 0 0;-webkit-text-size-adjust:none}.feed-them_page_fts-facebook-feed-styles-submenu-page .feed-them-social-admin-input-wrap,.feed-them_page_fts-pinterest-feed-styles-submenu-page .feed-them-social-admin-input-wrap,.feed-them_page_fts-twitter-feed-styles-submenu-page .feed-them-social-admin-input-wrap,.feed-them_page_fts-youtube-feed-styles-submenu-page .feed-them-social-admin-input-wrap{background:0 0}.feed-them-social-admin-wrap{max-width:806px;min-height:379px;padding:19px;margin:20px 10px 0 0;background-size:cover;-webkit-text-size-adjust:none;overflow:hidden;border-radius:2px}.feed-them_page_fts-youtube-feed-styles-submenu-page h2{color:#333!important;margin-top:45px!important}.feed-them-social-admin-form .feed-them-social-admin-wrap h2{color:#000;font-size:20px;font-weight:400;line-height:23px;margin:15px 0}.feed-them-social-admin-form{padding:5px 0 0}.fts-facebook_group-shortcode-form:hover a{background-position:top right!important;background-size:34px!important;height:34px!important;width:34px!important}.feed-them-social-admin-input-wrap{padding:5px 0 10px;margin-bottom:10px;border-radius:2px;-webkit-border-radius:2px}.pinterest-gen-selection{margin-bottom:25px}.final-shortcode-textarea .feed-them-social-admin-input-label{color:#0361B8;width:auto;font-size:14px}.instagram-shortcode-form .final-shortcode-textarea .feed-them-social-admin-input-label{color:#0361B8}.final-shortcode-textarea{margin-top:25px}.final-shortcode-textarea input{width:100%;margin-top:2px}.feed-them-social-admin-input-label{float:left;width:230px;margin-right:10px;font-size:13px;padding-top:6px;font-weight:700}.feed-them_page_fts-facebook-feed-styles-submenu-page .feed-them-social-admin-input-label,.feed-them_page_fts-instagram-feed-styles-submenu-page .feed-them-social-admin-input-label,.feed-them_page_fts-twitter-feed-styles-submenu-page .feed-them-social-admin-input-label{float:left;width:230px;margin-right:10px;font-size:13px;text-transform:none;padding-top:6px}.feed-them-social-admin-input-label a{text-decoration:underline!important;cursor:pointer}.feed_them_social_id-answer a,.im-done{cursor:pointer!important}.feed-them-social-admin-input-example{float:left;font-weight:700;margin-left:10px;padding-top:4px}.feed-them-social-admin-input{float:left;width:305px;max-width:100%;font-weight:400}.feed-them-social-admin-input-default{float:left;width:290px;padding:4px 7px;border:1px solid #DFDFDF;background-color:#FFF;font-size:12px}.fts-color-settings-admin-form .feed-them-social-admin-submit-btn{float:left;margin:0;padding:0 20px;height:37px;line-height:35px}.feed-them-social-admin-submit-btn{padding:10px 15px;border-radius:1px;background-color:#31AC45!important;color:#fff!important;font-weight:400;cursor:pointer!important;transition:all .3s ease-in-out;border:none;letter-spacing:1px;outline:0;font-size:12px}.feed-them-social-admin-submit-btn,.feed-them-social-admin-submit-btn:hover{-webkit-transition:background 2s;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out}.feed-them-social-admin-submit-btn:hover{background-color:#2BBE43!important;color:#FFF!important;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out;outline:0}.toplevel_page_feed-them-settings-page .feed-them-social-admin-slick-logo{right:5px;-webkit-border-radius:3px;border-radius:3px}.feed_them_social_id-answer{padding:15px 0;display:none;font-weight:700}.feed_them_social_id-answer div{padding-bottom:10px}.im-done{padding:10px;background-color:#CD1723!important;border:none!important;color:#fff!important;font-weight:700;text-shadow:1px 1px 3px #000;filter:dropshadow(color=#000000, offx=1, offy=1);-webkit-border-radius:3px;border-radius:3px}#shortcode-form-selector{margin-bottom:10px;padding:15px;height:40px;min-width:290px}.feed-them-icon-wrap{position:absolute;right:27px;top:25px;width:234px;height:50px}.feed-them-social-admin-wrap,.fts-content,.fts-plugin-reviews{position:relative}.fts-facebook_group-shortcode-form:hover .feed-them-icon-wrap a.facebook-icon{background-position:top right!important;background-size:34px!important;height:34px!important;width:34px!important;display:none}.feed-them-icon-wrap a{opacity:1;float:right;margin-left:1px;margin-bottom:1px;display:block;height:38px;width:38px;cursor:default;outline:0;border:none;box-shadow:0 1px 1px #222;border-radius:0;transition:all .3s ease-in-out}.feed-them-icon-wrap a,.feed-them-icon-wrap a:hover{-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out}.feed-them-icon-wrap a:hover{opacity:.85;transition:all .3s ease-in-out}.feed-them-icon-wrap a.facebook-icon{background:url(../images/facebook-icon.png) no-repeat}.feed-them-icon-wrap a.twitter-icon{background:url(../images/twitter-icon.png) top right no-repeat}.feed-them-icon-wrap a.instagram-icon{background:url(../images/instagram-icon.png) top right no-repeat}.feed-them-icon-wrap a.vine-icon{background:url(../images/vine-icon.png) top right no-repeat}.feed-them-icon-wrap a.youtube-icon{background:url(../images/youtube-icon.png) top right no-repeat}.feed-them-icon-wrap a.pinterest-icon{background:url(../images/pinterest-icon.png) top right no-repeat}a.icon-animate-small{background-position:top right!important;background-size:34px!important;height:34px!important;width:34px!important}.instructional-text{font-size:13px;line-height:19px;margin:0 0 15px;border-bottom:1px dotted #9C9C9C;color:#212121;padding:0 0 5px}.instructional-text a{color:#0073aa;text-decoration:none}.instructional-text a,.instructional-text a:hover{-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out}.instructional-text a:hover{transition:all .3s ease-in-out}.feed-them-custom-css{padding-top:25px;padding-left:0}.feed-them-clear-cache input{background-color:#F11E2E!important;margin-bottom:10px}.feed-them-clear-cache input:hover{background-color:#F15D2E!important}.feed-them-clear-cache-text{color:#F11E2E!important;font-weight:700;background-color:rgba(255,255,255,.88);padding:10px 16px;margin-top:10px;margin-bottom:10px;border-radius:2px;-webkit-border-radius:2px;opacity:.9}.fts-get-premium-version{margin-right:1em;margin-top:15px;display:block;max-width:210px;text-align:center;text-decoration:none!important}textarea#fts-color-options-main-wrapper-css-input{max-width:100%;min-height:350px;clear:both;background:#F9F9F9;font-family:Consolas,Monaco,monospace;font-size:12px;width:100%;height:300px;outline:0}.fts-custom-css-text{margin-bottom:5px}label.toggle-custom-textarea-show:hover{background:#999}label.toggle-custom-textarea-show{max-width:435px;display:block;height:37px;line-height:35px;float:left;text-align:center;padding:0 15px;background:#818181;border-radius:1px;font-size:12px;clear:both;letter-spacing:1px;margin:5px 5px 10px 0;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}#fts-color-options-main-wrapper-css-input,.fts-custom-css-text,.toggle-custom-textarea-hide{display:none}.fts-admin-wrap p input[type=checkbox],.fts-wp-header-custom input[type=checkbox]{margin:-1px 7px 0 2px!important}.fts-color-settings-admin-form p,.fts-powered-by-settings-admin-form p{color:#000;font-size:12px;-webkit-text-size-adjust:none}.fts-powered-by-settings-admin-form p{margin-bottom:0}.feed-them-custom-logo-css{margin-top:25px}#discount-for-review{clear:both;margin-bottom:1px;text-align:center;font-weight:700;color:#000;background:rgba(255,255,255,.53);float:right;width:195px;line-height:40px;cursor: pointer;}.discount-review-text{clear:both;color:#333;background:rgba(255,255,255,.9);width:165px;float:right;padding:20px 15px;text-align:center;display:none}#discount-for-review a{display:inline-block;width:auto;height:auto;margin:0;padding:0;border:none;box-shadow:none;float:none;cursor:pointer;text-decoration: none;font-size: 12px;font-weight: bold;color: #0073aa;}.fts-color-settings-admin-form label,.fts-color-settings-admin-form span{color:#060606}.fts-color-settings-admin-form p.example{color:#FFF;padding-bottom:35px!important}.fts-color-settings-admin-form fieldset label{color:#FFF;line-height:30px}.fts-color-settings-admin-form fieldset a{color:#FFF;text-decoration:none}@media (max-width:800px){.toplevel_page_feed-them-settings-page .feed-them-social-admin-wrap h1{text-shadow:#fff!important;height:32px!important;width:280px!important;background-size:280px!important}.feed-them-icon-wrap{position:relative;margin:-20px 0 70px;left:0!important;height:auto;clear:both;text-align:left}.feed-them-social-admin-slick-logo{display:none}#fts-date-and-time-format{width:100%}}.fts-failed-api-token,.fts-successful-api-token{clear:both;float:left;padding:7px 14px 7px 10px;border:1px solid rgba(255,255,255,.45);color:#000;margin:10px 20px 0 0;max-width:715px;width:100%}.fts-failed-api-token{background:rgba(245,207,206,.78)}.fts-successful-api-token{background:rgba(220,253,205,.78)}.feed-them_page_fts-facebook-feed-styles-submenu-page .fts-failed-api-token,.feed-them_page_fts-facebook-feed-styles-submenu-page .fts-successful-api-token{margin-top:0!important;padding:10px 15px;max-width:708px}.fts-special-working-wrap{padding:8px!important;max-width:722px!important}#fts_facebook_custom_api_token,#fts_facebook_custom_api_token_biz{margin-bottom:20px!important}.fts-facebook-custom-api-token-label{display:block;margin:0 40px 4px 0}.fts-facebook-custom-api-token-label a{font-weight:700;color:#DF1818}.twitter-api-wrap{margin:20px 0 0}.twitter-api-wrap .feed-them-social-admin-input-wrap{margin:0}.fts-facebook-custom-api-token-label,.fts-instagram-custom-api-token-label{max-width:700px;line-height:21px;font-size:13px}.fts-facebook-get-access-token,.fts-facebook-get-access-token:focus,.fts-instagram-get-access-token,.fts-instagram-get-access-token:focus,.fts-pinterest-get-access-token,.fts-pinterest-get-access-token:focus,.fts-twitter-get-access-token,.fts-twitter-get-access-token:focus,.fts-youtube-get-access-token,.fts-youtube-get-access-token:focus{border-radius:5px;box-shadow:0 1px 1px #999;display:block;clear:both;float:left;font-size:14px;margin-bottom:25px;margin-top:5px;text-decoration:none;font-weight:600}.fts-instagram-get-access-token,.fts-instagram-get-access-token:focus{padding:18px 16px 19px 188px;background:url(../images/instagram-logo-admin.png) 13px 12px no-repeat #FFF;color:#252525}.fts-pinterest-get-access-token,.fts-pinterest-get-access-token:focus{padding:18px 16px 19px 188px;background:url(../images/pinterest-logo-admin.jpg) 13px 12px no-repeat #FFF;color:#252525}.fts-facebook-get-access-token:hover,.fts-instagram-get-access-token:hover,.fts-pinterest-get-access-token:hover{color:#666}.fts-facebook-get-access-token,.fts-facebook-get-access-token:focus{padding:18px 16px 19px 182px;background:url(../images/facebook-logo-admin.jpg) 14px 12px no-repeat #FFF;color:#252525}@font-face{margin:0 0 9px;font-size:19px}.fts-title-description-settings-page{padding:25px 0 15px;max-width:740px;border-top:1px solid #ccc}.fts-premium-options-message,.fts-premium-options-message2{font-size:13px;padding:20px 25px 25px;line-height:19px;background-color:#FFF;margin:0}.fts-premium-options-message a:first-child,.fts-premium-options-message2 a:first-child{font-size:16px;display:inline-block;padding:0;margin:0 0 5px;text-decoration:none}.fts-plugin-reviews{max-width:789px;padding:25px 28px 31px;box-shadow:0 0 1px #d1d1d1;border-radius:1px;background:rgba(255,255,255,1);-webkit-text-size-adjust:none;font-size:13px;line-height:21px;margin-right:10px}.fts-plugin-reviews a{text-decoration:none}.fts-plugin-reviews-rate{margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid #eee}h1.plugin-author-note{margin:50px 0 15px!important;font-size:22px;color:#222;z-index:1;position:relative}.toplevel_page_feed-them-settings-page .error{margin:20px 20px 20px 0;max-width:818px}.feed-them_page_fts-facebook-feed-styles-submenu-page .error,.feed-them_page_fts-instagram-feed-styles-submenu-page .error,.feed-them_page_fts-pinterest-feed-styles-submenu-page .error,.feed-them_page_fts-system-info-submenu-page .error,.feed-them_page_fts-system-info-submenu-page .notice,.feed-them_page_fts-twitter-feed-styles-submenu-page .error,.feed-them_page_fts-youtube-feed-styles-submenu-page .error{margin:20px 20px 20px 0!important}.feed-them_page_fts-bar-settings-page .error{margin:20px 20px 20px 5px!important;max-width:1005px}.hashtag-option-small-text,.twitter-hashtag-etc-wrap{display:none}.twitter-hashtag-etc-wrap{margin:15px 0 35px}.fts-content{background-color:rgba(241,241,241,.65);padding:30px;z-index:1;display:nonee;border-radius:2px;box-shadow:0 2px 10px rgba(41,41,41,.51);min-height:315px}.shortcode-generator-form{border-radius:3px;margin-top:15px}.instructional-text a:hover{color:#EA1616;text-decoration:underline;opacity:.8}.final-shortcode-textarea h4{border-bottom:1px solid #FFF;padding:0 0 10px;font-size:13px;margin-bottom:15px}.toplevel_page_feed-them-settings-page .fts-content h1{color:#fbfbfb;margin:0 0 12px;line-height:30px;text-shadow:1px 1px 1px rgba(51,51,51,.06);font-weight:600;background:url(../images/feed-them-social-logo.png) no-repeat;height:40px;width:377px;font-size:0}.fb-options-wrap .feed-them-social-admin-submit-btn{margin-top:5px}#fts-social-selector,.twitter-gen-selection{margin-bottom:25px}.fts-text-align-center{text-align:center}.toplevel_page_feed-them-settings-page .feed-them-social-admin-slick-logo{background:url(../images/footer-logo.png) center no-repeat;width:110px;height:20px;padding:0;margin:20px 0 -20px;display:inline-block;position:relative;bottom:0;:0;opacity:1}.fb-image,.fts-backg{width:100%;height:100%}.feed-them-social-admin-wrap h3{color:#000;font-size:20px;font-weight:400;line-height:23px;margin:0 0 5px}.feed-them-social-admin-wrap .feed-them-social-admin-form h2{color:#000;font-size:23px;font-weight:400;line-height:23px;margin:15px 0 20px;padding:0}.instagram-id-option-wrap .feed-them-social-admin-submit-btn,.toplevel_page_feed-them-settings-page .feed-them-social-admin-submit-btn{margin-top:0;margin-left:0!important}.toplevel_page_feed-them-settings-page .instagram-id-option-wrap .feed-them-social-admin-submit-btn{margin-top:5px!important;margin-left:0!important}.feed-them-clear-cache .use-of-plugin{margin:0}.feed-them-clear-cache h2,.feed-them-custom-css h2,.feed-them-custom-logo-css h2{margin-bottom:10px;margin-top:5px;font-size:17px;padding-top:20px;border-top:1px dotted rgba(177,177,177,.88);color:#060606}.feed-them-clear-cache h2{border:none;margin-top:17px;padding-top:0}.feed-them-custom-css p,.feed-them-custom-logo-css p{margin:0 0 5px}#fts-date-and-time-format{margin-bottom:10px}.feed-them-social-admin-submit-btn{margin-top:15px!important}#fts_admin_bar_menu{margin-bottom:0;margin-left:31px}.fts-backg{position:absolute;top:0;right:0;z-index:0;opacity:1;-webkit-animation:ftsettings 5s;animation:ftsettings 5s;background:rgba(255,255,255,.8)}@-webkit-keyframes ftsettings{from{opacity:0}to{opacity:1}}@keyframes ftsettings{from{opacity:0}to{opacity:1}}.fb-reviews,.reviews-options{display:none}.fts-required-token-message{padding:15px;background:#fcfcfc;margin:12px 0 20px;border-left:4px solid #FB3939}.custom_time_ago_wrap{padding-top:10px}.custom_time_ago_wrap h2{margin-bottom:20px}.custom_time_ago_wrap label{color:#000;display:inline-block;min-width:75px;margin:0 10px 12px;font-size:13px}.slideshow-wrap{margin-top:18px}.fb-page-list{margin:0;display:block;max-width:740px}.fb-page-list li{background:#FFF;padding:8px 20px 10px 10px;margin:0;border-left:15px solid #3b5999;border-bottom:1px solid #e9ebee;cursor:pointer}.fb-page-list li .feed-them-social-admin-submit-btn{display:none;float:right;margin-top:9px!important}.fb-page-list li:hover{background:rgba(255,255,255,.57)}.fb-image{margin:0 15px 0 0;float:left;line-height:50px;text-align:center!important;max-width:50px;min-width:50px;vertical-align:baseline;min-height:50px}.fb-image img{display:inline-block;vertical-align:middle;border-radius:50px}.fb-name{margin:0;display:inline-block;line-height:50px;letter-spacing:1px;color:#4c4c4c;font-weight:500}.board-name,.combine-instagram-hashtag-option-text,.combine-instagram-location-option-text,.fb-video-play-btn-options-content,.fb-video-play-btn-options-wrap,.fb_album_photos_id,.fts-facebook-grid-options-wrap,.fts-facebook-load-more-options-wrap,.fts-facebook-load-more-options2-wrap,.fts-fb-id,.fts-instagram-load-more-options-wrap,.fts-super-facebook-options-wrap,.fts-youtube-load-more-options-wrap,.fts-youtube-load-more-options2-wrap,.instagram-hashtag-option-text,.instagram-location-option-text,.page-token,.pinterest-board-and-name-text,.slider_options_wrap,.slideshow-wrap,.youtube_align_comments_wrap,.youtube_channelID2,.youtube_name,.youtube_name2,.youtube_playlistID,.youtube_playlistID2,.youtube_singleVideoID{display:none}.fts-pages-info{background:#3b5999;max-width:710px;padding:10px 15px;color:#FFF;margin-top:1px;letter-spacing:.5px}.fts-fb-page-thumb{float:left;margin-right:10px;border-radius:50px}.fts-successful-api-token h3{margin-bottom:0;margin-top:4px;font-weight:700}.use-of-plugin{color:#000;font-size:13px;font-weight:400;line-height:20px;max-width:60%;padding-bottom:12px;margin-bottom:0}.fts-admin-button-no-work{margin:0 0 0 25px;line-height:41px}.twitter_hashtag_etc_name{padding-top:0}.page.inst-text-facebook-page{display:block}.slider_options_wrap.not-active-premium-fields,.slideshow-wrap .feed-them-social-admin-input-default{display:block!important}.fts-premium-options-message a.not-active-title:first-child{font-size:16px!important;display:block!important;padding:0!important;margin:0 0 5px!important;text-decoration:none!important}.combine-facebook-wrap,.combine-grid-options-wrap,.combine-instagram-wrap,.combine-pinterest-wrap,.combine-twitter-wrap,.combine-youtube-wrap,.combine_board_id,.combine_playlist_id,.combine_youtube_name,.display-comments-wrap,.facebook-reviews-wrap,.fts-premium-options-message,.fts-twitter-grid-options-wrap,.fts-twitter-load-more-options-wrap,.fts-twitter-load-more-options2-wrap,.inst-text-facebook-reviews,.instagram-profile-options-wrap,.like-box-wrap{display:none}.sectioned-options-title{margin-top:15px!important;margin-bottom:15px!important;border-bottom:1px solid #f1f1f1;padding:10px 10px 10px 30px;font-size:18px!important;color:#060606!important;background:#FFF;margin-left:-30px!important;box-shadow:0 1px 1px rgba(153,153,153,.59)}.facebook-image-animation-option-wrap,.multiple_facebook .facebook-loadmore-wrap,.multiple_facebook .facebook-title-options-wrap,.multiple_facebook .like-box-wrap,.multiple_facebook h2{display:none!important}.fts-fb-load-more,.fts-fb-spinner{text-align:center}.fts-fb-spinner>div{width:10px;height:10px;background-color:#999;border-radius:100%;display:inline-block;-webkit-animation:fts-fb-bouncedelay 1.4s infinite ease-in-out;animation:fts-fb-bouncedelay 1.4s infinite ease-in-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}.fts-hide-me,.popup-gallery-fb .fts-fb-caption{display:none}.fb-social-btn-below-description,.fb-social-btn-bottom,.fb-social-btn-top{width:100%!important;overflow:hidden}.fts-fb-spinner .bounce1{-webkit-animation-delay:-.32s;animation-delay:-.32s}.fts-fb-spinner .bounce2{-webkit-animation-delay:-.16s;animation-delay:-.16s}@-webkit-keyframes fts-fb-bouncedelay{0%,100%,80%{-webkit-transform:scale(0)}40%{-webkit-transform:scale(1)}}@keyframes fts-fb-bouncedelay{0%,100%,80%{transform:scale(0);-webkit-transform:scale(0)}40%{transform:scale(1);-webkit-transform:scale(1)}}.fts-fluid-videoWrapper-html5 video{object-fit:inherit;margin-bottom:0!important}.fts-fb-album-view-link a{color:#FFF}.fts-fb-album-view-link a:hover{color:#eee}.fts-fb-load-more{border-radius:1px;padding:0;line-height:37px!important;width:100%;min-height:37px!important;font-size:13px!important;background:#fff!important;cursor:pointer;color:#111;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out;max-width:740px!important}.toggle-custom-textarea-show span,label.toggle-custom-textarea-show{color:#fffefe}.fts-logo-header{margin-bottom:20px!important}.fts-logo-subheader{margin-bottom:10px!important}.fts-color-settings-admin-form label{font-weight:700;min-width:100px}#fts_clear_cache_developer_mode{margin-left:28px}.toplevel_page_feed-them-settings-page .pane-active{display:block}.toplevel_page_feed-them-settings-page .fts-tabbed{display:block;float:left;color:#545454;font-weight:700;text-decoration:none;line-height:1.9;text-align:center;cursor:pointer;border-bottom:1px solid #ccc;padding:10px 38px!important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-width:115px;background:#FFF;margin-right:1px!important;font-size:13px;width:auto!important}.toplevel_page_feed-them-settings-page label.tab-active{background:#0073AA!important;color:#FFF!important}.toplevel_page_feed-them-settings-page .fts-tab-content{clear:both;padding-top:15px}.feed-them-social-admin-input-label small{font-weight:400}.not-active-title:hover h3{color:#028fd2}.not-active-title h3{color:#0073aa}@media (max-width:797px){.toplevel_page_feed-them-settings-page #fts-tabs{margin-top:140px!important}}@media (max-width:450px){#shortcode-form-selector{min-width:270px!important}}@media (max-width:500px){.toplevel_page_feed-them-settings-page #fts-tab-content1 .use-of-plugin{max-width:100%!important}}#fts-timezone{max-width:300px}.fts-instagram-username-picker-wrap li{clear:both;background:#e6e6e6;padding:10px;margin-bottom:1px;display:block;width:100%;line-height:16px;float:left}.combine-twitter-hashtag-etc-wrap,.facebook_hide_date,.facebook_hide_name,.facebook_hide_thumbnail,.facebook_show_media,.fts-success,.youtube_video_single_info_display{display:none}.fts-instagram-username-picker-wrap li.fts-insta-id-active,.fts-instagram-username-picker-wrap li:hover{background:#0073aa;color:#FFF}.ft-instagram-username-picker{clear:both;margin:0 0 1px;height:65px}.fts-insta-profile-picture-div img{float:left;max-width:65px;margin-right:15px;border-radius:100px}.fts-insta-fullname-div{padding:5px 0 2px}.fts-insta-id-div{font-style:italic;padding:5px 0 0}.fts-instagram-username-picker-wrap{padding-right:20px;max-height:310px;overflow:auto;margin:0}.fts-instagram-username-picker-wrap li:first-child{margin-top:10px}.fts-instagram-username-picker-wrap li:last-child{margin-bottom:10px}.fts-empty-error input,input.fts-empty-error{background:#ffffd8!important}.fts-instagram-username-picker-wrap li{color:#222}.fts-highlight{background:#0073aa;border-radius:20px;color:#FFF;padding:0 5px}.fts-youtube-get-access-token,.fts-youtube-get-access-token:focus{padding:18px 16px 19px 188px;background:url(../images/youtube-logo-admin.jpg) 13px 12px no-repeat #FFF;color:#252525}.fts-twitter-get-access-token,.fts-twitter-get-access-token:focus{padding:18px 16px 19px 188px;background:url(../images/twitter-logo-admin.jpg) 13px 12px no-repeat #FFF;color:#252525}.fts-twitter-add-all-keys-click-option{margin:-10px 0 15px}.twitter-extra-keys-text{max-width:550px;margin-bottom:15px}.feed-them_page_fts-twitter-feed-styles-submenu-page .fts-successful-api-token{margin-top:0;margin-bottom:-10px}#fts-timer{padding:6px 0 0 1px;float:left}@font-face{font-family:FontAwesomeSlick;src:url(../../feeds/css/font/fontawesome-webfont.eot?v=3.2.1);src:url(../../feeds/css/font/fontawesome-webfont.eot?#iefix&v=3.2.1) format("embedded-opentype"),url(../../feeds/css/font/fontawesome-webfont.woff?v=3.2.1) format("woff"),url(../../feeds/css/font/fontawesome-webfont.ttf?v=3.2.1) format("truetype"),url(../../feeds/css/font/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1) format("svg")}.fts-success:before{font-family: FontAwesomeSlick !important;content: "\f00c" !important;font-size:14px;position: relative;line-height: 19px;}.fts-success{margin: 3px 6px 0;padding:2px 4px;color:#fff;background:#01a701;border-radius:20px;float:left;font-size: 10px !important;width: auto;height: 18px;}#discount-for-review a:hover {color:#0073aa;}
trunk/admin/feed-them-facebook-style-options-page.php ADDED
@@ -0,0 +1,879 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace feedthemsocial;
3
+ /**
4
+ * Class FTS Facebook Options Page
5
+ *
6
+ * @package feedthemsocial
7
+ */
8
+ class FTS_facebook_options_page
9
+ {
10
+
11
+ /**
12
+ * Construct
13
+ *
14
+ * Facebook Style Options Page constructor.
15
+ *
16
+ * @since 1.9.6
17
+ */
18
+ function __construct() {
19
+
20
+ }
21
+
22
+ /**
23
+ * Feed Them Facebook Options Page
24
+ *
25
+ * @since 1.9.6
26
+ */
27
+ function feed_them_facebook_options_page() {
28
+ $fts_functions = new feed_them_social_functions();
29
+ ?>
30
+
31
+ <div class="feed-them-social-admin-wrap">
32
+ <h1>
33
+ <?php _e('Facebook Feed Options', 'feed-them-social'); ?>
34
+ </h1>
35
+ <div class="use-of-plugin">
36
+ <?php _e('Change the language, color and more for your facebook feed using the options below.', 'feed-them-social'); ?>
37
+ </div>
38
+ <!-- custom option for padding -->
39
+ <form method="post" class="fts-facebook-feed-options-form" action="options.php" id="fts-facebook-feed-options-form">
40
+ <br/>
41
+ <?php // get our registered settings from the fts functions
42
+ settings_fields('fts-facebook-feed-style-options');
43
+ //Language select
44
+ $fb_language = get_option('fb_language', 'en_US');
45
+ //share button
46
+ $fb_show_follow_btn = get_option('fb_show_follow_btn');
47
+ $fb_show_follow_btn_where = get_option('fb_show_follow_btn_where');
48
+ $fb_show_follow_btn_profile_pic = get_option('fb_show_follow_btn_profile_pic');
49
+ $fb_like_btn_color = get_option('fb_like_btn_color', 'light');
50
+ $fb_hide_shared_by_etc_text = get_option('fb_hide_shared_by_etc_text');
51
+ $fb_hide_images_in_posts = get_option('fb_hide_images_in_posts');
52
+ $fb_hide_error_handler_message = get_option('fb_hide_error_handler_message');
53
+ $fb_hide_no_posts_message = get_option('fb_hide_no_posts_message');
54
+ $fb_reviews_remove_see_reviews_link = get_option('fb_reviews_remove_see_reviews_link');
55
+ $fb_loadmore_background_color = get_option('fb_loadmore_background_color');
56
+ $fb_loadmore_text_color = get_option('fb_loadmore_text_color');
57
+
58
+ $fb_reviews_overall_rating_background_border_hide = get_option('fb_reviews_overall_rating_background_border_hide');
59
+
60
+ $lang_options_array = json_decode($fts_functions->xml_json_parse('https://raw.githubusercontent.com/pennersr/django-allauth/master/allauth/socialaccount/providers/facebook/data/FacebookLocales.xml'));
61
+ //echo'<pre>';
62
+ // print_r($lang_options_array);
63
+ //echo'</pre>';
64
+
65
+ ?>
66
+ <div id="fb-token-master-wrap" class="feed-them-social-admin-input-wrap" style="padding-bottom:0px;">
67
+ <div class="fts-title-description-settings-page" style="padding-top:0; border:none; margin-bottom:0px;">
68
+ <h3>
69
+ <?php _e('Facebook API Token', 'feed-them-social'); ?>
70
+ </h3>
71
+ <?php _e('This Facebook Access Token is for Business Pages, Photos and Videos only and is simply used to display the feed. This will NOT work for personal accounts or groups. You must be an admin of the page to get your token.', 'feed-them-social'); ?>
72
+ <p>
73
+ <a href="https://www.facebook.com/dialog/oauth?client_id=1123168491105924&redirect_uri=https://www.slickremix.com/facebook-token/&state=<?php echo admin_url('admin.php?page=fts-facebook-feed-styles-submenu-page'); ?>&scope=manage_pages" class="fts-facebook-get-access-token">Login
74
+ and get my Access Token</a></p>
75
+
76
+ </div>
77
+ <a href="mailto:support@slickremix.com" target="_blank" class="fts-admin-button-no-work"><?php _e('Button not working?', 'feed-them-social'); ?></a>
78
+ <?php
79
+ $test_app_token_id = get_option('fts_facebook_custom_api_token');
80
+ $test_app_token_id_biz = get_option('fts_facebook_custom_api_token_biz');
81
+ if (!empty($test_app_token_id) || !empty($test_app_token_id_biz)) {
82
+ $fts_fb_access_token = '226916994002335|ks3AFvyAOckiTA1u_aDoI4HYuuw';
83
+ $test_app_token_URL = array(
84
+ 'app_token_id' => 'https://graph.facebook.com/debug_token?input_token=' . $test_app_token_id . '&access_token=' . $test_app_token_id
85
+ // 'app_token_id' => 'https://graph.facebook.com/oauth/access_token?client_id=705020102908771&client_secret=70166128c6a7b5424856282a5358f47b&grant_type=fb_exchange_token&fb_exchange_token=CAAKBNkjLG2MBAK5jVUp1ZBCYCiLB8ZAdALWTEI4CesM8h3DeI4Jotngv4TKUsQZBwnbw9jiZCgyg0eEmlpiVauTsReKJWBgHe31xWCsbug1Tv3JhXZBEZBOdOIaz8iSZC6JVs4uc9RVjmyUq5H52w7IJVnxzcMuZBx4PThN3CfgKC5E4acJ9RnblrbKB37TBa1yumiPXDt72yiISKci7sqds0WFR3XsnkwQZD'
86
+ );
87
+ $test_app_token_URL_biz = array(
88
+ 'app_token_id_biz' => 'https://graph.facebook.com/debug_token?input_token=' . $test_app_token_id_biz . '&access_token=' . $test_app_token_id_biz . '&'
89
+ // 'app_token_id' => 'https://graph.facebook.com/oauth/access_token?client_id=705020102908771&client_secret=70166128c6a7b5424856282a5358f47b&grant_type=fb_exchange_token&fb_exchange_token=CAAKBNkjLG2MBAK5jVUp1ZBCYCiLB8ZAdALWTEI4CesM8h3DeI4Jotngv4TKUsQZBwnbw9jiZCgyg0eEmlpiVauTsReKJWBgHe31xWCsbug1Tv3JhXZBEZBOdOIaz8iSZC6JVs4uc9RVjmyUq5H52w7IJVnxzcMuZBx4PThN3CfgKC5E4acJ9RnblrbKB37TBa1yumiPXDt72yiISKci7sqds0WFR3XsnkwQZD'
90
+ );
91
+ //Test App ID
92
+ // Leave these for reference:
93
+ // App token for FTS APP2: 358962200939086|lyXQ5-zqXjvYSIgEf8mEhE9gZ_M
94
+ // App token for FTS APP3: 705020102908771|rdaGxW9NK2caHCtFrulCZwJNPyY
95
+ $test_app_token_response = $fts_functions->fts_get_feed_json($test_app_token_URL);
96
+ $test_app_token_response = json_decode($test_app_token_response['app_token_id']);
97
+ $test_app_token_response_biz = $fts_functions->fts_get_feed_json($test_app_token_URL_biz);
98
+ $test_app_token_response_biz = json_decode($test_app_token_response_biz['app_token_id_biz']);
99
+ // echo'<pre>';
100
+ // print_r($test_app_token_response);
101
+ // echo'</pre>';
102
+ }
103
+ ?>
104
+ <div class="clear"></div>
105
+ <div class="feed-them-social-admin-input-wrap fts-fb-token-wrap" id="fts-fb-token-wrap" style="margin-bottom:0px;">
106
+ <div class="feed-them-social-admin-input-label fts-twitter-border-bottom-color-label">
107
+ <?php _e('Page ID', 'feed-them-social'); ?>
108
+ </div>
109
+ <input type="text" name="fts_facebook_custom_api_token_user_id" class="feed-them-social-admin-input" id="fts_facebook_custom_api_token_user_id" value="<?php echo get_option('fts_facebook_custom_api_token_user_id'); ?>"/>
110
+ <div class="clear" style="margin-bottom:10px;"></div>
111
+ <div class="feed-them-social-admin-input-label fts-twitter-border-bottom-color-label">
112
+ <?php _e('Access Token Required', 'feed-them-social'); ?>
113
+ </div>
114
+
115
+ <input type="text" name="fts_facebook_custom_api_token" class="feed-them-social-admin-input" id="fts_facebook_custom_api_token" value="<?php echo get_option('fts_facebook_custom_api_token'); ?>"/>
116
+ <div class="clear"></div>
117
+
118
+ <input type="text" hidden name="fts_facebook_custom_api_token_user_name" class="feed-them-social-admin-input" id="fts_facebook_custom_api_token_user_name" value="<?php echo get_option('fts_facebook_custom_api_token_user_name'); ?>"/>
119
+ <div class="clear"></div>
120
+ <?php if (!empty($test_app_token_response) && !empty($test_app_token_id)) {
121
+ if (isset($test_app_token_response->data->is_valid) || $test_app_token_response->error->message == "(#100) You must provide an app access token or a user access token that is an owner or developer of the app") {
122
+ $fb_id = get_option('fts_facebook_custom_api_token_user_id');
123
+ $fb_name = get_option('fts_facebook_custom_api_token_user_name');
124
+ echo '<div class="fts-successful-api-token fts-special-working-wrap">';
125
+
126
+ if (!empty($fb_id) && !empty($fb_name) && !empty($test_app_token_id)) {
127
+ echo '<img border="0" height="50" width="50" class="fts-fb-page-thumb" src="https://graph.facebook.com/' . $fb_id . '/picture"/><h3>' . $fb_name . '</h3>';
128
+ }
129
+ echo __('Your Access Token is now working! Generate your shortcode on the <a href="admin.php?page=feed-them-settings-page#feed_type=facebook">settings page</a>.', 'feed-them-social') . '</div>';
130
+
131
+ }
132
+ if (isset($test_app_token_response->data->error->message) && !empty($test_app_token_id) || isset($test_app_token_response->error->message) && !empty($test_app_token_id) && $test_app_token_response->error->message !== "(#100) You must provide an app access token or a user access token that is an owner or developer of the app") {
133
+ if (isset($test_app_token_response->data->error->message)) {
134
+ echo '<div class="fts-failed-api-token">' . __('Oh No something\'s wrong.', 'feed-them-social') . ' ' . $test_app_token_response->data->error->message . ' ' . __('. Please click the button above to retrieve a new Access Token.', 'feed-them-social') . '</div>';
135
+ }
136
+ if (isset($test_app_token_response->error->message)) {
137
+ echo '<div class="fts-failed-api-token">' . __('Oh No something\'s wrong.', 'feed-them-social') . ' ' . $test_app_token_response->error->message . ' ' . __('. Please click the button above to retrieve a new Access Token.', 'feed-them-social') . '</div>';
138
+ }
139
+
140
+ if (isset($test_app_token_response->data->error->message) && empty($test_app_token_id) || isset($test_app_token_response->error->message) && empty($test_app_token_id)) {
141
+ echo '<div class="fts-failed-api-token">' . __('To get started, please click the button above to retrieve your Access Token.', 'feed-them-social') . '</div>';
142
+ }
143
+ }
144
+
145
+ } else {
146
+ echo '<div class="fts-failed-api-token">' . __('To get started, please click the button above to retrieve your Access Token.', 'feed-them-social') . '</div>';
147
+ }
148
+ ?>
149
+ <div class="clear"></div>
150
+
151
+ <?php
152
+
153
+
154
+ if (isset($_GET['return_long_lived_token']) && !isset($_GET['reviews_token'])) {
155
+ // Echo our shortcode for the page token list with loadmore button
156
+ // These functions are on feed-them-functions.php
157
+ echo do_shortcode('[fts_fb_page_token]');
158
+
159
+ } ?>
160
+ </div>
161
+
162
+ <div class="clear"></div>
163
+ </div>
164
+ <!--/fts-facebook-feed-styles-input-wrap-->
165
+
166
+ <?php if (is_plugin_active('feed-them-social-facebook-reviews/feed-them-social-facebook-reviews.php')) { ?>
167
+ <!-- style="padding-top:0; border:none; margin-bottom:0px; -->
168
+ <div id="fts-fb-reviews-wrap" class="feed-them-social-admin-input-wrap">
169
+ <div class="fts-title-description-settings-page" style="margin-bottom:0px;">
170
+ <h3>
171
+ <?php _e('Facebook Page Reviews Access Token', 'feed-them-social'); ?>
172
+ </h3>
173
+ <?php _e('This Facebook Access Token works for the Reviews feed only and is simply used to display the feed. You must be an admin of the page to get your token.', 'feed-them-social'); ?>
174
+ <p>
175
+ <a href="https://www.facebook.com/dialog/oauth?client_id=1123168491105924&redirect_uri=https://www.slickremix.com/facebook-token/&state=<?php echo admin_url('admin.php?page=fts-facebook-feed-styles-submenu-page'); ?>%26reviews_token=yes&scope=manage_pages%2Cpublic_profile%2Cuser_friends%2Cemail" class="fts-facebook-get-access-token">Login
176
+ and get my Reviews Access Token</a></p>
177
+
178
+ </div>
179
+
180
+ <a href="mailto:support@slickremix.com" target="_blank" class="fts-admin-button-no-work"><?php _e('Button not working?', 'feed-them-social'); ?></a>
181
+
182
+ <div class="clear"></div>
183
+ <div class="feed-them-social-admin-input-label fts-twitter-border-bottom-color-label">
184
+ <?php _e('Page Reviews ID', 'feed-them-social'); ?>
185
+ </div>
186
+ <input type="text" name="fts_facebook_custom_api_token_user_id_biz" class="feed-them-social-admin-input" id="fts_facebook_custom_api_token_user_id_biz" value="<?php echo get_option('fts_facebook_custom_api_token_user_id_biz'); ?>"/>
187
+
188
+ <div class="clear" style="margin-bottom:10px;"></div>
189
+ <div class="feed-them-social-admin-input-label fts-twitter-border-bottom-color-label">
190
+ <?php _e('Page Reviews Access Token', 'feed-them-social'); ?>
191
+ </div>
192
+ <input type="text" name="fts_facebook_custom_api_token_biz" class="feed-them-social-admin-input" id="fts_facebook_custom_api_token_biz" value="<?php echo get_option('fts_facebook_custom_api_token_biz'); ?>"/>
193
+ <input type="text" hidden name="fts_facebook_custom_api_token_user_name_biz" class="feed-them-social-admin-input" id="fts_facebook_custom_api_token_user_name_biz" value="<?php echo get_option('fts_facebook_custom_api_token_user_name_biz'); ?>"/>
194
+ <div class="clear"></div>
195
+
196
+ <?php
197
+ if (!empty($test_app_token_response_biz) && !empty($test_app_token_id_biz)) {
198
+ $fb_name_biz = get_option('fts_facebook_custom_api_token_user_name_biz');
199
+ $fb_id_biz = get_option('fts_facebook_custom_api_token_user_id_biz');
200
+ if (isset($test_app_token_response_biz->data->is_valid) || $test_app_token_response_biz->error->message == "(#100) You must provide an app access token or a user access token that is an owner or developer of the app") {
201
+ echo '<div class="fts-successful-api-token fts-special-working-wrap">';
202
+
203
+
204
+ if (!empty($fb_id_biz) && !empty($fb_name_biz) && !empty($test_app_token_id_biz)) {
205
+ echo '<img border="0" height="50" width="50" class="fts-fb-page-thumb" src="https://graph.facebook.com/' . $fb_id_biz . '/picture"/><h3>' . $fb_name_biz . '</h3>';
206
+ }
207
+ echo __('Your Page Reviews Access Token is now working! Generate your shortcode on the <a href="admin.php?page=feed-them-settings-page#feed_type=facebook_reviews">settings page</a>.', 'feed-them-social') . '</div>';
208
+
209
+ }
210
+
211
+ if (isset($test_app_token_response_biz->data->error->message) && !empty($test_app_token_id_biz) || isset($test_app_token_response_biz->error->message) && !empty($test_app_token_id) && $test_app_token_response_biz->error->message !== "(#100) You must provide an app access token or a user access token that is an owner or developer of the app") {
212
+ if (isset($test_app_token_response_biz->data->error->message)) {
213
+ echo '<div class="fts-failed-api-token">' . __('Oh No something\'s wrong.', 'feed-them-social') . ' ' . $test_app_token_response_biz->data->error->message . ' ' . __('Please click the button above to retreive a new Access Token.', 'feed-them-social') . '</div>';
214
+ }
215
+ if (isset($test_app_token_response_biz->error->message) && !empty($test_app_token_id_biz) && !isset($_GET["return_long_lived_token"])) {
216
+ echo '<div class="fts-failed-api-token">' . __('Oh No something\'s wrong.', 'feed-them-social') . ' ' . $test_app_token_response_biz->error->message . ' ' . __('Please click the button above to retreive a new Access Token.', 'feed-them-social') . '</div>';
217
+ }
218
+ }
219
+
220
+ }
221
+ if (empty($test_app_token_id_biz)) {
222
+ echo '<div class="fts-failed-api-token get-started-message">' . __('To get started, please click the button above to retrieve your Page Reviews Access Token.', 'feed-them-social') . '</div>';
223
+ }
224
+
225
+
226
+ if (isset($_GET['return_long_lived_token']) && isset($_GET['reviews_token'])) {
227
+ // Echo our shortcode for the page token list with loadmore button
228
+ // These functions are on feed-them-functions.php
229
+ echo do_shortcode('[fts_fb_page_token]');
230
+
231
+ } ?>
232
+
233
+ <div class="clear"></div>
234
+ </div>
235
+ <!--/fts-facebook-feed-styles-input-wrap-->
236
+
237
+ <div class="feed-them-social-admin-input-wrap">
238
+ <div class="fts-title-description-settings-page">
239
+ <h3>
240
+ <?php _e('Reviews: Style and Text Options', 'feed-them-social'); ?>
241
+ </h3>
242
+ <?php _e('The styles above still apply, these are just some extra options for the Reviews List feed.', 'feed-them-social'); ?>
243
+ </div>
244
+ <div class="feed-them-social-admin-input-label fb-events-title-color-label">
245
+ <?php _e('Stars Background Color<br/><small>Applies to Overall Rating too.</small>', 'feed-them-social'); ?>
246
+ </div>
247
+ <input type="text" name="fb_reviews_backg_color" class="feed-them-social-admin-input fb-reviews-backg-color color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="fb-reviews-backg-color" placeholder="#4791ff" value="<?php echo get_option('fb_reviews_backg_color'); ?>"/>
248
+ <div class="clear"></div>
249
+ </div>
250
+ <!--/fts-facebook-feed-styles-input-wrap-->
251
+
252
+ <div class="feed-them-social-admin-input-wrap">
253
+ <div class="feed-them-social-admin-input-label fb-events-map-link-color-label">
254
+ <?php _e('Stars & Text Color<br/><small>Applies to Overall Rating too.</small>', 'feed-them-social'); ?>
255
+ </div>
256
+ <input type="text" name="fb_reviews_text_color" class="feed-them-social-admin-input fb-reviews-text-color color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="fb-reviews-text-color" placeholder="#fff" value="<?php echo get_option('fb_reviews_text_color'); ?>"/>
257
+ <div class="clear"></div>
258
+ </div>
259
+ <!--/fts-facebook-feed-styles-input-wrap-->
260
+
261
+ <div class="feed-them-social-admin-input-wrap">
262
+ <div class="feed-them-social-admin-input-label fb-events-map-link-color-label">
263
+ <?php _e('Text for the word "star"', 'feed-them-social'); ?>
264
+ </div>
265
+ <input type="text" name="fb_reviews_star_language" class="feed-them-social-admin-input" id="fb_reviews_star_language" placeholder="star" value="<?php echo get_option('fb_reviews_star_language'); ?>"/>
266
+ <div class="clear"></div>
267
+ </div>
268
+ <!--/fts-facebook-feed-styles-input-wrap-->
269
+
270
+ <div class="feed-them-social-admin-input-wrap">
271
+ <div class="feed-them-social-admin-input-label fb-events-map-link-color-label">
272
+ <?php _e('Text for the word "Recommended"', 'feed-them-social'); ?>
273
+ </div>
274
+ <input type="text" name="fb_reviews_recommended_language" class="feed-them-social-admin-input" id="fb_reviews_recommended_language" placeholder="Recommeded" value="<?php echo get_option('fb_reviews_recommended_language'); ?>"/>
275
+ <div class="clear"></div>
276
+ </div>
277
+ <!--/fts-facebook-feed-styles-input-wrap-->
278
+
279
+ <div class="feed-them-social-admin-input-wrap">
280
+ <div class="feed-them-social-admin-input-label fb-events-map-link-color-label">
281
+ <?php _e('Text for "See More Reviews"', 'feed-them-social'); ?>
282
+ </div>
283
+ <input type="text" name="fb_reviews_see_more_reviews_language" class="feed-them-social-admin-input" id="fb_reviews_see_more_reviews_language" placeholder="See More Reviews" value="<?php echo get_option('fb_reviews_see_more_reviews_language'); ?>"/>
284
+ <div class="clear"></div>
285
+ </div>
286
+ <!--/fts-facebook-feed-styles-input-wrap-->
287
+
288
+ <div class="feed-them-social-admin-input-wrap">
289
+ <div class="feed-them-social-admin-input-label">
290
+ <?php _e('Remove "See More Reviews" link', 'feed-them-social'); ?>
291
+ </div>
292
+ <select name="fb_reviews_remove_see_reviews_link" id="fb_reviews_remove_see_reviews_link" class="feed-them-social-admin-input">
293
+ <option value="">
294
+ <?php _e('Please Select Option', 'feed-them-social'); ?>
295
+ </option>
296
+ <option <?php echo selected($fb_reviews_remove_see_reviews_link, 'yes', false) ?> value="yes">
297
+ <?php _e('Yes', 'feed-them-social'); ?>
298
+ </option>
299
+ <option <?php echo selected($fb_reviews_remove_see_reviews_link, 'no', false) ?> value="no">
300
+ <?php _e('No', 'feed-them-social'); ?>
301
+ </option>
302
+ </select>
303
+ <div class="clear"></div>
304
+ </div>
305
+ <!--/fts-facebook-feed-styles-input-wrap-->
306
+
307
+ <div class="fts-title-description-settings-page" id="overall-rating-options">
308
+ <h3>
309
+ <?php _e('Reviews: Overall Rating Style Options', 'feed-them-social'); ?>
310
+ </h3>
311
+ <?php _e('These styles are for the overall rating that appear above your feed.', 'feed-them-social'); ?>
312
+ </div>
313
+ <div class="feed-them-social-admin-input-wrap">
314
+ <div class="feed-them-social-admin-input-label">
315
+ <?php _e('Hide Overall Rating Background & Border', 'feed-them-social'); ?>
316
+ </div>
317
+ <select name="fb_reviews_overall_rating_background_border_hide" id="fb_reviews_overall_rating_background_border_hide" class="feed-them-social-admin-input">
318
+ <option value="">
319
+ <?php _e('Please Select Option', 'feed-them-social'); ?>
320
+ </option>
321
+ <option <?php echo selected($fb_reviews_overall_rating_background_border_hide, 'yes', false) ?> value="yes">
322
+ <?php _e('Yes', 'feed-them-social'); ?>
323
+ </option>
324
+ <option <?php echo selected($fb_reviews_overall_rating_background_border_hide, 'no', false) ?> value="no">
325
+ <?php _e('No', 'feed-them-social'); ?>
326
+ </option>
327
+ </select>
328
+ <div class="clear"></div>
329
+ </div>
330
+ <!--/fts-facebook-feed-styles-input-wrap-->
331
+
332
+ <div class="feed-them-social-admin-input-wrap">
333
+ <div class="feed-them-social-admin-input-label">
334
+ <?php _e('Overall Rating Background Color', 'feed-them-social'); ?>
335
+ </div>
336
+ <input type="text" name="fb_reviews_overall_rating_background_color" class="feed-them-social-admin-input fb-reviews-text-color color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="fb_reviews_overall_rating_background_color" placeholder="#fff" value="<?php echo get_option('fb_reviews_overall_rating_background_color'); ?>"/>
337
+ <div class="clear"></div>
338
+ </div>
339
+ <!--/fts-facebook-feed-styles-input-wrap-->
340
+
341
+
342
+ <div class="feed-them-social-admin-input-wrap">
343
+ <div class="feed-them-social-admin-input-label">
344
+ <?php _e('Overall Rating Text Color', 'feed-them-social'); ?>
345
+ </div>
346
+ <input type="text" name="fb_reviews_overall_rating_text_color" class="feed-them-social-admin-input fb-reviews-text-color color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="fb_reviews_overall_rating_text_color" placeholder="#fff" value="<?php echo get_option('fb_reviews_overall_rating_text_color'); ?>"/>
347
+ <div class="clear"></div>
348
+ </div>
349
+ <!--/fts-facebook-feed-styles-input-wrap-->
350
+
351
+ <div class="feed-them-social-admin-input-wrap">
352
+ <div class="feed-them-social-admin-input-label">
353
+ <?php _e('Overall Rating Border Color', 'feed-them-social'); ?>
354
+ </div>
355
+ <input type="text" name="fb_reviews_overall_rating_border_color" class="feed-them-social-admin-input fb-reviews-text-color color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="fb_reviews_overall_rating_border_color" placeholder="#ddd" value="<?php echo get_option('fb_reviews_overall_rating_border_color'); ?>"/>
356
+ <div class="clear"></div>
357
+ </div>
358
+ <!--/fts-facebook-feed-styles-input-wrap-->
359
+
360
+ <div class="feed-them-social-admin-input-wrap">
361
+ <div class="feed-them-social-admin-input-label">
362
+ <?php _e('Overall Rating Background Padding', 'feed-them-social'); ?>
363
+ </div>
364
+ <input type="text" name="fb_reviews_overall_rating_background_padding" class="feed-them-social-admin-input" id="fb_reviews_overall_rating_background_padding" placeholder="10px 10px 15px 10px" value="<?php echo get_option('fb_reviews_overall_rating_background_padding'); ?>"/>
365
+ <div class="clear"></div>
366
+ </div>
367
+ <!--/fts-facebook-feed-styles-input-wrap-->
368
+
369
+
370
+ <div class="feed-them-social-admin-input-wrap">
371
+ <div class="feed-them-social-admin-input-label">
372
+ <?php _e('Overall Rating "of 5 stars" text', 'feed-them-social'); ?>
373
+ </div>
374
+ <input type="text" name="fb_reviews_overall_rating_of_5_stars_text" class="feed-them-social-admin-input" id="fb_reviews_overall_rating_of_5_stars_text" placeholder="of 5 stars" value="<?php echo get_option('fb_reviews_overall_rating_of_5_stars_text'); ?>"/>
375
+ <div class="clear"></div>
376
+ </div>
377
+ <!--/fts-facebook-feed-styles-input-wrap-->
378
+
379
+ <div class="feed-them-social-admin-input-wrap">
380
+ <div class="feed-them-social-admin-input-label">
381
+ <?php _e('Overall Rating "reviews" text', 'feed-them-social'); ?>
382
+ </div>
383
+ <input type="text" name="fb_reviews_overall_rating_reviews_text" class="feed-them-social-admin-input" id="fb_reviews_overall_rating_reviews_text" placeholder="reviews" value="<?php echo get_option('fb_reviews_overall_rating_reviews_text'); ?>"/>
384
+ <div class="clear"></div>
385
+ </div>
386
+ <!--/fts-facebook-feed-styles-input-wrap-->
387
+
388
+ <?php } // end if reviewsp plugin active
389
+ ?>
390
+
391
+ <div class="feed-them-social-admin-input-wrap">
392
+ <div class="fts-title-description-settings-page">
393
+ <h3>
394
+ <?php _e('Language Options', 'feed-them-social'); ?>
395
+ </h3>
396
+ <?php _e('You must have your Facebook Access Token saved above before this feature will work. This option will translate the FB Titles and Like Button or Box Text. It will not translate your actual post. To translate the Feed Them Social parts of this plugin just set your language on the <a href="options-general.php" target="_blank">wordpress settings</a> page. If would like to help translate please', 'feed-them-social'); ?>
397
+ <a href="http://translate.slickremix.com/glotpress/projects/feed-them-social/" target="_blank">go here</a>.
398
+ </div>
399
+ <div class="feed-them-social-admin-input-label fts-twitter-text-color-label">
400
+ <?php _e('Language For Facebook Feeds', 'feed-them-social'); ?>
401
+ </div>
402
+ <select name="fb_language" id="fb-lang-btn" class="feed-them-social-admin-input">
403
+ <option value="en_US">
404
+ <?php _e('Please Select Option', 'feed-them-social'); ?>
405
+ </option>
406
+ <?php
407
+ foreach ($lang_options_array->locale as $language) {
408
+ echo '<option ' . selected($fb_language, $language->codes->code->standard->representation, true) . ' value="' . $language->codes->code->standard->representation . '">' . $language->englishName . '</option>';
409
+ }
410
+ ?>
411
+ </select>
412
+ <div class="clear"></div>
413
+ </div>
414
+ <!--/fts-twitter-feed-styles-input-wrap-->
415
+
416
+ <div class="feed-them-social-admin-input-wrap" style="display: none;">
417
+ <div class="fts-title-description-settings-page">
418
+ <h3>
419
+ <?php _e('Offset Limit', 'feed-them-social'); ?>
420
+ </h3>
421
+ <?php _e('<strong style="color:red">WARNING, PLEASE READ CAREFULLY!</strong> DO NOT use this field to set your facebook posts. If you are getting the message "Please go to the Facebook Options page of our plugin and look for the "Change Limit" option and add the number 7 or more." then adjust the number below so posts will show in your feed. Generally adding at least <strong>7</strong> is a good idea if you are getting that notice. This is only for Pages and Groups. We filter certain posts that do not have a story or message or if the shared content is not available via the API.', 'feed-them-social'); ?>
422
+ </div>
423
+ <div class="feed-them-social-admin-input-label">
424
+ <?php _e('Offset Quantity', 'feed-them-social'); ?>
425
+ </div>
426
+ <input type="text" name="fb_count_offset" class="feed-them-social-admin-input" id="fb_count_offset" value="<?php echo get_option('fb_count_offset'); ?>" />
427
+ <div class="clear"></div>
428
+ </div>
429
+ <!--/fts-twitter-feed-styles-input-wrap-->
430
+
431
+ <div class="feed-them-social-admin-input-wrap">
432
+ <div class="feed-them-social-admin-input-label fts-twitter-text-color-label">
433
+ <?php _e('Hide Notice on Front End', 'feed-them-social'); ?>
434
+ </div>
435
+ <select name="fb_hide_no_posts_message" id="fb_hide_no_posts_message" class="feed-them-social-admin-input">
436
+ <option value="">
437
+ <?php _e('Please Select Option', 'feed-them-social'); ?>
438
+ </option>
439
+ <option <?php echo selected($fb_hide_no_posts_message, 'yes', false) ?> value="yes">
440
+ <?php _e('Yes', 'feed-them-social'); ?>
441
+ </option>
442
+ <option <?php echo selected($fb_hide_no_posts_message, 'no', false) ?> value="no">
443
+ <?php _e('No', 'feed-them-social'); ?>
444
+ </option>
445
+ </select>
446
+ <div class="clear"></div>
447
+ </div>
448
+ <!--/fts-twitter-feed-styles-input-wrap-->
449
+
450
+ <div class="feed-them-social-admin-input-wrap">
451
+ <div class="fts-title-description-settings-page">
452
+ <h3>
453
+ <?php _e('Like Button or Box Options', 'feed-them-social'); ?>
454
+ </h3>
455
+ <?php _e('This will only show on regular feeds not combined feeds.', 'feed-them-social'); ?>
456
+ </div>
457
+ <div class="feed-them-social-admin-input-label fts-twitter-text-color-label">
458
+ <?php _e('Show Follow Button', 'feed-them-social'); ?>
459
+
460
+ </div>
461
+ <select name="fb_show_follow_btn" id="fb-show-follow-btn" class="feed-them-social-admin-input">
462
+ <option>
463
+ <?php _e('Please Select Option', 'feed-them-social'); ?>
464
+ </option>
465
+ <option <?php echo selected($fb_show_follow_btn, 'dont-display', false) ?> value="dont-display">
466
+ <?php _e('Don\'t Display a Button', 'feed-them-social'); ?>
467
+ </option>
468
+ <optgroup label="Like Box">
469
+ <option <?php echo selected($fb_show_follow_btn, 'like-box', false) ?> value="like-box">
470
+ <?php _e('Like Box', 'feed-them-social'); ?>
471
+ </option>
472
+ <option <?php echo selected($fb_show_follow_btn, 'like-box-faces', false) ?> value="like-box-faces">
473
+ <?php _e('Like Box with Faces', 'feed-them-social'); ?>
474
+ </option>
475
+ </optgroup>
476
+ <optgroup label="Like Button">
477
+ <option <?php echo selected($fb_show_follow_btn, 'like-button', false) ?> value="like-button">
478
+ <?php _e('Like Button', 'feed-them-social'); ?>
479
+ </option>
480
+ <option <?php echo selected($fb_show_follow_btn, 'like-button-share', false) ?> value="like-button-share">
481
+ <?php _e('Like Button and Share Button', 'feed-them-social'); ?>
482
+ </option>
483
+ <option <?php echo selected($fb_show_follow_btn, 'like-button-faces', false) ?> value="like-button-faces">
484
+ <?php _e('Like Button with Faces', 'feed-them-social'); ?>
485
+ </option>
486
+ <option <?php echo selected($fb_show_follow_btn, 'like-button-share-faces', false) ?> value="like-button-share-faces">
487
+ <?php _e('Like Button and Share Button with Faces', 'feed-them-social'); ?>
488
+ </option>
489
+ </optgroup>
490
+ </select>
491
+ <div class="clear"></div>
492
+ </div>
493
+ <!--/fts-twitter-feed-styles-input-wrap-->
494
+
495
+ <div class="feed-them-social-admin-input-wrap" style="display:none">
496
+ <div class="feed-them-social-admin-input-label fts-twitter-text-color-label">
497
+ <?php _e('Show Profile Icon next to social option above', 'feed-them-social'); ?>
498
+ </div>
499
+ <select name="fb_show_follow_like_box_cover" id="fb-show-follow-like-box-cover" class="feed-them-social-admin-input">
500
+ <option>
501
+ <?php _e('Please Select Option', 'feed-them-social'); ?>
502
+ </option>
503
+ <option <?php echo selected($fb_show_follow_btn_profile_pic, 'fb_like_box_cover-yes', false) ?> value="fb_like_box_cover-yes">
504
+ <?php _e('Display Cover Photo in Like Box', 'feed-them-social'); ?>
505
+ </option>
506
+ <option <?php echo selected($fb_show_follow_btn_profile_pic, 'fb_like_box_cover-no', false) ?> value="fb_like_box_cover-no">
507
+ <?php _e('Hide Cover Photo in Like Box', 'feed-them-social'); ?>
508
+ </option>
509
+ </select>
510
+ <div class="clear"></div>
511
+ </div>
512
+ <!--/fts-twitter-feed-styles-input-wrap-->
513
+
514
+ <div class="feed-them-social-admin-input-wrap">
515
+ <div class="feed-them-social-admin-input-label fts-twitter-text-color-label">
516
+ <?php _e('Like Button Color', 'feed-them-social'); ?>
517
+ </div>
518
+ <select name="fb_like_btn_color" id="fb-like-btn-color" class="feed-them-social-admin-input">
519
+ <option value="light">
520
+ <?php _e('Please Select Option', 'feed-them-social'); ?>
521
+ </option>
522
+ <option <?php echo selected($fb_like_btn_color, 'light', false) ?> value="light">
523
+ <?php _e('Light', 'feed-them-social'); ?>
524
+ </option>
525
+ <option <?php echo selected($fb_like_btn_color, 'dark', false) ?> value="dark">
526
+ <?php _e('Dark', 'feed-them-social'); ?>
527
+ </option>
528
+ </select>
529
+ <div class="clear"></div>
530
+ </div>
531
+ <!--/fts-twitter-feed-styles-input-wrap-->
532
+
533
+ <div class="feed-them-social-admin-input-wrap">
534
+ <div class="feed-them-social-admin-input-label fts-twitter-text-color-label">
535
+ <?php _e('Placement of the Button(s)', 'feed-them-social'); ?>
536
+ </div>
537
+ <select name="fb_show_follow_btn_where" id="fb-show-follow-btn-where" class="feed-them-social-admin-input">
538
+ <option value="">
539
+ <?php _e('Please Select Option', 'feed-them-social'); ?>
540
+ </option>
541
+ <option <?php echo selected($fb_show_follow_btn_where, 'fb-like-top-above-title', false) ?> value="fb-like-top-above-title">
542
+ <?php _e('Show Top of Feed Above Title', 'feed-them-social'); ?>
543
+ </option>
544
+ <option <?php echo selected($fb_show_follow_btn_where, 'fb-like-top-below-title', false) ?> value="fb-like-top-below-title">
545
+ <?php _e('Show Top of Feed Below Title', 'feed-them-social'); ?>
546
+ </option>
547
+ <option <?php echo selected($fb_show_follow_btn_where, 'fb-like-below', false) ?> value="fb-like-below">
548
+ <?php _e('Show Botton of Feed', 'feed-them-social'); ?>
549
+ </option>
550
+ </select>
551
+ <div class="clear"></div>
552
+ </div>
553
+ <!--/fts-twitter-feed-styles-input-wrap-->
554
+
555
+ <div class="feed-them-social-admin-input-wrap" style="display: none">
556
+ <div class="feed-them-social-admin-input-label fts-twitter-text-color-label">
557
+ <?php _e('Facebook APP ID<br/><small>Not required if you used the "Login and get my Access Token" button, otherwise View Step 3 to <a href="http://www.slickremix.com/docs/create-facebook-app-id-or-user-token" target="_blank">get APP ID</a>.</small>', 'feed-them-social'); ?>
558
+ </div>
559
+ <input type="text" name="fb_app_ID" class="feed-them-social-admin-input" id="fb-app-ID" value="<?php // echo get_option('fb_app_ID'); ?>" placeholder="Not Required for New Users"/>
560
+ <div class="clear"></div>
561
+ </div>
562
+ <div class="feed-them-social-admin-input-wrap">
563
+ <div class="fts-title-description-settings-page" style="margin-top:0;">
564
+ <h3>
565
+ <?php _e('Global Facebook Style Options', 'feed-them-social'); ?>
566
+ </h3>
567
+ </div>
568
+
569
+ <div class="feed-them-social-admin-input-label fts-twitter-text-color-label">
570
+ <?php _e('Text after your FB name <br/><small>ie* Shared by or New Photo Added etc.</small>', 'feed-them-social'); ?>
571
+ </div>
572
+ <select name="fb_hide_shared_by_etc_text" id="fb_hide_shared_by_etc_text" class="feed-them-social-admin-input">
573
+ <option value="">
574
+ <?php _e('Please Select Option', 'feed-them-social'); ?>
575
+ </option>
576
+ <option <?php echo selected($fb_hide_shared_by_etc_text, 'no', false) ?> value="no">
577
+ <?php _e('No', 'feed-them-social'); ?>
578
+ </option>
579
+ <option <?php echo selected($fb_hide_shared_by_etc_text, 'yes', false) ?> value="yes">
580
+ <?php _e('Yes', 'feed-them-social'); ?>
581
+ </option>
582
+ </select>
583
+ <div class="clear"></div>
584
+ </div>
585
+ <!--/fts-twitter-feed-styles-input-wrap-->
586
+
587
+ <div class="feed-them-social-admin-input-wrap">
588
+ <div class="feed-them-social-admin-input-label fts-twitter-text-color-label">
589
+ <?php _e('Hide Images in Posts', 'feed-them-social'); ?>
590
+ </div>
591
+ <select name="fb_hide_images_in_posts" id="fb_hide_images_in_posts" class="feed-them-social-admin-input">
592
+ <option value="">
593
+ <?php _e('Please Select Option', 'feed-them-social'); ?>
594
+ </option>
595
+ <option <?php echo selected($fb_hide_images_in_posts, 'no', false) ?> value="no">
596
+ <?php _e('No', 'feed-them-social'); ?>
597
+ </option>
598
+ <option <?php echo selected($fb_hide_images_in_posts, 'yes', false) ?> value="yes">
599
+ <?php _e('Yes', 'feed-them-social'); ?>
600
+ </option>
601
+ </select>
602
+ <div class="clear"></div>
603
+ </div>
604
+ <!--/fts-twitter-feed-styles-input-wrap-->
605
+
606
+ <div class="feed-them-social-admin-input-wrap">
607
+ <div class="feed-them-social-admin-input-label fts-fb-text-color-label">
608
+ <?php _e('Max-width for Images & Videos', 'feed-them-social'); ?>
609
+ </div>
610
+ <input type="text" name="fb_max_image_width" class="feed-them-social-admin-input" placeholder="500px" value="<?php echo get_option('fb_max_image_width'); ?>"/>
611
+ <div class="clear"></div>
612
+ </div>
613
+ <!--/fts-facebook-feed-styles-input-wrap-->
614
+
615
+ <div class="feed-them-social-admin-input-wrap">
616
+ <div class="feed-them-social-admin-input-label fts-fb-text-color-label">
617
+ <?php _e('Feed Header Extra Text Color', 'feed-them-social'); ?>
618
+ </div>
619
+ <input type="text" name="fb_header_extra_text_color" class="feed-them-social-admin-input fb-text-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="fb-text-color-input" placeholder="#222" value="<?php echo get_option('fb_header_extra_text_color'); ?>"/>
620
+ <div class="clear"></div>
621
+ </div>
622
+ <!--/fts-facebook-feed-styles-input-wrap-->
623
+
624
+ <div class="feed-them-social-admin-input-wrap">
625
+ <div class="feed-them-social-admin-input-label fts-fb-text-size-label">
626
+ <?php _e('Feed Description Text Size', 'feed-them-social'); ?>
627
+ </div>
628
+ <input type="text" name="fb_text_size" class="feed-them-social-admin-input fb-text-size-input" id="fb-text-size-input" placeholder="12px" value="<?php echo get_option('fb_text_size'); ?>"/>
629
+ <div class="clear"></div>
630
+ </div>
631
+ <!--/fts-facebook-feed-styles-input-wrap-->
632
+
633
+ <div class="feed-them-social-admin-input-wrap">
634
+ <div class="feed-them-social-admin-input-label fts-fb-text-color-label">
635
+ <?php _e('Feed Text Color', 'feed-them-social'); ?>
636
+ </div>
637
+ <input type="text" name="fb_text_color" class="feed-them-social-admin-input fb-text-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="fb-text-color-input" placeholder="#222" value="<?php echo get_option('fb_text_color'); ?>"/>
638
+ <div class="clear"></div>
639
+ </div>
640
+ <!--/fts-facebook-feed-styles-input-wrap-->
641
+
642
+ <div class="feed-them-social-admin-input-wrap">
643
+ <div class="feed-them-social-admin-input-label fts-fb-link-color-label">
644
+ <?php _e('Feed Link Color', 'feed-them-social'); ?>
645
+ </div>
646
+ <input type="text" name="fb_link_color" class="feed-them-social-admin-input fb-link-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="fb-link-color-input" placeholder="#222" value="<?php echo get_option('fb_link_color'); ?>"/>
647
+ <div class="clear"></div>
648
+ </div>
649
+ <!--/fts-facebook-feed-styles-input-wrap-->
650
+
651
+ <div class="feed-them-social-admin-input-wrap">
652
+ <div class="feed-them-social-admin-input-label fts-fb-link-color-hover-label">
653
+ <?php _e('Feed Link Color Hover', 'feed-them-social'); ?>
654
+ </div>
655
+ <input type="text" name="fb_link_color_hover" class="feed-them-social-admin-input fb-link-color-hover-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="fb-link-color-hover-input" placeholder="#ddd" value="<?php echo get_option('fb_link_color_hover'); ?>"/>
656
+ <div class="clear"></div>
657
+ </div>
658
+ <!--/fts-facebook-feed-styles-input-wrap-->
659
+
660
+ <div class="feed-them-social-admin-input-wrap">
661
+ <div class="feed-them-social-admin-input-label fts-fb-feed-width-label">
662
+ <?php _e('Feed Width', 'feed-them-social'); ?>
663
+ </div>
664
+ <input type="text" name="fb_feed_width" class="feed-them-social-admin-input fb-feed-width-input" id="fb-feed-width-input" placeholder="500px" value="<?php echo get_option('fb_feed_width'); ?>"/>
665
+ <div class="clear"></div>
666
+ </div>
667
+ <!--/fts-facebook-feed-styles-input-wrap-->
668
+
669
+ <div class="feed-them-social-admin-input-wrap">
670
+ <div class="feed-them-social-admin-input-label fts-fb-feed-margin-label">
671
+ <?php _e('Feed Margin <br/><small>To center feed type auto</small>', 'feed-them-social'); ?>
672
+ </div>
673
+ <input type="text" name="fb_feed_margin" class="feed-them-social-admin-input fb-feed-margin-input" id="fb-feed-margin-input" placeholder="10px" value="<?php echo get_option('fb_feed_margin'); ?>"/>
674
+ <div class="clear"></div>
675
+ </div>
676
+ <!--/fts-facebook-feed-styles-input-wrap-->
677
+
678
+ <div class="feed-them-social-admin-input-wrap">
679
+ <div class="feed-them-social-admin-input-label fts-fb-feed-padding-label">
680
+ <?php _e('Feed Padding', 'feed-them-social'); ?>
681
+ </div>
682
+ <input type="text" name="fb_feed_padding" class="feed-them-social-admin-input fb-feed-padding-input" id="fb-feed-padding-input" placeholder="10px" value="<?php echo get_option('fb_feed_padding'); ?>"/>
683
+ <div class="clear"></div>
684
+ </div>
685
+ <!--/fts-facebook-feed-styles-input-wrap-->
686
+
687
+ <?php if (is_plugin_active('feed-them-premium/feed-them-premium.php') || is_plugin_active('feed-them-social-combined-streams/feed-them-social-combined-streams.php')) { ?>
688
+ <div class="feed-them-social-admin-input-wrap">
689
+ <div class="feed-them-social-admin-input-label fts-fb-post-background-color-label">
690
+ <?php _e('Post Background Color<br/><small>Only works with show_media=top</small>', 'feed-them-social'); ?>
691
+ </div>
692
+ <input type="text" name="fb_post_background_color" class="feed-them-social-admin-input fb-post-background-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="fb-feed-background-color-input" placeholder="#ddd" value="<?php echo get_option('fb_post_background_color'); ?>"/>
693
+ <div class="clear"></div>
694
+ </div>
695
+ <!--/fts-facebook-feed-styles-input-wrap-->
696
+ <?php } ?>
697
+
698
+ <div class="feed-them-social-admin-input-wrap">
699
+ <div class="feed-them-social-admin-input-label fts-fb-feed-background-color-label">
700
+ <?php _e('Feed Background Color', 'feed-them-social'); ?>
701
+ </div>
702
+ <input type="text" name="fb_feed_background_color" class="feed-them-social-admin-input fb-feed-background-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="fb-feed-background-color-input" placeholder="#ddd" value="<?php echo get_option('fb_feed_background_color'); ?>"/>
703
+ <div class="clear"></div>
704
+ </div>
705
+ <!--/fts-facebook-feed-styles-input-wrap-->
706
+
707
+ <div class="feed-them-social-admin-input-wrap">
708
+ <div class="feed-them-social-admin-input-label fts-fb-border-bottom-color-label">
709
+ <?php _e('Border Bottom Color', 'feed-them-social'); ?>
710
+ </div>
711
+ <input type="text" name="fb_border_bottom_color" class="feed-them-social-admin-input fb-border-bottom-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="fb-border-bottom-color-input" placeholder="#ddd" value="<?php echo get_option('fb_border_bottom_color'); ?>"/>
712
+ <div class="clear"></div>
713
+ </div>
714
+ <!--/fts-facebook-feed-styles-input-wrap-->
715
+
716
+ <?php if (is_plugin_active('feed-them-premium/feed-them-premium.php') || is_plugin_active('feed-them-social-facebook-reviews/feed-them-social-facebook-reviews.php')) { ?>
717
+ <div class="feed-them-social-admin-input-wrap">
718
+ <div class="fts-title-description-settings-page">
719
+ <h3>
720
+ <?php _e('Grid Styles', 'feed-them-social'); ?>
721
+ </h3>
722
+ </div>
723
+ <div class="feed-them-social-admin-input-label fts-fb-grid-posts-background-color-label">
724
+ <?php _e('Posts Background Color', 'feed-them-social'); ?>
725
+ </div>
726
+ <input type="text" name="fb_grid_posts_background_color" class="feed-them-social-admin-input fb-grid-posts-background-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="fb-grid-posts-background-color-input" placeholder="#ddd" value="<?php echo get_option('fb_grid_posts_background_color'); ?>"/>
727
+ <div class="clear"></div>
728
+ </div>
729
+ <!--/fts-facebook-feed-styles-input-wrap-->
730
+
731
+ <div class="feed-them-social-admin-input-wrap">
732
+ <div class="feed-them-social-admin-input-label fts-fb-grid-border-bottom-color-label">
733
+ <?php _e('Border Bottom Color', 'feed-them-social'); ?>
734
+ </div>
735
+ <input type="text" name="fb_grid_border_bottom_color" class="feed-them-social-admin-input fb-grid-border-bottom-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="fb-border-bottom-color-input" placeholder="#ddd" value="<?php echo get_option('fb_grid_border_bottom_color'); ?>"/>
736
+ <div class="clear"></div>
737
+ </div>
738
+ <!--/fts-facebook-feed-styles-input-wrap-->
739
+
740
+ <div class="feed-them-social-admin-input-wrap">
741
+ <div class="fts-title-description-settings-page">
742
+ <h3>
743
+ <?php _e('Load More Button Styles & Options', 'feed-them-social'); ?>
744
+ </h3>
745
+ </div>
746
+ <div class="feed-them-social-admin-input-label fts-fb-loadmore-background-color-label">
747
+ <?php _e('Button Color', 'feed-them-social'); ?>
748
+ </div>
749
+ <input type="text" name="fb_loadmore_background_color" class="feed-them-social-admin-input fb-loadmore-background-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="fb-loadmore-background-color-input" placeholder="#ddd" value="<?php echo get_option('fb_loadmore_background_color'); ?>"/>
750
+ <div class="clear"></div>
751
+ </div>
752
+ <!--/fts-fb-feed-styles-input-wrap-->
753
+
754
+ <div class="feed-them-social-admin-input-wrap">
755
+ <div class="feed-them-social-admin-input-label fts-fb-border-bottom-color-label">
756
+ <?php _e('Text Color', 'feed-them-social'); ?>
757
+ </div>
758
+ <input type="text" name="fb_loadmore_text_color" class="feed-them-social-admin-input fb-loadmore-text-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="fb-loadmore-text-color-input" placeholder="#ddd" value="<?php echo get_option('fb_loadmore_text_color'); ?>"/>
759
+ <div class="clear"></div>
760
+ </div>
761
+ <!--/fts-fb-feed-styles-input-wrap-->
762
+
763
+ <div class="feed-them-social-admin-input-wrap">
764
+ <div class="feed-them-social-admin-input-label">
765
+ <?php _e('"Load More" Text', 'feed-them-social'); ?>
766
+ </div>
767
+ <input type="text" name="fb_load_more_text" class="feed-them-social-admin-input" id="fb_load_more_text" placeholder="Load More" value="<?php echo get_option('fb_load_more_text'); ?>"/>
768
+ <div class="clear"></div>
769
+ </div>
770
+ <!--/fts-facebook-feed-styles-input-wrap-->
771
+
772
+ <div class="feed-them-social-admin-input-wrap">
773
+ <div class="feed-them-social-admin-input-label">
774
+ <?php _e('"No More Posts" Text', 'feed-them-social'); ?>
775
+ </div>
776
+ <input type="text" name="fb_no_more_posts_text" class="feed-them-social-admin-input" id="fb_no_more_posts_text" placeholder="No More Posts" value="<?php echo get_option('fb_no_more_posts_text'); ?>"/>
777
+ <div class="clear"></div>
778
+ </div>
779
+ <!--/fts-facebook-feed-styles-input-wrap-->
780
+
781
+ <div class="feed-them-social-admin-input-wrap">
782
+ <div class="feed-them-social-admin-input-label">
783
+ <?php _e('"No More Photos" Text', 'feed-them-social'); ?>
784
+ </div>
785
+ <input type="text" name="fb_no_more_photos_text" class="feed-them-social-admin-input" id="fb_no_more_photos_text" placeholder="No More Photos" value="<?php echo get_option('fb_no_more_photos_text'); ?>"/>
786
+ <div class="clear"></div>
787
+ </div>
788
+ <!--/fts-facebook-feed-styles-input-wrap-->
789
+
790
+ <div class="feed-them-social-admin-input-wrap">
791
+ <div class="feed-them-social-admin-input-label">
792
+ <?php _e('"No More Videos" Text', 'feed-them-social'); ?>
793
+ </div>
794
+ <input type="text" name="fb_no_more_videos_text" class="feed-them-social-admin-input" id="fb_no_more_videos_text" placeholder="No More Videos" value="<?php echo get_option('fb_no_more_videos_text'); ?>"/>
795
+ <div class="clear"></div>
796
+ </div>
797
+ <!--/fts-facebook-feed-styles-input-wrap-->
798
+
799
+ <?php } ?>
800
+
801
+ <?php if (is_plugin_active('feed-them-social-facebook-reviews/feed-them-social-facebook-reviews.php')) { ?>
802
+
803
+ <div class="feed-them-social-admin-input-wrap">
804
+ <div class="feed-them-social-admin-input-label">
805
+ <?php _e('"No More Reviews" Text', 'feed-them-social'); ?>
806
+ </div>
807
+ <input type="text" name="fb_no_more_reviews_text" class="feed-them-social-admin-input" id="fb_no_more_reviews_text" placeholder="No More Reviews" value="<?php echo get_option('fb_no_more_reviews_text'); ?>"/>
808
+ <div class="clear"></div>
809
+ </div>
810
+ <!--/fts-facebook-feed-styles-input-wrap-->
811
+ <?php } ?>
812
+
813
+ <div class="feed-them-social-admin-input-wrap" style="display: none !important;">
814
+ <div class="fts-title-description-settings-page">
815
+ <h3>
816
+ <?php _e('Event Style Options', 'feed-them-social'); ?>
817
+ </h3>
818
+ <?php _e('The styles above still apply, these are just some extra options for the Event List feed.', 'feed-them-social'); ?>
819
+ </div>
820
+ <div class="feed-them-social-admin-input-label fb-events-title-color-label">
821
+ <?php _e('Events Feed: Title Color', 'feed-them-social'); ?>
822
+ </div>
823
+ <input type="text" name="fb_events_title_color" class="feed-them-social-admin-input fb-events-title-color color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="fb-events-title-color-input" placeholder="#ddd" value="<?php echo get_option('fb_events_title_color'); ?>"/>
824
+ <div class="clear"></div>
825
+ </div>
826
+ <!--/fts-facebook-feed-styles-input-wrap-->
827
+
828
+ <div class="feed-them-social-admin-input-wrap" style="display: none !important;">
829
+ <div class="feed-them-social-admin-input-label fb-events-title-size-label">
830
+ <?php _e('Events Feed: Title Size', 'feed-them-social'); ?>
831
+ </div>
832
+ <input type="text" name="fb_events_title_size" class="feed-them-social-admin-input fb-events-title-size" id="fb-events-title-color-input" placeholder="20px" value="<?php echo get_option('fb_events_title_size'); ?>"/>
833
+ <div class="clear"></div>
834
+ </div>
835
+ <!--/fts-facebook-feed-styles-input-wrap-->
836
+
837
+ <div class="feed-them-social-admin-input-wrap" style="display: none !important;">
838
+ <div class="feed-them-social-admin-input-label fb-events-map-link-color-label">
839
+ <?php _e('Events Feed: Map Link Color', 'feed-them-social'); ?>
840
+ </div>
841
+ <input type="text" name="fb_events_map_link_color" class="feed-them-social-admin-input fb-events-map-link-color color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="fb-events-map-link-color-input" placeholder="#ddd" value="<?php echo get_option('fb_events_map_link_color'); ?>"/>
842
+ <div class="clear"></div>
843
+ </div>
844
+ <!--/fts-facebook-feed-styles-input-wrap-->
845
+
846
+
847
+ <div class="feed-them-social-admin-input-wrap">
848
+ <div class="fts-title-description-settings-page">
849
+ <h3>
850
+ <?php _e('Facebook Error Message', 'feed-them-social'); ?>
851
+ </h3>
852
+ <?php _e('If your feed is displaying a notice or error message at times you can utilize this option to hide them from displaying. Make sure and delete the <a href="admin.php?page=feed-them-settings-page&tab=global_options">Cache</a> to see the change. <p><small>NOTE: This does not hide any php warnings that may come up. To remove those go to the wp-config.php file on root of your WordPress install and set the wp_debug option to FALSE. Having that option set to TRUE is really only necessary when developing.</small></p>', 'feed-them-social'); ?>
853
+ </div>
854
+ <div class="feed-them-social-admin-input-label fb-error-handler-label">
855
+ <?php _e('Hide Error Handler Message', 'feed-them-social'); ?>
856
+ </div>
857
+ <select name="fb_hide_error_handler_message" id="fb_hide_error_handler_message" class="feed-them-social-admin-input">
858
+ <option value="">
859
+ <?php _e('Please Select Option', 'feed-them-social'); ?>
860
+ </option>
861
+ <option <?php echo selected($fb_hide_error_handler_message, 'no', false) ?> value="no">
862
+ <?php _e('No', 'feed-them-social'); ?>
863
+ </option>
864
+ <option <?php echo selected($fb_hide_error_handler_message, 'yes', false) ?> value="yes">
865
+ <?php _e('Yes', 'feed-them-social'); ?>
866
+ </option>
867
+ </select>
868
+ <div class="clear"></div>
869
+ </div>
870
+ <!--/fts-facebook-feed-styles-input-wrap-->
871
+
872
+ <div class="clear"></div>
873
+ <input type="submit" class="feed-them-social-admin-submit-btn" value="<?php _e('Save All Changes') ?>"/>
874
+ </form>
875
+ <div class="clear"></div>
876
+ <a class="feed-them-social-admin-slick-logo" href="http://www.slickremix.com" target="_blank"></a></div>
877
+ <!--/feed-them-social-admin-wrap-->
878
+ <?php }
879
+ }//END Class
trunk/admin/feed-them-instagram-style-options-page.php ADDED
@@ -0,0 +1,236 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace feedthemsocial;
4
+ /**
5
+ * Class FTS Instagram Options Page
6
+ *
7
+ * @package feedthemsocial
8
+ */
9
+ class FTS_instagram_options_page
10
+ {
11
+
12
+ /**
13
+ * Construct
14
+ *
15
+ * Instagram Style Options Page constructor.
16
+ *
17
+ * @since 1.9.6
18
+ */
19
+ function __construct() {
20
+ }
21
+
22
+ /**
23
+ * Feed Them Instagram Options Page
24
+ *
25
+ * @since 1.9.6
26
+ */
27
+ function feed_them_instagram_options_page() {
28
+ $fts_functions = new feed_them_social_functions();
29
+ $fts_instagram_access_token = get_option('fts_instagram_custom_api_token');
30
+ $fts_instagram_custom_id = get_option('fts_instagram_custom_id');
31
+ $fts_instagram_show_follow_btn = get_option('instagram_show_follow_btn');
32
+ $fts_instagram_show_follow_btn_where = get_option('instagram_show_follow_btn_where');
33
+
34
+ ?>
35
+ <div class="feed-them-social-admin-wrap">
36
+ <h1>
37
+ <?php _e('Instagram Feed Options', 'feed-them-social'); ?>
38
+ </h1>
39
+ <div class="use-of-plugin">
40
+ <?php _e('Get your Access Token and add a follow button and position it using the options below.', 'feed-them-social'); ?>
41
+ </div>
42
+ <!-- custom option for padding -->
43
+ <form method="post" class="fts-facebook-feed-options-form" action="options.php">
44
+
45
+
46
+ <div class="feed-them-social-admin-input-wrap" style="padding-top:0px; ">
47
+ <div class="fts-title-description-settings-page">
48
+ <?php // get our registered settings from the fts functions
49
+ settings_fields('fts-instagram-feed-style-options'); ?>
50
+ <h3>
51
+ <?php _e('Instagram API Token', 'feed-them-social'); ?>
52
+ </h3>
53
+ <?php
54
+
55
+ $insta_url = 'https://api.instagram.com/v1/tags/slickremix/media/recent/?access_token=' . $fts_instagram_access_token;
56
+ //Get Data for Instagram
57
+ $response = wp_remote_fopen($insta_url);
58
+ //Error Check
59
+ $test_app_token_response = json_decode($response);
60
+
61
+ // echo '<pre>';
62
+ // print_r(json_decode($response));
63
+ // echo '</pre>';
64
+ ?>
65
+ <p>
66
+ <?php _e('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 manually create an Access Token <a href="http://www.slickremix.com/docs/how-to-create-instagram-access-token/" target="_blank">here</a>.', 'feed-them-social'); ?>
67
+ </p>
68
+ <p>
69
+ <a href="https://instagram.com/oauth/authorize/?client_id=da06fb6699f1497bb0d5d4234a50da75&redirect_uri=http://www.slickremix.com/instagram-token-plugin/?return_uri=<?php echo admin_url('admin.php?page=fts-instagram-feed-styles-submenu-page'); ?>&response_type=token&scope=public_content" class="fts-instagram-get-access-token">
70
+ <?php _e('Log in and get my Access Token'); ?>
71
+ </a></p>
72
+ </div>
73
+
74
+ <div class="fts-clear"></div>
75
+
76
+
77
+ <div class="feed-them-social-admin-input-wrap" style="margin-bottom: 0px">
78
+ <div class="feed-them-social-admin-input-label fts-instagram-border-bottom-color-label">
79
+ <?php _e('Instagram ID', 'feed-them-social'); ?>
80
+ </div>
81
+ <input type="text" name="fts_instagram_custom_id" class="feed-them-social-admin-input" id="fts_instagram_custom_id" value="<?php echo $fts_instagram_custom_id ?>"/>
82
+ <div class="fts-clear"></div>
83
+ </div>
84
+
85
+
86
+ <div class="feed-them-social-admin-input-wrap">
87
+ <div class="feed-them-social-admin-input-label fts-instagram-border-bottom-color-label">
88
+ <?php _e('Access Token Required', 'feed-them-social'); ?>
89
+ </div>
90
+ <script>
91
+ jQuery(document).ready(function ($) {
92
+ function getQueryString(Param) {
93
+ return decodeURI(
94
+ (RegExp('[#|&]' + Param + '=' + '(.+?)(&|$)').exec(location.hash) || [, null])[1]
95
+ );
96
+ }
97
+
98
+ if (window.location.hash) {
99
+
100
+ $('select').find('option[value=5]').attr('selected','selected');
101
+
102
+ $('#fts_instagram_custom_api_token').val('');
103
+ $('#fts_instagram_custom_api_token').val($('#fts_instagram_custom_api_token').val() + getQueryString('access_token'));
104
+
105
+
106
+ $('#fts_instagram_custom_id').val('');
107
+ var str = getQueryString('access_token');
108
+ $('#fts_instagram_custom_id').val($('#fts_instagram_custom_id').val() + str.split('.', 1));
109
+
110
+ }
111
+ });
112
+ </script>
113
+ <input type="text" name="fts_instagram_custom_api_token" class="feed-them-social-admin-input" id="fts_instagram_custom_api_token" value="<?php echo $fts_instagram_access_token ?>"/>
114
+ <div class="fts-clear"></div>
115
+ </div>
116
+ <?php
117
+ // Error Check
118
+ // if the combined streams plugin is active we won't allow the settings page link to open up the Instagram Feed, instead we'll remove the #feed_type=instagram and just let the user manually select the combined streams or single instagram feed.
119
+ if (is_plugin_active('feed-them-social-combined-streams/feed-them-social-combined-streams.php')) {
120
+ $custom_instagram_link_hash = '';
121
+ }
122
+ else {
123
+ $custom_instagram_link_hash = '#feed_type=instagram';
124
+ }
125
+ 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) && $test_app_token_response->meta->error_message == 'This client has not been approved to access this resource.') {
126
+ echo '<div class="fts-successful-api-token">' . __('Your access token is working! Generate your shortcode on the <a href="admin.php?page=feed-them-settings-page'.$custom_instagram_link_hash .'">settings page</a>.', 'feed-them-social') . '</div>';
127
+ } 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)) {
128
+ $text = isset($test_app_token_response->meta->error_message) ? $test_app_token_response->meta->error_message : $test_app_token_response->error_message;
129
+ echo '<div class="fts-failed-api-token">' . __('Oh No something\'s wrong.', 'feed-them-social') . ' ' . $text . '</div>';
130
+ }
131
+ if (empty($fts_instagram_access_token)) {
132
+ echo '<div class="fts-failed-api-token">' . __('You are required to get an access token to view your photos. Click Save all Changes after getting your Access Token.', 'feed-them-social') . '</div>';
133
+ }
134
+ ?>
135
+ <div class="fts-clear"></div>
136
+ </div>
137
+
138
+
139
+
140
+
141
+
142
+ <div class="feed-them-social-admin-input-wrap">
143
+ <div class="fts-title-description-settings-page" >
144
+ <h3>
145
+ <?php _e('Follow Button Options', 'feed-them-social'); ?>
146
+ </h3>
147
+ <?php _e('This will only show on regular feeds not combined feeds.', 'feed-them-social'); ?>
148
+ </div>
149
+ <div class="feed-them-social-admin-input-label fts-instagram-text-color-label">
150
+ <?php _e('Show Follow Button', 'feed-them-social'); ?>
151
+ </div>
152
+ <select name="instagram_show_follow_btn" id="instagram-show-follow-btn" class="feed-them-social-admin-input">
153
+ <option <?php echo selected($fts_instagram_show_follow_btn, 'no', false) ?> value="no">
154
+ <?php _e('No', 'feed-them-social'); ?>
155
+ </option>
156
+ <option <?php echo selected($fts_instagram_show_follow_btn, 'yes', false) ?> value="yes">
157
+ <?php _e('Yes', 'feed-them-social'); ?>
158
+ </option>
159
+ </select>
160
+ <div class="fts-clear"></div>
161
+ </div>
162
+ <!--/fts-instagram-feed-styles-input-wrap-->
163
+
164
+ <div class="feed-them-social-admin-input-wrap">
165
+ <div class="feed-them-social-admin-input-label fts-instagram-text-color-label">
166
+ <?php _e('Placement of the Buttons', 'feed-them-social'); ?>
167
+ </div>
168
+ <select name="instagram_show_follow_btn_where" id="instagram-show-follow-btn-where" class="feed-them-social-admin-input">
169
+ <option>
170
+ <?php _e('Please Select Option', 'feed-them-social'); ?>
171
+ </option>
172
+ <option
173
+ '<?php echo selected($fts_instagram_show_follow_btn_where, 'instagram-follow-above', false) ?>'
174
+ value="instagram-follow-above">
175
+ <?php _e('Show Above Feed', 'feed-them-social'); ?>
176
+ </option>
177
+ <option
178
+ '<?php echo selected($fts_instagram_show_follow_btn_where, 'instagram-follow-below', false) ?>'
179
+ value="instagram-follow-below">
180
+ <?php _e('Show Below Feed', 'feed-them-social'); ?>
181
+ </option>
182
+ </select>
183
+ <div class="fts-clear"></div>
184
+ </div>
185
+ <!--/fts-instagram-feed-styles-input-wrap-->
186
+ <?php if (is_plugin_active('feed-them-premium/feed-them-premium.php')) { ?>
187
+
188
+ <div class="feed-them-social-admin-input-wrap">
189
+ <div class="fts-title-description-settings-page">
190
+ <h3>
191
+ <?php _e('Load More Button Styles & Options', 'feed-them-social'); ?>
192
+ </h3>
193
+ </div>
194
+ <div class="feed-them-social-admin-input-wrap">
195
+ <div class="feed-them-social-admin-input-label fts-fb-loadmore-background-color-label">
196
+ <?php _e('Load More Button Color', 'feed-them-social'); ?>
197
+ </div>
198
+ <input type="text" name="instagram_loadmore_background_color" class="feed-them-social-admin-input fb-loadmore-background-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="instagram-loadmore-background-color-input" placeholder="#ddd" value="<?php echo get_option('instagram_loadmore_background_color'); ?>"/>
199
+ <div class="fts-clear"></div>
200
+ </div>
201
+ <!--/fts-instagram-feed-styles-input-wrap-->
202
+
203
+ <div class="feed-them-social-admin-input-wrap">
204
+ <div class="feed-them-social-admin-input-label fts-fb-border-bottom-color-label">
205
+ <?php _e('Load More Button Text Color', 'feed-them-social'); ?>
206
+ </div>
207
+ <input type="text" name="instagram_loadmore_text_color" class="feed-them-social-admin-input fb-loadmore-text-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="instagram-loadmore-text-color-input" placeholder="#ddd" value="<?php echo get_option('instagram_loadmore_text_color'); ?>"/>
208
+ <div class="fts-clear"></div>
209
+ </div>
210
+ <!--/fts-instagram-feed-styles-input-wrap-->
211
+
212
+ <div class="feed-them-social-admin-input-wrap">
213
+ <div class="feed-them-social-admin-input-label">
214
+ <?php _e('"Load More" Text', 'feed-them-social'); ?>
215
+ </div>
216
+ <input type="text" name="instagram_load_more_text" class="feed-them-social-admin-input" id="instagram_load_more_text" placeholder="Load More" value="<?php echo get_option('instagram_load_more_text'); ?>"/>
217
+ <div class="clear"></div>
218
+ </div>
219
+ <!--/fts-instagram-feed-styles-input-wrap-->
220
+
221
+ <div class="feed-them-social-admin-input-wrap">
222
+ <div class="feed-them-social-admin-input-label">
223
+ <?php _e('"No More Photos" Text', 'feed-them-social'); ?>
224
+ </div>
225
+ <input type="text" name="instagram_no_more_photos_text" class="feed-them-social-admin-input" id="instagram_no_more_photos_text" placeholder="No More Photos" value="<?php echo get_option('instagram_no_more_photos_text'); ?>"/>
226
+ <div class="clear"></div>
227
+ </div>
228
+ <!--/fts-instagram-feed-styles-input-wrap-->
229
+ <?php } ?>
230
+ <input type="submit" class="feed-them-social-admin-submit-btn" value="<?php _e('Save All Changes') ?>"/>
231
+ </form>
232
+ </div>
233
+ <!--/feed-them-social-admin-wrap-->
234
+
235
+ <?php }
236
+ }//END Class
trunk/admin/feed-them-pinterest-style-options-page.php ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace feedthemsocial;
3
+ /**
4
+ * Class FTS Pinterest Options Page
5
+ *
6
+ * @package feedthemsocial
7
+ * @since 1.9.6
8
+ */
9
+ class FTS_pinterest_options_page {
10
+ /**
11
+ * FTS_pinterest_options_page constructor.
12
+ */
13
+ function __construct() {
14
+ }
15
+
16
+ /**
17
+ * Feed Them Pinterest Options Page
18
+ *
19
+ * @since 1.9.6
20
+ */
21
+ function feed_them_pinterest_options_page() {
22
+ $fts_functions = new feed_them_social_functions();
23
+ $fts_pinterest_access_token = get_option('fts_pinterest_custom_api_token');
24
+ $fts_pinterest_show_follow_btn = get_option('pinterest_show_follow_btn');
25
+ $fts_pinterest_show_follow_btn_where = get_option('pinterest_show_follow_btn_where');
26
+
27
+ ?>
28
+ <div class="feed-them-social-admin-wrap">
29
+ <h1>
30
+ <?php _e('Pinterest Feed Options', 'feed-them-social'); ?>
31
+ </h1>
32
+ <div class="use-of-plugin">
33
+ <?php _e('Add a follow button and position it using the options below. This option will not work for combined feeds.', 'feed-them-social'); ?>
34
+ <?php _e('', 'feed-them-social'); ?>
35
+ </div>
36
+
37
+
38
+ <!-- custom option for padding -->
39
+ <form method="post" class="fts-pinterest-feed-options-form" action="options.php">
40
+
41
+ <?php settings_fields('fts-pinterest-feed-style-options'); ?>
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+ <div class="feed-them-social-admin-input-wrap" style="padding-top: 0px"><div class="fts-title-description-settings-page" >
51
+ <h3>
52
+ <?php _e('Pinterest Access Token', 'feed-them-social'); ?>
53
+ </h3><p>
54
+ <?php _e('This is required to make the feed work. Just 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 just 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 <a href="http://www.slickremix.com/docs/how-to-create-a-pinterest-access-token/" target="_blank">here.</a> ', 'feed-them-social'); ?>
55
+ </p>
56
+ <p><a href="https://api.pinterest.com/oauth/?response_type=token&redirect_uri=https://www.slickremix.com/pinterest-token-plugin/&client_id=4852080225414031681&scope=read_public&state=<?php echo admin_url('admin.php?page=fts-pinterest-feed-styles-submenu-page');?>" class="fts-pinterest-get-access-token">
57
+ <?php _e('Log in and get my Access Token'); ?>
58
+ </a></p>
59
+ </div>
60
+
61
+
62
+
63
+
64
+
65
+ <div class="fts-clear"></div>
66
+
67
+ <div class="feed-them-social-admin-input-wrap" style="margin-bottom:0px;">
68
+ <div class="feed-them-social-admin-input-label fts-twitter-border-bottom-color-label">
69
+ <?php _e('Access Token Required', 'feed-them-social'); ?>
70
+ </div>
71
+ <script>
72
+ jQuery(document).ready(function ($) {
73
+ function getQueryString(Param) {
74
+ return decodeURI(
75
+ (RegExp('[#|&]' + Param + '=' + '(.+?)(&|$)').exec(location.hash) || [, null])[1]
76
+ );
77
+ }
78
+
79
+ if (window.location.hash) {
80
+ $('#fts_pinterest_custom_api_token').val('');
81
+ $('#fts_pinterest_custom_api_token').val($('#fts_pinterest_custom_api_token').val() + getQueryString('access_token'));
82
+ }
83
+ });
84
+ </script>
85
+ <input type="text" name="fts_pinterest_custom_api_token" class="feed-them-social-admin-input" id="fts_pinterest_custom_api_token" value="<?php echo get_option('fts_pinterest_custom_api_token'); ?>"/>
86
+ <div class="fts-clear"></div>
87
+ </div>
88
+
89
+
90
+
91
+ <?php
92
+
93
+
94
+ //Get Data for Instagram
95
+ $response = wp_remote_fopen('https://api.pinterest.com/v1/me/?access_token='.$fts_pinterest_access_token.'&id');
96
+ //Error Check
97
+ $test_app_token_response = json_decode($response);
98
+
99
+ // echo'<pre>';
100
+ // print_r($test_app_token_response);
101
+ // echo'</pre>';
102
+
103
+ // Error Check
104
+ if (!isset($test_app_token_response->status) && !empty($fts_pinterest_access_token) ) {
105
+ echo '<div class="fts-successful-api-token">' . __('Your access token is working! Generate your shortcode on the <a href="admin.php?page=feed-them-settings-page">settings page</a>.', 'feed-them-social') . '</div>';
106
+ } elseif (isset($test_app_token_response->status) && !empty($fts_pinterest_access_token)) {
107
+ echo '<div class="fts-failed-api-token">' . __('Oh No something\'s wrong.', 'feed-them-social') . ' ' . $test_app_token_response->message . __('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. <a href="http://www.slickremix.com/support-forum/forum/feed-them-social-2/">http://www.slickremix.com/support-forum/forum/feed-them-social-2/</a>', 'feed-them-social') .'</div>';
108
+ }
109
+ if(empty($fts_pinterest_access_token)){
110
+ echo'<div class="fts-failed-api-token">'. __('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').'</div>';
111
+ }
112
+ ?>
113
+
114
+ <div class="fts-clear"></div>
115
+ </div>
116
+ <!--/fts-pinterest-feed-styles-input-wrap-->
117
+
118
+
119
+
120
+ <div class="feed-them-social-admin-input-wrap">
121
+ <div class="fts-title-description-settings-page" >
122
+ <h3>
123
+ <?php _e('Follow Button Options', 'feed-them-social'); ?>
124
+ </h3>
125
+ <?php _e('This will only show on regular feeds not combined feeds.', 'feed-them-social'); ?>
126
+ </div>
127
+ <div class="feed-them-social-admin-input-label fts-twitter-text-color-label"><?php _e('Show Follow Button', 'feed-them-social'); ?></div>
128
+
129
+ <select name="pinterest_show_follow_btn" id="pinterest-show-follow-btn" class="feed-them-social-admin-input">
130
+ <option '<?php echo selected($fts_pinterest_show_follow_btn, 'no', false ) ?>' value="no"><?php _e('No', 'feed-them-social'); ?></option>
131
+ <option '<?php echo selected($fts_pinterest_show_follow_btn, 'yes', false ) ?>' value="yes"><?php _e('Yes', 'feed-them-social'); ?></option>
132
+ </select>
133
+
134
+ <div class="fts-clear"></div>
135
+ </div><!--/fts-twitter-feed-styles-input-wrap-->
136
+
137
+
138
+ <div class="feed-them-social-admin-input-wrap">
139
+ <div class="feed-them-social-admin-input-label fts-twitter-text-color-label"><?php _e('Placement of the Buttons', 'feed-them-social'); ?></div>
140
+
141
+ <select name="pinterest_show_follow_btn_where" id="pinterest-show-follow-btn-where" class="feed-them-social-admin-input">
142
+ <option ><?php _e('Please Select Option', 'feed-them-social'); ?></option>
143
+ <option '<?php echo selected($fts_pinterest_show_follow_btn_where, 'pinterest-follow-above', false ) ?>' value="pinterest-follow-above"><?php _e('Show Above Feed', 'feed-them-social'); ?></option>
144
+ <option '<?php echo selected($fts_pinterest_show_follow_btn_where, 'pinterest-follow-below', false ) ?>' value="pinterest-follow-below"><?php _e('Show Below Feed', 'feed-them-social'); ?></option>
145
+ </select>
146
+
147
+ <div class="fts-clear"></div>
148
+ </div><!--/fts-twitter-feed-styles-input-wrap-->
149
+
150
+
151
+ <div class="feed-them-social-admin-input-wrap">
152
+ <div class="fts-title-description-settings-page">
153
+ <h3>
154
+ <?php _e('Boards List Style Options', 'feed-them-social'); ?>
155
+ </h3>
156
+ <?php _e('These styles are for the list of Boards type feed, <a href="http://feedthemsocial.com/pinterest/">as seen here</a>.', 'feed-them-social'); ?>
157
+ </div>
158
+ <div class="feed-them-social-admin-input-label fts-fb-text-color-label">
159
+ <?php _e('Board Title Color', 'feed-them-social'); ?>
160
+ </div>
161
+ <input type="text" name="pinterest_board_title_color" class="feed-them-social-admin-input fb-text-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="pinterest_board_title_color" placeholder="#555555" value="<?php echo get_option('pinterest_board_title_color'); ?>"/>
162
+ <div class="fts-clear"></div>
163
+ </div>
164
+ <!--/fts-facebook-feed-styles-input-wrap-->
165
+ <div class="feed-them-social-admin-input-wrap">
166
+ <div class="feed-them-social-admin-input-label fts-fb-text-color-label">
167
+ <?php _e('Board Title Size', 'feed-them-social'); ?>
168
+ </div>
169
+ <input type="text" name="pinterest_board_title_size" class="feed-them-social-admin-input" placeholder="16px" value="<?php echo get_option('pinterest_board_title_size'); ?>"/>
170
+ <div class="fts-clear"></div>
171
+ </div>
172
+ <!--/fts-facebook-feed-styles-input-wrap-->
173
+ <div class="feed-them-social-admin-input-wrap">
174
+ <div class="feed-them-social-admin-input-label fts-fb-link-color-label">
175
+ <?php _e('Background on Hover', 'feed-them-social'); ?>
176
+ </div>
177
+ <input type="text" name="pinterest_board_backg_hover_color" class="feed-them-social-admin-input fb-link-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="pinterest_board_backg_hover_color" placeholder="#FFF" value="<?php echo get_option('pinterest_board_backg_hover_color'); ?>"/>
178
+ <div class="fts-clear"></div>
179
+ </div>
180
+ <!--/fts-facebook-feed-styles-input-wrap-->
181
+
182
+ <div class="fts-clear"></div>
183
+ <input type="submit" class="feed-them-social-admin-submit-btn" value="<?php _e('Save All Changes') ?>" />
184
+ </form>
185
+ </div>
186
+ <!--/feed-them-social-admin-wrap-->
187
+
188
+ <?php }
189
+ }//END Class
trunk/admin/feed-them-settings-page.php ADDED
@@ -0,0 +1,6527 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace feedthemsocial;
4
+ /**
5
+ * Class FTS Settings Page
6
+ *
7
+ * @package feedthemsocial
8
+ * @since 1.9.6
9
+ */
10
+
11
+ class FTS_settings_page
12
+ {
13
+ /**
14
+ * Construct
15
+ *
16
+ * FTS_settings_page constructor.
17
+ *
18
+ * @since 1.9.6
19
+ */
20
+ function __construct() {
21
+ }
22
+
23
+ /**
24
+ * Feed Them Settings Page
25
+ *
26
+ * Main Settings Page.
27
+ *
28
+ * @since 1.9.6
29
+ */
30
+ function feed_them_settings_page() {
31
+ $fts_functions = new feed_them_social_functions();
32
+
33
+ if (!function_exists('curl_init')) {
34
+ print '<div class="error"><p>' . __('Warning: cURL is not installed on this server. It is required to use this plugin. Please contact your host provider to install this.', 'feed-them-social') . '</p></div>';
35
+ } ?>
36
+
37
+ <div class="feed-them-social-admin-wrap">
38
+ <div class="fts-backg"></div>
39
+ <div class="fts-content">
40
+ <h1 class="fts-logo-header"><?php _e('Feed Them Social', 'feed-them-social'); ?></h1>
41
+
42
+ <div class="feed-them-icon-wrap">
43
+ <a href="javascript:;" class="youtube-icon"></a>
44
+ <a href="javascript:;" class="twitter-icon"></a>
45
+ <a href="javascript:;" class="facebook-icon"></a>
46
+ <a href="javascript:;" class="instagram-icon"></a>
47
+ <a href="javascript:;" class="pinterest-icon"></a>
48
+
49
+ <div id="discount-for-review"><a href="admin.php?page=fts-license-page"><?php _e('View Extensions & Demos', 'feed-them-social'); ?></a></div>
50
+ </div>
51
+
52
+ <div class="fts-tabs" id="fts-tabs">
53
+
54
+ <label for="fts-tab1"
55
+ class="fts-tab1 fts-tabbed <?php if (isset($_GET['tab']) && $_GET['tab'] == 'general_options') {
56
+ echo 'tab-active';
57
+ } elseif (!isset($_GET['tab'])) {
58
+ echo 'tab-active';
59
+ } ?>" id="general_options">
60
+ <span><?php _e('Create Shortcode', 'sidebar-support') ?></span>
61
+ </label>
62
+
63
+ <label for="fts-tab2"
64
+ class="fts-tab2 fts-tabbed <?php if (isset($_GET['tab']) && $_GET['tab'] == 'global_options') {
65
+ echo ' tab-active';
66
+ } ?>" id="global_options">
67
+ <span><?php _e('Global Options', 'sidebar-support') ?></span>
68
+ </label>
69
+
70
+ <div id="fts-tab-content1"
71
+ class="fts-tab-content fts-hide-me <?php if (isset($_GET['tab']) && $_GET['tab'] == 'general_options' || !isset($_GET['tab'])) {
72
+ echo ' pane-active';
73
+ } ?>">
74
+ <section>
75
+
76
+ <h2 class="fts-logo-subheader"><?php _e('Create Shortcode for Social Network', 'feed-them-social'); ?></h2>
77
+ <div class="use-of-plugin"><?php _e('Please select what type of feed you would like using the select option below. After setting your options click the green Generate Shortcode button, then copy and paste the shortcode to a page, post or widget.', 'feed-them-social'); ?></div>
78
+
79
+ <form class="feed-them-social-admin-form" id="feed-selector-form">
80
+ <select id="shortcode-form-selector">
81
+ <option value=""><?php _e('Select a Social Network', 'feed-them-social'); ?> </option>
82
+ <option value="fts-fb-page-shortcode-form"><?php _e('Facebook Feed', 'feed-them-social'); ?></option>
83
+ <option value="combine-steams-shortcode-form"><?php _e('Combine Streams Feed', 'feed-them-social'); ?></option>
84
+ <option value="twitter-shortcode-form"><?php _e('Twitter Feed', 'feed-them-social'); ?></option>
85
+ <option value="vine-shortcode-form" style="display: none"><?php _e('Vine Feed', 'feed-them-social'); ?></option>
86
+ <option value="instagram-shortcode-form"><?php _e('Instagram Feed', 'feed-them-social'); ?></option>
87
+ <option value="youtube-shortcode-form"><?php _e('YouTube Feed'); ?></option>
88
+ <option value="pinterest-shortcode-form"><?php _e('Pinterest Feed', 'feed-them-social'); ?></option>
89
+ </select>
90
+ </form><!--/feed-them-social-admin-form-->
91
+
92
+ <?php
93
+
94
+ $step2_custom_message = __('<br/><strong>STEP 2:</strong> Generate your custom shortcode using the options below, then click generate shortcode and paste that to a Page, Post or widget.', 'feed-them-social');
95
+
96
+ $limitforpremium = !is_plugin_active('feed-them-premium/feed-them-premium.php') ? '<small class="fts-required-more-posts"><br/>' . __('More than 6 Requires <a target="_blank" href="https://www.slickremix.com/downloads/feed-them-social-premium-extension/">Premium version</a>', 'feed-them-social') . '</small>' : '';
97
+
98
+ if (is_plugin_active('feed-them-social-facebook-reviews/feed-them-social-facebook-reviews.php')) {
99
+ $facebookReviewsTokenCheck = array(
100
+ 1 => array(
101
+ 'option_name' => 'fts_facebook_custom_api_token',
102
+ 'no_token_msg' => __('<strong>STEP 1:</strong> Please get your API Token on our <a href="admin.php?page=fts-facebook-feed-styles-submenu-page">Facebook Options</a> page before getting started. ' . $step2_custom_message . '', 'feed-them-social'),
103
+ ),
104
+ 2 => array(
105
+ 'option_name' => 'fts_facebook_custom_api_token_biz',
106
+ 'no_token_msg' => __('<strong>STEP 1:</strong> Please add a Facebook Page Reviews API Token to our <a href="admin.php?page=fts-facebook-feed-styles-submenu-page">Facebook Options</a> page. ' . $step2_custom_message . '', 'feed-them-social'),
107
+ 'req_plugin' => 'facebook_reviews',
108
+ )
109
+ );
110
+
111
+ } else {
112
+ $facebookReviewsTokenCheck = array(
113
+ 1 => array(
114
+ 'option_name' => 'fts_facebook_custom_api_token',
115
+ 'no_token_msg' => __('<strong>STEP 1:</strong> Please get your API Token on our <a href="admin.php?page=fts-facebook-feed-styles-submenu-page">Facebook Options</a> page before getting started. ' . $step2_custom_message . '', 'feed-them-social'),
116
+ ),
117
+ );
118
+ }
119
+ $required_plugins = array(
120
+ 'fts_premium' => array(
121
+ //Name will go into Non-Premium field so make sure it says "extension" Example: Must have {Plugin Name} to edit.
122
+ 'name' => '<h3>Feed Them Premium extension</h3>',
123
+ //Slick URL should Take them to plugin on Slickremix.com because they need for required fields
124
+ 'slick_url' => 'https://www.slickremix.com/downloads/feed-them-social-premium-extension/',
125
+ //Plugin URL for checking if plugin is active
126
+ 'plugin_url' => 'feed-them-premium/feed-them-premium.php',
127
+ 'no_active_msg' => 'Must have <a target="_blank" href="https://www.slickremix.com/downloads/feed-them-social-premium-extension/">premium</a> to edit.',
128
+ ),
129
+ 'facebook_reviews' => array(
130
+ 'name' => '<h3>Facebook Reviews extension</h3>',
131
+ 'slick_url' => 'https://www.slickremix.com/downloads/feed-them-social-facebook-reviews/',
132
+ 'plugin_url' => 'feed-them-social-facebook-reviews/feed-them-social-facebook-reviews.php',
133
+ 'no_active_msg' => 'Must have <a target="_blank" href="https://www.slickremix.com/downloads/feed-them-social-premium-extension/">premium</a> and <a href="https://www.slickremix.com/downloads/feed-them-carousel-premium/">carousel</a> to edit.',
134
+ ),
135
+ 'fts_carousel' => array(
136
+ 'name' => '<h3>Feed Them Carousel extension</h3>',
137
+ 'slick_url' => 'https://www.slickremix.com/downloads/feed-them-carousel-premium/',
138
+ 'plugin_url' => 'feed-them-carousel-premium/feed-them-carousel-premium.php',
139
+ 'no_active_msg' => 'Must have <a target="_blank" href="https://www.slickremix.com/downloads/feed-them-social-premium-extension/">premium</a> and <a href="https://www.slickremix.com/downloads/feed-them-carousel-premium/">carousel</a> to edit.',
140
+ ),
141
+ 'combine_streams' => array(
142
+ 'name' => '<h3>Feed Them Social Combined Streams extension</h3>',
143
+ 'slick_url' => 'https://www.slickremix.com/downloads/feed-them-social-combined-streams/',
144
+ 'plugin_url' => 'feed-them-social-combined-streams/feed-them-social-combined-streams.php',
145
+ 'no_active_msg' => 'Must have <a href="https://www.slickremix.com/downloads/feed-them-social-combined-streams/">combined streams extenstion</a> to edit.',
146
+ ),
147
+ );
148
+ $feed_settings_array = array(
149
+ //******************************************
150
+ // Combine Streams Feed
151
+ //******************************************
152
+ 'combine_streams' => array(
153
+ 'shorcode_label' => 'mashup',
154
+ 'section_attr_key' => 'combine_',
155
+ 'section_title' => __('Combine Streams Shortcode Generator', 'feed-them-social'),
156
+ 'section_wrap_class' => 'fts-combine-steams-shortcode-form',
157
+ //Form Info
158
+ 'form_wrap_classes' => 'combine-steams-shortcode-form',
159
+ 'form_wrap_id' => 'fts-combine-steams-form',
160
+ //Token Check
161
+ /* 'token_check' => array(
162
+ 1 => array(
163
+ 'option_name' => 'fts_facebook_custom_api_token',
164
+ 'no_token_msg' => 'You can view this feed without adding an API token but we suggest you add one if you are getting errors. You can add a token here if you like on our <a href="admin.php?page=fts-facebook-feed-styles-submenu-page">Facebook Options</a> page.',
165
+ ),
166
+ 2 => array(
167
+ 'option_name' => 'fts_facebook_custom_api_token_biz',
168
+ 'no_token_msg' => 'Please add a Facebook Page Reviews API Token to our <a href="admin.php?page=fts-facebook-feed-styles-submenu-page">Facebook Options</a> page before trying to view your Facebook Reviews feed.',
169
+ 'req_plugin' => 'facebook_reviews',
170
+ ),
171
+ ),*/
172
+ //Feed Type Selection
173
+ 'feed_type_select' => array(
174
+ 'label' => __('Feeds To Combine', 'feed-them-social'),
175
+ 'select_wrap_classes' => 'fts-combine-steams-selector',
176
+ 'select_classes' => '',
177
+ 'select_name' => 'combine-steams-selector',
178
+ 'select_id' => 'combine-steams-selector',
179
+ ),
180
+ //Feed Types and their options
181
+ 'feeds_types' => array(
182
+ //All Feeds (1 of each for now)
183
+ 1 => array(
184
+ 'value' => 'all',
185
+ 'title' => __('All Feeds', 'feed-them-social'),
186
+ ),
187
+ //All Feeds (1 of each for now)
188
+ 2 => array(
189
+ 'value' => 'multiple_facebook',
190
+ 'title' => __('Multiple Facebook Feeds', 'feed-them-social'),
191
+ ),
192
+ ),
193
+ 'premium_msg_boxes' => array(
194
+ 'main_select' => array(
195
+ 'req_plugin' => 'combine_streams',
196
+ 'msg' => 'With this extension you can mix a Facebook, Instagram, Twitter, Youtube and Pinterest posts all in one feed. The other feature this exentsion gives you is the abillity to mix multiple Facebook accounts into one feed!
197
+ <a href="http://feedthemsocial.com/feed-them-social-combined-streams/" target="_blank">View Combined Streams Demo</a> . <a href="http://feedthemsocial.com/feed-them-social-combined-streams/#combined-fb-streams" target="_blank">View Combined Facebook Streams Demo</a>',
198
+ ),
199
+ ),
200
+ 'short_attr_final' => 'yes',
201
+ //Inputs relative to all Feed_types of this feed. (Eliminates Duplication)[Excluded from loop when creating select]
202
+
203
+ 'main_options' => array(
204
+ //Combined Total # of Posts
205
+ array(
206
+ 'grouped_options_title' => __('Combined Stream', 'feed-them-social'),
207
+ 'option_type' => 'input',
208
+ 'label' => __('Combined Total # of Posts', 'feed-them-social'),
209
+ 'type' => 'text',
210
+ 'id' => 'combine_post_count',
211
+ 'name' => 'combine_post_count',
212
+ 'value' => '',
213
+ 'placeholder' => __('6 is the default number', 'feed-them-social'),
214
+ 'req_plugin' => 'combine_streams',
215
+ //Relative to JS.
216
+ 'short_attr' => array(
217
+ 'attr_name' => 'posts',
218
+ 'var_final_if' => 'yes',
219
+ 'empty_error' => 'set',
220
+ 'empty_error_value' => 'posts=6',
221
+ ),
222
+ ),
223
+ //# of Posts per Social Network
224
+ array(
225
+ 'option_type' => 'input',
226
+ 'input_wrap_class' => 'combine_social_network_post_count',
227
+ 'label' => __('# of Posts per Social Network', 'feed-them-social'). '<br/><small>' . __('NOT the combined total', 'feed-them-social') . '</small>',
228
+ 'type' => 'text',
229
+ //'instructional-text' => __('', 'feed-them-social'),
230
+ 'id' => 'combine_social_network_post_count',
231
+ 'name' => 'combine_social_network_post_count',
232
+ 'value' => '',
233
+ 'placeholder' => __('1 is the default number', 'feed-them-social'),
234
+ 'req_plugin' => 'combine_streams',
235
+ //Relative to JS.
236
+ 'short_attr' => array(
237
+ 'attr_name' => 'social_network_posts',
238
+ 'var_final_if' => 'yes',
239
+ 'empty_error' => 'set',
240
+ 'empty_error_value' => 'social_network_posts=1',
241
+ ),
242
+ ),
243
+ //Facebook Amount of words
244
+ array(
245
+ 'option_type' => 'input',
246
+ 'label' => __('Amount of words per post', 'feed-them-social') . '<br/><small>' . __('Type 0 to remove the posts description', 'feed-them-social') . '</small>',
247
+ 'type' => 'text',
248
+ 'id' => 'combine_word_count_option',
249
+ 'name' => 'combine_word_count_option',
250
+ 'placeholder' => '45 ' . __('is the default number', 'feed-them-social'),
251
+ 'value' => '',
252
+ 'req_plugin' => 'combine_streams',
253
+ //Relative to JS.
254
+ 'short_attr' => array(
255
+ 'attr_name' => 'words',
256
+ 'empty_error' => 'set',
257
+ 'empty_error_value' => 'words=45',
258
+ ),
259
+ ),
260
+ //Center Container
261
+ array(
262
+ 'option_type' => 'select',
263
+ 'label' => __('Center Feed Container', 'feed-them-social'),
264
+ 'type' => 'text',
265
+ 'id' => 'combine_container_position',
266
+ 'name' => 'combine_container_position',
267
+ 'options' => array(
268
+ 1 => array(
269
+ 'label' => __('Yes', 'feed-them-social'),
270
+ 'value' => 'yes',
271
+ ),
272
+ 2 => array(
273
+ 'label' => __('No', 'feed-them-social'),
274
+ 'value' => 'no',
275
+ ),
276
+ ),
277
+ 'req_plugin' => 'combine_streams',
278
+ 'short_attr' => array(
279
+ 'attr_name' => 'center_container',
280
+ ),
281
+ ),
282
+ //Page Fixed Height
283
+ array(
284
+ 'input_wrap_class' => 'combine_height',
285
+ 'option_type' => 'input',
286
+ 'label' => __('Feed Fixed Height', 'feed-them-social') . '<br/><small>' . __('Leave blank for auto height', 'feed-them-social') . '</small>',
287
+ 'type' => 'text',
288
+ 'id' => 'combine_height',
289
+ 'name' => 'combine_height',
290
+ 'value' => '',
291
+ 'req_plugin' => 'combine_streams',
292
+ 'placeholder' => '450px ' . __('for example', 'feed-them-social'),
293
+ //Relative to JS.
294
+ 'short_attr' => array(
295
+ 'attr_name' => 'height',
296
+ 'var_final_if' => 'yes',
297
+ 'empty_error' => 'set',
298
+ 'empty_error_value' => '',
299
+ ),
300
+ ),
301
+ //Background Color
302
+ array(
303
+ 'option_type' => 'input',
304
+ 'color_picker' => 'yes',
305
+ 'input_wrap_class' => 'combine_background_color',
306
+ 'label' => __('Background Color', 'feed-them-social'),
307
+ 'type' => 'text',
308
+ 'id' => 'combine_background_color',
309
+ 'name' => 'combine_background_color', //Relative to JS.
310
+ 'req_plugin' => 'combine_streams',
311
+ 'short_attr' => array(
312
+ 'attr_name' => 'background_color',
313
+ 'var_final_if' => 'yes',
314
+ 'empty_error' => 'set',
315
+ 'empty_error_value' => '',
316
+ ),
317
+ ),
318
+ //Social Icon
319
+ array(
320
+ 'input_wrap_class' => 'combine_show_social_icon',
321
+ 'option_type' => 'select',
322
+ 'label' => __('Show Social Icon', 'feed-them-social'). '<br/><small>' . __('Right, Left or No', 'feed-them-social') . '</small>',
323
+ 'type' => 'text',
324
+ 'id' => 'combine_show_social_icon',
325
+ 'name' => 'combine_show_social_icon',
326
+ 'req_plugin' => 'combine_streams',
327
+ 'options' => array(
328
+ array(
329
+ 'label' => __('Right', 'feed-them-social'),
330
+ 'value' => 'right',
331
+ ),
332
+ array(
333
+ 'label' => __('Left', 'feed-them-social'),
334
+ 'value' => 'left',
335
+ ),
336
+ array(
337
+ 'label' => __('No', 'feed-them-social'),
338
+ 'value' => 'no',
339
+ ),
340
+ ),
341
+ 'short_attr' => array(
342
+ 'attr_name' => 'show_social_icon',
343
+ ),
344
+ ),
345
+ //Show Description below image or video Name
346
+ array(
347
+ 'input_wrap_class' => 'combine_show_media',
348
+ 'option_type' => 'select',
349
+ 'label' => __('Show Image/Video', 'feed-them-social') . '<br/><small>' . __('Bottom (default) or Top of Post', 'feed-them-social') . '</small>',
350
+ 'type' => 'text',
351
+ 'id' => 'combine_show_media',
352
+ 'name' => 'combine_show_media',
353
+ 'req_plugin' => 'combine_streams',
354
+ 'options' => array(
355
+ array(
356
+ 'label' => __('Below Username, Date & Description', 'feed-them-social'),
357
+ 'value' => 'bottom',
358
+ ),
359
+ array(
360
+ 'label' => __('Above Username, Date & Description', 'feed-them-social'),
361
+ 'value' => 'top',
362
+ ),
363
+ ),
364
+ 'short_attr' => array(
365
+ 'attr_name' => 'show_media',
366
+ ),
367
+ ), //Show Username
368
+ array(
369
+ 'input_wrap_class' => 'combine_hide_date',
370
+ 'option_type' => 'select',
371
+ 'label' => __('Show Username', 'feed-them-social') . '<br/><small>' . __('Yes or No', 'feed-them-social') . '</small>',
372
+ 'type' => 'text',
373
+ 'id' => 'combine_hide_date',
374
+ 'name' => 'combine_hide_date',
375
+ 'req_plugin' => 'combine_streams',
376
+ 'options' => array(
377
+ array(
378
+ 'label' => __('Yes', 'feed-them-social'),
379
+ 'value' => 'yes',
380
+ ),
381
+ array(
382
+ 'label' => __('No', 'feed-them-social'),
383
+ 'value' => 'no',
384
+ ),
385
+ ),
386
+ 'short_attr' => array(
387
+ 'attr_name' => 'show_date',
388
+ ),
389
+ ),
390
+ //Show Date
391
+ array(
392
+ 'input_wrap_class' => 'combine_hide_name',
393
+ 'option_type' => 'select',
394
+ 'label' => __('Show Date', 'feed-them-social') . '<br/><small>' . __('Yes or No', 'feed-them-social') . '</small>',
395
+ 'type' => 'text',
396
+ 'id' => 'combine_hide_name',
397
+ 'name' => 'combine_hide_name',
398
+ 'req_plugin' => 'combine_streams',
399
+ 'options' => array(
400
+ array(
401
+ 'label' => __('Yes', 'feed-them-social'),
402
+ 'value' => 'yes',
403
+ ),
404
+ array(
405
+ 'label' => __('No', 'feed-them-social'),
406
+ 'value' => 'no',
407
+ ),
408
+ ),
409
+ 'short_attr' => array(
410
+ 'attr_name' => 'show_name',
411
+ ),
412
+ ),
413
+ //Padding
414
+ array(
415
+ 'option_type' => 'input',
416
+ 'input_wrap_class' => 'combine_padding',
417
+ 'label' => __('Padding', 'feed-them-social'),
418
+ 'type' => 'text',
419
+ 'id' => 'combine_padding',
420
+ 'name' => 'combine_padding',
421
+ 'req_plugin' => 'combine_streams',
422
+ //Relative to JS.
423
+ 'short_attr' => array(
424
+ 'attr_name' => 'padding',
425
+ 'var_final_if' => 'yes',
426
+ 'empty_error' => 'set',
427
+ 'empty_error_value' => '',
428
+ ),
429
+ ),
430
+ //Combine Facebook
431
+ array(
432
+ 'grouped_options_title' => __('Facebook', 'feed-them-social'),
433
+ 'option_type' => 'select',
434
+ 'label' => __('Combine Facebook', 'feed-them-social'),
435
+ 'type' => 'text',
436
+ 'id' => 'combine_facebook',
437
+ 'name' => 'combine_facebook',
438
+ 'options' => array(
439
+ array(
440
+ 'label' => __('No', 'feed-them-social'),
441
+ 'value' => 'no',
442
+ ),
443
+ array(
444
+ 'label' => __('Yes', 'feed-them-social'),
445
+ 'value' => 'yes',
446
+ ),
447
+ ),
448
+ 'req_plugin' => 'combine_streams',
449
+ 'short_attr' => array(
450
+ 'attr_name' => '',
451
+ 'empty_error_value' => '',
452
+ 'no_attribute' => 'yes',
453
+ 'ifs' => 'combine_facebook',
454
+ ),
455
+ 'sub_options' => array(
456
+ 'sub_options_wrap_class' => 'main-combine-facebook-wrap',
457
+ ),
458
+ ),
459
+ //Combine Facebook ID
460
+ array(
461
+ 'option_type' => 'input',
462
+ 'input_wrap_class' => 'combine_facebook_name',
463
+ 'label' => __('Facebook ID or Name', 'feed-them-social'),
464
+ 'instructional-text' => '<strong>REQUIRED:</strong> Make sure you have an <strong>Access Token</strong> in place on the <a class="not-active-title" href="admin.php?page=fts-facebook-feed-styles-submenu-page" target="_blank">Facebook Options</a> page. If that is in place your page ID should appear in the input below.',
465
+ 'type' => 'text',
466
+ 'id' => 'combine_facebook_name',
467
+ 'name' => 'combine_facebook_name',
468
+ 'req_plugin' => 'combine_streams',
469
+ //Relative to JS.
470
+ 'short_attr' => array(
471
+ 'attr_name' => 'facebook_name',
472
+ 'var_final_if' => 'yes',
473
+ 'empty_error' => 'set',
474
+ 'empty_error_value' => '',
475
+ ),
476
+ 'sub_options' => array(
477
+ 'sub_options_wrap_class' => 'combine-facebook-wrap',
478
+ ),
479
+ 'sub_options_end' => true,
480
+ ),
481
+
482
+
483
+ //Combine Twitter
484
+ array(
485
+ 'grouped_options_title' => __('Twitter', 'feed-them-social'),
486
+ 'option_type' => 'select',
487
+ 'label' => __('Combine Twitter', 'feed-them-social'),
488
+ 'type' => 'text',
489
+ 'id' => 'combine_twitter',
490
+ 'name' => 'combine_twitter',
491
+ 'req_plugin' => 'combine_streams',
492
+ 'options' => array(
493
+ array(
494
+ 'label' => __('No', 'feed-them-social'),
495
+ 'value' => 'no',
496
+ ),
497
+ array(
498
+ 'label' => __('Yes', 'feed-them-social'),
499
+ 'value' => 'yes',
500
+ ),
501
+ ),
502
+ 'short_attr' => array(
503
+ 'attr_name' => '',
504
+ 'empty_error_value' => '',
505
+ 'no_attribute' => 'yes',
506
+ ),
507
+ 'sub_options' => array(
508
+ 'sub_options_wrap_class' => 'main-combine-twitter-wrap',
509
+ ),
510
+ ),
511
+
512
+
513
+ //Feed Type Selection
514
+ array(
515
+ 'option_type' => 'select',
516
+ 'label' => __('Feed Type', 'feed-them-social'),
517
+ 'select_wrap_classes' => 'combine-twitter-gen-selection',
518
+ 'select_classes' => '',
519
+ 'name' => 'combine-twitter-messages-selector',
520
+ 'id' => 'combine-twitter-messages-selector',
521
+ 'req_plugin' => 'combine_streams',
522
+ //Feed Types and their options
523
+ 'options' => array(
524
+ //User Feed
525
+ array(
526
+ 'value' => 'user',
527
+ 'label' => __('User Feed', 'feed-them-social'),
528
+ ),
529
+ //hastag Feed
530
+ array(
531
+ 'value' => 'hashtag',
532
+ 'label' => __('Hashtag, Search and more Feed', 'feed-them-social'),
533
+ ),
534
+ ),
535
+ 'short_attr' => array(
536
+ 'attr_name' => '',
537
+ 'empty_error_value' => '',
538
+ 'no_attribute' => 'yes',
539
+ ),
540
+ 'sub_options' => array(
541
+ 'sub_options_wrap_class' => 'combine-twitter-wrap',
542
+ ),
543
+ ),
544
+
545
+ // 'short_attr_final' => 'yes',
546
+ //Inputs relative to all Feed_types of this feed. (Eliminates Duplication)[Excluded from loop when creating select]
547
+
548
+
549
+ //Twitter Search Name
550
+ array(
551
+ 'option_type' => 'input',
552
+ 'input_wrap_class' => 'combine_twitter_hashtag_etc_name',
553
+ 'label' => __('Twitter Search Name (required)', 'feed-them-social'),
554
+ 'type' => 'text',
555
+ 'id' => 'combine_twitter_hashtag_etc_name',
556
+ 'name' => 'combine_twitter_hashtag_etc_name',
557
+ 'value' => '',
558
+ 'instructional-text' => __('You can use #hashtag, @person, or single words. For example, weather or weather-channel.<br/><br/>If 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. <strong style="color:#225DE2;">from:user_name%#YourHashtag</strong>', 'feed-them-social'),
559
+ //Relative to JS.
560
+ 'short_attr' => array(
561
+
562
+
563
+ 'attr_name' => 'search',
564
+ 'var_final_if' => 'yes',
565
+ 'empty_error' => 'set',
566
+ 'empty_error_value' => '',
567
+ 'empty_error_if' => array(
568
+ 'attribute' => 'select#combine-twitter-messages-selector',
569
+ 'operator' => '==',
570
+ 'value' => 'hashtag',
571
+ ),
572
+
573
+
574
+ ),
575
+ 'req_plugin' => 'combine_streams',
576
+ //This should be placed in the STARTING field of sub options that way wrap and instruction text is above this div (end will be in final options for div output)
577
+ 'sub_options' => array(
578
+ 'sub_options_wrap_class' => 'combine-twitter-hashtag-etc-wrap',
579
+ 'sub_options_title' => __('Twitter Search', 'feed-them-social'),
580
+ ),
581
+ 'sub_options_end' => true,
582
+
583
+ ),
584
+ //Twitter Name
585
+ array(
586
+ 'option_type' => 'input',
587
+ 'input_wrap_class' => 'combine_twitter_name',
588
+ 'label' => __('Twitter Name', 'feed-them-social'),
589
+ 'type' => 'text',
590
+ 'id' => 'combine_twitter_name',
591
+ 'name' => 'combine_twitter_name',
592
+ 'instructional-text' => '<span class="must-copy-twitter-name">' . __('You must copy your', 'feed-them-social') . ' <a href="https://www.slickremix.com/how-to-get-your-twitter-name/" target="_blank">' . __('Twitter Name', 'feed-them-social') . '</a> ' . __('and paste it in the first input below.', 'feed-them-social') . '</span>',
593
+ 'value' => '',
594
+ //Relative to JS.
595
+ 'short_attr' => array(
596
+ 'attr_name' => 'twitter_name',
597
+ 'var_final_if' => 'yes',
598
+ 'empty_error' => 'set',
599
+ 'empty_error_value' => '',
600
+ 'empty_error_if' => array(
601
+ 'attribute' => 'select#combine-twitter-messages-selector',
602
+ 'operator' => '==',
603
+ 'value' => 'user',
604
+ ),
605
+ ),
606
+ 'req_plugin' => 'combine_streams',
607
+ 'sub_options_end' => 2,
608
+ ),
609
+
610
+
611
+ //Combine Instagram
612
+ array(
613
+ 'grouped_options_title' => __('Instagram', 'feed-them-social'),
614
+ 'option_type' => 'select',
615
+ 'label' => __('Combine Instagram', 'feed-them-social'),
616
+ 'type' => 'text',
617
+ 'id' => 'combine_instagram',
618
+ 'name' => 'combine_instagram',
619
+ 'options' => array(
620
+ 1 => array(
621
+ 'label' => __('No', 'feed-them-social'),
622
+ 'value' => 'no',
623
+ ),
624
+ 2 => array(
625
+ 'label' => __('Yes', 'feed-them-social'),
626
+ 'value' => 'yes',
627
+ ),
628
+ ),
629
+ 'req_plugin' => 'combine_streams',
630
+ 'short_attr' => array(
631
+ 'attr_name' => '',
632
+ 'empty_error_value' => '',
633
+ 'no_attribute' => 'yes',
634
+ ),
635
+ 'sub_options' => array(
636
+ 'sub_options_wrap_class' => 'main-combine-instagram-wrap',
637
+ ),
638
+ ),
639
+
640
+
641
+ //Instagram Type
642
+ array(
643
+ 'input_wrap_class' => 'combine_instagram_type',
644
+ 'option_type' => 'select',
645
+ 'label' => __('Instagram Type', 'feed-them-social'),
646
+ 'instructional-text' => '<strong>REQUIRED:</strong> Make sure you have an <strong>Access Token</strong> in place on the <a class="not-active-title" href="admin.php?page=fts-instagram-feed-styles-submenu-page" target="_blank">Instagram Options</a>.',
647
+ 'type' => 'text',
648
+ 'id' => 'combine_instagram_type',
649
+ 'name' => 'combine_instagram_type',
650
+ 'options' => array(
651
+ //User Feed
652
+ array(
653
+ 'value' => 'user',
654
+ 'label' => __('User Feed', 'feed-them-social'),
655
+ ),
656
+ //hastag Feed
657
+ array(
658
+ 'value' => 'hashtag',
659
+ 'label' => __('Hashtag Feed', 'feed-them-social'),
660
+ ),
661
+ //location Feed
662
+ array(
663
+ 'value' => 'location',
664
+ 'label' => __('Location Feed', 'feed-them-social'),
665
+ ),
666
+ ),
667
+ 'req_plugin' => 'combine_streams',
668
+ 'short_attr' => array(
669
+ 'attr_name' => 'instagram_type',
670
+ 'ifs' => 'combine_instagram',
671
+ ),
672
+ 'sub_options' => array(
673
+ 'sub_options_wrap_class' => 'combine-instagram-wrap',
674
+ ),
675
+ ),
676
+
677
+
678
+ //Combine Convert Instagram Name
679
+ // array(
680
+ // 'option_type' => 'input',
681
+ // 'input_wrap_class' => 'combine-instagram-id-option-wrap',
682
+ // 'label' => __('Convert Instagram Name to ID', 'feed-them-social'),
683
+ // 'type' => 'text',
684
+ // 'id' => 'combine_convert_instagram_username',
685
+ // 'name' => 'combine_convert_instagram_username',
686
+ // 'instructional-text' => __('You must copy your <a href="https://www.slickremix.com/how-to-get-your-instagram-name-and-convert-to-id/" target="_blank">Instagram Name</a> and paste it in the first input below', 'feed-them-social'),
687
+ // 'req_plugin' => 'combine_streams',
688
+ // //Relative to JS.
689
+ // 'short_attr' => array(
690
+ // 'attr_name' => '',
691
+ // 'ifs' => 'combine_instagram',
692
+ // 'no_attribute' => 'yes'
693
+ // ),
694
+ // ),
695
+
696
+ //Instagram ID
697
+ array(
698
+ 'option_type' => 'input',
699
+ // 'input_wrap_class' => 'combine_instagram_name',
700
+ 'label' => array(
701
+ 1 => array(
702
+ 'text' => __('Instagram ID # (required)', 'feed-them-social'),
703
+ 'class' => 'combine-instagram-user-option-text',
704
+ ),
705
+ 2 => array(
706
+ 'text' => __('Hashtag (required)', 'feed-them-social'),
707
+ 'class' => 'combine-instagram-hashtag-option-text',
708
+ ),
709
+ 3 => array(
710
+ 'text' => __('Location ID (required)', 'feed-them-social'),
711
+ 'class' => 'combine-instagram-location-option-text',
712
+ ),
713
+ ),
714
+ 'type' => 'text',
715
+ 'id' => 'combine_instagram_name',
716
+ 'name' => 'combine_instagram_name',
717
+ 'required' => 'combine_streams',
718
+ 'instructional-text' => array(
719
+ 1 => array(
720
+ 'text' => __('<div class="fts-insta-info-plus-wrapper">If your Access Token is set on the Instagram Options page of our plugin your ID should appear below.</div>', 'feed-them-social') ,
721
+ 'class' => 'combine-instagram-user-option-text',
722
+ ),
723
+ 2 => array(
724
+ 'text' => __('Add your Hashtag below. Do not add the #, just the name.', 'feed-them-social'),
725
+ 'class' => 'combine-instagram-hashtag-option-text',
726
+ ),
727
+ 3 => array(
728
+ 'text' => __('<strong>NOTE:</strong> The post count may not count proper in some location instances because private instagram photos are in the mix. We cannot pull private accounts photos in any location feed. Add your Location ID below.', 'feed-them-social'),
729
+ 'class' => 'combine-instagram-location-option-text',
730
+ ),
731
+ ),
732
+ //Relative to JS.
733
+ 'short_attr' => array(
734
+ 'attr_name' => 'instagram_name',
735
+ 'ifs' => 'combine_instagram',
736
+ 'var_final_if' => 'no',
737
+ 'empty_error' => 'set',
738
+ 'empty_error_value' => '',
739
+ ),
740
+ 'sub_options_end' => 2,
741
+ ),
742
+
743
+
744
+ //Combine Pinterest
745
+ array(
746
+ 'grouped_options_title' => __('Pinterest', 'feed-them-social'),
747
+ 'option_type' => 'select',
748
+ 'label' => __('Combine Pinterest', 'feed-them-social'),
749
+ 'type' => 'text',
750
+ 'id' => 'combine_pinterest',
751
+ 'name' => 'combine_pinterest',
752
+ 'options' => array(
753
+ array(
754
+ 'label' => __('No', 'feed-them-social'),
755
+ 'value' => 'no',
756
+ ),
757
+ array(
758
+ 'label' => __('Yes', 'feed-them-social'),
759
+ 'value' => 'yes',
760
+ ),
761
+ ),
762
+ 'req_plugin' => 'combine_streams',
763
+ 'short_attr' => array(
764
+ 'attr_name' => '',
765
+ 'empty_error_value' => '',
766
+ 'no_attribute' => 'yes',
767
+ ),
768
+ 'sub_options' => array(
769
+ 'sub_options_wrap_class' => 'main-combine-pinterest-wrap',
770
+ ),
771
+ ),
772
+ //Pinterest Type
773
+ array(
774
+ 'input_wrap_class' => 'combine_pinterest_type',
775
+ 'option_type' => 'select',
776
+ 'label' => __('Pinterest Type', 'feed-them-social'),
777
+ 'instructional-text' => '<strong>REQUIRED:</strong> Make sure you have an <strong>Access Token</strong> in place on the <a class="not-active-title" href="admin.php?page=fts-pinterest-feed-styles-submenu-page" target="_blank">Pinterest Options</a> page then copy your <a href="https://www.slickremix.com/how-to-get-your-pinterest-name/" target="_blank">Pinterest and or Board Name</a> and paste them below based on your selection. A users board list is not available in this feed.',
778
+ 'type' => 'text',
779
+ 'id' => 'combine_pinterest_type',
780
+ 'name' => 'combine_pinterest_type',
781
+ 'options' => array(
782
+ //Single Board Pins
783
+ array(
784
+ 'label' => __('Latest Pins from a User', 'feed-them-social'),
785
+ 'value' => 'pins_from_user',
786
+ ),
787
+ //Single Board Pins
788
+ array(
789
+ 'label' => __('Pins From a Specific Board', 'feed-them-social'),
790
+ 'value' => 'single_board_pins',
791
+ ),
792
+ ),
793
+ 'req_plugin' => 'combine_streams',
794
+ 'short_attr' => array(
795
+ 'attr_name' => 'pinterest_type',
796
+ 'ifs' => 'combine_pinterest',
797
+ ),
798
+ 'sub_options' => array(
799
+ 'sub_options_wrap_class' => 'combine-pinterest-wrap',
800
+ ),
801
+ ),
802
+ //Pinterest Name
803
+ array(
804
+ 'option_type' => 'input',
805
+ 'input_wrap_class' => 'combine_pinterest_name',
806
+ 'label' => __('Pinterest Name', 'feed-them-social'),
807
+ 'type' => 'text',
808
+ 'id' => 'combine_pinterest_name',
809
+ 'name' => 'combine_pinterest_name',
810
+ 'req_plugin' => 'combine_streams',
811
+ //Relative to JS.
812
+ 'short_attr' => array(
813
+ 'attr_name' => 'pinterest_name',
814
+ 'ifs' => 'combine_pinterest',
815
+ 'var_final_if' => 'yes',
816
+ 'empty_error' => 'set',
817
+ 'empty_error_value' => '',
818
+ ),
819
+ ),
820
+ //Pinterest Board ID
821
+ array(
822
+ 'option_type' => 'input',
823
+ 'input_wrap_class' => 'combine_board_id',
824
+ 'label' => __('Pinterest Board ID', 'feed-them-social'),
825
+ 'type' => 'text',
826
+ 'id' => 'combine_board_id',
827
+ 'name' => 'combine_board_id',
828
+ 'req_plugin' => 'combine_streams',
829
+ //Relative to JS.
830
+ 'short_attr' => array(
831
+ 'attr_name' => 'board_id',
832
+ 'ifs' => 'pinterest_single_board_pins',
833
+ ),
834
+ 'sub_options_end' => 2,
835
+ ),
836
+ //Combine Youtube
837
+ array(
838
+ 'grouped_options_title' => __('Youtube', 'feed-them-social'),
839
+ 'option_type' => 'select',
840
+ 'label' => __('Combine Youtube', 'feed-them-social'),
841
+ 'type' => 'text',
842
+ 'id' => 'combine_youtube',
843
+ 'name' => 'combine_youtube',
844
+ 'options' => array(
845
+ array(
846
+ 'label' => __('No', 'feed-them-social'),
847
+ 'value' => 'no',
848
+ ),
849
+ array(
850
+ 'label' => __('Yes', 'feed-them-social'),
851
+ 'value' => 'yes',
852
+ ),
853
+ ),
854
+ 'req_plugin' => 'combine_streams',
855
+ 'short_attr' => array(
856
+ 'attr_name' => '',
857
+ 'empty_error_value' => '',
858
+ 'no_attribute' => 'yes',
859
+ ),
860
+ 'sub_options' => array(
861
+ 'sub_options_wrap_class' => 'main-combine-youtube-wrap',
862
+ ),
863
+ ),
864
+ //Youtube Type
865
+ array(
866
+ 'input_wrap_class' => 'combine_youtube_type',
867
+ 'option_type' => 'select',
868
+ 'label' => __('Youtube Type', 'feed-them-social'),
869
+ 'type' => 'text',
870
+ 'id' => 'combine_youtube_type',
871
+ 'name' => 'combine_youtube_type',
872
+ 'options' => array( //Channel Feed
873
+ array(
874
+ 'label' => __('Channel Feed', 'feed-them-social'),
875
+ 'value' => 'channelID',
876
+ ), //Channel Playlist Feed
877
+ array(
878
+ 'label' => __('Channel\'s Specific Playlist', 'feed-them-social'),
879
+ 'value' => 'playlistID',
880
+ ),
881
+ //User's Most Recent Videos
882
+ array(
883
+ 'label' => __('User\'s Most Recent Videos', 'feed-them-social'),
884
+ 'value' => 'username',
885
+ ),
886
+ //User's Playlist
887
+ array(
888
+ 'label' => __('User\'s Specific Playlist', 'feed-them-social'),
889
+ 'value' => 'userPlaylist',
890
+ ),
891
+
892
+
893
+ ),
894
+ 'req_plugin' => 'combine_streams',
895
+ 'short_attr' => array(
896
+ 'attr_name' => '',
897
+ 'no_attribute' => 'yes',
898
+ 'ifs' => 'combine_youtube',
899
+ ),
900
+ 'sub_options' => array(
901
+ 'sub_options_wrap_class' => 'combine-youtube-wrap',
902
+ ),
903
+ ),
904
+ //Youtube Name
905
+ array(
906
+ 'option_type' => 'input',
907
+ 'input_wrap_class' => 'combine_youtube_name',
908
+ 'label' => __('YouTube Username', 'feed-them-social'),
909
+ 'type' => 'text',
910
+ 'id' => 'combine_youtube_name',
911
+ 'name' => 'combine_youtube_name',
912
+ 'instructional-text' => '<strong>REQUIRED:</strong> Make sure you have an <strong>API Key</strong> or <strong>Access Token</strong> in place on the <a class="not-active-title" href="admin.php?page=fts-youtube-feed-styles-submenu-page" target="_blank">Youtube Options</a> page then copy your YouTube <a href="https://www.slickremix.com/how-to-get-your-youtube-name/" target="_blank">Username</a> and paste it below.',
913
+ 'req_plugin' => 'combine_streams',
914
+ //Relative to JS.
915
+ 'short_attr' => array(
916
+ 'attr_name' => 'youtube_name',
917
+ 'ifs' => 'combine_youtube',
918
+ 'var_final_if' => 'yes',
919
+ 'empty_error' => 'set',
920
+ 'empty_error_value' => '',
921
+ ),
922
+ ),
923
+ //YouTube Playlist ID
924
+ array(
925
+ 'option_type' => 'input',
926
+ 'input_wrap_class' => 'combine_playlist_id',
927
+ 'label' => __('YouTube Playlist ID', 'feed-them-social'),
928
+ 'type' => 'text',
929
+ 'id' => 'combine_playlist_id',
930
+ 'name' => 'combine_playlist_id',
931
+ 'instructional-text' => '<strong>REQUIRED:</strong> Make sure you have an <strong>API Key</strong> or <strong>Access Token</strong> in place on the <a class="not-active-title" href="admin.php?page=fts-youtube-feed-styles-submenu-page" target="_blank">Youtube Options</a> page then copy your YouTube <a href="https://www.slickremix.com/how-to-get-your-youtube-name/" target="_blank">Playlist ID</a> and paste them below.',
932
+ 'req_plugin' => 'combine_streams',
933
+ //Relative to JS.
934
+ 'short_attr' => array(
935
+ 'attr_name' => 'playlist_id',
936
+ 'ifs' => 'combine_youtube',
937
+ ),
938
+ ),
939
+ //YouTube Channel ID
940
+ array(
941
+ 'option_type' => 'input',
942
+ 'input_wrap_class' => 'combine_channel_id',
943
+ 'label' => __('YouTube Channel ID', 'feed-them-social'),
944
+ 'type' => 'text',
945
+ 'id' => 'combine_channel_id',
946
+ 'name' => 'combine_channel_id',
947
+ 'instructional-text' => '<strong>REQUIRED:</strong> Make sure you have an <strong>API Key</strong> or <strong>Access Token</strong> in place on the <a class="not-active-title" href="admin.php?page=fts-youtube-feed-styles-submenu-page" target="_blank">Youtube Options</a> page then copy your YouTube <a href="https://www.slickremix.com/how-to-get-your-youtube-name/" target="_blank">Channel ID</a> and paste it below.',
948
+ 'req_plugin' => 'combine_streams',
949
+ //Relative to JS.
950
+ 'short_attr' => array(
951
+ 'attr_name' => 'channel_id',
952
+ 'ifs' => 'combine_youtube',
953
+ ),
954
+ 'sub_options_end' => 2,
955
+ ),
956
+ //******************************************
957
+ // Combine Streams Grid Options
958
+ //******************************************
959
+ //Facebook Page Display Posts in Grid
960
+ array(
961
+ 'grouped_options_title' => __('Grid', 'feed-them-social'),
962
+ 'input_wrap_class' => 'combine_grid_option',
963
+ 'option_type' => 'select',
964
+ 'label' => __('Display Posts in Grid', 'feed-them-social'),
965
+ 'type' => 'text',
966
+ 'id' => 'combine_grid_option',
967
+ 'name' => 'combine_grid_option',
968
+ 'options' => array(
969
+ 1 => array(
970
+ 'label' => __('No', 'feed-them-social'),
971
+ 'value' => 'no',
972
+ ),
973
+ 2 => array(
974
+ 'label' => __('Yes', 'feed-them-social'),
975
+ 'value' => 'yes',
976
+ ),
977
+ ),
978
+ 'req_plugin' => 'combine_streams',
979
+ 'short_attr' => array(
980
+ 'attr_name' => 'grid',
981
+ 'empty_error' => 'set',
982
+ 'set_operator' => '==',
983
+ 'set_equals' => 'yes',
984
+ 'empty_error_value' => '',
985
+ ),
986
+ //This should be placed in the STARTING field of sub options that way wrap and instruction text is above this div (end will be in final options for div output)
987
+ 'sub_options' => array(
988
+ 'sub_options_wrap_class' => 'combine-main-grid-options-wrap',
989
+ ),
990
+ ),
991
+ //Grid Column Width
992
+ array(
993
+ 'option_type' => 'input',
994
+ 'label' => __('Grid Column Width', 'feed-them-social'),
995
+ 'type' => 'text',
996
+ 'id' => 'combine_grid_column_width',
997
+ 'name' => 'combine_grid_column_width',
998
+ 'instructional-text' => '<strong> ' . __('NOTE:', 'feed-them-social') . '</strong> ' . sprintf(__('Define the Width of each post and the Space between each post below. You must add px after any number. Learn how to make the %1$sgrid responsive%2$s.', 'feed-them-social'),
999
+ '<a href="https://www.slickremix.com/docs/responsive-grid-css/" target="_blank">',
1000
+ '</a>'
1001
+ ),
1002
+ 'placeholder' => '310px ' . __('for example', 'feed-them-social'),
1003
+ 'req_plugin' => 'combine_streams',
1004
+ //Relative to JS.
1005
+ 'short_attr' => array(
1006
+ 'attr_name' => 'column_width',
1007
+ 'empty_error' => 'set',
1008
+ 'empty_error_value' => 'column_width=310px',
1009
+ 'ifs' => 'combine_grid',
1010
+ ),
1011
+ //This should be placed in the STARTING field of sub options that way wrap and instruction text is above this div (end will be in final options for div output)
1012
+ 'sub_options' => array(
1013
+ 'sub_options_wrap_class' => 'combine-grid-options-wrap',
1014
+ ),
1015
+ ),
1016
+ //Grid Spaces Between Posts
1017
+ array(
1018
+ 'option_type' => 'input',
1019
+ 'label' => __('Grid Spaces Between Posts', 'feed-them-social'),
1020
+ 'type' => 'text',
1021
+ 'id' => 'combine_grid_space_between_posts',
1022
+ 'name' => 'combine_grid_space_between_posts',
1023
+ 'placeholder' => '10px ' . __('for example', 'feed-them-social'),
1024
+ 'req_plugin' => 'combine_streams',
1025
+ //Relative to JS.
1026
+ 'short_attr' => array(
1027
+ 'attr_name' => 'space_between_posts',
1028
+ 'empty_error' => 'set',
1029
+ 'empty_error_value' => 'space_between_posts=10px',
1030
+ 'ifs' => 'combine_grid',
1031
+ ),
1032
+ 'sub_options_end' => 2,
1033
+ ),
1034
+ ),
1035
+ //Final Shortcode ifs
1036
+ 'shortcode_ifs' => array(
1037
+ 'main_select' => array(
1038
+ 'if' => array(
1039
+ 'class' => 'select#shortcode-form-selector',
1040
+ 'operator' => '==',
1041
+ 'value' => 'combine-steams-shortcode-form',
1042
+ ),
1043
+ ),
1044
+ 'combine_facebook' => array(
1045
+ 'if' => array(
1046
+ 'class' => 'select#combine_facebook',
1047
+ 'operator' => '==',
1048
+ 'value' => 'yes',
1049
+ ),
1050
+ ),
1051
+ // 'combine_twitter' => array(
1052
+ // 'if' => array(
1053
+ // 'class' => 'select#combine-twitter-messages-selector',
1054
+ // 'operator' => '==',
1055
+ // 'value' => '',
1056
+ // ),
1057
+ // ),
1058
+ // 'combine_twitter_search' => array(
1059
+ // 'if' => array(
1060
+ // 'class' => 'select#combine-twitter-messages-selector',
1061
+ // 'operator' => '==',
1062
+ // 'value' => '',
1063
+ // ),
1064
+ // ),
1065
+ 'combine_instagram' => array(
1066
+ 'if' => array(
1067
+ 'class' => 'select#combine_instagram',
1068
+ 'operator' => '==',
1069
+ 'value' => 'yes',
1070
+ ),
1071
+ ),
1072
+ 'combine_pinterest' => array(
1073
+ 'if' => array(
1074
+ 'class' => 'select#combine_pinterest',
1075
+ 'operator' => '==',
1076
+ 'value' => 'yes',
1077
+ ),
1078
+ ),
1079
+ 'combine_youtube' => array(
1080
+ 'if' => array(
1081
+ 'class' => 'select#combine_youtube',
1082
+ 'operator' => '==',
1083
+ 'value' => 'yes',
1084
+ ),
1085
+ ),
1086
+ 'combine_load_more' => array(
1087
+ 'if' => array(
1088
+ 'class' => 'select#fb_load_more_option',
1089
+ 'operator' => '==',
1090
+ 'value' => 'yes',
1091
+ ),
1092
+ ),
1093
+ 'combine_grid' => array(
1094
+ 'if' => array(
1095
+ 'class' => 'select#combine_grid_option',
1096
+ 'operator' => '==',
1097
+ 'value' => 'yes',
1098
+ ),
1099
+ ),
1100
+ 'yt_username' => array(
1101
+ 'if' => array(
1102
+ 'class' => 'select#combine_youtube_type',
1103
+ 'operator' => '==',
1104
+ 'value' => 'username',
1105
+ ),
1106
+ ),
1107
+ 'yt_userPlaylist' => array(
1108
+ 'if' => array(
1109
+ 'class' => 'select#combine_youtube_type',
1110
+ 'operator' => '==',
1111
+ 'value' => 'userPlaylist',
1112
+ ),
1113
+ ),
1114
+ 'yt_channelID' => array(
1115
+ 'if' => array(
1116
+ 'class' => 'select#combine_youtube_type',
1117
+ 'operator' => '==',
1118
+ 'value' => 'channelID',
1119
+ ),
1120
+ ),
1121
+ 'yt_playlistID' => array(
1122
+ 'if' => array(
1123
+ 'class' => 'select#combine_youtube_type',
1124
+ 'operator' => '==',
1125
+ 'value' => 'playlistID',
1126
+ ),
1127
+ ),
1128
+ 'pinterest_single_board_pins' => array(
1129
+ 'if' => array(
1130
+ 'class' => 'select#combine_pinterest_type',
1131
+ 'operator' => '==',
1132
+ 'value' => 'single_board_pins',
1133
+ ),
1134
+ ),
1135
+ ),
1136
+ //Generator Info
1137
+ 'generator_title' => __('Combine Streams Shortcode', 'feed-them-social'),
1138
+ 'generator_class' => 'combine-streams-final-shortcode',
1139
+ ),//End Combine Streams
1140
+ //******************************************
1141
+ // Facebook Page Feed
1142
+ //******************************************
1143
+ 'facebook' => array(
1144
+ 'section_attr_key' => 'facebook_',
1145
+ 'section_title' => __('Facebook Page Shortcode Generator', 'feed-them-social'),
1146
+ 'section_wrap_class' => 'fts-facebook_page-shortcode-form',
1147
+ //Form Info
1148
+ 'form_wrap_classes' => 'fts-fb-page-shortcode-form',
1149
+ 'form_wrap_id' => 'fts-fb-page-form',
1150
+ //Token Check
1151
+ 'token_check' => $facebookReviewsTokenCheck,
1152
+ //Feed Type Selection
1153
+ 'feed_type_select' => array(
1154
+ 'label' => __('Feed Type', 'feed-them-social'),
1155
+ 'select_wrap_classes' => 'fts-social-selector',
1156
+ 'select_classes' => '',
1157
+ 'select_name' => 'facebook-messages-selector',
1158
+ 'select_id' => 'facebook-messages-selector',
1159
+ ),
1160
+ //Feed Types and their options
1161
+ 'feeds_types' => array(
1162
+ //Facebook Page
1163
+ array(
1164
+ 'value' => 'page',
1165
+ 'title' => __('Facebook Page', 'feed-them-social'),
1166
+ ),
1167
+ //Facebook Page List of Events
1168
+ // array(
1169
+ // 'value' => 'events',
1170
+ // 'title' => __('Facebook Page List of Events', 'feed-them-social'),
1171
+ // ),
1172
+ // //Facebook Page Single Event Posts
1173
+ // array(
1174
+ // 'value' => 'event',
1175
+ // 'title' => __('Facebook Page Single Event Posts', 'feed-them-social'),
1176
+ // ),
1177
+ // //Facebook Group
1178
+ // array(
1179
+ // 'value' => 'group',
1180
+ // 'title' => __('Facebook Group', 'feed-them-social'),
1181
+ // ),
1182
+ //Facebook Album Photos
1183
+ array(
1184
+ 'value' => 'album_photos',
1185
+ 'title' => __('Facebook Album Photos', 'feed-them-social'),
1186
+ ),
1187
+ //Facebook Album Covers
1188
+ array(
1189
+ 'value' => 'albums',
1190
+ 'title' => __('Facebook Album Covers', 'feed-them-social'),
1191
+ ),
1192
+ //Facebook Videos
1193
+ array(
1194
+ 'value' => 'album_videos',
1195
+ 'title' => __('Facebook Videos', 'feed-them-social'),
1196
+ ),
1197
+ //Facebook Page Reviews
1198
+ array(
1199
+ 'value' => 'reviews',
1200
+ 'title' => __('Facebook Page Reviews', 'feed-them-social'),
1201
+ ),
1202
+ ),
1203
+ 'premium_msg_boxes' => array(
1204
+ 'album_videos' => array(
1205
+ 'req_plugin' => 'fts_premium',
1206
+ 'msg' => 'The Facebook video feed allows you to view your uploaded videos from facebook. See these great examples and options of all the different ways you can bring new life to your wordpress site! <a href="http://feedthemsocial.com/facebook-videos-demo/" target="_blank">View Demo</a><br><br>Additionally if you purchase the Carousel Plugin you can showcase your videos in a slideshow or carousel. Works with your Facebook Photos too! <a href="http://feedthemsocial.com/facebook-carousels/" target="_blank">View Carousel Demo</a>',
1207
+ ),
1208
+ 'reviews' => array(
1209
+ 'req_plugin' => 'facebook_reviews',
1210
+ 'msg' => 'The Facebook Reviews feed allows you to view all of the reviews people have made on your Facebook Page. See these great examples and options of all the different ways you can display your Facebook Page Reviews on your website. <a href="http://feedthemsocial.com/facebook-page-reviews-demo/" target="_blank">View Demo</a>',
1211
+ ),
1212
+ ),
1213
+ 'short_attr_final' => 'yes',
1214
+
1215
+ 'main_options' => array(
1216
+ //Feed Type
1217
+ array(
1218
+ 'option_type' => 'select',
1219
+ 'id' => 'facebook-messages-selector',
1220
+ 'name' => 'facebook-messages-selector',
1221
+ //DONT SHOW HTML
1222
+ 'no_html' => 'yes',
1223
+ //Relative to JS.
1224
+ 'short_attr' => array(
1225
+ 'attr_name' => 'type',
1226
+ ),
1227
+ ),
1228
+ //Facebook ID
1229
+ array(
1230
+ 'option_type' => 'input',
1231
+ 'input_wrap_class' => 'fb_page_id',
1232
+ 'label' => __('Facebook ID (required)', 'feed-them-social'),
1233
+ 'instructional-text' => array(
1234
+ array(
1235
+ 'text' => __('If your Access Token is set on the Facebook Options page of our plugin your ID should appear below. To create an additional feed go back the') . ' <a href="admin.php?page=fts-facebook-feed-styles-submenu-page" target="_blank">' . __('Facebook Options', 'feed-them-social') . '</a> ' . __('page and make sure you are logged into that specific Facebook account then click the button again to get a new Access Token/ID. Remember to click Save all Changes and return here.', 'feed-them-social').'',
1236
+ 'class' => 'facebook-message-generator page inst-text-facebook-page',
1237
+ ),
1238
+ array(
1239
+ 'text' => __('Copy your', 'feed-them-social') . ' <a href="https://www.slickremix.com/how-to-get-your-facebook-group-id/" target="_blank">' . __('Facebook Group ID', 'feed-them-social') . '</a> ' . __('and paste it in the first input below.', 'feed-them-social'),
1240
+ 'class' => 'facebook-message-generator group inst-text-facebook-group',
1241
+ ),
1242
+ array(
1243
+ 'text' => __('Copy your', 'feed-them-social') . ' <a href="https://www.slickremix.com/how-to-get-your-facebook-page-vanity-url/" target="_blank">' . __('Facebook Page ID', 'feed-them-social') . '</a> ' . __('and paste it in the first input below. PLEASE NOTE: This will only work with Facebook Page Events and you cannot have more than 25 events on Facebook.', 'feed-them-social'),
1244
+ 'class' => 'facebook-message-generator event-list inst-text-facebook-event-list',
1245
+ ),
1246
+ array(
1247
+ 'text' => __('Copy your', 'feed-them-social') . ' <a href="https://www.slickremix.com/how-to-get-your-facebook-event-id/" target="_blank">' . __('Facebook Event ID', 'feed-them-social') . '</a> ' . __('and paste it in the first input below.', 'feed-them-social'),
1248
+ 'class' => 'facebook-message-generator event inst-text-facebook-event',
1249
+ ),
1250
+ array(
1251
+ 'text' => __('To show a specific Album copy your', 'feed-them-social') . ' <a href="https://www.slickremix.com/docs/how-to-get-your-facebook-photo-gallery-id/" target="_blank">' . __('Facebook Album ID', 'feed-them-social') . '</a> ' . __('and paste it in the third input below. If you want to show all your uploaded photos leave the Album ID input blank.', 'feed-them-social'),
1252
+ 'class' => 'facebook-message-generator album_photos inst-text-facebook-album-photos',
1253
+ ),
1254
+ array(
1255
+ 'text' => __('If your Access Token is set on the Facebook Options page of our plugin your ID should appear below. To create an additional feed go back the') . ' <a href="admin.php?page=fts-facebook-feed-styles-submenu-page" target="_blank">' . __('Facebook Options', 'feed-them-social') . '</a> ' . __('page and make sure you are logged into that specific Facebook account then click the button again to get a new Access Token/ID. Remember to click Save all Changes and return here.', 'feed-them-social').'',
1256
+ 'class' => 'facebook-message-generator albums inst-text-facebook-albums',
1257
+ ),
1258
+ array(
1259
+ 'text' => __('If your Access Token is set on the Facebook Options page of our plugin your ID should appear below. To create an additional feed go back the') . ' <a href="admin.php?page=fts-facebook-feed-styles-submenu-page" target="_blank">' . __('Facebook Options', 'feed-them-social') . '</a> ' . __('page and make sure you are logged into that specific Facebook account then click the button again to get a new Access Token/ID. Remember to click Save all Changes and return here.', 'feed-them-social').'',
1260
+ 'class' => 'facebook-message-generator video inst-text-facebook-video',
1261
+ ),
1262
+ array(
1263
+ 'text' => __('If your Access Token is set on the Facebook Options page of our plugin your ID should appear below. To create an additional feed go back the') . ' <a href="admin.php?page=fts-facebook-feed-styles-submenu-page" target="_blank">' . __('Facebook Options', 'feed-them-social') . '</a> ' . __('page and make sure you are logged into that specific Facebook account then click the button again to get a new Access Token/ID. Remember to click Save all Changes and return here.', 'feed-them-social').'',
1264
+ 'class' => 'facebook-message-generator reviews inst-text-facebook-reviews',
1265
+ ),
1266
+ ),
1267
+ 'type' => 'text',
1268
+ 'id' => 'fb_page_id',
1269
+ 'name' => 'fb_page_id',
1270
+ 'value' => '',
1271
+ //Relative to JS.
1272
+ 'short_attr' => array(
1273
+ 'attr_name' => 'id',
1274
+ 'var_final_if' => 'no',
1275
+ 'empty_error' => 'yes',
1276
+ ),
1277
+ ),
1278
+ //Access Token
1279
+ array(
1280
+ 'option_type' => 'input',
1281
+ 'label' => __('Access Token (required) ', 'feed-them-social') . '<br/><small>' . __('', 'feed-them-gallery') . '</small>',
1282
+ 'type' => 'text',
1283
+ 'id' => 'fb_access_token',
1284
+ 'name' => 'fb_access_token',
1285
+ // Only needed if Prem_Req = More otherwise remove (must have array key req_plugin)
1286
+ // 'prem_req_more_msg' => '<br/><small>' . __('More than 6 Requires <a target="_blank" href="https://www.slickremix.com/downloads/feed-them-social-premium-extension/">Premium version</a>', 'feed-them-social') . '</small>',
1287
+ 'placeholder' => __('', 'feed-them-social'),
1288
+ //Relative to JS.
1289
+ 'short_attr' => array(
1290
+ 'attr_name' => 'access_token',
1291
+ 'var_final_if' => 'yes',
1292
+ 'empty_error' => 'set',
1293
+ 'empty_error_value' => '',
1294
+ ),
1295
+ ),
1296
+ //Facebook Album ID
1297
+ array(
1298
+ 'option_type' => 'input',
1299
+ 'input_wrap_class' => 'fb_album_photos_id',
1300
+ 'label' => __('Album ID ', 'feed-them-social') . '<br/><small>' . __('Leave blank to show all uploaded photos', 'feed-them-social') . '</small>',
1301
+ 'type' => 'text',
1302
+ 'id' => 'fb_album_id',
1303
+ 'name' => 'fb_album_id',
1304
+ 'value' => '',
1305
+ //Relative to JS.
1306
+ 'short_attr' => array(
1307
+ 'attr_name' => 'album_id',
1308
+ 'var_final_if' => 'yes',
1309
+ 'empty_error' => 'set',
1310
+ 'empty_error_value' => 'album_id=photo_stream',
1311
+ 'empty_error_if' => array(
1312
+ 'attribute' => 'select#facebook-messages-selector',
1313
+ 'operator' => '==',
1314
+ 'value' => 'album_photos',
1315
+ ),
1316
+ 'ifs' => 'album_photos',
1317
+ ),
1318
+ ),
1319
+ //Facebook Page Post Type Visible
1320
+ array(
1321
+ 'input_wrap_class' => 'facebook-post-type-visible',
1322
+ 'option_type' => 'select',
1323
+ 'label' => __('Post Type Visible', 'feed-them-social'),
1324
+ 'type' => 'text',
1325
+ 'id' => 'fb_page_posts_displayed',
1326
+ 'name' => 'fb_page_posts_displayed',
1327
+ 'options' => array(
1328
+ array(
1329
+ 'label' => __('Display Posts made by Page only', 'feed-them-social'),
1330
+ 'value' => 'page_only',
1331
+ ),
1332
+ array(
1333
+ 'label' => __('Display Posts made by Page and Others', 'feed-them-social'),
1334
+ 'value' => 'page_and_others',
1335
+ ),
1336
+ ),
1337
+ 'short_attr' => array(
1338
+ 'attr_name' => 'posts_displayed',
1339
+ 'ifs' => 'page',
1340
+ ),
1341
+ ),
1342
+ //Facebook page # of Posts
1343
+ array(
1344
+ 'option_type' => 'input',
1345
+ 'label' => __('# of Posts', 'feed-them-social') . $limitforpremium,
1346
+ 'type' => 'text',
1347
+ 'id' => 'fb_page_post_count',
1348
+ 'name' => 'fb_page_post_count',
1349
+ 'value' => '',
1350
+ 'placeholder' => __('6 is the default number', 'feed-them-social'),
1351
+ //Relative to JS.
1352
+ 'short_attr' => array(
1353
+ 'attr_name' => 'posts',
1354
+ 'var_final_if' => 'yes',
1355
+ 'empty_error' => 'set',
1356
+ 'empty_error_value' => 'posts=6',
1357
+ ),
1358
+ ),
1359
+ //Facebook Page Facebook Fixed Height
1360
+ array(
1361
+ 'input_wrap_class' => 'fixed_height_option',
1362
+ 'option_type' => 'input',
1363
+ 'label' => __('Facebook Fixed Height', 'feed-them-social') . '<br/><small>' . __('Leave blank for auto height', 'feed-them-social') . '</small>',
1364
+ 'type' => 'text',
1365
+ 'id' => 'facebook_page_height',
1366
+ 'name' => 'facebook_page_height',
1367
+ 'value' => '',
1368
+ 'placeholder' => '450px ' . __('for example', 'feed-them-social'),
1369
+ //Relative to JS.
1370
+ 'short_attr' => array(
1371
+ 'attr_name' => 'height',
1372
+ 'var_final_if' => 'yes',
1373
+ 'empty_error' => 'set',
1374
+ 'empty_error_value' => '',
1375
+ ),
1376
+ ),
1377
+ //Facebook Page Show Page Title (Premium)
1378
+ array(
1379
+ 'input_wrap_class' => 'fb-page-title-option-hide',
1380
+ 'option_type' => 'select',
1381
+ 'label' => __('Show Page Title', 'feed-them-social') . '<br/><small>' . __('Yes or No', 'feed-them-social') . '</small>',
1382
+ 'type' => 'text',
1383
+ 'id' => 'fb_page_title_option',
1384
+ 'name' => 'fb_page_title_option',
1385
+ 'options' => array(
1386
+ array(
1387
+ 'label' => __('Yes', 'feed-them-social'),
1388
+ 'value' => 'yes',
1389
+ ),
1390
+ array(
1391
+ 'label' => __('No', 'feed-them-social'),
1392
+ 'value' => 'no',
1393
+ ),
1394
+ ),
1395
+ 'req_plugin' => 'fts_premium',
1396
+ 'short_attr' => array(
1397
+ 'attr_name' => 'title',
1398
+ ),
1399
+ 'sub_options' => array(
1400
+ 'sub_options_wrap_class' => 'facebook-title-options-wrap',
1401
+ ),
1402
+ ),
1403
+ //Facebook Page Align Title (Premium)
1404
+ array(
1405
+ 'input_wrap_class' => 'fb-page-title-align',
1406
+ 'option_type' => 'select',
1407
+ 'label' => __('Align Title', 'feed-them-social'). '<br/><small>' . __('Left, Center or Right', 'feed-them-social') . '</small>',
1408
+ 'type' => 'text',
1409
+ 'id' => 'fb_page_title_align',
1410
+ 'name' => 'fb_page_title_align',
1411
+ 'options' => array(
1412
+ 1 => array(
1413
+ 'label' => __('Left', 'feed-them-social'),
1414
+ 'value' => 'left',
1415
+ ),
1416
+ 2 => array(
1417
+ 'label' => __('Center', 'feed-them-social'),
1418
+ 'value' => 'center',
1419
+ ),
1420
+ 3 => array(
1421
+ 'label' => __('Right', 'feed-them-social'),
1422
+ 'value' => 'right',
1423
+ ),
1424
+ ),
1425
+ 'req_plugin' => 'fts_premium',
1426
+ 'short_attr' => array(
1427
+ 'attr_name' => 'title_align',
1428
+ ),
1429
+ ),
1430
+ //Facebook Page Show Page Description (Premium)
1431
+ array(
1432
+ 'input_wrap_class' => 'fb-page-description-option-hide',
1433
+ 'option_type' => 'select',
1434
+ 'label' => __('Show Page Description', 'feed-them-social') . '<br/><small>' . __('Yes or No', 'feed-them-social') . '</small>',
1435
+ 'type' => 'text',
1436
+ 'id' => 'fb_page_description_option',
1437
+ 'name' => 'fb_page_description_option',
1438
+ 'options' => array(
1439
+ 1 => array(
1440
+ 'label' => __('Yes', 'feed-them-social'),
1441
+ 'value' => 'yes',
1442
+ ),
1443
+ 2 => array(
1444
+ 'label' => __('No', 'feed-them-social'),
1445
+ 'value' => 'no',
1446
+ ),
1447
+ ),
1448
+ 'short_attr' => array(
1449
+ 'attr_name' => 'description',
1450
+ ),
1451
+ 'sub_options_end' => true,
1452
+ ),
1453
+
1454
+
1455
+
1456
+
1457
+
1458
+
1459
+
1460
+
1461
+
1462
+
1463
+
1464
+ //Show Description below image or video Name
1465
+ array(
1466
+ 'input_wrap_class' => 'facebook_show_media',
1467
+ 'option_type' => 'select',
1468
+ 'label' => __('Show Image/Video', 'feed-them-social') . '<br/><small>' . __('Bottom or Top of Post', 'feed-them-social') . '</small>',
1469
+ 'type' => 'text',
1470
+ 'id' => 'facebook_show_media',
1471
+ 'name' => 'facebook_show_media',
1472
+ 'req_plugin' => 'fts_premium',
1473
+ 'or_req_plugin' => 'combine_streams',
1474
+ 'options' => array(
1475
+ array(
1476
+ 'label' => __('Below Username, Date & Description', 'feed-them-social'),
1477
+ 'value' => 'bottom',
1478
+ ),
1479
+ array(
1480
+ 'label' => __('Above Username, Date & Description', 'feed-them-social'),
1481
+ 'value' => 'top',
1482
+ ),
1483
+ ),
1484
+ 'short_attr' => array(
1485
+ 'attr_name' => 'show_media',
1486
+ ),
1487
+ ),
1488
+ //Show Thumbnail
1489
+ array(
1490
+ 'input_wrap_class' => 'facebook_hide_thumbnail',
1491
+ 'option_type' => 'select',
1492
+ 'label' => __('Show User Thumbnail', 'feed-them-social') . '<br/><small>' . __('Yes or No', 'feed-them-social') . '</small>',
1493
+ 'type' => 'text',
1494
+ 'id' => 'facebook_hide_thumbnail',
1495
+ 'name' => 'facebook_hide_thumbnail',
1496
+ 'req_plugin' => 'fts_premium',
1497
+ 'or_req_plugin' => 'combine_streams',
1498
+ 'options' => array(
1499
+ array(
1500
+ 'label' => __('Yes', 'feed-them-social'),
1501
+ 'value' => 'yes',
1502
+ ),
1503
+ array(
1504
+ 'label' => __('No', 'feed-them-social'),
1505
+ 'value' => 'no',
1506
+ ),
1507
+ ),
1508
+ 'short_attr' => array(
1509
+ 'attr_name' => 'show_thumbnail',
1510
+ ),
1511
+ ),
1512
+ //Show Username
1513
+ array(
1514
+ 'input_wrap_class' => 'facebook_hide_date',
1515
+ 'option_type' => 'select',
1516
+ 'label' => __('Show Username', 'feed-them-social') . '<br/><small>' . __('Yes or No', 'feed-them-social') . '</small>',
1517
+ 'type' => 'text',
1518
+ 'id' => 'facebook_hide_date',
1519
+ 'name' => 'facebook_hide_date',
1520
+ 'req_plugin' => 'fts_premium',
1521
+ 'or_req_plugin' => 'combine_streams',
1522
+ 'options' => array(
1523
+ array(
1524
+ 'label' => __('Yes', 'feed-them-social'),
1525
+ 'value' => 'yes',
1526
+ ),
1527
+ array(
1528
+ 'label' => __('No', 'feed-them-social'),
1529
+ 'value' => 'no',
1530
+ ),
1531
+ ),
1532
+ 'short_attr' => array(
1533
+ 'attr_name' => 'show_date',
1534
+ ),
1535
+ ),
1536
+ //Show Date
1537
+ array(
1538
+ 'input_wrap_class' => 'facebook_hide_name',
1539
+ 'option_type' => 'select',
1540
+ 'label' => __('Show Date', 'feed-them-social') . '<br/><small>' . __('Yes or No', 'feed-them-social') . '</small>',
1541
+ 'type' => 'text',
1542
+ 'id' => 'facebook_hide_name',
1543
+ 'name' => 'facebook_hide_name',
1544
+ 'req_plugin' => 'fts_premium',
1545
+ 'or_req_plugin' => 'combine_streams',
1546
+ 'options' => array(
1547
+ array(
1548
+ 'label' => __('Yes', 'feed-them-social'),
1549
+ 'value' => 'yes',
1550
+ ),
1551
+ array(
1552
+ 'label' => __('No', 'feed-them-social'),
1553
+ 'value' => 'no',
1554
+ ),
1555
+ ),
1556
+ 'short_attr' => array(
1557
+ 'attr_name' => 'show_name',
1558
+ ),
1559
+ ),
1560
+
1561
+
1562
+
1563
+
1564
+
1565
+
1566
+
1567
+
1568
+
1569
+
1570
+ //Facebook Amount of words
1571
+ array(
1572
+ 'option_type' => 'input',
1573
+ 'label' => __('Amount of words per post', 'feed-them-social') . '<br/><small>' . __('Type 0 to remove the posts description', 'feed-them-social') . '</small>',
1574
+ 'type' => 'text',
1575
+ 'id' => 'fb_page_word_count_option',
1576
+ 'name' => 'fb_page_word_count_option',
1577
+ 'placeholder' => '45 ' . __('is the default number', 'feed-them-social'),
1578
+ 'value' => '',
1579
+ 'req_plugin' => 'fts_premium',
1580
+ 'or_req_plugin' => 'combine_streams',
1581
+ 'or_req_plugin_three' => 'facebook_reviews',
1582
+ //Relative to JS.
1583
+ 'short_attr' => array(
1584
+ 'attr_name' => 'words',
1585
+ 'empty_error' => 'set',
1586
+ 'empty_error_value' => 'words=45',
1587
+ ),
1588
+ ),
1589
+ //Facebook Image Width
1590
+ array(
1591
+ 'option_type' => 'input',
1592
+ 'label' => __('Facebook Image Width', 'feed-them-social') . '<br/><small>' . __('Max width is 640px', 'feed-them-social') . '</small>',
1593
+ 'type' => 'text',
1594
+ 'id' => 'fts-slicker-facebook-container-image-width',
1595
+ 'name' => 'fts-slicker-facebook-container-image-width',
1596
+ 'placeholder' => '250px',
1597
+ //Relative to JS.
1598
+ 'short_attr' => array(
1599
+ 'attr_name' => 'image_width',
1600
+ 'empty_error' => 'set',
1601
+ 'empty_error_value' => 'image_width=250px',
1602
+ 'ifs' => 'album_photos,albums,album_videos',
1603
+ ),
1604
+ 'sub_options' => array(
1605
+ 'sub_options_wrap_class' => 'fts-super-facebook-options-wrap',
1606
+ ),
1607
+ ),
1608
+ //Facebook Image Height
1609
+ array(
1610
+ 'option_type' => 'input',
1611
+ 'label' => __('Facebook Image Height', 'feed-them-social') . '<br/><small>' . __('Max width is 640px', 'feed-them-social') . '</small>',
1612
+ 'type' => 'text',
1613
+ 'id' => 'fts-slicker-facebook-container-image-height',
1614
+ 'name' => 'fts-slicker-facebook-container-image-height',
1615
+ 'placeholder' => '250px',
1616
+ //Relative to JS.
1617
+ 'short_attr' => array(
1618
+ 'attr_name' => 'image_height',
1619
+ 'empty_error' => 'set',
1620
+ 'empty_error_value' => 'image_height=250px',
1621
+ 'ifs' => 'album_photos,albums,album_videos',
1622
+ ),
1623
+ ),
1624
+ //Facebook The space between photos
1625
+ array(
1626
+ 'option_type' => 'input',
1627
+ 'label' => __('The space between photos', 'feed-them-social'),
1628
+ 'type' => 'text',
1629
+ 'id' => 'fts-slicker-facebook-container-margin',
1630
+ 'name' => 'fts-slicker-facebook-container-margin',
1631
+ 'placeholder' => '1px',
1632
+ //Relative to JS.
1633
+ 'short_attr' => array(
1634
+ 'attr_name' => 'space_between_photos',
1635
+ 'empty_error' => 'set',
1636
+ 'empty_error_value' => 'space_between_photos=1px',
1637
+ 'ifs' => 'album_photos,albums,album_videos',
1638
+ ),
1639
+ ),
1640
+ //Hide Date, Likes and Comments
1641
+ array(
1642
+ 'option_type' => 'select',
1643
+ 'label' => __('Hide Date, Likes and Comments', 'feed-them-social'),
1644
+ 'label_note' => __('Good for image sizes under 120px', 'feed-them-social'),
1645
+ 'type' => 'text',
1646
+ 'id' => 'fts-slicker-facebook-container-hide-date-likes-comments',
1647
+ 'name' => 'fts-slicker-facebook-container-hide-date-likes-comments',
1648
+ 'options' => array(
1649
+ 1 => array(
1650
+ 'label' => __('No', 'feed-them-social'),
1651
+ 'value' => 'no',
1652
+ ),
1653
+ 2 => array(
1654
+ 'label' => __('Yes', 'feed-them-social'),
1655
+ 'value' => 'yes',
1656
+ ),
1657
+ ),
1658
+ 'short_attr' => array(
1659
+ 'attr_name' => 'hide_date_likes_comments',
1660
+ 'ifs' => 'album_photos,albums,album_videos',
1661
+ ),
1662
+ ),
1663
+ //Center Facebook Container
1664
+ array(
1665
+ 'option_type' => 'select',
1666
+ 'label' => __('Center Facebook Container', 'feed-them-social'),
1667
+ 'type' => 'text',
1668
+ 'id' => 'fts-slicker-facebook-container-position',
1669
+ 'name' => 'fts-slicker-facebook-container-position',
1670
+ 'options' => array(
1671
+ 1 => array(
1672
+ 'label' => __('Yes', 'feed-them-social'),
1673
+ 'value' => 'yes',
1674
+ ),
1675
+ 2 => array(
1676
+ 'label' => __('No', 'feed-them-social'),
1677
+ 'value' => 'no',
1678
+ ),
1679
+ ),
1680
+ 'short_attr' => array(
1681
+ 'attr_name' => 'center_container',
1682
+ 'ifs' => 'album_photos,albums,album_videos',
1683
+ ),
1684
+ 'sub_options_end' => true,
1685
+ ),
1686
+ //Image Stacking Animation NOT USING THIS ANYMORE
1687
+ array(
1688
+ 'option_type' => 'input',
1689
+ 'label' => __('Image Stacking Animation On', 'feed-them-social'),
1690
+ 'label_note' => __('This happens when resizing browser', 'feed-them-social'),
1691
+ 'type' => 'hidden',
1692
+ //used to trick is Visible in JS
1693
+ 'class' => 'non-visible',
1694
+ 'id' => 'fts-slicker-facebook-container-animation',
1695
+ 'name' => 'fts-slicker-facebook-container-animation',
1696
+ 'value' => 'no',
1697
+ 'short_attr' => array(
1698
+ 'attr_name' => 'image_stack_animation',
1699
+ 'empty_error' => 'set',
1700
+ 'empty_error_value' => 'image_stack_animation=no',
1701
+ 'ifs' => 'grid',
1702
+ ),
1703
+ 'sub_options' => array(
1704
+ 'sub_options_wrap_class' => 'facebook-image-animation-option-wrap',
1705
+ ),
1706
+ 'sub_options_end' => true,
1707
+ ),
1708
+ //Align Images non-grid
1709
+ array(
1710
+ 'input_wrap_id' => 'facebook_align_images_wrapper',
1711
+ 'option_type' => 'select',
1712
+ 'label' => __('Align Images', 'feed-them-social'),
1713
+ 'type' => 'text',
1714
+ 'id' => 'facebook_align_images',
1715
+ 'name' => 'facebook_align_images',
1716
+ 'options' => array(
1717
+ 1 => array(
1718
+ 'label' => __('Left', 'feed-them-social'),
1719
+ 'value' => 'left',
1720
+ ),
1721
+ 2 => array(
1722
+ 'label' => __('Center', 'feed-them-social'),
1723
+ 'value' => 'center',
1724
+ ),
1725
+ 3 => array(
1726
+ 'label' => __('Right', 'feed-them-social'),
1727
+ 'value' => 'right',
1728
+ ),
1729
+ ),
1730
+ 'short_attr' => array(
1731
+ 'attr_name' => 'images_align',
1732
+ 'ifs' => 'page',
1733
+ ),
1734
+ 'sub_options' => array(
1735
+ 'sub_options_wrap_class' => 'align-images-wrap',
1736
+ ),
1737
+ 'sub_options_end' => true,
1738
+ ),
1739
+ //******************************************
1740
+ // Facebook Review Options
1741
+ //******************************************
1742
+ //Reviews to Show
1743
+ array(
1744
+ 'grouped_options_title' => __('Reviews', 'feed-them-social'),
1745
+ 'option_type' => 'select',
1746
+ 'label' => __('Reviews to Show', 'feed-them-social'),
1747
+ 'type' => 'text',
1748
+ 'id' => 'reviews_type_to_show',
1749
+ 'name' => 'reviews_type_to_show',
1750
+ 'options' => array(
1751
+ 1 => array(
1752
+ 'label' => __('Show all Reviews', 'feed-them-social'),
1753
+ 'value' => '1',
1754
+ ),
1755
+ 2 => array(
1756
+ 'label' => __('5 Star Reviews only', 'feed-them-social'),
1757
+ 'value' => '5',
1758
+ ),
1759
+ 3 => array(
1760
+ 'label' => __('4 and 5 Stars Reviews only', 'feed-them-social'),
1761
+ 'value' => '4',
1762
+ ),
1763
+ 4 => array(
1764
+ 'label' => __('3, 4 and 5 Star Reviews only', 'feed-them-social'),
1765
+ 'value' => '3',
1766
+ ),
1767
+ 5 => array(
1768
+ 'label' => __('2, 3, 4, and 5 Star Reviews only', 'feed-them-social'),
1769
+ 'value' => '2',
1770
+ ),
1771
+ ),
1772
+ 'req_plugin' => 'facebook_reviews',
1773
+ 'short_attr' => array(
1774
+ 'attr_name' => 'reviews_type_to_show',
1775
+ 'ifs' => 'reviews',
1776
+ ),
1777
+ 'sub_options' => array(
1778
+ 'sub_options_wrap_class' => 'facebook-reviews-wrap',
1779
+ ),
1780
+ ),
1781
+ //Rating Format
1782
+ array(
1783
+ 'option_type' => 'select',
1784
+ 'label' => __('Rating Format', 'feed-them-social').'<br/><small>'.__('8/17/2018: Facebook has moved to what are called "recommendations" so for some people this option may not be necessary.', 'feed-them-premium') . '</small>',
1785
+ 'type' => 'text',
1786
+ 'id' => 'reviews_rating_format',
1787
+ 'name' => 'reviews_rating_format',
1788
+ 'options' => array(
1789
+ 1 => array(
1790
+ 'label' => __('5 star - &#9733;&#9733;&#9733;&#9733;&#9733;', 'feed-them-social'),
1791
+ 'value' => '1',
1792
+ ),
1793
+ 2 => array(
1794
+ 'label' => __('5 star &#9733;', 'feed-them-social'),
1795
+ 'value' => '2',
1796
+ ),
1797
+ 3 => array(
1798
+ 'label' => __('5 star', 'feed-them-social'),
1799
+ 'value' => '3',
1800
+ ),
1801
+ 4 => array(
1802
+ 'label' => __('5 &#9733;', 'feed-them-social'),
1803
+ 'value' => '4',
1804
+ ),
1805
+ 5 => array(
1806
+ 'label' => __('&#9733;&#9733;&#9733;&#9733;&#9733;', 'feed-them-social'),
1807
+ 'value' => '5',
1808
+ ),
1809
+ ),
1810
+ 'req_plugin' => 'facebook_reviews',
1811
+ 'short_attr' => array(
1812
+ 'attr_name' => 'reviews_rating_format',
1813
+ 'ifs' => 'reviews',
1814
+ )
1815
+ ),
1816
+ //Overall Rating
1817
+ array(
1818
+ 'option_type' => 'select',
1819
+ 'label' => __('Overall Rating above Feed', 'feed-them-social') . '<br/><small>' . __('More settings: <a href="admin.php?page=fts-facebook-feed-styles-submenu-page#overall-rating-options">Facebook Options</a> page.', 'feed-them-social') . '</small>',
1820
+ 'type' => 'text',
1821
+ 'id' => 'reviews_overall_rating_show',
1822
+ 'name' => 'reviews_overall_rating_show',
1823
+ 'options' => array(
1824
+ 1 => array(
1825
+ 'label' => __('Yes', 'feed-them-social'),
1826
+ 'value' => 'yes',
1827
+ ),
1828
+ 2 => array(
1829
+ 'label' => __('No', 'feed-them-social'),
1830
+ 'value' => 'no',
1831
+ )
1832
+ ),
1833
+ 'req_plugin' => 'facebook_reviews',
1834
+ 'short_attr' => array(
1835
+ 'attr_name' => 'overall_rating',
1836
+ 'ifs' => 'reviews',
1837
+ )
1838
+ ),
1839
+ //Hide Reviews with no Text
1840
+ array(
1841
+ 'option_type' => 'select',
1842
+ 'label' => __('Hide Reviews with no description', 'feed-them-social'),
1843
+ 'type' => 'text',
1844
+ 'id' => 'reviews_with_no_text',
1845
+ 'name' => 'reviews_with_no_text',
1846
+ 'options' => array(
1847
+ 1 => array(
1848
+ 'label' => __('Yes', 'feed-them-social'),
1849
+ 'value' => 'no',
1850
+ ),
1851
+ 2 => array(
1852
+ 'label' => __('No', 'feed-them-social'),
1853
+ 'value' => 'yes',
1854
+ )
1855
+ ),
1856
+ 'req_plugin' => 'facebook_reviews',
1857
+ 'short_attr' => array(
1858
+ 'attr_name' => 'remove_reviews_no_description',
1859
+ 'ifs' => 'reviews',
1860
+ ),
1861
+ ),
1862
+ //Hide Reviews the text link, "See More Reviews"
1863
+ array(
1864
+ 'option_type' => 'select',
1865
+ 'label' => __('Hide the text "See More Reviews"', 'feed-them-social'),
1866
+ 'type' => 'text',
1867
+ 'id' => 'hide_see_more_reviews_link',
1868
+ 'name' => 'hide_see_more_reviews_link',
1869
+ 'options' => array(
1870
+
1871
+ 1 => array(
1872
+ 'label' => __('No', 'feed-them-social'),
1873
+ 'value' => 'no',
1874
+ ),
1875
+ 2 => array(
1876
+ 'label' => __('Yes', 'feed-them-social'),
1877
+ 'value' => 'yes',
1878
+ )
1879
+ ),
1880
+ 'req_plugin' => 'facebook_reviews',
1881
+ 'short_attr' => array(
1882
+ 'attr_name' => 'hide_see_more_reviews_link',
1883
+ 'ifs' => 'reviews',
1884
+ ),
1885
+ 'sub_options_end' => true,
1886
+ ),
1887
+ //******************************************
1888
+ // Like Box Options
1889
+ //******************************************
1890
+ //Facebook Hide Like Box or Button (Premium)
1891
+ array(
1892
+ 'grouped_options_title' => __('Like Box', 'feed-them-social'),
1893
+ 'option_type' => 'select',
1894
+ 'label' => __('Hide Like Box or Button', 'feed-them-social') . '<br/><small>' . __('Turn on from <a href="admin.php?page=fts-facebook-feed-styles-submenu-page">Facebook Options</a> page', 'feed-them-social') . '</small>',
1895
+ 'type' => 'text',
1896
+ 'id' => 'fb_hide_like_box_button',
1897
+ 'name' => 'fb_hide_like_box_button',
1898
+ 'options' => array(
1899
+ 1 => array(
1900
+ 'label' => __('Yes', 'feed-them-social'),
1901
+ 'value' => 'yes',
1902
+ ),
1903
+ 2 => array(
1904
+ 'label' => __('No', 'feed-them-social'),
1905
+ 'value' => 'no',
1906
+ ),
1907
+
1908
+ ),
1909
+ 'req_plugin' => 'fts_premium',
1910
+ 'or_req_plugin' => 'combine_streams',
1911
+ 'or_req_plugin_three' => 'facebook_reviews',
1912
+ 'short_attr' => array(
1913
+ 'attr_name' => 'hide_like_option',
1914
+ 'ifs' => 'not_group',
1915
+ 'empty_error' => 'set',
1916
+ 'set_operator' => '==',
1917
+ 'set_equals' => 'no',
1918
+ 'empty_error_value' => '',
1919
+ ),
1920
+ 'sub_options' => array(
1921
+ 'sub_options_wrap_class' => 'main-like-box-wrap',
1922
+ ),
1923
+ ),
1924
+ //Position of Like Box or Button (Premium)
1925
+ array(
1926
+ 'option_type' => 'select',
1927
+ 'label' => __('Position of Like Box or Button', 'feed-them-social'),
1928
+ 'type' => 'text',
1929
+ 'id' => 'fb_position_likebox',
1930
+ 'name' => 'fb_position_likebox',
1931
+ 'options' => array(
1932
+ 1 => array(
1933
+ 'label' => __('Above Title', 'feed-them-social'),
1934
+ 'value' => 'above_title',
1935
+ ),
1936
+ 2 => array(
1937
+ 'label' => __('Below Title', 'feed-them-social'),
1938
+ 'value' => 'below_title',
1939
+ ),
1940
+ 3 => array(
1941
+ 'label' => __('Bottom of Feed', 'feed-them-social'),
1942
+ 'value' => 'bottom',
1943
+ ),
1944
+ ),
1945
+ 'req_plugin' => 'fts_premium',
1946
+ 'or_req_plugin' => 'combine_streams',
1947
+ 'or_req_plugin_three' => 'facebook_reviews',
1948
+ 'short_attr' => array(
1949
+ 'attr_name' => 'show_follow_btn_where',
1950
+ 'ifs' => 'not_group',
1951
+ 'and_ifs' => 'like_box',
1952
+
1953
+ ),
1954
+ 'sub_options' => array(
1955
+ 'sub_options_wrap_class' => 'like-box-wrap',
1956
+ ),
1957
+ ),
1958
+ //Facebook Page Align Like Box or Button (Premium)
1959
+ array(
1960
+ 'option_type' => 'select',
1961
+ 'label' => __('Align Like Box or Button', 'feed-them-social'),
1962
+ 'type' => 'text',
1963
+ 'id' => 'fb_align_likebox',
1964
+ 'name' => 'fb_align_likebox',
1965
+ 'options' => array(
1966
+ 1 => array(
1967
+ 'label' => __('Left', 'feed-them-social'),
1968
+ 'value' => 'left',
1969
+ ),
1970
+ 2 => array(
1971
+ 'label' => __('Center', 'feed-them-social'),
1972
+ 'value' => 'center',
1973
+ ),
1974
+ 3 => array(
1975
+ 'label' => __('Right', 'feed-them-social'),
1976
+ 'value' => 'right',
1977
+ ),
1978
+ ),
1979
+ 'req_plugin' => 'fts_premium',
1980
+ 'or_req_plugin' => 'combine_streams',
1981
+ 'or_req_plugin_three' => 'facebook_reviews',
1982
+ 'short_attr' => array(
1983
+ 'attr_name' => 'like_option_align',
1984
+ 'ifs' => 'not_group',
1985
+ 'and_ifs' => 'like_box',
1986
+ ),
1987
+ ),
1988
+ //Facebook Page Width of Like Box
1989
+ array(
1990
+ 'option_type' => 'input',
1991
+ 'label' => __('Width of Like Box', 'feed-them-social') . '<br/><small>' . __('This only works for the Like Box', 'feed-them-social') . '</small>',
1992
+ 'type' => 'text',
1993
+ 'id' => 'like_box_width',
1994
+ 'name' => 'like_box_width',
1995
+ 'placeholder' => __('500px max', 'feed-them-social'),
1996
+ 'req_plugin' => 'fts_premium',
1997
+ 'or_req_plugin' => 'combine_streams',
1998
+ 'or_req_plugin_three' => 'facebook_reviews',
1999
+ //Relative to JS.
2000
+ 'short_attr' => array(
2001
+ 'attr_name' => 'like_box_width',
2002
+ 'empty_error' => 'set',
2003
+ 'empty_error_value' => 'like_box_width=500px',
2004
+ 'ifs' => 'not_group',
2005
+ 'and_ifs' => 'like_box',
2006
+ ),
2007
+ 'sub_options_end' => 2,
2008
+ ),
2009
+ //******************************************
2010
+ // Popup
2011
+ //******************************************
2012
+ //Facebook Page Display Photos in Popup
2013
+ array(
2014
+ 'grouped_options_title' => __('Popup', 'feed-them-social'),
2015
+ 'option_type' => 'select',
2016
+ 'label' => __('Display Photos in Popup', 'feed-them-social'),
2017
+ 'type' => 'text',
2018
+ 'id' => 'facebook_popup',
2019
+ 'name' => 'facebook_popup',
2020
+ 'options' => array(
2021
+ 1 => array(
2022
+ 'label' => __('No', 'feed-them-social'),
2023
+ 'value' => 'no',
2024
+ ),
2025
+ 2 => array(
2026
+ 'label' => __('Yes', 'feed-them-social'),
2027
+ 'value' => 'yes',
2028
+ ),
2029
+ ),
2030
+ 'req_plugin' => 'fts_premium',
2031
+ 'or_req_plugin' => 'combine_streams',
2032
+ 'short_attr' => array(
2033
+ 'attr_name' => 'popup',
2034
+ ),
2035
+ 'sub_options' => array(
2036
+ 'sub_options_wrap_class' => 'facebook-popup-wrap',
2037
+ ),
2038
+ 'sub_options_end' => true,
2039
+ ),
2040
+ //Facebook Comments in Popup
2041
+ array(
2042
+ 'option_type' => 'select',
2043
+ 'label' => __('Hide Comments in Popup', 'feed-them-social'),
2044
+ 'type' => 'text',
2045
+ 'id' => 'facebook_popup_comments',
2046
+ 'name' => 'facebook_popup_comments',
2047
+ 'options' => array(
2048
+ 1 => array(
2049
+ 'label' => __('No', 'feed-them-social'),
2050
+ 'value' => 'no',
2051
+ ),
2052
+ 2 => array(
2053
+ 'label' => __('Yes', 'feed-them-social'),
2054
+ 'value' => 'yes',
2055
+ ),
2056
+ ),
2057
+ 'req_plugin' => 'fts_premium',
2058
+ 'or_req_plugin' => 'combine_streams',
2059
+ 'short_attr' => array(
2060
+ 'attr_name' => 'hide_comments_popup',
2061
+ 'ifs' => 'popup',
2062
+ ),
2063
+ 'sub_options' => array(
2064
+ 'sub_options_wrap_class' => 'display-comments-wrap',
2065
+ ),
2066
+ 'sub_options_end' => true,
2067
+ ),
2068
+ //******************************************
2069
+ // Facebook Load More Options
2070
+ //******************************************
2071
+ //Facebook Page Load More Button
2072
+ array(
2073
+ 'grouped_options_title' => __('Load More', 'feed-them-social'),
2074
+ 'option_type' => 'select',
2075
+ 'label' => __('Load More Button', 'feed-them-social'),
2076
+ 'type' => 'text',
2077
+ 'id' => 'fb_load_more_option',
2078
+ 'name' => 'fb_load_more_option',
2079
+ 'options' => array(
2080
+ 1 => array(
2081
+ 'label' => __('No', 'feed-them-social'),
2082
+ 'value' => 'no',
2083
+ ),
2084
+ 2 => array(
2085
+ 'label' => __('Yes', 'feed-them-social'),
2086
+ 'value' => 'yes',
2087
+ ),
2088
+ ),
2089
+ 'req_plugin' => 'fts_premium',
2090
+ 'or_req_plugin' => 'facebook_reviews',
2091
+ 'short_attr' => array(
2092
+ 'attr_name' => '',
2093
+ 'empty_error_value' => '',
2094
+ 'no_attribute' => 'yes',
2095
+ 'ifs' => 'not_events',
2096
+ ),
2097
+ 'sub_options' => array(
2098
+ 'sub_options_wrap_class' => 'facebook-loadmore-wrap',
2099
+ //'sub_options_instructional_txt' => '<a href="http://feedthemsocial.com/instagram-feed-demo/" target="_blank">' . __('View demo', 'feed-them-social') . '</a> ' . __('of the Super Instagram gallery.', 'feed-them-social'),
2100
+ ),
2101
+ ),
2102
+ //Facebook Page Load More Style
2103
+ array(
2104
+ 'option_type' => 'select',
2105
+ 'label' => __('Load More Style', 'feed-them-social'),
2106
+ 'type' => 'text',
2107
+ 'id' => 'fb_load_more_style',
2108
+ 'name' => 'fb_load_more_style',
2109
+ 'instructional-text' => '<strong>' . __('NOTE:', 'feed-them-social') . '</strong> ' . __('The Button option will show a "Load More Posts" button under your feed. The AutoScroll option will load more posts when you reach the bottom of the feed. AutoScroll ONLY works if you\'ve filled in a Fixed Height for your feed.', 'feed-them-social'),
2110
+ 'options' => array(
2111
+ 1 => array(
2112
+ 'label' => __('Button', 'feed-them-social'),
2113
+ 'value' => 'button',
2114
+ ),
2115
+ 2 => array(
2116
+ 'label' => __('AutoScroll', 'feed-them-social'),
2117
+ 'value' => 'autoscroll',
2118
+ ),
2119
+ ),
2120
+ 'req_plugin' => 'fts_premium',
2121
+ 'or_req_plugin' => 'facebook_reviews',
2122
+ 'short_attr' => array(
2123
+ 'attr_name' => 'loadmore',
2124
+ 'ifs' => 'load_more',
2125
+ ),
2126
+ //This should be placed in the STARTING field of sub options that way wrap and instruction text is above this div (end will be in final options for div output)
2127
+ 'sub_options' => array(
2128
+ 'sub_options_wrap_class' => 'fts-facebook-load-more-options-wrap',
2129
+ //'sub_options_instructional_txt' => '<a href="http://feedthemsocial.com/instagram-feed-demo/" target="_blank">' . __('View demo', 'feed-them-social') . '</a> ' . __('of the Super Instagram gallery.', 'feed-them-social'),
2130
+ ),
2131
+ 'sub_options_end' => true,
2132
+ ),
2133
+ //Facebook Page Load more Button Width
2134
+ array(
2135
+ 'option_type' => 'input',
2136
+ 'label' => __('Load more Button Width', 'feed-them-social') . '<br/><small>' . __('Leave blank for auto width', 'feed-them-social') . '</small>',
2137
+ 'type' => 'text',
2138
+ 'id' => 'loadmore_button_width',
2139
+ 'name' => 'loadmore_button_width',
2140
+ 'placeholder' => '300px ' . __('for example', 'feed-them-social'),
2141
+ 'value' => '',
2142
+ 'req_plugin' => 'fts_premium',
2143
+ 'or_req_plugin' => 'facebook_reviews',
2144
+ //Relative to JS.
2145
+ 'short_attr' => array(
2146
+ 'attr_name' => 'loadmore_btn_maxwidth',
2147
+ 'empty_error' => 'set',
2148
+ 'empty_error_value' => 'loadmore_btn_maxwidth=300px',
2149
+ 'ifs' => 'load_more',
2150
+ ),
2151
+ //This should be placed in the STARTING field of sub options that way wrap and instruction text is above this div (end will be in final options for div output)
2152
+ 'sub_options' => array(
2153
+ 'sub_options_wrap_class' => 'fts-facebook-load-more-options2-wrap',
2154
+ //'sub_options_instructional_txt' => '<a href="http://feedthemsocial.com/instagram-feed-demo/" target="_blank">' . __('View demo', 'feed-them-social') . '</a> ' . __('of the Super Instagram gallery.', 'feed-them-social'),
2155
+ ),
2156
+ ),
2157
+ //Facebook Page Load more Button Margin
2158
+ array(
2159
+ 'option_type' => 'input',
2160
+ 'label' => __('Load more Button Margin', 'feed-them-social'),
2161
+ 'type' => 'text',
2162
+ 'id' => 'loadmore_button_margin',
2163
+ 'name' => 'loadmore_button_margin',
2164
+ 'placeholder' => '10px ' . __('for example', 'feed-them-social'),
2165
+ 'value' => '',
2166
+ 'req_plugin' => 'fts_premium',
2167
+ 'or_req_plugin' => 'facebook_reviews',
2168
+ //Relative to JS.
2169
+ 'short_attr' => array(
2170
+ 'attr_name' => 'loadmore_btn_margin',
2171
+ 'empty_error' => 'set',
2172
+ 'empty_error_value' => 'loadmore_btn_margin=10px',
2173
+ 'ifs' => 'load_more',
2174
+ ),
2175
+ 'sub_options_end' => 2,
2176
+ ),
2177
+ //******************************************
2178
+ // Facebook Grid Options
2179
+ //******************************************
2180
+ //Facebook Page Display Posts in Grid
2181
+ array(
2182
+ 'grouped_options_title' => __('Grid', 'feed-them-social'),
2183
+ 'input_wrap_class' => 'fb-posts-in-grid-option-wrap',
2184
+ 'option_type' => 'select',
2185
+ 'label' => __('Display Posts in Grid', 'feed-them-social'),
2186
+ 'type' => 'text',
2187
+ 'id' => 'fb-grid-option',
2188
+ 'name' => 'fb-grid-option',
2189
+ 'options' => array(
2190
+ 1 => array(
2191
+ 'label' => __('No', 'feed-them-social'),
2192
+ 'value' => 'no',
2193
+ ),
2194
+ 2 => array(
2195
+ 'label' => __('Yes', 'feed-them-social'),
2196
+ 'value' => 'yes',
2197
+ ),
2198
+ ),
2199
+ 'req_plugin' => 'fts_premium',
2200
+ 'or_req_plugin' => 'combine_streams',
2201
+ 'or_req_plugin_three' => 'facebook_reviews',
2202
+ 'short_attr' => array(
2203
+ 'attr_name' => 'grid',
2204
+ 'empty_error' => 'set',
2205
+ 'set_operator' => '==',
2206
+ 'set_equals' => 'yes',
2207
+ 'empty_error_value' => '',
2208
+ ),
2209
+ //This should be placed in the STARTING field of sub options that way wrap and instruction text is above this div (end will be in final options for div output)
2210
+ 'sub_options' => array(
2211
+ 'sub_options_wrap_class' => 'main-grid-options-wrap',
2212
+ ),
2213
+ ),
2214
+ //Grid Column Width
2215
+ array(
2216
+ 'option_type' => 'input',
2217
+ 'label' => __('Grid Column Width', 'feed-them-social'),
2218
+ 'type' => 'text',
2219
+ 'id' => 'facebook_grid_column_width',
2220
+ 'name' => 'facebook_grid_column_width',
2221
+ 'instructional-text' => '<strong> ' . __('NOTE:', 'feed-them-social') . '</strong> ' . sprintf(__('Define the Width of each post and the Space between each post below. You must add px after any number. Learn how to make the %1$sgrid responsive%2$s.', 'feed-them-social'),
2222
+ '<a href="https://www.slickremix.com/docs/responsive-grid-css/" target="_blank">',
2223
+ '</a>'
2224
+ ),'placeholder' => '310px ' . __('for example', 'feed-them-social'),
2225
+ 'value' => '',
2226
+ 'req_plugin' => 'fts_premium',
2227
+ 'or_req_plugin' => 'combine_streams',
2228
+ 'or_req_plugin_three' => 'facebook_reviews',
2229
+
2230
+ //Relative to JS.
2231
+ 'short_attr' => array(
2232
+ 'attr_name' => 'colmn_width',
2233
+ 'empty_error' => 'set',
2234
+ 'empty_error_value' => 'colmn_width=310px',
2235
+ 'ifs' => 'grid',
2236
+ ),
2237
+ //This should be placed in the STARTING field of sub options that way wrap and instruction text is above this div (end will be in final options for div output)
2238
+ 'sub_options' => array(
2239
+ 'sub_options_wrap_class' => 'fts-facebook-grid-options-wrap',
2240
+ //'sub_options_instructional_txt' => '<a href="http://feedthemsocial.com/instagram-feed-demo/" target="_blank">' . __('View demo', 'feed-them-social') . '</a> ' . __('of the Super Instagram gallery.', 'feed-them-social'),
2241
+ ),
2242
+ ),
2243
+ //Grid Spaces Between Posts
2244
+ array(
2245
+ 'option_type' => 'input',
2246
+ 'label' => __('Grid Spaces Between Posts', 'feed-them-social'),
2247
+ 'type' => 'text',
2248
+ 'id' => 'facebook_grid_space_between_posts',
2249
+ 'name' => 'facebook_grid_space_between_posts',
2250
+ 'placeholder' => '10px ' . __('for example', 'feed-them-social'),
2251
+ 'value' => '',
2252
+ 'req_plugin' => 'fts_premium',
2253
+ 'or_req_plugin' => 'combine_streams',
2254
+ 'or_req_plugin_three' => 'facebook_reviews',
2255
+ //Relative to JS.
2256
+ 'short_attr' => array(
2257
+ 'attr_name' => 'space_between_posts',
2258
+ 'empty_error' => 'set',
2259
+ 'empty_error_value' => 'space_between_posts=10px',
2260
+ 'ifs' => 'grid',
2261
+ ),
2262
+ 'sub_options_end' => 2,
2263
+ ),
2264
+ //******************************************
2265
+ // Facebook Video Options
2266
+ //******************************************
2267
+ //Video Play Button
2268
+ array(
2269
+ 'grouped_options_title' => __('Video Button Options', 'feed-them-social'),
2270
+ 'option_type' => 'select',
2271
+ 'label' => __('Video Play Button', 'feed-them-social') . '<br/><small>' . __('Displays over Video Thumbnail', 'feed-them-social') . '</small>',
2272
+ 'type' => 'text',
2273
+ 'id' => 'facebook_show_video_button',
2274
+ 'name' => 'facebook_show_video_button',
2275
+ 'options' => array(
2276
+ 1 => array(
2277
+ 'label' => __('No', 'feed-them-social'),
2278
+ 'value' => 'no',
2279
+ ),
2280
+ 2 => array(
2281
+ 'label' => __('Yes', 'feed-them-social'),
2282
+ 'value' => 'yes',
2283
+ ),
2284
+ ),
2285
+ 'req_plugin' => 'fts_premium',
2286
+ 'short_attr' => array(
2287
+ 'attr_name' => 'play_btn',
2288
+ 'empty_error' => 'set',
2289
+ 'set_operator' => '==',
2290
+ 'set_equals' => 'yes',
2291
+ 'ifs' => 'album_videos',
2292
+ ),
2293
+ //This should be placed in the STARTING field of sub options that way wrap and instruction text is above this div (end will be in final options for div output)
2294
+ 'sub_options' => array(
2295
+ 'sub_options_wrap_class' => 'fb-video-play-btn-options-wrap',
2296
+ ),
2297
+ ),
2298
+ //Size of the Play Button
2299
+ array(
2300
+ 'option_type' => 'input',
2301
+ 'label' => __('Size of the Play Button', 'feed-them-social'),
2302
+ 'type' => 'text',
2303
+ 'id' => 'facebook_size_video_play_btn',
2304
+ 'name' => 'facebook_size_video_play_btn',
2305
+ 'placeholder' => '40px ' . __('for example', 'feed-them-social'),
2306
+ 'req_plugin' => 'fts_premium',
2307
+ //Relative to JS.
2308
+ 'short_attr' => array(
2309
+ 'attr_name' => 'play_btn_size',
2310
+ 'empty_error' => 'set',
2311
+ 'empty_error_value' => 'play_btn_size=40px',
2312
+ 'ifs' => 'album_videos',
2313
+ 'and_ifs' => 'video',
2314
+ ),
2315
+ //This should be placed in the STARTING field of sub options that way wrap and instruction text is above this div (end will be in final options for div output)
2316
+ 'sub_options' => array(
2317
+ 'sub_options_wrap_class' => 'fb-video-play-btn-options-content',
2318
+ ),
2319
+ ),
2320
+ //Show Play Button in Front
2321
+ array(
2322
+ 'option_type' => 'select',
2323
+ 'label' => __('Show Play Button in Front', 'feed-them-social') . '<br/><small>' . __('Displays before hovering over thumbnail', 'feed-them-social') . '</small>',
2324
+ 'type' => 'text',
2325
+ 'id' => 'facebook_show_video_button_in_front',
2326
+ 'name' => 'facebook_show_video_button_in_front',
2327
+ 'options' => array(
2328
+ 1 => array(
2329
+ 'label' => __('No', 'feed-them-social'),
2330
+ 'value' => 'no',
2331
+ ),
2332
+ 2 => array(
2333
+ 'label' => __('Yes', 'feed-them-social'),
2334
+ 'value' => 'yes',
2335
+ ),
2336
+ ),
2337
+ 'req_plugin' => 'fts_premium',
2338
+ 'short_attr' => array(
2339
+ 'attr_name' => 'play_btn_visible',
2340
+ 'ifs' => 'album_videos',
2341
+ 'and_ifs' => 'video',
2342
+ ),
2343
+ 'sub_options_end' => 2,
2344
+ ),
2345
+ //******************************************
2346
+ // Facebook Carousel
2347
+ //******************************************
2348
+ //Carousel/Slideshow
2349
+ array(
2350
+ 'grouped_options_title' => __('Carousel/Slider', 'feed-them-social'),
2351
+ 'input_wrap_id' => 'facebook_slider',
2352
+ 'instructional-text' => __('Create a Carousel or Slideshow with these options.', 'feed-them-social') . ' <a href="http://feedthemsocial.com/facebook-carousels-or-sliders/" target="_blank">' . __('View Demos', 'feed-them-social') . '</a> ' . __('and copy easy to use shortcode examples.', 'feed-them-social'),
2353
+ 'option_type' => 'select',
2354
+ 'label' => __('Carousel/Slideshow', 'feed-them-social'),
2355
+ 'type' => 'text',
2356
+ 'id' => 'fts-slider',
2357
+ 'name' => 'fts-slider',
2358
+ 'options' => array(
2359
+ 1 => array(
2360
+ 'label' => __('Off', 'feed-them-social'),
2361
+ 'value' => 'no',
2362
+ ),
2363
+ 2 => array(
2364
+ 'label' => __('On', 'feed-them-social'),
2365
+ 'value' => 'yes',
2366
+ ),
2367
+ ),
2368
+ 'req_plugin' => 'fts_carousel',
2369
+ 'short_attr' => array(
2370
+ 'attr_name' => 'slider',
2371
+ 'empty_error' => 'set',
2372
+ 'set_operator' => '==',
2373
+ 'set_equals' => 'yes',
2374
+ 'ifs' => 'album_photos,album_videos',
2375
+ ),
2376
+ //This should be placed in the STARTING field of sub options that way wrap and instruction text is above this div (end will be in final options for div output)
2377
+ 'sub_options' => array(
2378
+ 'sub_options_wrap_class' => 'slideshow-wrap',
2379
+ ),
2380
+ ),
2381
+ //Carousel/Slideshow Type
2382
+ array(
2383
+ 'input_wrap_id' => 'facebook_scrollhorz_or_carousel',
2384
+ 'option_type' => 'select',
2385
+ 'label' => __('Type', 'feed-them-social') . '<br/><small>' . __('', 'feed-them-social') . '</small>',
2386
+ 'type' => 'text',
2387
+ 'id' => 'scrollhorz_or_carousel',
2388
+ 'name' => 'scrollhorz_or_carousel',
2389
+ 'options' => array(
2390
+ 1 => array(
2391
+ 'label' => __('Slideshow', 'feed-them-social'),
2392
+ 'value' => 'scrollhorz',
2393
+ ),
2394
+ 2 => array(
2395
+ 'label' => __('Carousel', 'feed-them-social'),
2396
+ 'value' => 'carousel',
2397
+ ),
2398
+ ),
2399
+ 'req_plugin' => 'fts_carousel',
2400
+ 'short_attr' => array(
2401
+ 'attr_name' => 'scrollhorz_or_carousel',
2402
+ 'ifs' => 'album_photos,album_videos',
2403
+ 'and_ifs' => 'carousel',
2404
+ ),
2405
+ //This should be placed in the STARTING field of sub options that way wrap and instruction text is above this div (end will be in final options for div output)
2406
+ 'sub_options' => array(
2407
+ 'sub_options_wrap_class' => 'slider_options_wrap',
2408
+ ),
2409
+ ),
2410
+ //Carousel Slides Visible
2411
+ array(
2412
+ 'input_wrap_id' => 'facebook_slides_visible',
2413
+ 'option_type' => 'input',
2414
+ 'label' => __('Carousel Slides Visible', 'feed-them-social') . '<br/><small>' . __('Not for Slideshow. Example: 1-500', 'feed-them-social') . '</small>',
2415
+ 'type' => 'text',
2416
+ 'id' => 'slides_visible',
2417
+ 'name' => 'slides_visible',
2418
+ 'placeholder' => __('3 is the default number', 'feed-them-social'),
2419
+ 'req_plugin' => 'fts_carousel',
2420
+ //Relative to JS.
2421
+ 'short_attr' => array(
2422
+ 'attr_name' => 'slides_visible',
2423
+ 'empty_error' => 'set',
2424
+ 'empty_error_value' => 'slides_visible=3',
2425
+ 'ifs' => 'album_photos,album_videos',
2426
+ 'and_ifs' => 'carousel',
2427
+ ),
2428
+ //This should be placed in the STARTING field of sub options that way wrap and instruction text is above this div (end will be in final options for div output)
2429
+ 'sub_options' => array(
2430
+ 'sub_options_wrap_class' => 'slider_carousel_wrap',
2431
+ ),
2432
+ ),
2433
+ //Carousel Spacing in between Slides
2434
+ array(
2435
+ 'input_wrap_id' => 'facebook_slider_spacing',
2436
+ 'option_type' => 'input',
2437
+ 'label' => __('Spacing in between Slides', 'feed-them-social') . '<br/><small>' . __('', 'feed-them-social') . '</small>',
2438
+ 'type' => 'text',
2439
+ 'id' => 'slider_spacing',
2440
+ 'name' => 'slider_spacing',
2441
+ 'value' => '',
2442
+ 'placeholder' => __('2px', 'feed-them-social'),
2443
+ 'req_plugin' => 'fts_carousel',
2444
+ //Relative to JS.
2445
+ 'short_attr' => array(
2446
+ 'attr_name' => 'slider_spacing',
2447
+ 'empty_error' => 'set',
2448
+ 'empty_error_value' => 'slider_spacing=2px',
2449
+ 'ifs' => 'album_photos,album_videos',
2450
+ 'and_ifs' => 'carousel',
2451
+ ),
2452
+ 'sub_options_end' => true,
2453
+ ),
2454
+ //Carousel/Slideshow Margin
2455
+ array(
2456
+ 'input_wrap_id' => 'facebook_slider_margin',
2457
+ 'option_type' => 'input',
2458
+ 'label' => __('Carousel/Slideshow Margin', 'feed-them-social') . '<br/><small>' . __('Center feed. Add space above/below.', 'feed-them-social') . '</small>',
2459
+ 'type' => 'text',
2460
+ 'id' => 'slider_margin',
2461
+ 'name' => 'slider_margin',
2462
+ 'value' => '',
2463
+ 'placeholder' => __('-6px auto 1px auto', 'feed-them-social'),
2464
+ 'req_plugin' => 'fts_carousel',
2465
+ //Relative to JS.
2466
+ 'short_attr' => array(
2467
+ 'attr_name' => 'slider_margin',
2468
+ 'empty_error' => 'set',
2469
+ 'empty_error_value' => 'slider_margin="-6px auto 1px auto"',
2470
+ 'ifs' => 'album_photos,album_videos',
2471
+ 'and_ifs' => 'carousel',
2472
+ ),
2473
+ ),
2474
+ //Carousel/Slideshow Slider Speed
2475
+ array(
2476
+ 'input_wrap_id' => 'facebook_slider_speed',
2477
+ 'option_type' => 'input',
2478
+ 'label' => __('Slider Speed', 'feed-them-social') . '<br/><small>' . __('How fast the slider changes', 'feed-them-social') . '</small>',
2479
+ 'type' => 'text',
2480
+ 'id' => 'slider_speed',
2481
+ 'name' => 'slider_speed',
2482
+ 'value' => '',
2483
+ 'placeholder' => __('0-10000', 'feed-them-social'),
2484
+ 'req_plugin' => 'fts_carousel',
2485
+ //Relative to JS.
2486
+ 'short_attr' => array(
2487
+ 'attr_name' => 'slider_speed',
2488
+ 'empty_error' => 'set',
2489
+ 'empty_error_value' => 'slider_speed=1000',
2490
+ 'ifs' => 'album_photos,album_videos',
2491
+ 'and_ifs' => 'carousel',
2492
+ ),
2493
+ ),
2494
+ //Carousel/Slideshow Slider Timeout
2495
+ array(
2496
+ 'input_wrap_id' => 'facebook_slider_timeout',
2497
+ 'option_type' => 'input',
2498
+ 'label' => __('Slider Timeout', 'feed-them-social') . '<br/><small>' . __('Amount of Time before the next slide.', 'feed-them-social') . '</small>',
2499
+ 'type' => 'text',
2500
+ 'id' => 'slider_timeout',
2501
+ 'name' => 'slider_timeout',
2502
+ 'value' => '',
2503
+ 'placeholder' => __('0-10000', 'feed-them-social'),
2504
+ 'req_plugin' => 'fts_carousel',
2505
+ //Relative to JS.
2506
+ 'short_attr' => array(
2507
+ 'attr_name' => 'slider_timeout',
2508
+ 'empty_error' => 'set',
2509
+ 'empty_error_value' => 'slider_timeout=1000',
2510
+ 'ifs' => 'album_photos,album_videos',
2511
+ 'and_ifs' => 'carousel',
2512
+ ),
2513
+ ),
2514
+ //Carousel/Slideshow
2515
+ array(
2516
+ 'input_wrap_id' => 'facebook_slider_controls',
2517
+ 'option_type' => 'select',
2518
+ 'label' => __('Slider Controls', 'feed-them-social') . '<br/><small>' . __('', 'feed-them-social') . '</small>',
2519
+ 'type' => 'text',
2520
+ 'id' => 'slider_controls',
2521
+ 'name' => 'slider_controls',
2522
+ 'options' => array(
2523
+ 1 => array(
2524
+ 'label' => __('Dots above Feed', 'feed-them-social'),
2525
+ 'value' => 'dots_above_feed',
2526
+ ),
2527
+ 2 => array(
2528
+ 'label' => __('Dots and Arrows above Feed', 'feed-them-social'),
2529
+ 'value' => 'dots_and_arrows_above_feed',
2530
+ ),
2531
+ 3 => array(
2532
+ 'label' => __('Dots and Numbers above Feed', 'feed-them-social'),
2533
+ 'value' => 'dots_and_numbers_above_feed',
2534
+ ),
2535
+ 4 => array(
2536
+ 'label' => __('Dots, Arrows and Numbers above Feed', 'feed-them-social'),
2537
+ 'value' => 'dots_arrows_and_numbers_above_feed',
2538
+ ),
2539
+ 5 => array(
2540
+ 'label' => __('Arrows and Numbers above feed', 'feed-them-social'),
2541
+ 'value' => 'arrows_and_numbers_above_feed',
2542
+ ),
2543
+ 6 => array(
2544
+ 'label' => __('Arrows above Feed', 'feed-them-social'),
2545
+ 'value' => 'arrows_above_feed',
2546
+ ),
2547
+ 7 => array(
2548
+ 'label' => __('Numbers above Feed', 'feed-them-social'),
2549
+ 'value' => 'numbers_above_feed',
2550
+ ),
2551
+ 8 => array(
2552
+ 'label' => __('Dots below Feed', 'feed-them-social'),
2553
+ 'value' => 'dots_below_feed',
2554
+ ),
2555
+ array(
2556
+ 'label' => __('Dots and Arrows below Feed', 'feed-them-social'),
2557
+ 'value' => 'dots_and_arrows_below_feed',
2558
+ ),
2559
+ array(
2560
+ 'label' => __('Dots and Numbers below Feed', 'feed-them-social'),
2561
+ 'value' => 'dots_and_numbers_below_feed',
2562
+ ),
2563
+ array(
2564
+ 'label' => __('Dots, Arrows and Numbers below Feed', 'feed-them-social'),
2565
+ 'value' => 'dots_arrows_and_numbers_below_feed',
2566
+ ),
2567
+ array(
2568
+ 'label' => __('Arrows below Feed', 'feed-them-social'),
2569
+ 'value' => 'arrows_below_feed',
2570
+ ),
2571
+ array(
2572
+ 'label' => __('Numbers Below Feed', 'feed-them-social'),
2573
+ 'value' => 'numbers_below_feed',
2574
+ ),
2575
+ ),
2576
+ 'req_plugin' => 'fts_carousel',
2577
+ //Relative to JS.
2578
+ 'short_attr' => array(
2579
+ 'attr_name' => 'slider_controls',
2580
+ 'ifs' => 'album_photos,album_videos',
2581
+ 'and_ifs' => 'carousel',
2582
+ ),
2583
+ ),
2584
+ //Carousel/Slideshow Slider Controls Text Color
2585
+ array(
2586
+ 'input_wrap_id' => 'facebook_slider_controls_text_color',
2587
+ 'option_type' => 'input',
2588
+ 'label' => __('Slider Controls Text Color', 'feed-them-social') . '<br/><small>' . __('', 'feed-them-social') . '</small>',
2589
+ 'type' => 'text',
2590
+ 'id' => 'slider_controls_text_color',
2591
+ 'name' => 'slider_controls_text_color',
2592
+ 'class' => 'fb-text-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:\'#eee\',pickerFace:3,pickerBorder:0,pickerInsetColor:\'white\'}',
2593
+ 'value' => '',
2594
+ 'placeholder' => '#FFF',
2595
+ 'req_plugin' => 'fts_carousel',
2596
+ //Relative to JS.
2597
+ 'short_attr' => array(
2598
+ 'attr_name' => 'slider_controls_text_color',
2599
+ 'empty_error' => 'set',
2600
+ 'empty_error_value' => 'slider_controls_text_color=#FFF',
2601
+ 'ifs' => 'album_photos,album_videos',
2602
+ 'and_ifs' => 'carousel',
2603
+ ),
2604
+ ),
2605
+ //Carousel/Slideshow Slider Controls Bar Color
2606
+ array(
2607
+ 'input_wrap_id' => 'facebook_slider_controls_bar_color',
2608
+ 'option_type' => 'input',
2609
+ 'label' => __('Slider Controls Bar Color', 'feed-them-social') . '<br/><small>' . __('', 'feed-them-social') . '</small>',
2610
+ 'type' => 'text',
2611
+ 'id' => 'slider_controls_bar_color',
2612
+ 'name' => 'slider_controls_bar_color',
2613
+ 'class' => 'fb-text-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:\'#eee\',pickerFace:3,pickerBorder:0,pickerInsetColor:\'white\'}',
2614
+ 'value' => '',
2615
+ 'placeholder' => '#000',
2616
+ 'req_plugin' => 'fts_carousel',
2617
+ //Relative to JS.
2618
+ 'short_attr' => array(
2619
+ 'attr_name' => 'slider_controls_bar_color',
2620
+ 'empty_error' => 'set',
2621
+ 'empty_error_value' => 'slider_controls_bar_color=320px',
2622
+ 'ifs' => 'album_photos,album_videos',
2623
+ 'and_ifs' => 'carousel',
2624
+ ),
2625
+ ),
2626
+ //Carousel/Slideshow Slider Controls Bar Color
2627
+ array(
2628
+ 'input_wrap_id' => 'facebook_slider_controls_width',
2629
+ 'option_type' => 'input',
2630
+ 'label' => __('Slider Controls Max Width', 'feed-them-social') . '<br/><small>' . __('', 'feed-them-social') . '</small>',
2631
+ 'type' => 'text',
2632
+ 'id' => 'slider_controls_width',
2633
+ 'name' => 'slider_controls_width',
2634
+ 'class' => 'fb-text-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:\'#eee\',pickerFace:3,pickerBorder:0,pickerInsetColor:\'white\'}',
2635
+ 'value' => '',
2636
+ 'placeholder' => '320px',
2637
+ 'req_plugin' => 'fts_carousel',
2638
+ //Relative to JS.
2639
+ 'short_attr' => array(
2640
+ 'attr_name' => 'slider_controls_width',
2641
+ 'empty_error' => 'set',
2642
+ 'empty_error_value' => 'slider_controls_width=320px',
2643
+ 'ifs' => 'album_photos,album_videos',
2644
+ 'and_ifs' => 'carousel',
2645
+ ),
2646
+ 'sub_options_end' => 2,
2647
+ ),
2648
+ ),
2649
+ //Final Shortcode ifs
2650
+ 'shortcode_ifs' => array(
2651
+ 'page' => array(
2652
+ 'if' => array(
2653
+ 'class' => 'select#facebook-messages-selector',
2654
+ 'operator' => '==',
2655
+ 'value' => 'page',
2656
+ ),
2657
+ ),
2658
+ 'events' => array(
2659
+ 'if' => array(
2660
+ 'class' => 'select#facebook-messages-selector',
2661
+ 'operator' => '==',
2662
+ 'value' => 'events',
2663
+ ),
2664
+ ),
2665
+ 'not_events' => array(
2666
+ 'if' => array(
2667
+ 'class' => 'select#facebook-messages-selector',
2668
+ 'operator' => '!==',
2669
+ 'value' => 'events',
2670
+ ),
2671
+ ),
2672
+ 'event' => array(
2673
+ 'if' => array(
2674
+ 'class' => 'select#facebook-messages-selector',
2675
+ 'operator' => '==',
2676
+ 'value' => 'event',
2677
+ ),
2678
+ ),
2679
+ 'group' => array(
2680
+ 'if' => array(
2681
+ 'class' => 'select#facebook-messages-selector',
2682
+ 'operator' => '==',
2683
+ 'value' => 'group',
2684
+ ),
2685
+ ),
2686
+ 'not_group' => array(
2687
+ 'if' => array(
2688
+ 'class' => 'select#facebook-messages-selector',
2689
+ 'operator' => '!==',
2690
+ 'value' => 'group',
2691
+ ),
2692
+ ),
2693
+ 'album_photos' => array(
2694
+ 'if' => array(
2695
+ 'class' => 'select#facebook-messages-selector',
2696
+ 'operator' => '==',
2697
+ 'value' => 'album_photos',
2698
+ ),
2699
+ ),
2700
+ 'albums' => array(
2701
+ 'if' => array(
2702
+ 'class' => 'select#facebook-messages-selector',
2703
+ 'operator' => '==',
2704
+ 'value' => 'albums',
2705
+ ),
2706
+ ),
2707
+ 'album_videos' => array(
2708
+ 'if' => array(
2709
+ 'class' => 'select#facebook-messages-selector',
2710
+ 'operator' => '==',
2711
+ 'value' => 'album_videos',
2712
+ ),
2713
+ ),
2714
+ 'reviews' => array(
2715
+ 'if' => array(
2716
+ 'class' => 'select#facebook-messages-selector',
2717
+ 'operator' => '==',
2718
+ 'value' => 'reviews',
2719
+ ),
2720
+ ),
2721
+ 'like_box' => array(
2722
+ 'if' => array(
2723
+ 'class' => 'select#fb_hide_like_box_button',
2724
+ 'operator' => '==',
2725
+ 'value' => 'no',
2726
+ ),
2727
+ ),
2728
+ 'popup' => array(
2729
+ 'if' => array(
2730
+ 'class' => 'select#facebook_popup',
2731
+ 'operator' => '==',
2732
+ 'value' => 'yes',
2733
+ ),
2734
+ ),
2735
+ 'load_more' => array(
2736
+ 'if' => array(
2737
+ 'class' => 'select#fb_load_more_option',
2738
+ 'operator' => '==',
2739
+ 'value' => 'yes',
2740
+ ),
2741
+ ),
2742
+ 'video' => array(
2743
+ 'if' => array(
2744
+ 'class' => 'select#facebook_show_video_button',
2745
+ 'operator' => '==',
2746
+ 'value' => 'yes',
2747
+ ),
2748
+ ),
2749
+ 'grid' => array(
2750
+ 'if' => array(
2751
+ 'class' => 'select#fb-grid-option',
2752
+ 'operator' => '==',
2753
+ 'value' => 'yes',
2754
+ ),
2755
+ ),
2756
+ 'carousel' => array(
2757
+ 'if' => array(
2758
+ 'class' => 'select#fts-slider',
2759
+ 'operator' => '==',
2760
+ 'value' => 'yes',
2761
+ ),
2762
+ ),
2763
+ ),
2764
+ //Generator Info
2765
+ 'generator_title' => __('Facebook Page Feed Shortcode', 'feed-them-social'),
2766
+ 'generator_class' => 'facebook-page-final-shortcode',
2767
+ ),//End Facebook Page Feed
2768
+ //******************************************
2769
+ // Youtube Feed
2770
+ //******************************************
2771
+ 'youtube' => array(
2772
+ 'section_attr_key' => 'youtube_',
2773
+ 'section_title' => __('Youtube Shortcode Generator', 'feed-them-social'),
2774
+ 'section_wrap_class' => 'fts-youtube-shortcode-form',
2775
+ //Form Info
2776
+ 'form_wrap_classes' => 'youtube-shortcode-form',
2777
+ 'form_wrap_id' => 'fts-youtube-form',
2778
+ //Feed Type Selection
2779
+ 'feed_type_select' => array(
2780
+ 'label' => __('Feed Type', 'feed-them-social') . '<br/><small><a href="http://feedthemsocial.com/youtube-demo-1-large-with-4-video-per-row/" target="_blank">' . __('See Example Demos', 'feed-them-social') . '</a></small>',
2781
+ 'select_wrap_classes' => 'youtube-gen-selection',
2782
+ 'select_classes' => '',
2783
+ 'select_name' => 'youtube-messages-selector',
2784
+ 'select_id' => 'youtube-messages-selector',
2785
+ ),
2786
+ //Token Check
2787
+ 'token_check' => array(
2788
+ array(
2789
+ 'option_name' => 'youtube_custom_api_token',
2790
+ 'no_token_msg' => __('<strong>STEP 1:</strong> Please add your API Token or Access Token to our <a href="admin.php?page=fts-youtube-feed-styles-submenu-page">Youtube Options</a> page before getting started. ' . $step2_custom_message . '', 'feed-them-social'),
2791
+ ),
2792
+ ),
2793
+ //Feed Types and their options
2794
+ 'feeds_types' => array(
2795
+ //Channel Feed
2796
+ array(
2797
+ 'value' => 'channelID',
2798
+ 'title' => __('Channel Feed', 'feed-them-social'),
2799
+ ),
2800
+ //Channel Playlist Feed
2801
+ array(
2802
+ 'value' => 'playlistID',
2803
+ 'title' => __('Channel\'s Specific Playlist', 'feed-them-social'),
2804
+ ),
2805
+ //User's Most Recent Videos
2806
+ array(
2807
+ 'value' => 'username',
2808
+ 'title' => __('User\'s Most Recent Videos', 'feed-them-social'),
2809
+ ),
2810
+ //User's Playlist
2811
+ array(
2812
+ 'value' => 'userPlaylist',
2813
+ 'title' => __('User\'s Specific Playlist', 'feed-them-social'),
2814
+ ),
2815
+ //Single Video with description
2816
+ array(
2817
+ 'value' => 'singleID',
2818
+ 'title' => __('Single Video with title, date & description', 'feed-them-social'),
2819
+ ),
2820
+ ),
2821
+ 'short_attr_final' => 'yes',
2822
+ //Inputs relative to all Feed_types of this feed. (Eliminates Duplication)[Excluded from loop when creating select]
2823
+
2824
+ //'empty_error'=> 'set',
2825
+ //'empty_error_value'=> 'auto',
2826
+
2827
+ 'main_options' => array(
2828
+ //Youtube Name
2829
+ array(
2830
+ 'option_type' => 'input',
2831
+ 'input_wrap_class' => 'youtube_name',
2832
+ 'label' => __('Youtube Username (required)', 'feed-them-social'),
2833
+ 'instructional-text' => __('You must copy your YouTube <strong>Username</strong> url and paste it below. Your url should look similar to our Example url.<br/><strong>Example:</strong>', 'feed-them-social') . ' <a href="https://www.youtube.com/channel/" target="_blank">https://www.youtube.com/user/nationalgeographic</a>',
2834
+ 'type' => 'text',
2835
+ 'id' => 'youtube_name',
2836
+ 'name' => 'youtube_name',
2837
+ //Relative to JS.
2838
+ 'short_attr' => array(
2839
+ 'attr_name' => 'username',
2840
+ 'empty_error' => 'yes',
2841
+ 'ifs' => 'username',
2842
+ 'empty_error_if' => array(
2843
+ 'attribute' => 'select#youtube-messages-selector',
2844
+ 'operator' => '==',
2845
+ 'value' => 'username',
2846
+ ),
2847
+ ),
2848
+ ),
2849
+ //Youtube Playlist ID
2850
+ array(
2851
+ 'option_type' => 'input',
2852
+ 'input_wrap_class' => 'youtube_playlistID',
2853
+ 'label' => __('Youtube Playlist ID (required)', 'feed-them-social'),
2854
+ 'instructional-text' => __('You must copy your YouTube <strong>Playlist</strong> and <strong>Channel</strong> url link and paste them below. Your urls should look similar to our Example urls below. <br/><br/><strong>Playlist ID:</strong>', 'feed-them-social') . ' <a href="https://www.youtube.com/watch?v=_-sySjjthB0&list=PL7V-xVyJYY3cI-A9ZHkl6A3r31yiVz0XN" target="_blank">https://www.youtube.com/watch?v=_-sySjjthB0&list=PL7V-xVyJYY3cI-A9ZHkl6A3r31yiVz0XN</a><br/><strong>' . __('Channel ID:', 'feed-them-social') .'</strong> <a href="https://www.youtube.com/channel/UCt16NSYjauKclK67LCXvQyA" target="_blank">https://www.youtube.com/channel/UCt16NSYjauKclK67LCXvQyA</a>',
2855
+ 'type' => 'text',
2856
+ 'id' => 'youtube_playlistID',
2857
+ 'name' => 'youtube_playlistID',
2858
+ 'value' => '',
2859
+ //Relative to JS.
2860
+ 'short_attr' => array(
2861
+ 'attr_name' => 'playlist_id',
2862
+ 'empty_error' => 'yes',
2863
+ 'ifs' => 'playlistID',
2864
+ 'empty_error_if' => array(
2865
+ 'attribute' => 'select#youtube-messages-selector',
2866
+ 'operator' => '==',
2867
+ 'value' => 'playlistID',
2868
+ ),
2869
+ ),
2870
+ ),
2871
+ //Youtube Playlist ID2
2872
+ array(
2873
+ 'option_type' => 'input',
2874
+ 'input_wrap_class' => 'youtube_playlistID2',
2875
+ 'label' => __('Youtube Playlist ID (required)', 'feed-them-social'),
2876
+ 'instructional-text' => __('You must copy your YouTube <strong>Playlist</strong> and <strong>Username</strong> url and paste them below. Your urls should look similar to our Example urls below.<br/><br/><strong>Playlist ID:</strong>', 'feed-them-social') . ' <a href="https://www.youtube.com/watch?v=cxrLRbkOwKs&index=10&list=PLivjPDlt6ApS90YoAu-T8VIj6awyflIym" target="_blank">https://www.youtube.com/watch?v=cxrLRbkOwKs&index=10&list=PLivjPDlt6ApS90YoAu-T8VIj6awyflIym</a><br/><strong>' . __('Username:', 'feed-them-social') .'</strong> <a href="https://www.youtube.com/user/nationalgeographic" target="_blank">https://www.youtube.com/user/nationalgeographic</a>',
2877
+ 'type' => 'text',
2878
+ 'id' => 'youtube_playlistID2',
2879
+ 'name' => 'youtube_playlistID2',
2880
+ 'value' => '',
2881
+ //Relative to JS.
2882
+ 'short_attr' => array(
2883
+ 'attr_name' => 'playlist_id',
2884
+ 'empty_error' => 'yes',
2885
+ 'ifs' => 'userPlaylist',
2886
+ 'empty_error_if' => array(
2887
+ 'attribute' => 'select#youtube-messages-selector',
2888
+ 'operator' => '==',
2889
+ 'value' => 'userPlaylist',
2890
+ ),
2891
+ ),
2892
+ ),
2893
+ //Youtube Name 2
2894
+ array(
2895
+ 'option_type' => 'input',
2896
+ 'input_wrap_class' => 'youtube_name2',
2897
+ 'label' => __('Youtube Username<br/><small>Required if showing <a href="admin.php?page=fts-youtube-feed-styles-submenu-page">Subscribe button</a></small>', 'feed-them-social'),
2898
+ 'type' => 'text',
2899
+ 'id' => 'youtube_name2',
2900
+ 'name' => 'youtube_name2',
2901
+ //Relative to JS.
2902
+ 'short_attr' => array(
2903
+ 'attr_name' => 'username_subscribe_btn',
2904
+ 'ifs' => 'userPlaylist',
2905
+ 'empty_error_if' => array(
2906
+ 'attribute' => 'select#youtube-messages-selector',
2907
+ 'operator' => '==',
2908
+ 'value' => 'userPlaylist',
2909
+ ),
2910
+ ),
2911
+ ),
2912
+ //Youtube Channel ID
2913
+ array(
2914
+ 'option_type' => 'input',
2915
+ 'input_wrap_class' => 'youtube_channelID',
2916
+ 'label' => __('Youtube Channel ID (required)', 'feed-them-social'),
2917
+ 'instructional-text' => __('You must copy your YouTube <strong>Channel</strong> url and paste it below. Your url should look similar to our Example url.<br/><strong>Example:</strong>', 'feed-them-social') . ' <a href="https://www.youtube.com/channel/UCqhnX4jA0A5paNd1v-zEysw" target="_blank">https://www.youtube.com/channel/UCqhnX4jA0A5paNd1v-zEysw</a>',
2918
+ 'type' => 'text',
2919
+ 'id' => 'youtube_channelID',
2920
+ 'name' => 'youtube_channelID',
2921
+ //Relative to JS.
2922
+ 'short_attr' => array(
2923
+ 'attr_name' => 'channel_id',
2924
+ 'ifs' => 'channelID',
2925
+ 'empty_error' => 'yes',
2926
+ 'empty_error_if' => array(
2927
+ 'attribute' => 'select#youtube-messages-selector',
2928
+ 'operator' => '==',
2929
+ 'value' => 'channelID',
2930
+ ),
2931
+ ),
2932
+ ),
2933
+ //Youtube Channel ID 2
2934
+ array(
2935
+ 'option_type' => 'input',
2936
+ 'input_wrap_class' => 'youtube_channelID2',
2937
+ 'label' => __('Youtube Channel ID<br/><small>Required if showing <a href="admin.php?page=fts-youtube-feed-styles-submenu-page">Subscribe button</a></small>', 'feed-them-social'),
2938
+ 'type' => 'text',
2939
+ 'id' => 'youtube_channelID2',
2940
+ 'name' => 'youtube_channelID2',
2941
+ //Relative to JS.
2942
+ 'short_attr' => array(
2943
+ 'attr_name' => 'channel_id',
2944
+ 'ifs' => 'playlistID',
2945
+ 'empty_error_if' => array(
2946
+ 'attribute' => 'select#youtube-messages-selector',
2947
+ 'operator' => '==',
2948
+ 'value' => 'playlistID',
2949
+ ),
2950
+ ),
2951
+ ),
2952
+
2953
+ //Youtube Single Video ID
2954
+ array(
2955
+ 'option_type' => 'input',
2956
+ 'input_wrap_class' => 'youtube_singleVideoID',
2957
+ 'label' => __('Single Youtube Video ID (required)', 'feed-them-social'),
2958
+ 'instructional-text' => __('You must copy your <strong>YouTube Video</strong> url link and paste it below. Your url should look similar to our Example url below. <br/><strong>Video URL:</strong>', 'feed-them-social') . ' <a href="https://www.youtube.com/watch?v=_-sySjjthB0" target="_blank">https://www.youtube.com/watch?v=_-sySjjthB0</a>',
2959
+ 'type' => 'text',
2960
+ 'id' => 'youtube_singleVideoID',
2961
+ 'name' => 'youtube_singleVideoID',
2962
+ //Relative to JS.
2963
+ 'short_attr' => array(
2964
+ 'attr_name' => 'video_id_or_link',
2965
+ 'ifs' => 'singleID',
2966
+ 'empty_error' => 'yes',
2967
+ 'empty_error_if' => array(
2968
+ 'attribute' => 'select#youtube-messages-selector',
2969
+ 'operator' => '==',
2970
+ 'value' => 'singleID',
2971
+ ),
2972
+ ),
2973
+ ),
2974
+
2975
+ //# of videos
2976
+ array(
2977
+ 'option_type' => 'input',
2978
+ 'input_wrap_class' => 'youtube_vid_count',
2979
+ 'label' => __('# of videos', 'feed-them-social') . $limitforpremium,
2980
+ 'type' => 'text',
2981
+ 'id' => 'youtube_vid_count',
2982
+ 'name' => 'youtube_vid_count',
2983
+ 'placeholder' => __('4 is the default value', 'feed-them-social'),
2984
+ //Relative to JS.
2985
+ 'short_attr' => array(
2986
+ 'attr_name' => 'vid_count',
2987
+ 'empty_error' => 'set',
2988
+ 'empty_error_value' => 'vid_count=4',
2989
+ ),
2990
+ //This should be placed in the STARTING field of sub options that way wrap and instruction text is above this div (end will be in final options for div output)
2991
+ 'sub_options' => array(
2992
+ 'sub_options_wrap_class' => 'fts-youtube-first-video-wrap',
2993
+ )
2994
+ ),
2995
+ //Display First video full size
2996
+ array(
2997
+ 'grouped_options_title' => __('First Video Display', 'feed-them-social'),
2998
+ 'input_wrap_class' => 'youtube_hide_option',
2999
+ 'option_type' => 'select',
3000
+ 'label' => __('Display First video full size', 'feed-them-social'),
3001
+ 'type' => 'text',
3002
+ 'id' => 'youtube_first_video',
3003
+ 'name' => 'youtube_first_video',
3004
+ 'options' => array(
3005
+ array(
3006
+ 'label' => __('Yes', 'feed-them-social'),
3007
+ 'value' => 'yes',
3008
+ ),
3009
+ array(
3010
+ 'label' => __('No', 'feed-them-social'),
3011
+ 'value' => 'no',
3012
+ ),
3013
+ ),
3014
+ 'short_attr' => array(
3015
+ 'attr_name' => 'large_vid',
3016
+ ),
3017
+ 'sub_options_end' => true,
3018
+ ),
3019
+ //Display Large Video Title
3020
+ array(
3021
+ 'option_type' => 'select',
3022
+ 'input_wrap_class' => 'youtube_hide_option',
3023
+ 'label' => __('Show the Large Video Title', 'feed-them-social'),
3024
+ 'type' => 'text',
3025
+ 'id' => 'youtube_large_vid_title',
3026
+ 'name' => 'youtube_large_vid_title',
3027
+ 'options' => array(
3028
+ array(
3029
+ 'label' => __('No', 'feed-them-social'),
3030
+ 'value' => 'no',
3031
+ ),
3032
+ array(
3033
+ 'label' => __('Yes', 'feed-them-social'),
3034
+ 'value' => 'yes',
3035
+ ),
3036
+ ),
3037
+ 'short_attr' => array(
3038
+ 'attr_name' => 'large_vid_title',
3039
+ ),
3040
+ ),
3041
+ //Display Large Video Description
3042
+ array(
3043
+ 'option_type' => 'select',
3044
+ 'input_wrap_class' => 'youtube_hide_option',
3045
+ 'label' => __('Show the Large Video Description', 'feed-them-social'),
3046
+ 'type' => 'text',
3047
+ 'id' => 'youtube_large_vid_description',
3048
+ 'name' => 'youtube_large_vid_description',
3049
+ 'options' => array(
3050
+ array(
3051
+ 'label' => __('No', 'feed-them-social'),
3052
+ 'value' => 'no',
3053
+ ),
3054
+ array(
3055
+ 'label' => __('Yes', 'feed-them-social'),
3056
+ 'value' => 'yes',
3057
+ ),
3058
+ ),
3059
+ 'short_attr' => array(
3060
+ 'attr_name' => 'large_vid_description',
3061
+ ),
3062
+ ),
3063
+
3064
+
3065
+ //Play thumbs in large video container
3066
+ array(
3067
+ 'grouped_options_title' => __('Video Thumbnails', 'feed-them-social'),
3068
+ 'input_wrap_class' => 'youtube_hide_option',
3069
+ 'option_type' => 'select',
3070
+ 'label' => __('Click thumb to play Video', 'feed-them-social'),
3071
+ 'type' => 'text',
3072
+ 'id' => 'youtube_play_thumbs',
3073
+ 'name' => 'youtube_play_thumbs',
3074
+ 'options' => array(
3075
+ array(
3076
+ 'label' => __('Play on Page', 'feed-them-social'),
3077
+ 'value' => 'yes',
3078
+ ),
3079
+ array(
3080
+ 'label' => __('Open in YouTube', 'feed-them-social'),
3081
+ 'value' => 'no',
3082
+ ),
3083
+ array(
3084
+ 'label' => __('Open in Popup (Premium Version Required)', 'feed-them-social'),
3085
+ 'value' => 'popup',
3086
+ ),
3087
+ ),
3088
+ 'short_attr' => array(
3089
+ 'attr_name' => 'thumbs_play_in_iframe',
3090
+ ),
3091
+ ),
3092
+
3093
+ //# of videos in each row
3094
+ array(
3095
+
3096
+ 'input_wrap_class' => 'youtube_hide_option',
3097
+ 'option_type' => 'select',
3098
+ 'label' => __('# of videos in each row', 'feed-them-social'),
3099
+ 'type' => 'text',
3100
+ 'id' => 'youtube_columns',
3101
+ 'name' => 'youtube_columns',
3102
+ 'default_value' => '4',
3103
+ 'options' => array(
3104
+ array(
3105
+ 'label' => __('1', 'feed-them-social'),
3106
+ 'value' => '1',
3107
+ ),
3108
+ array(
3109
+ 'label' => __('2', 'feed-them-social'),
3110
+ 'value' => '2',
3111
+ ),
3112
+ array(
3113
+ 'label' => __('3', 'feed-them-social'),
3114
+ 'value' => '3',
3115
+ ),
3116
+ array(
3117
+ 'label' => __('4', 'feed-them-social'),
3118
+ 'value' => '4',
3119
+ ),
3120
+ array(
3121
+ 'label' => __('5', 'feed-them-social'),
3122
+ 'value' => '5',
3123
+ ),
3124
+ array(
3125
+ 'label' => __('6', 'feed-them-social'),
3126
+ 'value' => '6',
3127
+ ),
3128
+ ),
3129
+ 'short_attr' => array(
3130
+ 'attr_name' => 'vids_in_row',
3131
+ ),
3132
+ ),
3133
+ //omit first video thumbnail
3134
+ array(
3135
+
3136
+ 'input_wrap_class' => 'youtube_hide_option',
3137
+ 'option_type' => 'select',
3138
+ 'label' => __('Hide the first thumbnail', 'feed-them-social') . '<br/><small>' . __('Useful if playing videos on the page.', 'feed-them-social') . '</small>',
3139
+ 'type' => 'text',
3140
+ 'id' => 'youtube_omit_first_thumbnail',
3141
+ 'name' => 'youtube_omit_first_thumbnail',
3142
+ 'default_value' => 'no',
3143
+ 'options' => array(
3144
+ array(
3145
+ 'label' => __('No', 'feed-them-social'),
3146
+ 'value' => 'no',
3147
+ ),
3148
+ array(
3149
+ 'label' => __('Yes', 'feed-them-social'),
3150
+ 'value' => 'yes',
3151
+ )
3152
+ ),
3153
+ 'short_attr' => array(
3154
+ 'attr_name' => 'omit_first_thumbnail',
3155
+ ),
3156
+ ),
3157
+ //Space between Vids
3158
+ array(
3159
+ 'input_wrap_class' => 'youtube_hide_option',
3160
+ 'option_type' => 'input',
3161
+ 'label' => __('Space between video thumbnails', 'feed-them-social'),
3162
+ 'type' => 'text',
3163
+ 'id' => 'fts-slicker-youtube-container-margin',
3164
+ 'name' => 'fts-slicker-youtube-container-margin',
3165
+ 'placeholder' => '1px is the default value',
3166
+ 'value' => '',
3167
+ 'short_attr' => array(
3168
+ 'attr_name' => 'space_between_videos',
3169
+ 'var_final_if' => 'yes',
3170
+ 'empty_error' => 'set',
3171
+ 'empty_error_value' => 'space_between_videos=1px',
3172
+ ),
3173
+ ),
3174
+
3175
+
3176
+ // Force Video Rows
3177
+ array(
3178
+ 'input_wrap_class' => 'youtube_hide_option',
3179
+ 'option_type' => 'select',
3180
+ '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>',
3181
+ 'type' => 'text',
3182
+ 'id' => 'fts_youtube_force_columns',
3183
+ 'name' => 'fts_youtube_force_columns',
3184
+ 'default_value' => 'no',
3185
+ 'options' => array(
3186
+ array(
3187
+ 'label' => __('No', 'feed-them-gallery'),
3188
+ 'value' => 'no',
3189
+ ),
3190
+ array(
3191
+ 'label' => __('Yes', 'feed-them-gallery'),
3192
+ 'value' => 'yes',
3193
+ ),
3194
+ ),
3195
+ 'short_attr' => array(
3196
+ 'attr_name' => 'force_columns',
3197
+ ),
3198
+ ),
3199
+ //Display Max Res Images for thumbs
3200
+ array(
3201
+ 'input_wrap_class' => 'youtube_hide_option',
3202
+ 'option_type' => 'select',
3203
+ 'label' => __('High quality thumbnail images', 'feed-them-social'),
3204
+ 'type' => 'text',
3205
+ 'id' => 'youtube_maxres_thumbnail_images',
3206
+ 'name' => 'youtube_maxres_thumbnail_images',
3207
+ 'options' => array(
3208
+ array(
3209
+ 'label' => __('Yes', 'feed-them-social'),
3210
+ 'value' => 'yes',
3211
+ ),
3212
+ array(
3213
+ 'label' => __('No', 'feed-them-social'),
3214
+ 'value' => 'no',
3215
+ ),
3216
+ ),
3217
+ 'short_attr' => array(
3218
+ 'attr_name' => 'maxres_thumbnail_images',
3219
+ ),
3220
+ ),
3221
+ //Background color for thumbs container
3222
+ array(
3223
+ 'input_wrap_class' => 'youtube_hide_option',
3224
+ 'option_type' => 'input',
3225
+ 'color_picker' => 'yes',
3226
+ 'label' => __('Container Background color ', 'feed-them-social'),
3227
+ 'type' => 'text',
3228
+ 'id' => 'youtube_thumbs_wrap_color',
3229
+ 'name' => 'youtube_thumbs_wrap_color',
3230
+ 'default' => '#000',
3231
+ 'placeholder' => '#000',
3232
+ //Relative to JS.
3233
+ 'short_attr' => array(
3234
+ 'attr_name' => 'thumbs_wrap_color',
3235
+ 'empty_error' => 'set',
3236
+ 'empty_error_value' => 'thumbs_wrap_color=#000',
3237
+ ),
3238
+
3239
+ ),
3240
+ //Align container right or left of video
3241
+ array(
3242
+ 'input_wrap_class' => 'youtube_hide_option',
3243
+ 'option_type' => 'select',
3244
+ 'label' => __('Align Thumbs', 'feed-them-social') . '<br/><small>' . __('Bottom (default), Right, or left of Videoo', 'feed-them-social') . '</small>',
3245
+ 'type' => 'text',
3246
+ 'id' => 'youtube_thumbs_wrap',
3247
+ 'name' => 'youtube_thumbs_wrap',
3248
+ 'options' => array(
3249
+ array(
3250
+ 'label' => __('Below Video', 'feed-them-social'),
3251
+ 'value' => 'none',
3252
+ ),
3253
+ array(
3254
+ 'label' => __('Right', 'feed-them-social'),
3255
+ 'value' => 'right',
3256
+ ),
3257
+ array(
3258
+ 'label' => __('Left', 'feed-them-social'),
3259
+ 'value' => 'left',
3260
+ ),
3261
+ ),
3262
+ //Relative to JS.
3263
+ 'short_attr' => array(
3264
+ 'attr_name' => 'wrap',
3265
+ ),
3266
+ 'prem_req' => 'yes',
3267
+ 'req_plugin' => 'fts_premium',
3268
+
3269
+ ),
3270
+ //Align container right or left of video
3271
+ array(
3272
+ 'input_wrap_class' => 'youtube_align_comments_wrap',
3273
+ 'option_type' => 'select',
3274
+ 'label' => __('Align Title, Description etc.', 'feed-them-social') . '<br/><small>' . __('Bottom (default), Right, or left of Video', 'feed-them-social') . '</small>',
3275
+ 'type' => 'text',
3276
+ 'id' => 'youtube_comments_wrap',
3277
+ 'name' => 'youtube_comments_wrap',
3278
+ 'options' => array(
3279
+ array(
3280
+ 'label' => __('Below Video', 'feed-them-social'),
3281
+ 'value' => 'none',
3282
+ ),
3283
+ array(
3284
+ 'label' => __('Right', 'feed-them-social'),
3285
+ 'value' => 'right',
3286
+ ),
3287
+ array(
3288
+ 'label' => __('Left', 'feed-them-social'),
3289
+ 'value' => 'left',
3290
+ ),
3291
+ ),
3292
+ //Relative to JS.
3293
+ 'short_attr' => array(
3294
+ 'attr_name' => 'wrap_single',
3295
+ ),
3296
+ 'prem_req' => 'yes',
3297
+ 'req_plugin' => 'fts_premium',
3298
+
3299
+ ),
3300
+ //Align container right or left of video
3301
+ array(
3302
+ 'input_wrap_class' => 'youtube_video_thumbs_display',
3303
+ 'option_type' => 'select',
3304
+ 'label' => __('Video/Thumbs width options', 'feed-them-social') . '<br/><small>' . __('Sizes: 80/20, 60/40 or 50/50', 'feed-them-social') . '</small>',
3305
+ 'type' => 'text',
3306
+ 'id' => 'youtube_video_thumbs_display',
3307
+ 'name' => 'youtube_video_thumbs_display',
3308
+ 'options' => array(
3309
+ array(
3310
+ 'label' => __('None', 'feed-them-social'),
3311
+ 'value' => 'none',
3312
+ ),
3313
+ array(
3314
+ 'label' => __('Option 1 (Video 80%, Thumbs Container 20%)', 'feed-them-social'),
3315
+ 'value' => '1',
3316
+ ),
3317
+ array(
3318
+ 'label' => __('Option 1 (Video 60%, Thumbs Container 40%)', 'feed-them-social'),
3319
+ 'value' => '2',
3320
+ ),
3321
+ array(
3322
+ 'label' => __('Option 1 (Video 50%, Thumbs Container 50%)', 'feed-them-social'),
3323
+ 'value' => '3',
3324
+ ),
3325
+ ),
3326
+ //Relative to JS.
3327
+ 'short_attr' => array(
3328
+ 'attr_name' => 'video_wrap_display',
3329
+ ),
3330
+ 'prem_req' => 'yes',
3331
+ 'req_plugin' => 'fts_premium',
3332
+
3333
+ ),
3334
+ //Align container right or left of video
3335
+ array(
3336
+ 'input_wrap_class' => 'youtube_video_single_info_display',
3337
+ 'option_type' => 'select',
3338
+ 'label' => __('Video/Info width options', 'feed-them-social') . '<br/><small>' . __('Sizes: 80/20, 60/40 or 50/50', 'feed-them-social') . '</small>',
3339
+ 'type' => 'text',
3340
+ 'id' => 'youtube_video_comments_display',
3341
+ 'name' => 'youtube_video_comments_display',
3342
+ 'options' => array(
3343
+ array(
3344
+ 'label' => __('None', 'feed-them-social'),
3345
+ 'value' => 'none',
3346
+ ),
3347
+ array(
3348
+ 'label' => __('Option 1 (Video 80%, Info Container 20%)', 'feed-them-social'),
3349
+ 'value' => '1',
3350
+ ),
3351
+ array(
3352
+ 'label' => __('Option 1 (Video 60%, Info Container 40%)', 'feed-them-social'),
3353
+ 'value' => '2',
3354
+ ),
3355
+ array(
3356
+ 'label' => __('Option 1 (Video 50%, Info Container 50%)', 'feed-them-social'),
3357
+ 'value' => '3',
3358
+ ),
3359
+ ),
3360
+ //Relative to JS.
3361
+ 'short_attr' => array(
3362
+ 'attr_name' => 'video_wrap_display_single',
3363
+ ),
3364
+ 'prem_req' => 'yes',
3365
+ 'req_plugin' => 'fts_premium',
3366
+
3367
+ ),
3368
+ //Youtube Load More Button
3369
+ array(
3370
+ 'input_wrap_class' => 'youtube_hide_option',
3371
+ 'grouped_options_title' => __('Load More', 'feed-them-social'),
3372
+ 'option_type' => 'select',
3373
+ 'label' => __('Load More Button', 'feed-them-social'),
3374
+ 'type' => 'text',
3375
+ 'id' => 'youtube_load_more_option',
3376
+ 'name' => 'youtube_load_more_option',
3377
+ 'options' => array(
3378
+ array(
3379
+ 'label' => __('No', 'feed-them-social'),
3380
+ 'value' => 'no',
3381
+ ),
3382
+ array(
3383
+ 'label' => __('Yes', 'feed-them-social'),
3384
+ 'value' => 'yes',
3385
+ ),
3386
+ ),
3387
+ 'prem_req' => 'yes',
3388
+ 'req_plugin' => 'fts_premium',
3389
+ 'short_attr' => array(
3390
+ 'attr_name' => '',
3391
+ 'empty_error_value' => '',
3392
+ 'no_attribute' => 'yes',
3393
+
3394
+ ),
3395
+ 'sub_options' => array(
3396
+ 'sub_options_wrap_class' => 'youtube-loadmore-wrap',
3397
+ ),
3398
+ ),
3399
+ //Youtube Load More Style
3400
+ array(
3401
+ 'option_type' => 'select',
3402
+ 'label' => __('Load More Style', 'feed-them-social'),
3403
+ 'type' => 'text',
3404
+ 'id' => 'youtube_load_more_style',
3405
+ 'name' => 'youtube_load_more_style',
3406
+ 'instructional-text' => '<strong>' . __('NOTE:', 'feed-them-social') . '</strong> ' . __('The Button option will show a "Load More Posts" button under your feed. The AutoScroll option will load more posts when you reach the bottom of the feed. AutoScroll ONLY works if you\'ve filled in a Fixed Height for your feed.', 'feed-them-social'),
3407
+ 'options' => array(
3408
+ array(
3409
+ 'label' => __('Button', 'feed-them-social'),
3410
+ 'value' => 'button',
3411
+ ),
3412
+ array(
3413
+ 'label' => __('AutoScroll', 'feed-them-social'),
3414
+ 'value' => 'autoscroll',
3415
+ ),
3416
+ ),
3417
+ 'prem_req' => 'yes',
3418
+ 'req_plugin' => 'fts_premium',
3419
+ 'short_attr' => array(
3420
+ 'attr_name' => 'loadmore',
3421
+ 'ifs' => 'load_more',
3422
+ ),
3423
+ //This should be placed in the STARTING field of sub options that way wrap and instruction text is above this div (end will be in final options for div output)
3424
+ 'sub_options' => array(
3425
+ 'sub_options_wrap_class' => 'fts-youtube-load-more-options-wrap',
3426
+ ),
3427
+ 'sub_options_end' => true,
3428
+ ),
3429
+ //youtube Page Load more Amount
3430
+ array(
3431
+ 'option_type' => 'input',
3432
+ 'label' => __('Load more Amount', 'feed-them-social') . '<br/><small>' . __('How many more videos will load at a time.', 'feed-them-social') . '</small>',
3433
+ 'type' => 'text',
3434
+ 'id' => 'youtube_loadmore_count',
3435
+ 'name' => 'youtube_loadmore_count',
3436
+ 'placeholder' => __('5 is the default number', 'feed-them-social'),
3437
+ 'value' => '',
3438
+ 'req_plugin' => 'fts_premium',
3439
+ //Relative to JS.
3440
+ 'short_attr' => array(
3441
+ 'attr_name' => 'loadmore_count',
3442
+ 'empty_error' => 'set',
3443
+ 'empty_error_value' => 'loadmore_count=5',
3444
+ 'ifs' => 'load_more',
3445
+ ),
3446
+ //This should be placed in the STARTING field of sub options that way wrap and instruction text is above this div (end will be in final options for div output)
3447
+ 'sub_options' => array(
3448
+ 'sub_options_wrap_class' => 'fts-youtube-load-more-options2-wrap',
3449
+ ),
3450
+ ),
3451
+ //youtube Load more Button Width
3452
+ array(
3453
+ 'option_type' => 'input',
3454
+ 'label' => __('Load more Button Width', 'feed-them-social') . '<br/><small>' . __('Leave blank for auto width', 'feed-them-social') . '</small>',
3455
+ 'type' => 'text',
3456
+ 'id' => 'youtube_loadmore_button_width',
3457
+ 'name' => 'youtube_loadmore_button_width',
3458
+ 'placeholder' => '300px ' . __('for example', 'feed-them-social'),
3459
+ 'value' => '',
3460
+ 'prem_req' => 'yes',
3461
+ 'req_plugin' => 'fts_premium',
3462
+ //Relative to JS.
3463
+ 'short_attr' => array(
3464
+ 'attr_name' => 'loadmore_btn_maxwidth',
3465
+ 'empty_error' => 'set',
3466
+ 'empty_error_value' => 'loadmore_btn_maxwidth=300px',
3467
+ 'ifs' => 'load_more',
3468
+ ),
3469
+ ),
3470
+ //youtube Load more Button Margin
3471
+ array(
3472
+ 'option_type' => 'input',
3473
+ 'label' => __('Load more Button Margin', 'feed-them-social'),
3474
+ 'type' => 'text',
3475
+ 'id' => 'youtube_loadmore_button_margin',
3476
+ 'name' => 'youtube_loadmore_button_margin',
3477
+ 'placeholder' => '10px ' . __('for example', 'feed-them-social'),
3478
+ 'value' => '',
3479
+ 'req_plugin' => 'fts_premium',
3480
+ //Relative to JS.
3481
+ 'short_attr' => array(
3482
+ 'attr_name' => 'loadmore_btn_margin',
3483
+ 'empty_error' => 'set',
3484
+ 'empty_error_value' => 'loadmore_btn_margin=10px',
3485
+ 'ifs' => 'load_more',
3486
+ ),
3487
+ 'sub_options_end' => 2,
3488
+ ),
3489
+ //Display Comments
3490
+ array(
3491
+ 'grouped_options_title' => __('Comments', 'feed-them-social'),
3492
+ 'option_type' => 'input',
3493
+ 'label' => __('# of Comments', 'feed-them-social') . '<br/><small>' . __('Maximum amount is 50', 'feed-them-social') . '</small>',
3494
+ 'type' => 'text',
3495
+ 'id' => 'youtube_comments_count',
3496
+ 'name' => 'youtube_comments_count',
3497
+ 'placeholder' => '',
3498
+ 'value' => '',
3499
+ 'short_attr' => array(
3500
+ 'attr_name' => 'comments_count',
3501
+ 'empty_error' => 'set',
3502
+ 'empty_error_value' => 'comments_count=0',
3503
+ ),
3504
+ 'req_plugin' => 'fts_premium',
3505
+ ),
3506
+ ),
3507
+ //Final Shortcode ifs
3508
+ 'shortcode_ifs' => array(
3509
+ 'load_more' => array(
3510
+ 'if' => array(
3511
+ 'class' => 'select#youtube_load_more_option',
3512
+ 'operator' => '==',
3513
+ 'value' => 'yes',
3514
+ ),
3515
+ ),
3516
+ 'username' => array(
3517
+ 'if' => array(
3518
+ 'class' => 'select#youtube-messages-selector',
3519
+ 'operator' => '==',
3520
+ 'value' => 'username',
3521
+ ),
3522
+ ),
3523
+ 'userPlaylist' => array(
3524
+ 'if' => array(
3525
+ 'class' => 'select#youtube-messages-selector',
3526
+ 'operator' => '==',
3527
+ 'value' => 'userPlaylist',
3528
+ ),
3529
+ ),
3530
+ 'channelID' => array(
3531
+ 'if' => array(
3532
+ 'class' => 'select#youtube-messages-selector',
3533
+ 'operator' => '==',
3534
+ 'value' => 'channelID',
3535
+ ),
3536
+ ),
3537
+ 'playlistID' => array(
3538
+ 'if' => array(
3539
+ 'class' => 'select#youtube-messages-selector',
3540
+ 'operator' => '==',
3541
+ 'value' => 'playlistID',
3542
+ ),
3543
+ ),
3544
+ 'singleID' => array(
3545
+ 'if' => array(
3546
+ 'class' => 'select#youtube-messages-selector',
3547
+ 'operator' => '==',
3548
+ 'value' => 'singleID',
3549
+ ),
3550
+ ),
3551
+ ),
3552
+ //Generator Info
3553
+ 'generator_title' => __('YouTube Feed Shortcode', 'feed-them-social'),
3554
+ 'generator_class' => 'youtube-final-shortcode',
3555
+ ),//End Youtube Feed
3556
+ //******************************************
3557
+ // Pinterest
3558
+ //******************************************
3559
+ 'pinterest' => array(
3560
+ 'section_attr_key' => 'pinterest_',
3561
+ 'section_title' => __('Pinterest Shortcode Generator', 'feed-them-social'),
3562
+ 'section_wrap_class' => 'pinterest-shortcode-form',
3563
+ //Form Info
3564
+ 'form_wrap_classes' => 'pinterest-shortcode-form',
3565
+ 'form_wrap_id' => 'fts-pinterest-form',
3566
+ //Feed Type Selection
3567
+ 'feed_type_select' => array(
3568
+ 'label' => __('Feed Type', 'feed-them-social'),
3569
+ 'select_wrap_classes' => 'pinterest-gen-selection',
3570
+ 'select_classes' => '',
3571
+ 'select_name' => 'pinterest-messages-selector',
3572
+ 'select_id' => 'pinterest-messages-selector',
3573
+ ),
3574
+ //Token Check
3575
+ 'token_check' => array(
3576
+ array(
3577
+ 'option_name' => 'fts_pinterest_custom_api_token',
3578
+ 'no_token_msg' => __('<strong>STEP 1:</strong> Please add a Pinterest API Token to our <a href="admin.php?page=fts-pinterest-feed-styles-submenu-page">Pinterest Options</a> page before getting started. ' . $step2_custom_message . '', 'feed-them-social'),
3579
+ ),
3580
+ ),
3581
+ //Feed Types and their options
3582
+ 'feeds_types' => array(
3583
+ //Board List
3584
+ array(
3585
+ 'value' => 'boards_list',
3586
+ 'title' => __('Board List', 'feed-them-social'),
3587
+ ),
3588
+ //Single Board Pins
3589
+ array(
3590
+ 'value' => 'single_board_pins',
3591
+ 'title' => __('Pins From a Specific Board', 'feed-them-social'),
3592
+ ),
3593
+ //Single Board Pins
3594
+ array(
3595
+ 'value' => 'pins_from_user',
3596
+ 'title' => __('Latest Pins from a User', 'feed-them-social'),
3597
+ ),
3598
+ ),
3599
+ 'short_attr_final' => 'yes',
3600
+ //Inputs relative to all Feed_types of this feed. (Eliminates Duplication)[Excluded from loop when creating select]
3601
+
3602
+ //'empty_error'=> 'set',
3603
+ //'empty_error_value'=> 'auto',
3604
+
3605
+ 'main_options' => array(
3606
+ //Feed Type
3607
+ array(
3608
+ 'option_type' => 'select',
3609
+ 'id' => 'pinterest-messages-selector',
3610
+ 'name' => 'pinterest-messages-selector',
3611
+ //DONT SHOW HTML
3612
+ 'no_html' => 'yes',
3613
+ //Relative to JS.
3614
+ 'short_attr' => array(
3615
+ 'attr_name' => 'type',
3616
+ ),
3617
+ ),
3618
+ //Pinterest Board Name
3619
+ array(
3620
+ 'option_type' => 'input',
3621
+ 'input_wrap_class' => 'board-name',
3622
+ 'label' => __('Pinterest Board Name (required)', 'feed-them-social'),
3623
+ 'type' => 'text',
3624
+ 'id' => 'pinterest_board_name',
3625
+ 'name' => 'pinterest_board_name',
3626
+ 'value' => '',
3627
+ 'instructional-text' => __('Copy your', 'feed-them-social') . ' <a href="https://www.slickremix.com/how-to-get-your-pinterest-name/" target="_blank">' . __('Pinterest and Board Name', 'feed-them-social') . '</a> ' . __('and paste them below.', 'feed-them-social'),
3628
+ 'instructional-class' => 'pinterest-board-and-name-text',
3629
+ //Relative to JS.
3630
+ 'short_attr' => array(
3631
+ 'attr_name' => 'board_id',
3632
+ 'var_final_if' => 'no',
3633
+ 'empty_error' => 'yes',
3634
+ 'empty_error_if' => array(
3635
+ 'attribute' => 'select#pinterest-messages-selector',
3636
+ 'operator' => '==',
3637
+ 'value' => 'single_board_pins',
3638
+ ),
3639
+ 'ifs' => 'single_board_pins',
3640
+ ),
3641
+ ),
3642
+ //Pinterest Name
3643
+ array(
3644
+ 'option_type' => 'input',
3645
+ 'input_wrap_class' => 'pinterest_name',
3646
+ 'label' => __('Pinterest Username (required)', 'feed-them-social'),
3647
+ 'type' => 'text',
3648
+ 'id' => 'pinterest_name',
3649
+ 'name' => 'pinterest_name',
3650
+ 'value' => '',
3651
+ 'instructional-text' => __('Copy your', 'feed-them-social') . ' <a href="https://www.slickremix.com/how-to-get-your-pinterest-name/" target="_blank">' . __('Pinterest Name', 'feed-them-social') . '</a> ' . __('and paste it in the first input below.', 'feed-them-social'),
3652
+ 'instructional-class' => 'pinterest-name-text',
3653
+ //Relative to JS.
3654
+ 'short_attr' => array(
3655
+ 'attr_name' => 'pinterest_name',
3656
+ 'empty_error' => 'yes',
3657
+ 'var_final_if' => 'no',
3658
+ ),
3659
+ ),
3660
+ //Board Count
3661
+ array(
3662
+ 'option_type' => 'input',
3663
+ 'input_wrap_class' => 'number-of-boards',
3664
+ 'label' => __('# of Boards', 'feed-them-social') . $limitforpremium,
3665
+ 'type' => 'text',
3666
+ 'id' => 'boards_count',
3667
+ 'name' => 'boards_count',
3668
+ // Only needed if Prem_Req = More otherwise remove (must have array key req_plugin)
3669
+ //'prem_req_more_msg' => '<br/><small>' . __('More than 6 Requires <a target="_blank" href="https://www.slickremix.com/downloads/feed-them-social-premium-extension/">Premium version</a>', 'feed-them-social') . '</small>',
3670
+ 'placeholder' => __('6 is the default value', 'feed-them-social'),
3671
+ 'value' => '',
3672
+ //Relative to JS.
3673
+ 'short_attr' => array(
3674
+ 'attr_name' => 'boards_count',
3675
+ 'var_final_if' => 'yes',
3676
+ 'empty_error' => 'set',
3677
+ 'empty_error_value' => 'boards_count=6',
3678
+ 'ifs' => 'boards',
3679
+ ),
3680
+ ),
3681
+ //Pins Count
3682
+ array(
3683
+ 'option_type' => 'input',
3684
+ 'input_wrap_class' => 'show-pins-amount',
3685
+ 'label' => __('# of Pins', 'feed-them-social') . $limitforpremium,
3686
+ 'type' => 'text',
3687
+ 'id' => 'pins_count',
3688
+ 'name' => 'pins_count',
3689
+ // Only needed if Prem_Req = More otherwise remove (must have array key req_plugin)
3690
+ // 'prem_req_more_msg' => '<br/><small>' . __('More than 6 Requires <a target="_blank" href="https://www.slickremix.com/downloads/feed-them-social-premium-extension/">Premium version</a>', 'feed-them-social') . '</small>',
3691
+ 'placeholder' => __('6 is the default value', 'feed-them-social'),
3692
+ 'value' => '',
3693
+ //Relative to JS.
3694
+ 'short_attr' => array(
3695
+ 'attr_name' => 'pins_count',
3696
+ 'var_final_if' => 'yes',
3697
+ 'empty_error' => 'set',
3698
+ 'empty_error_value' => 'pins_count=6',
3699
+ 'ifs' => 'single_board_pins,pins_from_user',
3700
+ ),
3701
+ ),
3702
+ ),
3703
+ //Final Shortcode ifs
3704
+ 'shortcode_ifs' => array(
3705
+ 'single_board_pins' => array(
3706
+ 'if' => array(
3707
+ 'class' => 'select#pinterest-messages-selector',
3708
+ 'operator' => '==',
3709
+ 'value' => 'single_board_pins',
3710
+ ),
3711
+ ),
3712
+ 'pins_from_user' => array(
3713
+ 'if' => array(
3714
+ 'class' => 'select#pinterest-messages-selector',
3715
+ 'operator' => '==',
3716
+ 'value' => 'pins_from_user',
3717
+ ),
3718
+ ),
3719
+ 'boards' => array(
3720
+ 'if' => array(
3721
+ 'class' => 'select#pinterest-messages-selector',
3722
+ 'operator' => '==',
3723
+ 'value' => 'boards_list',
3724
+ ),
3725
+ ),
3726
+ ),
3727
+ //Generator Info
3728
+ 'generator_title' => __('Pinterest Feed Shortcode', 'feed-them-social'),
3729
+ 'generator_class' => 'pinterest-final-shortcode',
3730
+
3731
+ ),//End Pinterest Feed
3732
+ //******************************************
3733
+ // Twitter
3734
+ //******************************************
3735
+ 'twitter' => array(
3736
+ 'section_attr_key' => 'twitter_',
3737
+ 'section_title' => __('Twitter Shortcode Generator', 'feed-them-social'),
3738
+ 'section_wrap_class' => 'fts-twitter-shortcode-form',
3739
+ //Form Info
3740
+ 'form_wrap_classes' => 'twitter-shortcode-form',
3741
+ 'form_wrap_id' => 'fts-twitter-form',
3742
+ //Token Check
3743
+ 'token_check' => array(
3744
+ array(
3745
+ 'option_name' => 'fts_twitter_custom_access_token_secret',
3746
+ 'no_token_msg' => __('<strong>STEP 1:</strong> Please add Twitter API Tokens to our <a href="admin.php?page=fts-twitter-feed-styles-submenu-page">Twitter Options</a> page before getting started. ' . $step2_custom_message . '', 'feed-them-social'),
3747
+ ),
3748
+ ),
3749
+ //Feed Type Selection
3750
+ 'feed_type_select' => array(
3751
+ 'label' => __('Feed Type', 'feed-them-social'),
3752
+ 'select_wrap_classes' => 'twitter-gen-selection',
3753
+ 'select_classes' => '',
3754
+ 'select_name' => 'twitter-messages-selector',
3755
+ 'select_id' => 'twitter-messages-selector',
3756
+ ),
3757
+ //Feed Types and their options
3758
+ 'feeds_types' => array(
3759
+ //User Feed
3760
+ array(
3761
+ 'value' => 'user',
3762
+ 'title' => __('User Feed', 'feed-them-social'),
3763
+ ),
3764
+ //hastag Feed
3765
+ array(
3766
+ 'value' => 'hashtag',
3767
+ 'title' => __('Hashtag, Search and more Feed', 'feed-them-social'),
3768
+ ),
3769
+ ),
3770
+ 'short_attr_final' => 'yes',
3771
+ //Inputs relative to all Feed_types of this feed. (Eliminates Duplication)[Excluded from loop when creating select]
3772
+
3773
+ 'main_options' => array(
3774
+ //Twitter Search Name
3775
+ array(
3776
+ 'option_type' => 'input',
3777
+ 'input_wrap_class' => 'twitter_hashtag_etc_name',
3778
+ 'label' => __('Twitter Search Name (required)', 'feed-them-social'),
3779
+ 'type' => 'text',
3780
+ 'id' => 'twitter_hashtag_etc_name',
3781
+ 'name' => 'twitter_hashtag_etc_name',
3782
+ 'value' => '',
3783
+ 'instructional-text' => __('You can use #hashtag, @person, or single words. For example, weather or weather-channel.<br/><br/>If 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. <strong style="color:#225DE2;">from:user_name%#YourHashtag</strong>', 'feed-them-social'),
3784
+ //Relative to JS.
3785
+ 'short_attr' => array(
3786
+ 'attr_name' => 'search',
3787
+ 'var_final_if' => 'no',
3788
+ 'empty_error' => 'yes',
3789
+ 'ifs' => 'twitter_search',
3790
+ 'empty_error_if' => array(
3791
+ 'attribute' => 'select#twitter-messages-selector',
3792
+ 'operator' => '==',
3793
+ 'value' => 'hashtag',
3794
+ ),
3795
+ ),
3796
+ //This should be placed in the STARTING field of sub options that way wrap and instruction text is above this div (end will be in final options for div output)
3797
+ 'sub_options' => array(
3798
+ 'sub_options_wrap_class' => 'twitter-hashtag-etc-wrap',
3799
+ 'sub_options_title' => __('Twitter Search', 'feed-them-social'),
3800
+ ),
3801
+ 'sub_options_end' => true,
3802
+
3803
+ ),
3804
+ //Twitter Name
3805
+ array(
3806
+ 'option_type' => 'input',
3807
+ 'input_wrap_class' => 'twitter_name',
3808
+ 'label' => __('Twitter Name', 'feed-them-social'),
3809
+ 'type' => 'text',
3810
+ 'id' => 'twitter_name',
3811
+ 'name' => 'twitter_name',
3812
+ 'instructional-text' => '<span class="hashtag-option-small-text">' . __('Twitter Name is only required if you want to show a', 'feed-them-social') . ' <a href="admin.php?page=fts-twitter-feed-styles-submenu-page">' . __('Follow Button', 'feed-them-social') . '</a>.</span><span class="must-copy-twitter-name">' . __('You must copy your', 'feed-them-social') . ' <a href="https://www.slickremix.com/how-to-get-your-twitter-name/" target="_blank">' . __('Twitter Name', 'feed-them-social') . '</a> ' . __('and paste it in the first input below.', 'feed-them-social') . '</span>',
3813
+ 'value' => '',
3814
+ //Relative to JS.
3815
+ 'short_attr' => array(
3816
+ 'attr_name' => 'twitter_name',
3817
+ 'var_final_if' => 'no',
3818
+ 'empty_error' => 'yes',
3819
+ 'empty_error_if' => array(
3820
+ 'attribute' => 'select#twitter-messages-selector',
3821
+ 'operator' => '==',
3822
+ 'value' => 'user',
3823
+ ),
3824
+ ),
3825
+ ),
3826
+ //Tweet Count
3827
+ array(
3828
+ 'option_type' => 'input',
3829
+ 'label' => __('# of Tweets (optional)', 'feed-them-social') . $limitforpremium,
3830
+ 'type' => 'text',
3831
+ 'id' => 'tweets_count',
3832
+ 'name' => 'tweets_count',
3833
+ // Only needed if Prem_Req = More otherwise remove (must have array key req_plugin)
3834
+ // 'prem_req_more_msg' => '<br/><small>' . __('More than 6 Requires <a target="_blank" href="https://www.slickremix.com/downloads/feed-them-social-premium-extension/">Premium version</a>', 'feed-them-social') . '</small>',
3835
+ 'placeholder' => __('6 is the default value', 'feed-them-social'),
3836
+ 'value' => '',
3837
+ //Relative to JS.
3838
+ 'short_attr' => array(
3839
+ 'attr_name' => 'tweets_count',
3840
+ 'var_final_if' => 'yes',
3841
+ 'var_final_value' => 'no',
3842
+ 'empty_error' => 'set',
3843
+ 'empty_error_value' => 'tweets_count=6',
3844
+ ),
3845
+ ),
3846
+ //Twitter Fixed Height
3847
+ array(
3848
+ 'option_type' => 'input',
3849
+ 'label' => __('Twitter Fixed Height', 'feed-them-social') . '<br/><small>' . __('Leave blank for auto height', 'feed-them-social') . '</small>',
3850
+ 'type' => 'text',
3851
+ 'id' => 'twitter_height',
3852
+ 'name' => 'twitter_height',
3853
+ 'placeholder' => '450px ' . __('for example', 'feed-them-social'),
3854
+ 'short_attr' => array(
3855
+ 'attr_name' => 'twitter_height',
3856
+ 'var_final_if' => 'yes',
3857
+ 'var_final_value' => '',
3858
+ 'empty_error' => 'set',
3859
+ 'empty_error_value' => '',
3860
+ ),
3861
+ ),
3862
+ //Show Cover Photo
3863
+ array(
3864
+ 'option_type' => 'select',
3865
+ 'label' => __('Show Cover Photo', 'feed-them-social'),
3866
+ 'type' => 'text',
3867
+ 'id' => 'twitter-cover-photo',
3868
+ 'name' => 'twitter-cover-photo',
3869
+ 'options' => array(
3870
+ array(
3871
+ 'label' => __('No', 'feed-them-social'),
3872
+ 'value' => 'no',
3873
+ ),
3874
+ array(
3875
+ 'label' => __('Yes', 'feed-them-social'),
3876
+ 'value' => 'yes',
3877
+ ),
3878
+ ),
3879
+ 'short_attr' => array(
3880
+ 'attr_name' => 'cover_photo',
3881
+ ),
3882
+ ),
3883
+ //Show Stats Bar
3884
+ array(
3885
+ 'option_type' => 'select',
3886
+ 'label' => __('Stats Bar', 'feed-them-social'),
3887
+ 'type' => 'text',
3888
+ 'id' => 'twitter-stats-bar',
3889
+ 'name' => 'twitter-stats-bar',
3890
+ 'options' => array(
3891
+ array(
3892
+ 'label' => __('No', 'feed-them-social'),
3893
+ 'value' => 'no',
3894
+ ),
3895
+ array(
3896
+ 'label' => __('Yes', 'feed-them-social'),
3897
+ 'value' => 'yes',
3898
+ ),
3899
+ ),
3900
+ 'short_attr' => array(
3901
+ 'attr_name' => 'stats_bar',
3902
+ ),
3903
+ ),
3904
+ //Show Retweets
3905
+ array(
3906
+ 'option_type' => 'select',
3907
+ 'label' => __('Show Retweets', 'feed-them-social'),
3908
+ 'type' => 'text',
3909
+ 'id' => 'twitter-show-retweets',
3910
+ 'name' => 'twitter-show-retweets',
3911
+ 'options' => array(
3912
+ array(
3913
+ 'label' => __('No', 'feed-them-social'),
3914
+ 'value' => 'no',
3915
+ ),
3916
+ array(
3917
+ 'label' => __('Yes', 'feed-them-social'),
3918
+ 'value' => 'yes',
3919
+ ),
3920
+ ),
3921
+ 'short_attr' => array(
3922
+ 'attr_name' => 'show_retweets',
3923
+ ),
3924
+ ),
3925
+ //Show Replies
3926
+ array(
3927
+ 'option_type' => 'select',
3928
+ 'label' => __('Show Replies', 'feed-them-social'),
3929
+ 'type' => 'text',
3930
+ 'id' => 'twitter-show-replies',
3931
+ 'name' => 'twitter-show-replies',
3932
+ 'options' => array(
3933
+ array(
3934
+ 'label' => __('No', 'feed-them-social'),
3935
+ 'value' => 'no',
3936
+ ),
3937
+ array(
3938
+ 'label' => __('Yes', 'feed-them-social'),
3939
+ 'value' => 'yes',
3940
+ ),
3941
+ ),
3942
+ 'short_attr' => array(
3943
+ 'attr_name' => 'show_replies',
3944
+ ),
3945
+ ),
3946
+ //Pop Up Option
3947
+ array(
3948
+ 'grouped_options_title' => __('Popup', 'feed-them-social'),
3949
+ 'option_type' => 'select',
3950
+ 'label' => __('Display Photos & Videos in Popup', 'feed-them-social'),
3951
+ 'type' => 'text',
3952
+ 'id' => 'twitter-popup-option',
3953
+ 'name' => 'twitter-popup-option',
3954
+ // Premium Required - yes/no/more (more allows for us to limit things by numbers, also allows for special message above option.)
3955
+ 'prem_req' => 'yes',
3956
+ 'options' => array(
3957
+ array(
3958
+ 'label' => __('No', 'feed-them-social'),
3959
+ 'value' => 'no',
3960
+ ),
3961
+ array(
3962
+ 'label' => __('Yes', 'feed-them-social'),
3963
+ 'value' => 'yes',
3964
+ ),
3965
+ ),
3966
+ 'req_plugin' => 'fts_premium',
3967
+ 'short_attr' => array(
3968
+ 'attr_name' => 'popup',
3969
+ 'ifs' => 'twitter_popup',
3970
+ ),
3971
+ ),
3972
+ //******************************************
3973
+ // Facebook Load More Options
3974
+ //******************************************
3975
+ //Twitter Load More Button
3976
+ array(
3977
+ 'grouped_options_title' => __('Load More', 'feed-them-social'),
3978
+ 'option_type' => 'select',
3979
+ 'label' => __('Load More Button', 'feed-them-social'),
3980
+ 'type' => 'text',
3981
+ 'id' => 'twitter_load_more_option',
3982
+ 'name' => 'twitter_load_more_option',
3983
+ 'options' => array(
3984
+ array(
3985
+ 'label' => __('No', 'feed-them-social'),
3986
+ 'value' => 'no',
3987
+ ),
3988
+ array(
3989
+ 'label' => __('Yes', 'feed-them-social'),
3990
+ 'value' => 'yes',
3991
+ ),
3992
+ ),
3993
+ 'prem_req' => 'yes',
3994
+ 'req_plugin' => 'fts_premium',
3995
+ 'short_attr' => array(
3996
+ 'attr_name' => '',
3997
+ 'empty_error_value' => '',
3998
+ 'no_attribute' => 'yes',
3999
+
4000
+ ),
4001
+ 'sub_options' => array(
4002
+ 'sub_options_wrap_class' => 'twitter-loadmore-wrap',
4003
+ ),
4004
+ ),
4005
+ //Twitter Load More Style
4006
+ array(
4007
+ 'option_type' => 'select',
4008
+ 'label' => __('Load More Style', 'feed-them-social'),
4009
+ 'type' => 'text',
4010
+ 'id' => 'twitter_load_more_style',
4011
+ 'name' => 'twitter_load_more_style',
4012
+ 'instructional-text' => '<strong>' . __('NOTE:', 'feed-them-social') . '</strong> ' . __('The Button option will show a "Load More Posts" button under your feed. The AutoScroll option will load more posts when you reach the bottom of the feed. AutoScroll ONLY works if you\'ve filled in a Fixed Height for your feed.', 'feed-them-social'),
4013
+ 'options' => array(
4014
+ array(
4015
+ 'label' => __('Button', 'feed-them-social'),
4016
+ 'value' => 'button',
4017
+ ),
4018
+ array(
4019
+ 'label' => __('AutoScroll', 'feed-them-social'),
4020
+ 'value' => 'autoscroll',
4021
+ ),
4022
+ ),
4023
+ 'prem_req' => 'yes',
4024
+ 'req_plugin' => 'fts_premium',
4025
+ 'short_attr' => array(
4026
+ 'attr_name' => 'loadmore',
4027
+ 'ifs' => 'load_more',
4028
+ ),
4029
+ //This should be placed in the STARTING field of sub options that way wrap and instruction text is above this div (end will be in final options for div output)
4030
+ 'sub_options' => array(
4031
+ 'sub_options_wrap_class' => 'fts-twitter-load-more-options-wrap',
4032
+ ),
4033
+ 'sub_options_end' => true,
4034
+ ),
4035
+ //Twitter Page Load more Amount
4036
+ array(
4037
+ 'option_type' => 'input',
4038
+ 'label' => __('Load more Amount', 'feed-them-social') . '<br/><small>' . __('How many more posts will load at a time.', 'feed-them-social') . '</small>',
4039
+ 'type' => 'text',
4040
+ 'id' => 'twitter_loadmore_count',
4041
+ 'name' => 'twitter_loadmore_count',
4042
+ 'placeholder' => __('5 is the default number', 'feed-them-social'),
4043
+ 'value' => '',
4044
+ 'req_plugin' => 'fts_premium',
4045
+ //Relative to JS.
4046
+ 'short_attr' => array(
4047
+ 'attr_name' => 'loadmore_count',
4048
+ 'empty_error' => 'set',
4049
+ 'empty_error_value' => 'loadmore_count=5',
4050
+ 'ifs' => 'load_more',
4051
+ ),
4052
+ //This should be placed in the STARTING field of sub options that way wrap and instruction text is above this div (end will be in final options for div output)
4053
+ 'sub_options' => array(
4054
+ 'sub_options_wrap_class' => 'fts-twitter-load-more-options2-wrap',
4055
+ ),
4056
+ ),
4057
+ //Twitter Load more Button Width
4058
+ array(
4059
+ 'option_type' => 'input',
4060
+ 'label' => __('Load more Button Width', 'feed-them-social') . '<br/><small>' . __('Leave blank for auto width', 'feed-them-social') . '</small>',
4061
+ 'type' => 'text',
4062
+ 'id' => 'twitter_loadmore_button_width',
4063
+ 'name' => 'twitter_loadmore_button_width',
4064
+ 'placeholder' => '300px ' . __('for example', 'feed-them-social'),
4065
+ 'value' => '',
4066
+ 'prem_req' => 'yes',
4067
+ 'req_plugin' => 'fts_premium',
4068
+ 'or_req_plugin' => 'facebook_reviews',
4069
+ //Relative to JS.
4070
+ 'short_attr' => array(
4071
+ 'attr_name' => 'loadmore_btn_maxwidth',
4072
+ 'empty_error' => 'set',
4073
+ 'empty_error_value' => 'loadmore_btn_maxwidth=300px',
4074
+ 'ifs' => 'load_more',
4075
+ ),
4076
+ ),
4077
+ //Twitter Load more Button Margin
4078
+ array(
4079
+ 'option_type' => 'input',
4080
+ 'label' => __('Load more Button Margin', 'feed-them-social'),
4081
+ 'type' => 'text',
4082
+ 'id' => 'twitter_loadmore_button_margin',
4083
+ 'name' => 'twitter_loadmore_button_margin',
4084
+ 'placeholder' => '10px ' . __('for example', 'feed-them-social'),
4085
+ 'value' => '',
4086
+ 'req_plugin' => 'fts_premium',
4087
+ //Relative to JS.
4088
+ 'short_attr' => array(
4089
+ 'attr_name' => 'loadmore_btn_margin',
4090
+ 'empty_error' => 'set',
4091
+ 'empty_error_value' => 'loadmore_btn_margin=10px',
4092
+ 'ifs' => 'load_more',
4093
+ ),
4094
+ 'sub_options_end' => 2,
4095
+ ),
4096
+ //******************************************
4097
+ // Twitter Grid Options
4098
+ //******************************************
4099
+ // Twitter Display Posts in Grid
4100
+ array(
4101
+ 'grouped_options_title' => __('Grid', 'feed-them-social'),
4102
+ 'input_wrap_class' => 'twitter-posts-in-grid-option-wrap',
4103
+ 'option_type' => 'select',
4104
+ 'label' => __('Display Posts in Grid', 'feed-them-social'),
4105
+ 'type' => 'text',
4106
+ 'id' => 'twitter-grid-option',
4107
+ 'name' => 'twitter-grid-option',
4108
+ 'options' => array(
4109
+ 1 => array(
4110
+ 'label' => __('No', 'feed-them-social'),
4111
+ 'value' => 'no',
4112
+ ),
4113
+ 2 => array(
4114
+ 'label' => __('Yes', 'feed-them-social'),
4115
+ 'value' => 'yes',
4116
+ ),
4117
+ ),
4118
+ 'req_plugin' => 'fts_premium',
4119
+ 'or_req_plugin' => 'combine_streams',
4120
+ 'short_attr' => array(
4121
+ 'attr_name' => 'grid',
4122
+ 'empty_error' => 'set',
4123
+ 'set_operator' => '==',
4124
+ 'set_equals' => 'yes',
4125
+ 'empty_error_value' => '',
4126
+ ),
4127
+ //This should be placed in the STARTING field of sub options that way wrap and instruction text is above this div (end will be in final options for div output)
4128
+ 'sub_options' => array(
4129
+ 'sub_options_wrap_class' => 'main-grid-options-wrap',
4130
+ ),
4131
+ ),
4132
+ //Grid Column Width
4133
+ array(
4134
+ 'option_type' => 'input',
4135
+ 'label' => __('Grid Column Width', 'feed-them-social'),
4136
+ 'type' => 'text',
4137
+ 'id' => 'twitter_grid_column_width',
4138
+ 'name' => 'twitter_grid_column_width',
4139
+ 'instructional-text' => '<strong> ' . __('NOTE:', 'feed-them-social') . '</strong> ' . sprintf(__('Define the Width of each post and the Space between each post below. You must add px after any number. Learn how to make the %1$sgrid responsive%2$s.', 'feed-them-social'),
4140
+ '<a href="https://www.slickremix.com/docs/responsive-grid-css/" target="_blank">',
4141
+ '</a>'
4142
+ ),
4143
+ 'placeholder' => '310px ' . __('for example', 'feed-them-social'),
4144
+ 'value' => '',
4145
+ 'req_plugin' => 'fts_premium',
4146
+ 'or_req_plugin' => 'combine_streams',
4147
+ 'or_req_plugin_three' => 'facebook_reviews',
4148
+
4149
+ //Relative to JS.
4150
+ 'short_attr' => array(
4151
+ 'attr_name' => 'colmn_width',
4152
+ 'empty_error' => 'set',
4153
+ 'empty_error_value' => 'colmn_width=310px',
4154
+ 'ifs' => 'grid',
4155
+ ),
4156
+ //This should be placed in the STARTING field of sub options that way wrap and instruction text is above this div (end will be in final options for div output)
4157
+ 'sub_options' => array(
4158
+ 'sub_options_wrap_class' => 'fts-twitter-grid-options-wrap',
4159
+ //'sub_options_instructional_txt' => '<a href="http://feedthemsocial.com/instagram-feed-demo/" target="_blank">' . __('View demo', 'feed-them-social') . '</a> ' . __('of the Super Instagram gallery.', 'feed-them-social'),
4160
+ ),
4161
+ ),
4162
+ //Grid Spaces Between Posts
4163
+ array(
4164
+ 'option_type' => 'input',
4165
+ 'label' => __('Grid Spaces Between Posts', 'feed-them-social'),
4166
+ 'type' => 'text',
4167
+ 'id' => 'twitter_grid_space_between_posts',
4168
+ 'name' => 'twitter_grid_space_between_posts',
4169
+ 'placeholder' => '10px ' . __('for example', 'feed-them-social'),
4170
+ 'value' => '',
4171
+ 'req_plugin' => 'fts_premium',
4172
+ 'or_req_plugin' => 'combine_streams',
4173
+ 'or_req_plugin_three' => 'facebook_reviews',
4174
+ //Relative to JS.
4175
+ 'short_attr' => array(
4176
+ 'attr_name' => 'space_between_posts',
4177
+ 'empty_error' => 'set',
4178
+ 'empty_error_value' => 'space_between_posts=10px',
4179
+ 'ifs' => 'grid',
4180
+ ),
4181
+ 'sub_options_end' => 2,
4182
+ ),
4183
+ ),
4184
+ //Final Shortcode ifs
4185
+ 'shortcode_ifs' => array(
4186
+ 'twitter_popup' => array(
4187
+ 'if' => array(
4188
+ 'class' => 'select#twitter-popup-option',
4189
+ 'operator' => '==',
4190
+ 'value' => 'yes',
4191
+ ),
4192
+ ),
4193
+ 'twitter_search' => array(
4194
+ 'if' => array(
4195
+ 'class' => 'select#twitter-messages-selector',
4196
+ 'operator' => '==',
4197
+ 'value' => 'hashtag',
4198
+ ),
4199
+ ),
4200
+ 'load_more' => array(
4201
+ 'if' => array(
4202
+ 'class' => 'select#twitter_load_more_option',
4203
+ 'operator' => '==',
4204
+ 'value' => 'yes',
4205
+ ),
4206
+ ),
4207
+ 'grid' => array(
4208
+ 'if' => array(
4209
+ 'class' => 'select#twitter-grid-option',
4210
+ 'operator' => '==',
4211
+ 'value' => 'yes',
4212
+ ),
4213
+ ),
4214
+ ),
4215
+ //Generator Info
4216
+ 'generator_title' => __('Twitter Feed Shortcode', 'feed-them-social'),
4217
+ 'generator_class' => 'twitter-final-shortcode',
4218
+
4219
+ ),//End Twitter Feed
4220
+ //******************************************
4221
+ // Instagram
4222
+ //******************************************
4223
+ 'instagram' => array(
4224
+ 'section_attr_key' => 'instagram_',
4225
+ 'section_title' => __('Instagram Shortcode Generator', 'feed-them-social'),
4226
+ 'section_wrap_class' => 'fts-instagram-shortcode-form',
4227
+ //Form Info
4228
+ 'form_wrap_classes' => 'instagram-shortcode-form',
4229
+ 'form_wrap_id' => 'fts-instagram-form',
4230
+ //Token Check
4231
+ 'token_check' => array(
4232
+ array(
4233
+ 'option_name' => 'fts_instagram_custom_api_token',
4234
+ 'no_token_msg' => __('<strong>STEP 1:</strong> Please get your Access Token on the <a href="admin.php?page=fts-instagram-feed-styles-submenu-page">Instagram Options</a> page before getting started. ' . $step2_custom_message . '', 'feed-them-social'),
4235
+ ),
4236
+ ),
4237
+ //Feed Type Selection
4238
+ 'feed_type_select' => array(
4239
+ 'label' => __('Feed Type', 'feed-them-social'),
4240
+ 'select_wrap_classes' => 'instagram-gen-selection',
4241
+ 'select_classes' => '',
4242
+ 'select_name' => 'instagram-messages-selector',
4243
+ 'select_id' => 'instagram-messages-selector',
4244
+ ),
4245
+ //Feed Types and their options
4246
+ 'feeds_types' => array(
4247
+ //User Feed
4248
+ array(
4249
+ 'value' => 'user',
4250
+ 'title' => __('User Feed', 'feed-them-social'),
4251
+ ),
4252
+ //hastag Feed
4253
+ array(
4254
+ 'value' => 'hashtag',
4255
+ 'title' => __('Hashtag Feed', 'feed-them-social'),
4256
+ ),
4257
+ //location Feed
4258
+ array(
4259
+ 'value' => 'location',
4260
+ 'title' => __('Location Feed', 'feed-them-social'),
4261
+ ),
4262
+ ),
4263
+ //Feed Type Selection
4264
+ // 'conversion_input' => array(
4265
+ // 'main_wrap_class' => 'instagram-id-option-wrap',
4266
+ // 'conv_section_title' => __('Convert Instagram Name to ID', 'feed-them-social'),
4267
+ // 'instructional-text' => 'You must copy your <a href="https://www.slickremix.com/how-to-get-your-instagram-name-and-convert-to-id/" target="_blank">Instagram Name</a> and paste it in the first input below',
4268
+ // 'input_wrap_class' => 'instagram_name',
4269
+ // 'label' => __('Instagram Name (required)', 'feed-them-social'),
4270
+ // 'id' => 'convert_instagram_username',
4271
+ // 'name' => 'convert_instagram_username',
4272
+ // //Button
4273
+ // 'btn-value' => __('Convert Instagram Username', 'feed-them-social'),
4274
+ // 'onclick' => 'converter_instagram_username();',
4275
+ // ),
4276
+ // 'short_attr_final' => 'yes',
4277
+ //Inputs relative to all Feed_types of this feed. (Eliminates Duplication)[Excluded from loop when creating select]
4278
+ 'main_options' => array(
4279
+ //Instagram ID
4280
+ array(
4281
+ 'option_type' => 'input',
4282
+ 'input_wrap_class' => 'instagram_name',
4283
+ 'label' => array(
4284
+ 1 => array(
4285
+ 'text' => __('Instagram ID # (required)', 'feed-them-social'),
4286
+ 'class' => 'instagram-user-option-text',
4287
+ ),
4288
+ 2 => array(
4289
+ 'text' => __('Hashtag (required)', 'feed-them-social'),
4290
+ 'class' => 'instagram-hashtag-option-text',
4291
+ ),
4292
+ 3 => array(
4293
+ 'text' => __('Location ID (required)', 'feed-them-social'),
4294
+ 'class' => 'instagram-location-option-text',
4295
+ ),
4296
+ ),
4297
+ 'type' => 'text',
4298
+ 'id' => 'instagram_id',
4299
+ 'name' => 'instagram_id',
4300
+ 'required' => 'yes',
4301
+ 'instructional-text' => array(
4302
+ 1 => array(
4303
+ 'text' => __('<div class="fts-insta-info-plus-wrapper">If your Access Token is set on the Instagram Options page of our plugin your ID should appear below.<br/><strong>To create an additional feed</strong> go back the ', 'feed-them-social') . ' <a href="admin.php?page=fts-instagram-feed-styles-submenu-page" target="">' . __('Instagram Options', 'feed-them-social') . '</a>' . __(' and make sure you are logged into that specific Instagram account then click the button again to get a new Access Token/ID. Remember to click Save all Changes and return here.</div>', 'feed-them-social') ,
4304
+ 'class' => 'instagram-user-option-text',
4305
+ ),
4306
+ 2 => array(
4307
+ 'text' => __('Add your Hashtag below. <strong>DO NOT</strong> add the #, just the name.', 'feed-them-social'),
4308
+ 'class' => 'instagram-hashtag-option-text',
4309
+ ),
4310
+ 3 => array(
4311
+ 'text' => __('<strong>NOTE:</strong> The post count may not count proper in some location instances because private instagram photos are in the mix. We cannot pull private accounts photos in any location feed. Add your Location ID below.', 'feed-them-social'),
4312
+ 'class' => 'instagram-location-option-text',
4313
+ ),
4314
+ ),
4315
+ //Relative to JS.
4316
+ 'short_attr' => array(
4317
+ 'attr_name' => 'instagram_id',
4318
+ 'var_final_if' => 'no',
4319
+ 'empty_error' => 'yes',
4320
+ ),
4321
+ ),
4322
+ //Access Token
4323
+ array(
4324
+ 'option_type' => 'input',
4325
+ 'label' => __('Access Token (required) ', 'feed-them-social') . '<br/><small>' . __('', 'feed-them-gallery') . '</small>',
4326
+ 'type' => 'text',
4327
+ 'id' => 'insta_access_token',
4328
+ 'name' => 'insta_access_token',
4329
+ // Only needed if Prem_Req = More otherwise remove (must have array key req_plugin)
4330
+ // 'prem_req_more_msg' => '<br/><small>' . __('More than 6 Requires <a target="_blank" href="https://www.slickremix.com/downloads/feed-them-social-premium-extension/">Premium version</a>', 'feed-them-social') . '</small>',
4331
+ 'placeholder' => __('', 'feed-them-social'),
4332
+ //Relative to JS.
4333
+ 'short_attr' => array(
4334
+ 'attr_name' => 'access_token',
4335
+ 'var_final_if' => 'yes',
4336
+ 'empty_error' => 'set',
4337
+ 'empty_error_value' => '',
4338
+ ),
4339
+ ),
4340
+ //Pic Count
4341
+ array(
4342
+ 'option_type' => 'input',
4343
+ 'label' => __('# of Pics (optional)', 'feed-them-social') . $limitforpremium,
4344
+ 'type' => 'text',
4345
+ 'id' => 'pics_count',
4346
+ 'name' => 'pics_count',
4347
+ // Only needed if Prem_Req = More otherwise remove (must have array key req_plugin)
4348
+ // 'prem_req_more_msg' => '<br/><small>' . __('More than 6 Requires <a target="_blank" href="https://www.slickremix.com/downloads/feed-them-social-premium-extension/">Premium version</a>', 'feed-them-social') . '</small>',
4349
+ 'placeholder' => __('6 is the default value', 'feed-them-social'),
4350
+ //Relative to JS.
4351
+ 'short_attr' => array(
4352
+ 'attr_name' => 'pics_count',
4353
+ 'var_final_if' => 'yes',
4354
+ 'empty_error' => 'set',
4355
+ 'empty_error_value' => 'pics_count=6',
4356
+ ),
4357
+ ),
4358
+ //Feed Type
4359
+ array(
4360
+ 'option_type' => 'select',
4361
+ 'id' => 'instagram-messages-selector',
4362
+ 'no_html' => 'yes',
4363
+ //Relative to JS.
4364
+ 'short_attr' => array(
4365
+ 'attr_name' => 'type',
4366
+ ),
4367
+ ),
4368
+ //Instagram Width
4369
+ array(
4370
+ 'input_wrap_class' => 'instagram_width_option',
4371
+ 'option_type' => 'input',
4372
+ 'label' => __('Gallery Width', 'feed-them-social'),
4373
+ 'label_note' => __('Leave blank for auto height', 'feed-them-social'),
4374
+ 'type' => 'text',
4375
+ 'id' => 'instagram_page_width',
4376
+ 'name' => 'instagram_page_width',
4377
+ 'placeholder' => '50% or 450px ' . __('for example', 'feed-them-social'),
4378
+ //Relative to JS.
4379
+ 'short_attr' => array(
4380
+ 'attr_name' => 'width',
4381
+ 'var_final_if' => 'yes',
4382
+ 'empty_error' => 'set',
4383
+ //Special case: need no attribute if empty
4384
+ 'empty_error_value' => '',
4385
+ ),
4386
+ ),
4387
+ //Instagram Fixed Height
4388
+ array(
4389
+ 'input_wrap_class' => 'instagram_fixed_height_option',
4390
+ 'option_type' => 'input',
4391
+ 'label' => __('Gallery Fixed Height', 'feed-them-social') . '<br/><small>' . __('Use this option to create a scrolling feed.', 'feed-them-gallery') . '</small>',
4392
+ 'label_note' => __('Leave blank for auto height', 'feed-them-social'),
4393
+ 'type' => 'text',
4394
+ 'id' => 'instagram_page_height',
4395
+ 'name' => 'instagram_page_height',
4396
+ 'placeholder' => '450px ' . __('for example', 'feed-them-social'),
4397
+ //Relative to JS.
4398
+ 'short_attr' => array(
4399
+ 'attr_name' => 'height',
4400
+ 'var_final_if' => 'yes',
4401
+ 'empty_error' => 'set',
4402
+ //Special case: need no attribute if empty
4403
+ 'empty_error_value' => '',
4404
+ ),
4405
+ ),
4406
+ //******************************************
4407
+ // Profile Wrap
4408
+ //******************************************
4409
+ array(
4410
+ 'grouped_options_title' => __('Profile', 'feed-them-social'),
4411
+ 'option_type' => 'select',
4412
+ 'label' => __('Show Profile Info', 'feed-them-social'),
4413
+ 'type' => 'text',
4414
+ 'id' => 'instagram-profile-wrap',
4415
+ 'name' => 'instagram-profile-wrap',
4416
+ 'options' => array(
4417
+ 1 => array(
4418
+ 'label' => __('No', 'feed-them-social'),
4419
+ 'value' => 'no',
4420
+ ),
4421
+ 2 => array(
4422
+ 'label' => __('Yes', 'feed-them-social'),
4423
+ 'value' => 'yes',
4424
+ ),
4425
+ ),
4426
+ 'short_attr' => array(
4427
+ 'attr_name' => 'profile_wrap',
4428
+ ),
4429
+ 'sub_options' => array(
4430
+ 'sub_options_wrap_class' => 'main-instagram-profile-options-wrap',
4431
+ ),
4432
+ ),
4433
+ array(
4434
+ 'option_type' => 'select',
4435
+ 'label' => __('Show Profile Photo', 'feed-them-social'),
4436
+ 'type' => 'text',
4437
+ 'id' => 'instagram-profile-photo',
4438
+ 'name' => 'instagram-profile-photo',
4439
+ 'options' => array(
4440
+ 1 => array(
4441
+ 'label' => __('No', 'feed-them-social'),
4442
+ 'value' => 'no',
4443
+ ),
4444
+ 2 => array(
4445
+ 'label' => __('Yes', 'feed-them-social'),
4446
+ 'value' => 'yes',
4447
+ ),
4448
+ ),
4449
+ 'short_attr' => array(
4450
+ 'attr_name' => 'profile_photo',
4451
+ 'ifs' => 'profile_wrap',
4452
+ ),
4453
+ 'sub_options' => array(
4454
+ 'sub_options_wrap_class' => 'instagram-profile-options-wrap',
4455
+ ),
4456
+ ),
4457
+ array(
4458
+ 'option_type' => 'select',
4459
+ 'label' => __('Show Profile Stats', 'feed-them-social'),
4460
+ 'type' => 'text',
4461
+ 'id' => 'instagram-profile-stats',
4462
+ 'name' => 'instagram-profile-stats',
4463
+ 'options' => array(
4464
+ 1 => array(
4465
+ 'label' => __('No', 'feed-them-social'),
4466
+ 'value' => 'no',
4467
+ ),
4468
+ 2 => array(
4469
+ 'label' => __('Yes', 'feed-them-social'),
4470
+ 'value' => 'yes',
4471
+ ),
4472
+ ),
4473
+ 'short_attr' => array(
4474
+ 'attr_name' => 'profile_stats',
4475
+ 'ifs' => 'profile_wrap',
4476
+ ),
4477
+ ),
4478
+ array(
4479
+ 'option_type' => 'select',
4480
+ 'label' => __('Show Profile Name', 'feed-them-social'),
4481
+ 'type' => 'text',
4482
+ 'id' => 'instagram-profile-name',
4483
+ 'name' => 'instagram-profile-name',
4484
+ 'options' => array(
4485
+ 1 => array(
4486
+ 'label' => __('No', 'feed-them-social'),
4487
+ 'value' => 'no',
4488
+ ),
4489
+ 2 => array(
4490
+ 'label' => __('Yes', 'feed-them-social'),
4491
+ 'value' => 'yes',
4492
+ ),
4493
+ ),
4494
+ 'short_attr' => array(
4495
+ 'attr_name' => 'profile_name',
4496
+ 'ifs' => 'profile_wrap',
4497
+ ),
4498
+ ),
4499
+ array(
4500
+ 'option_type' => 'select',
4501
+ 'label' => __('Show Profile Description', 'feed-them-social'),
4502
+ 'type' => 'text',
4503
+ 'id' => 'instagram-profile-description',
4504
+ 'name' => 'instagram-profile-description',
4505
+ 'options' => array(
4506
+ 1 => array(
4507
+ 'label' => __('No', 'feed-them-social'),
4508
+ 'value' => 'no',
4509
+ ),
4510
+ 2 => array(
4511
+ 'label' => __('Yes', 'feed-them-social'),
4512
+ 'value' => 'yes',
4513
+ ),
4514
+ ),
4515
+ 'short_attr' => array(
4516
+ 'attr_name' => 'profile_description',
4517
+ 'ifs' => 'profile_wrap',
4518
+ ),
4519
+ 'sub_options_end' => 2,
4520
+ ),
4521
+ //******************************************
4522
+ // Super Gallery
4523
+ //******************************************
4524
+ array(
4525
+ 'grouped_options_title' => __('Gallery Options', 'feed-them-social'),
4526
+ 'option_type' => 'select',
4527
+ 'label' => __('Gallery Style', 'feed-them-social'),
4528
+ 'type' => 'text',
4529
+ 'id' => 'instagram-custom-gallery',
4530
+ 'name' => 'instagram-custom-gallery',
4531
+ 'options' => array(
4532
+ 1 => array(
4533
+ 'label' => __('New Gallery Style', 'feed-them-social'),
4534
+ 'value' => 'yes',
4535
+ ),
4536
+ 2 => array(
4537
+ 'label' => __('Classic Gallery Style', 'feed-them-social'),
4538
+ 'value' => 'no',
4539
+ ),
4540
+ ),
4541
+ 'short_attr' => array(
4542
+ 'attr_name' => 'super_gallery',
4543
+ 'ifs' => 'super_gallery',
4544
+ ),
4545
+ ),
4546
+ array(
4547
+ 'input_wrap_class' => 'fb-page-columns-option-hide',
4548
+ 'option_type' => 'select',
4549
+ 'label' => __('Number of Columns', 'feed-them-gallery'),
4550
+ 'type' => 'text',
4551
+ '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>',
4552
+ 'id' => 'fts_instagram_columns',
4553
+ 'name' => 'fts_instagram_columns',
4554
+ 'default_value' => '3',
4555
+ 'options' => array(
4556
+ array(
4557
+ 'label' => __('1', 'feed-them-social'),
4558
+ 'value' => '1',
4559
+ ),
4560
+ array(
4561
+ 'label' => __('2', 'feed-them-social'),
4562
+ 'value' => '2',
4563
+ ),
4564
+ array(
4565
+ 'label' => __('3', 'feed-them-social'),
4566
+ 'value' => '3',
4567
+ ),
4568
+ array(
4569
+ 'label' => __('4', 'feed-them-social'),
4570
+ 'value' => '4',
4571
+ ),
4572
+ array(
4573
+ 'label' => __('5', 'feed-them-social'),
4574
+ 'value' => '5',
4575
+ ),
4576
+ array(
4577
+ 'label' => __('6', 'feed-them-social'),
4578
+ 'value' => '6',
4579
+ ),
4580
+ array(
4581
+ 'label' => __('7', 'feed-them-social'),
4582
+ 'value' => '7',
4583
+ ),
4584
+ array(
4585
+ 'label' => __('8', 'feed-them-social'),
4586
+ 'value' => '8',
4587
+ )
4588
+ ),
4589
+ 'short_attr' => array(
4590
+ 'attr_name' => 'columns',
4591
+ 'ifs' => 'super_gallery',
4592
+ ),
4593
+ //This should be placed in the STARTING field of sub options that way wrap and instruction text is above this div (end will be in final options for div output)
4594
+ 'sub_options' => array(
4595
+ 'sub_options_wrap_class' => 'fts-super-instagram-options-wrap',
4596
+ ),
4597
+
4598
+ ),
4599
+ array(
4600
+ 'input_wrap_class' => 'fb-page-columns-option-hide',
4601
+ 'option_type' => 'select',
4602
+ '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>',
4603
+ 'type' => 'text',
4604
+ 'id' => 'fts_instagram_force_columns',
4605
+ 'name' => 'fts_instagram_force_columns',
4606
+ 'default_value' => 'no',
4607
+ 'options' => array(
4608
+ array(
4609
+ 'label' => __('No', 'feed-them-gallery'),
4610
+ 'value' => 'no',
4611
+ ),
4612
+ array(
4613
+ 'label' => __('Yes', 'feed-them-gallery'),
4614
+ 'value' => 'yes',
4615
+ ),
4616
+ ),
4617
+ 'short_attr' => array(
4618
+ 'attr_name' => 'force_columns',
4619
+ 'ifs' => 'super_gallery',
4620
+ ),
4621
+ ),
4622
+
4623
+ //Space between Photos
4624
+ array(
4625
+ 'option_type' => 'input',
4626
+ 'label' => __('The space between photos', 'feed-them-social'),
4627
+ 'type' => 'text',
4628
+ 'id' => 'fts-slicker-instagram-container-margin',
4629
+ 'name' => 'fts-slicker-instagram-container-margin',
4630
+ 'placeholder' => '1px',
4631
+ 'value' => '',
4632
+ 'short_attr' => array(
4633
+ 'attr_name' => 'space_between_photos',
4634
+ 'var_final_if' => 'yes',
4635
+ 'empty_error' => 'set',
4636
+ 'empty_error_value' => 'space_between_photos=1px',
4637
+ 'ifs' => 'super_gallery',
4638
+ ),
4639
+ ),
4640
+ //Icon Size
4641
+ array(
4642
+ 'option_type' => 'input',
4643
+ 'label' => __('Size of the Instagram Icon', 'feed-them-social'),
4644
+ 'label_note' => __('Visible when you hover over photo', 'feed-them-social'),
4645
+ 'type' => 'text',
4646
+ 'id' => 'fts-slicker-instagram-icon-center',
4647
+ 'name' => 'fts-slicker-instagram-icon-center',
4648
+ 'placeholder' => '65px',
4649
+ 'short_attr' => array(
4650
+ 'attr_name' => 'icon_size',
4651
+ 'var_final_if' => 'yes',
4652
+ 'empty_error' => 'set',
4653
+ 'empty_error_value' => 'icon_size=65px',
4654
+ 'ifs' => 'super_gallery',
4655
+ ),
4656
+ ),
4657
+ //Hide Date, Likes and Comments
4658
+ array(
4659
+ 'option_type' => 'select',
4660
+ 'label' => __('Date, Heart & Comment icon', 'feed-them-social'),
4661
+ 'label_note' => __('Good for image sizes under 120px', 'feed-them-social'),
4662
+ 'type' => 'text',
4663
+ 'id' => 'fts-slicker-instagram-container-hide-date-likes-comments',
4664
+ 'name' => 'fts-slicker-instagram-container-hide-date-likes-comments',
4665
+ 'options' => array(
4666
+ 1 => array(
4667
+ 'label' => __('Show', 'feed-them-social'),
4668
+ 'value' => 'no',
4669
+ ),
4670
+ 2 => array(
4671
+ 'label' => __('Hide', 'feed-them-social'),
4672
+ 'value' => 'yes',
4673
+ ),
4674
+ ),
4675
+ 'short_attr' => array(
4676
+ 'attr_name' => 'hide_date_likes_comments',
4677
+ 'ifs' => 'super_gallery',
4678
+ ),
4679
+ 'sub_options_end' => true,
4680
+ ),
4681
+ //******************************************
4682
+ // Load More
4683
+ //******************************************
4684
+ array(
4685
+ 'grouped_options_title' => __('Load More', 'feed-them-social'),
4686
+ 'option_type' => 'select',
4687
+ 'label' => __('Load more posts', 'feed-them-social'),
4688
+ 'type' => 'text',
4689
+ 'id' => 'instagram_load_more_option',
4690
+ 'name' => 'instagram_load_more_option',
4691
+ // Premium Required - yes/no/more (more allows for us to limit things by numbers, also allows for special message above option.)
4692
+ 'prem_req' => 'yes',
4693
+ 'options' => array(
4694
+ 1 => array(
4695
+ 'label' => __('No', 'feed-them-social'),
4696
+ 'value' => 'no',
4697
+ ),
4698
+ 2 => array(
4699
+ 'label' => __('Yes', 'feed-them-social'),
4700
+ 'value' => 'yes',
4701
+ ),
4702
+ ),
4703
+ 'req_plugin' => 'fts_premium',
4704
+ //Relative to JS.
4705
+ 'short_attr' => array(
4706
+ 'attr_name' => 'load_more',
4707
+ 'var_final_if' => 'no',
4708
+ 'no_attribute' => 'yes',
4709
+ ),
4710
+ ),
4711
+ //Load More Option Type
4712
+ array(
4713
+ 'option_type' => 'select',
4714
+ 'label' => __('Load more style', 'feed-them-social'),
4715
+ 'type' => 'text',
4716
+ 'id' => 'instagram_load_more_style',
4717
+ 'name' => 'instagram_load_more_style',
4718
+ 'instructional-text' => '<strong>' . __('NOTE:', 'feed-them-social') . '</strong> ' . __('The Button option will show a "Load More Posts" button under your feed. The AutoScroll option will load more posts when you reach the bottom of the feed. AutoScroll ONLY works if you\'ve filled in a Fixed Height for your feed.', 'feed-them-social'),
4719
+ 'options' => array(
4720
+ 1 => array(
4721
+ 'label' => __('Button', 'feed-them-social'),
4722
+ 'value' => 'button',
4723
+ ),
4724
+ 2 => array(
4725
+ 'label' => __('AutoScroll', 'feed-them-social'),
4726
+ 'value' => 'autoscroll',
4727
+ ),
4728
+ ),
4729
+ 'req_plugin' => 'fts_premium',
4730
+ 'short_attr' => array(
4731
+ 'attr_name' => 'loadmore',
4732
+ 'var_final_if' => 'no',
4733
+ 'var_final_value' => '',
4734
+ 'ifs' => 'load_more',
4735
+ ),
4736
+ //This should be placed in the STARTING field of sub options that way wrap and instruction text is above this div (end will be in final options for div output)
4737
+ 'sub_options' => array(
4738
+ 'sub_options_wrap_class' => 'fts-instagram-load-more-options-wrap',
4739
+ ),
4740
+ ),
4741
+ //Instagram Page Load more Amount
4742
+ array(
4743
+ 'option_type' => 'input',
4744
+ 'label' => __('Load more Amount', 'feed-them-social') . '<br/><small>' . __('How many more posts will load at a time.', 'feed-them-social') . '</small>',
4745
+ 'type' => 'text',
4746
+ 'id' => 'instagram_loadmore_count',
4747
+ 'name' => 'instagram_loadmore_count',
4748
+ 'placeholder' => __('5 is the default number', 'feed-them-social'),
4749
+ 'value' => '',
4750
+ 'req_plugin' => 'fts_premium',
4751
+ //Relative to JS.
4752
+ 'short_attr' => array(
4753
+ 'attr_name' => 'loadmore_count',
4754
+ 'empty_error' => 'set',
4755
+ 'empty_error_value' => 'loadmore_count=5',
4756
+ 'ifs' => 'load_more',
4757
+ ),
4758
+ //This should be placed in the STARTING field of sub options that way wrap and instruction text is above this div (end will be in final options for div output)
4759
+ 'sub_options' => array(
4760
+ 'sub_options_wrap_class' => 'fts-instagram-load-more-options2-wrap',
4761
+ //'sub_options_instructional_txt' => '<a href="http://feedthemsocial.com/instagram-feed-demo/" target="_blank">' . __('View demo', 'feed-them-social') . '</a> ' . __('of the Super Instagram gallery.', 'feed-them-social'),
4762
+ ),
4763
+ ),
4764
+
4765
+ //Instagram Page Load more Button Width
4766
+ array(
4767
+ 'option_type' => 'input',
4768
+ 'label' => __('Load more Button Width', 'feed-them-social') . '<br/><small>' . __('Leave blank for auto width', 'feed-them-social') . '</small>',
4769
+ 'type' => 'text',
4770
+ 'id' => 'instagram_loadmore_button_width',
4771
+ 'name' => 'instagram_loadmore_button_width',
4772
+ 'placeholder' => '300px ' . __('for example', 'feed-them-social'),
4773
+ 'value' => '',
4774
+ 'req_plugin' => 'fts_premium',
4775
+ //Relative to JS.
4776
+ 'short_attr' => array(
4777
+ 'attr_name' => 'loadmore_btn_maxwidth',
4778
+ 'empty_error' => 'set',
4779
+ 'empty_error_value' => 'loadmore_btn_maxwidth=300px',
4780
+ 'ifs' => 'load_more',
4781
+ ),
4782
+ ),
4783
+ //Facebook Page Load more Button Margin
4784
+ array(
4785
+ 'option_type' => 'input',
4786
+ 'label' => __('Load more Button Margin', 'feed-them-social'),
4787
+ 'type' => 'text',
4788
+ 'id' => 'instagram_loadmore_button_margin',
4789
+ 'name' => 'instagram_loadmore_button_margin',
4790
+ 'placeholder' => '10px ' . __('for example', 'feed-them-social'),
4791
+ 'value' => '',
4792
+ 'req_plugin' => 'fts_premium',
4793
+ //Relative to JS.
4794
+ 'short_attr' => array(
4795
+ 'attr_name' => 'loadmore_btn_margin',
4796
+ 'empty_error' => 'set',
4797
+ 'empty_error_value' => 'loadmore_btn_margin=10px',
4798
+ 'ifs' => 'load_more',
4799
+ ),
4800
+ 'sub_options_end' => 2,
4801
+ ),
4802
+ //Pop Up Option
4803
+ array(
4804
+ 'grouped_options_title' => __('Popup', 'feed-them-social'),
4805
+ 'option_type' => 'select',
4806
+ 'label' => __('Display Photos & Videos in Popup', 'feed-them-social'),
4807
+ 'type' => 'text',
4808
+ 'id' => 'instagram_popup_option',
4809
+ 'name' => 'instagram_popup_option',
4810
+ 'options' => array(
4811
+ 1 => array(
4812
+ 'label' => __('No', 'feed-them-social'),
4813
+ 'value' => 'no',
4814
+ ),
4815
+ 2 => array(
4816
+ 'label' => __('Yes', 'feed-them-social'),
4817
+ 'value' => 'yes',
4818
+ ),
4819
+ ),
4820
+ 'req_plugin' => 'fts_premium',
4821
+ 'short_attr' => array(
4822
+ 'attr_name' => 'popup',
4823
+ ),
4824
+ ),
4825
+ ),
4826
+ //Final Shortcode ifs
4827
+ 'shortcode_ifs' => array(
4828
+ 'profile_wrap' => array(
4829
+ 'if' => array(
4830
+ 'class' => 'select#instagram-profile-wrap',
4831
+ 'operator' => '==',
4832
+ 'value' => 'yes',
4833
+ ),
4834
+ ),
4835
+ 'super_gallery' => array(
4836
+ 'if' => array(
4837
+ 'class' => 'select#instagram-custom-gallery',
4838
+ 'operator' => '==',
4839
+ 'value' => 'yes',
4840
+ ),
4841
+ ),
4842
+ 'load_more' => array(
4843
+ 'if' => array(
4844
+ 'class' => 'select#instagram_load_more_option',
4845
+ 'operator' => '==',
4846
+ 'value' => 'yes',
4847
+ ),
4848
+ ),
4849
+ ),
4850
+ //Generator Info
4851
+ 'generator_title' => __('Instagram Feed Shortcode', 'feed-them-social'),
4852
+ 'generator_class' => 'instagram-final-shortcode',
4853
+ ),//End Instagram Feed
4854
+ );
4855
+
4856
+ echo $fts_functions->fts_settings_html_form(false, $feed_settings_array, $required_plugins);
4857
+ ?>
4858
+
4859
+ </section>
4860
+ </div> <!-- #fts-tab-content1 -->
4861
+
4862
+ <div id="fts-tab-content2"
4863
+ class="fts-tab-content fts-hide-me <?php if (isset($_GET['tab']) && $_GET['tab'] == 'global_options') {
4864
+ echo ' pane-active';
4865
+ } ?>">
4866
+ <section>
4867
+ <div class="feed-them-clear-cache">
4868
+ <h2><?php _e('Clear All Cache Options', 'feed-them-social'); ?></h2>
4869
+ <div class="use-of-plugin"><?php _e('Please Clear Cache if you have changed a Feed Them Social Shortcode. This will Allow you to see the changes right away.', 'feed-them-social'); ?></div>
4870
+ <?php if (isset($_GET['cache']) && $_GET['cache'] == 'clearcache') {
4871
+ echo '<div class="feed-them-clear-cache-text">' . $fts_functions->feed_them_clear_cache() . '</div>';
4872
+ }
4873
+ isset($ftsDevModeCache) ? $ftsDevModeCache : "";
4874
+ isset($ftsAdminBarMenu) ? $ftsAdminBarMenu : "";
4875
+ $ftsDevModeCache = get_option('fts_clear_cache_developer_mode') == TRUE ? get_option('fts_clear_cache_developer_mode') : '900';
4876
+ $ftsAdminBarMenu = get_option('fts_admin_bar_menu');
4877
+ ?>
4878
+
4879
+ <form method="post" action="?page=feed-them-settings-page&cache=clearcache&tab=global_options">
4880
+ <input class="feed-them-social-admin-submit-btn" type="submit" value="<?php _e('Clear All FTS Feeds Cache', 'feed-them-social'); ?>"/>
4881
+ </form>
4882
+ </div><!--/feed-them-clear-cache-->
4883
+ <!-- custom option for padding -->
4884
+ <form method="post" class="fts-color-settings-admin-form" action="options.php">
4885
+ <p>
4886
+ <label><?php _e('Cache Time', 'feed-them-social'); ?></label>
4887
+ <select id="fts_clear_cache_developer_mode" name="fts_clear_cache_developer_mode">
4888
+ <option value="" ><?php _e('Please choose an option', 'feed-them-social'); ?></option>
4889
+ <option value="86400" <?php if ($ftsDevModeCache == '86400') echo 'selected="selected"'; ?>><?php _e('1 Day (Suggested Default)', 'feed-them-social'); ?></option>
4890
+ <option value="172800" <?php if ($ftsDevModeCache == '172800') echo 'selected="selected"'; ?>><?php _e('2 Days', 'feed-them-social'); ?></option>
4891
+ <option value="259200" <?php if ($ftsDevModeCache == '259200') echo 'selected="selected"'; ?>><?php _e('3 Days', 'feed-them-social'); ?></option>
4892
+ <option value="604800" <?php if ($ftsDevModeCache == '604800') echo 'selected="selected"'; ?>><?php _e('1 Week', 'feed-them-social'); ?></option>
4893
+ <option value="1209600" <?php if ($ftsDevModeCache == '1209600') echo 'selected="selected"'; ?>><?php _e('2 Weeks', 'feed-them-social'); ?></option>
4894
+ <option value="1" <?php if ($ftsDevModeCache == '1') echo 'selected="selected"'; ?>><?php _e('(Developers Only) Clear cache on every page load', 'feed-them-social'); ?></option>
4895
+ </select>
4896
+ </p>
4897
+ <label><?php _e('Admin Bar', 'feed-them-social'); ?></label>
4898
+ <select id="fts_admin_bar_menu" name="fts_admin_bar_menu">
4899
+ <option value="show-admin-bar-menu" <?php if ($ftsAdminBarMenu == 'show-admin-bar-menu') echo 'selected="selected"'; ?>><?php _e('Show Admin Bar Menu', 'feed-them-social'); ?></option>
4900
+ <option value="hide-admin-bar-menu" <?php if ($ftsAdminBarMenu == 'hide-admin-bar-menu') echo 'selected="selected"'; ?>><?php _e('Hide Admin Bar Menu', 'feed-them-social'); ?></option>
4901
+ </select>
4902
+ <div class="feed-them-custom-css">
4903
+ <?php // get our registered settings from the fts functions
4904
+ settings_fields('feed-them-social-settings'); ?>
4905
+ <?php
4906
+ isset($ftsDateTimeFormat) ? $ftsDateTimeFormat : "";
4907
+ isset($ftsTimezone) ? $ftsTimezone : "";
4908
+ isset($ftsCustomDate) ? $ftsCustomDate : "";
4909
+ isset($ftsCustomTime) ? $ftsCustomTime : "";
4910
+ $ftsDateTimeFormat = get_option('fts-date-and-time-format');
4911
+ $ftsTimezone = get_option('fts-timezone');
4912
+ $ftsCustomDate = get_option('date_format');
4913
+ $ftsCustomTime = get_option('time_format');
4914
+ $ftsCustomTimezone = get_option('fts-timezone') ? get_option('fts-timezone') : "America/Los_Angeles";
4915
+ date_default_timezone_set($ftsCustomTimezone);
4916
+
4917
+ ?>
4918
+ <div style="float:left; max-width:400px; margin-right:30px;">
4919
+ <h2><?php _e('FaceBook & Twitter Date Format', 'feed-them-social'); ?></h2>
4920
+
4921
+ <fieldset>
4922
+ <select id="fts-date-and-time-format" name="fts-date-and-time-format">
4923
+ <option value="l, F jS, Y \a\t g:ia" <?php if ($ftsDateTimeFormat == 'l, F jS, Y \a\t g:ia') echo 'selected="selected"'; ?>><?php echo date('l, F jS, Y \a\t g:ia'); ?></option>
4924
+ <option value="F j, Y \a\t g:ia" <?php if ($ftsDateTimeFormat == 'F j, Y \a\t g:ia') echo 'selected="selected"'; ?>><?php echo date('F j, Y \a\t g:ia'); ?></option>
4925
+ <option value="F j, Y g:ia" <?php if ($ftsDateTimeFormat == 'F j, Y g:ia') echo 'selected="selected"'; ?>><?php echo date('F j, Y g:ia'); ?></option>
4926
+ <option value="F, Y \a\t g:ia" <?php if ($ftsDateTimeFormat == 'F, Y \a\t g:ia') echo 'selected="selected"'; ?>><?php echo date('F, Y \a\t g:ia'); ?></option>
4927
+ <option value="M j, Y @ g:ia" <?php if ($ftsDateTimeFormat == 'M j, Y @ g:ia') echo 'selected="selected"'; ?>><?php echo date('M j, Y @ g:ia'); ?></option>
4928
+ <option value="M j, Y @ G:i" <?php if ($ftsDateTimeFormat == 'M j, Y @ G:i') echo 'selected="selected"'; ?>><?php echo date('M j, Y @ G:i'); ?></option>
4929
+ <option value="m/d/Y \a\t g:ia" <?php if ($ftsDateTimeFormat == 'm/d/Y \a\t g:ia') echo 'selected="selected"'; ?>><?php echo date('m/d/Y \a\t g:ia'); ?></option>
4930
+ <option value="m/d/Y @ G:i" <?php if ($ftsDateTimeFormat == 'm/d/Y @ G:i') echo 'selected="selected"'; ?>><?php echo date('m/d/Y @ G:i'); ?></option>
4931
+ <option value="d/m/Y \a\t g:ia" <?php if ($ftsDateTimeFormat == 'd/m/Y \a\t g:ia') echo 'selected="selected"'; ?>><?php echo date('d/m/Y \a\t g:ia'); ?></option>
4932
+ <option value="d/m/Y @ G:i" <?php if ($ftsDateTimeFormat == 'd/m/Y @ G:i') echo 'selected="selected"'; ?>><?php echo date('d/m/Y @ G:i'); ?></option>
4933
+ <option value="Y/m/d \a\t g:ia" <?php if ($ftsDateTimeFormat == 'Y/m/d \a\t g:ia') echo 'selected="selected"'; ?>><?php echo date('Y/m/d \a\t g:ia'); ?></option>
4934
+ <option value="Y/m/d @ G:i" <?php if ($ftsDateTimeFormat == 'Y/m/d @ G:i') echo 'selected="selected"'; ?>><?php echo date('Y/m/d @ G:i'); ?></option>
4935
+ <option value="one-day-ago" <?php if ($ftsDateTimeFormat == 'one-day-ago') echo 'selected="selected"'; ?>><?php _e('1 day ago', 'feed-them-social'); ?></option>
4936
+ <option value="fts-custom-date" <?php if ($ftsDateTimeFormat == 'fts-custom-date') echo 'selected="selected"'; ?>><?php _e('Use Custom Date and Time Option Below', 'feed-them-social'); ?></option>
4937
+ </select>
4938
+ </fieldset>
4939
+
4940
+ <?php
4941
+ //Date translate
4942
+ $fts_language_second = get_option('fts_language_second', 'second');
4943
+ $fts_language_seconds = get_option('fts_language_seconds', 'seconds');
4944
+ $fts_language_minute = get_option('fts_language_minute', 'minute');
4945
+ $fts_language_minutes = get_option('fts_language_minutes', 'minutes');
4946
+ $fts_language_hour = get_option('fts_language_hour', 'hour');
4947
+ $fts_language_hours = get_option('fts_language_hours', 'hours');
4948
+ $fts_language_day = get_option('fts_language_day', 'day');
4949
+ $fts_language_days = get_option('fts_language_days', 'days');
4950
+ $fts_language_week = get_option('fts_language_week', 'week');
4951
+ $fts_language_weeks = get_option('fts_language_weeks', 'weeks');
4952
+ $fts_language_month = get_option('fts_language_month', 'month');
4953
+ $fts_language_months = get_option('fts_language_months', 'months');
4954
+ $fts_language_year = get_option('fts_language_year', 'year');
4955
+ $fts_language_years = get_option('fts_language_years', 'years');
4956
+ $fts_language_ago = get_option('fts_language_ago', 'ago');
4957
+ ?>
4958
+
4959
+ <div class="custom_time_ago_wrap" style="display:none;">
4960
+ <h2><?php _e('Translate words for 1 day ago option.', 'feed-them-social'); ?></h2>
4961
+ <label for="fts_language_second"><?php _e("second"); ?></label>
4962
+ <input name="fts_language_second" type="text" value="<?php echo stripslashes(esc_attr($fts_language_second)); ?>" size="25"/>
4963
+ <br/>
4964
+ <label for="fts_language_seconds"><?php _e("seconds"); ?></label>
4965
+ <input name="fts_language_seconds" type="text" value="<?php echo stripslashes(esc_attr($fts_language_seconds)); ?>" size="25"/>
4966
+ <br/>
4967
+ <label for="fts_language_minute"><?php _e("minute"); ?></label>
4968
+ <input name="fts_language_minute" type="text" value="<?php echo stripslashes(esc_attr($fts_language_minute)); ?>" size="25"/>
4969
+ <br/>
4970
+ <label for="fts_language_minutes"><?php _e("minutes"); ?></label>
4971
+ <input name="fts_language_minutes" type="text" value="<?php echo stripslashes(esc_attr($fts_language_minutes)); ?>" size="25"/>
4972
+ <br/>
4973
+ <label for="fts_language_hour"><?php _e("hour"); ?></label>
4974
+ <input name="fts_language_hour" type="text" value="<?php echo stripslashes(esc_attr($fts_language_hour)); ?>" size="25"/>
4975
+ <br/>
4976
+ <label for="fts_language_hours"><?php _e("hours"); ?></label>
4977
+ <input name="fts_language_hours" type="text" value="<?php echo stripslashes(esc_attr($fts_language_hours)); ?>" size="25"/>
4978
+ <br/>
4979
+ <label for="fts_language_day"><?php _e("day"); ?></label>
4980
+ <input name="fts_language_day" type="text" value="<?php echo stripslashes(esc_attr($fts_language_day)); ?>" size="25"/>
4981
+ <br/>
4982
+ <label for="fts_language_days"><?php _e("days"); ?></label>
4983
+ <input name="fts_language_days" type="text" value="<?php echo stripslashes(esc_attr($fts_language_days)); ?>" size="25"/>
4984
+ <br/>
4985
+ <label for="fts_language_week"><?php _e("week"); ?></label>
4986
+ <input name="fts_language_week" type="text" value="<?php echo stripslashes(esc_attr($fts_language_week)); ?>" size="25"/>
4987
+ <br/>
4988
+ <label for="fts_language_weeks"><?php _e("weeks"); ?></label>
4989
+ <input name="fts_language_weeks" type="text" value="<?php echo stripslashes(esc_attr($fts_language_weeks)); ?>" size="25"/>
4990
+ <br/>
4991
+ <label for="fts_language_month"><?php _e("month"); ?></label>
4992
+ <input name="fts_language_month" type="text" value="<?php echo stripslashes(esc_attr($fts_language_month)); ?>" size="25"/>
4993
+ <br/>
4994
+ <label for="fts_language_months"><?php _e("months"); ?></label>
4995
+ <input name="fts_language_months" type="text" value="<?php echo stripslashes(esc_attr($fts_language_months)); ?>" size="25"/>
4996
+ <br/>
4997
+ <label for="fts_language_year"><?php _e("year"); ?></label>
4998
+ <input name="fts_language_year" type="text" value="<?php echo stripslashes(esc_attr($fts_language_year)); ?>" size="25"/>
4999
+ <br/>
5000
+ <label for="fts_language_years"><?php _e("years"); ?></label>
5001
+ <input name="fts_language_years" type="text" value="<?php echo stripslashes(esc_attr($fts_language_years)); ?>" size="25"/>
5002
+ <br/>
5003
+ <label for="fts_language_ago"><?php _e("ago"); ?></label>
5004
+ <input name="fts_language_ago" type="text" value="<?php echo stripslashes(esc_attr($fts_language_ago)); ?>" size="25"/>
5005
+
5006
+ </div>
5007
+ <script>
5008
+ // change the feed type 'how to' message when a feed type is selected
5009
+
5010
+ <?php if ($ftsDateTimeFormat == 'one-day-ago'){ ?>
5011
+ jQuery('.custom_time_ago_wrap').show();
5012
+ <?php } ?>
5013
+ jQuery('#fts-date-and-time-format').change(function () {
5014
+
5015
+ var ftsTimeAgo = jQuery("select#fts-date-and-time-format").val();
5016
+ if (ftsTimeAgo == 'one-day-ago') {
5017
+ jQuery('.custom_time_ago_wrap').show();
5018
+ }
5019
+ else {
5020
+ jQuery('.custom_time_ago_wrap').hide();
5021
+ }
5022
+
5023
+ });
5024
+
5025
+ </script>
5026
+ <h2 style="border-top:0px; margin-bottom:4px !important;"><?php _e('Custom Date and Time', 'feed-them-social'); ?></h2>
5027
+ <div><?php if ($ftsCustomDate !== '' || $ftsCustomTime !== '') {
5028
+ echo date(get_option('fts-custom-date') . ' ' . get_option('fts-custom-time'));
5029
+ } ?></div>
5030
+ <p style="margin:12px 0 !important;">
5031
+ <input name="fts-custom-date" style="max-width:105px;" class="fts-color-settings-admin-input" id="fts-custom-date" placeholder="<?php _e('Date', 'feed-them-social'); ?>" value="<?php echo get_option('fts-custom-date'); ?>"/>
5032
+ <input name="fts-custom-time" style="max-width:75px;" class="fts-color-settings-admin-input" id="fts-custom-time" placeholder="<?php _e('Time', 'feed-them-social'); ?>" value="<?php echo get_option('fts-custom-time'); ?>"/>
5033
+ </p>
5034
+ <div><?php _e('This will override the date and time format above.', 'feed-them-social'); ?>
5035
+ <br/><a href="https://codex.wordpress.org/Formatting_Date_and_Time" target="_blank"><?php _e('Options for custom date and time formatting.', 'feed-them-social'); ?></a>
5036
+ </div>
5037
+ </div>
5038
+ <div style="float:left; max-width:330px; margin-right: 30px;">
5039
+ <h2><?php _e('TimeZone', 'feed-them-social'); ?></h2>
5040
+ <fieldset>
5041
+ <select id="fts-timezone" name="fts-timezone">
5042
+ <option value="Pacific/Midway" <?php if ($ftsTimezone == "Pacific/Midway") echo 'selected="selected"' ?> ><?php _e('(GMT-11:00) Midway Island, Samoa', 'feed-them-social'); ?></option>
5043
+
5044
+ <option value="America/Adak" <?php if ($ftsTimezone == "America/Adak") echo 'selected="selected"' ?> ><?php _e('(GMT-10:00) Hawaii-Aleutian', 'feed-them-social'); ?></option>
5045
+
5046
+ <option value="Etc/GMT+10" <?php if ($ftsTimezone == "Etc/GMT+10") echo 'selected="selected"' ?> ><?php _e('(GMT-10:00) Hawaii', 'feed-them-social'); ?></option>
5047
+
5048
+ <option value="Pacific/Marquesas" <?php if ($ftsTimezone == "Pacific/Marquesas") echo 'selected="selected"' ?> ><?php _e('(GMT-09:30) Marquesas Islands', 'feed-them-social'); ?></option>
5049
+
5050
+ <option value="Pacific/Gambier" <?php if ($ftsTimezone == "Pacific/Gambier") echo 'selected="selected"' ?> ><?php _e('(GMT-09:00) Gambier Islands', 'feed-them-social'); ?></option>
5051
+
5052
+ <option value="America/Anchorage" <?php if ($ftsTimezone == "America/Anchorage") echo 'selected="selected"' ?> ><?php _e('(GMT-09:00) Alaska', 'feed-them-social'); ?></option>
5053
+
5054
+ <option value="America/Ensenada" <?php if ($ftsTimezone == "America/Ensenada") echo 'selected="selected"' ?> ><?php _e('(GMT-08:00) Tijuana, Baja California', 'feed-them-social'); ?></option>
5055
+
5056
+ <option value="Etc/GMT+8" <?php if ($ftsTimezone == "Etc/GMT+8") echo 'selected="selected"' ?> ><?php _e('(GMT-08:00) Pitcairn Islands', 'feed-them-social'); ?></option>
5057
+
5058
+ <option value="America/Los_Angeles" <?php if ($ftsTimezone == "America/Los_Angeles") echo 'selected="selected"' ?> ><?php _e('(GMT-08:00) Pacific Time (US & Canada)', 'feed-them-social'); ?></option>
5059
+
5060
+ <option value="America/Denver" <?php if ($ftsTimezone == "America/Denver") echo 'selected="selected"' ?> ><?php _e('(GMT-07:00) Mountain Time (US & Canada)', 'feed-them-social'); ?></option>
5061
+
5062
+ <option value="America/Chihuahua" <?php if ($ftsTimezone == "America/Chihuahua") echo 'selected="selected"' ?> ><?php _e('(GMT-07:00) Chihuahua, La Paz, Mazatlan', 'feed-them-social'); ?></option>
5063
+
5064
+ <option value="America/Dawson_Creek" <?php if ($ftsTimezone == "America/Dawson_Creek") echo 'selected="selected"' ?> ><?php _e('(GMT-07:00) Arizona', 'feed-them-social'); ?></option>
5065
+
5066
+ <option value="America/Belize" <?php if ($ftsTimezone == "America/Belize") echo 'selected="selected"' ?> ><?php _e('(GMT-06:00) Saskatchewan, Central America', 'feed-them-social'); ?></option>
5067
+
5068
+ <option value="America/Cancun" <?php if ($ftsTimezone == "America/Cancun") echo 'selected="selected"' ?> ><?php _e('(GMT-06:00) Guadalajara, Mexico City, Monterrey', 'feed-them-social'); ?></option>
5069
+
5070
+ <option value="Chile/EasterIsland" <?php if ($ftsTimezone == "Chile/EasterIsland") echo 'selected="selected"' ?> ><?php _e('(GMT-06:00) Easter Island', 'feed-them-social'); ?></option>
5071
+
5072
+ <option value="America/Chicago" <?php if ($ftsTimezone == "America/Chicago") echo 'selected="selected"' ?> ><?php _e('(GMT-06:00) Central Time (US & Canada)', 'feed-them-social'); ?></option>
5073
+
5074
+ <option value="America/New_York" <?php if ($ftsTimezone == "America/New_York") echo 'selected="selected"' ?> ><?php _e('(GMT-05:00) Eastern Time (US & Canada)', 'feed-them-social'); ?></option>
5075
+
5076
+ <option value="America/Havana" <?php if ($ftsTimezone == "America/Havana") echo 'selected="selected"' ?> ><?php _e('(GMT-05:00) Cuba', 'feed-them-social'); ?></option>
5077
+
5078
+ <option value="America/Bogota" <?php if ($ftsTimezone == "America/Bogota") echo 'selected="selected"' ?> ><?php _e('(GMT-05:00) Bogota, Lima, Quito, Rio Branco', 'feed-them-social'); ?></option>
5079
+
5080
+ <option value="America/Caracas" <?php if ($ftsTimezone == "America/Caracas") echo 'selected="selected"' ?> ><?php _e('(GMT-04:30) Caracas', 'feed-them-social'); ?></option>
5081
+
5082
+ <option value="America/Santiago" <?php if ($ftsTimezone == "America/Santiago") echo 'selected="selected"' ?> ><?php _e('(GMT-04:00) Santiago', 'feed-them-social'); ?></option>
5083
+
5084
+ <option value="America/La_Paz" <?php if ($ftsTimezone == "America/La_Paz") echo 'selected="selected"' ?> ><?php _e('(GMT-04:00) La Paz', 'feed-them-social'); ?></option>
5085
+
5086
+ <option value="Atlantic/Stanley" <?php if ($ftsTimezone == "Atlantic/Stanley") echo 'selected="selected"' ?> ><?php _e('(GMT-04:00) Faukland Islands', 'feed-them-social'); ?></option>
5087
+
5088
+ <option value="America/Campo_Grande" <?php if ($ftsTimezone == "America/Campo_Grande") echo 'selected="selected"' ?> ><?php _e('(GMT-04:00) Brazil', 'feed-them-social'); ?></option>
5089
+
5090
+ <option value="America/Goose_Bay" <?php if ($ftsTimezone == "America/Goose_Bay") echo 'selected="selected"' ?> ><?php _e('(GMT-04:00) Atlantic Time (Goose Bay)', 'feed-them-social'); ?></option>
5091
+
5092
+ <option value="America/Glace_Bay" <?php if ($ftsTimezone == "America/Glace_Bay") echo 'selected="selected"' ?> ><?php _e('(GMT-04:00) Atlantic Time (Canada)', 'feed-them-social'); ?></option>
5093
+
5094
+ <option value="America/St_Johns" <?php if ($ftsTimezone == "America/St_Johns") echo 'selected="selected"' ?> ><?php _e('(GMT-03:30) Newfoundland', 'feed-them-social'); ?></option>
5095
+
5096
+ <option value="America/Araguaina" <?php if ($ftsTimezone == "America/Araguaina") echo 'selected="selected"' ?> ><?php _e('(GMT-03:00) UTC-3', 'feed-them-social'); ?></option>
5097
+
5098
+ <option value="America/Montevideo" <?php if ($ftsTimezone == "America/Montevideo") echo 'selected="selected"' ?> ><?php _e('(GMT-03:00) Montevideo', 'feed-them-social'); ?></option>
5099
+
5100
+ <option value="America/Miquelon" <?php if ($ftsTimezone == "America/Miquelon") echo 'selected="selected"' ?> ><?php _e('(GMT-03:00) Miquelon, St. Pierre', 'feed-them-social'); ?></option>
5101
+
5102
+ <option value="America/Godthab" <?php if ($ftsTimezone == "America/Godthab") echo 'selected="selected"' ?> ><?php _e('(GMT-03:00) Greenland', 'feed-them-social'); ?></option>
5103
+
5104
+ <option value="America/Argentina/Buenos_Aires" <?php if ($ftsTimezone == "America/Argentina/Buenos_Aires") echo 'selected="selected"' ?> ><?php _e('(GMT-03:00) Buenos Aires', 'feed-them-social'); ?></option>
5105
+
5106
+ <option value="America/Sao_Paulo" <?php if ($ftsTimezone == "America/Sao_Paulo") echo 'selected="selected"' ?> ><?php _e('(GMT-03:00) Brasilia', 'feed-them-social'); ?></option>
5107
+
5108
+ <option value="America/Noronha" <?php if ($ftsTimezone == "America/Noronha") echo 'selected="selected"' ?> ><?php _e('(GMT-02:00) Mid-Atlantic', 'feed-them-social'); ?></option>
5109
+
5110
+ <option value="Atlantic/Cape_Verde" <?php if ($ftsTimezone == "Atlantic/Cape_Verde") echo 'selected="selected"' ?> ><?php _e('(GMT-01:00) Cape Verde Is.', 'feed-them-social'); ?></option>
5111
+
5112
+ <option value="Atlantic/Azores" <?php if ($ftsTimezone == "Atlantic/Azores") echo 'selected="selected"' ?> ><?php _e('(GMT-01:00) Azores', 'feed-them-social'); ?></option>
5113
+
5114
+ <option value="Europe/Belfast" <?php if ($ftsTimezone == "Europe/Belfast") echo 'selected="selected"' ?> ><?php _e('(GMT) Greenwich Mean Time : Belfast', 'feed-them-social'); ?></option>
5115
+
5116
+ <option value="Europe/Dublin" <?php if ($ftsTimezone == "Europe/Dublin") echo 'selected="selected"' ?> ><?php _e('(GMT) Greenwich Mean Time : Dublin', 'feed-them-social'); ?></option>
5117
+
5118
+ <option value="Europe/Lisbon" <?php if ($ftsTimezone == "Europe/Lisbon") echo 'selected="selected"' ?> ><?php _e('(GMT) Greenwich Mean Time : Lisbon', 'feed-them-social'); ?></option>
5119
+
5120
+ <option value="Europe/London" <?php if ($ftsTimezone == "Europe/London") echo 'selected="selected"' ?> ><?php _e('(GMT) Greenwich Mean Time : London', 'feed-them-social'); ?></option>
5121
+
5122
+ <option value="Africa/Abidjan" <?php if ($ftsTimezone == "Africa/Abidjan") echo 'selected="selected"' ?> ><?php _e('(GMT) Monrovia, Reykjavik', 'feed-them-social'); ?></option>
5123
+
5124
+ <option value="Europe/Amsterdam" <?php if ($ftsTimezone == "Europe/Amsterdam") echo 'selected="selected"' ?> ><?php _e('(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna', 'feed-them-social'); ?></option>
5125
+
5126
+ <option value="Europe/Belgrade" <?php if ($ftsTimezone == "Europe/Belgrade") echo 'selected="selected"' ?> ><?php _e('(GMT+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague', 'feed-them-social'); ?></option>
5127
+
5128
+ <option value="Europe/Brussels" <?php if ($ftsTimezone == "Europe/Brussels") echo 'selected="selected"' ?> ><?php _e('(GMT+01:00) Brussels, Copenhagen, Madrid, Paris', 'feed-them-social'); ?></option>
5129
+
5130
+ <option value="Africa/Algiers" <?php if ($ftsTimezone == "Africa/Algiers") echo 'selected="selected"' ?> ><?php _e('(GMT+01:00) West Central Africa', 'feed-them-social'); ?></option>
5131
+
5132
+ <option value="Africa/Windhoek" <?php if ($ftsTimezone == "Africa/Windhoek") echo 'selected="selected"' ?> ><?php _e('(GMT+01:00) Windhoek', 'feed-them-social'); ?></option>
5133
+
5134
+ <option value="Asia/Beirut" <?php if ($ftsTimezone == "Asia/Beirut") echo 'selected="selected"' ?> ><?php _e('(GMT+02:00) Beirut', 'feed-them-social'); ?></option>
5135
+
5136
+ <option value="Africa/Cairo" <?php if ($ftsTimezone == "Africa/Cairo") echo 'selected="selected"' ?> ><?php _e('(GMT+02:00) Cairo', 'feed-them-social'); ?></option>
5137
+
5138
+ <option value="Asia/Gaza" <?php if ($ftsTimezone == "Asia/Gaza") echo 'selected="selected"' ?> ><?php _e('(GMT+02:00) Gaza', 'feed-them-social'); ?></option>
5139
+
5140
+ <option value="Africa/Blantyre" <?php if ($ftsTimezone == "Africa/Blantyre") echo 'selected="selected"' ?> ><?php _e('(GMT+02:00) Harare, Pretoria', 'feed-them-social'); ?></option>
5141
+
5142
+ <option value="Asia/Jerusalem" <?php if ($ftsTimezone == "Asia/Jerusalem") echo 'selected="selected"' ?> ><?php _e('(GMT+02:00) Jerusalem', 'feed-them-social'); ?></option>
5143
+
5144
+ <option value="Europe/Minsk" <?php if ($ftsTimezone == "Europe/Minsk") echo 'selected="selected"' ?> ><?php _e('(GMT+02:00) Minsk', 'feed-them-social'); ?></option>
5145
+
5146
+ <option value="Asia/Damascus" <?php if ($ftsTimezone == "Asia/Damascus") echo 'selected="selected"' ?> ><?php _e('(GMT+02:00) Syria', 'feed-them-social'); ?></option>
5147
+
5148
+ <option value="Europe/Moscow" <?php if ($ftsTimezone == "Europe/Moscow") echo 'selected="selected"' ?> ><?php _e('(GMT+03:00) Moscow, St. Petersburg, Volgograd', 'feed-them-social'); ?></option>
5149
+
5150
+ <option value="Africa/Addis_Ababa" <?php if ($ftsTimezone == "Africa/Addis_Ababa") echo 'selected="selected"' ?> ><?php _e('(GMT+03:00) Nairobi', 'feed-them-social'); ?></option>
5151
+
5152
+ <option value="Asia/Tehran" <?php if ($ftsTimezone == "Asia/Tehran") echo 'selected="selected"' ?> ><?php _e('(GMT+03:30) Tehran', 'feed-them-social'); ?></option>
5153
+
5154
+ <option value="Asia/Dubai" <?php if ($ftsTimezone == "Asia/Dubai") echo 'selected="selected"' ?> ><?php _e('(GMT+04:00) Abu Dhabi, Muscat', 'feed-them-social'); ?></option>
5155
+
5156
+ <option value="Asia/Yerevan" <?php if ($ftsTimezone == "Asia/Yerevan") echo 'selected="selected"' ?> ><?php _e('(GMT+04:00) Yerevan', 'feed-them-social'); ?></option>
5157
+
5158
+ <option value="Asia/Kabul" <?php if ($ftsTimezone == "Asia/Kabul") echo 'selected="selected"' ?> ><?php _e('(GMT+04:30) Kabul', 'feed-them-social'); ?></option>
5159
+
5160
+ <option value="Asia/Yekaterinburg" <?php if ($ftsTimezone == "Asia/Yekaterinburg") echo 'selected="selected"' ?> ><?php _e('(GMT+05:00) Ekaterinburg', 'feed-them-social'); ?></option>
5161
+
5162
+ <option value="Asia/Tashkent" <?php if ($ftsTimezone == "Asia/Tashkent") echo 'selected="selected"' ?> ><?php _e('(GMT+05:00) Tashkent', 'feed-them-social'); ?></option>
5163
+
5164
+ <option value="Asia/Kolkata" <?php if ($ftsTimezone == "Asia/Kolkata") echo 'selected="selected"' ?> ><?php _e('(GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi', 'feed-them-social'); ?></option>
5165
+
5166
+ <option value="Asia/Katmandu" <?php if ($ftsTimezone == "Asia/Katmandu") echo 'selected="selected"' ?> ><?php _e('(GMT+05:45) Kathmandu', 'feed-them-social'); ?></option>
5167
+
5168
+ <option value="Asia/Dhaka" <?php if ($ftsTimezone == "Asia/Dhaka") echo 'selected="selected"' ?> ><?php _e('(GMT+06:00) Astana, Dhaka', 'feed-them-social'); ?></option>
5169
+
5170
+ <option value="Asia/Novosibirsk" <?php if ($ftsTimezone == "Asia/Novosibirsk") echo 'selected="selected"' ?> ><?php _e('(GMT+06:00) Novosibirsk', 'feed-them-social'); ?></option>
5171
+
5172
+ <option value="Asia/Rangoon" <?php if ($ftsTimezone == "Asia/Rangoon") echo 'selected="selected"' ?> ><?php _e('(GMT+06:30) Yangon (Rangoon)', 'feed-them-social'); ?></option>
5173
+
5174
+ <option value="Asia/Bangkok" <?php if ($ftsTimezone == "Asia/Bangkok") echo 'selected="selected"' ?> ><?php _e('(GMT+07:00) Bangkok, Hanoi, Jakarta', 'feed-them-social'); ?></option>
5175
+
5176
+ <option value="Asia/Krasnoyarsk" <?php if ($ftsTimezone == "Asia/Krasnoyarsk") echo 'selected="selected"' ?> ><?php _e('(GMT+07:00) Krasnoyarsk', 'feed-them-social'); ?></option>
5177
+
5178
+ <option value="Asia/Hong_Kong" <?php if ($ftsTimezone == "Asia/Hong_Kong") echo 'selected="selected"' ?> ><?php _e('(GMT+08:00) Beijing, Chongqing, Hong Kong, Urumqi', 'feed-them-social'); ?></option>
5179
+
5180
+ <option value="Asia/Irkutsk" <?php if ($ftsTimezone == "Asia/Irkutsk") echo 'selected="selected"' ?> ><?php _e('(GMT+08:00) Irkutsk, Ulaan Bataar', 'feed-them-social'); ?></option>
5181
+
5182
+ <option value="Australia/Perth" <?php if ($ftsTimezone == "Australia/Perth") echo 'selected="selected"' ?> ><?php _e('(GMT+08:00) Perth', 'feed-them-social'); ?></option>
5183
+
5184
+ <option value="Australia/Eucla" <?php if ($ftsTimezone == "Australia/Eucla") echo 'selected="selected"' ?> ><?php _e('(GMT+08:45) Eucla', 'feed-them-social'); ?></option>
5185
+
5186
+ <option value="Asia/Tokyo" <?php if ($ftsTimezone == "Asia/Tokyo") echo 'selected="selected"' ?> ><?php _e('(GMT+09:00) Osaka, Sapporo, Tokyo', 'feed-them-social'); ?></option>
5187
+
5188
+ <option value="Asia/Seoul" <?php if ($ftsTimezone == "Asia/Seoul") echo 'selected="selected"' ?> ><?php _e('(GMT+09:00) Seoul', 'feed-them-social'); ?></option>
5189
+
5190
+ <option value="Asia/Yakutsk" <?php if ($ftsTimezone == "Asia/Yakutsk") echo 'selected="selected"' ?> ><?php _e('(GMT+09:00) Yakutsk', 'feed-them-social'); ?></option>
5191
+
5192
+ <option value="Australia/Adelaide" <?php if ($ftsTimezone == "Australia/Adelaide") echo 'selected="selected"' ?> ><?php _e('(GMT+09:30) Adelaide', 'feed-them-social'); ?></option>
5193
+
5194
+ <option value="Australia/Darwin" <?php if ($ftsTimezone == "Australia/Darwin") echo 'selected="selected"' ?> ><?php _e('(GMT+09:30) Darwin', 'feed-them-social'); ?></option>
5195
+
5196
+ <option value="Australia/Brisbane" <?php if ($ftsTimezone == "Australia/Brisbane") echo 'selected="selected"' ?> ><?php _e('(GMT+10:00) Brisbane', 'feed-them-social'); ?></option>
5197
+
5198
+ <option value="Australia/Hobart" <?php if ($ftsTimezone == "Australia/Hobart") echo 'selected="selected"' ?> ><?php _e('(GMT+10:00) Sydney', 'feed-them-social'); ?></option>
5199
+
5200
+ <option value="Asia/Vladivostok" <?php if ($ftsTimezone == "Asia/Vladivostok") echo 'selected="selected"' ?> ><?php _e('(GMT+10:00) Vladivostok', 'feed-them-social'); ?></option>
5201
+
5202
+ <option value="Australia/Lord_Howe" <?php if ($ftsTimezone == "Australia/Lord_Howe") echo 'selected="selected"' ?> ><?php _e('(GMT+10:30) Lord Howe Island', 'feed-them-social'); ?></option>
5203
+
5204
+ <option value="Etc/GMT-11" <?php if ($ftsTimezone == "Etc/GMT-11") echo 'selected="selected"' ?> ><?php _e('(GMT+11:00) Solomon Is., New Caledonia', 'feed-them-social'); ?></option>
5205
+
5206
+ <option value="Asia/Magadan" <?php if ($ftsTimezone == "Asia/Magadan") echo 'selected="selected"' ?> ><?php _e('(GMT+11:00) Magadan', 'feed-them-social'); ?></option>
5207
+
5208
+ <option value="Pacific/Norfolk" <?php if ($ftsTimezone == "Pacific/Norfolk") echo 'selected="selected"' ?> ><?php _e('(GMT+11:30) Norfolk Island', 'feed-them-social'); ?></option>
5209
+
5210
+ <option value="Asia/Anadyr" <?php if ($ftsTimezone == "Asia/Anadyr") echo 'selected="selected"' ?> ><?php _e('(GMT+12:00) Anadyr, Kamchatka', 'feed-them-social'); ?></option>
5211
+
5212
+ <option value="Pacific/Auckland" <?php if ($ftsTimezone == "Pacific/Auckland") echo 'selected="selected"' ?> ><?php _e('(GMT+12:00) Auckland, Wellington', 'feed-them-social'); ?></option>
5213
+
5214
+ <option value="Etc/GMT-12" <?php if ($ftsTimezone == "Etc/GMT-12") echo 'selected="selected"' ?> ><?php _e('(GMT+12:00) Fiji, Kamchatka, Marshall Is.', 'feed-them-social'); ?></option>
5215
+
5216
+ <option value="Pacific/Chatham" <?php if ($ftsTimezone == "Pacific/Chatham") echo 'selected="selected"' ?> ><?php _e('(GMT+12:45) Chatham Islands', 'feed-them-social'); ?></option>
5217
+
5218
+ <option value="Pacific/Tongatapu" <?php if ($ftsTimezone == "Pacific/Tongatapu") echo 'selected="selected"' ?> ><?php _e('(GMT+13:00) Nuku\'alofa', 'feed-them-social'); ?></option>
5219
+
5220
+ <option value="Pacific/Kiritimati" <?php if ($ftsTimezone == "Pacific/Kiritimati") echo 'selected="selected"' ?> ><?php _e('(GMT+14:00) Kiritimati', 'feed-them-social'); ?></option>
5221
+ </select>
5222
+ </fieldset>
5223
+ </div>
5224
+ <div class="clear"></div>
5225
+
5226
+ <br/>
5227
+ <h2><?php _e('Custom CSS Option', 'feed-them-social'); ?></h2>
5228
+ <p>
5229
+ <input name="fts-color-options-settings-custom-css" class="fts-color-settings-admin-input" type="checkbox" id="fts-color-options-settings-custom-css" value="1" <?php echo checked('1', get_option('fts-color-options-settings-custom-css')); ?>/>
5230
+ <?php
5231
+ if (get_option('fts-color-options-settings-custom-css') == '1') { ?>
5232
+ <strong><?php _e('Checked:', 'feed-them-social'); ?></strong> <?php _e('Custom CSS option is being used now.', 'feed-them-social'); ?><?php
5233
+ } else { ?>
5234
+ <strong><?php _e('Not Checked:', 'feed-them-social'); ?></strong> <?php _e('You are using the default CSS.', 'feed-them-social'); ?><?php
5235
+ }
5236
+ ?>
5237
+ </p>
5238
+ <label class="toggle-custom-textarea-show"><span><?php _e('Show', 'feed-them-social'); ?></span><span class="toggle-custom-textarea-hide"><?php _e('Hide', 'feed-them-social'); ?></span> <?php _e('custom CSS', 'feed-them-social'); ?>
5239
+ </label>
5240
+ <div class="clear"></div>
5241
+ <div class="fts-custom-css-text"><?php _e('Thanks for using our plugin :) Add your custom CSS additions or overrides below.', 'feed-them-social'); ?></div>
5242
+ <textarea name="fts-color-options-main-wrapper-css-input" class="fts-color-settings-admin-input" id="fts-color-options-main-wrapper-css-input"><?php echo get_option('fts-color-options-main-wrapper-css-input'); ?></textarea>
5243
+ </div><!--/feed-them-custom-css-->
5244
+
5245
+ <div class="feed-them-custom-logo-css">
5246
+ <h2><?php _e('Disable Share Option', 'feed-them-social'); ?></h2>
5247
+ <p>
5248
+ <input name="fts_disable_share_button" class="fts-powered-by-settings-admin-input" type="checkbox" id="fts_disable_share_button" value="1" <?php echo checked('1', get_option('fts_disable_share_button')); ?>/> <?php _e('Check this if you want to disable the Share Icon on all feeds', 'feed-them-social'); ?>
5249
+ </p>
5250
+ <br/>
5251
+ <div class="feed-them-social-admin-input-wrap">
5252
+ <div class="feed-them-social-admin-input-label fts-social-icons-color-label">
5253
+ <?php _e('Social Icons Color', 'feed-them-social'); ?>
5254
+ </div>
5255
+ <input type="text" name="fts_social_icons_color" class="feed-them-social-admin-input fts-social-icons-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="fts-border-bottom-color-input" placeholder="#ddd" value="<?php echo get_option('fts_social_icons_color'); ?>"/>
5256
+ <div class="clear"></div>
5257
+ </div>
5258
+ <!--/fts-facebook-feed-styles-input-wrap-->
5259
+
5260
+ <div class="feed-them-social-admin-input-wrap">
5261
+ <div class="feed-them-social-admin-input-label fts-social-icons-color-label">
5262
+ <?php _e('Social Icons Hover Color', 'feed-them-social'); ?>
5263
+ </div>
5264
+ <input type="text" name="fts_social_icons_hover_color" class="feed-them-social-admin-input fts-social-icons-hover-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="fts-border-bottom-color-input" placeholder="#ddd" value="<?php echo get_option('fts_social_icons_hover_color'); ?>"/>
5265
+ <div class="clear"></div>
5266
+ </div>
5267
+ <!--/fts-facebook-feed-styles-input-wrap-->
5268
+
5269
+ <div class="feed-them-social-admin-input-wrap">
5270
+ <div class="feed-them-social-admin-input-label fts-social-icons-color-back-label">
5271
+ <?php _e('Icons wrap background Color', 'feed-them-social'); ?>
5272
+ </div>
5273
+ <input type="text" name="fts_social_icons_back_color" class="feed-them-social-admin-input fts-social-icons-back-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="fts-border-bottom-color-input" placeholder="#ddd" value="<?php echo get_option('fts_social_icons_back_color'); ?>"/>
5274
+ <div class="clear"></div>
5275
+ </div>
5276
+ <!--/fts-facebook-feed-styles-input-wrap-->
5277
+
5278
+ <br/>
5279
+ <?php if (is_plugin_active('feed-them-premium/feed-them-premium.php')) { ?>
5280
+ <h2><?php _e('Disable Magnific Popup CSS', 'feed-them-social'); ?></h2>
5281
+ <p>
5282
+ <input name="fts_fix_magnific" class="fts-powered-by-settings-admin-input" type="checkbox" id="fts_fix_magnific" value="1" <?php echo checked('1', get_option('fts_fix_magnific')); ?>/> <?php _e('Check this if you are experiencing problems with your theme(s) or other plugin(s) popups.', 'feed-them-social'); ?>
5283
+ </p>
5284
+ <br/>
5285
+ <?php } ?>
5286
+
5287
+ <h2><?php _e('Fix Twitter Time', 'feed-them-social'); ?></h2>
5288
+ <p>
5289
+ <input name="fts_twitter_time_offset" class="fts-powered-by-settings-admin-input" type="checkbox" id="fts_twitter_time_offset" value="1" <?php echo checked('1', get_option('fts_twitter_time_offset')); ?>/> <?php _e('Check this if the Twitter time is still off by 3 hours after setting the TimeZone above.', 'feed-them-social'); ?>
5290
+ </p>
5291
+ <br/>
5292
+
5293
+ <h2><?php _e('Fix Internal Server Error', 'feed-them-social'); ?></h2>
5294
+ <p>
5295
+ <input name="fts_curl_option" class="fts-powered-by-settings-admin-input" type="checkbox" id="fts_curl_option" value="1" <?php echo checked('1', get_option('fts_curl_option')); ?>/> <?php _e('Check this option if you are getting a 500 Internal Server Error when trying to load a page with our feed on it.', 'feed-them-social'); ?>
5296
+ </p>
5297
+ <br/>
5298
+
5299
+ <h2><?php _e('Powered by Text', 'feed-them-social'); ?></h2>
5300
+ <p>
5301
+ <input name="fts-powered-text-options-settings" class="fts-powered-by-settings-admin-input" type="checkbox" id="fts-powered-text-options-settings" value="1" <?php echo checked('1', get_option('fts-powered-text-options-settings')); ?>/>
5302
+ <?php
5303
+ if (get_option('fts-powered-text-options-settings') == '1') { ?>
5304
+ <strong><?php _e('Checked:', 'feed-them-social'); ?></strong> <?php _e('You are not showing the Powered by Logo.', 'feed-them-social'); ?><?php
5305
+ } else { ?>
5306
+ <strong><?php _e('Not Checked:', 'feed-them-social'); ?></strong><?php _e('The Powered by text will appear in the site. Awesome! Thanks so much for sharing.', 'feed-them-social'); ?><?php
5307
+ }
5308
+ ?>
5309
+ </p>
5310
+ <br/>
5311
+ <input type="submit" class="feed-them-social-admin-submit-btn" value="<?php _e('Save All Changes', 'feed-them-social') ?>"/>
5312
+ <div class="clear"></div>
5313
+ </div><!--/feed-them-custom-logo-css-->
5314
+ </form>
5315
+ </div><!--/font-content-->
5316
+
5317
+ </section>
5318
+ </div>
5319
+ </div>
5320
+
5321
+ </div><!--/feed-them-social-admin-wrap-->
5322
+
5323
+ <script>
5324
+ jQuery(document).ready(function ($) {
5325
+
5326
+ //create hash tag in url for fts-tabs
5327
+ jQuery('.feed-them-social-admin-wrap #fts-tabs').on('click', "label.fts-tabbed", function () {
5328
+ var myURL = document.location;
5329
+ document.location = myURL + "&tab=" + jQuery(this).attr('id');
5330
+
5331
+ })
5332
+
5333
+ });
5334
+ </script>
5335
+
5336
+ <h1 class="plugin-author-note"><?php _e('Plugin Authors Note', 'feed-them-social'); ?></h1>
5337
+ <div class="fts-plugin-reviews">
5338
+ <div class="fts-plugin-reviews-rate"><?php _e(' Feed Them Social was created by 2 Brothers, Spencer and Justin Labadie. That’s it, 2 people! We spend all our time creating and supporting this plugin. Show us some love if you like our plugin and leave a quick review for us, it will make our day!', 'feed-them-social'); ?>
5339
+ <a href="https://wordpress.org/support/view/plugin-reviews/feed-them-social" target="_blank"><?php _e('Leave us a Review', 'feed-them-social'); ?>
5340
+ ★★★★★</a>
5341
+ </div>
5342
+ <div class="fts-plugin-reviews-support"><?php _e('If you\'re using the Free plugin and are having troubles getting setup please contact us on the <a href="https://wordpress.org/support/plugin/feed-them-social" target="_blank">Free Wordpress Support Forum</a>. We will respond within 24hrs during weekdays.', 'feed-them-social'); ?>
5343
+ <?php _e('If you have a paid extensions from us please use our <a href="https://www.slickremix.com/my-account/#tab-support" target="_blank">Paid Extension Support Ticket System</a>.', 'feed-them-social'); ?>
5344
+
5345
+ <div class="fts-text-align-center">
5346
+ <a class="feed-them-social-admin-slick-logo" href="https://www.slickremix.com" target="_blank"></a>
5347
+ </div>
5348
+ </div>
5349
+ </div>
5350
+
5351
+ <script>
5352
+
5353
+ jQuery(document).ready(function () {
5354
+
5355
+ // Master feed selector
5356
+ jQuery('#shortcode-form-selector').change(function () {
5357
+ jQuery('.shortcode-generator-form').hide();
5358
+ jQuery('.' + jQuery(this).val()).fadeIn('fast');
5359
+
5360
+ <?php if (get_option('youtube_custom_access_token') && get_option('youtube_custom_access_token') !== '' && get_option('youtube_custom_access_token') !== '') { ?>
5361
+ if (jQuery('select#shortcode-form-selector').val() == 'youtube-shortcode-form') {
5362
+ jQuery(".shortcode-generator-form.youtube-shortcode-form .fts-required-token-message").hide();
5363
+ }<?php } ?>
5364
+
5365
+ if (jQuery('select#shortcode-form-selector').val() == 'fts-fb-page-shortcode-form') {
5366
+ jQuery("#facebook-messages-selector").change();
5367
+ jQuery("html, .facebook_hide_thumbnail, .facebook_hide_date, .facebook_hide_name, .facebook_show_media").show();
5368
+ }
5369
+
5370
+ if (jQuery("select#shortcode-form-selector").val() == "vine-shortcode-form") {
5371
+ jQuery("form#feed-selector-form").append('<div class="feed-them-social-admin-input-wrap fts-premium-options-message" id="bye-vine"><a class="not-active-title" href="https://medium.com/@vine/important-news-about-vine-909c5f4ae7a7#.lcz07v6ws" target="_blank">Vine Depreciated</a><?php _e('A notice to all users of Feed Them Social that use the Vine feed in our plugin... It appears they will be closing the doors at some point soon. No specific date, but well keep you posted before it gets fully phased out. <a href="https://medium.com/@vine/important-news-about-vine-909c5f4ae7a7#.lcz07v6ws">https://medium.com/@vine/important-news-about-vine-909c5f4ae7a7#.lcz07v6ws</a><br><br>You can see the shortcode options and shortcode examples here, we will no longer be creating a shortcode generator for this feed. <a href="https://www.slickremix.com/docs/shortcode-options-table/#vine">https://www.slickremix.com/docs/shortcode-options-table/#vine</a> ', 'feed-them-social') ?></div>')
5372
+ jQuery("#bye-vine").show();
5373
+ }
5374
+ else {
5375
+ jQuery("form#feed-selector-form").remove("#bye-vine");
5376
+ }
5377
+
5378
+ //Combined Feed
5379
+ <?php if (!is_plugin_active('feed-them-social-combined-streams/feed-them-social-combined-streams.php')) { ?>
5380
+ if (jQuery("select#shortcode-form-selector").val() == "combine-steams-shortcode-form") {
5381
+ jQuery('.combine-steams-shortcode-form, .fts-required-more-posts').hide();
5382
+ jQuery('#not_active_main_select, .fts-required-more-posts').show();
5383
+ }
5384
+ <?php } ?>
5385
+
5386
+ jQuery('select#combine-steams-selector').val('all')
5387
+ //Remove Controller Class so everything reappears for Facebook Feed
5388
+ if (jQuery('.fts-facebook_page-shortcode-form').hasClass('multiple_facebook')) {
5389
+ jQuery('.fts-facebook_page-shortcode-form').removeClass('multiple_facebook');
5390
+ jQuery('.fts-required-more-posts').hide();
5391
+ }
5392
+ else {
5393
+ jQuery('.fts-required-more-posts').show();
5394
+ }
5395
+ jQuery('select#facebook-messages-selector option[value="events"]').show();
5396
+
5397
+ });
5398
+
5399
+ jQuery('select#fb_hide_like_box_button').bind('change', function (e) {
5400
+ if (jQuery('select#fb_hide_like_box_button').val() == 'no') {
5401
+ jQuery('.like-box-wrap').show();
5402
+ }
5403
+ else {
5404
+ jQuery('.like-box-wrap').hide();
5405
+ }
5406
+ });
5407
+
5408
+ jQuery('#facebook_show_video_button').change(function () {
5409
+ jQuery('.fb-video-play-btn-options-content').toggle();
5410
+ });
5411
+
5412
+ //Combine Feed Type Selector
5413
+ jQuery('select#combine-steams-selector').bind('change', function (e) {
5414
+ if (jQuery('select#combine-steams-selector').val() == 'multiple_facebook') {
5415
+ jQuery('.facebook_options_wrap,#fts-fb-page-form, .facebook_hide_thumbnail, .facebook_hide_date, .facebook_hide_name, .facebook_show_media ').show();
5416
+ jQuery('.combine_streams_options_wrap, .fts-required-more-posts').hide();
5417
+ jQuery('.fts-facebook_page-shortcode-form').addClass('multiple_facebook');
5418
+
5419
+ jQuery('.multiple_facebook select#facebook-messages-selector option[value="events"]').hide();
5420
+ }
5421
+ else {
5422
+
5423
+ jQuery('.facebook_options_wrap,#fts-fb-page-form, .facebook_hide_thumbnail, .facebook_hide_date, .facebook_hide_name, .facebook_show_media ').hide();
5424
+ jQuery('.combine_streams_options_wrap, .fts-required-more-posts').show();
5425
+
5426
+ //Remove Controller Class so everything reappears for Facebook Feed
5427
+ if (jQuery('.fts-facebook_page-shortcode-form').hasClass('multiple_facebook')) {
5428
+ jQuery('.fts-facebook_page-shortcode-form').removeClass('multiple_facebook');
5429
+ }
5430
+ }
5431
+ });
5432
+
5433
+ // change the feed type 'how to' message when a feed type is selected
5434
+ jQuery('#facebook-messages-selector').change(function () {
5435
+ jQuery('.facebook-message-generator').hide();
5436
+ jQuery('.' + jQuery(this).val()).fadeIn('fast');
5437
+ // if the facebook type select is changed we hide the shortcode code so not to confuse people
5438
+ jQuery('.final-shortcode-textarea').hide();
5439
+ // only show the Super Gallery Options if the facebook ablum or album covers feed type is selected
5440
+ var facebooktype = jQuery("select#facebook-messages-selector").val();
5441
+
5442
+
5443
+ if (facebooktype == 'albums' || facebooktype == 'album_photos' || facebooktype == 'album_videos') {
5444
+ jQuery('.fts-super-facebook-options-wrap,.align-images-wrap').show();
5445
+ jQuery('.fixed_height_option,.main-grid-options-wrap').hide();
5446
+ jQuery(".feed-them-social-admin-input-label:contains('<?php _e('Display Posts in Grid', 'feed-them-social'); ?>')").parent('div').hide();
5447
+ }
5448
+ else {
5449
+ jQuery('.fts-super-facebook-options-wrap,.align-images-wrap ').hide();
5450
+ jQuery('.fixed_height_option,.main-grid-options-wrap').show();
5451
+ jQuery(".feed-them-social-admin-input-label:contains('<?php _e('Display Posts in Grid', 'feed-them-social'); ?>')").parent('div').show();
5452
+ }
5453
+
5454
+ if (facebooktype == 'page' || facebooktype == 'event' || facebooktype == 'group') {
5455
+ jQuery(".facebook_hide_thumbnail, .facebook_hide_date, .facebook_hide_name, .facebook_show_media ").show();
5456
+ }
5457
+ else {
5458
+ jQuery(".facebook_hide_thumbnail, .facebook_hide_date, .facebook_hide_name, .facebook_show_media ").hide();
5459
+ }
5460
+
5461
+ <?php if (is_plugin_active('feed-them-premium/feed-them-premium.php')) { ?>
5462
+
5463
+ // This is to show all option when prem active if you selected the Facebook Page reviews if not active. Otherwise all other fb-options-wraps are hidden when selecting another fb feed from settings page drop down.
5464
+ jQuery('.fb-options-wrap').show();
5465
+ jQuery('body .fb_album_photos_id, .fts-required-more-posts').hide();
5466
+
5467
+ if (facebooktype == 'album_videos') {
5468
+ jQuery('.fts-photos-popup, #facebook_super_gallery_container, #facebook_super_gallery_animate').hide();
5469
+ jQuery('.video, .fb-video-play-btn-options-wrap').show();
5470
+ jQuery(".feed-them-social-admin-input-label:contains('# of Posts')").html("<?php _e('# of Videos', 'feed-them-social') ?>");
5471
+ }
5472
+ else {
5473
+ jQuery('.video, .fb-video-play-btn-options-wrap').hide();
5474
+ jQuery('.fts-photos-popup, #facebook_super_gallery_container, #facebook_super_gallery_animate').show();
5475
+ jQuery(".feed-them-social-admin-input-label:contains('# of Videos')").html("<?php _e('# of Posts', 'feed-them-social') ?>");
5476
+ }
5477
+ <?php }
5478
+ else{ ?>
5479
+
5480
+ jQuery('.video, .fb-video-play-btn-options-wrap').hide();
5481
+ jQuery('body .fb_album_photos_id, .fts-required-more-posts').hide();
5482
+
5483
+ <?php } ?>
5484
+
5485
+ if (facebooktype == 'page') {
5486
+ jQuery('.inst-text-facebook-page').show();
5487
+ }
5488
+ else {
5489
+ jQuery('.inst-text-facebook-page').hide();
5490
+ }
5491
+
5492
+ if (facebooktype == 'events') {
5493
+ jQuery('.inst-text-facebook-event-list').show();
5494
+ jQuery('.facebook-loadmore-wrap').hide();
5495
+
5496
+ }
5497
+ else {
5498
+ jQuery('.inst-text-facebook-event-list').hide();
5499
+ jQuery('.facebook-loadmore-wrap').show();
5500
+ }
5501
+
5502
+ <?php if (is_plugin_active('feed-them-social-facebook-reviews/feed-them-social-facebook-reviews.php')) { ?>
5503
+ if (facebooktype == 'reviews') {
5504
+ jQuery('.facebook-reviews-wrap, .inst-text-facebook-reviews').show();
5505
+ jQuery('.align-images-wrap,.facebook-title-options-wrap, .facebook-popup-wrap, .fts-required-more-posts, .fts-required-more-posts').hide();
5506
+ } else {
5507
+ jQuery('.facebook-reviews-wrap, .inst-text-facebook-reviews').hide();
5508
+ jQuery('.facebook-title-options-wrap, .facebook-popup-wrap, .fts-required-more-posts, .fts-required-more-posts').show();
5509
+ }
5510
+ <?php } ?>
5511
+
5512
+ // only show the post type visible if the facebook page feed type is selected
5513
+ jQuery('.facebook-post-type-visible').hide();
5514
+ if (facebooktype == 'page') {
5515
+ jQuery('.facebook-post-type-visible').show();
5516
+ }
5517
+ var fb_feed_type_option = jQuery("select#facebook-messages-selector").val();
5518
+ if (fb_feed_type_option == 'album_photos') {
5519
+ jQuery('.fb_album_photos_id').show();
5520
+ }
5521
+ else {
5522
+ jQuery('.fb_album_photos_id').hide();
5523
+ }
5524
+ });
5525
+ //Instagram Profile wrap
5526
+ jQuery('select#instagram-profile-wrap').bind('change', function (e) {
5527
+ if (jQuery('#instagram-profile-wrap').val() == 'yes') {
5528
+ jQuery('.instagram-profile-options-wrap').show();
5529
+ }
5530
+ else {
5531
+ jQuery('.instagram-profile-options-wrap').hide();
5532
+ }
5533
+ });
5534
+ // Instagram Super Gallery option
5535
+ jQuery('#instagram-custom-gallery').bind('change', function (e) {
5536
+ if (jQuery('#instagram-custom-gallery').val() == 'no') {
5537
+ jQuery('.fts-super-instagram-options-wrap').hide();
5538
+ }
5539
+ else {
5540
+ jQuery('.fts-super-instagram-options-wrap').show();
5541
+ }
5542
+ });
5543
+
5544
+
5545
+ jQuery('#instagram-messages-selector').bind('change', function (e) {
5546
+ if (jQuery('#instagram-messages-selector').val() == 'hashtag') {
5547
+ jQuery(".instagram-id-option-wrap,.instagram-user-option-text,.instagram-location-option-text,.main-instagram-profile-options-wrap").hide();
5548
+ jQuery(".instagram-hashtag-option-text").show();
5549
+ }
5550
+ else if (jQuery('#instagram-messages-selector').val() == 'location') {
5551
+ jQuery(".instagram-id-option-wrap,.instagram-user-option-text,.instagram-hashtag-option-text,.main-instagram-profile-options-wrap").hide();
5552
+ jQuery(".instagram-location-option-text").show();
5553
+ }
5554
+ else {
5555
+ jQuery(".instagram-id-option-wrap,.instagram-user-option-text,.main-instagram-profile-options-wrap").show();
5556
+ jQuery(".instagram-hashtag-option-text,.instagram-location-option-text").hide();
5557
+ }
5558
+ });
5559
+
5560
+ jQuery('#combine_instagram_type').bind('change', function (e) {
5561
+ if (jQuery('#combine_instagram_type').val() == 'hashtag') {
5562
+ jQuery(".combine-instagram-id-option-wrap,.combine-instagram-user-option-text,.combine-instagram-location-option-text").hide();
5563
+ jQuery(".combine-instagram-hashtag-option-text").show();
5564
+ }
5565
+ else if (jQuery('#combine_instagram_type').val() == 'location') {
5566
+ jQuery(".combine-instagram-id-option-wrap,.combine-instagram-user-option-text,.combine-instagram-hashtag-option-text").hide();
5567
+ jQuery(".combine-instagram-location-option-text").show();
5568
+ }
5569
+ else {
5570
+ jQuery(".combine-instagram-id-option-wrap,.combine-instagram-user-option-text").show();
5571
+ jQuery(".combine-instagram-hashtag-option-text,.combine-instagram-location-option-text").hide();
5572
+ }
5573
+ });
5574
+
5575
+ /* Instagram */
5576
+ function getQueryString(Param) {
5577
+ return decodeURI(
5578
+ (RegExp('[#|&]' + Param + '=' + '(.+?)(&|$)').exec(location.hash) || [, null])[1]
5579
+ );
5580
+ }
5581
+
5582
+ if (window.location.hash && getQueryString('feed_type') == 'instagram') {
5583
+ jQuery('#feed-selector-form').find('option[value=instagram-shortcode-form]').attr('selected','selected');
5584
+ jQuery('.shortcode-generator-form.instagram-shortcode-form').show();
5585
+ jQuery('#instagram_id').val(jQuery('#instagram_id').val() + '<?php echo get_option('fts_instagram_custom_id') ?>');
5586
+ jQuery('#insta_access_token').val(jQuery('#insta_access_token').val() + '<?php echo get_option('fts_instagram_custom_api_token') ?>');
5587
+ }
5588
+
5589
+ jQuery('#shortcode-form-selector, #instagram-messages-selector').bind('change', function (e) {
5590
+ if (jQuery('#instagram-messages-selector').val() == 'user') {
5591
+ jQuery('#instagram_id, #insta_access_token').val('');
5592
+ jQuery('#instagram_id').val(jQuery('#instagram_id').val() + '<?php echo get_option('fts_instagram_custom_id') ?>');
5593
+ jQuery('#insta_access_token').val(jQuery('#insta_access_token').val() + '<?php echo get_option('fts_instagram_custom_api_token') ?>');
5594
+ }
5595
+ else {
5596
+ jQuery('#instagram_id').val('');
5597
+ }
5598
+
5599
+ });
5600
+ /* FB Pages, Ablums, Photos etc */
5601
+ if (window.location.hash && getQueryString('feed_type') == 'facebook') {
5602
+ jQuery('#feed-selector-form').find('option[value=fts-fb-page-shortcode-form]').attr('selected','selected');
5603
+ jQuery('#fts-tab-content1 .fts-fb-page-shortcode-form').show();
5604
+ jQuery('#fb_page_id').val(jQuery('#fb_page_id').val() + '<?php echo get_option('fts_facebook_custom_api_token_user_id') ?>');
5605
+ jQuery('#fb_access_token').val(jQuery('#fb_access_token').val() + '<?php echo get_option('fts_facebook_custom_api_token') ?>');
5606
+ }
5607
+
5608
+ jQuery('#shortcode-form-selector, #facebook-messages-selector').bind('change', function (e) {
5609
+ if (jQuery('#facebook-messages-selector').val() == 'page' || jQuery('#facebook-messages-selector').val() == 'album_photos' || jQuery('#facebook-messages-selector').val() == 'albums' || jQuery('#facebook-messages-selector').val() == 'album_videos') {
5610
+ jQuery('#fb_page_id, #fb_access_token').val('');
5611
+ jQuery('#fb_page_id').val(jQuery('#fb_page_id').val() + '<?php echo get_option('fts_facebook_custom_api_token_user_id') ?>');
5612
+ jQuery('#fb_access_token').val(jQuery('#fb_access_token').val() + '<?php echo get_option('fts_facebook_custom_api_token') ?>');
5613
+ }
5614
+ else {
5615
+
5616
+ }
5617
+
5618
+ });
5619
+
5620
+ /* FB Pages, Ablums, Photos etc */
5621
+ if (window.location.hash && getQueryString('feed_type') == 'facebook_reviews') {
5622
+ jQuery('#feed-selector-form').find('option[value=fts-fb-page-shortcode-form]').attr('selected','selected');
5623
+ jQuery('#fts-tab-content1 .fts-fb-page-shortcode-form').show();
5624
+
5625
+ jQuery('#facebook-messages-selector').find('option[value=reviews]').attr('selected','selected');
5626
+ jQuery('.facebook-reviews-wrap, .inst-text-facebook-reviews').show();
5627
+ jQuery('.align-images-wrap,.facebook-title-options-wrap, .facebook-popup-wrap, .fts-required-more-posts, .fts-required-more-posts, .inst-text-facebook-page').hide();
5628
+
5629
+ jQuery('#fb_page_id').val(jQuery('#fb_page_id').val() + '<?php echo get_option('fts_facebook_custom_api_token_user_id_biz') ?>');
5630
+ jQuery('#fb_access_token').val(jQuery('#fb_access_token').val() + '<?php echo get_option('fts_facebook_custom_api_token_biz') ?>');
5631
+ }
5632
+
5633
+ jQuery('#shortcode-form-selector, #facebook-messages-selector').bind('change', function (e) {
5634
+ if (jQuery('#facebook-messages-selector').val() == 'reviews') {
5635
+ jQuery('#fb_page_id, #fb_access_token').val('');
5636
+ jQuery('#fb_page_id').val(jQuery('#fb_page_id').val() + '<?php echo get_option('fts_facebook_custom_api_token_user_id_biz') ?>');
5637
+ jQuery('#fb_access_token').val(jQuery('#fb_access_token').val() + '<?php echo get_option('fts_facebook_custom_api_token_biz') ?>');
5638
+ }
5639
+ else {
5640
+
5641
+ }
5642
+
5643
+ });
5644
+
5645
+ jQuery('#combine_facebook').bind('change', function (e) {
5646
+ jQuery('#combine_facebook_name').val('');
5647
+ jQuery('#combine_facebook_name').val(jQuery('#combine_facebook_name').val() + '<?php echo get_option('fts_facebook_custom_api_token_user_id') ?>');
5648
+ });
5649
+
5650
+ jQuery('#combine_instagram, #combine_instagram_type').bind('change', function (e) {
5651
+ jQuery('#combine_instagram_name').val('');
5652
+ if (jQuery('#combine_instagram_type').val() == 'user') {
5653
+ jQuery('#combine_instagram_name').val(jQuery('#combine_instagram_name').val() + '<?php echo get_option('fts_instagram_custom_id') ?>');
5654
+ }
5655
+ else {
5656
+ jQuery('#combine_instagram_name').val('');
5657
+ }
5658
+
5659
+ });
5660
+
5661
+ <?php if (!is_plugin_active('feed-them-premium/feed-them-premium.php')) { ?>
5662
+ jQuery('#instagram-messages-selector').bind('change', function (e) {
5663
+ if (jQuery('#instagram-messages-selector').val() == 'location') {
5664
+ jQuery("#instagram_id").hide();
5665
+ jQuery('<div class="feed-them-social-admin-input-default fts-custom-premium-required">Must have <a target="_blank" href="https://www.slickremix.com/downloads/feed-them-social-premium-extension/">premium</a> to edit.</div>').insertAfter('.feed-them-social-admin-input-label.instagram-location-option-text')
5666
+ jQuery(".feed-them-social-admin-submit-btn").hide();
5667
+ }
5668
+ else {
5669
+ jQuery("#instagram_id").show();
5670
+ jQuery(".fts-custom-premium-required").hide();
5671
+ jQuery(".feed-them-social-admin-submit-btn").show();
5672
+ }
5673
+
5674
+ });
5675
+ <?php } ?>
5676
+
5677
+ jQuery('#twitter-messages-selector').bind('change', function (e) {
5678
+ if (jQuery('#twitter-messages-selector').val() == 'hashtag') {
5679
+ jQuery(".hashtag-option-small-text,.twitter-hashtag-etc-wrap").show();
5680
+ jQuery(".hashtag-option-not-required, .must-copy-twitter-name").hide();
5681
+ }
5682
+ else {
5683
+ jQuery(".hashtag-option-not-required, .must-copy-twitter-name").show();
5684
+ jQuery(".twitter-hashtag-etc-wrap,.hashtag-option-small-text").hide();
5685
+ }
5686
+ });
5687
+
5688
+ jQuery('#combine-twitter-messages-selector').bind('change', function (e) {
5689
+ if (jQuery('#combine-twitter-messages-selector').val() == 'hashtag') {
5690
+ jQuery(".combine-twitter-hashtag-etc-wrap").show();
5691
+ jQuery(".combine_twitter_name").hide();
5692
+ }
5693
+ else {
5694
+ jQuery(".combine_twitter_name").show();
5695
+ jQuery(".combine-twitter-hashtag-etc-wrap").hide();
5696
+ }
5697
+ });
5698
+
5699
+ //Twitter Grid option
5700
+ jQuery('#twitter-grid-option').bind('change', function (e) {
5701
+ if (jQuery('#twitter-grid-option').val() == 'yes') {
5702
+ jQuery('.fts-twitter-grid-options-wrap').show();
5703
+ jQuery(".feed-them-social-admin-input-label:contains('<?php _e('Center Facebook Container?', 'feed-them-social'); ?>')").parent('div').show();
5704
+ }
5705
+ else {
5706
+ jQuery('.fts-twitter-grid-options-wrap').hide();
5707
+ }
5708
+ });
5709
+
5710
+ //Twitter show load more options
5711
+ jQuery('#twitter_load_more_option').bind('change', function (e) {
5712
+ if (jQuery('#twitter_load_more_option').val() == 'yes') {
5713
+ jQuery('.fts-twitter-load-more-options-wrap').show();
5714
+ jQuery('.fts-twitter-load-more-options2-wrap').show();
5715
+ }
5716
+
5717
+ else {
5718
+ jQuery('.fts-twitter-load-more-options-wrap, .fts-twitter-load-more-options2-wrap').hide();
5719
+ }
5720
+ });
5721
+
5722
+ //youtube show load more options
5723
+ jQuery('#youtube_load_more_option').bind('change', function (e) {
5724
+ if (jQuery('#youtube_load_more_option').val() == 'yes') {
5725
+ jQuery('.fts-youtube-load-more-options-wrap').show();
5726
+ jQuery('.fts-youtube-load-more-options2-wrap').show();
5727
+ }
5728
+
5729
+ else {
5730
+ jQuery('.fts-youtube-load-more-options-wrap, .fts-youtube-load-more-options2-wrap').hide();
5731
+ }
5732
+ });
5733
+
5734
+ // facebook show grid options
5735
+ jQuery('#fb-grid-option').bind('change', function (e) {
5736
+ if (jQuery('#fb-grid-option').val() == 'yes') {
5737
+ jQuery('.fts-facebook-grid-options-wrap').show();
5738
+ jQuery(".feed-them-social-admin-input-label:contains('<?php _e('Center Facebook Container?', 'feed-them-social'); ?>')").parent('div').show();
5739
+ }
5740
+ else {
5741
+ jQuery('.fts-facebook-grid-options-wrap').hide();
5742
+ }
5743
+ });
5744
+
5745
+ // facebook Super Gallery option
5746
+ jQuery('#facebook-custom-gallery').bind('change', function (e) {
5747
+ if (jQuery('#facebook-custom-gallery').val() == 'yes') {
5748
+ jQuery('.fts-super-facebook-options-wrap').show();
5749
+ }
5750
+ else {
5751
+ jQuery('.fts-super-facebook-options-wrap').hide();
5752
+ }
5753
+ });
5754
+
5755
+ //Facebook Display Popup option
5756
+ jQuery('#facebook_popup').bind('change', function (e) {
5757
+ if (jQuery('#facebook_popup').val() == 'yes') {
5758
+ jQuery('.display-comments-wrap').show();
5759
+ }
5760
+ else {
5761
+ jQuery('.display-comments-wrap').hide();
5762
+ }
5763
+ });
5764
+
5765
+ // facebook show load more options
5766
+ jQuery('#fb_load_more_option').bind('change', function (e) {
5767
+ if (jQuery('#fb_load_more_option').val() == 'yes') {
5768
+
5769
+ if (jQuery('#facebook-messages-selector').val() !== 'album_videos') {
5770
+ jQuery('.fts-facebook-load-more-options-wrap').show();
5771
+ }
5772
+ jQuery('.fts-facebook-load-more-options2-wrap').show();
5773
+ }
5774
+
5775
+ else {
5776
+ jQuery('.fts-facebook-load-more-options-wrap, .fts-facebook-load-more-options2-wrap').hide();
5777
+ }
5778
+ });
5779
+ // Instagram show load more options
5780
+ jQuery('#instagram_load_more_option').bind('change', function (e) {
5781
+ if (jQuery('#instagram_load_more_option').val() == 'yes') {
5782
+ jQuery('.fts-instagram-load-more-options-wrap').show();
5783
+ }
5784
+ else {
5785
+ jQuery('.fts-instagram-load-more-options-wrap').hide();
5786
+ }
5787
+ });
5788
+
5789
+
5790
+ //Combine Grid Options
5791
+ jQuery('#combine_grid_option').bind('change', function (e) {
5792
+ if (jQuery('#combine_grid_option').val() == 'yes') {
5793
+ jQuery('.combine-grid-options-wrap ').show();
5794
+ }
5795
+ else {
5796
+ jQuery('.combine-grid-options-wrap ').hide();
5797
+ }
5798
+ });
5799
+
5800
+ //Combine Facebook
5801
+ jQuery('select#combine_facebook').bind('change', function (e) {
5802
+ if (jQuery('select#combine_facebook').val() == 'yes') {
5803
+ jQuery('.combine-facebook-wrap').show();
5804
+ }
5805
+ else {
5806
+ jQuery('.combine-facebook-wrap').hide();
5807
+ }
5808
+ });
5809
+ //Combine Twitter
5810
+ jQuery('#combine_twitter').bind('change', function (e) {
5811
+ if (jQuery('#combine_twitter').val() == 'yes') {
5812
+ jQuery('.combine-twitter-wrap').show();
5813
+ }
5814
+ else {
5815
+ jQuery('.combine-twitter-wrap').hide();
5816
+ }
5817
+ });
5818
+ //Combine Instagram
5819
+ jQuery('#combine_instagram').bind('change', function (e) {
5820
+ if (jQuery('#combine_instagram').val() == 'yes') {
5821
+ jQuery('.combine-instagram-wrap').show();
5822
+ }
5823
+ else {
5824
+ jQuery('.combine-instagram-wrap').hide();
5825
+ }
5826
+ });
5827
+ //Combine Pinterest
5828
+ jQuery('#combine_pinterest').bind('change', function (e) {
5829
+ if (jQuery('#combine_pinterest').val() == 'yes') {
5830
+ jQuery('.combine-pinterest-wrap').show();
5831
+ }
5832
+ else {
5833
+ jQuery('.combine-pinterest-wrap').hide();
5834
+ }
5835
+ });
5836
+ //Combine Pinterest Type Options
5837
+ jQuery('#combine_pinterest_type').bind('change', function (e) {
5838
+ if (jQuery('#combine_pinterest_type').val() == 'pins_from_user') {
5839
+ jQuery('.combine_board_id').hide();
5840
+ }
5841
+ if (jQuery('#combine_pinterest_type').val() == 'single_board_pins') {
5842
+ jQuery('.combine_board_id').show();
5843
+ }
5844
+ })
5845
+ //Combine Youtube
5846
+ jQuery('#combine_youtube').bind('change', function (e) {
5847
+ if (jQuery('#combine_youtube').val() == 'yes') {
5848
+ jQuery('.combine-youtube-wrap').show();
5849
+ }
5850
+ else {
5851
+ jQuery('.combine-youtube-wrap').hide();
5852
+ }
5853
+ });
5854
+ //Youtube Options
5855
+ jQuery('select#combine_youtube_type').bind('change', function (e) {
5856
+ if (jQuery('#combine_youtube_type').val() == 'channelID') {
5857
+ jQuery('.combine_youtube_name, .combine_playlist_id').hide();
5858
+ jQuery('.combine_channel_id').show();
5859
+ }
5860
+ else if (jQuery('#combine_youtube_type').val() == 'userPlaylist') {
5861
+ jQuery('.combine_channel_id').hide();
5862
+ jQuery('.combine_playlist_id, .combine_youtube_name').show();
5863
+ }
5864
+ else if (jQuery('#combine_youtube_type').val() == 'playlistID') {
5865
+ jQuery('.combine_youtube_name').hide();
5866
+ jQuery('.combine_playlist_id, .combine_channel_id').show();
5867
+ }
5868
+ else {
5869
+ jQuery('.combine_youtube_name').show();
5870
+ jQuery('.combine_playlist_id, .combine_channel_id').hide();
5871
+ }
5872
+ });
5873
+
5874
+
5875
+ // Pinterest options
5876
+ // hide this div till needed for free version
5877
+ jQuery(".feed-them-social-admin-input-label:contains('<?php _e('# of Pins', 'feed-them-social'); ?>')").parent('div').hide();
5878
+ jQuery('#pinterest-messages-selector').bind('change', function (e) {
5879
+ if (jQuery('#pinterest-messages-selector').val() == 'boards_list') {
5880
+ jQuery('.number-of-boards, .pinterest-name-text').show();
5881
+ jQuery('.board-name, .show-pins-amount, .pinterest-board-and-name-text').hide();
5882
+ jQuery(".feed-them-social-admin-input-label:contains('<?php _e('# of Boards', 'feed-them-social'); ?>')").parent('div').show();
5883
+ jQuery(".feed-them-social-admin-input-label:contains('<?php _e('# of Pins', 'feed-them-social'); ?>')").parent('div').hide();
5884
+ }
5885
+ });
5886
+ // Pinterest options
5887
+ jQuery('#pinterest-messages-selector').bind('change', function (e) {
5888
+ if (jQuery('#pinterest-messages-selector').val() == 'single_board_pins') {
5889
+ jQuery('.board-name, .show-pins-amount, .pinterest-board-and-name-text').show();
5890
+ jQuery('.number-of-boards, .pinterest-name-text').hide();
5891
+ jQuery(".feed-them-social-admin-input-label:contains('<?php _e('# of Boards', 'feed-them-social'); ?>')").parent('div').hide();
5892
+ jQuery(".feed-them-social-admin-input-label:contains('<?php _e('# of Pins', 'feed-them-social'); ?>')").parent('div').show();
5893
+ }
5894
+ })
5895
+ // Pinterest options
5896
+ jQuery('#pinterest-messages-selector').bind('change', function (e) {
5897
+ if (jQuery('#pinterest-messages-selector').val() == 'pins_from_user') {
5898
+ jQuery('.show-pins-amount, .pinterest-name-text').show();
5899
+ jQuery('.number-of-boards, .board-name, .pinterest-board-and-name-text').hide();
5900
+ jQuery(".feed-them-social-admin-input-label:contains('<?php _e('# of Boards', 'feed-them-social'); ?>')").parent('div').hide();
5901
+ jQuery(".feed-them-social-admin-input-label:contains('<?php _e('# of Pins', 'feed-them-social'); ?>')").parent('div').show();
5902
+ }
5903
+ });
5904
+
5905
+
5906
+ });
5907
+ <?php
5908
+ $output = '';
5909
+ //If shortcode Generator Changes
5910
+ echo 'jQuery("#shortcode-form-selector").change(function () {';
5911
+ //Hide Premium Msg Boxes if showing
5912
+ echo 'jQuery("div.fts-premium-options-message").hide();';
5913
+ echo '});';
5914
+ foreach ($feed_settings_array as $section => $section_info) {
5915
+
5916
+ //Premium Message Boxes JS
5917
+ if (isset($section_info['premium_msg_boxes'])) {
5918
+ echo 'jQuery("#' . $section_info['feed_type_select']['select_id'] . '").change(function () {';
5919
+ echo 'jQuery("form.' . $section . '_options_wrap").show();';
5920
+ foreach ($section_info['premium_msg_boxes'] as $key => $premium_msg) if (!is_plugin_active($required_plugins[$premium_msg['req_plugin']]['plugin_url'])) {
5921
+ //If Variables
5922
+ $premium_if_class = $section_info['shortcode_ifs'][$key]['if']['class'];
5923
+ $premium_if_operator = $section_info['shortcode_ifs'][$key]['if']['operator'];
5924
+ $premium_if_value = $section_info['shortcode_ifs'][$key]['if']['value'];
5925
+ echo 'if (jQuery("' . $premium_if_class . '").val() ' . $premium_if_operator . ' "' . $premium_if_value . '") { jQuery("form.' . $section . '_options_wrap").hide(); jQuery("div#not_active_' . $key . '").show(); }';
5926
+ echo 'else{jQuery("div#not_active_' . $key . '").hide(); }';
5927
+ }
5928
+ echo '});';
5929
+ }
5930
+
5931
+ //Main JS Function for each Feed.
5932
+ echo 'function updateTextArea_' . $section . '() { ' . "\n";
5933
+
5934
+ $final_shortcode_var = array();
5935
+ foreach ($section_info['main_options'] as $option) {
5936
+ $no_attribute = !isset($option['short_attr']['no_attribute']) || isset($option['short_attr']['no_attribute']) && $option['short_attr']['no_attribute'] !== 'yes' ? false : true;
5937
+ if ($no_attribute == false) {
5938
+ if (!empty($option['short_attr']) || !isset($option['short_attr']['no_html'])) {
5939
+ $option_id = isset($option['id']) ? $option['id'] : '';
5940
+ $input_wrap_class = isset($option['input_wrap_class']) ? $option['input_wrap_class'] : '';
5941
+ $section_attr_key = isset($section_info['section_attr_key']) ? $section_info['section_attr_key'] : '';
5942
+ $attr_name = isset($option['short_attr']['attr_name']) ? $option['short_attr']['attr_name'] : '';
5943
+ $empty_error = isset($option['short_attr']['empty_error']) ? $option['short_attr']['empty_error'] : '';
5944
+ $empty_error_value = isset($option['short_attr']['empty_error_value']) ? $option['short_attr']['empty_error_value'] : '';
5945
+ $var_final_check = isset($option['short_attr']['var_final_if']) && ($option['short_attr']['var_final_if'] == 'yes' || $option['short_attr']['var_final_if'] == 'set') ? '_final' : '';
5946
+
5947
+ $set_operator = isset($option['short_attr']['set_operator']) ? $option['short_attr']['set_operator'] : '';
5948
+ $set_equals = isset($option['short_attr']['set_equals']) ? $option['short_attr']['set_equals'] : '';
5949
+
5950
+ //Is this field Hidden
5951
+ echo 'if (jQuery(\'#' . $option_id . '\').is(":visible") || jQuery(\'#' . $option_id . '\').hasClass( "non-visible")){';
5952
+ //Create Variable
5953
+ switch ($option['option_type']) {
5954
+ case 'input' :
5955
+ echo 'var ' . (isset($section_attr_key) ? $section_attr_key : '') . $attr_name . ' = ' . (empty($empty_error) || $empty_error !== 'set' ? '\' ' . $attr_name . '=\' + ' : '') . 'jQuery("input#' . $option_id . '").val();' . "\n";
5956
+ break;
5957
+ case 'select' :
5958
+ echo 'var ' . (isset($section_attr_key) ? $section_attr_key : '') . $attr_name . ' = \' ' . $attr_name . '=\' + jQuery("select#' . $option_id . '").val();' . "\n";
5959
+ break;
5960
+ }
5961
+ //If Field Empty throw error (only if field can't be empty)
5962
+ if (!empty($empty_error) && $empty_error == 'yes' || !empty($empty_error) && $empty_error == 'set') {
5963
+ //Show Empty Error and Highlight input
5964
+ if ($empty_error == 'yes') {
5965
+
5966
+ echo isset($option['short_attr']['empty_error_if']) ? 'var ' . (isset($section_attr_key) ? $section_attr_key : '') . $attr_name . '_error = jQuery("' . $option['short_attr']['empty_error_if']['attribute'] . '").val(); if (' . (isset($section_attr_key) ? $section_attr_key : '') . $attr_name . '_error ' . $option['short_attr']['empty_error_if']['operator'] . ' "' . $option['short_attr']['empty_error_if']['value'] . '") {' : '';
5967
+
5968
+ echo 'if (' . (isset($section_attr_key) ? $section_attr_key : '') . $attr_name . ' == " ' . $attr_name . '=") {
5969
+ jQuery(".' . $input_wrap_class . '").addClass(\'fts-empty-error\');
5970
+ jQuery("input#' . $option_id . '").focus();
5971
+ return false;
5972
+ }
5973
+ if (' . (isset($section_attr_key) ? $section_attr_key : '') . $attr_name . ' != " ' . $attr_name . '=") {
5974
+ jQuery(".' . $input_wrap_class . '").removeClass(\'fts-empty-error\');
5975
+ }' . "\n";
5976
+
5977
+ $empty_error_value = !empty($empty_error_value) ? ' ' . $empty_error_value : '';
5978
+ echo isset($option['short_attr']['empty_error_if']) ? '}
5979
+ if (' . (isset($section_attr_key) ? $section_attr_key : '') . $attr_name . ' != " ' . $attr_name . '=") {
5980
+ var ' . (isset($section_attr_key) ? $section_attr_key : '') . $attr_name . $var_final_check . ' = \' ' . $attr_name . '=\' + jQuery("input#' . $option_id . '").val();
5981
+ }
5982
+ else {
5983
+ var ' . (isset($section_attr_key) ? $section_attr_key : '') . $attr_name . $var_final_check . ' = \'' . $empty_error_value . '\';
5984
+ }
5985
+ ' : '';
5986
+ }
5987
+ //Don't Show Empty Error but Automatically set value if not set.
5988
+ if ($empty_error == 'set') {
5989
+ $empty_error_value = !empty($empty_error_value) ? ' ' . $empty_error_value : '';
5990
+ echo 'if (' . (isset($section_attr_key) ? $section_attr_key : '') . $attr_name . ($set_operator && $set_equals ? $set_operator . ' \' ' . $attr_name . '=' . $set_equals . '\'' : '') . ') {
5991
+ var ' . (isset($section_attr_key) ? $section_attr_key : '') . $attr_name . $var_final_check . ' = \' ' . $attr_name . '=\' + jQuery("' . $option['option_type'] . '#' . $option_id . '").val();
5992
+ }
5993
+ else {
5994
+ var ' . (isset($section_attr_key) ? $section_attr_key : '') . $attr_name . $var_final_check . ' = \'' . $empty_error_value . '\';
5995
+ }' . "\n";
5996
+ }
5997
+ }
5998
+ //Is this field Hidden
5999
+ echo '}';
6000
+ } else {
6001
+ $output .= 'Please add "short_attr" to array.';
6002
+ }
6003
+
6004
+ //Premium Required? if so Check if active
6005
+ if (!isset($option['req_plugin']) || (isset($option['req_plugin']) && is_plugin_active($required_plugins[$option['req_plugin']]['plugin_url']) || isset($option['or_req_plugin']) && is_plugin_active($required_plugins[$option['or_req_plugin']]['plugin_url'])) || isset($option['or_req_plugin_three']) && is_plugin_active($required_plugins[$option['or_req_plugin_three']]['plugin_url'])) {
6006
+ //Check "IF"s if they exist
6007
+ if (isset($option['short_attr']['ifs'])) {
6008
+ $if_array = $option['short_attr']['ifs'];
6009
+ $if_array = explode(',', $if_array);
6010
+ foreach ($if_array as $key => $if_group) {
6011
+ $and_if_array = isset($option['short_attr']['and_ifs']) ? $option['short_attr']['and_ifs'] : '';
6012
+ if (!$and_if_array) {
6013
+ $final_shortcode_var[$if_group][$attr_name] = (isset($section_attr_key) ? $section_attr_key : '') . $attr_name . $var_final_check;
6014
+ } else {
6015
+ //Unset to Shift to end if key exists already
6016
+ if (isset($final_shortcode_var[$if_group]['and_ifs'])) {
6017
+ $inital_and_if = $final_shortcode_var[$if_group]['and_ifs'];
6018
+ unset($final_shortcode_var[$if_group]['and_ifs']);
6019
+ $final_shortcode_var[$if_group]['and_ifs'] = $inital_and_if;
6020
+ }
6021
+ $final_shortcode_var[$if_group]['and_ifs'][$option['short_attr']['and_ifs']][$attr_name] = (isset($section_attr_key) ? $section_attr_key : '') . $attr_name . $var_final_check;
6022
+ }
6023
+ }
6024
+ } //no IF
6025
+ else {
6026
+ $final_shortcode_var['general_options'][] = (isset($section_attr_key) ? $section_attr_key : '') . $attr_name . $var_final_check;
6027
+ }
6028
+ }
6029
+
6030
+ ?> // Extra Options to show px if user does not enter it.
6031
+ // Facebook
6032
+ var isPXpresent = jQuery('#facebook_page_height').val();
6033
+ // This is in place to auto add the px if a specific input is missing it.
6034
+ if (jQuery('#facebook_page_height').val().indexOf('px') <= 0 && isPXpresent !== "") {
6035
+ jQuery('#facebook_page_height').val(jQuery('#facebook_page_height').val() + 'px');
6036
+ }
6037
+ <?php if (is_plugin_active('feed-them-premium/feed-them-premium.php') || is_plugin_active('feed-them-social-facebook-reviews/feed-them-social-facebook-reviews.php')) { ?>
6038
+ var isPXpresent2 = jQuery('#facebook_grid_column_width').val();
6039
+ if (jQuery('#facebook_grid_column_width').val().indexOf('px') <= 0 && isPXpresent2 !== "") {
6040
+ jQuery('#facebook_grid_column_width').val(jQuery('#facebook_grid_column_width').val() + 'px');
6041
+ }
6042
+ var isPXpresent3 = jQuery('#facebook_grid_space_between_posts').val();
6043
+ if (jQuery('#facebook_grid_space_between_posts').val().indexOf('px') <= 0 && isPXpresent3 !== "") {
6044
+ jQuery('#facebook_grid_space_between_posts').val(jQuery('#facebook_grid_space_between_posts').val() + 'px');
6045
+ }
6046
+ var isPXpresent4 = jQuery('#loadmore_button_width').val();
6047
+ if (jQuery('#loadmore_button_width').val().indexOf('px') <= 0 && isPXpresent4 !== "") {
6048
+ jQuery('#loadmore_button_width').val(jQuery('#loadmore_button_width').val() + 'px');
6049
+ }
6050
+ var isPXpresent5 = jQuery('#loadmore_button_margin').val();
6051
+ if (jQuery('#loadmore_button_margin').val().indexOf('px') <= 0 && isPXpresent5 !== "") {
6052
+ jQuery('#loadmore_button_margin').val(jQuery('#loadmore_button_margin').val() + 'px');
6053
+ }
6054
+ var isPXpresent12 = jQuery('#like_box_width').val();
6055
+ if (jQuery('#like_box_width').val().indexOf('px') <= 0 && isPXpresent12 !== "") {
6056
+ jQuery('#like_box_width').val(jQuery('#like_box_width').val() + 'px');
6057
+ }
6058
+ <?php } ?>
6059
+
6060
+ // Twitter
6061
+ var isPXpresent6 = jQuery('#twitter_height').val();
6062
+ if (jQuery('#twitter_height').val().indexOf('px') <= 0 && isPXpresent6 !== "") {
6063
+ jQuery('#twitter_height').val(jQuery('#twitter_height').val() + 'px');
6064
+ }
6065
+ // Instagram
6066
+ var isPXpresent11 = jQuery('#instagram_page_height').val();
6067
+ if (jQuery('#instagram_page_height').val().indexOf('px') <= 0 && isPXpresent11 !== "") {
6068
+ jQuery('#instagram_page_height').val(jQuery('#instagram_page_height').val() + 'px');
6069
+ }
6070
+ // Instagram
6071
+ var isPXpresent13 = jQuery('#fts-slicker-youtube-container-margin').val();
6072
+ if (jQuery('#fts-slicker-youtube-container-margin').val().indexOf('px') <= 0 && isPXpresent13 !== "") {
6073
+ jQuery('#fts-slicker-youtube-container-margin').val(jQuery('#fts-slicker-youtube-container-margin').val() + 'px');
6074
+ }
6075
+
6076
+ <?php if (is_plugin_active('feed-them-social-combined-streams/feed-them-social-combined-streams.php')) { ?>
6077
+ var isPXpresent = jQuery('#combine_grid_column_width').val();
6078
+ // This is in place to auto add the px if a specific input is missing it.
6079
+ if (jQuery('#combine_grid_column_width').val().indexOf('px') <= 0 && isPXpresent !== "") {
6080
+ jQuery('#combine_grid_column_width').val(jQuery('#combine_grid_column_width').val() + 'px');
6081
+ }
6082
+ var isPXpresent = jQuery('#combine_grid_space_between_posts').val();
6083
+ // This is in place to auto add the px if a specific input is missing it.
6084
+ if (jQuery('#combine_grid_space_between_posts').val().indexOf('px') <= 0 && isPXpresent !== "") {
6085
+ jQuery('#combine_grid_space_between_posts').val(jQuery('#combine_grid_space_between_posts').val() + 'px');
6086
+ }
6087
+ var isPXpresent = jQuery('#combine_height').val();
6088
+ // This is in place to auto add the px if a specific input is missing it.
6089
+ if (jQuery('#combine_height').val().indexOf('px') <= 0 && isPXpresent !== "") {
6090
+ jQuery('#combine_height').val(jQuery('#combine_height').val() + 'px');
6091
+ }
6092
+ <?php } ?>
6093
+
6094
+ <?php
6095
+
6096
+ }
6097
+ }
6098
+ //End JS Loop
6099
+
6100
+ //Start Final Shortcode
6101
+ echo 'var final_' . $section . '_shorcode_start = \'[fts_' . (isset($section_info['shorcode_label']) ? $section_info['shorcode_label'] : $section) . '\';' . "\n";
6102
+
6103
+ $shortcode_general_options = '';
6104
+ echo 'var final_' . $section . '_shorcode_attributes =\'\';' . "\n";
6105
+
6106
+ if (isset($final_shortcode_var['general_options'])) {
6107
+ foreach ($final_shortcode_var['general_options'] as $final_attribute) {
6108
+ //Add Attributes to shortcode
6109
+ echo 'if (' . $final_attribute . '){final_' . $section . '_shorcode_attributes +=' . $final_attribute . ';}' . "\n";
6110
+ }
6111
+ }
6112
+ //End of shorcode
6113
+ echo 'var final_' . $section . '_shorcode_end = \']\';' . "\n";
6114
+
6115
+ //Special Options!
6116
+ foreach ($final_shortcode_var as $special_option_group => $special_options) if ($special_option_group !== 'general_options') {
6117
+ if (isset($section_info['shortcode_ifs'][$special_option_group])) {
6118
+ //If Variables
6119
+ $if_class = $section_info['shortcode_ifs'][$special_option_group]['if']['class'];
6120
+ $if_operator = $section_info['shortcode_ifs'][$special_option_group]['if']['operator'];
6121
+ $if_value = $section_info['shortcode_ifs'][$special_option_group]['if']['value'];
6122
+
6123
+ //And IF variables
6124
+ if (isset($final_shortcode_var[$special_option_group]['and_ifs'])) {
6125
+ $and_ifs_array = $final_shortcode_var[$special_option_group]['and_ifs'];
6126
+ //And Ifs Print
6127
+ foreach ($and_ifs_array as $key => $and_ifs_attribute_array) {
6128
+ //If Variables
6129
+ $and_if_class = $section_info['shortcode_ifs'][$key]['if']['class'];
6130
+ $and_if_operator = $section_info['shortcode_ifs'][$key]['if']['operator'];
6131
+ $and_if_value = $section_info['shortcode_ifs'][$key]['if']['value'];
6132
+
6133
+ echo 'if (jQuery("' . $if_class . '").val() ' . $if_operator . ' "' . $if_value . '" && jQuery("' . $and_if_class . '").val() ' . $and_if_operator . ' "' . $and_if_value . '") {' . "\n";
6134
+ foreach ($and_ifs_attribute_array as $and_if_key => $and_if_attribute) {
6135
+ //Add Attributes to shortcode
6136
+ echo 'if (' . $and_if_attribute . '){ final_' . $section . '_shorcode_attributes +=' . $and_if_attribute . ';}';
6137
+ }
6138
+ echo "\n" . '}' . "\n";
6139
+ }
6140
+ }
6141
+ unset($final_shortcode_var[$special_option_group]['and_ifs']);
6142
+ //If Variables
6143
+ $i = 0;
6144
+ echo 'if (jQuery("' . $if_class . '").val() ' . $if_operator . ' "' . $if_value . '") {' . "\n";
6145
+ foreach ($final_shortcode_var[$special_option_group] as $key => $final_special_attribute) {
6146
+ //Add Attributes to shortcode
6147
+ echo 'if (' . $final_special_attribute . '){ final_' . $section . '_shorcode_attributes +=' . $final_special_attribute . ';}';
6148
+ }
6149
+ echo "\n" . '}' . "\n";
6150
+ }
6151
+ }
6152
+ //Put the shortcode together
6153
+ echo 'var final_' . $section . '_shorcode = final_' . $section . '_shorcode_start + final_' . $section . '_shorcode_attributes + final_' . $section . '_shorcode_end;' . "\n";
6154
+
6155
+ //Create Final Shortcode and show it!
6156
+ echo 'jQuery(\'.' . $section_info['generator_class'] . '\').val(final_' . $section . '_shorcode);' . "\n";
6157
+ echo 'jQuery(\'.' . $section_info['form_wrap_classes'] . ' .final-shortcode-textarea\').slideDown();';
6158
+
6159
+ echo '}';
6160
+ }
6161
+ ?>
6162
+
6163
+ //END Instagram//
6164
+
6165
+
6166
+ //START convert Instagram name to id for regular isntagram and combined feeds instagram option //
6167
+ function converter_instagram_username() {
6168
+
6169
+ var convert_instagram_username = jQuery("input#convert_instagram_username").val();
6170
+
6171
+ var convert_instagram_username_combined = jQuery("input#combine_convert_instagram_username").val();
6172
+
6173
+ // Regular Instagram Converter
6174
+ if (jQuery("#fts-instagram-form").is(':visible') && convert_instagram_username == "") {
6175
+ jQuery("#convert_instagram_username").addClass('fts-empty-error');
6176
+ jQuery("input#convert_instagram_username").focus();
6177
+ return false;
6178
+ }
6179
+ else if (jQuery("#fts-instagram-form").is(':visible') && convert_instagram_username !== "") {
6180
+ jQuery(".convert_instagram_username").removeClass('fts-empty-error');
6181
+ var username_id = "#convert_instagram_username";
6182
+ var picker_wrap = "#fts-instagram-username-picker-wrap";
6183
+ var username = convert_instagram_username;
6184
+ }
6185
+
6186
+
6187
+ // Combined Feeds Converter
6188
+ if (jQuery("#fts-combine-steams-form").is(':visible') && convert_instagram_username_combined == "") {
6189
+ // alert('wtf');
6190
+ jQuery("#combine_convert_instagram_username").addClass('fts-empty-error');
6191
+ jQuery("input#combine_convert_instagram_username").focus();
6192
+ return false;
6193
+ }
6194
+ else if (jQuery("#fts-combine-steams-form").is(':visible') && convert_instagram_username_combined !== "") {
6195
+
6196
+ jQuery(".convert_instagram_username").removeClass('fts-empty-error');
6197
+ var username_id = "#combine_convert_instagram_username";
6198
+ var picker_wrap = "#fts-instagram-username-picker-wrap-combined";
6199
+ var username = convert_instagram_username_combined;
6200
+ }
6201
+
6202
+ console.log(username);
6203
+
6204
+ <?php $fts_instagram_tokens_array = array('9844495a8c4c4c51a7c519d0e7e8f293', '9844495a8c4c4c51a7c519d0e7e8f293');
6205
+ $fts_instagram_access_token = $fts_instagram_tokens_array[array_rand($fts_instagram_tokens_array, 1)];
6206
+ ?>
6207
+ jQuery.getJSON("https://api.instagram.com/v1/users/search?q=" + username + "&client_id=<?php echo $fts_instagram_access_token; ?>&access_token=258559306.da06fb6.c222db6f1a794dccb7a674fec3f0941f&callback=?",
6208
+
6209
+ {
6210
+ format: "json"
6211
+ },
6212
+ function (data) {
6213
+
6214
+ console.log(data);
6215
+
6216
+ var convert_instagram_username = jQuery("input#convert_instagram_username").val();
6217
+
6218
+ var convert_instagram_username_combined = jQuery("input#combine_convert_instagram_username").val();
6219
+ jQuery('.fts-instagram-username-picker-wrap').html('');
6220
+ jQuery('.fts-instagram-username-picker-wrap').closest('.instructional-text').css("border", "none");
6221
+
6222
+
6223
+ jQuery.each(data.data, function (key, val) {
6224
+ console.log(data.data[key].full_name);
6225
+ console.log(data.data[key].profile_picture);
6226
+ console.log(data.data[key].username);
6227
+ console.log(data.data[key].id);
6228
+
6229
+ if (jQuery(username_id).val() === data.data[key].username) {
6230
+
6231
+ jQuery(username_id).prepend(data.data[key].username);
6232
+
6233
+ jQuery(picker_wrap).prepend('<li class="fts-insta-username-' + data.data[key].username + '"><div class="fts-insta-profile-picture-div"><img src="' + data.data[key].profile_picture + '"/><div class="fts-insta-fullname-div"><strong>Full Name:</strong> ' + data.data[key].full_name + '</div><div class="fts-insta-username-div"><strong>Username:</strong> ' + data.data[key].username + '</div><div class="fts-insta-id-div"><strong>ID:</strong> <span class="fts-insta-id-final">' + data.data[key].id + '</span></span></div></li>');
6234
+
6235
+
6236
+ if (jQuery("#fts-instagram-form").is(':visible') && convert_instagram_username !== "") {
6237
+ jQuery('.fts-insta-username-' + data.data[key].username + '').addClass('fts-insta-id-active');
6238
+ jQuery('#instagram_id').val(data.data[key].id);
6239
+ console.log('Success');
6240
+ console.log('.fts-insta-username-' + data.data[key].username + '');
6241
+ }
6242
+
6243
+ if (jQuery("#fts-combine-steams-form").is(':visible') && convert_instagram_username_combined !== "") {
6244
+ jQuery('.fts-insta-username-' + data.data[key].username + '').addClass('fts-insta-id-active');
6245
+ jQuery('#combine_instagram_name').val(data.data[key].id);
6246
+
6247
+
6248
+ console.log('Success');
6249
+ console.log('.fts-insta-username-' + data.data[key].username + '');
6250
+
6251
+ }
6252
+
6253
+ }
6254
+ else {
6255
+ jQuery(picker_wrap).append('<li class="fts-insta-username-' + data.data[key].username + '"><div class="fts-insta-profile-picture-div"><img src="' + data.data[key].profile_picture + '"/><div class="fts-insta-fullname-div"><strong>Full Name:</strong> ' + data.data[key].full_name + '</div><div class="fts-insta-username-div"><strong>Username:</strong> ' + data.data[key].username + '</div><div class="fts-insta-id-div"><strong>ID:</strong> <span class="fts-insta-id-final">' + data.data[key].id + '</span></span></div></li>');
6256
+
6257
+ }
6258
+
6259
+ });
6260
+
6261
+ });
6262
+ }
6263
+
6264
+ //Append button to instagram converter input
6265
+ // jQuery('.combine-instagram-id-option-wrap').append('<input type="button" class="feed-them-social-admin-submit-btn" value="Convert Instagram Username" onclick="converter_instagram_username();" tabindex="4" style="margin-right:1em;" />');
6266
+
6267
+ jQuery(document).ready(function () {
6268
+
6269
+ // Use this to force form to be open for easier development access to shortcode options( comment out when not in use ) .fts-instagram-form
6270
+ // jQuery('.shortcode-generator-form').hide();
6271
+ // jQuery('.combine-steams-shortcode-form').fadeIn('fast');
6272
+
6273
+ // This is for when you click on the returned instagram id,name list it will make that li active and append the value to the instagram ID input.
6274
+ jQuery('.fts-instagram-username-picker-wrap').on('click', 'li', function () {
6275
+ var convert_instagram_username = jQuery("input#convert_instagram_username").val();
6276
+ var convert_instagram_username_combined = jQuery("input#combine_convert_instagram_username").val();
6277
+ var insta_page_id = jQuery(this).find('.fts-insta-id-final').html();
6278
+ console.log(insta_page_id);
6279
+
6280
+ if (convert_instagram_username !== "") {
6281
+ jQuery("#instagram_id").val(insta_page_id);
6282
+ }
6283
+ if (convert_instagram_username_combined !== "") {
6284
+ jQuery("#combine_instagram_name").val(insta_page_id);
6285
+ }
6286
+
6287
+ jQuery('.fts-instagram-username-picker-wrap li').not(this).removeClass('fts-insta-id-active');
6288
+ jQuery(this).addClass('fts-insta-id-active');
6289
+
6290
+ });
6291
+
6292
+ jQuery(".toggle-custom-textarea-show").click(function () {
6293
+ jQuery('textarea#fts-color-options-main-wrapper-css-input').slideToggle();
6294
+ jQuery('.toggle-custom-textarea-show span').toggle();
6295
+ jQuery('.fts-custom-css-text').toggle();
6296
+ });
6297
+
6298
+ // START: Fix issues when people enter the full url instead of just the ID or Name. We'll truncate this at a later date.
6299
+ jQuery("#fb_page_id").change(function () {
6300
+ var feedID = jQuery("input#fb_page_id").val();
6301
+ if (feedID.indexOf('facebook.com') != -1 || feedID.indexOf('facebook.com') != -1) {
6302
+ feedID = feedID.replace(/\/$/, '');
6303
+ feedID = feedID.substr(feedID.lastIndexOf('/') + 1);
6304
+ var newfeedID = feedID;
6305
+ jQuery('#fb_page_id').val(newfeedID);
6306
+ return;
6307
+ }
6308
+ });
6309
+
6310
+ jQuery("#twitter_name").change(function () {
6311
+ var feedID = jQuery("input#twitter_name").val();
6312
+ if (feedID.indexOf('twitter.com') != -1) {
6313
+ feedID = feedID.replace(/\/$/, '');
6314
+ feedID = feedID.substr(feedID.lastIndexOf('/') + 1);
6315
+ var newfeedID = feedID;
6316
+ jQuery('#twitter_name').val(newfeedID);
6317
+ return;
6318
+ }
6319
+ });
6320
+
6321
+ jQuery("#convert_instagram_username").change(function () {
6322
+ var feedID = jQuery("input#convert_instagram_username").val();
6323
+ if (feedID.indexOf('instagram.com') != -1) {
6324
+ feedID = feedID.replace(/\/$/, '');
6325
+ feedID = feedID.substr(feedID.lastIndexOf('/') + 1);
6326
+ var newfeedID = feedID;
6327
+ jQuery('#convert_instagram_username').val(newfeedID);
6328
+ return;
6329
+ }
6330
+ });
6331
+
6332
+ jQuery("#pinterest_board_name").change(function () {
6333
+ var feedID = jQuery("input#pinterest_board_name").val();
6334
+ if (feedID.indexOf('pinterest.com') != -1) {
6335
+ feedID = feedID.replace(/\/$/, '');
6336
+ feedID = feedID.substr(feedID.lastIndexOf('/') + 1);
6337
+ var newfeedID = feedID;
6338
+ jQuery('#pinterest_board_name').val(newfeedID);
6339
+ return;
6340
+ }
6341
+ });
6342
+
6343
+ jQuery("#pinterest_name").change(function () {
6344
+ var feedID = jQuery("input#pinterest_name").val();
6345
+ if (feedID.indexOf('pinterest.com') != -1) {
6346
+ feedID = feedID.replace(/\/$/, '');
6347
+ feedID = feedID.substr(feedID.lastIndexOf('/') + 1);
6348
+ var newfeedID = feedID;
6349
+ jQuery('#pinterest_name').val(newfeedID);
6350
+ return;
6351
+ }
6352
+ });
6353
+
6354
+ <?php
6355
+ //show the js for the discount option under social icons on the settings page
6356
+ // if(!is_plugin_active('feed-them-premium/feed-them-premium.php')) {
6357
+ // jQuery("#discount-for-review").click(function () {
6358
+ // jQuery('.discount-review-text').slideToggle();
6359
+ // });
6360
+ //} ?>
6361
+
6362
+ //START youtube//
6363
+ //Youtube Options
6364
+ jQuery('select#youtube-messages-selector').bind('change', function (e) {
6365
+ if (jQuery('#youtube-messages-selector').val() == 'channelID') {
6366
+ jQuery('.youtube_name, .youtube_playlistID, .youtube_channelID2, .youtube_playlistID2, .youtube_name2, .youtube_align_comments_wrap, .youtube_singleVideoID, .youtube_video_single_info_display').hide();
6367
+ jQuery('.youtube_channelID, .youtube_hide_option, .youtube_video_thumbs_display, .youtube_vid_count, h3.sectioned-options-title').show();
6368
+ }
6369
+ else if (jQuery('#youtube-messages-selector').val() == 'userPlaylist') {
6370
+ jQuery('.youtube_name, .youtube_channelID, .youtube_playlistID, .youtube_channelID, .youtube_channelID2, .youtube_align_comments_wrap, .youtube_singleVideoID, .youtube_video_single_info_display').hide();
6371
+ jQuery('.youtube_playlistID2, .youtube_name2, .youtube_hide_option, .youtube_video_thumbs_display, h3.sectioned-options-title').show();
6372
+ }
6373
+ else if (jQuery('#youtube-messages-selector').val() == 'playlistID') {
6374
+ jQuery('.youtube_name, .youtube_channelID, .youtube_playlistID2, .youtube_name2, .youtube_align_comments_wrap, .youtube_singleVideoID, .youtube_video_single_info_display').hide();
6375
+ jQuery('.youtube_playlistID, .youtube_channelID2, .youtube_hide_option, .youtube_video_thumbs_display, .youtube_vid_count, h3.sectioned-options-title').show();
6376
+ }
6377
+ else if (jQuery('#youtube-messages-selector').val() == 'singleID') {
6378
+ jQuery('.youtube_name,.youtube_playlistID, .youtube_channelID, .youtube_channelID2, .youtube_playlistID2, .youtube_name2, .youtube_vid_count, .youtube_hide_option, .youtube_video_thumbs_display, h3.sectioned-options-title').hide();
6379
+ jQuery('.youtube_singleVideoID, .youtube_align_comments_wrap, .youtube_video_single_info_display').show();
6380
+ }
6381
+ else if (jQuery('#youtube-messages-selector').val() == 'username') {
6382
+ jQuery('.youtube_playlistID, .youtube_channelID, .youtube_channelID2, .youtube_playlistID2, .youtube_name2, .youtube_align_comments_wrap, .youtube_singleVideoID, .youtube_video_single_info_display').hide();
6383
+ jQuery('.youtube_name, .youtube_hide_option, .youtube_video_thumbs_display, .youtube_vid_count, h3.sectioned-options-title').show();
6384
+ }
6385
+ });
6386
+
6387
+
6388
+ jQuery('.youtube_first_video').hide();
6389
+
6390
+ jQuery('select#youtube_columns').change(function () {
6391
+ var youtube_columns_count = jQuery(this).val();
6392
+
6393
+ if (youtube_columns_count == '1') {
6394
+ jQuery('.youtube_first_video').hide();
6395
+ }
6396
+ else {
6397
+ jQuery('.youtube_first_video').show();
6398
+ }
6399
+ });
6400
+
6401
+
6402
+ jQuery("#youtube_name").change(function () {
6403
+ var feedID = jQuery("input#youtube_name").val();
6404
+ if (feedID.indexOf('youtube.com/user') != -1) {
6405
+ feedID = feedID.replace(/\/$/, '');
6406
+ feedID = feedID.substr(feedID.lastIndexOf('/') + 1);
6407
+ var newfeedID = feedID;
6408
+ jQuery('#youtube_name').val(newfeedID);
6409
+ return;
6410
+ }
6411
+ });
6412
+
6413
+ jQuery("#youtube_name2").change(function () {
6414
+ var feedID = jQuery("input#youtube_name2").val();
6415
+ if (feedID.indexOf('youtube.com/user') != -1) {
6416
+ feedID = feedID.replace(/\/$/, '');
6417
+ feedID = feedID.substr(feedID.lastIndexOf('/') + 1);
6418
+ var newfeedID = feedID;
6419
+ jQuery('#youtube_name2').val(newfeedID);
6420
+ return;
6421
+ }
6422
+ });
6423
+
6424
+ jQuery("#youtube_channelID").change(function () {
6425
+ var feedID = jQuery("input#youtube_channelID").val();
6426
+ if (feedID.indexOf('youtube.com/channel') != -1) {
6427
+ feedID = feedID.replace(/\/$/, '');
6428
+ feedID = feedID.substr(feedID.lastIndexOf('/') + 1);
6429
+ var newfeedID = feedID;
6430
+ jQuery('#youtube_channelID').val(newfeedID);
6431
+ return;
6432
+ }
6433
+ });
6434
+
6435
+ jQuery("#youtube_channelID2").change(function () {
6436
+ var feedID = jQuery("input#youtube_channelID2").val();
6437
+ if (feedID.indexOf('youtube.com/channel') != -1) {
6438
+ feedID = feedID.replace(/\/$/, '');
6439
+ feedID = feedID.substr(feedID.lastIndexOf('/') + 1);
6440
+ var newfeedID = feedID;
6441
+ jQuery('#youtube_channelID2').val(newfeedID);
6442
+ return;
6443
+ }
6444
+ });
6445
+
6446
+ jQuery("#youtube_playlistID").change(function () {
6447
+ var feedID = jQuery("input#youtube_playlistID").val();
6448
+ if (feedID.indexOf('&list=') != -1) {
6449
+ feedID = feedID.replace(/\/$/, '');
6450
+ feedID = feedID.substr(feedID.lastIndexOf('=') + 1);
6451
+ var newfeedID = feedID;
6452
+ jQuery('#youtube_playlistID').val(newfeedID);
6453
+ return;
6454
+ }
6455
+ });
6456
+
6457
+ jQuery("#youtube_playlistID2").change(function () {
6458
+ var feedID = jQuery("input#youtube_playlistID2").val();
6459
+ if (feedID.indexOf('&list=') != -1) {
6460
+ feedID = feedID.replace(/\/$/, '');
6461
+ feedID = feedID.substr(feedID.lastIndexOf('=') + 1);
6462
+ var newfeedID = feedID;
6463
+ jQuery('#youtube_playlistID2').val(newfeedID);
6464
+ return;
6465
+ }
6466
+ });
6467
+
6468
+ jQuery("#youtube_singleVideoID").change(function () {
6469
+ var feedID = jQuery("input#youtube_singleVideoID").val();
6470
+ if (feedID.indexOf('watch?v=') != -1) {
6471
+ feedID = feedID.replace(/\/$/, '');
6472
+ feedID = feedID.substr(feedID.lastIndexOf('=') + 1);
6473
+ var newfeedID = feedID;
6474
+ jQuery('#youtube_singleVideoID').val(newfeedID);
6475
+ return;
6476
+ }
6477
+ });
6478
+
6479
+
6480
+ // END: Fix issues when people enter the full url instead of just the ID or Name. We'll truncate this at a later date.
6481
+
6482
+
6483
+
6484
+ jQuery(".copyme").focus(function () {
6485
+
6486
+ var jQuerythis = jQuery(this);
6487
+ jQuerythis.select();
6488
+ // Work around Chrome's little problem
6489
+ jQuerythis.mouseup(function () {
6490
+ // Prevent further mouseup intervention
6491
+ jQuerythis.unbind("mouseup");
6492
+ return false;
6493
+ });
6494
+ });
6495
+
6496
+ }); //end document ready
6497
+
6498
+ // Like box/button Options Premium Content
6499
+ jQuery('#facebook-messages-selector').change(function () {
6500
+ if (jQuery("select#facebook-messages-selector").val() == "group" || jQuery("select#facebook-messages-selector").val() == "event" || jQuery("select#facebook-messages-selector").val() == "events") {
6501
+ jQuery('.main-like-box-wrap').hide();
6502
+ // alert(jQuery("select#facebook-messages-selector").val());
6503
+ }
6504
+ else {
6505
+ jQuery('.main-like-box-wrap').show();
6506
+ }
6507
+ });
6508
+
6509
+ // Carousel and Slideshow Premium Content
6510
+ jQuery('#facebook-messages-selector').change(function () {
6511
+ if (jQuery("select#facebook-messages-selector").val() == "album_photos" || jQuery("select#facebook-messages-selector").val() == "album_videos") {
6512
+ jQuery('.slideshow-wrap').show();
6513
+ }
6514
+ else {
6515
+ jQuery('.slideshow-wrap').hide();
6516
+ }
6517
+ });
6518
+ jQuery('#scrollhorz_or_carousel').change(function () {
6519
+ jQuery('.slider_carousel_wrap').toggle();
6520
+ });
6521
+ jQuery('#fts-slider').change(function () {
6522
+ jQuery('.slider_options_wrap').toggle();
6523
+ });
6524
+
6525
+ </script>
6526
+ <?php }
6527
+ }//END Class
trunk/admin/feed-them-system-info.php ADDED
@@ -0,0 +1,267 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace feedthemsocial;
3
+ /**
4
+ * Class FTS System Info Page
5
+ *
6
+ * @package feedthemsocial
7
+ * @since 1.9.6
8
+ */
9
+ class FTS_system_info_page extends feed_them_social_functions {
10
+
11
+ /**
12
+ * Construct
13
+ *
14
+ * Facebook Them System constructor.
15
+ *
16
+ * @since 1.9.6
17
+ */
18
+ function __construct() {
19
+ if ( is_admin() ) {
20
+ if (isset($_GET['page']) && $_GET['page'] == 'fts-system-info-submenu-page'){
21
+ //Set Search to Page and Posts
22
+ add_filter('pre_get_posts', array($this,'search_filter'));
23
+ //Filter for shortcodes
24
+ add_shortcode('shortcodefinderSlick', array($this,'wpb_find_shortcode'));
25
+ }
26
+ }
27
+ }
28
+
29
+ /**
30
+ * Feed Them Sstem Info Page
31
+ *
32
+ * @since 1.9.6
33
+ */
34
+ function feed_them_system_info_page() {
35
+ ?>
36
+ <div class="fts-help-admin-wrap"> <a class="buy-extensions-btn" href="https://www.slickremix.com/downloads/category/feed-them-social/" target="_blank">
37
+ <?php _e( 'Get Extensions Here!', 'feed-them-social' ); ?>
38
+ </a>
39
+ <h2>
40
+ <?php _e( 'System Info', 'feed-them-social' ); ?>
41
+ </h2>
42
+ <p>
43
+ <?php _e( 'Please click the box below and copy the report. You will need to paste this information along with your question in our', 'feed-them-social' ); ?>
44
+ <a href="https://www.slickremix.com/support/" target="_blank">
45
+ <?php _e( 'Support Forum', 'feed-them-social' ); ?>
46
+ </a>.
47
+ <?php _e( 'Ask your question then paste the copied text below it. To copy the system info, click below then press Ctrl + C (PC) or Cmd + C (Mac).', 'feed-them-social' ); ?>
48
+ </p>
49
+ <form action="<?php echo esc_url( admin_url( 'admin.php?page=fts-system-info-submenu-page' ) ); ?>" method="post" dir="ltr" >
50
+ <textarea readonly="readonly" onclick="this.focus();this.select()" id="system-info-textarea" name="fts-sysinfo" title="<?php _e( 'To copy the system info, click here then press Ctrl + C (PC) or Cmd + C (Mac).', 'feed-them-social' ); ?>">
51
+ ### Begin System Info ###
52
+ <?php
53
+ $theme_data = wp_get_theme();
54
+ $theme = $theme_data->Name . ' ' . $theme_data->Version; ?>
55
+
56
+ SITE_URL: <?php echo site_url() . "\n"; ?>
57
+ Feed Them Social Version: <?php echo FEED_THEM_SOCIAL_VERSION. "\n"; ?>
58
+
59
+ -- Wordpress Configuration:
60
+
61
+ WordPress Version: <?php echo get_bloginfo( 'version' ) . "\n"; ?>
62
+ Multisite: <?php echo is_multisite() ? 'Yes' . "\n" : 'No' . "\n" ?>
63
+ Permalink Structure: <?php echo get_option( 'permalink_structure' ) . "\n"; ?>
64
+ Active Theme: <?php echo $theme . "\n"; ?>
65
+ PHP Memory Limit: <?php echo ini_get( 'memory_limit' ) . "\n"; ?>
66
+ WP_DEBUG: <?php echo defined( 'WP_DEBUG' ) ? WP_DEBUG ? 'Enabled' . "\n" : 'Disabled' . "\n" : 'Not set' . "\n" ?>
67
+
68
+ -- Webserver Configuration:
69
+
70
+ PHP Version: <?php echo PHP_VERSION . "\n"; ?>
71
+ Web Server Info: <?php echo $_SERVER['SERVER_SOFTWARE'] . "\n"; ?>
72
+
73
+ -- PHP Configuration:
74
+
75
+ Safe Mode: <?php echo ini_get( 'safe_mode' ) ? "Yes" : "No\n"; ?>
76
+ Upload Max Size: <?php echo ini_get( 'upload_max_filesize' ) . "\n"; ?>
77
+ Post Max Size: <?php echo ini_get( 'post_max_size' ) . "\n"; ?>
78
+ Upload Max Filesize: <?php echo ini_get( 'upload_max_filesize' ) . "\n"; ?>
79
+ Time Limit: <?php echo ini_get( 'max_execution_time' ) . "\n"; ?>
80
+ Max Input Vars: <?php echo ini_get( 'max_input_vars' ) . "\n"; ?>
81
+ Allow URL File Open: <?php echo ( ini_get( 'allow_url_fopen' ) ) ? 'On (' . ini_get( 'display_errors' ) . ')' : 'N/A'; ?><?php echo "\n"; ?>
82
+ Display Erros: <?php echo ( ini_get( 'display_errors' ) ) ? 'On (' . ini_get( 'display_errors' ) . ')' : 'N/A'; ?><?php echo "\n"; ?>
83
+
84
+ -- PHP Extensions:
85
+
86
+ FSOCKOPEN: <?php echo ( function_exists( 'fsockopen' ) ) ? 'Your server supports fsockopen.' : 'Your server does not support fsockopen.'; ?><?php echo "\n"; ?>
87
+ cURL: <?php echo ( function_exists( 'curl_init' ) ) ? 'Your server supports cURL.' : 'Your server does not support cURL.'; ?><?php echo "\n"; ?>
88
+
89
+ -- FTS Settings->Global Options:
90
+ <?php $fts_cachetime = get_option('fts_clear_cache_developer_mode') ? get_option('fts_clear_cache_developer_mode') : '86400' ; ?>
91
+
92
+ Cache time: <?php echo $this->fts_cachetime_amount($fts_cachetime) . "\n"; ?>
93
+
94
+ -- Active Plugins:
95
+
96
+ <?php $plugins = \get_plugins();
97
+ $active_plugins = get_option( 'active_plugins', array() );
98
+ foreach ( $plugins as $plugin_path => $plugin ) {
99
+ // If the plugin isn't active, don't show it.
100
+ if ( ! in_array( $plugin_path, $active_plugins ) )
101
+ continue;
102
+ echo $plugin['Name'] . ': ' . $plugin['Version'] ."\n";
103
+ }
104
+ if ( is_multisite() ) :
105
+ ?>
106
+
107
+ -- Network Active Plugins:
108
+
109
+ <?php
110
+ $plugins = \wp_get_active_network_plugins();
111
+ $active_plugins = get_site_option( 'active_sitewide_plugins', array() );
112
+
113
+ foreach ( $plugins as $plugin_path ) {
114
+ $plugin_base = plugin_basename( $plugin_path );
115
+
116
+ // If the plugin isn't active, don't show it.
117
+ if ( ! array_key_exists( $plugin_base, $active_plugins ) )
118
+ continue;
119
+
120
+ $plugin = get_plugin_data( $plugin_path );
121
+
122
+ echo $plugin['Name'] . ' :' . $plugin['Version'] ."\n";
123
+ }
124
+
125
+ endif;
126
+
127
+ $facebookOptions = get_option('fts_facebook_custom_api_token') ? 'Yes' : 'No' ;
128
+ $facebookOptionsAppID = get_option('fb_app_ID') ? 'Yes' : 'No' ;
129
+ $twitterOptions1 = get_option('fts_twitter_custom_consumer_key') ? 'Yes' : 'No' ;
130
+ $twitterOptions2 = get_option('fts_twitter_custom_consumer_secret') ? 'Yes' : 'No' ;
131
+ $twitterOptions3 = get_option('fts_twitter_custom_access_token') ? 'Yes' : 'No' ;
132
+ $twitterOptions4 = get_option('fts_twitter_custom_access_token_secret') ? 'Yes' : 'No' ;
133
+ $instagramOptions = get_option('fts_instagram_custom_api_token') ? 'Yes' : 'No' ;
134
+ $pinterest_token = get_option('fts_pinterest_custom_api_token') ? 'Yes' : 'No' ;
135
+
136
+ $ftsDateTimeFormat = get_option('fts-date-and-time-format') ? get_option('fts-date-and-time-format') : 'No' ;
137
+ $ftsTimezone = get_option('fts-timezone') ? get_option('fts-timezone') : 'No' ;
138
+
139
+ $ftsOffsetPostLimit = get_option('fb_count_offset') ? get_option('fb_count_offset') : 'None' ;
140
+ $ftsHideOffsetPostLimitNotice = get_option('fb_hide_no_posts_message') ? 'No' : 'Yes' ;
141
+ $ftsFixTimeOut = get_option('fts_curl_option') ? get_option('fts_curl_option') : 'No' ;
142
+
143
+ $ftsFixTwitterTime = get_option('fts_twitter_time_offset') ? get_option('fts_twitter_time_offset') : '' ;
144
+ $ftsDisableMagnificCSS = get_option('fts_fix_magnific') ? get_option('fts_fix_magnific') : '' ;
145
+
146
+ ?>
147
+
148
+ -- Custom Token or Keys added to Options Pages
149
+ -- You must have a custom token to use the feeds
150
+
151
+ <?php if (is_plugin_active('feed-them-social-facebook-reviews/feed-them-social-facebook-reviews.php')) {
152
+ $fb_reviews_token = get_option('fts_facebook_custom_api_token_biz') ?'Yes' :'No' ;
153
+ ?>
154
+ Facebook Reviews App Token: <?php echo $fb_reviews_token . "\n"; } ?>
155
+ Facebook App Token: <?php echo $facebookOptions . "\n"; ?>
156
+ FB App ID for Like Button: <?php echo $facebookOptionsAppID . "\n"; ?>
157
+ Twitter Consumer Key: <?php echo $twitterOptions1 . "\n"; ?>
158
+ Twitter Secret: <?php echo $twitterOptions2 . "\n"; ?>
159
+ Twitter Token: <?php echo $twitterOptions3 . "\n"; ?>
160
+ Twitter Token Secret: <?php echo $twitterOptions4 . "\n"; ?>
161
+ Pinterest Token: <?php echo $pinterest_token . "\n"; ?>
162
+ Instagram: <?php echo $instagramOptions . "\n";
163
+
164
+ $youtubeOptions = get_option('youtube_custom_api_token') || get_option('youtube_custom_access_token') && get_option('youtube_custom_refresh_token') && get_option('youtube_custom_token_exp_time') ?'Yes' :'No' ;
165
+ $ftsFixLoadmore = get_option('fts_fix_loadmore') ? get_option('fts_fix_loadmore') : 'No' ;
166
+ $feed_them_social_premium_license_key = get_option('feed_them_social_premium_license_key');
167
+ $fts_bar_license_key = get_option('fts_bar_license_key');
168
+ $feed_them_carousel_premium_license_key = get_option('feed_them_carousel_premium_license_key');
169
+ $feed_them_social_combined_streams_license_key = get_option('feed_them_social_combined_streams_license_key');
170
+ $fb_hide_error_handler_message = get_option('fb_hide_error_handler_message');
171
+ $fb_hide_images_in_posts = get_option('fb_hide_images_in_posts');
172
+
173
+
174
+
175
+ ?>YouTube: <?php echo $youtubeOptions . "\n"; ?>
176
+
177
+ -- FaceBook & Twitter Date Format and Timezone
178
+
179
+ Date Format: <?php echo $ftsDateTimeFormat . "\n"; ?>
180
+ Timezone: <?php echo $ftsTimezone . "\n"; ?>
181
+
182
+ -- Hide Facebook Images in Posts:
183
+
184
+ Hide: <?php echo isset($fb_hide_images_in_posts) && $fb_hide_images_in_posts == 'yes' ? 'Yes'. "\n" : 'No'. "\n"; ?>
185
+
186
+ -- Hide Facebook Error Handler:
187
+
188
+ Hide: <?php echo isset($fb_hide_error_handler_message) && $fb_hide_error_handler_message == 'yes' ? 'Yes'. "\n" : 'No'. "\n"; ?>
189
+
190
+ -- Fix Twitter Time:
191
+
192
+ Fix: <?php echo isset($ftsFixTwitterTime) && $ftsFixTwitterTime == 1 ? 'Yes'. "\n" : 'No'. "\n"; ?>
193
+
194
+ -- Disable Magnific CSS:
195
+
196
+ Fix: <?php echo isset($ftsDisableMagnificCSS) && $ftsDisableMagnificCSS == 1 ? 'Yes'. "\n" : 'No'. "\n"; ?>
197
+
198
+ -- Fix Internal Server Error:
199
+ <?php if (is_plugin_active('feed-them-social-combined-streams/feed-them-social-combined-streams.php') || is_plugin_active('feed-them-premium/feed-them-premium.php') || is_plugin_active('feed-them-social-facebook-reviews/feed-them-social-facebook-reviews.php') || is_plugin_active('fts-bar/fts-bar.php') || is_plugin_active('feed-them-carousel-premium/feed-them-carousel-premium.php') ) { ?>
200
+
201
+ Fix: <?php echo isset($ftsFixTimeOut) && $ftsFixTimeOut == 1 ? 'Yes'. "\n" : 'No'. "\n"; ?>
202
+
203
+ -- Load More Options:
204
+
205
+ Override: <?php echo isset($ftsFixLoadmore) && $ftsFixLoadmore == 1 ? 'Yes'. "\n" : 'No'. "\n"; ?>
206
+
207
+ -- Premium Extensions:
208
+
209
+ <?php if (is_plugin_active('feed-them-social-combined-streams/feed-them-social-combined-streams.php')) { ?>
210
+ FTS Combined Streams: <?php echo isset($feed_them_social_combined_streams_license_key) && $feed_them_social_combined_streams_license_key !== '' ? 'Yes'. "\n" : 'No'. "\n"; }if (is_plugin_active('feed-them-premium/feed-them-premium.php')) { ?>
211
+ Premium Active: <?php echo isset($feed_them_social_premium_license_key) && $feed_them_social_premium_license_key !== '' ? 'Yes'. "\n" : 'No'. "\n"; }if (is_plugin_active('fts-bar/fts-bar.php')) { ?>
212
+ FTS Bar Active: <?php echo isset($fts_bar_license_key) && $fts_bar_license_key !== '' ? 'Yes'. "\n" : 'No'. "\n"; }if (is_plugin_active('feed-them-carousel-premium/feed-them-carousel-premium.php')) { ?>
213
+ FTS Carousel Premium: <?php echo isset($feed_them_carousel_premium_license_key) && $feed_them_carousel_premium_license_key !== '' ? 'Yes'. "\n" : 'No'. "\n"; }if (is_plugin_active('feed-them-social-facebook-reviews/feed-them-social-facebook-reviews.php')) { ?>
214
+ Facebook Reviews Active: <?php echo isset($fb_reviews_token) && $fb_reviews_token !== '' ? 'Yes'. "\n" : 'No'. "\n";}
215
+ } ?>
216
+
217
+ ### End System Info ###</textarea>
218
+ <?php
219
+ //-- Pages or Posts with Shortcode(s).
220
+ //-- If you are using our shortcode in a widget you'll need to paste your shortcode in our support forum.
221
+
222
+ // COMMENTING OUT FOR NOW BECAUSE TO MUCH INFO FROM PEOPLES SITES ARE BEING ADDED TO OUR SUPPORT FORUMS.
223
+ //echo do_shortcode("[shortcodefinderSlick find='[fts']"); ?>
224
+ </form>
225
+ <a class="fts-settings-admin-slick-logo" href="https://www.slickremix.com/support/" target="_blank"></a> </div>
226
+ <?php
227
+ }
228
+ //**************************************************
229
+ // Search Filter
230
+ //**************************************************
231
+ function search_filter( $query ) {
232
+ if ( $query->is_search ) {
233
+ $query->set( 'post_type', array('post', 'page') );
234
+ }
235
+ return $query;
236
+ }
237
+ //**************************************************
238
+ // Find Shortcode Filter
239
+ //**************************************************
240
+ function wpb_find_shortcode($atts, $content=null) {
241
+ ob_start();
242
+ extract( shortcode_atts( array(
243
+ 'find' => '',
244
+ ), $atts ) );
245
+
246
+ $string = $atts['find'];
247
+
248
+ $args = array(
249
+ 's' => $string,
250
+ 'posts_per_page'=>100,
251
+ );
252
+
253
+ $the_query = new \WP_Query( $args );
254
+
255
+ $posts = $the_query->get_posts();
256
+
257
+ foreach ($posts as $post) {
258
+ $the_query->the_post(); ?>
259
+ <<< <?php the_permalink(); ?> >>>
260
+ <?php remove_filter( 'the_content', 'do_shortcode', 11 ); the_content();
261
+ }
262
+
263
+ wp_reset_postdata();
264
+ return ob_get_clean();
265
+ }
266
+
267
+ }//End Class
trunk/admin/feed-them-twitter-style-options-page.php ADDED
@@ -0,0 +1,550 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace feedthemsocial;
4
+ /**
5
+ * Class FTS Twitter Options Page
6
+ *
7
+ * @package feedthemsocial
8
+ * @since 1.9.6
9
+ */
10
+ class FTS_twitter_options_page
11
+ {
12
+
13
+ /**
14
+ * Construct
15
+ *
16
+ * Twitter Style Options Page constructor.
17
+ *
18
+ * @since 1.9.6
19
+ */
20
+ function __construct() {
21
+ }
22
+
23
+ /**
24
+ * Feed Them Twitter Options Page
25
+ *
26
+ * @since 1.9.6
27
+ */
28
+ function feed_them_twitter_options_page() {
29
+ $fts_functions = new feed_them_social_functions();
30
+ ?>
31
+ <div class="feed-them-social-admin-wrap">
32
+ <h1>
33
+ <?php _e('Twitter Feed Options', 'feed-them-social'); ?>
34
+ </h1>
35
+ <div class="use-of-plugin">
36
+ <?php _e('Change the color of your twitter feed and more using the options below.', 'feed-them-social'); ?>
37
+ </div>
38
+ <!-- custom option for padding -->
39
+ <form method="post" class="fts-twitter-feed-options-form" action="options.php">
40
+
41
+ <?php // get our registered settings from the fts functions
42
+ settings_fields('fts-twitter-feed-style-options');
43
+
44
+ $twitter_full_width = get_option('twitter_full_width');
45
+ $twitter_allow_videos = get_option('twitter_allow_videos');
46
+ $twitter_allow_shortlink_conversion = get_option('twitter_allow_shortlink_conversion');
47
+ $twitter_show_follow_btn = get_option('twitter_show_follow_btn');
48
+ $twitter_show_follow_count = get_option('twitter_show_follow_count');
49
+ $twitter_show_follow_btn_where = get_option('twitter_show_follow_btn_where');
50
+ $fts_twitter_hide_images_in_posts = get_option('fts_twitter_hide_images_in_posts');
51
+
52
+
53
+
54
+ $fts_twitter_custom_consumer_key = get_option('fts_twitter_custom_consumer_key');
55
+ $fts_twitter_custom_consumer_secret = get_option('fts_twitter_custom_consumer_secret');
56
+
57
+ $test_fts_twitter_custom_consumer_key = '35mom6axGlf60ppHJYz1dsShc';
58
+ $test_fts_twitter_custom_consumer_secret = '7c2TJvUT7lS2EkCULpK6RGHrgXN1BA4oUi396pQEdRj3OEq5QQ';
59
+
60
+ $fts_twitter_custom_consumer_key = isset($fts_twitter_custom_consumer_key) && $fts_twitter_custom_consumer_key !== '' ? $fts_twitter_custom_consumer_key : $test_fts_twitter_custom_consumer_key;
61
+ $fts_twitter_custom_consumer_secret = isset($fts_twitter_custom_consumer_secret) && $fts_twitter_custom_consumer_secret !== '' ? $fts_twitter_custom_consumer_secret : $test_fts_twitter_custom_consumer_secret;
62
+
63
+ $fts_twitter_custom_access_token = get_option('fts_twitter_custom_access_token');
64
+ $fts_twitter_custom_access_token_secret = get_option('fts_twitter_custom_access_token_secret');
65
+
66
+ if (isset($_GET['page']) && $_GET['page'] == 'fts-twitter-feed-styles-submenu-page') {
67
+
68
+ include(WP_CONTENT_DIR . '/plugins/feed-them-social/feeds/twitter/twitteroauth/twitteroauth.php');
69
+
70
+ $test_connection = new TwitterOAuthFTS(
71
+ //Consumer Key
72
+ $fts_twitter_custom_consumer_key,
73
+ //Consumer Secret
74
+ $fts_twitter_custom_consumer_secret,
75
+ //Access Token
76
+ $fts_twitter_custom_access_token,
77
+ //Access Token Secret
78
+ $fts_twitter_custom_access_token_secret
79
+ );
80
+
81
+ $fetchedTweets = $test_connection->get(
82
+ 'statuses/user_timeline',
83
+ array(
84
+ 'screen_name' => 'twitter',
85
+ 'count' => '1',
86
+ )
87
+ );
88
+
89
+ // TESTING AREA
90
+ // $fetchedTweets = $test_connection->get(
91
+ // 'statuses/user_timeline',
92
+ // array(
93
+ // 'tweet_mode' => 'extended',
94
+ // 'screen_name' => 'slickremix',
95
+ // 'count' => '1',
96
+ // )
97
+ // );
98
+
99
+ // echo '<pre>';
100
+ // print_r($fetchedTweets);
101
+ // echo '</pre>';
102
+ // END TESTING
103
+ }
104
+ ?>
105
+ <div class="feed-them-social-admin-input-wrap" style="padding-top: 0px">
106
+ <div class="fts-title-description-settings-page">
107
+ <h3>
108
+ <?php _e('Twitter API Token', 'feed-them-social'); ?>
109
+ </h3>
110
+ <p><?php _e('This is required to make the feed work. Simply click the button below and it will connect to your Twitter account to get an access token and access token secret, and it will return it in the input below. Then just click the save button and you will now be able to generate your Twitter feed.', 'feed-them-social'); ?>
111
+ </p>
112
+ <p>
113
+ <a href="https://www.slickremix.com/get-twitter-token/?redirect_url=<?php echo admin_url('admin.php?page=fts-twitter-feed-styles-submenu-page');?>" class="fts-twitter-get-access-token">Log in and get my Access Tokens</a>
114
+
115
+ </p>
116
+
117
+ </div>
118
+
119
+
120
+ <a href="http://www.slickremix.com/docs/how-to-get-api-keys-and-tokens-for-twitter/" target="_blank" class="fts-admin-button-no-work">Button not working?</a>
121
+ </div>
122
+
123
+
124
+
125
+
126
+ <div class="fts-clear"></div>
127
+ <div class="feed-them-social-admin-input-wrap">
128
+ <?php $extra_keys = get_option('fts_twitter_custom_consumer_key') == '' && get_option('fts_twitter_custom_consumer_secret') == '' ? 'style="display:none"' : ''; ?>
129
+
130
+ <div class="fts-twitter-add-all-keys-click-option"><label for="fts-custom-tokens-twitter"><input type="checkbox" id="fts-custom-tokens-twitter" name="fts_twitter_custom_tokens" value="1" <?php echo checked('1', $extra_keys == ''); ?>> Add your own tokens?</label></div>
131
+
132
+ <div class="twitter-extra-keys" <?php echo $extra_keys ?> >
133
+ <div class="twitter-extra-keys-text"><?php _e('Learn how to manualy create the Consumer Key/Secret and the Access Token/Secret', 'feed-them-social'); ?> <a href="http://www.slickremix.com/docs/how-to-get-api-keys-and-tokens-for-twitter/" target="_blank" ><?php _e('here', 'feed-them-social'); ?></a>.</div>
134
+ <div class="feed-them-social-admin-input-wrap">
135
+ <div class="feed-them-social-admin-input-label fts-twitter-border-bottom-color-label">
136
+ <?php _e('Consumer Key (API Key)', 'feed-them-social'); ?>
137
+ </div>
138
+ <input type="text" name="fts_twitter_custom_consumer_key" class="feed-them-social-admin-input" id="fts_twitter_custom_consumer_key" value="<?php echo get_option('fts_twitter_custom_consumer_key'); ?>"/>
139
+ <div class="fts-clear"></div>
140
+ </div>
141
+ <div class="feed-them-social-admin-input-wrap">
142
+ <div class="feed-them-social-admin-input-label fts-twitter-border-bottom-color-label">
143
+ <?php _e('Consumer Secret (API Secret)', 'feed-them-social'); ?>
144
+ </div>
145
+ <input type="text" name="fts_twitter_custom_consumer_secret" class="feed-them-social-admin-input" id="fts_twitter_custom_consumer_secret" value="<?php echo get_option('fts_twitter_custom_consumer_secret'); ?>"/>
146
+ <div class="fts-clear"></div>
147
+ </div>
148
+ </div>
149
+
150
+ <script>
151
+ jQuery(document).ready(function ($) {
152
+
153
+ jQuery('#fts-custom-tokens-twitter').click(function(){
154
+ jQuery(".twitter-extra-keys").toggle();
155
+ });
156
+
157
+ <?php
158
+
159
+ $oath_token = isset($_GET['oauth_token']) ? $_GET['oauth_token'] : 'notset';
160
+ $oauth_token_secret = isset($_GET['oauth_token_secret']) ? $_GET['oauth_token_secret'] : 'notset';
161
+ if($oath_token !== 'notset' && $oauth_token_secret !== 'notset'){
162
+ ?>
163
+ $('#fts_twitter_custom_access_token').val('');
164
+ $('#fts_twitter_custom_access_token_secret').val('');
165
+ $('#fts_twitter_custom_access_token').val($('#fts_twitter_custom_access_token').val() + '<?php echo $oath_token ?>');
166
+ $('#fts_twitter_custom_access_token_secret').val($('#fts_twitter_custom_access_token_secret').val() + '<?php echo $oauth_token_secret ?>');
167
+ <?php } ?>
168
+
169
+ });
170
+ </script>
171
+ <div class="feed-them-social-admin-input-wrap">
172
+ <div class="feed-them-social-admin-input-label fts-twitter-border-bottom-color-label">
173
+ <?php _e('Access Token', 'feed-them-social'); ?>
174
+ </div>
175
+ <input type="text" name="fts_twitter_custom_access_token" class="feed-them-social-admin-input" id="fts_twitter_custom_access_token" value="<?php echo get_option('fts_twitter_custom_access_token'); ?>"/>
176
+ <div class="fts-clear"></div>
177
+ </div>
178
+
179
+ <div class="feed-them-social-admin-input-wrap">
180
+ <div class="feed-them-social-admin-input-label fts-twitter-border-bottom-color-label">
181
+ <?php _e('Access Token Secret', 'feed-them-social'); ?>
182
+ </div>
183
+ <input type="text" name="fts_twitter_custom_access_token_secret" class="feed-them-social-admin-input" id="fts_twitter_custom_access_token_secret" value="<?php echo get_option('fts_twitter_custom_access_token_secret'); ?>"/>
184
+ <div class="fts-clear"></div>
185
+ </div>
186
+
187
+
188
+ <div class="feed-them-social-admin-input-wrap"> <?php
189
+ // && !empty($test_fts_twitter_custom_access_token) && !empty($test_fts_twitter_custom_access_token_secret)
190
+ if (!empty($fts_twitter_custom_access_token_secret) && !empty($fts_twitter_custom_access_token_secret)) {
191
+ if ($test_connection->http_code != 200 || isset($fetchedTweets->errors)) {
192
+ echo '<div class="fts-failed-api-token">' . __('Oh No something\'s wrong.', 'feed-them-social') . '';
193
+ foreach ($fetchedTweets->errors as $error) {
194
+ echo ' <strong>' . $error->message . '. </strong> ' . __('You may have entered in the Access information incorrectly please re-enter and try again.', 'feed-them-social') . '';
195
+ }
196
+ echo '</div>';
197
+ } else {
198
+ echo '<div class="fts-successful-api-token">' . __('Your access token is working! Generate your shortcode on the <a href="admin.php?page=feed-them-settings-page">settings page</a>.', 'feed-them-social') . '</div>';
199
+ }
200
+ } else {
201
+ echo '<div class="fts-successful-api-token">' . __('You are using our Default Access tokens for testing purposes. Generate your shortcode on the <a href="admin.php?page=feed-them-settings-page">settings page</a> to test your feed, but remember to add your own tokens after testing as the default tokens will not always work.', 'feed-them-social') . '</div>';
202
+ }
203
+
204
+
205
+ ?>
206
+ </div>
207
+
208
+ <div class="fts-clear"></div>
209
+ </div>
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+ <div class="feed-them-social-admin-input-wrap">
226
+ <div class="fts-title-description-settings-page" >
227
+ <h3>
228
+ <?php _e('Follow Button Options', 'feed-them-social'); ?>
229
+ </h3>
230
+ <?php _e('This will only show on regular feeds not combined feeds.', 'feed-them-social'); ?>
231
+ </div>
232
+ <div class="feed-them-social-admin-input-label fts-twitter-text-color-label">
233
+ <?php _e('Show Follow Count', 'feed-them-social'); ?>
234
+ </div>
235
+ <select name="twitter_show_follow_count" id="twitter-show-follow-count" class="feed-them-social-admin-input">
236
+ <option
237
+ '<?php echo selected($twitter_show_follow_count, 'no', false) ?>' value="no">
238
+ <?php _e('No', 'feed-them-social'); ?>
239
+ </option>
240
+ <option
241
+ '<?php echo selected($twitter_show_follow_count, 'yes', false) ?>' value="yes">
242
+ <?php _e('Yes', 'feed-them-social'); ?>
243
+ </option>
244
+ </select>
245
+ <div class="fts-clear"></div>
246
+ </div>
247
+ <!--/fts-twitter-feed-styles-input-wrap-->
248
+
249
+ <div class="feed-them-social-admin-input-wrap">
250
+ <div class="feed-them-social-admin-input-label fts-twitter-text-color-label">
251
+ <?php _e('Show Follow Button', 'feed-them-social'); ?>
252
+ </div>
253
+ <select name="twitter_show_follow_btn" id="twitter-show-follow-btn" class="feed-them-social-admin-input">
254
+ <option
255
+ '<?php echo selected($twitter_show_follow_btn, 'no', false) ?>' value="no">
256
+ <?php _e('No', 'feed-them-social'); ?>
257
+ </option>
258
+ <option
259
+ '<?php echo selected($twitter_show_follow_btn, 'yes', false) ?>' value="yes">
260
+ <?php _e('Yes', 'feed-them-social'); ?>
261
+ </option>
262
+ </select>
263
+ <div class="fts-clear"></div>
264
+ </div>
265
+ <!--/fts-twitter-feed-styles-input-wrap-->
266
+
267
+ <div class="feed-them-social-admin-input-wrap">
268
+ <div class="feed-them-social-admin-input-label fts-twitter-text-color-label">
269
+ <?php _e('Placement of Follow Button', 'feed-them-social'); ?>
270
+ </div>
271
+ <select name="twitter_show_follow_btn_where" id="twitter-show-follow-btn-where" class="feed-them-social-admin-input">
272
+ <option>
273
+ <?php _e('Please Select Option', 'feed-them-social'); ?>
274
+ </option>
275
+ <option
276
+ '<?php echo selected($twitter_show_follow_btn_where, 'twitter-follow-above', false) ?>'
277
+ value="twitter-follow-above">
278
+ <?php _e('Show Above Feed', 'feed-them-social'); ?>
279
+ </option>
280
+ <option
281
+ '<?php echo selected($twitter_show_follow_btn_where, 'twitter-follow-below', false) ?>'
282
+ value="twitter-follow-below">
283
+ <?php _e('Show Below Feed', 'feed-them-social'); ?>
284
+ </option>
285
+ </select>
286
+ <div class="fts-clear"></div>
287
+ </div>
288
+ <!--/fts-twitter-feed-styles-input-wrap-->
289
+
290
+ <div class="feed-them-social-admin-input-wrap">
291
+ <div class="fts-title-description-settings-page">
292
+ <h3>
293
+ <?php _e('Video Player Options', 'feed-them-social'); ?>
294
+ </h3>
295
+ </div>
296
+ <div class="feed-them-social-admin-input-label fts-twitter-text-color-label">
297
+ <?php _e('Show videos', 'feed-them-social'); ?>
298
+ </div>
299
+ <select name="twitter_allow_videos" id="twitter-allow-videos" class="feed-them-social-admin-input">
300
+ <option
301
+ '<?php echo selected($twitter_allow_videos, 'no', false) ?>' value="no">
302
+ <?php _e('No', 'feed-them-social'); ?>
303
+ </option>
304
+ <option
305
+ '<?php echo selected($twitter_allow_videos, 'yes', false) ?>' value="yes">
306
+ <?php _e('Yes', 'feed-them-social'); ?>
307
+ </option>
308
+ </select>
309
+ <div class="fts-clear"></div>
310
+ </div>
311
+ <!--/fts-twitter-feed-styles-input-wrap-->
312
+
313
+ <div class="feed-them-social-admin-input-wrap" style="display: none">
314
+ <div class="feed-them-social-admin-input-label fts-twitter-text-color-label">
315
+ <?php _e('Convert shortlinks for video<br/><small>Like bitly etc. May slow load time slightly</small>', 'feed-them-social'); ?>
316
+ </div>
317
+ <select name="twitter_allow_shortlink_conversion" id="twitter-allow-shortlink-conversion" class="feed-them-social-admin-input">
318
+ <option
319
+ '<?php echo selected($twitter_allow_shortlink_conversion, 'no', false) ?>' value="no">
320
+ <?php _e('No', 'feed-them-social'); ?>
321
+ </option>
322
+ <option
323
+ '<?php echo selected($twitter_allow_shortlink_conversion, 'yes', false) ?>' value="yes">
324
+ <?php _e('Yes', 'feed-them-social'); ?>
325
+ </option>
326
+ </select>
327
+ <div class="fts-clear"></div>
328
+ </div>
329
+ <!--/fts-twitter-feed-styles-input-wrap-->
330
+
331
+ <div class="feed-them-social-admin-input-wrap">
332
+ <div class="fts-title-description-settings-page">
333
+ <h3>
334
+ <?php _e('Profile Photo Option', 'feed-them-social'); ?>
335
+ </h3>
336
+ </div>
337
+ <div class="feed-them-social-admin-input-label fts-twitter-text-color-label">
338
+ <?php _e('Hide Profile Photo', 'feed-them-social'); ?>
339
+ </div>
340
+ <select name="twitter_full_width" id="twitter-full-width" class="feed-them-social-admin-input">
341
+ <option
342
+ '<?php echo selected($twitter_full_width, 'no', false) ?>' value="no">
343
+ <?php _e('No', 'feed-them-social'); ?>
344
+ </option>
345
+ <option
346
+ '<?php echo selected($twitter_full_width, 'yes', false) ?>' value="yes">
347
+ <?php _e('Yes', 'feed-them-social'); ?>
348
+ </option>
349
+ </select>
350
+ <div class="fts-clear"></div>
351
+ </div>
352
+ <!--/fts-twitter-feed-styles-input-wrap-->
353
+
354
+ <div class="feed-them-social-admin-input-wrap">
355
+ <div class="fts-title-description-settings-page">
356
+ <h3>
357
+ <?php _e('Style Options', 'feed-them-social'); ?>
358
+ </h3>
359
+ </div>
360
+
361
+ <div class="feed-them-social-admin-input-wrap">
362
+ <div class="feed-them-social-admin-input-label fts-twitter-text-color-label">
363
+ <?php _e('Hide Images in Posts', 'feed-them-social'); ?>
364
+ </div>
365
+ <select name="fts_twitter_hide_images_in_posts" id="fts_twitter_hide_images_in_posts" class="feed-them-social-admin-input">
366
+ <option value="">
367
+ <?php _e('Please Select Option', 'feed-them-social'); ?>
368
+ </option>
369
+ <option <?php echo selected($fts_twitter_hide_images_in_posts, 'no', false) ?> value="no">
370
+ <?php _e('No', 'feed-them-social'); ?>
371
+ </option>
372
+ <option <?php echo selected($fts_twitter_hide_images_in_posts, 'yes', false) ?> value="yes">
373
+ <?php _e('Yes', 'feed-them-social'); ?>
374
+ </option>
375
+ </select>
376
+ <div class="fts-clear"></div>
377
+ </div>
378
+ <!--/fts-twitter-feed-styles-input-wrap-->
379
+
380
+ <div class="feed-them-social-admin-input-wrap">
381
+ <div class="feed-them-social-admin-input-label">
382
+ <?php _e('Max-width for Feed Images', 'feed-them-social'); ?>
383
+ </div>
384
+ <input type="text" name="twitter_max_image_width" class="feed-them-social-admin-input" placeholder="500px" value="<?php echo get_option('twitter_max_image_width'); ?>"/>
385
+ <div class="fts-clear"></div>
386
+ </div>
387
+ <!--/fts-twitter-feed-styles-input-wrap-->
388
+
389
+ <div class="feed-them-social-admin-input-wrap">
390
+ <div class="feed-them-social-admin-input-label fts-twitter-text-size-label">
391
+ <?php _e('Feed Description Text Size', 'feed-them-social'); ?>
392
+ </div>
393
+ <input type="text" name="twitter_text_size" class="feed-them-social-admin-input twitter-text-size-input" id="twitter-text-size-input" placeholder="12px" value="<?php echo get_option('twitter_text_size'); ?>"/>
394
+ <div class="fts-clear"></div>
395
+ </div>
396
+ <!--/fts-twitter-feed-styles-input-wrap-->
397
+
398
+ <div class="feed-them-social-admin-input-wrap">
399
+ <div class="feed-them-social-admin-input-label fts-twitter-text-color-label">
400
+ <?php _e('Feed Text Color', 'feed-them-social'); ?>
401
+ </div>
402
+ <input type="text" name="twitter_text_color" class="feed-them-social-admin-input twitter-text-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="twitter-text-color-input" placeholder="#222" value="<?php echo get_option('twitter_text_color'); ?>"/>
403
+ <div class="fts-clear"></div>
404
+ </div>
405
+ <!--/fts-twitter-feed-styles-input-wrap-->
406
+
407
+ <div class="feed-them-social-admin-input-wrap">
408
+ <div class="feed-them-social-admin-input-label fts-twitter-link-color-label">
409
+ <?php _e('Feed Link Color', 'feed-them-social'); ?>
410
+ </div>
411
+ <input type="text" name="twitter_link_color" class="feed-them-social-admin-input twitter-link-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="twitter-link-color-input" placeholder="#222" value="<?php echo get_option('twitter_link_color'); ?>"/>
412
+ <div class="fts-clear"></div>
413
+ </div>
414
+ <!--/fts-twitter-feed-styles-input-wrap-->
415
+
416
+ <div class="feed-them-social-admin-input-wrap">
417
+ <div class="feed-them-social-admin-input-label fts-twitter-link-color-hover-label">
418
+ <?php _e('Feed Link Color Hover', 'feed-them-social'); ?>
419
+ </div>
420
+ <input type="text" name="twitter_link_color_hover" class="feed-them-social-admin-input twitter-link-color-hover-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="twitter-link-color-hover-input" placeholder="#ddd" value="<?php echo get_option('twitter_link_color_hover'); ?>"/>
421
+ <div class="fts-clear"></div>
422
+ </div>
423
+ <!--/fts-twitter-feed-styles-input-wrap-->
424
+
425
+ <div class="feed-them-social-admin-input-wrap">
426
+ <div class="feed-them-social-admin-input-label fts-twitter-feed-width-label">
427
+ <?php _e('Feed Width', 'feed-them-social'); ?>
428
+ </div>
429
+ <input type="text" name="twitter_feed_width" class="feed-them-social-admin-input twitter-feed-width-input" id="twitter-feed-width-input" placeholder="500px" value="<?php echo get_option('twitter_feed_width'); ?>"/>
430
+ <div class="fts-clear"></div>
431
+ </div>
432
+ <!--/fts-twitter-feed-styles-input-wrap-->
433
+
434
+ <div class="feed-them-social-admin-input-wrap">
435
+ <div class="feed-them-social-admin-input-label fts-twitter-feed-margin-label">
436
+ <?php _e('Feed Margin <br/><small>To center feed type auto</small>', 'feed-them-social'); ?>
437
+ </div>
438
+ <input type="text" name="twitter_feed_margin" class="feed-them-social-admin-input twitter-feed-margin-input" id="twitter-feed-margin-input" placeholder="10px" value="<?php echo get_option('twitter_feed_margin'); ?>"/>
439
+ <div class="fts-clear"></div>
440
+ </div>
441
+ <!--/fts-twitter-feed-styles-input-wrap-->
442
+
443
+ <div class="feed-them-social-admin-input-wrap">
444
+ <div class="feed-them-social-admin-input-label fts-twitter-feed-padding-label">
445
+ <?php _e('Feed Padding', 'feed-them-social'); ?>
446
+ </div>
447
+ <input type="text" name="twitter_feed_padding" class="feed-them-social-admin-input twitter-feed-padding-input" id="twitter-feed-padding-input" placeholder="10px" value="<?php echo get_option('twitter_feed_padding'); ?>"/>
448
+ <div class="fts-clear"></div>
449
+ </div>
450
+ <!--/fts-twitter-feed-styles-input-wrap-->
451
+
452
+ <div class="feed-them-social-admin-input-wrap">
453
+ <div class="feed-them-social-admin-input-label fts-twitter-feed-background-color-label">
454
+ <?php _e('Feed Background Color', 'feed-them-social'); ?>
455
+ </div>
456
+ <input type="text" name="twitter_feed_background_color" class="feed-them-social-admin-input twitter-feed-background-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="twitter-feed-background-color-input" placeholder="#ddd" value="<?php echo get_option('twitter_feed_background_color'); ?>"/>
457
+ <div class="fts-clear"></div>
458
+ </div>
459
+ <!--/fts-twitter-feed-styles-input-wrap-->
460
+
461
+ <div class="feed-them-social-admin-input-wrap">
462
+ <div class="feed-them-social-admin-input-label fts-twitter-border-bottom-color-label">
463
+ <?php _e('Feed Border Bottom Color', 'feed-them-social'); ?>
464
+ </div>
465
+ <input type="text" name="twitter_border_bottom_color" class="feed-them-social-admin-input twitter-border-bottom-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="twitter-border-bottom-color-input" placeholder="#ddd" value="<?php echo get_option('twitter_border_bottom_color'); ?>"/>
466
+ <div class="fts-clear"></div>
467
+ </div>
468
+ <!--/fts-twitter-feed-styles-input-wrap-->
469
+ <?php if (is_plugin_active('feed-them-premium/feed-them-premium.php')) { ?>
470
+
471
+ <div class="feed-them-social-admin-input-wrap">
472
+ <div class="fts-title-description-settings-page">
473
+ <h3>
474
+ <?php _e('Grid Styles', 'feed-them-social'); ?>
475
+ </h3>
476
+ </div>
477
+ <div class="feed-them-social-admin-input-label fts-fb-grid-posts-background-color-label">
478
+ <?php _e('Posts Background Color', 'feed-them-social'); ?>
479
+ </div>
480
+ <input type="text" name="twitter_grid_posts_background_color" class="feed-them-social-admin-input fb-grid-posts-background-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="twitter-grid-posts-background-color-input" placeholder="#ddd" value="<?php echo get_option('twitter_grid_posts_background_color'); ?>"/>
481
+ <div class="fts-clear"></div>
482
+ </div>
483
+ <!--/fts-twitter-feed-styles-input-wrap-->
484
+
485
+ <div class="feed-them-social-admin-input-wrap">
486
+ <div class="feed-them-social-admin-input-label fts-fb-border-bottom-color-label">
487
+ <?php _e('Border Bottom Color', 'feed-them-social'); ?>
488
+ </div>
489
+ <input type="text" name="twitter_grid_border_bottom_color" class="feed-them-social-admin-input fb-border-bottom-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="twitter-border-bottom-color-input" placeholder="#ddd" value="<?php echo get_option('twitter_grid_border_bottom_color'); ?>"/>
490
+ <div class="fts-clear"></div>
491
+ </div>
492
+ <!--/fts-twitter-feed-styles-input-wrap-->
493
+
494
+ <div class="feed-them-social-admin-input-wrap">
495
+ <div class="fts-title-description-settings-page">
496
+ <h3>
497
+ <?php _e('Load More Button Styles & Options', 'feed-them-social'); ?>
498
+ </h3>
499
+ </div>
500
+ <div class="feed-them-social-admin-input-wrap">
501
+ <div class="feed-them-social-admin-input-label fts-fb-loadmore-background-color-label">
502
+ <?php _e('Button Color', 'feed-them-social'); ?>
503
+ </div>
504
+ <input type="text" name="twitter_loadmore_background_color" class="feed-them-social-admin-input fb-loadmore-background-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="twitter-loadmore-background-color-input" placeholder="#ddd" value="<?php echo get_option('twitter_loadmore_background_color'); ?>"/>
505
+ <div class="fts-clear"></div>
506
+ </div>
507
+ <!--/fts-twitter-feed-styles-input-wrap-->
508
+
509
+ <div class="feed-them-social-admin-input-wrap">
510
+ <div class="feed-them-social-admin-input-label fts-fb-border-bottom-color-label">
511
+ <?php _e('Text Color', 'feed-them-social'); ?>
512
+ </div>
513
+ <input type="text" name="twitter_loadmore_text_color" class="feed-them-social-admin-input fb-loadmore-text-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="twitter-loadmore-text-color-input" placeholder="#ddd" value="<?php echo get_option('twitter_loadmore_text_color'); ?>"/>
514
+ <div class="fts-clear"></div>
515
+ </div>
516
+ <!--/fts-twitter-feed-styles-input-wrap-->
517
+
518
+ <div class="feed-them-social-admin-input-wrap">
519
+ <div class="feed-them-social-admin-input-label">
520
+ <?php _e('"Load More" Text', 'feed-them-social'); ?>
521
+ </div>
522
+ <input type="text" name="twitter_load_more_text" class="feed-them-social-admin-input" id="twitter_load_more_text" placeholder="Load More" value="<?php echo get_option('twitter_load_more_text'); ?>"/>
523
+ <div class="clear"></div>
524
+ </div>
525
+ <!--/fts-twitter-feed-styles-input-wrap-->
526
+
527
+ <div class="feed-them-social-admin-input-wrap">
528
+ <div class="feed-them-social-admin-input-label">
529
+ <?php _e('"No More Tweets" Text', 'feed-them-social'); ?>
530
+ </div>
531
+ <input type="text" name="twitter_no_more_tweets_text" class="feed-them-social-admin-input" id="twitter_no_more_tweets_text" placeholder="No More Photos" value="<?php echo get_option('twitter_no_more_tweets_text'); ?>"/>
532
+ <div class="clear"></div>
533
+ </div>
534
+ <!--/fts-twitter-feed-styles-input-wrap-->
535
+
536
+ <div class="feed-them-social-admin-input-wrap" style="display: none;">
537
+ <div class="feed-them-social-admin-input-label fts-fb-border-bottom-color-label">
538
+ <?php _e('Fix Post Count<br/><small>Type 2 or 3 if your feed is skipping posts when using the loadmore option.</small>', 'feed-them-social'); ?>
539
+ </div>
540
+ <input type="text" name="twitter_replies_offset" class="feed-them-social-admin-input" id="twitter-replies-offset" placeholder="1" value="<?php echo get_option('twitter_replies_offset'); ?>"/>
541
+ <div class="fts-clear"></div>
542
+ </div>
543
+ <!--/fts-twitter-feed-styles-input-wrap-->
544
+ <?php } ?>
545
+ <input type="submit" class="feed-them-social-admin-submit-btn" value="<?php _e('Save All Changes') ?>"/>
546
+ </form>
547
+ </div>
548
+ <!--/feed-them-social-admin-wrap-->
549
+ <?php }
550
+ }//END Class
trunk/admin/feed-them-youtube-style-options-page.php ADDED
@@ -0,0 +1,336 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace feedthemsocial;
3
+ /**
4
+ * Class FTS Youtube Options Page
5
+ *
6
+ * @package feedthemsocial
7
+ */
8
+ class FTS_youtube_options_page
9
+ {
10
+ /**
11
+ * Construct
12
+ *
13
+ * Youtube Style Options Page constructor.
14
+ *
15
+ * @since 1.9.6
16
+ */
17
+ function __construct()
18
+ {
19
+ }
20
+
21
+ /**
22
+ * Feed Them Youtube Option Page
23
+ *
24
+ * @since 1.9.6
25
+ */
26
+ function feed_them_youtube_options_page()
27
+ {
28
+ $fts_functions = new feed_them_social_functions();
29
+ $fts_youtube_show_follow_btn = get_option('youtube_show_follow_btn');
30
+ $fts_youtube_show_follow_btn_where = get_option('youtube_show_follow_btn_where');
31
+
32
+ ?>
33
+ <div class="feed-them-social-admin-wrap">
34
+ <h1>
35
+ <?php _e('Feed Options', 'feed-them-social'); ?>
36
+ </h1>
37
+ <div class="use-of-plugin">
38
+ <?php _e('Add a follow button and position it using the options below. This option will not work for combined feeds.', 'feed-them-social'); ?>
39
+ </div>
40
+
41
+ <!-- custom option for padding -->
42
+ <form method="post" class="fts-youtube-feed-options-form" action="options.php">
43
+ <?php settings_fields('fts-youtube-feed-style-options'); ?>
44
+
45
+
46
+ <?php
47
+
48
+ $youtubeAPIkey = get_option('youtube_custom_api_token');
49
+ $youtubeAccessToken = get_option('youtube_custom_access_token');
50
+ if(isset($youtubeAPIkey) && $youtubeAPIkey !==''){
51
+ $youtubeAPIkeyORtoken = 'key='.$youtubeAPIkey.'';
52
+ }
53
+ elseif (isset($youtubeAPIkey) && $youtubeAPIkey =='' && isset($youtubeAccessToken) && $youtubeAccessToken !=='' ){
54
+ $youtubeAPIkeyORtoken = 'access_token='.$youtubeAccessToken.'';
55
+ }
56
+ else {
57
+ $youtubeAPIkeyORtoken = '';
58
+ }
59
+
60
+ $youtube_userID_data = 'https://www.googleapis.com/youtube/v3/channels?part=contentDetails&forUsername=slickremix&' . $youtubeAPIkeyORtoken;
61
+ //Get Data for Youtube
62
+ $response = wp_remote_fopen($youtube_userID_data);
63
+ //Error Check
64
+ $test_app_token_response = json_decode($response);
65
+
66
+ // echo'<pre>';
67
+ // print_r($test_app_token_response);
68
+ // echo'</pre>';
69
+
70
+ $refresh_token = isset($_GET['refresh_token']) ? $_GET['refresh_token'] : 'notset';
71
+ $access_token = isset($_GET['access_token']) ? $_GET['access_token'] : '';
72
+ $expires_in = isset($_GET['expires_in']) ? $_GET['expires_in'] : '';
73
+
74
+ ?>
75
+
76
+ <div class="feed-them-social-admin-input-wrap" style="padding-top: 0px">
77
+ <div class="fts-title-description-settings-page">
78
+ <h3>
79
+ <?php _e('YouTube API Key', 'feed-them-social'); ?>
80
+ </h3>
81
+ <p><?php _e('This is required to make the feed work. Simply click the button below and it will connect to your YouTube account to get an access token and access token secret, and it will return it in the input below. Then just click the save button and you will now be able to generate your YouTube feed.', 'feed-them-social'); ?>
82
+ </p>
83
+ <p>
84
+ <a href="https://www.slickremix.com/youtube-token/?redirect_url=<?php echo admin_url('admin.php?page=fts-youtube-feed-styles-submenu-page');?>" class="fts-youtube-get-access-token">Log in and get my Access Token (API key)</a>
85
+ </p>
86
+
87
+ </div>
88
+
89
+
90
+ <a href="http://www.slickremix.com/docs/get-api-key-for-youtube/" target="_blank" class="fts-admin-button-no-work">Button not working?</a>
91
+ </div>
92
+
93
+
94
+ <div class="fts-clear"></div>
95
+ <div class="feed-them-social-admin-input-wrap" style="margin-bottom:0px;">
96
+
97
+ <?php $extra_keys = get_option('youtube_custom_api_token') == '' ? 'style="display:none"' : '';
98
+ $extra_keys_no = get_option('youtube_custom_api_token');
99
+ if(!empty($extra_keys_no)) {
100
+ $extra_keys_no = 'style="display:none"';
101
+ }
102
+ ?>
103
+
104
+ <div class="fts-twitter-add-all-keys-click-option"><label for="fts-custom-tokens-twitter"><input type="checkbox" id="fts-custom-tokens-twitter" name="fts_twitter_custom_tokens" value="1" <?php echo checked('1', $extra_keys == ''); ?>> Add your own API Key?</label></div>
105
+
106
+
107
+
108
+
109
+ <div class="fts-clear"></div>
110
+
111
+ <div class="twitter-extra-keys" <?php echo $extra_keys ?>> <div class="twitter-extra-keys-text" <?php echo $extra_keys_no ?>><?php _e('Learn how to manualy create your own YouTube API Key', 'feed-them-social'); ?> <a href="http://www.slickremix.com/docs/get-api-key-for-youtube/" target="_blank" ><?php _e('here', 'feed-them-social'); ?></a>.</div>
112
+
113
+ <div class="feed-them-social-admin-input-label fts-twitter-border-bottom-color-label">
114
+ <?php _e('API Key Required', 'feed-them-social'); ?>
115
+ </div>
116
+
117
+ <input type="text" name="youtube_custom_api_token" class="feed-them-social-admin-input" id="youtube_custom_api_token" value="<?php echo get_option('youtube_custom_api_token'); ?>"/>
118
+ <div class="fts-clear"></div>
119
+ </div>
120
+ </div>
121
+
122
+
123
+
124
+ <div class="hide-button-tokens-options" <?php echo $extra_keys_no ?> >
125
+ <div class="feed-them-social-admin-input-wrap">
126
+ <div class="feed-them-social-admin-input-label">
127
+ <?php _e('Refresh Token', 'feed-them-social'); ?>
128
+ </div>
129
+ <input type="text" name="youtube_custom_refresh_token" class="feed-them-social-admin-input" id="youtube_custom_refresh_token" value="<?php echo get_option('youtube_custom_refresh_token'); ?>"/>
130
+ <div class="fts-clear"></div>
131
+ </div>
132
+ <div class="feed-them-social-admin-input-wrap" style="margin-bottom:0px;">
133
+ <div class="feed-them-social-admin-input-label">
134
+ <?php _e('Access Token', 'feed-them-social'); ?>
135
+ </div>
136
+ <input type="text" name="youtube_custom_access_token" class="feed-them-social-admin-input" id="youtube_custom_access_token" value="<?php echo get_option('youtube_custom_access_token'); ?>"/>
137
+ <div class="fts-clear"></div>
138
+ </div>
139
+ <?php
140
+ // Add no to show the expiration time and js that runs it below
141
+ $dev_mode = 'no'; ?>
142
+ <div class="feed-them-social-admin-input-wrap fts-exp-time-wrapper" style="margin-top:10px;<?php if($dev_mode !== 'yes'){?>display:none<?php } ?>">
143
+ <div class="feed-them-social-admin-input-label">
144
+ <?php _e('Expiration Time for Access Token', 'feed-them-social'); ?>
145
+ </div>
146
+ <input type="text" name="youtube_custom_token_exp_time" class="feed-them-social-admin-input" id="youtube_custom_token_exp_time" value="<?php echo get_option('youtube_custom_token_exp_time'); ?>"/>
147
+ <div class="fts-clear"></div>
148
+ </div>
149
+ </div>
150
+
151
+ <div class="feed-them-social-admin-input-wrap fts-youtube-last-row" style="margin-top:0px;">
152
+ <script>
153
+ jQuery(document).ready(function ($) {
154
+ jQuery('#fts-custom-tokens-twitter').click(function(){
155
+ jQuery(".twitter-extra-keys, .hide-button-tokens-options").toggle();
156
+ });
157
+ <?php
158
+
159
+ if($refresh_token !== 'notset'){
160
+ update_option('youtube_custom_token_exp_time', strtotime("+" . $expires_in . " seconds"));
161
+ ?>
162
+ $('#youtube_custom_refresh_token, #youtube_custom_access_token, #youtube_custom_token_exp_time').val('');
163
+ $('#youtube_custom_refresh_token').val($('#youtube_custom_refresh_token').val() + '<?php echo $refresh_token ?>');
164
+ $('#youtube_custom_access_token').val($('#youtube_custom_access_token').val() + '<?php echo $access_token ?>');
165
+ $('#youtube_custom_token_exp_time').val($('#youtube_custom_token_exp_time').val() + '<?php echo strtotime("+" . $expires_in . " seconds") ?>');
166
+ <?php } ?>
167
+
168
+ });
169
+ </script>
170
+ <?php
171
+ if(isset($_GET['refresh_token']) && isset($_GET['access_token']) && isset($_GET['expires_in'])) {
172
+ // START AJAX TO SAVE TOKEN TO DB RIGHT AWAY SO WE CAN DO OUR NEXT SET OF CHECKS
173
+ // new token action
174
+ $fts_functions->feed_them_youtube_refresh_token();
175
+ }
176
+
177
+ $expiration_time = get_option('youtube_custom_token_exp_time');
178
+ // Give the access token a 5 minute buffer (300 seconds) before getting a new one.
179
+ $expiration_time = $expiration_time - 300;
180
+ //Test Liner
181
+ // $expiration_time = '1';
182
+ if (time() < $expiration_time && empty($youtubeAPIkey) && $dev_mode == 'yes') { ?>
183
+ <script>
184
+ // Set the time * 1000 because js uses milliseconds not seconds and that is what youtube gives us is a 3600 seconds of time
185
+ var countDownDate = new Date(<?php echo $expiration_time ?> * 1000);
186
+
187
+ // Update the count down every 1 second
188
+ var x = setInterval(function() {
189
+
190
+ // Get todays date and time
191
+ var now = new Date().getTime();
192
+
193
+ // Find the distance between now an the count down date
194
+ var distance = countDownDate - now;
195
+
196
+ // Time calculations for days, hours, minutes and seconds
197
+ var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
198
+ var seconds = Math.floor((distance % (1000 * 60)) / 1000);
199
+
200
+ // Display the result in the element with id="demo"
201
+ jQuery('<span id="fts-timer"></span>').insertBefore('.hide-button-tokens-options .fts-exp-time-wrapper .fts-clear');
202
+ document.getElementById("fts-timer").innerHTML = minutes + "m " + seconds + "s ";
203
+
204
+ // If the count down is finished, write some text
205
+ if (distance < 0) {
206
+ clearInterval(x); jQuery('.fts-success').fadeIn();
207
+ document.getElementById("fts-timer").innerHTML = "Expired, refresh page to get new token (developer use only)";
208
+ }
209
+ }, 1000);
210
+ </script>
211
+ <?php
212
+ // echo '<p>We save the Expiration time which is the strtotime("+" 3600 " seconds") so when the actual time() is comapred if the time has lapsed we rerun our token request</p>';
213
+ // echo '<strong>Exp Time:</strong> '.$expiration_time;
214
+ // echo '<br/>';
215
+ // echo '<strong>Current Time:</strong> '.time();
216
+ // echo '<br/>';
217
+ // print '<strong>Current Token:</strong> ' .get_option('youtube_custom_access_token', true);
218
+ }
219
+ elseif($youtubeAPIkey == '' && $youtubeAccessToken !== '' && time() > $expiration_time) {
220
+ // refresh token action
221
+ $fts_functions->feed_them_youtube_refresh_token();
222
+ }
223
+
224
+ foreach ($test_app_token_response as $userID) {
225
+ if (!isset($userID->error->errors[0]->reason) && !empty($youtubeAPIkey)) {
226
+ $typeOfKey = __('API key', 'feed-them-social');
227
+ }
228
+ elseif(!isset($userID->error->errors[0]->reason) && !empty($youtubeAccessToken)){
229
+ $typeOfKey = __('Access Token', 'feed-them-social');
230
+ }
231
+
232
+ // Error Check
233
+ if (!isset($test_app_token_response->error->errors[0]->reason) && !empty($youtubeAPIkey) || !isset($test_app_token_response->error->errors[0]->reason) && !empty($youtubeAccessToken) && empty($youtubeAPIkey)) {
234
+ echo '<div class="fts-successful-api-token">' . __('Your '.$typeOfKey.' is working! Generate your shortcode on the <a href="admin.php?page=feed-them-settings-page">settings page</a>.', 'feed-them-social') . '</div>';
235
+ }
236
+ elseif (isset($userID->error->errors[0]->reason) && !empty($youtubeAPIkey) || !isset($userID->error->errors[0]->reason) && !empty($youtubeAccessToken)) {
237
+ echo '<div class="fts-failed-api-token">' . __('This '.$typeOfKey.' does not appear to be valid. YouTube responded with: ', 'feed-them-social') . ' ' . $userID->errors[0]->reason . '</div>';
238
+ }
239
+ if ($youtubeAPIkey == '' && $youtubeAccessToken == '') {
240
+ echo '<div class="fts-failed-api-token">' . __('You must click the button above or register for an API token to use the YouTube feed.', 'feed-them-social') . '</div>';
241
+ }
242
+ break;
243
+ }
244
+ ?>
245
+
246
+
247
+ <div class="fts-clear"></div>
248
+ </div>
249
+
250
+ <div class="feed-them-social-admin-input-wrap">
251
+ <div class="fts-title-description-settings-page">
252
+ <h3><?php _e('Follow Button Options', 'feed-them-social'); ?></h3>
253
+ </div>
254
+ <div class="feed-them-social-admin-input-label fts-twitter-text-color-label"><?php _e('Show Follow Button', 'feed-them-social'); ?></div>
255
+
256
+ <select name="youtube_show_follow_btn" id="youtube-show-follow-btn" class="feed-them-social-admin-input">
257
+ <option
258
+ '<?php echo selected($fts_youtube_show_follow_btn, 'no', false) ?>'
259
+ value="no"><?php _e('No', 'feed-them-social'); ?></option>
260
+ <option
261
+ '<?php echo selected($fts_youtube_show_follow_btn, 'yes', false) ?>'
262
+ value="yes"><?php _e('Yes', 'feed-them-social'); ?></option>
263
+ </select>
264
+
265
+ <div class="fts-clear"></div>
266
+ </div><!--/fts-twitter-feed-styles-input-wrap-->
267
+
268
+ <div class="feed-them-social-admin-input-wrap">
269
+ <div class="feed-them-social-admin-input-label fts-twitter-text-color-label"><?php _e('Placement of the Buttons', 'feed-them-social'); ?></div>
270
+
271
+ <select name="youtube_show_follow_btn_where" id="youtube-show-follow-btn-where" class="feed-them-social-admin-input">
272
+ <option><?php _e('Please Select Option', 'feed-them-social'); ?></option>
273
+ <option
274
+ '<?php echo selected($fts_youtube_show_follow_btn_where, 'youtube-follow-above', false) ?>'
275
+ value="youtube-follow-above"><?php _e('Show Above Feed', 'feed-them-social'); ?></option>
276
+ <option
277
+ '<?php echo selected($fts_youtube_show_follow_btn_where, 'youtube-follow-below', false) ?>'
278
+ value="youtube-follow-below"><?php _e('Show Below Feed', 'feed-them-social'); ?></option>
279
+ </select>
280
+
281
+ <div class="fts-clear"></div>
282
+ </div><!--/fts-twitter-feed-styles-input-wrap-->
283
+
284
+
285
+
286
+ <?php if (is_plugin_active('feed-them-premium/feed-them-premium.php')) { ?>
287
+
288
+ <div class="feed-them-social-admin-input-wrap">
289
+ <div class="fts-title-description-settings-page">
290
+ <h3>
291
+ <?php _e('Load More Button Styles & Options', 'feed-them-social'); ?>
292
+ </h3>
293
+ </div>
294
+ <div class="feed-them-social-admin-input-wrap">
295
+ <div class="feed-them-social-admin-input-label fts-fb-loadmore-background-color-label">
296
+ <?php _e('Button Color', 'feed-them-social'); ?>
297
+ </div>
298
+ <input type="text" name="youtube_loadmore_background_color" class="feed-them-social-admin-input fb-loadmore-background-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="twitter-loadmore-background-color-input" placeholder="#ddd" value="<?php echo get_option('youtube_loadmore_background_color'); ?>"/>
299
+ <div class="fts-clear"></div>
300
+ </div>
301
+ <!--/fts-twitter-feed-styles-input-wrap-->
302
+
303
+ <div class="feed-them-social-admin-input-wrap">
304
+ <div class="feed-them-social-admin-input-label fts-fb-border-bottom-color-label">
305
+ <?php _e('Text Color', 'feed-them-social'); ?>
306
+ </div>
307
+ <input type="text" name="youtube_loadmore_text_color" class="feed-them-social-admin-input fb-loadmore-text-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:'#eee',pickerFace:3,pickerBorder:0,pickerInsetColor:'white'}" id="twitter-loadmore-text-color-input" placeholder="#ddd" value="<?php echo get_option('youtube_loadmore_text_color'); ?>"/>
308
+ <div class="fts-clear"></div>
309
+ </div>
310
+ <!--/fts-twitter-feed-styles-input-wrap-->
311
+
312
+ <div class="feed-them-social-admin-input-wrap">
313
+ <div class="feed-them-social-admin-input-label">
314
+ <?php _e('"Load More" Text', 'feed-them-social'); ?>
315
+ </div>
316
+ <input type="text" name="youtube_load_more_text" class="feed-them-social-admin-input" id="youtube_load_more_text" placeholder="Load More" value="<?php echo get_option('youtube_load_more_text'); ?>"/>
317
+ <div class="clear"></div>
318
+ </div>
319
+ <!--/fts-twitter-feed-styles-input-wrap-->
320
+
321
+ <div class="feed-them-social-admin-input-wrap">
322
+ <div class="feed-them-social-admin-input-label">
323
+ <?php _e('"No More Videos" Text', 'feed-them-social'); ?>
324
+ </div>
325
+ <input type="text" name="youtube_no_more_videos_text" class="feed-them-social-admin-input" id="youtube_no_more_videos_text" placeholder="No More Videos" value="<?php echo get_option('youtube_no_more_videos_text'); ?>"/>
326
+ <div class="clear"></div>
327
+ </div>
328
+ <!--/fts-twitter-feed-styles-input-wrap-->
329
+
330
+ <?php } // END premium ?>
331
+ <input type="submit" class="feed-them-social-admin-submit-btn" value="<?php _e('Save All Changes') ?>"/>
332
+ </form>
333
+ </div>
334
+ <!--/feed-them-social-admin-wrap-->
335
+ <?php }
336
+ }//END Class
trunk/admin/images/facebook-icon.png ADDED
Binary file
trunk/admin/images/facebook-logo-admin.jpg ADDED
Binary file
trunk/admin/images/feed-them-social-logo.png ADDED
Binary file
trunk/admin/images/footer-logo.png ADDED
Binary file
trunk/admin/images/ft-gallery-promo-fts.jpg ADDED
Binary file
trunk/admin/images/ft-gallery-promo.jpg ADDED
Binary file
trunk/admin/images/fts-help-icon.png ADDED
Binary file
trunk/admin/images/instagram-backg.jpg ADDED
Binary file
trunk/admin/images/instagram-icon.png ADDED
Binary file
trunk/admin/images/instagram-logo-admin.png ADDED
Binary file
trunk/admin/images/pinterest-icon.png ADDED
Binary file
trunk/admin/images/pinterest-logo-admin.jpg ADDED
Binary file
trunk/admin/images/slickremix-icon-sprite.png ADDED
Binary file
trunk/admin/images/twitter-icon.png ADDED
Binary file
trunk/admin/images/twitter-logo-admin.jpg ADDED
Binary file
trunk/admin/images/vine-icon.png ADDED
Binary file
trunk/admin/images/youtube-icon.png ADDED
Binary file
trunk/admin/images/youtube-logo-admin.jpg ADDED
Binary file
trunk/admin/js/admin.js ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).ready(function() {
2
+
3
+ jQuery("#wp-admin-bar-feed_them_social_admin_bar-default li:first-child a").click(function() {
4
+ //alert('etf');
5
+ console.log('Click Clear Cache Function');
6
+
7
+ jQuery.ajax({
8
+ data: {action: "fts_clear_cache_ajax" },
9
+ type: 'POST',
10
+ url: ftsAjax.ajaxurl,
11
+ success: function( response ) {
12
+ // jQuery('body').hide();
13
+ console.log('Well Done and got this from sever: ' + response);
14
+ // alert and upon clicking refresh the page
15
+ if(!alert('Cache for all FTS Feeds cleared!')){window.location.reload();}
16
+
17
+ return false;
18
+ }
19
+ }); // end of ajax()
20
+ return false;
21
+ }); // end of document.ready
22
+ }); // end of form.submit
trunk/admin/js/developer-admin.js ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).ready(function() {
2
+ //alert('etf');
3
+ console.log('Developer Clear Cache Function');
4
+
5
+ jQuery.ajax({
6
+ data: {action: "fts_clear_cache_ajax" },
7
+ type: 'POST',
8
+ url: ftsAjax.ajaxurl,
9
+ success: function( response ) {
10
+ // jQuery('body').hide();
11
+ console.log('Well Done and got this from sever: ' + response);
12
+ // alert and upon clicking refresh the page
13
+ // if(!alert('Cache for all FTS Feeds cleared!')){window.location.reload();}
14
+
15
+ return false;
16
+ }
17
+ }); // end of ajax()
18
+ return false;
19
+ }); // end of document.ready
trunk/admin/js/jscolor/arrow.gif ADDED
Binary file
trunk/admin/js/jscolor/cross.gif ADDED
Binary file
trunk/admin/js/jscolor/hs.png ADDED
Binary file
trunk/admin/js/jscolor/hv.png ADDED
Binary file
trunk/admin/js/jscolor/jscolor.js ADDED
@@ -0,0 +1,1902 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+
3
+ * jscolor, JavaScript Color Picker
4
+
5
+ *
6
+
7
+ * @version 1.4.0
8
+
9
+ * @license GNU Lesser General Public License, http://www.gnu.org/copyleft/lesser.html
10
+
11
+ * @author Jan Odvarko, http://odvarko.cz
12
+
13
+ * @created 2008-06-15
14
+
15
+ * @updated 2012-07-06
16
+
17
+ * @link http://jscolor.com
18
+
19
+ */
20
+
21
+
22
+
23
+
24
+
25
+ var jscolor = {
26
+
27
+
28
+
29
+
30
+
31
+ dir : '', // location of jscolor directory (leave empty to autodetect)
32
+
33
+ bindClass : 'color', // class name
34
+
35
+ binding : true, // automatic binding via <input class="...">
36
+
37
+ preloading : true, // use image preloading?
38
+
39
+
40
+
41
+
42
+
43
+ install : function() {
44
+
45
+ jscolor.addEvent(window, 'load', jscolor.init);
46
+
47
+ },
48
+
49
+
50
+
51
+
52
+
53
+ init : function() {
54
+
55
+ if(jscolor.binding) {
56
+
57
+ jscolor.bind();
58
+
59
+ }
60
+
61
+ if(jscolor.preloading) {
62
+
63
+ jscolor.preload();
64
+
65
+ }
66
+
67
+ },
68
+
69
+
70
+
71
+
72
+
73
+ getDir : function() {
74
+
75
+ if(!jscolor.dir) {
76
+
77
+ var detected = jscolor.detectDir();
78
+
79
+ jscolor.dir = detected!==false ? detected : 'jscolor/';
80
+
81
+ }
82
+
83
+ return jscolor.dir;
84
+
85
+ },
86
+
87
+
88
+
89
+
90
+
91
+ detectDir : function() {
92
+
93
+ var base = location.href;
94
+
95
+
96
+
97
+ var e = document.getElementsByTagName('base');
98
+
99
+ for(var i=0; i<e.length; i+=1) {
100
+
101
+ if(e[i].href) { base = e[i].href; }
102
+
103
+ }
104
+
105
+
106
+
107
+ var e = document.getElementsByTagName('script');
108
+
109
+ for(var i=0; i<e.length; i+=1) {
110
+
111
+ if(e[i].src && /(^|\/)jscolor\.js([?#].*)?$/i.test(e[i].src)) {
112
+
113
+ var src = new jscolor.URI(e[i].src);
114
+
115
+ var srcAbs = src.toAbsolute(base);
116
+
117
+ srcAbs.path = srcAbs.path.replace(/[^\/]+$/, ''); // remove filename
118
+
119
+ srcAbs.query = null;
120
+
121
+ srcAbs.fragment = null;
122
+
123
+ return srcAbs.toString();
124
+
125
+ }
126
+
127
+ }
128
+
129
+ return false;
130
+
131
+ },
132
+
133
+
134
+
135
+
136
+
137
+ bind : function() {
138
+
139
+ var matchClass = new RegExp('(^|\\s)('+jscolor.bindClass+')\\s*(\\{[^}]*\\})?', 'i');
140
+
141
+ var e = document.getElementsByTagName('input');
142
+
143
+ for(var i=0; i<e.length; i+=1) {
144
+
145
+ var m;
146
+
147
+ if(!e[i].color && e[i].className && (m = e[i].className.match(matchClass))) {
148
+
149
+ var prop = {};
150
+
151
+ if(m[3]) {
152
+
153
+ try {
154
+
155
+ prop = (new Function ('return (' + m[3] + ')'))();
156
+
157
+ } catch(eInvalidProp) {}
158
+
159
+ }
160
+
161
+ e[i].color = new jscolor.color(e[i], prop);
162
+
163
+ }
164
+
165
+ }
166
+
167
+ },
168
+
169
+
170
+
171
+
172
+
173
+ preload : function() {
174
+
175
+ for(var fn in jscolor.imgRequire) {
176
+
177
+ if(jscolor.imgRequire.hasOwnProperty(fn)) {
178
+
179
+ jscolor.loadImage(fn);
180
+
181
+ }
182
+
183
+ }
184
+
185
+ },
186
+
187
+
188
+
189
+
190
+
191
+ images : {
192
+
193
+ pad : [ 181, 101 ],
194
+
195
+ sld : [ 16, 101 ],
196
+
197
+ cross : [ 15, 15 ],
198
+
199
+ arrow : [ 7, 11 ]
200
+
201
+ },
202
+
203
+
204
+
205
+
206
+
207
+ imgRequire : {},
208
+
209
+ imgLoaded : {},
210
+
211
+
212
+
213
+
214
+
215
+ requireImage : function(filename) {
216
+
217
+ jscolor.imgRequire[filename] = true;
218
+
219
+ },
220
+
221
+
222
+
223
+
224
+
225
+ loadImage : function(filename) {
226
+
227
+ if(!jscolor.imgLoaded[filename]) {
228
+
229
+ jscolor.imgLoaded[filename] = new Image();
230
+
231
+ jscolor.imgLoaded[filename].src = jscolor.getDir()+filename;
232
+
233
+ }
234
+
235
+ },
236
+
237
+
238
+
239
+
240
+
241
+ fetchElement : function(mixed) {
242
+
243
+ return typeof mixed === 'string' ? document.getElementById(mixed) : mixed;
244
+
245
+ },
246
+
247
+
248
+
249
+
250
+
251
+ addEvent : function(el, evnt, func) {
252
+
253
+ if(el.addEventListener) {
254
+
255
+ el.addEventListener(evnt, func, false);
256
+
257
+ } else if(el.attachEvent) {
258
+
259
+ el.attachEvent('on'+evnt, func);
260
+
261
+ }
262
+
263
+ },
264
+
265
+
266
+
267
+
268
+
269
+ fireEvent : function(el, evnt) {
270
+
271
+ if(!el) {
272
+
273
+ return;
274
+
275
+ }
276
+
277
+ if(document.createEvent) {
278
+
279
+ var ev = document.createEvent('HTMLEvents');
280
+
281
+ ev.initEvent(evnt, true, true);
282
+
283
+ el.dispatchEvent(ev);
284
+
285
+ } else if(document.createEventObject) {
286
+
287
+ var ev = document.createEventObject();
288
+
289
+ el.fireEvent('on'+evnt, ev);
290
+
291
+ } else if(el['on'+evnt]) { // alternatively use the traditional event model (IE5)
292
+
293
+ el['on'+evnt]();
294
+
295
+ }
296
+
297
+ },
298
+
299
+
300
+
301
+
302
+
303
+ getElementPos : function(e) {
304
+
305
+ var e1=e, e2=e;
306
+
307
+ var x=0, y=0;
308
+
309
+ if(e1.offsetParent) {
310
+
311
+ do {
312
+
313
+ x += e1.offsetLeft;
314
+
315
+ y += e1.offsetTop;
316
+
317
+ } while(e1 = e1.offsetParent);
318
+
319
+ }
320
+
321
+ while((e2 = e2.parentNode) && e2.nodeName.toUpperCase() !== 'BODY') {
322
+
323
+ x -= e2.scrollLeft;
324
+
325
+ y -= e2.scrollTop;
326
+
327
+ }
328
+
329
+ return [x, y];
330
+
331
+ },
332
+
333
+
334
+
335
+
336
+
337
+ getElementSize : function(e) {
338
+
339
+ return [e.offsetWidth, e.offsetHeight];
340
+
341
+ },
342
+
343
+
344
+
345
+
346
+
347
+ getRelMousePos : function(e) {
348
+
349
+ var x = 0, y = 0;
350
+
351
+ if (!e) { e = window.event; }
352
+
353
+ if (typeof e.offsetX === 'number') {
354
+
355
+ x = e.offsetX;
356
+
357
+ y = e.offsetY;
358
+
359
+ } else if (typeof e.layerX === 'number') {
360
+
361
+ x = e.layerX;
362
+
363
+ y = e.layerY;
364
+
365
+ }
366
+
367
+ return { x: x, y: y };
368
+
369
+ },
370
+
371
+
372
+
373
+
374
+
375
+ getViewPos : function() {
376
+
377
+ if(typeof window.pageYOffset === 'number') {
378
+
379
+ return [window.pageXOffset, window.pageYOffset];
380
+
381
+ } else if(document.body && (document.body.scrollLeft || document.body.scrollTop)) {
382
+
383
+ return [document.body.scrollLeft, document.body.scrollTop];
384
+
385
+ } else if(document.documentElement && (document.documentElement.scrollLeft || document.documentElement.scrollTop)) {
386
+
387
+ return [document.documentElement.scrollLeft, document.documentElement.scrollTop];
388
+
389
+ } else {
390
+
391
+ return [0, 0];
392
+
393
+ }
394
+
395
+ },
396
+
397
+
398
+
399
+
400
+
401
+ getViewSize : function() {
402
+
403
+ if(typeof window.innerWidth === 'number') {
404
+
405
+ return [window.innerWidth, window.innerHeight];
406
+
407
+ } else if(document.body && (document.body.clientWidth || document.body.clientHeight)) {
408
+
409
+ return [document.body.clientWidth, document.body.clientHeight];
410
+
411
+ } else if(document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) {
412
+
413
+ return [document.documentElement.clientWidth, document.documentElement.clientHeight];
414
+
415
+ } else {
416
+
417
+ return [0, 0];
418
+
419
+ }
420
+
421
+ },
422
+
423
+
424
+
425
+
426
+
427
+ URI : function(uri) { // See RFC3986
428
+
429
+
430
+
431
+ this.scheme = null;
432
+
433
+ this.authority = null;
434
+
435
+ this.path = '';
436
+
437
+ this.query = null;
438
+
439
+ this.fragment = null;
440
+
441
+
442
+
443
+ this.parse = function(uri) {
444
+
445
+ var m = uri.match(/^(([A-Za-z][0-9A-Za-z+.-]*)(:))?((\/\/)([^\/?#]*))?([^?#]*)((\?)([^#]*))?((#)(.*))?/);
446
+
447
+ this.scheme = m[3] ? m[2] : null;
448
+
449
+ this.authority = m[5] ? m[6] : null;
450
+
451
+ this.path = m[7];
452
+
453
+ this.query = m[9] ? m[10] : null;
454
+
455
+ this.fragment = m[12] ? m[13] : null;
456
+
457
+ return this;
458
+
459
+ };
460
+
461
+
462
+
463
+ this.toString = function() {
464
+
465
+ var result = '';
466
+
467
+ if(this.scheme !== null) { result = result + this.scheme + ':'; }
468
+
469
+ if(this.authority !== null) { result = result + '//' + this.authority; }
470
+
471
+ if(this.path !== null) { result = result + this.path; }
472
+
473
+ if(this.query !== null) { result = result + '?' + this.query; }
474
+
475
+ if(this.fragment !== null) { result = result + '#' + this.fragment; }
476
+
477
+ return result;
478
+
479
+ };
480
+
481
+
482
+
483
+ this.toAbsolute = function(base) {
484
+
485
+ var base = new jscolor.URI(base);
486
+
487
+ var r = this;
488
+
489
+ var t = new jscolor.URI;
490
+
491
+
492
+
493
+ if(base.scheme === null) { return false; }
494
+
495
+
496
+
497
+ if(r.scheme !== null && r.scheme.toLowerCase() === base.scheme.toLowerCase()) {
498
+
499
+ r.scheme = null;
500
+
501
+ }
502
+
503
+
504
+
505
+ if(r.scheme !== null) {
506
+
507
+ t.scheme = r.scheme;
508
+
509
+ t.authority = r.authority;
510
+
511
+ t.path = removeDotSegments(r.path);
512
+
513
+ t.query = r.query;
514
+
515
+ } else {
516
+
517
+ if(r.authority !== null) {
518
+
519
+ t.authority = r.authority;
520
+
521
+ t.path = removeDotSegments(r.path);
522
+
523
+ t.query = r.query;
524
+
525
+ } else {
526
+
527
+ if(r.path === '') {
528
+
529
+ t.path = base.path;
530
+
531
+ if(r.query !== null) {
532
+
533
+ t.query = r.query;
534
+
535
+ } else {
536
+
537
+ t.query = base.query;
538
+
539
+ }
540
+
541
+ } else {
542
+
543
+ if(r.path.substr(0,1) === '/') {
544
+
545
+ t.path = removeDotSegments(r.path);
546
+
547
+ } else {
548
+
549
+ if(base.authority !== null && base.path === '') {
550
+
551
+ t.path = '/'+r.path;
552
+
553
+ } else {
554
+
555
+ t.path = base.path.replace(/[^\/]+$/,'')+r.path;
556
+
557
+ }
558
+
559
+ t.path = removeDotSegments(t.path);
560
+
561
+ }
562
+
563
+ t.query = r.query;
564
+
565
+ }
566
+
567
+ t.authority = base.authority;
568
+
569
+ }
570
+
571
+ t.scheme = base.scheme;
572
+
573
+ }
574
+
575
+ t.fragment = r.fragment;
576
+
577
+
578
+
579
+ return t;
580
+
581
+ };
582
+
583
+
584
+
585
+ function removeDotSegments(path) {
586
+
587
+ var out = '';
588
+
589
+ while(path) {
590
+
591
+ if(path.substr(0,3)==='../' || path.substr(0,2)==='./') {
592
+
593
+ path = path.replace(/^\.+/,'').substr(1);
594
+
595
+ } else if(path.substr(0,3)==='/./' || path==='/.') {
596
+
597
+ path = '/'+path.substr(3);
598
+
599
+ } else if(path.substr(0,4)==='/../' || path==='/..') {
600
+
601
+ path = '/'+path.substr(4);
602
+
603
+ out = out.replace(/\/?[^\/]*$/, '');
604
+
605
+ } else if(path==='.' || path==='..') {
606
+
607
+ path = '';
608
+
609
+ } else {
610
+
611
+ var rm = path.match(/^\/?[^\/]*/)[0];
612
+
613
+ path = path.substr(rm.length);
614
+
615
+ out = out + rm;
616
+
617
+ }
618
+
619
+ }
620
+
621
+ return out;
622
+
623
+ }
624
+
625
+
626
+
627
+ if(uri) {
628
+
629
+ this.parse(uri);
630
+
631
+ }
632
+
633
+
634
+
635
+ },
636
+
637
+
638
+
639
+
640
+
641
+ /*
642
+
643
+ * Usage example:
644
+
645
+ * var myColor = new jscolor.color(myInputElement)
646
+
647
+ */
648
+
649
+
650
+
651
+ color : function(target, prop) {
652
+
653
+
654
+
655
+
656
+
657
+ this.required = true; // refuse empty values?
658
+
659
+ this.adjust = true; // adjust value to uniform notation?
660
+
661
+ this.hash = false; // prefix color with # symbol?
662
+
663
+ this.caps = true; // uppercase?
664
+
665
+ this.slider = true; // show the value/saturation slider?
666
+
667
+ this.valueElement = target; // value holder
668
+
669
+ this.styleElement = target; // where to reflect current color
670
+
671
+ this.onImmediateChange = null; // onchange callback (can be either string or function)
672
+
673
+ this.hsv = [0, 0, 1]; // read-only 0-6, 0-1, 0-1
674
+
675
+ this.rgb = [1, 1, 1]; // read-only 0-1, 0-1, 0-1
676
+
677
+ this.minH = 0; // read-only 0-6
678
+
679
+ this.maxH = 6; // read-only 0-6
680
+
681
+ this.minS = 0; // read-only 0-1
682
+
683
+ this.maxS = 1; // read-only 0-1
684
+
685
+ this.minV = 0; // read-only 0-1
686
+
687
+ this.maxV = 1; // read-only 0-1
688
+
689
+
690
+
691
+ this.pickerOnfocus = true; // display picker on focus?
692
+
693
+ this.pickerMode = 'HSV'; // HSV | HVS
694
+
695
+ this.pickerPosition = 'bottom'; // left | right | top | bottom
696
+
697
+ this.pickerSmartPosition = true; // automatically adjust picker position when necessary
698
+
699
+ this.pickerButtonHeight = 20; // px
700
+
701
+ this.pickerClosable = false;
702
+
703
+ this.pickerCloseText = 'Close';
704
+
705
+ this.pickerButtonColor = 'ButtonText'; // px
706
+
707
+ this.pickerFace = 10; // px
708
+
709
+ this.pickerFaceColor = 'ThreeDFace'; // CSS color
710
+
711
+ this.pickerBorder = 1; // px
712
+
713
+ this.pickerBorderColor = 'ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight'; // CSS color
714
+
715
+ this.pickerInset = 1; // px
716
+
717
+ this.pickerInsetColor = 'ThreeDShadow ThreeDHighlight ThreeDHighlight ThreeDShadow'; // CSS color
718
+
719
+ this.pickerZIndex = 10000;
720
+
721
+
722
+
723
+
724
+
725
+ for(var p in prop) {
726
+
727
+ if(prop.hasOwnProperty(p)) {
728
+
729
+ this[p] = prop[p];
730
+
731
+ }
732
+
733
+ }
734
+
735
+
736
+
737
+
738
+
739
+ this.hidePicker = function() {
740
+
741
+ if(isPickerOwner()) {
742
+
743
+ removePicker();
744
+
745
+ }
746
+
747
+ };
748
+
749
+
750
+
751
+
752
+
753
+ this.showPicker = function() {
754
+
755
+ if(!isPickerOwner()) {
756
+
757
+ var tp = jscolor.getElementPos(target); // target pos
758
+
759
+ var ts = jscolor.getElementSize(target); // target size
760
+
761
+ var vp = jscolor.getViewPos(); // view pos
762
+
763
+ var vs = jscolor.getViewSize(); // view size
764
+
765
+ var ps = getPickerDims(this); // picker size
766
+
767
+ var a, b, c;
768
+
769
+ switch(this.pickerPosition.toLowerCase()) {
770
+
771
+ case 'left': a=1; b=0; c=-1; break;
772
+
773
+ case 'right':a=1; b=0; c=1; break;
774
+
775
+ case 'top': a=0; b=1; c=-1; break;
776
+
777
+ default: a=0; b=1; c=1; break;
778
+
779
+ }
780
+
781
+ var l = (ts[b]+ps[b])/2;
782
+
783
+
784
+
785
+ // picker pos
786
+
787
+ if (!this.pickerSmartPosition) {
788
+
789
+ var pp = [
790
+
791
+ tp[a],
792
+
793
+ tp[b]+ts[b]-l+l*c
794
+
795
+ ];
796
+
797
+ } else {
798
+
799
+ var pp = [
800
+
801
+ -vp[a]+tp[a]+ps[a] > vs[a] ?
802
+
803
+ (-vp[a]+tp[a]+ts[a]/2 > vs[a]/2 && tp[a]+ts[a]-ps[a] >= 0 ? tp[a]+ts[a]-ps[a] : tp[a]) :
804
+
805
+ tp[a],
806
+
807
+ -vp[b]+tp[b]+ts[b]+ps[b]-l+l*c > vs[b] ?
808
+
809
+ (-vp[b]+tp[b]+ts[b]/2 > vs[b]/2 && tp[b]+ts[b]-l-l*c >= 0 ? tp[b]+ts[b]-l-l*c : tp[b]+ts[b]-l+l*c) :
810
+
811
+ (tp[b]+ts[b]-l+l*c >= 0 ? tp[b]+ts[b]-l+l*c : tp[b]+ts[b]-l-l*c)
812
+
813
+ ];
814
+
815
+ }
816
+
817
+ drawPicker(pp[a], pp[b]);
818
+
819
+ }
820
+
821
+ };
822
+
823
+
824
+
825
+
826
+
827
+ this.importColor = function() {
828
+
829
+ if(!valueElement) {
830
+
831
+ this.exportColor();
832
+
833
+ } else {
834
+
835
+ if(!this.adjust) {
836
+
837
+ if(!this.fromString(valueElement.value, leaveValue)) {
838
+
839
+ styleElement.style.backgroundImage = styleElement.jscStyle.backgroundImage;
840
+
841
+ styleElement.style.backgroundColor = styleElement.jscStyle.backgroundColor;
842
+
843
+ styleElement.style.color = styleElement.jscStyle.color;
844
+
845
+ this.exportColor(leaveValue | leaveStyle);
846
+
847
+ }
848
+
849
+ } else if(!this.required && /^\s*$/.test(valueElement.value)) {
850
+
851
+ valueElement.value = '';
852
+
853
+ styleElement.style.backgroundImage = styleElement.jscStyle.backgroundImage;
854
+
855
+ styleElement.style.backgroundColor = styleElement.jscStyle.backgroundColor;
856
+
857
+ styleElement.style.color = styleElement.jscStyle.color;
858
+
859
+ this.exportColor(leaveValue | leaveStyle);
860
+
861
+
862
+
863
+ } else if(this.fromString(valueElement.value)) {
864
+
865
+ // OK
866
+
867
+ } else {
868
+
869
+ this.exportColor();
870
+
871
+ }
872
+
873
+ }
874
+
875
+ };
876
+
877
+
878
+
879
+
880
+
881
+ this.exportColor = function(flags) {
882
+
883
+ if(!(flags & leaveValue) && valueElement) {
884
+
885
+ var value = this.toString();
886
+
887
+ if(this.caps) { value = value.toUpperCase(); }
888
+
889
+ if(this.hash) { value = '#'+value; }
890
+
891
+ valueElement.value = value;
892
+
893
+ }
894
+
895
+ if(!(flags & leaveStyle) && styleElement) {
896
+
897
+ styleElement.style.backgroundImage = "none";
898
+
899
+ styleElement.style.backgroundColor =
900
+
901
+ '#'+this.toString();
902
+
903
+ styleElement.style.color =
904
+
905
+ 0.213 * this.rgb[0] +
906
+
907
+ 0.715 * this.rgb[1] +
908
+
909
+ 0.072 * this.rgb[2]
910
+
911
+ < 0.5 ? '#FFF' : '#000';
912
+
913
+ }
914
+
915
+ if(!(flags & leavePad) && isPickerOwner()) {
916
+
917
+ redrawPad();
918
+
919
+ }
920
+
921
+ if(!(flags & leaveSld) && isPickerOwner()) {
922
+
923
+ redrawSld();
924
+
925
+ }
926
+
927
+ };
928
+
929
+
930
+
931
+
932
+
933
+ this.fromHSV = function(h, s, v, flags) { // null = don't change
934
+
935
+ if(h !== null) { h = Math.max(0.0, this.minH, Math.min(6.0, this.maxH, h)); }
936
+
937
+ if(s !== null) { s = Math.max(0.0, this.minS, Math.min(1.0, this.maxS, s)); }
938
+
939
+ if(v !== null) { v = Math.max(0.0, this.minV, Math.min(1.0, this.maxV, v)); }
940
+
941
+
942
+
943
+ this.rgb = HSV_RGB(
944
+
945
+ h===null ? this.hsv[0] : (this.hsv[0]=h),
946
+
947
+ s===null ? this.hsv[1] : (this.hsv[1]=s),
948
+
949
+ v===null ? this.hsv[2] : (this.hsv[2]=v)
950
+
951
+ );
952
+
953
+
954
+
955
+ this.exportColor(flags);
956
+
957
+ };
958
+
959
+
960
+
961
+
962
+
963
+ this.fromRGB = function(r, g, b, flags) { // null = don't change
964
+
965
+ if(r !== null) { r = Math.max(0.0, Math.min(1.0, r)); }
966
+
967
+ if(g !== null) { g = Math.max(0.0, Math.min(1.0, g)); }
968
+
969
+ if(b !== null) { b = Math.max(0.0, Math.min(1.0, b)); }
970
+
971
+
972
+
973
+ var hsv = RGB_HSV(
974
+
975
+ r===null ? this.rgb[0] : r,
976
+
977
+ g===null ? this.rgb[1] : g,
978
+
979
+ b===null ? this.rgb[2] : b
980
+
981
+ );
982
+
983
+ if(hsv[0] !== null) {
984
+
985
+ this.hsv[0] = Math.max(0.0, this.minH, Math.min(6.0, this.maxH, hsv[0]));
986
+
987
+ }
988
+
989
+ if(hsv[2] !== 0) {
990
+
991
+ this.hsv[1] = hsv[1]===null ? null : Math.max(0.0, this.minS, Math.min(1.0, this.maxS, hsv[1]));
992
+
993
+ }
994
+
995
+ this.hsv[2] = hsv[2]===null ? null : Math.max(0.0, this.minV, Math.min(1.0, this.maxV, hsv[2]));
996
+
997
+
998
+
999
+ // update RGB according to final HSV, as some values might be trimmed
1000
+
1001
+ var rgb = HSV_RGB(this.hsv[0], this.hsv[1], this.hsv[2]);
1002
+
1003
+ this.rgb[0] = rgb[0];
1004
+
1005
+ this.rgb[1] = rgb[1];
1006
+
1007
+ this.rgb[2] = rgb[2];
1008
+
1009
+
1010
+
1011
+ this.exportColor(flags);
1012
+
1013
+ };
1014
+
1015
+
1016
+
1017
+
1018
+
1019
+ this.fromString = function(hex, flags) {
1020
+
1021
+ var m = hex.match(/^\W*([0-9A-F]{3}([0-9A-F]{3})?)\W*$/i);
1022
+
1023
+ if(!m) {
1024
+
1025
+ return false;
1026
+
1027
+ } else {
1028
+
1029
+ if(m[1].length === 6) { // 6-char notation
1030
+
1031
+ this.fromRGB(
1032
+
1033
+ parseInt(m[1].substr(0,2),16) / 255,
1034
+
1035
+ parseInt(m[1].substr(2,2),16) / 255,
1036
+
1037
+ parseInt(m[1].substr(4,2),16) / 255,
1038
+
1039
+ flags
1040
+
1041
+ );
1042
+
1043
+ } else { // 3-char notation
1044
+
1045
+ this.fromRGB(
1046
+
1047
+ parseInt(m[1].charAt(0)+m[1].charAt(0),16) / 255,
1048
+
1049
+ parseInt(m[1].charAt(1)+m[1].charAt(1),16) / 255,
1050
+
1051
+ parseInt(m[1].charAt(2)+m[1].charAt(2),16) / 255,
1052
+
1053
+ flags
1054
+
1055
+ );
1056
+
1057
+ }
1058
+
1059
+ return true;
1060
+
1061
+ }
1062
+
1063
+ };
1064
+
1065
+
1066
+
1067
+
1068
+
1069
+ this.toString = function() {
1070
+
1071
+ return (
1072
+
1073
+ (0x100 | Math.round(255*this.rgb[0])).toString(16).substr(1) +
1074
+
1075
+ (0x100 | Math.round(255*this.rgb[1])).toString(16).substr(1) +
1076
+
1077
+ (0x100 | Math.round(255*this.rgb[2])).toString(16).substr(1)
1078
+
1079
+ );
1080
+
1081
+ };
1082
+
1083
+
1084
+
1085
+
1086
+
1087
+ function RGB_HSV(r, g, b) {
1088
+
1089
+ var n = Math.min(Math.min(r,g),b);
1090
+
1091
+ var v = Math.max(Math.max(r,g),b);
1092
+
1093
+ var m = v - n;
1094
+
1095
+ if(m === 0) { return [ null, 0, v ]; }
1096
+
1097
+ var h = r===n ? 3+(b-g)/m : (g===n ? 5+(r-b)/m : 1+(g-r)/m);
1098
+
1099
+ return [ h===6?0:h, m/v, v ];
1100
+
1101
+ }
1102
+
1103
+
1104
+
1105
+
1106
+
1107
+ function HSV_RGB(h, s, v) {
1108
+
1109
+ if(h === null) { return [ v, v, v ]; }
1110
+
1111
+ var i = Math.floor(h);
1112
+
1113
+ var f = i%2 ? h-i : 1-(h-i);
1114
+
1115
+ var m = v * (1 - s);
1116
+
1117
+ var n = v * (1 - s*f);
1118
+
1119
+ switch(i) {
1120
+
1121
+ case 6:
1122
+
1123
+ case 0: return [v,n,m];
1124
+
1125
+ case 1: return [n,v,m];
1126
+
1127
+ case 2: return [m,v,n];
1128
+
1129
+ case 3: return [m,n,v];
1130
+
1131
+ case 4: return [n,m,v];
1132
+
1133
+ case 5: return [v,m,n];
1134
+
1135
+ }
1136
+
1137
+ }
1138
+
1139
+
1140
+
1141
+
1142
+
1143
+ function removePicker() {
1144
+
1145
+ delete jscolor.picker.owner;
1146
+
1147
+ document.getElementsByTagName('body')[0].removeChild(jscolor.picker.boxB);
1148
+
1149
+ }
1150
+
1151
+
1152
+
1153
+
1154
+
1155
+ function drawPicker(x, y) {
1156
+
1157
+ if(!jscolor.picker) {
1158
+
1159
+ jscolor.picker = {
1160
+
1161
+ box : document.createElement('div'),
1162
+
1163
+ boxB : document.createElement('div'),
1164
+
1165
+ pad : document.createElement('div'),
1166
+
1167
+ padB : document.createElement('div'),
1168
+
1169
+ padM : document.createElement('div'),
1170
+
1171
+ sld : document.createElement('div'),
1172
+
1173
+ sldB : document.createElement('div'),
1174
+
1175
+ sldM : document.createElement('div'),
1176
+
1177
+ btn : document.createElement('div'),
1178
+
1179
+ btnS : document.createElement('span'),
1180
+
1181
+ btnT : document.createTextNode(THIS.pickerCloseText)
1182
+
1183
+ };
1184
+
1185
+ for(var i=0,segSize=4; i<jscolor.images.sld[1]; i+=segSize) {
1186
+
1187
+ var seg = document.createElement('div');
1188
+
1189
+ seg.style.height = segSize+'px';
1190
+
1191
+ seg.style.fontSize = '1px';
1192
+
1193
+ seg.style.lineHeight = '0';
1194
+
1195
+ jscolor.picker.sld.appendChild(seg);
1196
+
1197
+ }
1198
+
1199
+ jscolor.picker.sldB.appendChild(jscolor.picker.sld);
1200
+
1201
+ jscolor.picker.box.appendChild(jscolor.picker.sldB);
1202
+
1203
+ jscolor.picker.box.appendChild(jscolor.picker.sldM);
1204
+
1205
+ jscolor.picker.padB.appendChild(jscolor.picker.pad);
1206
+
1207
+ jscolor.picker.box.appendChild(jscolor.picker.padB);
1208
+
1209
+ jscolor.picker.box.appendChild(jscolor.picker.padM);
1210
+
1211
+ jscolor.picker.btnS.appendChild(jscolor.picker.btnT);
1212
+
1213
+ jscolor.picker.btn.appendChild(jscolor.picker.btnS);
1214
+
1215
+ jscolor.picker.box.appendChild(jscolor.picker.btn);
1216
+
1217
+ jscolor.picker.boxB.appendChild(jscolor.picker.box);
1218
+
1219
+ }
1220
+
1221
+
1222
+
1223
+ var p = jscolor.picker;
1224
+
1225
+
1226
+
1227
+ // controls interaction
1228
+
1229
+ p.box.onmouseup =
1230
+
1231
+ p.box.onmouseout = function() { target.focus(); };
1232
+
1233
+ p.box.onmousedown = function() { abortBlur=true; };
1234
+
1235
+ p.box.onmousemove = function(e) {
1236
+
1237
+ if (holdPad || holdSld) {
1238
+
1239
+ holdPad && setPad(e);
1240
+
1241
+ holdSld && setSld(e);
1242
+
1243
+ if (document.selection) {
1244
+
1245
+ document.selection.empty();
1246
+
1247
+ } else if (window.getSelection) {
1248
+
1249
+ window.getSelection().removeAllRanges();
1250
+
1251
+ }
1252
+
1253
+ dispatchImmediateChange();
1254
+
1255
+ }
1256
+
1257
+ };
1258
+
1259
+ p.padM.onmouseup =
1260
+
1261
+ p.padM.onmouseout = function() { if(holdPad) { holdPad=false; jscolor.fireEvent(valueElement,'change'); } };
1262
+
1263
+ p.padM.onmousedown = function(e) {
1264
+
1265
+ // if the slider is at the bottom, move it up
1266
+
1267
+ switch(modeID) {
1268
+
1269
+ case 0: if (THIS.hsv[2] === 0) { THIS.fromHSV(null, null, 1.0); }; break;
1270
+
1271
+ case 1: if (THIS.hsv[1] === 0) { THIS.fromHSV(null, 1.0, null); }; break;
1272
+
1273
+ }
1274
+
1275
+ holdPad=true;
1276
+
1277
+ setPad(e);
1278
+
1279
+ dispatchImmediateChange();
1280
+
1281
+ };
1282
+
1283
+ p.sldM.onmouseup =
1284
+
1285
+ p.sldM.onmouseout = function() { if(holdSld) { holdSld=false; jscolor.fireEvent(valueElement,'change'); } };
1286
+
1287
+ p.sldM.onmousedown = function(e) {
1288
+
1289
+ holdSld=true;
1290
+
1291
+ setSld(e);
1292
+
1293
+ dispatchImmediateChange();
1294
+
1295
+ };
1296
+
1297
+
1298
+
1299
+ // picker
1300
+
1301
+ var dims = getPickerDims(THIS);
1302
+
1303
+ p.box.style.width = dims[0] + 'px';
1304
+
1305
+ p.box.style.height = dims[1] + 'px';
1306
+
1307
+
1308
+
1309
+ // picker border
1310
+
1311
+ p.boxB.style.position = 'absolute';
1312
+
1313
+ p.boxB.style.clear = 'both';
1314
+
1315
+ p.boxB.style.left = x+'px';
1316
+
1317
+ p.boxB.style.top = y+'px';
1318
+
1319
+ p.boxB.style.zIndex = THIS.pickerZIndex;
1320
+
1321
+ p.boxB.style.border = THIS.pickerBorder+'px solid';
1322
+
1323
+ p.boxB.style.borderColor = THIS.pickerBorderColor;
1324
+
1325
+ p.boxB.style.background = THIS.pickerFaceColor;
1326
+
1327
+
1328
+
1329
+ // pad image
1330
+
1331
+ p.pad.style.width = jscolor.images.pad[0]+'px';
1332
+
1333
+ p.pad.style.height = jscolor.images.pad[1]+'px';
1334
+
1335
+
1336
+
1337
+ // pad border
1338
+
1339
+ p.padB.style.position = 'absolute';
1340
+
1341
+ p.padB.style.left = THIS.pickerFace+'px';
1342
+
1343
+ p.padB.style.top = THIS.pickerFace+'px';
1344
+
1345
+ p.padB.style.border = THIS.pickerInset+'px solid';
1346
+
1347
+ p.padB.style.borderColor = THIS.pickerInsetColor;
1348
+
1349
+
1350
+
1351
+ // pad mouse area
1352
+
1353
+ p.padM.style.position = 'absolute';
1354
+
1355
+ p.padM.style.left = '0';
1356
+
1357
+ p.padM.style.top = '0';
1358
+
1359
+ p.padM.style.width = THIS.pickerFace + 2*THIS.pickerInset + jscolor.images.pad[0] + jscolor.images.arrow[0] + 'px';
1360
+
1361
+ p.padM.style.height = p.box.style.height;
1362
+
1363
+ p.padM.style.cursor = 'crosshair';
1364
+
1365
+
1366
+
1367
+ // slider image
1368
+
1369
+ p.sld.style.overflow = 'hidden';
1370
+
1371
+ p.sld.style.width = jscolor.images.sld[0]+'px';
1372
+
1373
+ p.sld.style.height = jscolor.images.sld[1]+'px';
1374
+
1375
+
1376
+
1377
+ // slider border
1378
+
1379
+ p.sldB.style.display = THIS.slider ? 'block' : 'none';
1380
+
1381
+ p.sldB.style.position = 'absolute';
1382
+
1383
+ p.sldB.style.right = THIS.pickerFace+'px';
1384
+
1385
+ p.sldB.style.top = THIS.pickerFace+'px';
1386
+
1387
+ p.sldB.style.border = THIS.pickerInset+'px solid';
1388
+
1389
+ p.sldB.style.borderColor = THIS.pickerInsetColor;
1390
+
1391
+
1392
+
1393
+ // slider mouse area
1394
+
1395
+ p.sldM.style.display = THIS.slider ? 'block' : 'none';
1396
+
1397
+ p.sldM.style.position = 'absolute';
1398
+
1399
+ p.sldM.style.right = '0';
1400
+
1401
+ p.sldM.style.top = '0';
1402
+
1403
+ p.sldM.style.width = jscolor.images.sld[0] + jscolor.images.arrow[0] + THIS.pickerFace + 2*THIS.pickerInset + 'px';
1404
+
1405
+ p.sldM.style.height = p.box.style.height;
1406
+
1407
+ try {
1408
+
1409
+ p.sldM.style.cursor = 'pointer';
1410
+
1411
+ } catch(eOldIE) {
1412
+
1413
+ p.sldM.style.cursor = 'hand';
1414
+
1415
+ }
1416
+
1417
+
1418
+
1419
+ // "close" button
1420
+
1421
+ function setBtnBorder() {
1422
+
1423
+ var insetColors = THIS.pickerInsetColor.split(/\s+/);
1424
+
1425
+ var pickerOutsetColor = insetColors.length < 2 ? insetColors[0] : insetColors[1] + ' ' + insetColors[0] + ' ' + insetColors[0] + ' ' + insetColors[1];
1426
+
1427
+ p.btn.style.borderColor = pickerOutsetColor;
1428
+
1429
+ }
1430
+
1431
+ p.btn.style.display = THIS.pickerClosable ? 'block' : 'none';
1432
+
1433
+ p.btn.style.position = 'absolute';
1434
+
1435
+ p.btn.style.left = THIS.pickerFace + 'px';
1436
+
1437
+ p.btn.style.bottom = THIS.pickerFace + 'px';
1438
+
1439
+ p.btn.style.padding = '0 15px';
1440
+
1441
+ p.btn.style.height = '18px';
1442
+
1443
+ p.btn.style.border = THIS.pickerInset + 'px solid';
1444
+
1445
+ setBtnBorder();
1446
+
1447
+ p.btn.style.color = THIS.pickerButtonColor;
1448
+
1449
+ p.btn.style.font = '12px sans-serif';
1450
+
1451
+ p.btn.style.textAlign = 'center';
1452
+
1453
+ try {
1454
+
1455
+ p.btn.style.cursor = 'pointer';
1456
+
1457
+ } catch(eOldIE) {
1458
+
1459
+ p.btn.style.cursor = 'hand';
1460
+
1461
+ }
1462
+
1463
+ p.btn.onmousedown = function () {
1464
+
1465
+ THIS.hidePicker();
1466
+
1467
+ };
1468
+
1469
+ p.btnS.style.lineHeight = p.btn.style.height;
1470
+
1471
+
1472
+
1473
+ // load images in optimal order
1474
+
1475
+ switch(modeID) {
1476
+
1477
+ case 0: var padImg = 'hs.png'; break;
1478
+
1479
+ case 1: var padImg = 'hv.png'; break;
1480
+
1481
+ }
1482
+
1483
+ p.padM.style.backgroundImage = "url('"+jscolor.getDir()+"cross.gif')";
1484
+
1485
+ p.padM.style.backgroundRepeat = "no-repeat";
1486
+
1487
+ p.sldM.style.backgroundImage = "url('"+jscolor.getDir()+"arrow.gif')";
1488
+
1489
+ p.sldM.style.backgroundRepeat = "no-repeat";
1490
+
1491
+ p.pad.style.backgroundImage = "url('"+jscolor.getDir()+padImg+"')";
1492
+
1493
+ p.pad.style.backgroundRepeat = "no-repeat";
1494
+
1495
+ p.pad.style.backgroundPosition = "0 0";
1496
+
1497
+
1498
+
1499
+ // place pointers
1500
+
1501
+ redrawPad();
1502
+
1503
+ redrawSld();
1504
+
1505
+
1506
+
1507
+ jscolor.picker.owner = THIS;
1508
+
1509
+ document.getElementsByTagName('body')[0].appendChild(p.boxB);
1510
+
1511
+ }
1512
+
1513
+
1514
+
1515
+
1516
+
1517
+ function getPickerDims(o) {
1518
+
1519
+ var dims = [
1520
+
1521
+ 2*o.pickerInset + 2*o.pickerFace + jscolor.images.pad[0] +
1522
+
1523
+ (o.slider ? 2*o.pickerInset + 2*jscolor.images.arrow[0] + jscolor.images.sld[0] : 0),
1524
+
1525
+ o.pickerClosable ?
1526
+
1527
+ 4*o.pickerInset + 3*o.pickerFace + jscolor.images.pad[1] + o.pickerButtonHeight :
1528
+
1529
+ 2*o.pickerInset + 2*o.pickerFace + jscolor.images.pad[1]
1530
+
1531
+ ];
1532
+
1533
+ return dims;
1534
+
1535
+ }
1536
+
1537
+
1538
+
1539
+
1540
+
1541
+ function redrawPad() {
1542
+
1543
+ // redraw the pad pointer
1544
+
1545
+ switch(modeID) {
1546
+
1547
+ case 0: var yComponent = 1; break;
1548
+
1549
+ case 1: var yComponent = 2; break;
1550
+
1551
+ }
1552
+
1553
+ var x = Math.round((THIS.hsv[0]/6) * (jscolor.images.pad[0]-1));
1554
+
1555
+ var y = Math.round((1-THIS.hsv[yComponent]) * (jscolor.images.pad[1]-1));
1556
+
1557
+ jscolor.picker.padM.style.backgroundPosition =
1558
+
1559
+ (THIS.pickerFace+THIS.pickerInset+x - Math.floor(jscolor.images.cross[0]/2)) + 'px ' +
1560
+
1561
+ (THIS.pickerFace+THIS.pickerInset+y - Math.floor(jscolor.images.cross[1]/2)) + 'px';
1562
+
1563
+
1564
+
1565
+ // redraw the slider image
1566
+
1567
+ var seg = jscolor.picker.sld.childNodes;
1568
+
1569
+
1570
+
1571
+ switch(modeID) {
1572
+
1573
+ case 0:
1574
+
1575
+ var rgb = HSV_RGB(THIS.hsv[0], THIS.hsv[1], 1);
1576
+
1577
+ for(var i=0; i<seg.length; i+=1) {
1578
+
1579
+ seg[i].style.backgroundColor = 'rgb('+
1580
+
1581
+ (rgb[0]*(1-i/seg.length)*100)+'%,'+
1582
+
1583
+ (rgb[1]*(1-i/seg.length)*100)+'%,'+
1584
+
1585
+ (rgb[2]*(1-i/seg.length)*100)+'%)';
1586
+
1587
+ }
1588
+
1589
+ break;
1590
+
1591
+ case 1:
1592
+
1593
+ var rgb, s, c = [ THIS.hsv[2], 0, 0 ];
1594
+
1595
+ var i = Math.floor(THIS.hsv[0]);
1596
+
1597
+ var f = i%2 ? THIS.hsv[0]-i : 1-(THIS.hsv[0]-i);
1598
+
1599
+ switch(i) {
1600
+
1601
+ case 6:
1602
+
1603
+ case 0: rgb=[0,1,2]; break;
1604
+
1605
+ case 1: rgb=[1,0,2]; break;
1606
+
1607
+ case 2: rgb=[2,0,1]; break;
1608
+
1609
+ case 3: rgb=[2,1,0]; break;
1610
+
1611
+ case 4: rgb=[1,2,0]; break;
1612
+
1613
+ case 5: rgb=[0,2,1]; break;
1614
+
1615
+ }
1616
+
1617
+ for(var i=0; i<seg.length; i+=1) {
1618
+
1619
+ s = 1 - 1/(seg.length-1)*i;
1620
+
1621
+ c[1] = c[0] * (1 - s*f);
1622
+
1623
+ c[2] = c[0] * (1 - s);
1624
+
1625
+ seg[i].style.backgroundColor = 'rgb('+
1626
+
1627
+ (c[rgb[0]]*100)+'%,'+
1628
+
1629
+ (c[rgb[1]]*100)+'%,'+
1630
+
1631
+ (c[rgb[2]]*100)+'%)';
1632
+
1633
+ }
1634
+
1635
+ break;
1636
+
1637
+ }
1638
+
1639
+ }
1640
+
1641
+
1642
+
1643
+
1644
+
1645
+ function redrawSld() {
1646
+
1647
+ // redraw the slider pointer
1648
+
1649
+ switch(modeID) {
1650
+
1651
+ case 0: var yComponent = 2; break;
1652
+
1653
+ case 1: var yComponent = 1; break;
1654
+
1655
+ }
1656
+
1657
+ var y = Math.round((1-THIS.hsv[yComponent]) * (jscolor.images.sld[1]-1));
1658
+
1659
+ jscolor.picker.sldM.style.backgroundPosition =
1660
+
1661
+ '0 ' + (THIS.pickerFace+THIS.pickerInset+y - Math.floor(jscolor.images.arrow[1]/2)) + 'px';
1662
+
1663
+ }
1664
+
1665
+
1666
+
1667
+
1668
+
1669
+ function isPickerOwner() {
1670
+
1671
+ return jscolor.picker && jscolor.picker.owner === THIS;
1672
+
1673
+ }
1674
+
1675
+
1676
+
1677
+
1678
+
1679
+ function blurTarget() {
1680
+
1681
+ if(valueElement === target) {
1682
+
1683
+ THIS.importColor();
1684
+
1685
+ }
1686
+
1687
+ if(THIS.pickerOnfocus) {
1688
+
1689
+ THIS.hidePicker();
1690
+
1691
+ }
1692
+
1693
+ }
1694
+
1695
+
1696
+
1697
+
1698
+
1699
+ function blurValue() {
1700
+
1701
+ if(valueElement !== target) {
1702
+
1703
+ THIS.importColor();
1704
+
1705
+ }
1706
+
1707
+ }
1708
+
1709
+
1710
+
1711
+
1712
+
1713
+ function setPad(e) {
1714
+
1715
+ var mpos = jscolor.getRelMousePos(e);
1716
+
1717
+ var x = mpos.x - THIS.pickerFace - THIS.pickerInset;
1718
+
1719
+ var y = mpos.y - THIS.pickerFace - THIS.pickerInset;
1720
+
1721
+ switch(modeID) {
1722
+
1723
+ case 0: THIS.fromHSV(x*(6/(jscolor.images.pad[0]-1)), 1 - y/(jscolor.images.pad[1]-1), null, leaveSld); break;
1724
+
1725
+ case 1: THIS.fromHSV(x*(6/(jscolor.images.pad[0]-1)), null, 1 - y/(jscolor.images.pad[1]-1), leaveSld); break;
1726
+
1727
+ }
1728
+
1729
+ }
1730
+
1731
+
1732
+
1733
+
1734
+
1735
+ function setSld(e) {
1736
+
1737
+ var mpos = jscolor.getRelMousePos(e);
1738
+
1739
+ var y = mpos.y - THIS.pickerFace - THIS.pickerInset;
1740
+
1741
+ switch(modeID) {
1742
+
1743
+ case 0: THIS.fromHSV(null, null, 1 - y/(jscolor.images.sld[1]-1), leavePad); break;
1744
+
1745
+ case 1: THIS.fromHSV(null, 1 - y/(jscolor.images.sld[1]-1), null, leavePad); break;
1746
+
1747
+ }
1748
+
1749
+ }
1750
+
1751
+
1752
+
1753
+
1754
+
1755
+ function dispatchImmediateChange() {
1756
+
1757
+ if (THIS.onImmediateChange) {
1758
+
1759
+ var callback;
1760
+
1761
+ if (typeof THIS.onImmediateChange === 'string') {
1762
+
1763
+ callback = new Function (THIS.onImmediateChange);
1764
+
1765
+ } else {
1766
+
1767
+ callback = THIS.onImmediateChange;
1768
+
1769
+ }
1770
+
1771
+ callback.call(THIS);
1772
+
1773
+ }
1774
+
1775
+ }
1776
+
1777
+
1778
+
1779
+
1780
+
1781
+ var THIS = this;
1782
+
1783
+ var modeID = this.pickerMode.toLowerCase()==='hvs' ? 1 : 0;
1784
+
1785
+ var abortBlur = false;
1786
+
1787
+ var
1788
+
1789
+ valueElement = jscolor.fetchElement(this.valueElement),
1790
+
1791
+ styleElement = jscolor.fetchElement(this.styleElement);
1792
+
1793
+ var
1794
+
1795
+ holdPad = false,
1796
+
1797
+ holdSld = false;
1798
+
1799
+ var
1800
+
1801
+ leaveValue = 1<<0,
1802
+
1803
+ leaveStyle = 1<<1,
1804
+
1805
+ leavePad = 1<<2,
1806
+
1807
+ leaveSld = 1<<3;
1808
+
1809
+
1810
+
1811
+ // target
1812
+
1813
+ jscolor.addEvent(target, 'focus', function() {
1814
+
1815
+ if(THIS.pickerOnfocus) { THIS.showPicker(); }
1816
+
1817
+ });
1818
+
1819
+ jscolor.addEvent(target, 'blur', function() {
1820
+
1821
+ if(!abortBlur) {
1822
+
1823
+ window.setTimeout(function(){ abortBlur || blurTarget(); abortBlur=false; }, 0);
1824
+
1825
+ } else {
1826
+
1827
+ abortBlur = false;
1828
+
1829
+ }
1830
+
1831
+ });
1832
+
1833
+
1834
+
1835
+ // valueElement
1836
+
1837
+ if(valueElement) {
1838
+
1839
+ var updateField = function() {
1840
+
1841
+ THIS.fromString(valueElement.value, leaveValue);
1842
+
1843
+ dispatchImmediateChange();
1844
+
1845
+ };
1846
+
1847
+ jscolor.addEvent(valueElement, 'keyup', updateField);
1848
+
1849
+ jscolor.addEvent(valueElement, 'input', updateField);
1850
+
1851
+ jscolor.addEvent(valueElement, 'blur', blurValue);
1852
+
1853
+ valueElement.setAttribute('autocomplete', 'off');
1854
+
1855
+ }
1856
+
1857
+
1858
+
1859
+ // styleElement
1860
+
1861
+ if(styleElement) {
1862
+
1863
+ styleElement.jscStyle = {
1864
+
1865
+ backgroundImage : styleElement.style.backgroundImage,
1866
+
1867
+ backgroundColor : styleElement.style.backgroundColor,
1868
+
1869
+ color : styleElement.style.color
1870
+
1871
+ };
1872
+
1873
+ }
1874
+
1875
+
1876
+
1877
+ // require images
1878
+
1879
+ switch(modeID) {
1880
+
1881
+ case 0: jscolor.requireImage('hs.png'); break;
1882
+
1883
+ case 1: jscolor.requireImage('hv.png'); break;
1884
+
1885
+ }
1886
+
1887
+ jscolor.requireImage('cross.gif');
1888
+
1889
+ jscolor.requireImage('arrow.gif');
1890
+
1891
+
1892
+
1893
+ this.importColor();
1894
+
1895
+ }
1896
+
1897
+
1898
+
1899
+ };
1900
+
1901
+
1902
+ jscolor.install();
trunk/admin/metabox.js ADDED
@@ -0,0 +1 @@
 
1
+ function plu_show_thumbs(e,t){for(var a=jQuery,i=a(".thumb"),r="list_item_"+t,l=a("#"+e).val(),n=l.split(","),o=0;o<n.length;o++)if(console.log("#"+t+":visible"),console.log(n),n[o]){var s=a('<li class="thumb thumb-new" id="'+r+'"><img src="'+n[o]+'" alt="" /><div class="thumbi"><a id="thumbremovelink'+e+o+'" href="#" style="display: none">Delete</a></div> <div class="clear"></div></li>');a("#img1plupload-thumbs").prepend(s),s.find("a").click(function(){var e=a(this).attr("id").replace("thumbremovelink"+r,"");e=parseInt(e);var t=[];l=a("#"+r).val(),n=l.split(",");for(var i=0;i<n.length;i++)i!=e&&(t[t.length]=n[i]);return!1})}jQuery("#img1plupload-thumbs").sortable({items:"li",opacity:1,cursor:"move",update:function(){var e=jQuery(this).data("post-id"),t=jQuery(this).sortable("serialize")+"&action=list_update_order";jQuery.post(ajaxurl,t,function(t){console.log(t),console.log(e)})}}),i.disableSelection()}jQuery(document).ready(function(e){e("a#dgd_library_button").click(function(e){var t=wp.media.controller.Library.extend({defaults:_.defaults({id:"insert-image",title:"Insert Image Url",allowLocalEdits:!0,displaySettings:!0,displayUserSettings:!0,multiple:!0,type:"image"},wp.media.controller.Library.prototype.defaults)}),a=wp.media({button:{text:"Select"},state:"insert-image",states:[new t]});a.on("close",function(){var e=a.state("insert-image").get("selection");!e.length}),a.on("select",function(){var e=a.state("insert-image"),t=e.get("selection");console.log(t),t&&t.each(function(t){var a,i,r=e.display(t).toJSON(),l=t.toJSON(),n=l.caption;wp.media.view.settings.captions||delete l.caption,r=wp.media.string.props(r,l),a={id:l.id,post_content:l.description,post_excerpt:n},r.linkUrl&&(a.url=r.linkUrl),"image"===l.type?(i=wp.media.string.image(r),_.each({align:"align",size:"image-size",alt:"image_alt"},function(e,t){r[t]&&(a[e]=r[t])})):"video"===l.type?i=wp.media.string.video(r,l):"audio"===l.type?i=wp.media.string.audio(r,l):(i=wp.media.string.link(r),a.post_title=r.title),t.attributes.nonce=wp.media.view.settings.nonce.sendToEditor,t.attributes.attachment=a,t.attributes.html=i,t.attributes.post_id=wp.media.view.settings.post.id,jQuery("#img1plupload-thumbs").prepend('<li class="thumb" id="list_item_'+t.id+'" data-image-id="'+t.id+'"><img src="'+t.attributes.sizes.ft_gallery_thumb.url+'" alt="" /><div class="clear"></div></li>'),console.log(t.attributes),jQuery.ajax({data:{action:"ft_gallery_edit_image_ajax",id:t.id,postID:jQuery("#img1plupload-thumbs").attr("data-post-id"),nonce:"attach_image"},type:"post",url:ssAjax.ajaxurl,success:function(e){console.log("Well Done and got this from sever: "+e)},error:function(){alert("Error, please contact us at https://slickremix.com/ for help.")}})})}),a.on("open",function(){var e=a.state("insert-image").get("selection");e.each(function(t){var a=wp.media.attachment(t.attributes.id);a.fetch(),e.remove(a?[a]:[])})}),a.open()}),e("input#ft-watermark-image").click(function(e){e.preventDefault();var t=wp.media({id:"dgd_featured_image",title:dgd_strings.panel.title,multiple:!1,library:{type:"image"},button:{text:dgd_strings.panel.button}});t.on("select",function(){var e=t.state().get("selection").first().toJSON();return jQuery("#ft_watermark_image_input").val(e.url),jQuery("#ft_watermark_image_id").val(e.id),jQuery(".ft-global-option-wrap-ft-watermark-image").html('<img src="'+e.url+'" class="ft-watermark-image-thumb" /><br/>'),jQuery.ajax({data:{action:"ft_gallery_update_image_ajax",id:e.id,nonce:e.id,ft_gallery_img_remove:"true"},type:"POST",url:ssAjax.ajaxurl,beforeSend:function(){},success:function(e){console.log("Well Done and got this from sever: "+e)},error:function(){alert("Error, please contact us at http://slickremix.com/support-forum for help.")}}),!1}),t.open()}),""!==jQuery("#ft-watermark-image").val()&&jQuery(".ft-global-option-wrap-ft-watermark-image").html('<img src="'+jQuery("#ft_watermark_image_input").val()+'" class="ft-watermark-image-thumb ft-watermark-existing" /><br/>'),e("a.wp-post-thumbnail").live("click",function(e){parent.tb_remove(),parent.location.reload(1)}),e("a#insert-media-button").live("click",function(){if("undefined"!=typeof wp){var t=e(".wp-media-buttons:eq(0) .add_media").attr("data-editor"),a=wp.media.editor.get(t);a="undefined"!=typeof a?a:wp.media.editor.add(t),a&&a.on("select",function(){var e=a.state();"featured-image"===e.id&&doFetchFeaturedImage()})}})}),jQuery.fn.exists=function(){return jQuery(this).length>0},jQuery(document).ready(function(e){if(e(".plupload-upload-uic").exists()){var t=!1;e(".plupload-upload-uic").each(function(){var a=e(this),i=a.attr("id"),r=i.replace("plupload-upload-ui","");if(plu_show_thumbs(r),t=JSON.parse(JSON.stringify(base_plupload_config)),t.browse_button=r+t.browse_button,t.container=r+t.container,t.drop_element=t.drop_element,t.file_data_name=r+t.file_data_name,t.multipart_params.imgid=r,t.multipart_params._ajax_nonce=a.find(".ajaxnonceplu").attr("id").replace("ajaxnonceplu",""),a.hasClass("plupload-upload-uic-multiple")&&(t.multi_selection=!0),a.find(".plupload-resize").exists()){var l=parseInt(a.find(".plupload-width").attr("id").replace("plupload-width","")),n=parseInt(a.find(".plupload-height").attr("id").replace("plupload-height",""));t.resize={width:l,height:n,quality:100}}var o=new plupload.Uploader(t);o.bind("Init",function(t){var a=e("#plupload-upload-ui");t.features.dragdrop?(a.addClass("drag-drop"),e("#drag-drop-area").bind("dragover.wp-uploader",function(){a.addClass("drag-over")}).bind("dragleave.wp-uploader, drop.wp-uploader",function(){a.removeClass("drag-over")})):(a.removeClass("drag-drop"),e("#drag-drop-area").unbind(".wp-uploader"))}),o.init(),o.bind("FilesAdded",function(t,i){e.each(i,function(e,t){a.find(".filelist").append('<div class="file" id="'+t.id+'"><b>'+t.name+'</b> (<span class="ftg-file-size">'+plupload.formatSize(0)+"</span>/"+plupload.formatSize(t.size)+') <span class="ftg-finishing"></span><div class="fileprogress"></div></div>')}),t.refresh(),t.start()}),o.bind("UploadProgress",function(t,a){e("#"+a.id+" .fileprogress").width(a.percent+"%"),e("#"+a.id+" span.ftg-file-size").html(plupload.formatSize(parseInt(a.size*a.percent/100))),setTimeout(function(){100==a.percent&&e("#"+a.id+" span.ftg-finishing").html("<strong>Finishing up, please be patient</strong>")},5e3)}),o.bind("FileUploaded",function(t,i,l){if(e("#"+i.id).fadeOut(),l=JSON.parse(l.response),console.log(l.url),a.hasClass("plupload-upload-uic-multiple")){var n=e.trim(e("#"+r).val());n=n?l.url:l.url,e("#"+r).val(n)}else e("#"+r).val(l.url+"");plu_show_thumbs(r,l.id)})})}});
trunk/feed-them.php ADDED
@@ -0,0 +1,481 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Feed Them Social Class (Main Class)
4
+ *
5
+ * This class is what initiates the Feed Them Social class
6
+ *
7
+ * Plugin Name: Feed Them Social (Facebook, Instagram, Twitter, etc)
8
+ * Plugin URI: http://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.4.9
11
+ * Author: SlickRemix
12
+ * Author URI: https://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.4.9
18
+ * License: GPLv2 or later
19
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
20
+ *
21
+ * @version 2.4.9
22
+ * @package FeedThemSocial/Core
23
+ * @copyright Copyright (c) 2012-2018 SlickRemix
24
+ *
25
+ * Need Support: https://wordpress.org/support/plugin/feed-them-social
26
+ * Paid Extension Support: https://www.slickremix.com/my-account/#tab-support
27
+ */
28
+
29
+ // Makes sure any js or css changes are reloaded properly. Added to enqued css and js files throughout
30
+ define('FTS_CURRENT_VERSION', '2.4.9');
31
+
32
+ final class Feed_Them_Social {
33
+
34
+ /**
35
+ * Main Instance of Feed Them Social
36
+ * @var
37
+ */
38
+ private static $instance;
39
+
40
+ /**
41
+ * Create Instance of Feed Them Social
42
+ *
43
+ * @since 1.0.0
44
+ */
45
+ public static function instance() {
46
+ if (!isset(self::$instance) && !(self::$instance instanceof Feed_Them_Social)) {
47
+ self::$instance = new Feed_Them_Social;
48
+
49
+ if (!function_exists('is_plugin_active'))
50
+ require_once(ABSPATH . '/wp-admin/includes/plugin.php');
51
+
52
+ // Third check the php version is not less than 5.2.9
53
+ // Make sure php version is greater than 5.3
54
+ if (function_exists('phpversion'))
55
+ $phpversion = phpversion();
56
+ $phpcheck = '5.2.9';
57
+ if ($phpversion > $phpcheck) {
58
+ // Add actions
59
+ add_action('init', array(self::$instance, 'fts_action_init'));
60
+ } // end if php version check
61
+ else {
62
+ // if the php version is not at least 5.3 do action
63
+ deactivate_plugins('feed-them-social/feed-them-social.php');
64
+ if ($phpversion < $phpcheck) {
65
+ add_action('admin_notices', array(self::$instance, 'fts_required_php_check1'));
66
+
67
+ }
68
+ } // end ftg_required_php_check
69
+
70
+ register_activation_hook(__FILE__, array(self::$instance, 'fts_activate'));
71
+
72
+ add_action('admin_init', array(self::$instance, 'feed_them_social_load_plugin'));
73
+ add_action('admin_notices', array(self::$instance, 'fts_install_notice'));
74
+ add_action('admin_notices', array(self::$instance, 'fts_update_notice'));
75
+ add_action('upgrader_process_complete', array(self::$instance, 'fts_upgrade_completed'), 10, 2);
76
+
77
+ // Include our own Settings link to plugin activation and update page.
78
+ add_filter('plugin_action_links_' . plugin_basename(__FILE__), array(self::$instance, 'fts_free_plugin_actions'), 10, 4);
79
+
80
+ // Include Leave feedback, Get support and Plugin info links to plugin activation and update page.
81
+ add_filter('plugin_row_meta', array(self::$instance, 'fts_leave_feedback_link'), 10, 2);
82
+
83
+ //Setup Constants for FTS
84
+ self::$instance->setup_constants();
85
+ //add_action( 'plugins_loaded', array( self::$instance, 'load_textdomain' ) );
86
+
87
+ //Include the files
88
+ self::$instance->includes();
89
+
90
+ //Error Handler
91
+ self::$instance->error_handler = new feedthemsocial\fts_error_handler();
92
+
93
+ //FTS Custom Post Type
94
+ //self::$instance->fts_custom_post_type = new feedthemsocial\FTS_Custom_Post_Type();
95
+
96
+ //Core (and load init)
97
+ self::$instance->core_functions = new feedthemsocial\feed_them_social_functions();
98
+
99
+ //Free Plugin License page.
100
+ self::$instance->updater = new feedthemsocial\updater_init();
101
+
102
+ //Facebook Class
103
+ self::$instance->facebook_feed = new feedthemsocial\FTS_Facebook_Feed();
104
+
105
+ //Twitter Class
106
+ self::$instance->twitter_feed = new feedthemsocial\FTS_Twitter_Feed();
107
+
108
+ //Instagram
109
+ self::$instance->instagram_feed = new feedthemsocial\FTS_Instagram_Feed();
110
+
111
+ //Pinterest
112
+ self::$instance->pinterest_feed = new feedthemsocial\FTS_Pinterest_Feed();
113
+
114
+ //Youtube
115
+ self::$instance->pinterest_feed = new feedthemsocial\FTS_Youtube_Feed_Free();
116
+ }
117
+
118
+ return self::$instance;
119
+ }
120
+
121
+ /**
122
+ * This function runs when WordPress completes its upgrade process
123
+ * It iterates through each plugin updated to see if ours is included
124
+ *
125
+ * @param $upgrader_object Array
126
+ * @param $options Array
127
+ * @since 1.0.0
128
+ */
129
+ function fts_upgrade_completed($upgrader_object, $options) {
130
+ // The path to our plugin's main file
131
+ $our_plugin = plugin_basename(__FILE__);
132
+ // If an update has taken place and the updated type is plugins and the plugins element exists
133
+ if ($options['action'] == 'update' && $options['type'] == 'plugin' && isset($options['plugins'])) {
134
+ // Iterate through the plugins being updated and check if ours is there
135
+ foreach ($options['plugins'] as $plugin) {
136
+ if ($plugin == $our_plugin) {
137
+ // Set a transient to record that our plugin has just been updated
138
+ set_transient('fts_updated', 1);
139
+ }
140
+ }
141
+ }
142
+ }
143
+
144
+ /**
145
+ * Show a notice to anyone who has just updated this plugin
146
+ * This notice shouldn't display to anyone who has just installed the plugin for the first time
147
+ * @since 1.0.0
148
+ */
149
+ function fts_update_notice() {
150
+ // Check the transient to see if we've just updated the plugin
151
+ if (get_transient('fts_updated')) {
152
+ echo '<div class="notice notice-success updated is-dismissible"><p>' . __('Thanks for updating Feed Them Social. We have deleted the cache in our plugin so you can view any changes we have made.', 'feed-them-social') . '</p></div>';
153
+ delete_transient('fts_updated');
154
+ }
155
+ }
156
+
157
+ /**
158
+ * Show a notice to anyone who has just installed the plugin for the first time
159
+ * This notice shouldn't display to anyone who has just updated this plugin
160
+ * @since 1.0.0
161
+ */
162
+ function fts_install_notice() {
163
+ // Check the transient to see if we've just activated the plugin
164
+ if (get_transient('fts_activated')) {
165
+ echo '<div class="notice notice-success updated is-dismissible"><p>' . __('Thanks for installing Feed Them Social. To get started please view our <a href="admin.php?page=feed-them-settings-page">Settings</a> page.', 'feed-them-social') . '</p></div>';
166
+ // Delete the transient so we don't keep displaying the activation message
167
+ delete_transient('fts_activated');
168
+ }
169
+ }
170
+
171
+ /**
172
+ * Run this on activation
173
+ * Set a transient so that we know we've just activated the plugin
174
+ *
175
+ * @since 1.0.0
176
+ */
177
+ function fts_activate() {
178
+ set_transient('fts_activated', 1);
179
+
180
+ // we add an db option to check then delete the db option after activation and the cache has emptied.
181
+ // the delete_option is on the feed-them-functions.php file at the bottom of the function ftg_clear_cache_script
182
+ add_option('Feed_Them_Social_Activated_Plugin', 'feed-them-social');
183
+ }
184
+
185
+ /**
186
+ * Setup Constants
187
+ *
188
+ * Setup plugin constants for plugin
189
+ *
190
+ * @since 1.0.0
191
+ */
192
+ private function setup_constants() {
193
+ // Makes sure the plugin is defined before trying to use it
194
+ if (!function_exists('is_plugin_active'))
195
+ require_once(ABSPATH . '/wp-admin/includes/plugin.php');
196
+
197
+ $plugin_data = get_plugin_data(__FILE__);
198
+ $plugin_version = $plugin_data['Version'];
199
+ // Free Version Plugin version
200
+ if (!defined('FEED_THEM_SOCIAL_VERSION')) {
201
+ define('FEED_THEM_SOCIAL_VERSION', $plugin_version);
202
+ }
203
+
204
+ // Plugin Folder Path
205
+ if (!defined('FEED_THEM_SOCIAL_PLUGIN_PATH')) {
206
+ define('FEED_THEM_SOCIAL_PLUGIN_PATH', plugins_url());
207
+ }
208
+ // Plugin Directoy Path
209
+ if (!defined('FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR')) {
210
+ define('FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR', plugin_dir_path(__FILE__));
211
+ }
212
+
213
+ if (is_plugin_active('feed-them-premium/feed-them-premium.php')) {
214
+ // Plugin Directoy Path
215
+ if (!defined('FEED_THEM_SOCIAL_PREMIUM_PLUGIN_FOLDER_DIR')) {
216
+ define('FEED_THEM_SOCIAL_PREMIUM_PLUGIN_FOLDER_DIR', WP_PLUGIN_DIR . '/feed-them-premium/feed-them-premium.php');
217
+ }
218
+ }
219
+ // Define constants:
220
+ if (!defined('MY_TEXTDOMAIN')) {
221
+ define('MY_TEXTDOMAIN', 'feed-them-social');
222
+ }
223
+ }
224
+
225
+ /**
226
+ * Includes Files
227
+ *
228
+ * Include files needed for Feed Them Social
229
+ *
230
+ * @since 1.0.0
231
+ */
232
+ private function includes() {
233
+
234
+ //include(FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR . 'includes/feed-metabox-options.php');
235
+
236
+ //Custom Post Type
237
+ //include(FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR . 'includes/fts-cpt-class.php');
238
+
239
+ include(FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR . 'includes/error-handler.php');
240
+
241
+ // Core Class
242
+ include(FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR . 'includes/feed-them-functions.php');
243
+ $load_fts = 'feedthemsocial\feed_them_social_functions';
244
+ $load_fts = new $load_fts;
245
+ $load_fts->init();
246
+
247
+ //Admin Pages
248
+ include(FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR . 'admin/feed-them-system-info.php');
249
+ include(FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR . 'admin/feed-them-settings-page.php');
250
+
251
+ //Feed Option Pages
252
+ include(FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR . 'admin/feed-them-facebook-style-options-page.php');
253
+ include(FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR . 'admin/feed-them-twitter-style-options-page.php');
254
+ include(FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR . 'admin/feed-them-instagram-style-options-page.php');
255
+ include(FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR . 'admin/feed-them-pinterest-style-options-page.php');
256
+ include(FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR . 'admin/feed-them-youtube-style-options-page.php');
257
+
258
+ //Updater Classes
259
+ include(FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR . 'updater/updater-license-page.php');
260
+ include(FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR . 'updater/updater-check-class.php');
261
+ include(FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR . 'updater/updater-check-init.php');
262
+
263
+ //Feed Classes
264
+ include(FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR . 'feeds/facebook/facebook-feed.php');
265
+ include(FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR . 'feeds/facebook/facebook-feed-post-types.php');
266
+ $load_fb_fts = 'feedthemsocial\FTS_Facebook_Feed';
267
+ new $load_fb_fts;
268
+ include_once(FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR . 'feeds/twitter/twitter-feed.php');
269
+ $load_tw_fts = 'feedthemsocial\FTS_Twitter_Feed';
270
+ new $load_tw_fts;
271
+ include_once(FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR . 'feeds/instagram/instagram-feed.php');
272
+ include_once(FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR . 'feeds/pinterest/pinterest-feed.php');
273
+
274
+ include_once(FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR . 'feeds/youtube/youtube-feed.php');
275
+
276
+ //Steemit API
277
+ //include_once(FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR . 'feeds/steemit/slickremix-steem-php/SteemLayer.php');
278
+ //include_once(FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR . 'feeds/steemit/slickremix-steem-php/SteemApi.php');
279
+ }
280
+
281
+ /**
282
+ * FTS Action Init
283
+ *
284
+ * Loads language files
285
+ *
286
+ * @since 1.0.0
287
+ */
288
+ function fts_action_init() {
289
+ // Localization
290
+ load_plugin_textdomain('feed-them-social', false, basename(dirname(__FILE__)) . '/languages');
291
+ }
292
+
293
+ /**
294
+ * FTS Required php Check
295
+ *
296
+ * Are they running proper PHP version
297
+ *
298
+ * @since 1.0.0
299
+ */
300
+ function fts_required_php_check1() {
301
+ echo '<div class="error"><p>' . __('<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>';
302
+ }
303
+
304
+ /**
305
+ * FTS Plugin Actions
306
+ *
307
+ * Loads links in the Plugins page in Wordpress Dashboard
308
+ *
309
+ * @param $actions
310
+ * @param $plugin_file
311
+ * @param $plugin_data
312
+ * @param $context
313
+ * @return mixed
314
+ * @since 1.0.0
315
+ */
316
+ function fts_free_plugin_actions($actions, $plugin_file, $plugin_data, $context) {
317
+ array_unshift(
318
+ $actions, '<a href="admin.php?page=feed-them-settings-page">' . __('Settings', 'feed-them-social') .'</a> | <a href="' . __('https://www.slickremix.com/support/', 'feed-them-social') . '">' . __('Support') . '</a>'
319
+
320
+ );
321
+ return $actions;
322
+ }
323
+
324
+ /**
325
+ * FTS Leave Feedback Link
326
+ *
327
+ * Link to add feedback for plugin
328
+ *
329
+ * @param $links
330
+ * @param $file
331
+ * @return mixed
332
+ * @since 1.0.0
333
+ */
334
+ function fts_leave_feedback_link($links, $file) {
335
+ if ($file === plugin_basename(__FILE__)) {
336
+ $links['feedback'] = '<a href="http://wordpress.org/support/view/plugin-reviews/feed-them-social" target="_blank">' . __('Rate Plugin', 'feed-them-social') . '</a>';
337
+ // $links['support'] = '<a href="http://www.slickremix.com/support-forum/forum/feed-them-social-2/" target="_blank">' . __('Get support', 'feed-them-premium') . '</a>';
338
+ // $links['plugininfo'] = '<a href="plugin-install.php?tab=plugin-information&plugin=feed-them-premium&section=changelog&TB_iframe=true&width=640&height=423" class="thickbox">' . __( 'Plugin info', 'gd_quicksetup' ) . '</a>';
339
+ }
340
+ return $links;
341
+ }
342
+
343
+ /**
344
+ * FTS Load Plugin
345
+ *
346
+ * Load plugin options on activation check
347
+ *
348
+ * @since 1.0.0
349
+ */
350
+ function feed_them_social_load_plugin() {
351
+
352
+ if (is_admin() && get_option('Feed_Them_Social_Activated_Plugin') == 'feed-them-social') {
353
+
354
+ //Options List
355
+ $activation_options = array(
356
+ 'fts-date-and-time-format' => 'one-day-ago',
357
+ 'fts_clear_cache_developer_mode' => '86400',
358
+ );
359
+
360
+ foreach ($activation_options as $option_key => $option_value) {
361
+ // We don't use update_option because we only want this to run for options that have not already been set by the user
362
+ add_option($option_key, $option_value);
363
+ }
364
+ }
365
+ }
366
+ }
367
+
368
+
369
+ /**
370
+ * FTS Review Check
371
+ *
372
+ * Checks $_GET to see if the nag variable is set and what it's value is
373
+ *
374
+ * @param $get
375
+ * @param $nag
376
+ * @param $option
377
+ * @param $transient
378
+ * @return mixed
379
+ * @since 2.4.5
380
+ */
381
+ function fts_check_nag_get( $get, $nag, $option, $transient ) {
382
+ if ( isset( $_GET[$nag] ) && $get[$nag] == 1 ) {
383
+ update_option( $option, 'dismissed' );
384
+ } elseif ( isset( $_GET[$nag] ) && $get[$nag] == 'later' ) {
385
+ $time = 2 * WEEK_IN_SECONDS;
386
+ set_transient( $transient, 'fts-review-waiting', $time );
387
+ update_option( $option, 'pending' );
388
+ }
389
+ }
390
+
391
+ /**
392
+ * FTS Set Review Transient
393
+ *
394
+ * Set a transient if the notice has not been dismissed or has not been set yet
395
+ *
396
+ * @param $transient
397
+ * @param $option
398
+ * @return mixed
399
+ * @since 2.4.5
400
+ */
401
+ function fts_maybe_set_transient( $transient, $option ) {
402
+ $fts_rating_notice_waiting = get_transient( $transient );
403
+ $notice_status = get_option( $option, false );
404
+
405
+ if ( ! $fts_rating_notice_waiting && !( $notice_status === 'dismissed' || $notice_status === 'pending' ) ) {
406
+ $time = 2 * WEEK_IN_SECONDS;
407
+ set_transient( $transient, 'fts-review-waiting', $time );
408
+ update_option( $option, 'pending' );
409
+ }
410
+ }
411
+
412
+ /**
413
+ * FTS Ratings Notice
414
+ *
415
+ * Generates the html for the admin notice
416
+ *
417
+ * @return mixed
418
+ * @since 2.4.5
419
+ */
420
+ function fts_rating_notice_html() {
421
+
422
+ //Only show to admins
423
+ if ( current_user_can( 'manage_options' ) ){
424
+
425
+ global $current_user;
426
+ $user_id = $current_user->ID;
427
+
428
+ /* Has the user already clicked to ignore the message? */
429
+ if ( ! get_user_meta( $user_id, 'fts_slick_ignore_rating_notice') ) {
430
+ $output = "<div class='fts_notice fts_review_notice'>";
431
+ $output .= "<img src='". plugins_url( 'feed-them-social/admin/images/feed-them-social-logo.png' ) ."' alt='Feed Them Social'>";
432
+ $output .= "<div class='fts-notice-text'>";
433
+ $output .= '<p>'. __('It\'s great to see that you\'ve been using our Feed Them Social plugin for a while now. Hopefully you\'re happy with it! If so, would you consider leaving a positive review? It really helps support the plugin and helps others discover it too!' , 'feed-them-social').'</p>';
434
+ $output .= "<p class='fts-links'>";
435
+ $output .= '<a class="fts_notice_dismiss" href="https://wordpress.org/support/plugin/feed-them-social/reviews/#new-post" target="_blank">'. __('Sure, I\'de love to' , 'feed-them-social').'</a>';
436
+ $output .= '<a class="fts_notice_dismiss" href="' .esc_url( add_query_arg( 'fts_slick_ignore_rating_notice_nag', '1' ) ). '">'. __('I\'ve already given a review' , 'feed-them-social').'</a>';
437
+ $output .= '<a class="fts_notice_dismiss" href="'.esc_url( add_query_arg( 'fts_slick_ignore_rating_notice_nag', 'later' ) ).'">'. __('Ask me later' , 'feed-them-social').'</a>';
438
+ $output .= '<a class="fts_notice_dismiss" href="https://wordpress.org/support/plugin/feed-them-social/reviews/#new-post" target="_blank">'. __('Not working, I need support' , 'feed-them-social').'</a>';
439
+ $output .= '<a class="fts_notice_dismiss" href="'. esc_url( add_query_arg( 'fts_slick_ignore_rating_notice_nag', '1' ) ).'">'. __('No thanks' , 'feed-them-social').'</a>';
440
+ $output .= "</p>";
441
+ $output .= "</div>";
442
+ $output .= " </div>";
443
+ echo $output;
444
+ }
445
+ }
446
+ }
447
+
448
+ // Variables to define specific terms
449
+ $transient = 'fts_slick_rating_notice_waiting';
450
+ $option = 'fts_slick_rating_notice';
451
+ $nag = 'fts_slick_ignore_rating_notice_nag';
452
+
453
+ fts_check_nag_get( $_GET, $nag, $option, $transient );
454
+ fts_maybe_set_transient( $transient, $option );
455
+ $notice_status = get_option( $option, false );
456
+
457
+ // only display the notice if the time offset has passed and the user hasn't already dismissed it
458
+ if ( get_transient( $transient ) !== 'fts-review-waiting' && $notice_status !== 'dismissed' ) {
459
+ add_action( 'admin_notices', 'fts_rating_notice_html' );
460
+ }
461
+ //print get_transient( $transient );
462
+ //print ' & ';
463
+ //print $notice_status;
464
+ /* END FTS Ratings Notice */
465
+
466
+
467
+ /**
468
+ * Feed Them Social
469
+ *
470
+ * Start it up!
471
+ *
472
+ * @return feed_them_social
473
+ * @since 1.0.0
474
+ */
475
+ function feed_them_social() {
476
+ return Feed_Them_Social::instance();
477
+ }
478
+
479
+ //Initiate Feed Them Social
480
+ feed_them_social();
481
+ ?>
trunk/feeds/css/font/FontAwesome.otf ADDED
Binary file
trunk/feeds/css/font/fontawesome-webfont.eot ADDED
Binary file
trunk/feeds/css/font/fontawesome-webfont.svg ADDED
@@ -0,0 +1,685 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata></metadata>
5
+ <defs>
6
+ <font id="fontawesomeregular" horiz-adv-x="1536" >
7
+ <font-face units-per-em="1792" ascent="1536" descent="-256" />
8
+ <missing-glyph horiz-adv-x="448" />
9
+ <glyph unicode=" " horiz-adv-x="448" />
10
+ <glyph unicode="&#x09;" horiz-adv-x="448" />
11
+ <glyph unicode="&#xa0;" horiz-adv-x="448" />
12
+ <glyph unicode="&#xa8;" horiz-adv-x="1792" />
13
+ <glyph unicode="&#xa9;" horiz-adv-x="1792" />
14
+ <glyph unicode="&#xae;" horiz-adv-x="1792" />
15
+ <glyph unicode="&#xb4;" horiz-adv-x="1792" />
16
+ <glyph unicode="&#xc6;" horiz-adv-x="1792" />
17
+ <glyph unicode="&#xd8;" horiz-adv-x="1792" />
18
+ <glyph unicode="&#x2000;" horiz-adv-x="768" />
19
+ <glyph unicode="&#x2001;" horiz-adv-x="1537" />
20
+ <glyph unicode="&#x2002;" horiz-adv-x="768" />
21
+ <glyph unicode="&#x2003;" horiz-adv-x="1537" />
22
+ <glyph unicode="&#x2004;" horiz-adv-x="512" />
23
+ <glyph unicode="&#x2005;" horiz-adv-x="384" />
24
+ <glyph unicode="&#x2006;" horiz-adv-x="256" />
25
+ <glyph unicode="&#x2007;" horiz-adv-x="256" />
26
+ <glyph unicode="&#x2008;" horiz-adv-x="192" />
27
+ <glyph unicode="&#x2009;" horiz-adv-x="307" />
28
+ <glyph unicode="&#x200a;" horiz-adv-x="85" />
29
+ <glyph unicode="&#x202f;" horiz-adv-x="307" />
30
+ <glyph unicode="&#x205f;" horiz-adv-x="384" />
31
+ <glyph unicode="&#x2122;" horiz-adv-x="1792" />
32
+ <glyph unicode="&#x221e;" horiz-adv-x="1792" />
33
+ <glyph unicode="&#x2260;" horiz-adv-x="1792" />
34
+ <glyph unicode="&#x25fc;" horiz-adv-x="500" d="M0 0z" />
35
+ <glyph unicode="&#xf000;" horiz-adv-x="1792" d="M1699 1350q0 -35 -43 -78l-632 -632v-768h320q26 0 45 -19t19 -45t-19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45t45 19h320v768l-632 632q-43 43 -43 78q0 23 18 36.5t38 17.5t43 4h1408q23 0 43 -4t38 -17.5t18 -36.5z" />
36
+ <glyph unicode="&#xf001;" d="M1536 1312v-1120q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v537l-768 -237v-709q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89 t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v967q0 31 19 56.5t49 35.5l832 256q12 4 28 4q40 0 68 -28t28 -68z" />
37
+ <glyph unicode="&#xf002;" horiz-adv-x="1664" d="M1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -52 -38 -90t-90 -38q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5 t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />
38
+ <glyph unicode="&#xf003;" horiz-adv-x="1792" d="M1664 32v768q-32 -36 -69 -66q-268 -206 -426 -338q-51 -43 -83 -67t-86.5 -48.5t-102.5 -24.5h-1h-1q-48 0 -102.5 24.5t-86.5 48.5t-83 67q-158 132 -426 338q-37 30 -69 66v-768q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1664 1083v11v13.5t-0.5 13 t-3 12.5t-5.5 9t-9 7.5t-14 2.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5q0 -168 147 -284q193 -152 401 -317q6 -5 35 -29.5t46 -37.5t44.5 -31.5t50.5 -27.5t43 -9h1h1q20 0 43 9t50.5 27.5t44.5 31.5t46 37.5t35 29.5q208 165 401 317q54 43 100.5 115.5t46.5 131.5z M1792 1120v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47t47 -113z" />
39
+ <glyph unicode="&#xf004;" horiz-adv-x="1792" d="M896 -128q-26 0 -44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5q224 0 351 -124t127 -344q0 -221 -229 -450l-623 -600 q-18 -18 -44 -18z" />
40
+ <glyph unicode="&#xf005;" horiz-adv-x="1664" d="M1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -21 -10.5 -35.5t-30.5 -14.5q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455 l502 -73q56 -9 56 -46z" />
41
+ <glyph unicode="&#xf006;" horiz-adv-x="1664" d="M1137 532l306 297l-422 62l-189 382l-189 -382l-422 -62l306 -297l-73 -421l378 199l377 -199zM1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -50 -41 -50q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500 l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455l502 -73q56 -9 56 -46z" />
42
+ <glyph unicode="&#xf007;" horiz-adv-x="1408" d="M1408 131q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5t43 97.5t62 81t85.5 53.5t111.5 20q9 0 42 -21.5t74.5 -48t108 -48t133.5 -21.5t133.5 21.5t108 48t74.5 48t42 21.5q61 0 111.5 -20t85.5 -53.5t62 -81 t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5z" />
43
+ <glyph unicode="&#xf008;" horiz-adv-x="1920" d="M384 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 320v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 704v128q0 26 -19 45t-45 19h-128 q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 -64v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM384 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45 t45 -19h128q26 0 45 19t19 45zM1792 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 704v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1792 320v128 q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 704v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19 t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1920 1248v-1344q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1344q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
44
+ <glyph unicode="&#xf009;" horiz-adv-x="1664" d="M768 512v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM768 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 512v-384q0 -52 -38 -90t-90 -38 h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" />
45
+ <glyph unicode="&#xf00a;" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 288v-192q0 -40 -28 -68t-68 -28h-320 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192 q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68z" />
46
+ <glyph unicode="&#xf00b;" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-960 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h960q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68z" />
47
+ <glyph unicode="&#xf00c;" horiz-adv-x="1792" d="M1671 970q0 -40 -28 -68l-724 -724l-136 -136q-28 -28 -68 -28t-68 28l-136 136l-362 362q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -295l656 657q28 28 68 28t68 -28l136 -136q28 -28 28 -68z" />
48
+ <glyph unicode="&#xf00d;" horiz-adv-x="1408" d="M1298 214q0 -40 -28 -68l-136 -136q-28 -28 -68 -28t-68 28l-294 294l-294 -294q-28 -28 -68 -28t-68 28l-136 136q-28 28 -28 68t28 68l294 294l-294 294q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -294l294 294q28 28 68 28t68 -28l136 -136q28 -28 28 -68 t-28 -68l-294 -294l294 -294q28 -28 28 -68z" />
49
+ <glyph unicode="&#xf00e;" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-224q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v224h-224q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h224v224q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-224h224 q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5 t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />
50
+ <glyph unicode="&#xf010;" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-576q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h576q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5z M1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z " />
51
+ <glyph unicode="&#xf011;" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61t-298 61t-245 164t-164 245t-61 298q0 182 80.5 343t226.5 270q43 32 95.5 25t83.5 -50q32 -42 24.5 -94.5t-49.5 -84.5q-98 -74 -151.5 -181t-53.5 -228q0 -104 40.5 -198.5t109.5 -163.5t163.5 -109.5 t198.5 -40.5t198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5q0 121 -53.5 228t-151.5 181q-42 32 -49.5 84.5t24.5 94.5q31 43 84 50t95 -25q146 -109 226.5 -270t80.5 -343zM896 1408v-640q0 -52 -38 -90t-90 -38t-90 38t-38 90v640q0 52 38 90t90 38t90 -38t38 -90z" />
52
+ <glyph unicode="&#xf012;" horiz-adv-x="1792" d="M256 96v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM640 224v-320q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1024 480v-576q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23 v576q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1408 864v-960q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v960q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 1376v-1472q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1472q0 14 9 23t23 9h192q14 0 23 -9t9 -23z" />
53
+ <glyph unicode="&#xf013;" d="M1024 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1536 749v-222q0 -12 -8 -23t-20 -13l-185 -28q-19 -54 -39 -91q35 -50 107 -138q10 -12 10 -25t-9 -23q-27 -37 -99 -108t-94 -71q-12 0 -26 9l-138 108q-44 -23 -91 -38 q-16 -136 -29 -186q-7 -28 -36 -28h-222q-14 0 -24.5 8.5t-11.5 21.5l-28 184q-49 16 -90 37l-141 -107q-10 -9 -25 -9q-14 0 -25 11q-126 114 -165 168q-7 10 -7 23q0 12 8 23q15 21 51 66.5t54 70.5q-27 50 -41 99l-183 27q-13 2 -21 12.5t-8 23.5v222q0 12 8 23t19 13 l186 28q14 46 39 92q-40 57 -107 138q-10 12 -10 24q0 10 9 23q26 36 98.5 107.5t94.5 71.5q13 0 26 -10l138 -107q44 23 91 38q16 136 29 186q7 28 36 28h222q14 0 24.5 -8.5t11.5 -21.5l28 -184q49 -16 90 -37l142 107q9 9 24 9q13 0 25 -10q129 -119 165 -170q7 -8 7 -22 q0 -12 -8 -23q-15 -21 -51 -66.5t-54 -70.5q26 -50 41 -98l183 -28q13 -2 21 -12.5t8 -23.5z" />
54
+ <glyph unicode="&#xf014;" horiz-adv-x="1408" d="M512 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM768 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1024 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1152 76v948h-896v-948q0 -22 7 -40.5t14.5 -27t10.5 -8.5h832q3 0 10.5 8.5t14.5 27t7 40.5zM480 1152h448l-48 117q-7 9 -17 11h-317q-10 -2 -17 -11zM1408 1120v-64q0 -14 -9 -23t-23 -9h-96v-948q0 -83 -47 -143.5t-113 -60.5h-832 q-66 0 -113 58.5t-47 141.5v952h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h309l70 167q15 37 54 63t79 26h320q40 0 79 -26t54 -63l70 -167h309q14 0 23 -9t9 -23z" />
55
+ <glyph unicode="&#xf015;" horiz-adv-x="1664" d="M1408 544v-480q0 -26 -19 -45t-45 -19h-384v384h-256v-384h-384q-26 0 -45 19t-19 45v480q0 1 0.5 3t0.5 3l575 474l575 -474q1 -2 1 -6zM1631 613l-62 -74q-8 -9 -21 -11h-3q-13 0 -21 7l-692 577l-692 -577q-12 -8 -24 -7q-13 2 -21 11l-62 74q-8 10 -7 23.5t11 21.5 l719 599q32 26 76 26t76 -26l244 -204v195q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-408l219 -182q10 -8 11 -21.5t-7 -23.5z" />
56
+ <glyph unicode="&#xf016;" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z " />
57
+ <glyph unicode="&#xf017;" d="M896 992v-448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
58
+ <glyph unicode="&#xf018;" horiz-adv-x="1920" d="M1111 540v4l-24 320q-1 13 -11 22.5t-23 9.5h-186q-13 0 -23 -9.5t-11 -22.5l-24 -320v-4q-1 -12 8 -20t21 -8h244q12 0 21 8t8 20zM1870 73q0 -73 -46 -73h-704q13 0 22 9.5t8 22.5l-20 256q-1 13 -11 22.5t-23 9.5h-272q-13 0 -23 -9.5t-11 -22.5l-20 -256 q-1 -13 8 -22.5t22 -9.5h-704q-46 0 -46 73q0 54 26 116l417 1044q8 19 26 33t38 14h339q-13 0 -23 -9.5t-11 -22.5l-15 -192q-1 -14 8 -23t22 -9h166q13 0 22 9t8 23l-15 192q-1 13 -11 22.5t-23 9.5h339q20 0 38 -14t26 -33l417 -1044q26 -62 26 -116z" />
59
+ <glyph unicode="&#xf019;" horiz-adv-x="1664" d="M1280 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 416v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h465l135 -136 q58 -56 136 -56t136 56l136 136h464q40 0 68 -28t28 -68zM1339 985q17 -41 -14 -70l-448 -448q-18 -19 -45 -19t-45 19l-448 448q-31 29 -14 70q17 39 59 39h256v448q0 26 19 45t45 19h256q26 0 45 -19t19 -45v-448h256q42 0 59 -39z" />
60
+ <glyph unicode="&#xf01a;" d="M1120 608q0 -12 -10 -24l-319 -319q-11 -9 -23 -9t-23 9l-320 320q-15 16 -7 35q8 20 30 20h192v352q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-352h192q14 0 23 -9t9 -23zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273 t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
61
+ <glyph unicode="&#xf01b;" d="M1118 660q-8 -20 -30 -20h-192v-352q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v352h-192q-14 0 -23 9t-9 23q0 12 10 24l319 319q11 9 23 9t23 -9l320 -320q15 -16 7 -35zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198 t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
62
+ <glyph unicode="&#xf01c;" d="M1023 576h316q-1 3 -2.5 8t-2.5 8l-212 496h-708l-212 -496q-1 -2 -2.5 -8t-2.5 -8h316l95 -192h320zM1536 546v-482q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v482q0 62 25 123l238 552q10 25 36.5 42t52.5 17h832q26 0 52.5 -17t36.5 -42l238 -552 q25 -61 25 -123z" />
63
+ <glyph unicode="&#xf01d;" d="M1184 640q0 -37 -32 -55l-544 -320q-15 -9 -32 -9q-16 0 -32 8q-32 19 -32 56v640q0 37 32 56q33 18 64 -1l544 -320q32 -18 32 -55zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
64
+ <glyph unicode="&#xf01e;" d="M1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l138 138q-148 137 -349 137q-104 0 -198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5q119 0 225 52t179 147q7 10 23 12q14 0 25 -9 l137 -138q9 -8 9.5 -20.5t-7.5 -22.5q-109 -132 -264 -204.5t-327 -72.5q-156 0 -298 61t-245 164t-164 245t-61 298t61 298t164 245t245 164t298 61q147 0 284.5 -55.5t244.5 -156.5l130 129q29 31 70 14q39 -17 39 -59z" />
65
+ <glyph unicode="&#xf021;" d="M1511 480q0 -5 -1 -7q-64 -268 -268 -434.5t-478 -166.5q-146 0 -282.5 55t-243.5 157l-129 -129q-19 -19 -45 -19t-45 19t-19 45v448q0 26 19 45t45 19h448q26 0 45 -19t19 -45t-19 -45l-137 -137q71 -66 161 -102t187 -36q134 0 250 65t186 179q11 17 53 117 q8 23 30 23h192q13 0 22.5 -9.5t9.5 -22.5zM1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-26 0 -45 19t-19 45t19 45l138 138q-148 137 -349 137q-134 0 -250 -65t-186 -179q-11 -17 -53 -117q-8 -23 -30 -23h-199q-13 0 -22.5 9.5t-9.5 22.5v7q65 268 270 434.5t480 166.5 q146 0 284 -55.5t245 -156.5l130 129q19 19 45 19t45 -19t19 -45z" />
66
+ <glyph unicode="&#xf022;" horiz-adv-x="1792" d="M384 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M384 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1536 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5z M1536 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5zM1536 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5 t9.5 -22.5zM1664 160v832q0 13 -9.5 22.5t-22.5 9.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1792 1248v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47 t47 -113z" />
67
+ <glyph unicode="&#xf023;" horiz-adv-x="1152" d="M320 768h512v192q0 106 -75 181t-181 75t-181 -75t-75 -181v-192zM1152 672v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v192q0 184 132 316t316 132t316 -132t132 -316v-192h32q40 0 68 -28t28 -68z" />
68
+ <glyph unicode="&#xf024;" horiz-adv-x="1792" d="M320 1280q0 -72 -64 -110v-1266q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v1266q-64 38 -64 110q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -25 -12.5 -38.5t-39.5 -27.5q-215 -116 -369 -116q-61 0 -123.5 22t-108.5 48 t-115.5 48t-142.5 22q-192 0 -464 -146q-17 -9 -33 -9q-26 0 -45 19t-19 45v742q0 32 31 55q21 14 79 43q236 120 421 120q107 0 200 -29t219 -88q38 -19 88 -19q54 0 117.5 21t110 47t88 47t54.5 21q26 0 45 -19t19 -45z" />
69
+ <glyph unicode="&#xf025;" horiz-adv-x="1664" d="M1664 650q0 -166 -60 -314l-20 -49l-185 -33q-22 -83 -90.5 -136.5t-156.5 -53.5v-32q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-32q71 0 130 -35.5t93 -95.5l68 12q29 95 29 193q0 148 -88 279t-236.5 209t-315.5 78 t-315.5 -78t-236.5 -209t-88 -279q0 -98 29 -193l68 -12q34 60 93 95.5t130 35.5v32q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v32q-88 0 -156.5 53.5t-90.5 136.5l-185 33l-20 49q-60 148 -60 314q0 151 67 291t179 242.5 t266 163.5t320 61t320 -61t266 -163.5t179 -242.5t67 -291z" />
70
+ <glyph unicode="&#xf026;" horiz-adv-x="768" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45z" />
71
+ <glyph unicode="&#xf027;" horiz-adv-x="1152" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142z" />
72
+ <glyph unicode="&#xf028;" horiz-adv-x="1664" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142zM1408 640q0 -153 -85 -282.5t-225 -188.5q-13 -5 -25 -5q-27 0 -46 19t-19 45q0 39 39 59q56 29 76 44q74 54 115.5 135.5t41.5 173.5t-41.5 173.5 t-115.5 135.5q-20 15 -76 44q-39 20 -39 59q0 26 19 45t45 19q13 0 26 -5q140 -59 225 -188.5t85 -282.5zM1664 640q0 -230 -127 -422.5t-338 -283.5q-13 -5 -26 -5q-26 0 -45 19t-19 45q0 36 39 59q7 4 22.5 10.5t22.5 10.5q46 25 82 51q123 91 192 227t69 289t-69 289 t-192 227q-36 26 -82 51q-7 4 -22.5 10.5t-22.5 10.5q-39 23 -39 59q0 26 19 45t45 19q13 0 26 -5q211 -91 338 -283.5t127 -422.5z" />
73
+ <glyph unicode="&#xf029;" horiz-adv-x="1408" d="M384 384v-128h-128v128h128zM384 1152v-128h-128v128h128zM1152 1152v-128h-128v128h128zM128 129h384v383h-384v-383zM128 896h384v384h-384v-384zM896 896h384v384h-384v-384zM640 640v-640h-640v640h640zM1152 128v-128h-128v128h128zM1408 128v-128h-128v128h128z M1408 640v-384h-384v128h-128v-384h-128v640h384v-128h128v128h128zM640 1408v-640h-640v640h640zM1408 1408v-640h-640v640h640z" />
74
+ <glyph unicode="&#xf02a;" horiz-adv-x="1792" d="M63 0h-63v1408h63v-1408zM126 1h-32v1407h32v-1407zM220 1h-31v1407h31v-1407zM377 1h-31v1407h31v-1407zM534 1h-62v1407h62v-1407zM660 1h-31v1407h31v-1407zM723 1h-31v1407h31v-1407zM786 1h-31v1407h31v-1407zM943 1h-63v1407h63v-1407zM1100 1h-63v1407h63v-1407z M1226 1h-63v1407h63v-1407zM1352 1h-63v1407h63v-1407zM1446 1h-63v1407h63v-1407zM1635 1h-94v1407h94v-1407zM1698 1h-32v1407h32v-1407zM1792 0h-63v1408h63v-1408z" />
75
+ <glyph unicode="&#xf02b;" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91z" />
76
+ <glyph unicode="&#xf02c;" horiz-adv-x="1920" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91zM1899 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-36 0 -59 14t-53 45l470 470q37 37 37 90q0 52 -37 91l-715 714q-38 38 -102 64.5t-117 26.5h224q53 0 117 -26.5t102 -64.5l715 -714q37 -39 37 -91z" />
77
+ <glyph unicode="&#xf02d;" horiz-adv-x="1664" d="M1639 1058q40 -57 18 -129l-275 -906q-19 -64 -76.5 -107.5t-122.5 -43.5h-923q-77 0 -148.5 53.5t-99.5 131.5q-24 67 -2 127q0 4 3 27t4 37q1 8 -3 21.5t-3 19.5q2 11 8 21t16.5 23.5t16.5 23.5q23 38 45 91.5t30 91.5q3 10 0.5 30t-0.5 28q3 11 17 28t17 23 q21 36 42 92t25 90q1 9 -2.5 32t0.5 28q4 13 22 30.5t22 22.5q19 26 42.5 84.5t27.5 96.5q1 8 -3 25.5t-2 26.5q2 8 9 18t18 23t17 21q8 12 16.5 30.5t15 35t16 36t19.5 32t26.5 23.5t36 11.5t47.5 -5.5l-1 -3q38 9 51 9h761q74 0 114 -56t18 -130l-274 -906 q-36 -119 -71.5 -153.5t-128.5 -34.5h-869q-27 0 -38 -15q-11 -16 -1 -43q24 -70 144 -70h923q29 0 56 15.5t35 41.5l300 987q7 22 5 57q38 -15 59 -43zM575 1056q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5 t-16.5 -22.5zM492 800q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5t-16.5 -22.5z" />
78
+ <glyph unicode="&#xf02e;" horiz-adv-x="1280" d="M1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289q0 34 19.5 62t52.5 41q21 9 44 9h1048z" />
79
+ <glyph unicode="&#xf02f;" horiz-adv-x="1664" d="M384 0h896v256h-896v-256zM384 640h896v384h-160q-40 0 -68 28t-28 68v160h-640v-640zM1536 576q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 576v-416q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-160q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68 v160h-224q-13 0 -22.5 9.5t-9.5 22.5v416q0 79 56.5 135.5t135.5 56.5h64v544q0 40 28 68t68 28h672q40 0 88 -20t76 -48l152 -152q28 -28 48 -76t20 -88v-256h64q79 0 135.5 -56.5t56.5 -135.5z" />
80
+ <glyph unicode="&#xf030;" horiz-adv-x="1920" d="M960 864q119 0 203.5 -84.5t84.5 -203.5t-84.5 -203.5t-203.5 -84.5t-203.5 84.5t-84.5 203.5t84.5 203.5t203.5 84.5zM1664 1280q106 0 181 -75t75 -181v-896q0 -106 -75 -181t-181 -75h-1408q-106 0 -181 75t-75 181v896q0 106 75 181t181 75h224l51 136 q19 49 69.5 84.5t103.5 35.5h512q53 0 103.5 -35.5t69.5 -84.5l51 -136h224zM960 128q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
81
+ <glyph unicode="&#xf031;" horiz-adv-x="1664" d="M725 977l-170 -450q33 0 136.5 -2t160.5 -2q19 0 57 2q-87 253 -184 452zM0 -128l2 79q23 7 56 12.5t57 10.5t49.5 14.5t44.5 29t31 50.5l237 616l280 724h75h53q8 -14 11 -21l205 -480q33 -78 106 -257.5t114 -274.5q15 -34 58 -144.5t72 -168.5q20 -45 35 -57 q19 -15 88 -29.5t84 -20.5q6 -38 6 -57q0 -4 -0.5 -13t-0.5 -13q-63 0 -190 8t-191 8q-76 0 -215 -7t-178 -8q0 43 4 78l131 28q1 0 12.5 2.5t15.5 3.5t14.5 4.5t15 6.5t11 8t9 11t2.5 14q0 16 -31 96.5t-72 177.5t-42 100l-450 2q-26 -58 -76.5 -195.5t-50.5 -162.5 q0 -22 14 -37.5t43.5 -24.5t48.5 -13.5t57 -8.5t41 -4q1 -19 1 -58q0 -9 -2 -27q-58 0 -174.5 10t-174.5 10q-8 0 -26.5 -4t-21.5 -4q-80 -14 -188 -14z" />
82
+ <glyph unicode="&#xf032;" horiz-adv-x="1408" d="M555 15q74 -32 140 -32q376 0 376 335q0 114 -41 180q-27 44 -61.5 74t-67.5 46.5t-80.5 25t-84 10.5t-94.5 2q-73 0 -101 -10q0 -53 -0.5 -159t-0.5 -158q0 -8 -1 -67.5t-0.5 -96.5t4.5 -83.5t12 -66.5zM541 761q42 -7 109 -7q82 0 143 13t110 44.5t74.5 89.5t25.5 142 q0 70 -29 122.5t-79 82t-108 43.5t-124 14q-50 0 -130 -13q0 -50 4 -151t4 -152q0 -27 -0.5 -80t-0.5 -79q0 -46 1 -69zM0 -128l2 94q15 4 85 16t106 27q7 12 12.5 27t8.5 33.5t5.5 32.5t3 37.5t0.5 34v35.5v30q0 982 -22 1025q-4 8 -22 14.5t-44.5 11t-49.5 7t-48.5 4.5 t-30.5 3l-4 83q98 2 340 11.5t373 9.5q23 0 68.5 -0.5t67.5 -0.5q70 0 136.5 -13t128.5 -42t108 -71t74 -104.5t28 -137.5q0 -52 -16.5 -95.5t-39 -72t-64.5 -57.5t-73 -45t-84 -40q154 -35 256.5 -134t102.5 -248q0 -100 -35 -179.5t-93.5 -130.5t-138 -85.5t-163.5 -48.5 t-176 -14q-44 0 -132 3t-132 3q-106 0 -307 -11t-231 -12z" />
83
+ <glyph unicode="&#xf033;" horiz-adv-x="1024" d="M0 -126l17 85q6 2 81.5 21.5t111.5 37.5q28 35 41 101q1 7 62 289t114 543.5t52 296.5v25q-24 13 -54.5 18.5t-69.5 8t-58 5.5l19 103q33 -2 120 -6.5t149.5 -7t120.5 -2.5q48 0 98.5 2.5t121 7t98.5 6.5q-5 -39 -19 -89q-30 -10 -101.5 -28.5t-108.5 -33.5 q-8 -19 -14 -42.5t-9 -40t-7.5 -45.5t-6.5 -42q-27 -148 -87.5 -419.5t-77.5 -355.5q-2 -9 -13 -58t-20 -90t-16 -83.5t-6 -57.5l1 -18q17 -4 185 -31q-3 -44 -16 -99q-11 0 -32.5 -1.5t-32.5 -1.5q-29 0 -87 10t-86 10q-138 2 -206 2q-51 0 -143 -9t-121 -11z" />
84
+ <glyph unicode="&#xf034;" horiz-adv-x="1792" d="M1744 128q33 0 42 -18.5t-11 -44.5l-126 -162q-20 -26 -49 -26t-49 26l-126 162q-20 26 -11 44.5t42 18.5h80v1024h-80q-33 0 -42 18.5t11 44.5l126 162q20 26 49 26t49 -26l126 -162q20 -26 11 -44.5t-42 -18.5h-80v-1024h80zM81 1407l54 -27q12 -5 211 -5q44 0 132 2 t132 2q36 0 107.5 -0.5t107.5 -0.5h293q6 0 21 -0.5t20.5 0t16 3t17.5 9t15 17.5l42 1q4 0 14 -0.5t14 -0.5q2 -112 2 -336q0 -80 -5 -109q-39 -14 -68 -18q-25 44 -54 128q-3 9 -11 48t-14.5 73.5t-7.5 35.5q-6 8 -12 12.5t-15.5 6t-13 2.5t-18 0.5t-16.5 -0.5 q-17 0 -66.5 0.5t-74.5 0.5t-64 -2t-71 -6q-9 -81 -8 -136q0 -94 2 -388t2 -455q0 -16 -2.5 -71.5t0 -91.5t12.5 -69q40 -21 124 -42.5t120 -37.5q5 -40 5 -50q0 -14 -3 -29l-34 -1q-76 -2 -218 8t-207 10q-50 0 -151 -9t-152 -9q-3 51 -3 52v9q17 27 61.5 43t98.5 29t78 27 q19 42 19 383q0 101 -3 303t-3 303v117q0 2 0.5 15.5t0.5 25t-1 25.5t-3 24t-5 14q-11 12 -162 12q-33 0 -93 -12t-80 -26q-19 -13 -34 -72.5t-31.5 -111t-42.5 -53.5q-42 26 -56 44v383z" />
85
+ <glyph unicode="&#xf035;" d="M81 1407l54 -27q12 -5 211 -5q44 0 132 2t132 2q70 0 246.5 1t304.5 0.5t247 -4.5q33 -1 56 31l42 1q4 0 14 -0.5t14 -0.5q2 -112 2 -336q0 -80 -5 -109q-39 -14 -68 -18q-25 44 -54 128q-3 9 -11 47.5t-15 73.5t-7 36q-10 13 -27 19q-5 2 -66 2q-30 0 -93 1t-103 1 t-94 -2t-96 -7q-9 -81 -8 -136l1 -152v52q0 -55 1 -154t1.5 -180t0.5 -153q0 -16 -2.5 -71.5t0 -91.5t12.5 -69q40 -21 124 -42.5t120 -37.5q5 -40 5 -50q0 -14 -3 -29l-34 -1q-76 -2 -218 8t-207 10q-50 0 -151 -9t-152 -9q-3 51 -3 52v9q17 27 61.5 43t98.5 29t78 27 q7 16 11.5 74t6 145.5t1.5 155t-0.5 153.5t-0.5 89q0 7 -2.5 21.5t-2.5 22.5q0 7 0.5 44t1 73t0 76.5t-3 67.5t-6.5 32q-11 12 -162 12q-41 0 -163 -13.5t-138 -24.5q-19 -12 -34 -71.5t-31.5 -111.5t-42.5 -54q-42 26 -56 44v383zM1310 125q12 0 42 -19.5t57.5 -41.5 t59.5 -49t36 -30q26 -21 26 -49t-26 -49q-4 -3 -36 -30t-59.5 -49t-57.5 -41.5t-42 -19.5q-13 0 -20.5 10.5t-10 28.5t-2.5 33.5t1.5 33t1.5 19.5h-1024q0 -2 1.5 -19.5t1.5 -33t-2.5 -33.5t-10 -28.5t-20.5 -10.5q-12 0 -42 19.5t-57.5 41.5t-59.5 49t-36 30q-26 21 -26 49 t26 49q4 3 36 30t59.5 49t57.5 41.5t42 19.5q13 0 20.5 -10.5t10 -28.5t2.5 -33.5t-1.5 -33t-1.5 -19.5h1024q0 2 -1.5 19.5t-1.5 33t2.5 33.5t10 28.5t20.5 10.5z" />
86
+ <glyph unicode="&#xf036;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
87
+ <glyph unicode="&#xf037;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h896q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45t-45 -19 h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h640q26 0 45 -19t19 -45z" />
88
+ <glyph unicode="&#xf038;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
89
+ <glyph unicode="&#xf039;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" />
90
+ <glyph unicode="&#xf03a;" horiz-adv-x="1792" d="M256 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM256 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5 t9.5 -22.5zM256 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344 q13 0 22.5 -9.5t9.5 -22.5zM256 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5 t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192 q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5z" />
91
+ <glyph unicode="&#xf03b;" horiz-adv-x="1792" d="M384 992v-576q0 -13 -9.5 -22.5t-22.5 -9.5q-14 0 -23 9l-288 288q-9 9 -9 23t9 23l288 288q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" />
92
+ <glyph unicode="&#xf03c;" horiz-adv-x="1792" d="M352 704q0 -14 -9 -23l-288 -288q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v576q0 13 9.5 22.5t22.5 9.5q14 0 23 -9l288 -288q9 -9 9 -23zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" />
93
+ <glyph unicode="&#xf03d;" horiz-adv-x="1792" d="M1792 1184v-1088q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-403 403v-166q0 -119 -84.5 -203.5t-203.5 -84.5h-704q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h704q119 0 203.5 -84.5t84.5 -203.5v-165l403 402q18 19 45 19q12 0 25 -5 q39 -17 39 -59z" />
94
+ <glyph unicode="&#xf03e;" horiz-adv-x="1920" d="M640 960q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1664 576v-448h-1408v192l320 320l160 -160l512 512zM1760 1280h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-1216q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5v1216 q0 13 -9.5 22.5t-22.5 9.5zM1920 1248v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
95
+ <glyph unicode="&#xf040;" d="M363 0l91 91l-235 235l-91 -91v-107h128v-128h107zM886 928q0 22 -22 22q-10 0 -17 -7l-542 -542q-7 -7 -7 -17q0 -22 22 -22q10 0 17 7l542 542q7 7 7 17zM832 1120l416 -416l-832 -832h-416v416zM1515 1024q0 -53 -37 -90l-166 -166l-416 416l166 165q36 38 90 38 q53 0 91 -38l235 -234q37 -39 37 -91z" />
96
+ <glyph unicode="&#xf041;" horiz-adv-x="1024" d="M768 896q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1024 896q0 -109 -33 -179l-364 -774q-16 -33 -47.5 -52t-67.5 -19t-67.5 19t-46.5 52l-365 774q-33 70 -33 179q0 212 150 362t362 150t362 -150t150 -362z" />
97
+ <glyph unicode="&#xf042;" d="M768 96v1088q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
98
+ <glyph unicode="&#xf043;" horiz-adv-x="1024" d="M512 384q0 36 -20 69q-1 1 -15.5 22.5t-25.5 38t-25 44t-21 50.5q-4 16 -21 16t-21 -16q-7 -23 -21 -50.5t-25 -44t-25.5 -38t-15.5 -22.5q-20 -33 -20 -69q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 512q0 -212 -150 -362t-362 -150t-362 150t-150 362 q0 145 81 275q6 9 62.5 90.5t101 151t99.5 178t83 201.5q9 30 34 47t51 17t51.5 -17t33.5 -47q28 -93 83 -201.5t99.5 -178t101 -151t62.5 -90.5q81 -127 81 -275z" />
99
+ <glyph unicode="&#xf044;" horiz-adv-x="1792" d="M888 352l116 116l-152 152l-116 -116v-56h96v-96h56zM1328 1072q-16 16 -33 -1l-350 -350q-17 -17 -1 -33t33 1l350 350q17 17 1 33zM1408 478v-190q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-14 -14 -32 -8q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v126q0 13 9 22l64 64q15 15 35 7t20 -29zM1312 1216l288 -288l-672 -672h-288v288zM1756 1084l-92 -92 l-288 288l92 92q28 28 68 28t68 -28l152 -152q28 -28 28 -68t-28 -68z" />
100
+ <glyph unicode="&#xf045;" horiz-adv-x="1664" d="M1408 547v-259q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h255v0q13 0 22.5 -9.5t9.5 -22.5q0 -27 -26 -32q-77 -26 -133 -60q-10 -4 -16 -4h-112q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832 q66 0 113 47t47 113v214q0 19 18 29q28 13 54 37q16 16 35 8q21 -9 21 -29zM1645 1043l-384 -384q-18 -19 -45 -19q-12 0 -25 5q-39 17 -39 59v192h-160q-323 0 -438 -131q-119 -137 -74 -473q3 -23 -20 -34q-8 -2 -12 -2q-16 0 -26 13q-10 14 -21 31t-39.5 68.5t-49.5 99.5 t-38.5 114t-17.5 122q0 49 3.5 91t14 90t28 88t47 81.5t68.5 74t94.5 61.5t124.5 48.5t159.5 30.5t196.5 11h160v192q0 42 39 59q13 5 25 5q26 0 45 -19l384 -384q19 -19 19 -45t-19 -45z" />
101
+ <glyph unicode="&#xf046;" horiz-adv-x="1664" d="M1408 606v-318q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-10 -10 -23 -10q-3 0 -9 2q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832 q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v254q0 13 9 22l64 64q10 10 23 10q6 0 12 -3q20 -8 20 -29zM1639 1095l-814 -814q-24 -24 -57 -24t-57 24l-430 430q-24 24 -24 57t24 57l110 110q24 24 57 24t57 -24l263 -263l647 647q24 24 57 24t57 -24l110 -110 q24 -24 24 -57t-24 -57z" />
102
+ <glyph unicode="&#xf047;" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-384v-384h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v384h-384v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45 t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h384v384h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45t-19 -45t-45 -19h-128v-384h384v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" />
103
+ <glyph unicode="&#xf048;" horiz-adv-x="1024" d="M979 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19z" />
104
+ <glyph unicode="&#xf049;" horiz-adv-x="1792" d="M1747 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19l710 710 q19 19 32 13t13 -32v-710q4 11 13 19z" />
105
+ <glyph unicode="&#xf04a;" horiz-adv-x="1664" d="M1619 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-8 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-19 19 -19 45t19 45l710 710q19 19 32 13t13 -32v-710q5 11 13 19z" />
106
+ <glyph unicode="&#xf04b;" horiz-adv-x="1408"