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

Version Description

Download this release

Release Info

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

Code changes from version 2.3.6 to 2.3.7

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.
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
+ }
admin/feed-them-settings-page-before-big-change.php ADDED
@@ -0,0 +1,1452 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace feedthemsocial;
3
+ /**
4
+ * Class FTS Settings Page
5
+ *
6
+ * @package feedthemsocial
7
+ * @since 1.9.6
8
+ */
9
+ class FTS_settings_page
10
+ {
11
+ /**
12
+ * Construct
13
+ *
14
+ * FTS_settings_page constructor.
15
+ *
16
+ * @since 1.9.6
17
+ */
18
+ function __construct()
19
+ {
20
+ }
21
+
22
+ /**
23
+ * Feed Them Settings Page
24
+ *
25
+ * Main Settings Page.
26
+ *
27
+ * @since 1.9.6
28
+ */
29
+ function feed_them_settings_page()
30
+ {
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><?php _e('Feed Them Social', 'feed-them-social'); ?></h1>
41
+ <div class="use-of-plugin"><?php _e('Please select what type of feed you would like to see. Then you can copy and paste the shortcode to a page, post or widget.', 'feed-them-social'); ?></div>
42
+ <div class="feed-them-icon-wrap">
43
+ <a href="javascript:;" class="youtube-icon"></a>
44
+ <a href="javascript:;" class="vine-icon"></a>
45
+ <a href="javascript:;" class="twitter-icon"></a>
46
+ <a href="javascript:;" class="facebook-icon"></a>
47
+ <a href="javascript:;" class="instagram-icon"></a>
48
+ <a href="javascript:;" class="pinterest-icon"></a>
49
+ <?php
50
+ //show the js for the discount option under social icons on the settings page
51
+ if (!is_plugin_active('feed-them-premium/feed-them-premium.php')) { ?>
52
+ <div id="discount-for-review"><?php _e('15% off Premium Version', 'feed-them-social'); ?></div>
53
+ <div class="discount-review-text">
54
+ <a href="http://www.slickremix.com/downloads/feed-them-social-premium-extension/" target="_blank"><?php _e('Share here', 'feed-them-social'); ?></a> <?php _e('and receive 15% OFF your total order.', 'feed-them-social'); ?>
55
+ </div>
56
+ <?php } ?>
57
+ </div>
58
+ <form class="feed-them-social-admin-form">
59
+ <select id="shortcode-form-selector">
60
+ <option value=""><?php _e('Select a social network to get started', 'feed-them-social'); ?> </option>
61
+ <option value="fb-page-shortcode-form"><?php _e('Facebook Feed', 'feed-them-social'); ?></option>
62
+ <option value="twitter-shortcode-form"><?php _e('Twitter Feed', 'feed-them-social'); ?></option>
63
+ <option value="vine-shortcode-form"><?php _e('Vine Feed', 'feed-them-social'); ?></option>
64
+ <option value="instagram-shortcode-form"><?php _e('Instagram Feed', 'feed-them-social'); ?></option>
65
+ <option value="youtube-shortcode-form"><?php _e('YouTube Feed'); ?></option>
66
+ <option value="pinterest-shortcode-form"><?php _e('Pinterest Feed', 'feed-them-social'); ?></option>
67
+ </select>
68
+ </form><!--/feed-them-social-admin-form-->
69
+ <?php
70
+ //Add Facebook Event Form
71
+ echo $fts_functions->fts_facebook_group_form(false);
72
+ //Add Facebook Page Form
73
+ echo $fts_functions->fts_facebook_page_form(false);
74
+ //Add Facebook List of Events Form
75
+ echo $fts_functions->fts_facebook_list_of_events_form(false);
76
+ //Add Facebook Single Event Form
77
+ echo $fts_functions->fts_facebook_event_form(false);
78
+ //Add Twitter Form
79
+ echo $fts_functions->fts_twitter_form();
80
+ //Add Vine Form
81
+ echo $fts_functions->fts_vine_form(false);
82
+ //Add Instagram Form
83
+ echo $fts_functions->fts_instagram_form(false);
84
+ //Add Youtube Form
85
+ echo $fts_functions->fts_youtube_form(false);
86
+ //Add Pinterest Form
87
+ echo $fts_functions->fts_pinterest_form(false);
88
+ ?>
89
+ <div class="fts-clear"></div>
90
+ <div class="feed-them-clear-cache">
91
+ <h2><?php _e('Clear All Cache Options', 'feed-them-social'); ?></h2>
92
+ <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>
93
+ <?php if (isset($_GET['cache']) && $_GET['cache'] == 'clearcache') {
94
+ echo '<div class="feed-them-clear-cache-text">' . $fts_functions->feed_them_clear_cache() . '</div>';
95
+ }
96
+ isset($ftsDevModeCache) ? $ftsDevModeCache : "";
97
+ isset($ftsAdminBarMenu) ? $ftsAdminBarMenu : "";
98
+ $ftsDevModeCache = get_option('fts_clear_cache_developer_mode');
99
+ $ftsAdminBarMenu = get_option('fts_admin_bar_menu');
100
+ ?>
101
+
102
+ <form method="post" action="?page=feed-them-settings-page&cache=clearcache">
103
+ <input class="feed-them-social-admin-submit-btn" type="submit" value="<?php _e('Clear All FTS Feeds Cache', 'feed-them-social'); ?>"/>
104
+ </form>
105
+ </div><!--/feed-them-clear-cache-->
106
+ <!-- custom option for padding -->
107
+ <form method="post" class="fts-color-settings-admin-form" action="options.php">
108
+ <p>
109
+ <input name="fts_clear_cache_developer_mode" class="fts-color-settings-admin-input fts_clear_cache_developer_mode" type="checkbox" id="fts-color-options-settings-custom-css" value="1" <?php echo checked('1', get_option('fts_clear_cache_developer_mode')); ?>/>
110
+ <?php
111
+ if (get_option('fts_clear_cache_developer_mode') == '1') { ?>
112
+ <?php _e('Cache will clear on every page load now', 'feed-them-social'); ?><?php
113
+ } else { ?>
114
+ <?php _e('Developer Mode: Clear cache on every page load', 'feed-them-social'); ?><?php
115
+ }
116
+ ?>
117
+ </p>
118
+ <select id="fts_admin_bar_menu" name="fts_admin_bar_menu">
119
+ <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>
120
+ <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>
121
+ </select>
122
+ <div class="feed-them-custom-css">
123
+ <?php // get our registered settings from the fts functions
124
+ settings_fields('feed-them-social-settings'); ?>
125
+ <?php
126
+ isset($ftsDateTimeFormat) ? $ftsDateTimeFormat : "";
127
+ isset($ftsTimezone) ? $ftsTimezone : "";
128
+ isset($ftsCustomDate) ? $ftsCustomDate : "";
129
+ isset($ftsCustomTime) ? $ftsCustomTime : "";
130
+ $ftsDateTimeFormat = get_option('fts-date-and-time-format');
131
+ $ftsTimezone = get_option('fts-timezone');
132
+ $ftsCustomDate = get_option('date_format');
133
+ $ftsCustomTime = get_option('time_format');
134
+ $ftsCustomTimezone = get_option('fts-timezone') ? get_option('fts-timezone') : "America/Los_Angeles";
135
+ date_default_timezone_set($ftsCustomTimezone);
136
+
137
+ ?>
138
+ <div style="float:left; max-width:400px; margin-right:30px;">
139
+ <h2><?php _e('FaceBook & Twitter Date Format', 'feed-them-social'); ?></h2>
140
+
141
+ <fieldset>
142
+ <select id="fts-date-and-time-format" name="fts-date-and-time-format">
143
+ <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>
144
+ <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>
145
+ <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>
146
+ <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>
147
+ <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>
148
+ <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>
149
+ <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>
150
+ <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>
151
+ <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>
152
+ <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>
153
+ <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>
154
+ <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>
155
+ <option value="one-day-ago" <?php if ($ftsDateTimeFormat == 'one-day-ago') echo 'selected="selected"'; ?>><?php _e('1 day ago', 'feed-them-social'); ?></option>
156
+ <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>
157
+ </select>
158
+ </fieldset>
159
+
160
+ <?php
161
+ //Date translate
162
+ $fts_language_second = get_option('fts_language_second', 'second');
163
+ $fts_language_seconds = get_option('fts_language_seconds', 'seconds');
164
+ $fts_language_minute = get_option('fts_language_minute', 'minute');
165
+ $fts_language_minutes = get_option('fts_language_minutes', 'minutes');
166
+ $fts_language_hour = get_option('fts_language_hour', 'hour');
167
+ $fts_language_hours = get_option('fts_language_hours', 'hours');
168
+ $fts_language_day = get_option('fts_language_day', 'day');
169
+ $fts_language_days = get_option('fts_language_days', 'days');
170
+ $fts_language_week = get_option('fts_language_week', 'week');
171
+ $fts_language_weeks = get_option('fts_language_weeks', 'weeks');
172
+ $fts_language_month = get_option('fts_language_month', 'month');
173
+ $fts_language_months = get_option('fts_language_months', 'months');
174
+ $fts_language_year = get_option('fts_language_year', 'year');
175
+ $fts_language_years = get_option('fts_language_years', 'years');
176
+ $fts_language_ago = get_option('fts_language_ago', 'ago');
177
+ ?>
178
+
179
+ <div class="custom_time_ago_wrap" style="display:none;">
180
+ <h2><?php _e('Translate words for 1 day ago option.', 'feed-them-social'); ?></h2>
181
+ <label for="fts_language_second"><?php _e("second"); ?></label>
182
+ <input name="fts_language_second" type="text" value="<?php echo stripslashes(esc_attr($fts_language_second)); ?>" size="25"/>
183
+ <br/>
184
+ <label for="fts_language_seconds"><?php _e("seconds"); ?></label>
185
+ <input name="fts_language_seconds" type="text" value="<?php echo stripslashes(esc_attr($fts_language_seconds)); ?>" size="25"/>
186
+ <br/>
187
+ <label for="fts_language_minute"><?php _e("minute"); ?></label>
188
+ <input name="fts_language_minute" type="text" value="<?php echo stripslashes(esc_attr($fts_language_minute)); ?>" size="25"/>
189
+ <br/>
190
+ <label for="fts_language_minutes"><?php _e("minutes"); ?></label>
191
+ <input name="fts_language_minutes" type="text" value="<?php echo stripslashes(esc_attr($fts_language_minutes)); ?>" size="25"/>
192
+ <br/>
193
+ <label for="fts_language_hour"><?php _e("hour"); ?></label>
194
+ <input name="fts_language_hour" type="text" value="<?php echo stripslashes(esc_attr($fts_language_hour)); ?>" size="25"/>
195
+ <br/>
196
+ <label for="fts_language_hours"><?php _e("hours"); ?></label>
197
+ <input name="fts_language_hours" type="text" value="<?php echo stripslashes(esc_attr($fts_language_hours)); ?>" size="25"/>
198
+ <br/>
199
+ <label for="fts_language_day"><?php _e("day"); ?></label>
200
+ <input name="fts_language_day" type="text" value="<?php echo stripslashes(esc_attr($fts_language_day)); ?>" size="25"/>
201
+ <br/>
202
+ <label for="fts_language_days"><?php _e("days"); ?></label>
203
+ <input name="fts_language_days" type="text" value="<?php echo stripslashes(esc_attr($fts_language_days)); ?>" size="25"/>
204
+ <br/>
205
+ <label for="fts_language_week"><?php _e("week"); ?></label>
206
+ <input name="fts_language_week" type="text" value="<?php echo stripslashes(esc_attr($fts_language_week)); ?>" size="25"/>
207
+ <br/>
208
+ <label for="fts_language_weeks"><?php _e("weeks"); ?></label>
209
+ <input name="fts_language_weeks" type="text" value="<?php echo stripslashes(esc_attr($fts_language_weeks)); ?>" size="25"/>
210
+ <br/>
211
+ <label for="fts_language_month"><?php _e("month"); ?></label>
212
+ <input name="fts_language_month" type="text" value="<?php echo stripslashes(esc_attr($fts_language_month)); ?>" size="25"/>
213
+ <br/>
214
+ <label for="fts_language_months"><?php _e("months"); ?></label>
215
+ <input name="fts_language_months" type="text" value="<?php echo stripslashes(esc_attr($fts_language_months)); ?>" size="25"/>
216
+ <br/>
217
+ <label for="fts_language_year"><?php _e("year"); ?></label>
218
+ <input name="fts_language_year" type="text" value="<?php echo stripslashes(esc_attr($fts_language_year)); ?>" size="25"/>
219
+ <br/>
220
+ <label for="fts_language_years"><?php _e("years"); ?></label>
221
+ <input name="fts_language_years" type="text" value="<?php echo stripslashes(esc_attr($fts_language_years)); ?>" size="25"/>
222
+ <br/>
223
+ <label for="fts_language_ago"><?php _e("ago"); ?></label>
224
+ <input name="fts_language_ago" type="text" value="<?php echo stripslashes(esc_attr($fts_language_ago)); ?>" size="25"/>
225
+
226
+ </div>
227
+ <script>
228
+ // change the feed type 'how to' message when a feed type is selected
229
+
230
+ <?php if ($ftsDateTimeFormat == 'one-day-ago'){ ?>
231
+ jQuery('.custom_time_ago_wrap').show();
232
+ <?php } ?>
233
+ jQuery('#fts-date-and-time-format').change(function () {
234
+
235
+ var ftsTimeAgo = jQuery("select#fts-date-and-time-format").val();
236
+ if (ftsTimeAgo == 'one-day-ago') {
237
+ jQuery('.custom_time_ago_wrap').show();
238
+ }
239
+ else {
240
+ jQuery('.custom_time_ago_wrap').hide();
241
+ }
242
+
243
+ });
244
+
245
+ </script>
246
+ <h2 style="border-top:0px; margin-bottom:4px !important;"><?php _e('Custom Date and Time', 'feed-them-social'); ?></h2>
247
+ <div><?php if ($ftsCustomDate !== '' || $ftsCustomTime !== '') {
248
+ echo date(get_option('fts-custom-date') . ' ' . get_option('fts-custom-time'));
249
+ } ?></div>
250
+ <p style="margin:12px 0 !important;">
251
+ <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'); ?>"/>
252
+ <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'); ?>"/>
253
+ </p>
254
+ <div><?php _e('This will override the date and time format above.', 'feed-them-social'); ?>
255
+ <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>
256
+ </div>
257
+ </div>
258
+ <div style="float:left; max-width:330px; margin-right: 30px;"><h2><?php _e('TimeZone', 'feed-them-social'); ?></h2>
259
+ <fieldset>
260
+ <select id="fts-timezone" name="fts-timezone">
261
+ <option value="Kwajalein" <?php if ($ftsTimezone == "Kwajalein") echo 'selected="selected"' ?> >
262
+ <?php _e('UTC-12:00'); ?>
263
+ </option>
264
+ <option value="Pacific/Midway" <?php if ($ftsTimezone == "Pacific/Midway") echo 'selected="selected"' ?> >
265
+ <?php _e('UTC-11:00'); ?>
266
+ </option>
267
+ <option value="Pacific/Honolulu" <?php if ($ftsTimezone == "Pacific/Honolulu") echo 'selected="selected"' ?> >
268
+ <?php _e('UTC-10:00'); ?>
269
+ </option>
270
+ <option value="America/Anchorage" <?php if ($ftsTimezone == "America/Anchorage") echo 'selected="selected"' ?> >
271
+ <?php _e('UTC-09:00'); ?>
272
+ </option>
273
+ <option value="America/Los_Angeles" <?php if ($ftsTimezone == "America/Los_Angeles") echo 'selected="selected"' ?> >
274
+ <?php _e('UTC-08:00'); ?>
275
+ </option>
276
+ <option value="America/Denver" <?php if ($ftsTimezone == "America/Denver") echo 'selected="selected"' ?> >
277
+ <?php _e('UTC-07:00'); ?>
278
+ </option>
279
+ <option value="America/Chicago" <?php if ($ftsTimezone == "America/Chicago") echo 'selected="selected"' ?> >
280
+ <?php _e('UTC-06:00'); ?>
281
+ </option>
282
+ <option value="America/New_York" <?php if ($ftsTimezone == "America/New_York") echo 'selected="selected"' ?> >
283
+ <?php _e('UTC-05:00'); ?>
284
+ </option>
285
+ <option value="America/Caracas" <?php if ($ftsTimezone == "America/Caracas") echo 'selected="selected"' ?> >
286
+ <?php _e('UTC-04:30'); ?>
287
+ </option>
288
+ <option value="America/Halifax" <?php if ($ftsTimezone == "America/Halifax") echo 'selected="selected"' ?> >
289
+ <?php _e('UTC-04:00'); ?>
290
+ </option>
291
+ <option value="America/St_Johns" <?php if ($ftsTimezone == "America/St_Johns") echo 'selected="selected"' ?> >
292
+ <?php _e('UTC-03:30'); ?>
293
+ </option>
294
+ <option value="America/Sao_Paulo" <?php if ($ftsTimezone == "America/Sao_Paulo") echo 'selected="selected"' ?> >
295
+ <?php _e('UTC-03:00'); ?>
296
+ </option>
297
+ <option value="America/Noronha" <?php if ($ftsTimezone == "America/Noronha") echo 'selected="selected"' ?> >
298
+ <?php _e('UTC-02:00'); ?>
299
+ </option>
300
+ <option value="Atlantic/Cape_Verde" <?php if ($ftsTimezone == "Atlantic/Cape_Verde") echo 'selected="selected"' ?> >
301
+ <?php _e('UTC-01:00'); ?>
302
+ </option>
303
+ <option value="Europe/Belfast" <?php if ($ftsTimezone == "Europe/Belfast") echo 'selected="selected"' ?> >
304
+ <?php _e('UTC'); ?>
305
+ <option value="Europe/Amsterdam" <?php if ($ftsTimezone == "Europe/Amsterdam") echo 'selected="selected"' ?> >
306
+ <?php _e('UTC+01:00'); ?>
307
+ </option>
308
+ <option value="Asia/Beirut" <?php if ($ftsTimezone == "Asia/Beirut") echo 'selected="selected"' ?> >
309
+ <?php _e('UTC+02:00'); ?>
310
+ </option>
311
+ <option value="Europe/Moscow" <?php if ($ftsTimezone == "Europe/Moscow") echo 'selected="selected"' ?> >
312
+ <?php _e('UTC+03:00'); ?>
313
+ </option>
314
+ <option value="Asia/Tehran" <?php if ($ftsTimezone == "Asia/Tehran") echo 'selected="selected"' ?> >
315
+ <?php _e('UTC+03:30'); ?>
316
+ </option>
317
+ <option value="Asia/Yerevan" <?php if ($ftsTimezone == "Asia/Yerevan") echo 'selected="selected"' ?> >
318
+ <?php _e('UTC+04:00'); ?>
319
+ </option>
320
+ <option value="Asia/Kabul" <?php if ($ftsTimezone == "Asia/Kabul") echo 'selected="selected"' ?> >
321
+ <?php _e('UTC+04:30'); ?>
322
+ </option>
323
+ <option value="Asia/Tashkent" <?php if ($ftsTimezone == "Asia/Tashkent") echo 'selected="selected"' ?> >
324
+ <?php _e('UTC+05:00'); ?>
325
+ </option>
326
+ <option value="Asia/Kolkata" <?php if ($ftsTimezone == "Asia/Kolkata") echo 'selected="selected"' ?> >
327
+ <?php _e('UTC+05:30'); ?>
328
+ </option>
329
+ <option value="Asia/Katmandu" <?php if ($ftsTimezone == "Asia/Katmandu") echo 'selected="selected"' ?> >
330
+ <?php _e('UTC+05:45'); ?>
331
+ </option>
332
+ <option value="Asia/Dhaka" <?php if ($ftsTimezone == "Asia/Dhaka") echo 'selected="selected"' ?> >
333
+ <?php _e('UTC+06:00'); ?>
334
+ </option>
335
+ <option value="Asia/Novosibirsk" <?php if ($ftsTimezone == "Asia/Novosibirsk") echo 'selected="selected"' ?> >
336
+ <?php _e('UTC+06:00'); ?>
337
+ </option>
338
+ <option value="Asia/Rangoon" <?php if ($ftsTimezone == "Asia/Rangoon") echo 'selected="selected"' ?> >
339
+ <?php _e('UTC+06:30'); ?>
340
+ </option>
341
+ <option value="Asia/Bangkok" <?php if ($ftsTimezone == "Asia/Bangkok") echo 'selected="selected"' ?> >
342
+ <?php _e('UTC+07:00'); ?>
343
+ </option>
344
+ <option value="Australia/Perth" <?php if ($ftsTimezone == "Australia/Perth") echo 'selected="selected"' ?> >
345
+ <?php _e('UTC+08:00'); ?>
346
+ </option>
347
+ <option value="Australia/Eucla" <?php if ($ftsTimezone == "Australia/Eucla") echo 'selected="selected"' ?> >
348
+ <?php _e('UTC+08:45'); ?>
349
+ </option>
350
+ <option value="Asia/Tokyo" <?php if ($ftsTimezone == "Asia/Tokyo") echo 'selected="selected"' ?> >
351
+ <?php _e('UTC+09:00'); ?>
352
+ </option>
353
+ <option value="Australia/Adelaide" <?php if ($ftsTimezone == "Australia/Adelaide") echo 'selected="selected"' ?> >
354
+ <?php _e('UTC+09:30'); ?>
355
+ </option>
356
+ <option value="Australia/Hobart" <?php if ($ftsTimezone == "Australia/Hobart") echo 'selected="selected"' ?> >
357
+ <?php _e('UTC+10:00'); ?>
358
+ </option>
359
+ <option value="Australia/Lord_Howe" <?php if ($ftsTimezone == "Australia/Lord_Howe") echo 'selected="selected"' ?> >
360
+ <?php _e('UTC+10:30'); ?>
361
+ </option>
362
+ <option value="Asia/Magadan" <?php if ($ftsTimezone == "Asia/Magadan") echo 'selected="selected"' ?> >
363
+ <?php _e('UTC+11:00'); ?>
364
+ </option>
365
+ <option value="Pacific/Norfolk" <?php if ($ftsTimezone == "Pacific/Norfolk") echo 'selected="selected"' ?> >
366
+ <?php _e('UTC+11:30'); ?>
367
+ </option>
368
+ <option value="Asia/Anadyr" <?php if ($ftsTimezone == "Asia/Anadyr") echo 'selected="selected"' ?> >
369
+ <?php _e('UTC+12:00'); ?>
370
+ </option>
371
+ <option value="Pacific/Chatham" <?php if ($ftsTimezone == "Pacific/Chatham") echo 'selected="selected"' ?> >
372
+ <?php _e('UTC+12:45'); ?>
373
+ </option>
374
+ <option value="Pacific/Tongatapu" <?php if ($ftsTimezone == "Pacific/Tongatapu") echo 'selected="selected"' ?> >
375
+ <?php _e('UTC+13:00'); ?>
376
+ </option>
377
+ <option value="Pacific/Kiritimati" <?php if ($ftsTimezone == "Pacific/Kiritimati") echo 'selected="selected"' ?> >
378
+ <?php _e('UTC+14:00'); ?>
379
+ </option>
380
+ </select>
381
+ </fieldset>
382
+ </div>
383
+ <div class="fts-clear"></div>
384
+
385
+ <br/>
386
+ <h2><?php _e('Custom CSS Option', 'feed-them-social'); ?></h2>
387
+ <p>
388
+ <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')); ?>/>
389
+ <?php
390
+ if (get_option('fts-color-options-settings-custom-css') == '1') { ?>
391
+ <strong><?php _e('Checked:', 'feed-them-social'); ?></strong> <?php _e('Custom CSS option is being used now.', 'feed-them-social'); ?><?php
392
+ } else { ?>
393
+ <strong><?php _e('Not Checked:', 'feed-them-social'); ?></strong> <?php _e('You are using the default CSS.', 'feed-them-social'); ?><?php
394
+ }
395
+ ?>
396
+ </p>
397
+ <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'); ?>
398
+ </label>
399
+ <div class="fts-clear"></div>
400
+ <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>
401
+ <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>
402
+ </div><!--/feed-them-custom-css-->
403
+
404
+
405
+ <div class="feed-them-custom-logo-css">
406
+ <h2><?php _e('Disable Magnific Popup CSS', 'feed-them-social'); ?></h2>
407
+ <p>
408
+ <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'); ?>
409
+ </p>
410
+ <br/>
411
+
412
+
413
+ <h2><?php _e('Fix Twitter Time', 'feed-them-social'); ?></h2>
414
+ <p>
415
+ <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'); ?>
416
+ </p>
417
+ <br/>
418
+
419
+ <?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')) { ?>
420
+ <h2><?php _e('Fix Load More Error', 'feed-them-social'); ?></h2>
421
+ <p>
422
+ <input name="fts_fix_loadmore" class="fts-powered-by-settings-admin-input" type="checkbox" id="fts_fix_loadmore" value="1" <?php echo checked('1', get_option('fts_fix_loadmore')); ?>/> <?php _e('Check this if you are using the loadmore button for Facebook or Instagram and are seeing a bunch of code under it.', 'feed-them-social'); ?>
423
+ </p>
424
+ <br/>
425
+ <?php } ?>
426
+
427
+ <h2><?php _e('Fix Internal Server Error', 'feed-them-social'); ?></h2>
428
+ <p>
429
+ <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'); ?>
430
+ </p>
431
+ <br/>
432
+
433
+ <h2><?php _e('Powered by Text', 'feed-them-social'); ?></h2>
434
+ <p>
435
+ <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')); ?>/>
436
+ <?php
437
+ if (get_option('fts-powered-text-options-settings') == '1') { ?>
438
+ <strong><?php _e('Checked:', 'feed-them-social'); ?></strong> <?php _e('You are not showing the Powered by Logo.', 'feed-them-social'); ?><?php
439
+ } else { ?>
440
+ <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
441
+ }
442
+ ?>
443
+ </p>
444
+ <br/>
445
+ <input type="submit" class="feed-them-social-admin-submit-btn" value="<?php _e('Save All Changes', 'feed-them-social') ?>"/>
446
+ <div class="fts-clear"></div>
447
+ </div><!--/feed-them-custom-logo-css-->
448
+ </form>
449
+ </div><!--/font-content-->
450
+ </div><!--/feed-them-social-admin-wrap-->
451
+
452
+ <h1 class="plugin-author-note"><?php _e('Plugin Authors Note', 'feed-them-social'); ?></h1>
453
+ <div class="fts-plugin-reviews">
454
+ <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'); ?>
455
+ <a href="https://wordpress.org/support/view/plugin-reviews/feed-them-social" target="_blank"><?php _e('Leave us a Review', 'feed-them-social'); ?>
456
+ ★★★★★</a>
457
+ </div>
458
+ <div class="fts-plugin-reviews-support"><?php _e('If you\'re having troubles getting setup please contact us. We will respond within 24hrs, but usually within 1-6hrs.', 'feed-them-social'); ?>
459
+ <a href="http://www.slickremix.com/support-forum/forum/feed-them-social-2" target="_blank"><?php _e('Support Forum', 'feed-them-social'); ?></a>
460
+ <div class="fts-text-align-center">
461
+ <a class="feed-them-social-admin-slick-logo" href="http://www.slickremix.com" target="_blank"></a>
462
+ </div>
463
+ </div>
464
+ </div>
465
+
466
+ <script>
467
+ jQuery(function () {
468
+
469
+
470
+ jQuery(".feed-them-social-admin-submit-btn").click(function () {
471
+
472
+ // Facebook
473
+ var isPXpresent = jQuery('#facebook_page_height').val();
474
+ // This is in place to auto add the px if a specific input is missing it.
475
+ if (jQuery('#facebook_page_height').val().indexOf('px') <= 0 && isPXpresent !== "") {
476
+ jQuery('#facebook_page_height').val(jQuery('#facebook_page_height').val() + 'px');
477
+ }
478
+ <?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')) { ?>
479
+ var isPXpresent2 = jQuery('#facebook_grid_colmn_width').val();
480
+ if (jQuery('#facebook_grid_colmn_width').val().indexOf('px') <= 0 && isPXpresent2 !== "") {
481
+ jQuery('#facebook_grid_colmn_width').val(jQuery('#facebook_grid_colmn_width').val() + 'px');
482
+ }
483
+ var isPXpresent3 = jQuery('#facebook_grid_space_between_posts').val();
484
+ if (jQuery('#facebook_grid_space_between_posts').val().indexOf('px') <= 0 && isPXpresent3 !== "") {
485
+ jQuery('#facebook_grid_space_between_posts').val(jQuery('#facebook_grid_space_between_posts').val() + 'px');
486
+ }
487
+ var isPXpresent4 = jQuery('#loadmore_button_width').val();
488
+ if (jQuery('#loadmore_button_width').val().indexOf('px') <= 0 && isPXpresent4 !== "") {
489
+ jQuery('#loadmore_button_width').val(jQuery('#loadmore_button_width').val() + 'px');
490
+ }
491
+ var isPXpresent5 = jQuery('#loadmore_button_margin').val();
492
+ if (jQuery('#loadmore_button_margin').val().indexOf('px') <= 0 && isPXpresent5 !== "") {
493
+ jQuery('#loadmore_button_margin').val(jQuery('#loadmore_button_margin').val() + 'px');
494
+ }
495
+ <?php } ?>
496
+ // Twitter
497
+ var isPXpresent6 = jQuery('#twitter_height').val();
498
+ if (jQuery('#twitter_height').val().indexOf('px') <= 0 && isPXpresent6 !== "") {
499
+ jQuery('#twitter_height').val(jQuery('#twitter_height').val() + 'px');
500
+ }
501
+ // Vine
502
+ var isPXpresent7 = jQuery('#vine_maxwidth').val();
503
+ if (jQuery('#vine_maxwidth').val().indexOf('px') <= 0 && isPXpresent7 !== "") {
504
+ jQuery('#vine_maxwidth').val(jQuery('#vine_maxwidth').val() + 'px');
505
+ }
506
+ var isPXpresent8 = jQuery('#space_between_photos').val();
507
+ if (jQuery('#space_between_photos').val().indexOf('px') <= 0 && isPXpresent8 !== "") {
508
+ jQuery('#space_between_photos').val(jQuery('#space_between_photos').val() + 'px');
509
+ }
510
+ var isPXpresent9 = jQuery('#round_thumb_corner_size').val();
511
+ if (jQuery('#round_thumb_corner_size').val().indexOf('px') <= 0 && isPXpresent9 !== "") {
512
+ jQuery('#round_thumb_corner_size').val(jQuery('#round_thumb_corner_size').val() + 'px');
513
+ }
514
+ <?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')) { ?>
515
+ var isPXpresent10 = jQuery('#vine_logo_size').val();
516
+ if (jQuery('#vine_logo_size').val().indexOf('px') <= 0 && isPXpresent10 !== "") {
517
+ jQuery('#vine_logo_size').val(jQuery('#vine_logo_size').val() + 'px');
518
+ }
519
+ <?php } ?>
520
+ // Instagram
521
+ var isPXpresent11 = jQuery('#instagram_page_height').val();
522
+ if (jQuery('#instagram_page_height').val().indexOf('px') <= 0 && isPXpresent11 !== "") {
523
+ jQuery('#instagram_page_height').val(jQuery('#instagram_page_height').val() + 'px');
524
+ }
525
+
526
+ });
527
+
528
+
529
+ // Master feed selector
530
+ jQuery('#shortcode-form-selector').change(function () {
531
+ jQuery('.shortcode-generator-form').hide();
532
+ jQuery('.' + jQuery(this).val()).fadeIn('fast');
533
+
534
+ });
535
+
536
+ jQuery('#fb_hide_like_box_button').change(function () {
537
+ jQuery('.fb_align_likebox').toggle();
538
+ });
539
+
540
+ jQuery('#facebook_show_video_button').change(function () {
541
+ jQuery('.fb-video-play-btn-options-content').toggle();
542
+ });
543
+
544
+
545
+ // change the feed type 'how to' message when a feed type is selected
546
+ jQuery('#facebook-messages-selector').change(function () {
547
+ jQuery('.facebook-message-generator').hide();
548
+ jQuery('.' + jQuery(this).val()).fadeIn('fast');
549
+ // if the facebook type select is changed we hide the shortcode code so not to confuse people
550
+ jQuery('.final-shortcode-textarea').hide();
551
+ // only show the Super Gallery Options if the facebook ablum or album covers feed type is selected
552
+ var facebooktype = jQuery("select#facebook-messages-selector").val();
553
+
554
+ // if (facebooktype == 'albums' || facebooktype == 'album_photos' || facebooktype == 'page' || facebooktype == 'group' || facebooktype == 'event' || facebooktype == 'events') {
555
+ //
556
+ // }
557
+
558
+ <?php if (is_plugin_active('feed-them-premium/feed-them-premium.php')) { ?>
559
+
560
+ // 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.
561
+ jQuery('.fb-options-wrap').show();
562
+ jQuery('body .fb_album_photos_id').hide();
563
+ if (facebooktype == 'album_videos') {
564
+ jQuery('.fts-premium-options-message, .fts-photos-popup, #facebook_super_gallery_container, #facebook_super_gallery_animate').hide();
565
+ jQuery('.video, .fb-video-play-btn-options-wrap, #facebook_video_align_images_wrapper').show();
566
+ // jQuery(".feed-them-social-admin-input-label:contains('Album')").html("<?php // _e('Video Album ID (required)', 'feed-them-social') ?>");
567
+ jQuery(".feed-them-social-admin-input-label:contains('# of Posts')").html("<?php _e('# of Videos', 'feed-them-social') ?>");
568
+ }
569
+ else {
570
+ jQuery('.video, .fb-video-play-btn-options-wrap, #facebook_video_align_images_wrapper').hide();
571
+ jQuery('.fts-photos-popup, #facebook_super_gallery_container, #facebook_super_gallery_animate').show();
572
+ // jQuery(".feed-them-social-admin-input-label:contains('Video Album ID (required)')").html("<?php // _e('Album ID', 'feed-them-social') ?><br/><small><?php // _e('Leave Blank to show all photos.', 'feed-them-social') ?></small>");
573
+ jQuery(".feed-them-social-admin-input-label:contains('# of Videos')").html("<?php _e('# of Posts', 'feed-them-social') ?>");
574
+ }
575
+ <?php }
576
+ else { ?>
577
+ if (facebooktype == 'album_videos') {
578
+ // we are hiding all fields in the free verison and adding am upgrade message, much easier this way as the options add up.
579
+ jQuery('.fb-options-wrap').hide();
580
+ jQuery('.fts-premium-options-message').show();
581
+
582
+ }
583
+ else {
584
+ jQuery('.fb-options-wrap').show();
585
+ jQuery('.fts-premium-options-message, .video').hide();
586
+ }
587
+ <?php } ?>
588
+
589
+ if (facebooktype == 'page') {
590
+ jQuery('.inst-text-facebook-page').show();
591
+ }
592
+ else {
593
+ jQuery('.inst-text-facebook-page').hide();
594
+ }
595
+
596
+ if (facebooktype == 'events') {
597
+ jQuery('.inst-text-facebook-event-list').show();
598
+ }
599
+ else {
600
+ jQuery('.inst-text-facebook-event-list').hide();
601
+ }
602
+
603
+
604
+ <?php if (is_plugin_active('feed-them-social-facebook-reviews/feed-them-social-facebook-reviews.php')) { ?>
605
+
606
+ if (facebooktype == 'reviews') {
607
+ jQuery('.fb-reviews, .inst-text-facebook-page, .reviews-options').show();
608
+ jQuery('.fb-page-title-option-hide, .fb-page-description-option-hide, .need-for-premium-fields-wrap').hide();
609
+ } else {
610
+ jQuery('.fb-reviews, .reviews-options').hide();
611
+ jQuery('.fb-page-title-option-hide, .fb-page-description-option-hide, .need-for-premium-fields-wrap').show();
612
+ } <?php } else { ?>
613
+ if (facebooktype == 'reviews') {
614
+ // we are hiding all fields in the free verison and adding am upgrade message, much easier this way as the options add up.
615
+ jQuery('.reviews-copy-text, .fb-options-wrap').hide();
616
+ jQuery('.fts-premium-options-message2').show();
617
+ } else {
618
+ jQuery('.fts-premium-options-message2').hide();
619
+ }
620
+ <?php } ?>
621
+
622
+
623
+ if (facebooktype == 'albums' || facebooktype == 'album_photos' || facebooktype == 'album_videos') {
624
+ jQuery('.fts-super-facebook-options-wrap').show();
625
+ jQuery('.fixed_height_option').hide();
626
+ jQuery('.fb-posts-in-grid-option-wrap').hide();
627
+ jQuery('.fixed_height_option').hide();
628
+ jQuery(".feed-them-social-admin-input-label:contains('<?php _e('Display Posts in Grid', 'feed-them-social'); ?>')").parent('div').hide();
629
+ }
630
+ else {
631
+ jQuery('.fts-super-facebook-options-wrap').hide();
632
+ jQuery('.fixed_height_option').show();
633
+ jQuery('.fb-posts-in-grid-option-wrap').show();
634
+ jQuery(".feed-them-social-admin-input-label:contains('<?php _e('Display Posts in Grid', 'feed-them-social'); ?>')").parent('div').show();
635
+
636
+
637
+ }
638
+ // only show the post type visible if the facebook page feed type is selected
639
+ jQuery('.facebook-post-type-visible').hide();
640
+ if (facebooktype == 'page') {
641
+ jQuery('.facebook-post-type-visible').show();
642
+ }
643
+ var fb_feed_type_option = jQuery("select#facebook-messages-selector").val();
644
+ if (fb_feed_type_option == 'album_photos') {
645
+ jQuery('.fb_album_photos_id').show();
646
+ }
647
+ else {
648
+ jQuery('.fb_album_photos_id').hide();
649
+ }
650
+ });
651
+ // Instagram Super Gallery option
652
+ jQuery('#instagram-custom-gallery').bind('change', function (e) {
653
+ if (jQuery('#instagram-custom-gallery').val() == 'yes') {
654
+ jQuery('.fts-super-instagram-options-wrap').show();
655
+ }
656
+ else {
657
+ jQuery('.fts-super-instagram-options-wrap').hide();
658
+ }
659
+ });
660
+ jQuery('#instagram-messages-selector').bind('change', function (e) {
661
+ if (jQuery('#instagram-messages-selector').val() == 'hashtag') {
662
+ jQuery(".instagram-id-option-wrap").hide();
663
+ jQuery(".instagram-hashtag-option-text").show();
664
+ jQuery(".instagram-user-option-text").hide();
665
+ }
666
+ else {
667
+ jQuery(".instagram-id-option-wrap").show();
668
+ jQuery(".instagram-hashtag-option-text").hide();
669
+ jQuery(".instagram-user-option-text").show();
670
+ }
671
+ });
672
+
673
+ jQuery('#twitter-messages-selector').bind('change', function (e) {
674
+ if (jQuery('#twitter-messages-selector').val() == 'hashtag') {
675
+ jQuery(".hashtag-option-small-text").show();
676
+ jQuery(".twitter-hashtag-etc-wrap").show();
677
+ jQuery(".hashtag-option-not-required, .must-copy-twitter-name").hide();
678
+ }
679
+ else {
680
+ jQuery(".hashtag-option-not-required, .must-copy-twitter-name").show();
681
+ jQuery(".twitter-hashtag-etc-wrap").hide();
682
+ jQuery(".hashtag-option-small-text").hide();
683
+ }
684
+ });
685
+
686
+
687
+ // facebook show grid options
688
+ jQuery('#fb-grid-option').bind('change', function (e) {
689
+ if (jQuery('#fb-grid-option').val() == 'yes') {
690
+ jQuery('.fts-facebook-grid-options-wrap').show();
691
+ jQuery(".feed-them-social-admin-input-label:contains('<?php _e('Center Facebook Container?', 'feed-them-social'); ?>')").parent('div').show();
692
+ }
693
+ else {
694
+ jQuery('.fts-facebook-grid-options-wrap').hide();
695
+ }
696
+ });
697
+ // facebook Super Gallery option
698
+ jQuery('#facebook-custom-gallery').bind('change', function (e) {
699
+ if (jQuery('#facebook-custom-gallery').val() == 'yes') {
700
+ jQuery('.fts-super-facebook-options-wrap').show();
701
+ }
702
+ else {
703
+ jQuery('.fts-super-facebook-options-wrap').hide();
704
+ }
705
+ });
706
+ // facebook show load more options
707
+ jQuery('#fb_load_more_option').bind('change', function (e) {
708
+ if (jQuery('#fb_load_more_option').val() == 'yes') {
709
+
710
+ if (jQuery('#facebook-messages-selector').val() !== 'album_videos') {
711
+ jQuery('.fts-facebook-load-more-options-wrap').show();
712
+ }
713
+ jQuery('.fts-facebook-load-more-options2-wrap').show();
714
+ }
715
+
716
+ else {
717
+ jQuery('.fts-facebook-load-more-options-wrap, .fts-facebook-load-more-options2-wrap').hide();
718
+ }
719
+ });
720
+ // Instagram show load more options
721
+ jQuery('#instagram_load_more_option').bind('change', function (e) {
722
+ if (jQuery('#instagram_load_more_option').val() == 'yes') {
723
+ jQuery('.fts-instagram-load-more-options-wrap').show();
724
+ }
725
+ else {
726
+ jQuery('.fts-instagram-load-more-options-wrap').hide();
727
+ }
728
+ });
729
+ // Pinterest options
730
+ // hide this div till needed for free version
731
+ jQuery(".feed-them-social-admin-input-label:contains('<?php _e('# of Pins', 'feed-them-social'); ?>')").parent('div').hide();
732
+ jQuery('#pinterest-messages-selector').bind('change', function (e) {
733
+ if (jQuery('#pinterest-messages-selector').val() == 'boards_list') {
734
+ jQuery('.number-of-boards, .pinterest-name-text').show();
735
+ jQuery('.board-name, .show-pins-amount, .pinterest-board-and-name-text').hide();
736
+ jQuery(".feed-them-social-admin-input-label:contains('<?php _e('# of Boards', 'feed-them-social'); ?>')").parent('div').show();
737
+ jQuery(".feed-them-social-admin-input-label:contains('<?php _e('# of Pins', 'feed-them-social'); ?>')").parent('div').hide();
738
+ }
739
+ });
740
+ // Pinterest options
741
+ jQuery('#pinterest-messages-selector').bind('change', function (e) {
742
+ if (jQuery('#pinterest-messages-selector').val() == 'single_board_pins') {
743
+ jQuery('.board-name, .show-pins-amount, .pinterest-board-and-name-text').show();
744
+ jQuery('.number-of-boards, .pinterest-name-text').hide();
745
+ jQuery(".feed-them-social-admin-input-label:contains('<?php _e('# of Boards', 'feed-them-social'); ?>')").parent('div').hide();
746
+ jQuery(".feed-them-social-admin-input-label:contains('<?php _e('# of Pins', 'feed-them-social'); ?>')").parent('div').show();
747
+ }
748
+ })
749
+ // Pinterest options
750
+ jQuery('#pinterest-messages-selector').bind('change', function (e) {
751
+ if (jQuery('#pinterest-messages-selector').val() == 'pins_from_user') {
752
+ jQuery('.show-pins-amount, .pinterest-name-text').show();
753
+ jQuery('.number-of-boards, .board-name, .pinterest-board-and-name-text').hide();
754
+ jQuery(".feed-them-social-admin-input-label:contains('<?php _e('# of Boards', 'feed-them-social'); ?>')").parent('div').hide();
755
+ jQuery(".feed-them-social-admin-input-label:contains('<?php _e('# of Pins', 'feed-them-social'); ?>')").parent('div').show();
756
+ }
757
+ });
758
+
759
+ });
760
+ // JS
761
+ function updateTextArea_pinterest() {
762
+ var pinterest_name = ' pinterest_name=' + jQuery("input#pinterest_name").val();
763
+ if (pinterest_name == " pinterest_name=") {
764
+ jQuery(".pinterest_name").addClass('fts-empty-error');
765
+ jQuery("input#pinterest_name").focus();
766
+ return false;
767
+ }
768
+ if (pinterest_name != " pinterest_name=") {
769
+ jQuery(".pinterest_name").removeClass('fts-empty-error');
770
+ }
771
+ var pinterest_board_name = ' board_id=' + jQuery("input#pinterest_board_name").val();
772
+ if (pinterest_board_name == " board_id=" && jQuery("select#pinterest-messages-selector").val() == "single_board_pins") {
773
+ jQuery(".board-name").addClass('fts-empty-error');
774
+ jQuery("input#pinterest_board_name").focus();
775
+ return false;
776
+ }
777
+ if (pinterest_board_name != " board_id=") {
778
+ jQuery(".board-name").removeClass('fts-empty-error');
779
+ }
780
+ if (pinterest_board_name == " board_id=") {
781
+ var pinterest_board_name_final = '';
782
+ }
783
+ if (pinterest_board_name != " board_id=") {
784
+ var pinterest_board_name_final = pinterest_board_name;
785
+ }
786
+ var type = ' type=' + jQuery("select#pinterest-messages-selector").val();
787
+ if (type == " type=") {
788
+ var type_final = '';
789
+ }
790
+ if (type != " type=") {
791
+ var type_final = type;
792
+ }
793
+ <?php
794
+ //Premium Plugin
795
+ if(is_plugin_active('feed-them-premium/feed-them-premium.php')) {
796
+ include(WP_CONTENT_DIR . '/plugins/feed-them-premium/admin/js/pinterest-settings-js.js');
797
+ }
798
+ else { ?>
799
+ //Generate Pinterest Shortcode
800
+ if (jQuery("select#pinterest-messages-selector").val() == "pins_from_user") {
801
+ var final_pinterest_shorcode = '[fts_pinterest' + pinterest_name + type_final + ']';
802
+ }
803
+ else if (jQuery("select#pinterest-messages-selector").val() == "single_board_pins") {
804
+ var final_pinterest_shorcode = '[fts_pinterest' + pinterest_name + pinterest_board_name_final + type_final + ']';
805
+ }
806
+ else {
807
+ var final_pinterest_shorcode = '[fts_pinterest' + pinterest_name + type_final + ']';
808
+ }
809
+ <?php } ?>
810
+ jQuery('.pinterest-final-shortcode').val(final_pinterest_shorcode);
811
+ jQuery('.pinterest-shortcode-form .final-shortcode-textarea').slideDown();
812
+ }
813
+ //End Pinterest
814
+ function updateTextArea_fb_page() {
815
+ var fb_feed_type = ' type=' + jQuery("select#facebook-messages-selector").val();
816
+ var fb_page_id = ' id=' + jQuery("input#fb_page_id").val();
817
+ if (jQuery("input#fb_album_id").val() == '') {
818
+ var fb_album_id = ' album_id=photo_stream';
819
+ }
820
+ else {
821
+ var fb_album_id = ' album_id=' + jQuery("input#fb_album_id").val();
822
+ }
823
+ var fb_page_posts_displayed = ' posts_displayed=' + jQuery("select#fb_page_posts_displayed").val();
824
+ var fb_page_post_count_final_check = jQuery("input#fb_page_post_count").val();
825
+ if (fb_page_post_count_final_check !== '') {
826
+ var fb_page_post_count_final = ' posts=' + jQuery("input#fb_page_post_count").val();
827
+ } else {
828
+ var fb_page_post_count_final = ' posts=5';
829
+ }
830
+ var facebook_height = jQuery("input#facebook_page_height").val();
831
+ // var super_gallery = ' super_gallery=' + jQuery("select#facebook-custom-gallery").val();
832
+ var image_width = ' image_width=' + jQuery("input#fts-slicker-facebook-container-image-width").val();
833
+ var image_height = ' image_height=' + jQuery("input#fts-slicker-facebook-container-image-height").val();
834
+ var space_between_photos = ' space_between_photos=' + jQuery("input#fts-slicker-facebook-container-margin").val();
835
+ var hide_date_likes_comments = ' hide_date_likes_comments=' + jQuery("select#fts-slicker-facebook-container-hide-date-likes-comments").val();
836
+ var center_container = ' center_container=' + jQuery("select#fts-slicker-facebook-container-position").val();
837
+ var image_stack_animation = ' image_stack_animation=' + jQuery("select#fts-slicker-facebook-container-animation").val();
838
+ var position_lr = ' image_position_lr=' + jQuery("input#fts-slicker-facebook-image-position-lr").val();
839
+ var position_top = ' image_position_top=' + jQuery("input#fts-slicker-facebook-image-position-top").val();
840
+ if (fb_page_id == " id=") {
841
+ jQuery(".fb_page_id").addClass('fts-empty-error');
842
+ jQuery("input#fb_page_id").focus();
843
+ return false;
844
+ }
845
+ if (fb_page_id != " id=") {
846
+ jQuery(".fb_page_id").removeClass('fts-empty-error');
847
+ }
848
+ if (fb_album_id == " album_id=" && fb_feed_type == " type=album_videos") {
849
+ jQuery(".fb_album_photos_id").addClass('fts-empty-error');
850
+ jQuery("input#fb_album_id").focus();
851
+ return false;
852
+ }
853
+ if (facebook_height) {
854
+ var facebook_height_final = ' height=' + jQuery("input#facebook_page_height").val();
855
+ }
856
+ else {
857
+ var facebook_height_final = '';
858
+ }
859
+ var super_gallery_option = jQuery("select#facebook-custom-gallery").val();
860
+ var albums_photos_option = jQuery("select#facebook-messages-selector").val();
861
+ <?php
862
+ // IF PREMIUM PLUGIN IS ACTIVE AND REVIEWS IS ACTIVE
863
+ 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') && !is_plugin_active('feed-them-carousel-premium/feed-them-carousel-premium.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('feed-them-carousel-premium/feed-them-carousel-premium.php')) {
864
+ include(WP_CONTENT_DIR . '/plugins/feed-them-premium/admin/js/facebook-page-settings-js.js'); ?>
865
+
866
+ if (albums_photos_option == "album_photos") {
867
+ var final_fb_page_shortcode = '[fts_facebook' + fb_page_id + fb_album_id + fb_page_post_count_final + fb_page_title_option + fb_page_description_option + fb_page_word_count_option + fb_feed_type + image_width + image_height + space_between_photos + hide_date_likes_comments + center_container + image_stack_animation + position_lr + position_top + load_more_posts_style_final + facebook_popup + fts_hide_like_option + fts_like_option_align + fts_loadmore_button_width + fts_loadmore_btn_margin + fb_page_title_align + fb_position_likebox + like_box_width + ']';
868
+ }
869
+ else if (albums_photos_option == "album_videos") {
870
+ var final_fb_page_shortcode = '[fts_facebook' + fb_page_id + ' video_album=yes' + fb_album_id + ' type=album_photos' + fb_page_post_count_final + fb_page_title_option + fb_page_description_option + fb_page_word_count_option + image_width + image_height + space_between_photos + fts_play_btn + fts_play_btn_size + fts_play_btn_visible + hide_date_likes_comments + center_container + image_stack_animation + position_lr + position_top + load_more_posts_style_final + ' popup=yes' + fts_hide_like_option + fts_like_option_align + fts_loadmore_button_width + fts_loadmore_btn_margin + fts_images_align + fb_position_likebox + like_box_width + ']';
871
+ }
872
+ else if (albums_photos_option == "albums") {
873
+ var final_fb_page_shortcode = '[fts_facebook' + fb_page_id + fb_page_post_count_final + fb_page_title_option + fb_page_description_option + fb_page_word_count_option + fb_feed_type + image_width + image_height + space_between_photos + hide_date_likes_comments + center_container + image_stack_animation + position_lr + position_top + load_more_posts_style_final + facebook_popup + fts_hide_like_option + fts_like_option_align + fts_loadmore_button_width + fts_loadmore_btn_margin + fb_page_title_align + fb_position_likebox + like_box_width + ']';
874
+ }
875
+ else if (albums_photos_option == "page") {
876
+ var final_fb_page_shortcode = '[fts_facebook' + fb_page_id + fb_page_posts_displayed + fb_page_post_count_final + fb_page_title_option + fb_page_description_option + fb_page_word_count_option + facebook_height_final + fb_feed_type + load_more_posts_style_final + facebook_grid + facebook_grid_space_between_posts + facebook_grid_colmn_width + center_container + image_stack_animation + facebook_popup + fts_hide_like_option + fts_like_option_align + fts_loadmore_button_width + fts_loadmore_btn_margin + fb_page_title_align + fb_page_title_align + fb_position_likebox + like_box_width + ']';
877
+ }
878
+ <?php
879
+ //Premium Plugin
880
+ if (is_plugin_active('feed-them-social-facebook-reviews/feed-them-social-facebook-reviews.php')) {
881
+ include(WP_CONTENT_DIR . '/plugins/feed-them-social-facebook-reviews/admin/js/facebook-page-reviews-js.js');
882
+ } ?>
883
+
884
+ else {
885
+ var final_fb_page_shortcode = '[fts_facebook' + fb_page_id + fb_page_post_count_final + fb_page_title_option + fb_page_description_option + fb_page_word_count_option + facebook_height_final + fb_feed_type + load_more_posts_style_final + facebook_grid + facebook_grid_space_between_posts + facebook_grid_colmn_width + center_container + image_stack_animation + facebook_popup + fts_hide_like_option + fts_like_option_align + fts_loadmore_button_width + fts_loadmore_btn_margin + fb_page_title_align + ']';
886
+ }
887
+ <?php
888
+ }
889
+ // IF PREMIUM PLUGIN IS ACTIVE AND CAROUSEL AND REVIEWS IS ACTIVE ETC...
890
+ elseif(is_plugin_active('feed-them-premium/feed-them-premium.php') && is_plugin_active('feed-them-carousel-premium/feed-them-carousel-premium.php') || is_plugin_active('feed-them-premium/feed-them-premium.php') && is_plugin_active('feed-them-carousel-premium/feed-them-carousel-premium.php') && is_plugin_active('feed-them-social-facebook-reviews/feed-them-social-facebook-reviews.php')) {
891
+ include(WP_CONTENT_DIR . '/plugins/feed-them-premium/admin/js/facebook-page-settings-js.js'); ?>
892
+
893
+ if (albums_photos_option == "album_photos") {
894
+ var final_fb_page_shortcode = '[fts_facebook' + fb_page_id + fb_album_id + fb_page_post_count_final + fb_page_title_option + fb_page_description_option + fb_page_word_count_option + fb_feed_type + image_width + image_height + space_between_photos + hide_date_likes_comments + center_container + image_stack_animation + position_lr + position_top + load_more_posts_style_final + facebook_popup + fts_hide_like_option + fts_like_option_align + fts_loadmore_button_width + fts_loadmore_btn_margin + fb_page_title_align + fb_position_likebox + like_box_width + slider + scrollhorz_or_carousel + slides_visible + slider_spacing + slider_margin + slider_speed + slider_timeout + slider_controls + slider_controls_text_color + slider_controls_bar_color + slider_controls_width + ']';
895
+ }
896
+ else if (albums_photos_option == "album_videos") {
897
+ var final_fb_page_shortcode = '[fts_facebook' + fb_page_id + ' video_album=yes' + fb_album_id + ' type=album_photos' + fb_page_post_count_final + fb_page_title_option + fb_page_description_option + fb_page_word_count_option + image_width + image_height + space_between_photos + fts_play_btn + fts_play_btn_size + fts_play_btn_visible + hide_date_likes_comments + center_container + image_stack_animation + position_lr + position_top + load_more_posts_style_final + ' popup=yes' + fts_hide_like_option + fts_like_option_align + fts_loadmore_button_width + fts_loadmore_btn_margin + fts_images_align + fb_position_likebox + like_box_width + slider + scrollhorz_or_carousel + slides_visible + slider_spacing + slider_margin + slider_speed + slider_timeout + slider_controls + slider_controls_text_color + slider_controls_bar_color + slider_controls_width + ']';
898
+ }
899
+ else if (albums_photos_option == "albums") {
900
+ var final_fb_page_shortcode = '[fts_facebook' + fb_page_id + fb_page_post_count_final + fb_page_title_option + fb_page_description_option + fb_page_word_count_option + fb_feed_type + image_width + image_height + space_between_photos + hide_date_likes_comments + center_container + image_stack_animation + position_lr + position_top + load_more_posts_style_final + facebook_popup + fts_hide_like_option + fts_like_option_align + fts_loadmore_button_width + fts_loadmore_btn_margin + fb_page_title_align + fb_position_likebox + like_box_width + slider + scrollhorz_or_carousel + slides_visible + slider_spacing + slider_margin + slider_speed + slider_timeout + slider_controls + slider_controls_text_color + slider_controls_bar_color + slider_controls_width + ']';
901
+ }
902
+ else if (albums_photos_option == "page") {
903
+ var final_fb_page_shortcode = '[fts_facebook' + fb_page_id + fb_page_posts_displayed + fb_page_post_count_final + fb_page_title_option + fb_page_description_option + fb_page_word_count_option + facebook_height_final + fb_feed_type + load_more_posts_style_final + facebook_grid + facebook_grid_space_between_posts + facebook_grid_colmn_width + center_container + image_stack_animation + facebook_popup + fts_hide_like_option + fts_like_option_align + fts_loadmore_button_width + fts_loadmore_btn_margin + fb_page_title_align + fb_page_title_align + fb_position_likebox + like_box_width + ']';
904
+ }
905
+ <?php
906
+ //Premium Plugin
907
+ if (is_plugin_active('feed-them-social-facebook-reviews/feed-them-social-facebook-reviews.php')) {
908
+ include(WP_CONTENT_DIR . '/plugins/feed-them-social-facebook-reviews/admin/js/facebook-page-reviews-js.js');
909
+ } ?>
910
+
911
+ else {
912
+ var final_fb_page_shortcode = '[fts_facebook' + fb_page_id + fb_page_post_count_final + fb_page_title_option + fb_page_description_option + fb_page_word_count_option + facebook_height_final + fb_feed_type + load_more_posts_style_final + facebook_grid + facebook_grid_space_between_posts + facebook_grid_colmn_width + center_container + image_stack_animation + facebook_popup + fts_hide_like_option + fts_like_option_align + fts_loadmore_button_width + fts_loadmore_btn_margin + fb_page_title_align + ']';
913
+ }
914
+ <?php
915
+ }
916
+
917
+ // IF NO PREMIUM PLUGINS ACTIVE
918
+ elseif(is_plugin_active('feed-them-social-facebook-reviews/feed-them-social-facebook-reviews.php') && !is_plugin_active('feed-them-premium/feed-them-premium.php')) { ?>
919
+ // Free version shortcodes for Facebook
920
+ if (albums_photos_option == "album_photos") {
921
+ var final_fb_page_shortcode = '[fts_facebook' + fb_page_id + fb_album_id + fb_page_post_count_final + fb_feed_type + image_width + image_height + space_between_photos + hide_date_likes_comments + center_container + image_stack_animation + position_lr + position_top + ']';
922
+ }
923
+ else if (albums_photos_option == "albums") {
924
+ var final_fb_page_shortcode = '[fts_facebook' + fb_page_id + fb_page_post_count_final + fb_feed_type + image_width + image_height + space_between_photos + hide_date_likes_comments + center_container + image_stack_animation + position_lr + position_top + ']';
925
+ }
926
+ else if (albums_photos_option == "page") {
927
+ var final_fb_page_shortcode = '[fts_facebook' + fb_page_id + fb_page_post_count_final + fb_page_posts_displayed + facebook_height_final + fb_feed_type + ']';
928
+ }
929
+ <?php
930
+ //Premium Plugin
931
+ if (is_plugin_active('feed-them-social-facebook-reviews/feed-them-social-facebook-reviews.php')) {
932
+ include(WP_CONTENT_DIR . '/plugins/feed-them-social-facebook-reviews/admin/js/facebook-page-reviews-js.js');
933
+ } ?>
934
+
935
+ else {
936
+ // This is the group feed in free version.
937
+ var final_fb_page_shortcode = '[fts_facebook' + fb_page_id + fb_page_post_count_final + facebook_height_final + fb_feed_type + ']';
938
+ }
939
+ <?php }
940
+
941
+ // IF NO PREMIUM PLUGINS ACTIVE
942
+ else { ?>
943
+ // Free version shortcodes for Facebook
944
+ if (albums_photos_option == "album_photos") {
945
+ var final_fb_page_shortcode = '[fts_facebook' + fb_page_id + fb_album_id + fb_page_post_count_final + fb_feed_type + image_width + image_height + space_between_photos + hide_date_likes_comments + center_container + image_stack_animation + position_lr + position_top + ']';
946
+ }
947
+ else if (albums_photos_option == "albums") {
948
+ var final_fb_page_shortcode = '[fts_facebook' + fb_page_id + fb_page_post_count_final + fb_feed_type + image_width + image_height + space_between_photos + hide_date_likes_comments + center_container + image_stack_animation + position_lr + position_top + ']';
949
+ }
950
+ else if (albums_photos_option == "page") {
951
+ var final_fb_page_shortcode = '[fts_facebook' + fb_page_id + fb_page_post_count_final + fb_page_posts_displayed + facebook_height_final + fb_feed_type + ']';
952
+ }
953
+ else {
954
+ // This is the group feed in free version.
955
+ var final_fb_page_shortcode = '[fts_facebook' + fb_page_id + fb_page_post_count_final + facebook_height_final + fb_feed_type + ']';
956
+ }
957
+ <?php } ?>
958
+
959
+
960
+ jQuery('.facebook-page-final-shortcode').val(final_fb_page_shortcode);
961
+ jQuery('.fb-page-shortcode-form .final-shortcode-textarea').slideDown();
962
+ }
963
+ //END Facebook Page//
964
+ //START Facebook Group//
965
+ function updateTextArea_fb_group() {
966
+ var fb_group_id = ' id=' + jQuery("input#fb_group_id").val();
967
+ // var fb_group_custom_name = ' custom_name=' + jQuery("select#fb_group_custom_name").val();
968
+ var facebook_height = jQuery("input#facebook_group_height").val();
969
+ if (fb_group_id == " id=") {
970
+ jQuery(".fb_group_id").addClass('fts-empty-error');
971
+ jQuery("input#fb_group_id").focus();
972
+ return false;
973
+ }
974
+ if (fb_group_id != " id=") {
975
+ jQuery(".fb_group_id").removeClass('fts-empty-error');
976
+ }
977
+ if (facebook_height) {
978
+ var facebook_height_final = ' height=' + jQuery("input#facebook_group_height").val();
979
+ }
980
+ else {
981
+ var facebook_height_final = '';
982
+ }
983
+ <?php
984
+ //Premium Plugin
985
+ if(is_plugin_active('feed-them-premium/feed-them-premium.php')) {
986
+ include(WP_CONTENT_DIR . '/plugins/feed-them-premium/admin/js/facebook-group-settings-js.js');
987
+ }
988
+ else {
989
+ ?>
990
+ var final_fb_group_shorcode = '[fts_facebook_group' + fb_group_id + facebook_height_final + ' type=group]';
991
+ <?php } ?>
992
+ jQuery('.facebook-group-final-shortcode').val(final_fb_group_shorcode);
993
+ jQuery('.fb-group-shortcode-form .final-shortcode-textarea').slideDown();
994
+ }
995
+ //END Facebook Group//
996
+ //START Facebook List of Events//
997
+ function updateTextArea_fb_list_of_events() {
998
+ var fb_event_id = ' id=' + jQuery("input#fb_page_list_of_events_id").val();
999
+ var facebook_height = jQuery("input#facebook_event_height").val();
1000
+ if (fb_event_id == " id=") {
1001
+ jQuery(".fb_page_list_of_events_id").addClass('fts-empty-error');
1002
+ jQuery("input#fb_page_list_of_events_id").focus();
1003
+ return false;
1004
+ }
1005
+ if (fb_event_id != " id=") {
1006
+ jQuery(".fb_page_list_of_events_id").removeClass('fts-empty-error');
1007
+ }
1008
+ if (facebook_height) {
1009
+ var facebook_height_final = ' height=' + jQuery("input#facebook_event_height").val();
1010
+ }
1011
+ else {
1012
+ var facebook_height_final = '';
1013
+ }
1014
+ <?php
1015
+ //Premium Plugin
1016
+ if(is_plugin_active('feed-them-premium/feed-them-premium.php')) {
1017
+ include(WP_CONTENT_DIR . '/plugins/feed-them-premium/admin/js/facebook-event-settings-js.js');
1018
+ }
1019
+ else {
1020
+ ?>
1021
+ var final_fb_event_shorcode = '[fts_facebook_event' + fb_event_id + facebook_height_final + ' type=event]';
1022
+ <?php } ?>
1023
+ jQuery('.facebook-list-of-events-final-shortcode').val(final_fb_event_shorcode);
1024
+ jQuery('.fb-event-shortcode-form .final-shortcode-textarea').slideDown();
1025
+ }
1026
+ //END Facebook List of Events//
1027
+ //START Facebook Single Event//
1028
+ function updateTextArea_fb_event() {
1029
+ var fb_event_id = ' id=' + jQuery("input#fb_event_id").val();
1030
+ var facebook_height = jQuery("input#facebook_event_height").val();
1031
+ if (fb_event_id == " id=") {
1032
+ jQuery(".fb_event_id").addClass('fts-empty-error');
1033
+ jQuery("input#fb_event_id").focus();
1034
+ return false;
1035
+ }
1036
+ if (fb_event_id != " id=") {
1037
+ jQuery(".fb_event_id").removeClass('fts-empty-error');
1038
+ }
1039
+ if (facebook_height) {
1040
+ var facebook_height_final = ' height=' + jQuery("input#facebook_event_height").val();
1041
+ }
1042
+ else {
1043
+ var facebook_height_final = '';
1044
+ }
1045
+ <?php
1046
+ //Premium Plugin
1047
+ if(is_plugin_active('feed-them-premium/feed-them-premium.php')) {
1048
+ include(WP_CONTENT_DIR . '/plugins/feed-them-premium/admin/js/facebook-event-settings-js.js');
1049
+ }
1050
+ else {
1051
+ ?>
1052
+ var final_fb_event_shorcode = '[fts_facebook_event' + fb_event_id + facebook_height_final + ' type=event]';
1053
+ <?php } ?>
1054
+ jQuery('.facebook-event-final-shortcode').val(final_fb_event_shorcode);
1055
+ jQuery('.fb-event-shortcode-form .final-shortcode-textarea').slideDown();
1056
+ }
1057
+ //END Facebook Single Event//
1058
+ //START Twitter//
1059
+ function updateTextArea_twitter() {
1060
+ var twitter_name = jQuery("input#twitter_name").val();
1061
+ var twitter_search = jQuery("input#twitter_hashtag_etc_name").val();
1062
+ var twitter_height = jQuery("input#twitter_height").val();
1063
+ var tweets_count = jQuery("input#tweets_count").val();
1064
+ var show_retweets = jQuery("select#twitter-show-retweets").val();
1065
+ if (tweets_count !== '') {
1066
+ var tweets_count_final = ' tweets_count=' + jQuery("input#tweets_count").val();
1067
+ } else {
1068
+ var tweets_count_final = ' tweets_count=5';
1069
+ }
1070
+ if (twitter_height) {
1071
+ var twitter_height_final = ' twitter_height=' + jQuery("input#twitter_height").val();
1072
+ } else {
1073
+ var twitter_height_final = ' twitter_height=auto';
1074
+ }
1075
+
1076
+ jQuery('#twitter-messages-selector').bind('change', function (e) {
1077
+ if (jQuery('#twitter-messages-selector').val() == 'hashtag') {
1078
+ jQuery(".twitter_name").removeClass('fts-empty-error');
1079
+ }
1080
+ });
1081
+
1082
+
1083
+ if (twitter_name == "" && jQuery('#twitter-messages-selector').val() !== 'hashtag') {
1084
+ jQuery(".twitter_name").addClass('fts-empty-error');
1085
+ jQuery("input#twitter_name").focus();
1086
+ return false;
1087
+ }
1088
+ else if (twitter_name != "") {
1089
+ jQuery(".twitter_name").removeClass('fts-empty-error');
1090
+ var twitter_name = ' twitter_name=' + jQuery("input#twitter_name").val();
1091
+ }
1092
+ if (twitter_search == "" && jQuery('#twitter-messages-selector').val() == 'hashtag') {
1093
+ jQuery(".twitter_hashtag_etc_name").addClass('fts-empty-error');
1094
+ jQuery("input#twitter_hashtag_etc_name").focus();
1095
+ return false;
1096
+ }
1097
+ else if (twitter_search != "" && jQuery('#twitter-messages-selector').val() == 'hashtag') {
1098
+ jQuery(".twitter_search").removeClass('fts-empty-error');
1099
+ var twitter_search_final = ' search=' + jQuery("input#twitter_hashtag_etc_name").val();
1100
+ }
1101
+ else {
1102
+ var twitter_search_final = '';
1103
+ }
1104
+ if (twitter_height) {
1105
+ var twitter_height_final = ' twitter_height=' + jQuery("input#twitter_height").val();
1106
+ }
1107
+ else {
1108
+ var twitter_height_final = '';
1109
+ }
1110
+ if (show_retweets) {
1111
+ var show_retweets = ' show_retweets=' + jQuery("select#twitter-show-retweets").val();
1112
+ }
1113
+ else {
1114
+ var show_retweets = '';
1115
+ }
1116
+ <?php
1117
+ if(is_plugin_active('feed-them-premium/feed-them-premium.php')) {
1118
+ include(WP_CONTENT_DIR . '/plugins/feed-them-premium/admin/js/twitter-settings-js.js');
1119
+ }
1120
+ else { ?>
1121
+ var final_twitter_shorcode = '[fts_twitter' + twitter_name + twitter_search_final + tweets_count_final + twitter_height_final + show_retweets + ']';
1122
+ <?php } ?>
1123
+ jQuery('.twitter-final-shortcode').val(final_twitter_shorcode);
1124
+ jQuery('.twitter-shortcode-form .final-shortcode-textarea').slideDown();
1125
+ }
1126
+ //END Twitter//
1127
+ //START Vine//
1128
+ function updateTextArea_vine() {
1129
+ var vine_id = ' id=' + jQuery("input#vine_id").val();
1130
+ var vine_maxwidth = jQuery("input#vine_maxwidth").val();
1131
+ var space_between_photos = jQuery("input#space_between_photos").val();
1132
+ var round_thumb_corner_size = jQuery("input#round_thumb_corner_size").val();
1133
+
1134
+ if (vine_id == " id=") {
1135
+ jQuery(".vine_id").addClass('fts-empty-error');
1136
+ jQuery("input#vine_id").focus();
1137
+ return false;
1138
+ }
1139
+ if (vine_id != " id=") {
1140
+ jQuery(".vine_id").removeClass('fts-empty-error');
1141
+ }
1142
+ if (vine_maxwidth) {
1143
+ var vine_maxwidth = ' maxwidth=' + jQuery("input#vine_maxwidth").val();
1144
+ }
1145
+ else {
1146
+ var vine_maxwidth = ' maxwidth=200px';
1147
+ }
1148
+ if (space_between_photos) {
1149
+ var space_between_photos = ' space_between_photos=' + jQuery("input#space_between_photos").val();
1150
+ }
1151
+ else {
1152
+ var round_thumb_corner_size = '';
1153
+ }
1154
+ if (round_thumb_corner_size) {
1155
+ var round_thumb_corner_size = ' round_thumb_corner_size=' + jQuery("input#round_thumb_corner_size").val();
1156
+ }
1157
+ else {
1158
+ var round_thumb_corner_size = '';
1159
+ }
1160
+ <?php
1161
+ if(is_plugin_active('feed-them-premium/feed-them-premium.php') && file_exists(WP_CONTENT_DIR . '/plugins/feed-them-premium/admin/js/vine-settings-js.js')) {
1162
+ include(WP_CONTENT_DIR . '/plugins/feed-them-premium/admin/js/vine-settings-js.js');
1163
+ }
1164
+ else { ?>
1165
+ var final_vine_shorcode = '[fts_vine' + vine_id + vine_maxwidth + space_between_photos + round_thumb_corner_size + ']';
1166
+ <?php } ?>
1167
+ jQuery('.vine-final-shortcode').val(final_vine_shorcode);
1168
+ jQuery('.vine-shortcode-form .final-shortcode-textarea').slideDown();
1169
+ }
1170
+ //END Vine//
1171
+ //START Instagram//
1172
+ function updateTextArea_instagram() {
1173
+ var instagram_id = ' instagram_id=' + jQuery("input#instagram_id").val();
1174
+ var instagram_page_height = jQuery("input#instagram_page_height").val();
1175
+ var super_gallery = ' super_gallery=' + jQuery("select#instagram-custom-gallery").val();
1176
+ var image_size = ' image_size=' + jQuery("input#fts-slicker-instagram-container-image-size").val();
1177
+ var icon_size = ' icon_size=' + jQuery("input#fts-slicker-instagram-icon-center").val();
1178
+ var space_between_photos = ' space_between_photos=' + jQuery("input#fts-slicker-instagram-container-margin").val();
1179
+ var hide_date_likes_comments = ' hide_date_likes_comments=' + jQuery("select#fts-slicker-instagram-container-hide-date-likes-comments").val();
1180
+ var center_container = ' center_container=' + jQuery("select#fts-slicker-instagram-container-position").val();
1181
+ var image_stack_animation = ' image_stack_animation=' + jQuery("select#fts-slicker-instagram-container-animation").val();
1182
+ var instagram_feed_type = ' type=' + jQuery("select#instagram-messages-selector").val();
1183
+ var instagram_popup_option = ' popup=' + jQuery("select#instagram-popup-option").val();
1184
+ var pics_count = jQuery("input#pics_count").val();
1185
+ if (pics_count !== '') {
1186
+ var pics_count_final = ' pics_count=' + jQuery("input#pics_count").val();
1187
+ } else {
1188
+ var pics_count_final = ' pics_count=5';
1189
+ }
1190
+ if (instagram_id == " instagram_id=") {
1191
+ jQuery(".instagram_name").addClass('fts-empty-error');
1192
+ jQuery("input#instagram_id").focus();
1193
+ return false;
1194
+ }
1195
+ if (instagram_id != " instagram_id=") {
1196
+ jQuery(".instagram_name").removeClass('fts-empty-error');
1197
+ }
1198
+ if (instagram_page_height != "") {
1199
+ var instagram_page_height_final = ' height=' + jQuery("input#instagram_page_height").val();
1200
+ }
1201
+ else {
1202
+ var instagram_page_height_final = '';
1203
+ }
1204
+ <?php
1205
+ //Premium Plugin
1206
+ if(is_plugin_active('feed-them-premium/feed-them-premium.php') && WP_CONTENT_DIR . '/plugins/feed-them-premium/admin/js/vine-settings-js.js') {
1207
+ include(WP_CONTENT_DIR . '/plugins/feed-them-premium/admin/js/instagram-settings-js.js');
1208
+ }//end if Premium version
1209
+ else { ?>
1210
+ if (jQuery("select#instagram-custom-gallery").val() == "no") {
1211
+ var final_instagram_shorcode = '[fts_instagram' + instagram_id + pics_count_final + instagram_feed_type + instagram_page_height_final + ']';
1212
+ }
1213
+ else {
1214
+ var final_instagram_shorcode = '[fts_instagram' + instagram_id + pics_count_final + super_gallery + image_size + icon_size + space_between_photos + hide_date_likes_comments + center_container + image_stack_animation + instagram_feed_type + instagram_page_height_final + ']';
1215
+ }
1216
+ <?php } ?>
1217
+ jQuery('.instagram-final-shortcode').val(final_instagram_shorcode);
1218
+ jQuery('.instagram-shortcode-form .final-shortcode-textarea').slideDown();
1219
+ }
1220
+ //END Instagram//
1221
+ //START convert Instagram name to id//
1222
+ function converter_instagram_username() {
1223
+ var convert_instagram_username = jQuery("input#convert_instagram_username").val();
1224
+ if (convert_instagram_username == "") {
1225
+ jQuery(".convert_instagram_username").addClass('fts-empty-error');
1226
+ jQuery("input#convert_instagram_username").focus();
1227
+ return false;
1228
+ }
1229
+ if (convert_instagram_username != "") {
1230
+ jQuery(".convert_instagram_username").removeClass('fts-empty-error');
1231
+ var username = jQuery("input#convert_instagram_username").val();
1232
+ console.log(username);
1233
+
1234
+ <?php $fts_instagram_tokens_array = array('9844495a8c4c4c51a7c519d0e7e8f293', '9844495a8c4c4c51a7c519d0e7e8f293');
1235
+ $fts_instagram_access_token = $fts_instagram_tokens_array[array_rand($fts_instagram_tokens_array, 1)];
1236
+ ?>
1237
+ 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=?",
1238
+
1239
+ {
1240
+ format: "json"
1241
+ },
1242
+ function (data) {
1243
+ console.log(data);
1244
+ var final_instagram_us_id = data.data[0].id;
1245
+ jQuery('#instagram_id').val(final_instagram_us_id);
1246
+ jQuery('.final-instagram-user-id-textarea').slideDown();
1247
+ });
1248
+ }
1249
+ }
1250
+ //select all
1251
+ jQuery(".copyme").focus(function () {
1252
+ var jQuerythis = jQuery(this);
1253
+
1254
+ // we call this function again on copy me to append any values that did not get a px on them
1255
+ updateTextArea_fb_page();
1256
+ updateTextArea_twitter();
1257
+ updateTextArea_vine();
1258
+ updateTextArea_instagram();
1259
+
1260
+ jQuerythis.select();
1261
+ // Work around Chrome's little problem
1262
+ jQuerythis.mouseup(function () {
1263
+ // Prevent further mouseup intervention
1264
+ jQuerythis.unbind("mouseup");
1265
+ return false;
1266
+ });
1267
+ });
1268
+ jQuery(document).ready(function () {
1269
+ jQuery(".toggle-custom-textarea-show").click(function () {
1270
+ jQuery('textarea#fts-color-options-main-wrapper-css-input').slideToggle();
1271
+ jQuery('.toggle-custom-textarea-show span').toggle();
1272
+ jQuery('.fts-custom-css-text').toggle();
1273
+ });
1274
+
1275
+ // START: Fix issues when people enter the full url instead of just the ID or Name. We'll truncate this at a later date.
1276
+ jQuery("#fb_page_id").change(function () {
1277
+ var feedID = jQuery("input#fb_page_id").val();
1278
+ if (feedID.indexOf('facebook.com') != -1 || feedID.indexOf('facebook.com') != -1) {
1279
+ feedID = feedID.replace(/\/$/, '');
1280
+ feedID = feedID.substr(feedID.lastIndexOf('/') + 1);
1281
+ var newfeedID = feedID;
1282
+ jQuery('#fb_page_id').val(newfeedID);
1283
+ return;
1284
+ }
1285
+ });
1286
+
1287
+ jQuery("#twitter_name").change(function () {
1288
+ var feedID = jQuery("input#twitter_name").val();
1289
+ if (feedID.indexOf('twitter.com') != -1) {
1290
+ feedID = feedID.replace(/\/$/, '');
1291
+ feedID = feedID.substr(feedID.lastIndexOf('/') + 1);
1292
+ var newfeedID = feedID;
1293
+ jQuery('#twitter_name').val(newfeedID);
1294
+ return;
1295
+ }
1296
+ });
1297
+
1298
+ jQuery("#convert_instagram_username").change(function () {
1299
+ var feedID = jQuery("input#convert_instagram_username").val();
1300
+ if (feedID.indexOf('instagram.com') != -1) {
1301
+ feedID = feedID.replace(/\/$/, '');
1302
+ feedID = feedID.substr(feedID.lastIndexOf('/') + 1);
1303
+ var newfeedID = feedID;
1304
+ jQuery('#convert_instagram_username').val(newfeedID);
1305
+ return;
1306
+ }
1307
+ });
1308
+
1309
+ jQuery("#pinterest_board_name").change(function () {
1310
+ var feedID = jQuery("input#pinterest_board_name").val();
1311
+ if (feedID.indexOf('pinterest.com') != -1) {
1312
+ feedID = feedID.replace(/\/$/, '');
1313
+ feedID = feedID.substr(feedID.lastIndexOf('/') + 1);
1314
+ var newfeedID = feedID;
1315
+ jQuery('#pinterest_board_name').val(newfeedID);
1316
+ return;
1317
+ }
1318
+ });
1319
+
1320
+ jQuery("#pinterest_name").change(function () {
1321
+ var feedID = jQuery("input#pinterest_name").val();
1322
+ if (feedID.indexOf('pinterest.com') != -1) {
1323
+ feedID = feedID.replace(/\/$/, '');
1324
+ feedID = feedID.substr(feedID.lastIndexOf('/') + 1);
1325
+ var newfeedID = feedID;
1326
+ jQuery('#pinterest_name').val(newfeedID);
1327
+ return;
1328
+ }
1329
+ });
1330
+
1331
+ <?php
1332
+ //show the js for the discount option under social icons on the settings page
1333
+ // also show the youtube feed on change events
1334
+ if(is_plugin_active('feed-them-premium/feed-them-premium.php')) { ?>
1335
+
1336
+ jQuery("#youtube_name").change(function () {
1337
+ var feedID = jQuery("input#youtube_name").val();
1338
+ if (feedID.indexOf('youtube.com/user') != -1) {
1339
+ feedID = feedID.replace(/\/$/, '');
1340
+ feedID = feedID.substr(feedID.lastIndexOf('/') + 1);
1341
+ var newfeedID = feedID;
1342
+ jQuery('#youtube_name').val(newfeedID);
1343
+ return;
1344
+ }
1345
+ });
1346
+
1347
+ jQuery("#youtube_name2").change(function () {
1348
+ var feedID = jQuery("input#youtube_name2").val();
1349
+ if (feedID.indexOf('youtube.com/user') != -1) {
1350
+ feedID = feedID.replace(/\/$/, '');
1351
+ feedID = feedID.substr(feedID.lastIndexOf('/') + 1);
1352
+ var newfeedID = feedID;
1353
+ jQuery('#youtube_name2').val(newfeedID);
1354
+ return;
1355
+ }
1356
+ });
1357
+
1358
+ jQuery("#youtube_channelID").change(function () {
1359
+ var feedID = jQuery("input#youtube_channelID").val();
1360
+ if (feedID.indexOf('youtube.com/channel') != -1) {
1361
+ feedID = feedID.replace(/\/$/, '');
1362
+ feedID = feedID.substr(feedID.lastIndexOf('/') + 1);
1363
+ var newfeedID = feedID;
1364
+ jQuery('#youtube_channelID').val(newfeedID);
1365
+ return;
1366
+ }
1367
+ });
1368
+
1369
+ jQuery("#youtube_channelID2").change(function () {
1370
+ var feedID = jQuery("input#youtube_channelID2").val();
1371
+ if (feedID.indexOf('youtube.com/channel') != -1) {
1372
+ feedID = feedID.replace(/\/$/, '');
1373
+ feedID = feedID.substr(feedID.lastIndexOf('/') + 1);
1374
+ var newfeedID = feedID;
1375
+ jQuery('#youtube_channelID2').val(newfeedID);
1376
+ return;
1377
+ }
1378
+ });
1379
+
1380
+ jQuery("#youtube_playlistID").change(function () {
1381
+ var feedID = jQuery("input#youtube_playlistID").val();
1382
+ if (feedID.indexOf('youtube.com/playlist?list=') != -1) {
1383
+ feedID = feedID.replace(/\/$/, '');
1384
+ feedID = feedID.substr(feedID.lastIndexOf('=') + 1);
1385
+ var newfeedID = feedID;
1386
+ jQuery('#youtube_playlistID').val(newfeedID);
1387
+ return;
1388
+ }
1389
+ });
1390
+
1391
+ jQuery("#youtube_playlistID2").change(function () {
1392
+ var feedID = jQuery("input#youtube_playlistID2").val();
1393
+ if (feedID.indexOf('youtube.com/playlist?list=') != -1) {
1394
+ feedID = feedID.replace(/\/$/, '');
1395
+ feedID = feedID.substr(feedID.lastIndexOf('=') + 1);
1396
+ var newfeedID = feedID;
1397
+ jQuery('#youtube_playlistID2').val(newfeedID);
1398
+ return;
1399
+ }
1400
+ });
1401
+ // END: Fix issues when people enter the full url instead of just the ID or Name. We'll truncate this at a later date.
1402
+ <?php }
1403
+ else { ?>
1404
+ jQuery("#discount-for-review").click(function () {
1405
+ jQuery('.discount-review-text').slideToggle();
1406
+ });
1407
+ <?php } ?>
1408
+ }); //end document ready
1409
+
1410
+ <?php
1411
+ //Premium JS
1412
+ if (is_plugin_active('feed-them-premium/feed-them-premium.php')) {
1413
+ include(WP_CONTENT_DIR . '/plugins/feed-them-premium/admin/js/youtube-settings-js.js');
1414
+ }
1415
+ ?>
1416
+
1417
+
1418
+ jQuery('#fb_hide_like_box_button_reviews').change(function () {
1419
+ jQuery('.fb_align_likebox_reviews').toggle();
1420
+
1421
+ });
1422
+
1423
+ // Like box/button Options Premium Content
1424
+ jQuery('#facebook-messages-selector').change(function () {
1425
+ if (jQuery("select#facebook-messages-selector").val() == "group" || jQuery("select#facebook-messages-selector").val() == "event" || jQuery("select#facebook-messages-selector").val() == "events" || jQuery("select#facebook-messages-selector").val() == "reviews") {
1426
+ jQuery('.like-box-wrap').hide();
1427
+ // alert(jQuery("select#facebook-messages-selector").val());
1428
+ }
1429
+ else {
1430
+ jQuery('.like-box-wrap').show();
1431
+ }
1432
+ });
1433
+
1434
+ // Carousel and Slideshow Premium Content
1435
+ jQuery('#facebook-messages-selector').change(function () {
1436
+ if (jQuery("select#facebook-messages-selector").val() == "album_photos" || jQuery("select#facebook-messages-selector").val() == "album_videos") {
1437
+ jQuery('.slideshow-wrap').show();
1438
+ // alert(jQuery("select#facebook-messages-selector").val());
1439
+ }
1440
+ else {
1441
+ jQuery('.slideshow-wrap').hide();
1442
+ }
1443
+ });
1444
+ jQuery('#scrollhorz_or_carousel').change(function () {
1445
+ jQuery('.slider_carousel_wrap').toggle();
1446
+ });
1447
+ jQuery('#fts-slider').change(function () {
1448
+ jQuery('.slider_options_wrap').toggle();
1449
+ });
1450
+ </script>
1451
+ <?php }
1452
+ }//END Class
admin/feed-them-system-info.php CHANGED
@@ -54,7 +54,7 @@ class FTS_system_info_page extends feed_them_social_functions {
54
  $theme = $theme_data->Name . ' ' . $theme_data->Version; ?>
55
 
56
  SITE_URL: <?php echo site_url() . "\n"; ?>
57
- Feed Them Social Version: <?php echo ftsystem_version(). "\n"; ?>
58
 
59
  -- Wordpress Configuration:
60
 
@@ -93,7 +93,7 @@ Cache time: <?php echo $this->fts_cachetime_amount($fts_cachetime)
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.
@@ -107,7 +107,7 @@ if ( is_multisite() ) :
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 ) {
@@ -252,5 +252,4 @@ Facebook Reviews Active: <?php echo isset($fb_reviews_token) && $fb_reviews_t
252
  return ob_get_clean();
253
  }
254
 
255
- }//End Class
256
- new FTS_system_info_page();
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
 
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.
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 ) {
252
  return ob_get_clean();
253
  }
254
 
255
+ }//End Class
 
admin/free-plugin-license-page.php CHANGED
@@ -355,5 +355,5 @@ class fts_Free_Plugin_License_Page {
355
  }
356
 
357
  }//End CLASS
358
- new fts_Free_Plugin_License_Page();
359
  ?>
355
  }
356
 
357
  }//End CLASS
358
+
359
  ?>
admin/images/ft-gallery-promo-fts.jpg ADDED
Binary file
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)})})}});
feed-them.php CHANGED
@@ -1,297 +1,383 @@
1
  <?php
2
- /*
3
- Plugin Name: Feed Them Social (Facebook, Instagram, Twitter, etc)
4
- Plugin URI: http://slickremix.com/
5
- Description: Create and display custom feeds for Facebook Groups, Facebook Pages, Facebook Events, Facebook Photos, Facebook Album Covers, Twitter, Instagram, Pinterest and more.
6
- Version: 2.3.6
7
- Author: SlickRemix
8
- Author URI: http://slickremix.com/
9
- Text Domain: feed-them-social
10
- Domain Path: /languages
11
- Requires at least: wordpress 4.5.0
12
- Tested up to: WordPress 4.9.1
13
- Stable tag: 2.3.6
14
- License: GPLv2 or later
15
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
16
-
17
- * @package Feed Them
18
- * @category Core
19
- * @author SlickRemix
20
- * @copyright Copyright (c) 2012-2017 SlickRemix
21
-
22
- Need Support? http://www.slickremix.com/support/
23
- */
24
-
25
- define('FEED_THEM_PLUGIN_PATH', plugins_url());
26
- // Makes sure the plugin is defined before trying to use it
27
- if (!function_exists('is_plugin_active'))
28
- require_once(ABSPATH . '/wp-admin/includes/plugin.php');
29
- $fts_plugin_rel_url = plugin_dir_path(__FILE__);
30
 
31
  /**
32
- * FTS options on activation
33
  *
34
- * @since 2.2.4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  */
36
- function fts_plugin_activation() {
37
- // we add an db option to check then delete the db option after activation and the cache has emptied.
38
- // the delete_option is on the feed-them-functions.php file at the bottom of the function fts_clear_cache_script
39
- add_option( 'Feed_Them_Social_Activated_Plugin', 'feed-them-social' );
40
 
41
- }
42
- //FTS Activation Function
43
- register_activation_hook( __FILE__,'fts_plugin_activation');
44
 
45
- /**
46
- * FTS Load Plugin options on activation check
47
- *
48
- * @since 2.2.4
49
- */
50
- function feed_them_social_load_plugin() {
51
 
52
- if ( is_admin() && get_option( 'Feed_Them_Social_Activated_Plugin' ) == 'feed-them-social' ) {
 
 
 
 
 
 
 
53
 
54
- //Options List
55
- $activation_options = array(
56
- 'fts-date-and-time-format' => 'one-day-ago',
57
- 'fts-timezone' => 'America/New_York',
58
- 'fts_clear_cache_developer_mode' => '86400',
59
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
 
61
- foreach($activation_options as $option_key => $option_value){
62
- // We don't use update_option because we only want this to run for options that have not already been set by the user
63
- add_option($option_key, $option_value);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  }
 
 
65
  }
66
- }
67
- add_action( 'admin_init', 'feed_them_social_load_plugin' );
68
 
69
- /**
70
- * FTS Delete Cache Main
71
- * Used to delete the cache on plugin activation and update wp hooks
72
- *
73
- * @since 2.3.0
74
- */
75
- function fts_delete_cache_main(){
76
- global $wpdb;
77
- $not_expired = $wpdb->query($wpdb->prepare("DELETE FROM $wpdb->options WHERE option_name LIKE %s ", '_transient_fts_%'));
78
- $expired = $wpdb->query($wpdb->prepare("DELETE FROM $wpdb->options WHERE option_name LIKE %s ", '_transient_timeout_fts_%'));
79
- wp_reset_query();
80
- }
81
- /**
82
- * This function runs when WordPress completes its upgrade process
83
- * It iterates through each plugin updated to see if ours is included
84
- *
85
- * @param $upgrader_object Array
86
- * @param $options Array
87
- * @since 2.3.0
88
- */
89
- function ftsocial_upe_upgrade_completed( $upgrader_object, $options ) {
90
- // The path to our plugin's main file
91
- $our_plugin = plugin_basename( __FILE__ );
92
- // If an update has taken place and the updated type is plugins and the plugins element exists
93
- if( $options['action'] == 'update' && $options['type'] == 'plugin' && isset( $options['plugins'] ) ) {
94
- // Iterate through the plugins being updated and check if ours is there
95
- foreach( $options['plugins'] as $plugin ) {
96
- if( $plugin == $our_plugin ) {
97
- // Set a transient to record that our plugin has just been updated
98
- set_transient( 'ftsocial_updated', 1 );
99
  }
100
  }
101
  }
102
- }
103
- add_action( 'upgrader_process_complete', 'ftsocial_upe_upgrade_completed', 10, 2 );
104
 
105
- /**
106
- * Show a notice to anyone who has just updated this plugin
107
- * This notice shouldn't display to anyone who has just installed the plugin for the first time
108
- * @since 2.3.0
109
- */
110
- function ftsocial_upe_display_update_notice() {
111
- // Check the transient to see if we've just updated the plugin
112
- fts_delete_cache_main();
113
- if( get_transient( 'ftsocial_updated' ) ) {
114
- 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>';
115
- delete_transient( 'ftsocial_updated' );
116
  }
117
- }
118
- add_action( 'admin_notices', 'ftsocial_upe_display_update_notice' );
119
 
120
- /**
121
- * Show a notice to anyone who has just installed the plugin for the first time
122
- * This notice shouldn't display to anyone who has just updated this plugin
123
- * @since 2.3.0
124
- */
125
- function ftsocial_upe_display_install_notice() {
126
- // Check the transient to see if we've just activated the plugin
127
- if( get_transient( 'ftsocial_activated' ) ) {
128
- fts_delete_cache_main();
129
- 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>';
130
- // Delete the transient so we don't keep displaying the activation message
131
- delete_transient( 'ftsocial_activated' );
132
  }
133
- }
134
- add_action( 'admin_notices', 'ftsocial_upe_display_install_notice' );
135
 
136
- /**
137
- * Run this on activation
138
- * Set a transient so that we know we've just activated the plugin
139
- *
140
- * @since 2.3.0
141
- */
142
- function ftsocial_activate() {
143
- set_transient( 'ftsocial_activated', 1 );
144
- }
145
- register_activation_hook( __FILE__, 'ftsocial_activate' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
146
 
147
- /**
148
- * FTS System Version
149
- *
150
- * Returns current plugin version.
151
- *
152
- * @return mixed
153
- * @since 1.9.6
154
- */
155
- function ftsystem_version() {
156
- $plugin_data = get_plugin_data(__FILE__);
157
- $plugin_version = $plugin_data['Version'];
158
- return $plugin_version;
159
- }
160
- /**
161
- * FTS Versions Needed
162
- *
163
- * Define minimum premium version allowed to be active with Free Version.
164
- *
165
- * @return array
166
- * @since 1.9.6
167
- */
168
- function fts_versions_needed() {
169
- $fts_versions_needed = array(
170
- 'feed-them-premium/feed-them-premium.php' => '1.5.3',
171
- 'fts-bar/fts-bar.php' => '1.0.8',
172
- 'feed-them-social-facebook-reviews/feed-them-social-facebook-reviews.php' => '1.0.0',
173
- 'feed-them-carousel-premium/feed-them-carousel-premium.php' => '1.0.0',
174
- );
175
- return $fts_versions_needed;
176
- }
177
- // Make sure php version is greater than 5.3
178
- if (function_exists('phpversion'))
179
- $phpversion = phpversion();
180
- $phpcheck = '5.2.9';
181
- if ($phpversion > $phpcheck) {
182
- //Error Handler
183
- include($fts_plugin_rel_url . 'includes/error-handler.php');
184
- new feedthemsocial\fts_error_handler();
185
  /**
186
  * FTS Action Init
187
  *
188
- * @since 1.9.6
 
 
189
  */
190
  function fts_action_init() {
191
- // Localization
192
  load_plugin_textdomain('feed-them-social', false, basename(dirname(__FILE__)) . '/languages');
193
  }
194
- // Add actions
195
- add_action('init', 'fts_action_init');
196
- // Include admin
197
- include($fts_plugin_rel_url . 'admin/feed-them-settings-page.php');
198
- include($fts_plugin_rel_url . 'admin/feed-them-facebook-style-options-page.php');
199
- include($fts_plugin_rel_url . 'admin/feed-them-twitter-style-options-page.php');
200
- include($fts_plugin_rel_url . 'admin/feed-them-instagram-style-options-page.php');
201
- include($fts_plugin_rel_url . 'admin/feed-them-pinterest-style-options-page.php');
202
- include($fts_plugin_rel_url . 'admin/feed-them-youtube-style-options-page.php');
203
- // Include core files and classes
204
- include($fts_plugin_rel_url . 'includes/feed-them-functions.php');
205
- $load_fts = 'feedthemsocial\feed_them_social_functions';
206
- $load_fts = new $load_fts;
207
- $load_fts->init();
208
-
209
- //Free Plugin License page.
210
- include($fts_plugin_rel_url . 'admin/free-plugin-license-page.php');
211
-
212
- // Include feeds
213
- include($fts_plugin_rel_url . 'admin/feed-them-system-info.php');
214
- include($fts_plugin_rel_url . 'feeds/facebook/facebook-feed.php');
215
- include($fts_plugin_rel_url . 'feeds/facebook/facebook-feed-post-types.php');
216
- $load_fb_fts = 'feedthemsocial\FTS_Facebook_Feed';
217
- new $load_fb_fts;
218
- include_once($fts_plugin_rel_url . 'feeds/twitter/twitter-feed.php');
219
- $load_tw_fts = 'feedthemsocial\FTS_Twitter_Feed';
220
- new $load_tw_fts;
221
- include_once($fts_plugin_rel_url . 'feeds/instagram/instagram-feed.php');
222
- include_once($fts_plugin_rel_url . 'feeds/pinterest/pinterest-feed.php');
223
- include_once($fts_plugin_rel_url . 'feeds/youtube/youtube-feed.php');
224
- // include_once($fts_plugin_rel_url . 'feeds/twitter/vine-feed.php');
225
- // $load_vn_fts = 'feedthemsocial\FTS_Vine_Feed';
226
- // new $load_vn_fts;
227
-
228
- } // end if php version check
229
- else {
230
- // if the php version is not at least 5.3 do action
231
- deactivate_plugins('feed-them-social/feed-them.php');
232
- if ($phpversion < $phpcheck) {
233
- add_action('admin_notices', 'fts_required_php_check1');
234
- /**
235
- * FTS Required php Check
236
- *
237
- * @since 1.9.6
238
- */
239
- function fts_required_php_check1() {
240
- 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.', 'my-theme') . '</p></div>';
241
  }
 
242
  }
243
- } // end fts_required_php_check
244
 
245
- // Include our own Settings link to plugin activation and update page.
246
- add_filter("plugin_action_links_" . plugin_basename(__FILE__), "fts_free_plugin_actions", 10, 4);
 
 
 
 
 
 
247
 
248
- /**
249
- * FTS Plugin Actions
250
- *
251
- * @param $actions
252
- * @param $plugin_file
253
- * @param $plugin_data
254
- * @param $context
255
- * @return mixed
256
- * @since 1.9.6
257
- */
258
- function fts_free_plugin_actions($actions, $plugin_file, $plugin_data, $context) {
259
- array_unshift(
260
- $actions, "<a href=\"" . __('https://wordpress.org/support/plugin/feed-them-social') . "\">" . __("Support") . "</a> | <a href=\"" . menu_page_url('feed-them-settings-page', false) . "\">" . __("Settings") . "</a>"
261
 
262
- );
263
- return $actions;
264
- }
 
 
 
 
 
 
 
 
 
265
 
266
- // Include Leave feedback, Get support and Plugin info links to plugin activation and update page.
267
- add_filter("plugin_row_meta", "fts_free_add_leave_feedback_link", 10, 2);
268
 
269
  /**
270
- * FTS Add Leave Feedback Link
 
 
271
  *
272
- * @param $links
273
- * @param $file
274
- * @return mixed
275
- * @since 1.9.6
276
  */
277
- function fts_free_add_leave_feedback_link($links, $file) {
278
- if ($file === plugin_basename(__FILE__)) {
279
- $links['feedback'] = '<a href="http://wordpress.org/support/view/plugin-reviews/feed-them-social" target="_blank">' . __('Rate Plugin', 'feed-them-premium') . '</a>';
280
- // $links['support'] = '<a href="http://www.slickremix.com/support-forum/forum/feed-them-social-2/" target="_blank">' . __('Get support', 'feed-them-premium') . '</a>';
281
- // $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>';
282
- }
283
- return $links;
284
  }
285
 
286
- /**
287
- * Class feed_them_social_functions
288
- */
289
- class feed_them_social_functions {
290
- /**
291
- * Register Settings
292
- *
293
- * @since 1.9.6
294
- */
295
- function register_settings() {
296
- }
297
- }?>
1
  <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
  /**
4
+ * Feed Them Social Class (Main Class)
5
  *
6
+ * This class is what initiates the Feed Them Social class
7
+ *
8
+ * Plugin Name: Feed Them Social (Facebook, Instagram, Twitter, etc)
9
+ * Plugin URI: http://feedthemsocial.com/
10
+ * Description: Create and display custom feeds for Facebook Groups, Facebook Pages, Facebook Events, Facebook Photos, Facebook Album Covers, Twitter, Instagram, Pinterest and more.
11
+ * Version: 2.3.7
12
+ * Author: SlickRemix
13
+ * Author URI: http://slickremix.com/
14
+ * Text Domain: feed-them-social
15
+ * Domain Path: /languages
16
+ * Requires at least: wordpress 4.0.0
17
+ * Tested up to: WordPress 4.9.2
18
+ * Stable tag: 2.3.7
19
+ * License: GPLv2 or later
20
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
21
+ *
22
+ * @version 2.3.7
23
+ * @package FeedThemSocial/Core
24
+ * @copyright Copyright (c) 2012-2018 SlickRemix
25
+ *
26
+ * Need Support? http://www.slickremix.com/my-account
27
  */
 
 
 
 
28
 
29
+ final class Feed_Them_Social {
 
 
30
 
31
+ /**
32
+ * Main Instance of Feed Them Social
33
+ * @var
34
+ */
35
+ private static $instance;
 
36
 
37
+ /**
38
+ * Create Instance of Feed Them Social
39
+ *
40
+ * @since 1.0.0
41
+ */
42
+ public static function instance() {
43
+ if (!isset(self::$instance) && !(self::$instance instanceof Feed_Them_Social)) {
44
+ self::$instance = new Feed_Them_Social;
45
 
46
+ if (!function_exists('is_plugin_active'))
47
+ require_once(ABSPATH . '/wp-admin/includes/plugin.php');
48
+
49
+ // Third check the php version is not less than 5.2.9
50
+ // Make sure php version is greater than 5.3
51
+ if (function_exists('phpversion'))
52
+ $phpversion = phpversion();
53
+ $phpcheck = '5.2.9';
54
+ if ($phpversion > $phpcheck) {
55
+ // Add actions
56
+ add_action('init', array(self::$instance, 'fts_action_init'));
57
+ } // end if php version check
58
+ else {
59
+ // if the php version is not at least 5.3 do action
60
+ deactivate_plugins('feed-them-social/feed-them-social.php');
61
+ if ($phpversion < $phpcheck) {
62
+ add_action('admin_notices', array(self::$instance, 'fts_required_php_check1'));
63
+
64
+ }
65
+ } // end ftg_required_php_check
66
+
67
+ register_activation_hook(__FILE__, array(self::$instance, 'fts_activate'));
68
+
69
+ add_action('admin_init', array(self::$instance, 'feed_them_social_load_plugin'));
70
+ add_action('admin_notices', array(self::$instance, 'fts_install_notice'));
71
+ add_action('admin_notices', array(self::$instance, 'fts_update_notice'));
72
+ add_action('upgrader_process_complete', array(self::$instance, 'fts_upgrade_completed', 10, 2));
73
+
74
+ // Include our own Settings link to plugin activation and update page.
75
+ add_filter('plugin_action_links_' . plugin_basename(__FILE__), array(self::$instance, 'fts_free_plugin_actions'), 10, 4);
76
+
77
+ // Include Leave feedback, Get support and Plugin info links to plugin activation and update page.
78
+ add_filter('plugin_row_meta', array(self::$instance, 'fts_leave_feedback_link'), 10, 2);
79
 
80
+ //Setup Constants for FTS
81
+ self::$instance->setup_constants();
82
+ //add_action( 'plugins_loaded', array( self::$instance, 'load_textdomain' ) );
83
+
84
+ //Include the files
85
+ self::$instance->includes();
86
+
87
+ //Error Handler
88
+ self::$instance->error_handler = new feedthemsocial\fts_error_handler();
89
+
90
+ //FTS Custom Post Type
91
+ //self::$instance->fts_custom_post_type = new feedthemsocial\FTS_Custom_Post_Type();
92
+
93
+ //Core (and load init)
94
+ self::$instance->core_functions = new feedthemsocial\feed_them_social_functions();
95
+
96
+ //Free Plugin License page.
97
+ self::$instance->plugin_license_page = new feedthemsocial\fts_Free_Plugin_License_Page();
98
+
99
+ //Facebook Class
100
+ self::$instance->facebook_feed = new feedthemsocial\FTS_Facebook_Feed();
101
+
102
+ //Twitter Class
103
+ self::$instance->twitter_feed = new feedthemsocial\FTS_Twitter_Feed();
104
+
105
+ //Instagram
106
+ self::$instance->instagram_feed = new feedthemsocial\FTS_Instagram_Feed();
107
+
108
+ //Pinterest
109
+ self::$instance->pinterest_feed = new feedthemsocial\FTS_Pinterest_Feed();
110
+
111
+ //Youtube
112
+ self::$instance->pinterest_feed = new feedthemsocial\FTS_Youtube_Feed_Free();
113
  }
114
+
115
+ return self::$instance;
116
  }
 
 
117
 
118
+ /**
119
+ * This function runs when WordPress completes its upgrade process
120
+ * It iterates through each plugin updated to see if ours is included
121
+ *
122
+ * @param $upgrader_object Array
123
+ * @param $options Array
124
+ * @since 1.0.0
125
+ */
126
+ function fts_upgrade_completed($upgrader_object, $options) {
127
+ // The path to our plugin's main file
128
+ $our_plugin = plugin_basename(__FILE__);
129
+ // If an update has taken place and the updated type is plugins and the plugins element exists
130
+ if ($options['action'] == 'update' && $options['type'] == 'plugin' && isset($options['plugins'])) {
131
+ // Iterate through the plugins being updated and check if ours is there
132
+ foreach ($options['plugins'] as $plugin) {
133
+ if ($plugin == $our_plugin) {
134
+ // Set a transient to record that our plugin has just been updated
135
+ set_transient('fts_updated', 1);
136
+ }
 
 
 
 
 
 
 
 
 
 
 
137
  }
138
  }
139
  }
 
 
140
 
141
+ /**
142
+ * Show a notice to anyone who has just updated this plugin
143
+ * This notice shouldn't display to anyone who has just installed the plugin for the first time
144
+ * @since 1.0.0
145
+ */
146
+ function fts_update_notice() {
147
+ // Check the transient to see if we've just updated the plugin
148
+ if (get_transient('fts_updated')) {
149
+ 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-sociall') . '</p></div>';
150
+ delete_transient('fts_updated');
151
+ }
152
  }
 
 
153
 
154
+ /**
155
+ * Show a notice to anyone who has just installed the plugin for the first time
156
+ * This notice shouldn't display to anyone who has just updated this plugin
157
+ * @since 1.0.0
158
+ */
159
+ function fts_install_notice() {
160
+ // Check the transient to see if we've just activated the plugin
161
+ if (get_transient('fts_activated')) {
162
+ echo '<div class="notice notice-success updated is-dismissible"><p>' . __('Thanks for installing Feed Them Social. To get started please view our <a href="edit.php?post_type=ft_gallery&page=ft-gallery-settings-page">Settings</a> page.', 'feed-them-sociall') . '</p></div>';
163
+ // Delete the transient so we don't keep displaying the activation message
164
+ delete_transient('fts_activated');
165
+ }
166
  }
 
 
167
 
168
+ /**
169
+ * Run this on activation
170
+ * Set a transient so that we know we've just activated the plugin
171
+ *
172
+ * @since 1.0.0
173
+ */
174
+ function fts_activate() {
175
+ set_transient('fts_activated', 1);
176
+
177
+ // we add an db option to check then delete the db option after activation and the cache has emptied.
178
+ // the delete_option is on the feed-them-functions.php file at the bottom of the function ftg_clear_cache_script
179
+ add_option('Feed_Them_Social_Activated_Plugin', 'feed-them-social');
180
+ }
181
+
182
+ /**
183
+ * Setup Constants
184
+ *
185
+ * Setup plugin constants for plugin
186
+ *
187
+ * @since 1.0.0
188
+ */
189
+ private function setup_constants() {
190
+ // Makes sure the plugin is defined before trying to use it
191
+ if (!function_exists('is_plugin_active'))
192
+ require_once(ABSPATH . '/wp-admin/includes/plugin.php');
193
+
194
+ $plugin_data = get_plugin_data(__FILE__);
195
+ $plugin_version = $plugin_data['Version'];
196
+ // Free Version Plugin version
197
+ if (!defined('FEED_THEM_SOCIAL_VERSION')) {
198
+ define('FEED_THEM_SOCIAL_VERSION', $plugin_version);
199
+ }
200
+
201
+ // Plugin Folder Path
202
+ if (!defined('FEED_THEM_SOCIAL_PLUGIN_PATH')) {
203
+ define('FEED_THEM_SOCIAL_PLUGIN_PATH', plugins_url());
204
+ }
205
+ // Plugin Directoy Path
206
+ if (!defined('FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR')) {
207
+ define('FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR', plugin_dir_path(__FILE__));
208
+ }
209
+
210
+ if (is_plugin_active('feed-them-premium/feed-them-premium.php')) {
211
+
212
+ // Plugin Directoy Path
213
+ if (!defined('FEED_THEM_SOCIAL_PREMIUM_PLUGIN_FOLDER_DIR')) {
214
+ define('FEED_THEM_SOCIAL_PREMIUM_PLUGIN_FOLDER_DIR', WP_PLUGIN_DIR . '/feed-them-premium/feed-them-premium.php');
215
+ }
216
+
217
+ }
218
+
219
+ // Define constants:
220
+ if (!defined('MY_TEXTDOMAIN')) {
221
+ define('MY_TEXTDOMAIN', 'feed-them-gallery');
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
+
259
+
260
+ //Free Plugin License page.
261
+ include(FEED_THEM_SOCIAL_PLUGIN_FOLDER_DIR . 'admin/free-plugin-license-page.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=\"" . menu_page_url('fts-settings-page', false) . "\">" . __("Settings") . "</a> | <a href=\"" . __('https://www.slickremix.com/support/') . "\">" . __("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-me-info') . '</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
+ * Feed Them Social
371
+ *
372
+ * Start it up!
373
  *
374
+ * @return feed_them_social
375
+ * @since 1.0.0
 
 
376
  */
377
+ function feed_them_social() {
378
+ return Feed_Them_Social::instance();
 
 
 
 
 
379
  }
380
 
381
+ //Initiate Feed Them Social
382
+ feed_them_social();
383
+ ?>
 
 
 
 
 
 
 
 
 
feeds/css/styles.css CHANGED
@@ -1 +1,60 @@
1
- /* v2.3.5 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 7px 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{border-radius:5px;max-width:100%;box-shadow:none!important}.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}.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}.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-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}.fts-jal-fb-vid-wrap iframe{width:100%;max-height:250px;margin:0!important;padding:0!important}.widget .fts-jal-fb-vid-wrap iframe{width:100%;height:50%;margin:0!important;padding:0!important}.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:0 0 8px rgba(0,0,0,.6);background:#000}.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;min-height:527px}.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;display:inline-block!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-fb-more-photos-wrap 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;display:inline-block}.fts-fb-more-photos-wrap,.fts-more-photos-4-photos{position:relative;top:-3px;margin-left:-1px}.fts-more-photos-3-photos,.fts-more-photos-4-photos{width:100.5%!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-mashup-media-top.fts-mashup-hide-thumbnail .fts-jal-fb-user-name{margin-left:0px!important}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* v2.3.5 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 7px 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{border-radius:5px;max-width:100%;box-shadow:none!important}.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}.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}.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-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}.fts-jal-fb-vid-wrap iframe{width:100%;max-height:250px;margin:0!important;padding:0!important}.widget .fts-jal-fb-vid-wrap iframe{width:100%;height:50%;margin:0!important;padding:0!important}.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:0 0 8px rgba(0,0,0,.6);background:#000}.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;min-height:527px}.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;display:inline-block!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-fb-more-photos-wrap 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;display:inline-block}.fts-fb-more-photos-wrap,.fts-more-photos-4-photos{position:relative;top:-3px;margin-left:-1px}.fts-more-photos-3-photos,.fts-more-photos-4-photos{width:100.5%!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-mashup-media-top.fts-mashup-hide-thumbnail .fts-jal-fb-user-name{margin-left:0px!important}
2
+
3
+ .fts-twitter-text hr {
4
+ }
5
+ .fts-steemit-username {
6
+ display: inline-block;
7
+ background-size: cover;
8
+ background-repeat: no-repeat;
9
+ background-position: 50% 50%;
10
+ border-radius: 50%;
11
+ width: 48px;
12
+ height: 48px;
13
+ margin-bottom:5px;
14
+ }
15
+ .fts-steemit-div .steemit-info img {
16
+ margin:0 !important;
17
+ }
18
+
19
+
20
+ .steemit-info .fts-uppercase {
21
+ margin: 14px 0px 10px 10px;
22
+ }
23
+
24
+
25
+ .fts-steemit-title {
26
+ font-size:18px;
27
+ font-weight:bold;
28
+ margin-bottom:10px;
29
+ letter-spacing:1px;
30
+ font-weight:normal;
31
+ line-height:21px;
32
+ color: #353434;
33
+ }
34
+
35
+ .fts-steemit-div .fts-twitter-retweet:before {
36
+ content: "\f27a" !important;
37
+ font-size: 15px!important;
38
+ top: 1px;
39
+ }
40
+ .fts-steemit-div .fts-twitter-favorites:before {
41
+ content: 'Votes:'!important;
42
+ font-family:arial !important;
43
+ font-size: 14px!important;
44
+ margin-right:3px !important;
45
+ top: 0;
46
+ font-weight:bold;
47
+ }
48
+
49
+ .fts-steemit-div .fts-twitter-reply:before {
50
+ font-family: FontAwesomeSlick;
51
+ content: '\f06e'!important;
52
+ position: relative;
53
+ top: 2px;
54
+ font-size: 19px;
55
+ }
56
+
57
+
58
+ .fts-steemit-title {
59
+ color:#0084b4;
60
+ }
feeds/instagram/instagram-feed.php CHANGED
@@ -703,5 +703,5 @@ class FTS_Instagram_Feed extends feed_them_social_functions
703
  }
704
 
705
  }//fts_instagram_func END CLASS
706
- new FTS_Instagram_Feed();
707
  ?>
703
  }
704
 
705
  }//fts_instagram_func END CLASS
706
+
707
  ?>
feeds/js/fts-global-full.js ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).ready(function() {
2
+ jQuery.fn.ftsShare = function() {
3
+ jQuery('.fts-share-wrap').each(function() {
4
+ var $self = jQuery(this);
5
+ //Share toolip function
6
+ $self.find('.ft-gallery-link-popup').unbind().bind('click', function() {
7
+ $self.find('.ft-gallery-share-wrap').toggle();
8
+ });
9
+ });
10
+ };
11
+ // return our share function after page has loaded to speed things up. Plus this way we can recall it in the loadmore areas of each feed instead of duplicating all the js.
12
+ if (jQuery.fn.ftsShare) {
13
+ jQuery.fn.ftsShare();
14
+ }
15
+
16
+ if (navigator.userAgent.indexOf("Firefox") > 0) {} else {
17
+ jQuery(".fts-instagram-popup-half video, .fts-simple-fb-wrapper video, .fts-slicker-facebook-posts video").click(function() {
18
+ jQuery(this).trigger(this.paused ? this.paused ? "play" : "play" : "pause")
19
+ })
20
+ }
21
+ if (jQuery.fn.masonry) {
22
+ jQuery(".fts-slicker-instagram").masonry({
23
+ itemSelector: ".fts-masonry-option"
24
+ })
25
+ }
26
+ });
27
+ if (!jQuery.trim(jQuery('.fts-jal-fb-group-display').html()).length) {
28
+ jQuery('.fts-jal-fb-group-display').append('<div class="fts-facebook-add-more-posts-notice"><p>Please go to the <strong>Facebook Options</strong> page of our plugin and look for the "<strong>Change Post Limit</strong>" option and add the number <strong>7</strong> or more. You can also hide this notice on the Facebook Options page if you want.</p>If you are trying to add a Personal Facebook feed and you are seeing this message too, please note: <strong>Personal Facebook Accounts generally do not work with our plugin.</strong></div>')
29
+ }
30
+ jQuery(window).load(function() {
31
+ if (jQuery.fn.masonry) {
32
+ setTimeout(function () {
33
+ jQuery(".fts-pinterest-wrapper.masonry").masonry("layout");
34
+ }, 200);
35
+ }
36
+ });
37
+ var ftsMyMinSetWidth = '250';
38
+ jQuery(document).ready(function() {
39
+ if(jQuery('.fts-fb-photo-post-wrap').width() < ftsMyMinSetWidth) {
40
+ jQuery('.fts-fb-thumbs-wrap').css({'max-width': '100%', 'margin-bottom': '1px', 'float': 'left'});
41
+ }
42
+ });
43
+ jQuery(window).resize(function() {
44
+ if(jQuery('.fts-fb-photo-post-wrap').width() < ftsMyMinSetWidth) {
45
+ jQuery('.fts-fb-thumbs-wrap').css({'max-width': '100%', 'margin-bottom': '1px', 'float': 'left'});
46
+ }
47
+ if(jQuery('.fts-fb-photo-post-wrap').width() > ftsMyMinSetWidth){
48
+ jQuery('.fts-fb-thumbs-wrap').removeAttr( 'style' );
49
+ }
50
+ });
51
+
52
+
53
+ var ftsMyMinSetWidthInstagram = '250';
54
+ jQuery(document).ready(function() {
55
+ if(jQuery('.fts-instagram-inline-block-centered').width() < ftsMyMinSetWidthInstagram) {
56
+ jQuery('.slicker-instagram-placeholder').css({'max-width': '100%', 'margin-bottom': '1px', 'float': 'left'});
57
+ }
58
+ });
59
+ jQuery(window).resize(function() {
60
+ if(jQuery('.fts-instagram-inline-block-centered').width() < ftsMyMinSetWidthInstagram) {
61
+ jQuery('.slicker-instagram-placeholder').css({'max-width': '100%', 'margin-bottom': '1px', 'float': 'left'});
62
+ }
63
+ if(jQuery('.fts-instagram-inline-block-centered').width() > ftsMyMinSetWidthInstagram){
64
+ jQuery('.slicker-instagram-placeholder').removeAttr( 'style' );
65
+ }
66
+ });
feeds/js/magnific-popup-full.js ADDED
@@ -0,0 +1,608 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! Magnific Popup - v1.1.0 - 2016-02-20
2
+ * http://dimsemenov.com/plugins/magnific-popup/
3
+ * Copyright (c) 2016 Dmitry Semenov; */
4
+ !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)}(function(a){var b,c,d,e,f,g,h="Close",i="BeforeClose",j="AfterClose",k="BeforeAppend",l="MarkupParse",m="Open",n="Change",o="mfp",p="."+o,q="mfp-ready",r="mfp-removing",s="mfp-prevent-close",t=function(){},u=!!window.jQuery,v=a(window),w=function(a,c){b.ev.on(o+a+p,c)},x=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},y=function(c,d){b.ev.triggerHandler(o+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},z=function(c){return c===g&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),g=c),b.currTemplate.closeBtn},A=function(){a.magnificPopup.instance||(b=new t,b.init(),a.magnificPopup.instance=b)},B=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};t.prototype={constructor:t,init:function(){var c=navigator.appVersion;b.isLowIE=b.isIE8=document.all&&!document.addEventListener,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=B(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document),b.popupsCache={}},open:function(c){var e;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var g,h=c.items;for(e=0;e<h.length;e++)if(g=h[e],g.parsed&&(g=g.el[0]),g===c.el[0]){b.index=e;break}}else b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(b.isOpen)return void b.updateItemHTML();b.types=[],f="",c.mainEl&&c.mainEl.length?b.ev=c.mainEl.eq(0):b.ev=d,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos="auto"===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=x("bg").on("click"+p,function(){b.close()}),b.wrap=x("wrap").attr("tabindex",-1).on("click"+p,function(a){b._checkIfClose(a.target)&&b.close()}),b.container=x("container",b.wrap)),b.contentContainer=x("content"),b.st.preloader&&(b.preloader=x("preloader",b.container,b.st.tLoading));var i=a.magnificPopup.modules;for(e=0;e<i.length;e++){var j=i[e];j=j.charAt(0).toUpperCase()+j.slice(1),b["init"+j].call(b)}y("BeforeOpen"),b.st.showCloseBtn&&(b.st.closeBtnInside?(w(l,function(a,b,c,d){c.close_replaceWith=z(d.type)}),f+=" mfp-close-btn-in"):b.wrap.append(z())),b.st.alignTop&&(f+=" mfp-align-top"),b.fixedContentPos?b.wrap.css({overflow:b.st.overflowY,overflowX:"hidden",overflowY:b.st.overflowY}):b.wrap.css({top:v.scrollTop(),position:"absolute"}),(b.st.fixedBgPos===!1||"auto"===b.st.fixedBgPos&&!b.fixedContentPos)&&b.bgOverlay.css({height:d.height(),position:"absolute"}),b.st.enableEscapeKey&&d.on("keyup"+p,function(a){27===a.keyCode&&b.close()}),v.on("resize"+p,function(){b.updateSize()}),b.st.closeOnContentClick||(f+=" mfp-auto-cursor"),f&&b.wrap.addClass(f);var k=b.wH=v.height(),n={};if(b.fixedContentPos&&b._hasScrollBar(k)){var o=b._getScrollbarSize();o&&(n.marginRight=o)}b.fixedContentPos&&(b.isIE7?a("body, html").css("overflow","hidden"):n.overflow="hidden");var r=b.st.mainClass;return b.isIE7&&(r+=" mfp-ie7"),r&&b._addClassToMFP(r),b.updateItemHTML(),y("BuildControls"),a("html").css(n),b.bgOverlay.add(b.wrap).prependTo(b.st.prependTo||a(document.body)),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(q),b._setFocus()):b.bgOverlay.addClass(q),d.on("focusin"+p,b._onFocusIn)},16),b.isOpen=!0,b.updateSize(k),y(m),c},close:function(){b.isOpen&&(y(i),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(r),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},_close:function(){y(h);var c=r+" "+q+" ";if(b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(c+=b.st.mainClass+" "),b._removeClassFromMFP(c),b.fixedContentPos){var e={marginRight:""};b.isIE7?a("body, html").css("overflow",""):e.overflow="",a("html").css(e)}d.off("keyup"+p+" focusin"+p),b.ev.off(p),b.wrap.attr("class","mfp-wrap").removeAttr("style"),b.bgOverlay.attr("class","mfp-bg"),b.container.attr("class","mfp-container"),!b.st.showCloseBtn||b.st.closeBtnInside&&b.currTemplate[b.currItem.type]!==!0||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b.st.autoFocusLast&&b._lastFocusedEl&&a(b._lastFocusedEl).focus(),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,y(j)},updateSize:function(a){if(b.isIOS){var c=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*c;b.wrap.css("height",d),b.wH=d}else b.wH=a||v.height();b.fixedContentPos||b.wrap.css("height",b.wH),y("Resize")},updateItemHTML:function(){var c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach(),c.parsed||(c=b.parseEl(b.index));var d=c.type;if(y("BeforeChange",[b.currItem?b.currItem.type:"",d]),b.currItem=c,!b.currTemplate[d]){var f=b.st[d]?b.st[d].markup:!1;y("FirstMarkupParse",f),f?b.currTemplate[d]=a(f):b.currTemplate[d]=!0}e&&e!==c.type&&b.container.removeClass("mfp-"+e+"-holder");var g=b["get"+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,y(n,c),e=c.type,b.container.prepend(b.contentContainer),y("AfterChange")},appendContent:function(a,c){b.content=a,a?b.st.showCloseBtn&&b.st.closeBtnInside&&b.currTemplate[c]===!0?b.content.find(".mfp-close").length||b.content.append(z()):b.content=a:b.content="",y(k),b.container.addClass("mfp-"+c+"-holder"),b.contentContainer.append(b.content)},parseEl:function(c){var d,e=b.items[c];if(e.tagName?e={el:a(e)}:(d=e.type,e={data:e,src:e.src}),e.el){for(var f=b.types,g=0;g<f.length;g++)if(e.el.hasClass("mfp-"+f[g])){d=f[g];break}e.src=e.el.attr("data-mfp-src"),e.src||(e.src=e.el.attr("href"))}return e.type=d||b.st.type||"inline",e.index=c,e.parsed=!0,b.items[c]=e,y("ElementParse",e),b.items[c]},addGroup:function(a,c){var d=function(d){d.mfpEl=this,b._openClick(d,a,c)};c||(c={});var e="click.magnificPopup";c.mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a,a.off(e).on(e,d)))},_openClick:function(c,d,e){var f=void 0!==e.midClick?e.midClick:a.magnificPopup.defaults.midClick;if(f||!(2===c.which||c.ctrlKey||c.metaKey||c.altKey||c.shiftKey)){var g=void 0!==e.disableOn?e.disableOn:a.magnificPopup.defaults.disableOn;if(g)if(a.isFunction(g)){if(!g.call(b))return!0}else if(v.width()<g)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},updateStatus:function(a,d){if(b.preloader){c!==a&&b.container.removeClass("mfp-s-"+c),d||"loading"!==a||(d=b.st.tLoading);var e={status:a,text:d};y("UpdateStatus",e),a=e.status,d=e.text,b.preloader.html(d),b.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),b.container.addClass("mfp-s-"+a),c=a}},_checkIfClose:function(c){if(!a(c).hasClass(s)){var d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass("mfp-close")||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else if(e&&a.contains(document,c))return!0;return!1}},_addClassToMFP:function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},_hasScrollBar:function(a){return(b.isIE7?d.height():document.body.scrollHeight)>(a||v.height())},_setFocus:function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).focus()},_onFocusIn:function(c){return c.target===b.wrap[0]||a.contains(b.wrap[0],c.target)?void 0:(b._setFocus(),!1)},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),y(l,[b,c,d]),a.each(c,function(c,d){if(void 0===d||d===!1)return!0;if(e=c.split("_"),e.length>1){var f=b.find(p+"-"+e[0]);if(f.length>0){var g=e[1];"replaceWith"===g?f[0]!==d[0]&&f.replaceWith(d):"img"===g?f.is("img")?f.attr("src",d):f.replaceWith(a("<img>").attr("src",d).attr("class",f.attr("class"))):f.attr(e[1],d)}}else b.find(p+"-"+c).html(d)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:t.prototype,modules:[],open:function(b,c){return A(),b=b?a.extend(!0,{},b):{},b.isObj=!0,b.index=c||0,this.instance.open(b)},close:function(){return a.magnificPopup.instance&&a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},a.fn.magnificPopup=function(c){A();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=u?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else c=a.extend(!0,{},c),u?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var C,D,E,F="inline",G=function(){E&&(D.after(E.addClass(C)).detach(),E=null)};a.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(F),w(h+"."+F,function(){G()})},getInline:function(c,d){if(G(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(D||(C=e.hiddenClass,D=x(C),C="mfp-"+C),E=f.after(D).detach().removeClass(C)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("<div>");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var H,I="ajax",J=function(){H&&a(document.body).removeClass(H)},K=function(){J(),b.req&&b.req.abort()};a.magnificPopup.registerModule(I,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){b.types.push(I),H=b.st.ajax.cursor,w(h+"."+I,K),w("BeforeChange."+I,K)},getAjax:function(c){H&&a(document.body).addClass(H),b.updateStatus("loading");var d=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};y("ParseAjax",g),b.appendContent(a(g.data),I),c.finished=!0,J(),b._setFocus(),setTimeout(function(){b.wrap.addClass(q)},16),b.updateStatus("ready"),y("AjaxContentAdded")},error:function(){J(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(d),""}}});var L,M=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var c=b.st.image,d=".image";b.types.push("image"),w(m+d,function(){"image"===b.currItem.type&&c.cursor&&a(document.body).addClass(c.cursor)}),w(h+d,function(){c.cursor&&a(document.body).removeClass(c.cursor),v.off("resize"+p)}),w("Resize"+d,b.resizeImage),b.isLowIE&&w("AfterChange",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a&&a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,L&&clearInterval(L),a.isCheckingImgSize=!1,y("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){L&&clearInterval(L),L=setInterval(function(){return d.naturalWidth>0?void b._onImageHasSize(a):(c>200&&clearInterval(L),c++,void(3===c?e(10):40===c?e(50):100===c&&e(500)))},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,y("ImageLoadComplete")):(e++,200>e?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=document.createElement("img");j.className="mfp-img",c.el&&c.el.find("img").length&&(j.alt=c.el.find("img").attr("alt")),c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),j=c.img[0],j.naturalWidth>0?c.hasSize=!0:j.width||(c.hasSize=!1)}return b._parseMarkup(d,{title:M(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(L&&clearInterval(L),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var N,O=function(){return void 0===N&&(N=void 0!==document.createElement("p").style.MozTransform),N};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a,c=b.st.zoom,d=".zoom";if(c.enabled&&b.supportsTransition){var e,f,g=c.duration,j=function(a){var b=a.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+c.duration/1e3+"s "+c.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,b.css(e),b},k=function(){b.content.css("visibility","visible")};w("BuildControls"+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.content.css("visibility","hidden"),a=b._getItemToZoom(),!a)return void k();f=j(a),f.css(b._getOffset()),b.wrap.append(f),e=setTimeout(function(){f.css(b._getOffset(!0)),e=setTimeout(function(){k(),setTimeout(function(){f.remove(),a=f=null,y("ZoomAnimationEnded")},16)},g)},16)}}),w(i+d,function(){if(b._allowZoom()){if(clearTimeout(e),b.st.removalDelay=g,!a){if(a=b._getItemToZoom(),!a)return;f=j(a)}f.css(b._getOffset(!0)),b.wrap.append(f),b.content.css("visibility","hidden"),setTimeout(function(){f.css(b._getOffset())},16)}}),w(h+d,function(){b._allowZoom()&&(k(),f&&f.remove(),a=null)})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return b.currItem.hasSize?b.currItem.img:!1},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(u?d.innerHeight():d[0].offsetHeight)-g-f};return O()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var P="iframe",Q="//about:blank",R=function(a){if(b.currTemplate[P]){var c=b.currTemplate[P].find("iframe");c.length&&(a||(c[0].src=Q),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(P,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(P),w("BeforeChange",function(a,b,c){b!==c&&(b===P?R():c===P&&R(!0))}),w(h+"."+P,function(){R()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexOf(this.index)>-1?(this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var S=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},T=function(a,b,c){return a.replace(/%curr%/gi,b+1).replace(/%total%/gi,c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=b.st.gallery,e=".mfp-gallery";return b.direction=!0,c&&c.enabled?(f+=" mfp-gallery",w(m+e,function(){c.navigateByImgClick&&b.wrap.on("click"+e,".mfp-img",function(){return b.items.length>1?(b.next(),!1):void 0}),d.on("keydown"+e,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),w("UpdateStatus"+e,function(a,c){c.text&&(c.text=T(c.text,b.currItem.index,b.items.length))}),w(l+e,function(a,d,e,f){var g=b.items.length;e.counter=g>1?T(c.tCounter,f.index,g):""}),w("BuildControls"+e,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace(/%title%/gi,c.tPrev).replace(/%dir%/gi,"left")).addClass(s),f=b.arrowRight=a(d.replace(/%title%/gi,c.tNext).replace(/%dir%/gi,"right")).addClass(s);e.click(function(){b.prev()}),f.click(function(){b.next()}),b.container.append(e.add(f))}}),w(n+e,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),void w(h+e,function(){d.off(e),b.wrap.off("click"+e),b.arrowRight=b.arrowLeft=null})):!1},next:function(){b.direction=!0,b.index=S(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=S(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=S(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),y("LazyLoad",d),"image"===d.type&&(d.img=a('<img class="mfp-img" />').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,y("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var U="retina";a.magnificPopup.registerModule(U,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(w("ImageHasSize."+U,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),w("ElementParse."+U,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),A()});
5
+
6
+ //SLICKREMIX START OUR CUSTOM POPUPS
7
+ jQuery(document).ready(function() {
8
+
9
+ // Twitter Posts
10
+ jQuery('.popup-gallery-twitter').each(function() { // the containers for all your galleries
11
+ jQuery(this).magnificPopup({
12
+ delegate: 'a.fts-twitter-link-image',
13
+ type: 'image',
14
+ tLoading: 'Loading image #%curr%...',
15
+ mainClass: 'fts-instagram-img-mobile',
16
+ // Delay in milliseconds before popup is removed
17
+ removalDelay: 100,
18
+
19
+ // Class that is added to popup wrapper and background
20
+ // make it unique to apply your CSS animations just to this exact popup
21
+ mainClass: 'fts-instagram-fade',
22
+ gallery: {
23
+ enabled: true,
24
+ navigateByImgClick: true,
25
+ preload: [0,1] // Will preload 0 - before current, and 1 after the current image
26
+ },
27
+ image: {
28
+ tError: '<a href="%url%">The image #%curr%</a> could not be loaded.',
29
+ titleSrc: function(item) {
30
+ return item.el.parents('.fts-tweeter-wrap, .fts-feed-type-twitter').find('.fts-twitter-text, .fts-mashup-description-wrap').html();
31
+ }
32
+ }
33
+ });
34
+ });
35
+
36
+ // Twitter Posts
37
+ jQuery('.fts-master-youtube-wrap').each(function() { // the containers for all your galleries
38
+ jQuery(this).magnificPopup({
39
+ delegate: 'a.fts-yt-popup-open',
40
+ type: 'image',
41
+ tLoading: 'Loading image #%curr%...',
42
+ mainClass: 'fts-instagram-img-mobile',
43
+ // Delay in milliseconds before popup is removed
44
+ removalDelay: 100,
45
+
46
+ // Class that is added to popup wrapper and background
47
+ // make it unique to apply your CSS animations just to this exact popup
48
+ mainClass: 'fts-instagram-fade',
49
+ gallery: {
50
+ enabled: true,
51
+ navigateByImgClick: true,
52
+ preload: [0,1] // Will preload 0 - before current, and 1 after the current image
53
+ },
54
+ image: {
55
+ tError: '<a href="%url%">The image #%curr%</a> could not be loaded.',
56
+ titleSrc: function(item) {
57
+ return item.el.parents('.fts-master-youtube-wrap .slicker-instagram-placeholder').find('.entriestitle').html();
58
+ }
59
+ }
60
+ });
61
+ });
62
+
63
+ var magnificPopup = jQuery.magnificPopup.instance;
64
+
65
+ // SLICKREMIX: MUST HAVE THIS IN PLACE TO ADJUST THE HEIGHT OF THE POPUP
66
+ // When clicked on, it will only adjust the height of the popup based on if the image is higher than the last, otherwise we just leave it and hoz. and vert. align the image.
67
+
68
+ jQuery('body').on('click', '#fts-photo-prev', function() {
69
+ magnificPopup.prev();
70
+ if(jQuery(".fts-popup-image-position, .fts-popup-second-half .mfp-bottom-bar" ).height() < jQuery( ".mfp-img" ).height()){
71
+ jQuery( ".fts-popup-image-position, .fts-popup-second-half .mfp-bottom-bar" ).css("height", jQuery( ".mfp-img" ).height());
72
+ // alert('ok don\'t change');
73
+ }
74
+ else {
75
+ jQuery( ".fts-popup-second-half .mfp-bottom-bar" ).css("height", jQuery( ".fts-popup-image-position" ).height());
76
+ // alert('change');
77
+ }
78
+ // alert('change');
79
+ });
80
+
81
+ jQuery('body').on('click', '#fts-photo-next', function() {
82
+ magnificPopup.next();
83
+ if(jQuery(".fts-popup-image-position, .fts-popup-second-half .mfp-bottom-bar" ).height() < jQuery( ".mfp-img" ).height()){
84
+ jQuery( ".fts-popup-image-position, .fts-popup-second-half .mfp-bottom-bar" ).css("height", jQuery( ".mfp-img" ).height());
85
+ // alert('ok don\'t change');
86
+ }
87
+ else {
88
+ jQuery( ".fts-popup-second-half .mfp-bottom-bar" ).css("height", jQuery( ".fts-popup-image-position" ).height());
89
+ // alert('change');
90
+ }
91
+ });
92
+
93
+ jQuery('body').on('click', '.fts-facebook-popup .mfp-image-holder .fts-popup-image-position', function() {
94
+ magnificPopup.next();
95
+ if(jQuery(".fts-popup-image-position, .fts-popup-second-half .mfp-bottom-bar" ).height() < jQuery( ".mfp-img" ).height()){
96
+ jQuery( ".fts-popup-image-position, .fts-popup-second-half .mfp-bottom-bar" ).css("height", jQuery( ".mfp-img" ).height());
97
+ // alert('ok don\'t change');
98
+ }
99
+ else {
100
+ jQuery( ".fts-popup-second-half .mfp-bottom-bar" ).css("height", jQuery( ".fts-popup-image-position" ).height());
101
+ // alert('change');
102
+ }
103
+ });
104
+
105
+ // SLICKREMIX: MUST HAVE THIS IN PLACE TO BE ABLE TO CHECK WHAT KIND OF VIDEOS ARE BEING CLICKED ON
106
+ jQuery('body').on('click', '#fts-photo-prev, #fts-photo-next, .fts-facebook-popup .mfp-image-holder .fts-popup-image-position', function(e) {
107
+ // alert('test');
108
+ jQuery("body").addClass("fts-using-arrows");
109
+
110
+ setTimeout(function(){
111
+
112
+ // Reload the share each funcion otherwise you can't open share option.
113
+ jQuery.fn.ftsShare();
114
+
115
+ if (/fbcdn.net/i.test(jQuery(".fts-iframe-popup-element").attr("src")) || /scontent.cdninstagram.com/i.test(jQuery(".fts-iframe-popup-element").attr("src"))) {
116
+
117
+ // alert(jQuery(".fts-iframe-popup-element").attr("src"));
118
+ jQuery("body").addClass("fts-video-iframe-choice");
119
+ jQuery(".fts-video-popup-element").show();
120
+ jQuery(".fts-iframe-popup-element").attr("src", "").hide();
121
+
122
+ }
123
+ else {
124
+ // alert('wtf');
125
+ jQuery("body").removeClass("fts-video-iframe-choice, .fts-using-arrows");
126
+ jQuery(".fts-video-popup-element").attr("src", "").hide();
127
+ jQuery(".fts-iframe-popup-element").show();
128
+ }
129
+ }, 10);
130
+ });
131
+ // CLOSE SLICKREMIX
132
+
133
+
134
+ // Facebook Posts
135
+ jQuery.fn.slickFacebookPopUpFunction = function() {
136
+
137
+ jQuery('.popup-gallery-fb-posts, .popup-gallery-fb, .popup-video-gallery-fb').each(function () {
138
+ var $container = jQuery(this);
139
+ var $imageLinks = $container.find('a.fts-facebook-link-target, a.fts-fb-large-photo, a.fts-view-album-photos-large, a.fts-view-fb-videos-large, a.fts-view-fb-videos-btn');
140
+
141
+ var items = [];
142
+ $imageLinks.each(function () {
143
+ var $item = jQuery(this);
144
+ var type = 'image';
145
+ if ($item.hasClass('fts-jal-fb-vid-image')) {
146
+ type = 'iframe';
147
+ }
148
+ var magItem = {
149
+ src: $item.attr('href'),
150
+ type: type,
151
+ };
152
+
153
+ // SLICKREMIX: THIS ADDS THE LIKES, COMMENTS, DESCRIPTION, DATES ETC TO THE POPUP
154
+ magItem.title = jQuery(this).parents('.fts-fb-photo-post-wrap, .fts-events-list-wrap, .fts-jal-single-fb-post').find('.fts-jal-fb-top-wrap').html() + jQuery(this).parents('.fts-fb-photo-post-wrap, .fts-events-list-wrap, .fts-jal-single-fb-post').find('.fts-likes-shares-etc-wrap').html() + jQuery(this).parents('.fts-fb-photo-post-wrap, .fts-events-list-wrap, .fts-jal-single-fb-post').find('.fts-fb-comments-wrap').html();
155
+
156
+ items.push(magItem);
157
+ });
158
+
159
+ $imageLinks.magnificPopup({
160
+ mainClass: 'fts-facebook-popup fts-facebook-styles-popup',
161
+ items: items,
162
+ removalDelay: 150,
163
+ preloader: false,
164
+ closeOnContentClick: false,
165
+ closeOnBgClick: true,
166
+ closeBtnInside: true,
167
+ showCloseBtn: false,
168
+ enableEscapeKey: true,
169
+ autoFocusLast: false,
170
+ gallery:{
171
+ enabled: true,
172
+ navigateByImgClick: false,
173
+ tCounter: '<span class="mfp-counter">%curr% of %total%</span>', // markup of counter
174
+ preload: [0,1], // Will preload 0 - before current, and 1 after the current
175
+ arrowMarkup: '', // markup of an arrow button (slickremix = leave blank so we can show our custom buttons inside the framework)
176
+ },
177
+ type: 'image',
178
+ callbacks: {
179
+ beforeOpen: function() {
180
+ var index = $imageLinks.index(this.st.el);
181
+ if (-1 !== index) {
182
+ this.goTo(index);
183
+ }
184
+ },
185
+ open: function() {
186
+ console.log('Popup is opened');
187
+
188
+ // Reload the share each funcion otherwise you can't open share option.
189
+ jQuery.fn.ftsShare();
190
+
191
+ if(jQuery(".fts-popup-half .mfp-iframe-scaler")[0]){
192
+ jQuery( ".fts-popup-image-position" ).css("height", '591px');
193
+ }
194
+ jQuery(window).resize(function() {
195
+
196
+ jQuery( ".fts-popup-second-half .mfp-bottom-bar" ).css("height", jQuery( ".fts-popup-image-position" ).height());
197
+
198
+ jQuery( ".fts-popup-image-position, .fts-popup-second-half .mfp-bottom-bar" ).css("height", jQuery( ".mfp-img" ).height());
199
+ });
200
+ jQuery(window).trigger('resize');
201
+
202
+ // slickremix trick to get the poster url from a tag we are clicking and pass it to the video player.
203
+ // We only want to load the poster if the size is mobile because tablets and desktops can/will play video automatically on popup
204
+ if (matchMedia('only screen and (max-device-width: 736px)').matches) {
205
+ var atagvideo = event.target.id;
206
+ var videoposter = jQuery('#'+atagvideo).data('poster');
207
+ var video = jQuery('.fts-fb-vid-popup video');
208
+ video.attr('poster', videoposter);
209
+ // alert(videoposter);
210
+ console.log(videoposter);
211
+ }
212
+ // SLICKREMIX: MUST HAVE THIS IN PLACE TO BE ABLE TO ADD THE CLASS TO BODY SO WE CAN DO ACTIONS ON OUR CUSTOM PREV AND NEXT BUTTONS
213
+ // alert('added fts-using-arrows class on popup open')
214
+ jQuery("body").addClass("fts-using-arrows");
215
+
216
+
217
+ },
218
+ change: function() {
219
+
220
+
221
+ // Reload the share each funcion otherwise you can't open share option.
222
+ jQuery.fn.ftsShare();
223
+
224
+ console.log('Content changed');
225
+ console.log(this.content); // Direct reference to your popup element
226
+ if(jQuery("body").hasClass("fts-using-arrows")) {
227
+
228
+
229
+ if(jQuery(".fts-popup-half .mfp-iframe-scaler")[0]){
230
+ jQuery( ".fts-popup-image-position" ).css("height", '591px');
231
+ // alert('iframe-scaler');
232
+ }
233
+ else{
234
+ if(jQuery(".fts-popup-image-position" ).css("height") == "auto"){
235
+ jQuery( ".fts-popup-image-position, .fts-popup-second-half .mfp-bottom-bar" ).css("height", jQuery( ".mfp-img" ).height());
236
+ alert('image');
237
+
238
+ }
239
+ }
240
+
241
+
242
+ }
243
+
244
+ },
245
+
246
+ imageLoadComplete: function() {
247
+ // fires when image in current popup finished loading
248
+ // avaiable since v0.9.0
249
+
250
+
251
+ if(jQuery(".fts-popup-image-position, .fts-popup-second-half .mfp-bottom-bar" ).height() < jQuery( ".mfp-img" ).height()){
252
+ jQuery( ".fts-popup-image-position, .fts-popup-second-half .mfp-bottom-bar" ).css("height", jQuery( ".mfp-img" ).height());
253
+ // alert('image');
254
+
255
+ }
256
+ else {
257
+ jQuery( ".fts-popup-second-half .mfp-bottom-bar" ).css("height", jQuery( ".fts-popup-image-position" ).height());
258
+ // alert('change');
259
+ }
260
+
261
+ },
262
+ markupParse: function(template, values, item) {
263
+ // Triggers each time when content of popup changes

264
+ console.log('Parsing:', template, values, item);
265
+
266
+
267
+
268
+ // SLICKREMIX: MUST HAVE THIS IN PLACE TO BE ABLE TO CHECK WHAT KIND OF VIDEOS ARE BEING CLICKED ON
269
+ if(!jQuery("body").hasClass("fts-using-arrows")) {
270
+
271
+ var ftsLinkCheck = item.src;
272
+
273
+ if (/fbcdn.net/i.test(ftsLinkCheck) && item.type !== 'image') {
274
+ // alert('FB Video Change photo Trigger from MP');
275
+ jQuery("body").addClass("fts-video-iframe-choice");
276
+ }
277
+ else if (!jQuery("body").hasClass("fts-using-arrows")) {
278
+ // alert('Not using arrows open photo Trigger from MP');
279
+ jQuery("body").removeClass("fts-video-iframe-choice");
280
+ }
281
+
282
+ }
283
+ // CLOSE SLICKREMIX
284
+
285
+ },
286
+ afterClose: function() {
287
+ jQuery("body").removeClass("fts-using-arrows");
288
+ console.log('Popup is completely closed');
289
+ },
290
+ },
291
+ image: {
292
+ markup: '' +
293
+ '<div class="mfp-figure"><div class="mfp-close">X</div>'+
294
+ '<div class="fts-popup-wrap">' +
295
+ ' <div class="fts-popup-half ">' +
296
+ ' <button title="previous" type="button" id="fts-photo-prev" class="mfp-arrow mfp-arrow-left mfp-prevent-close"></button>' +
297
+ ' <div class="fts-popup-image-position" style="height:591px;">' +
298
+ ' <span class="fts-position-helper"></span><div class="mfp-img"></div>' +
299
+ ' </div>' +
300
+ ' <button title="next" type="button" id="fts-photo-next" class="mfp-arrow mfp-arrow-right mfp-prevent-close"></button>' +
301
+ ' </div>'+
302
+ '<div class="fts-popup-second-half">' +
303
+ '<div class="mfp-bottom-bar">'+
304
+ '<div class="mfp-title"></div>' +
305
+ '<a class="fts-powered-by-text" href="https://slickremix.com" target="_blank">Powered by Feed Them Social</a>'+
306
+ '<div class="mfp-counter"></div>'+
307
+ '</div>' +
308
+ '</div>' +
309
+ '</div>'+
310
+ '</div>', // Popup HTML markup. `.mfp-img` div will be replaced with img tag, `.mfp-close` by close button
311
+
312
+ tError: '<a href="%url%">The image #%curr%</a> could not be loaded.',
313
+
314
+ },
315
+ iframe: {
316
+ markup: '' +
317
+ '<div class="mfp-figure"><div class="mfp-close">X</div>'+
318
+ '<div class="fts-popup-wrap">' +
319
+ ' <div class="fts-popup-half ">' +
320
+ ' <button title="previous" type="button" id="fts-photo-prev" class="mfp-arrow mfp-arrow-left mfp-prevent-close"></button>' +
321
+ ' <div class="fts-popup-image-position">' +
322
+ ' <div class="mfp-iframe-scaler"><iframe class="mfp-iframe fts-iframe-popup-element" frameborder="0" allowfullscreen></iframe><video class="mfp-iframe fts-video-popup-element" allowfullscreen autoplay controls></video>' +
323
+ ' </div>' +
324
+ ' <button title="next" type="button" id="fts-photo-next" class="mfp-arrow mfp-arrow-right mfp-prevent-close"></button>' +
325
+ '<script>' +
326
+ // SLICKREMIX: MUST HAVE THIS IN PLACE TO BE ABLE TO CHECK WHAT KIND OF VIDEOS ARE BEING CLICKED ON WHEN FIRST LOADED, AFTER THEY ARE LOADED REFER TO THE CLICK FUNCTION FOR THE ERRORS ABOVE
327
+ 'if(jQuery("body").hasClass("fts-video-iframe-choice")){jQuery(".fts-iframe-popup-element").attr("src", "").hide(); } else if(!jQuery("body").hasClass("fts-using-arrows")){jQuery(".fts-video-popup-element").attr("src", "").hide(); }; jQuery(".fts-facebook-popup video").click(function(){jQuery(this).trigger(this.paused ? this.paused ? "play" : "play" : "pause")}); </script>' +
328
+ ' </div>' +
329
+ ' </div>'+
330
+ '<div class="fts-popup-second-half">' +
331
+ '<div class="mfp-bottom-bar">'+
332
+ '<div class="mfp-title"></div>' +
333
+ '<a class="fts-powered-by-text" href="https://slickremix.com" target="_blank">Powered by Feed Them Social</a>'+
334
+ '<div class="mfp-counter"></div>'+
335
+ '</div>' +
336
+ '</div>' +
337
+ '</div>'+
338
+ '</div>', // Popup HTML markup. `.mfp-img` div will be replaced with img tag, `.mfp-close` by close button
339
+
340
+ srcAction: 'iframe_src', // Templating object key. First part defines CSS selector, second attribute. "iframe_src" means: find "iframe" and set attribute "src".


341
+ }
342
+ });
343
+
344
+ });
345
+ }
346
+ //Return the function right away
347
+ jQuery.fn.slickFacebookPopUpFunction();
348
+
349
+ // TEST POPUP WITH ALERTS FOR DEBUGGIN
350
+ // 'if(jQuery("body").hasClass("fts-video-iframe-choice")){alert("fts-video-choice not using arrows"); jQuery(".fts-iframe-popup-element").attr("src", "").hide(); } else if(!jQuery("body").hasClass("fts-using-arrows")){alert("fts-iframe-choice not using arrows"); jQuery(".fts-video-popup-element").attr("src", "").hide(); }; jQuery(".fts-facebook-popup video").click(function(){jQuery(this).trigger(this.paused ? this.paused ? "play" : "play" : "pause")});</script>' +
351
+
352
+
353
+
354
+
355
+
356
+
357
+
358
+
359
+
360
+
361
+
362
+
363
+
364
+
365
+
366
+
367
+
368
+
369
+
370
+
371
+
372
+
373
+
374
+
375
+
376
+
377
+
378
+
379
+
380
+
381
+
382
+
383
+
384
+
385
+
386
+
387
+
388
+
389
+ // Facebook Posts
390
+ jQuery.fn.slickInstagramPopUpFunction = function() {
391
+
392
+ jQuery('.popup-gallery').each(function () {
393
+ var $container = jQuery(this);
394
+ var $imageLinks = $container.find('.fts-instagram-link-target');
395
+
396
+ var items = [];
397
+ $imageLinks.each(function () {
398
+ var $item = jQuery(this);
399
+ var type = 'image';
400
+ if ($item.hasClass('fts-instagram-video-link')) {
401
+ type = 'iframe';
402
+ }
403
+ var magItem = {
404
+ src: $item.attr('href'),
405
+ type: type,
406
+ };
407
+ // SLICKREMIX: THIS ADDS THE LIKES, COMMENTS, DESCRIPTION, DATES ETC TO THE POPUP
408
+ magItem.title = jQuery(this).parents('.fts-instagram-wrapper').find('.fts-instagram-popup-profile-wrap').html() + jQuery(this).parents('.fts-instagram-wrapper').find('.slicker-date').html() + jQuery(this).parents('.fts-instagram-wrapper').find('.fts-insta-likes-comments-grab-popup').html() + jQuery(this).parents('.fts-instagram-wrapper').find('.fts-instagram-caption').html();
409
+
410
+ items.push(magItem);
411
+ });
412
+
413
+ $imageLinks.magnificPopup({
414
+ mainClass: 'fts-facebook-popup fts-instagram-styles-popup',
415
+ items: items,
416
+ removalDelay: 150,
417
+ preloader: false,
418
+ closeOnContentClick: false,
419
+ closeOnBgClick: true,
420
+ closeBtnInside: true,
421
+ showCloseBtn: false,
422
+ enableEscapeKey: true,
423
+ autoFocusLast: false,
424
+ gallery:{
425
+ enabled: true,
426
+ navigateByImgClick: false,
427
+ tCounter: '<span class="mfp-counter">%curr% of %total%</span>', // markup of counter
428
+ preload: [0,1], // Will preload 0 - before current, and 1 after the current
429
+ arrowMarkup: '', // markup of an arrow button (slickremix = leave blank so we can show our custom buttons inside the framework)
430
+
431
+ },
432
+ type: 'image',
433
+ callbacks: {
434
+ beforeOpen: function() {
435
+ var index = $imageLinks.index(this.st.el);
436
+ if (-1 !== index) {
437
+ this.goTo(index);
438
+ }
439
+ },
440
+ open: function() {
441
+ console.log('Popup is opened');
442
+
443
+ // Reload the share each funcion otherwise you can't open share option.
444
+ jQuery.fn.ftsShare();
445
+
446
+ // if(jQuery(".fts-popup-half .mfp-iframe-scaler")[0]){
447
+ // jQuery( ".fts-popup-image-position" ).css("height", '471px');
448
+ // }
449
+ jQuery(window).resize(function() {
450
+
451
+ jQuery( ".fts-popup-second-half .mfp-bottom-bar" ).css("height", jQuery( ".fts-popup-image-position" ).height());
452
+
453
+ // jQuery( ".fts-popup-image-position, .fts-popup-second-half .mfp-bottom-bar" ).css("height", jQuery( ".mfp-img" ).height());
454
+ });
455
+ jQuery(window).trigger('resize');
456
+
457
+
458
+ // slickremix trick to get the poster url from a tag we are clicking and pass it to the video player.
459
+ // We only want to load the poster if the size is mobile because tablets and desktops can/will play video automatically on popup
460
+ if (matchMedia('only screen and (max-device-width: 736px)').matches) {
461
+ var atagvideo = event.target.id;
462
+ var videoposter = jQuery('#'+atagvideo).data('poster');
463
+ var video = jQuery('.fts-fb-vid-popup video');
464
+ video.attr('poster', videoposter);
465
+ // alert(videoposter);
466
+ console.log(videoposter);
467
+ }
468
+ // SLICKREMIX: MUST HAVE THIS IN PLACE TO BE ABLE TO ADD THE CLASS TO BODY SO WE CAN DO ACTIONS ON OUR CUSTOM PREV AND NEXT BUTTONS
469
+ // alert('added fts-using-arrows class on popup open')
470
+ jQuery("body").addClass("fts-using-arrows");
471
+
472
+
473
+ },
474
+ change: function() {
475
+ console.log('Content changed');
476
+ console.log(this.content); // Direct reference to your popup element
477
+
478
+
479
+ // Reload the share each funcion otherwise you can't open share option.
480
+ jQuery.fn.ftsShare();
481
+
482
+
483
+ if(jQuery("body").hasClass("fts-using-arrows")) {
484
+
485
+ }
486
+
487
+ },
488
+
489
+ imageLoadComplete: function() {
490
+ // fires when image in current popup finished loading
491
+ // avaiable since v0.9.0
492
+
493
+ // Reload the share each funcion otherwise you can't open share option.
494
+ jQuery.fn.ftsShare();
495
+
496
+ if(jQuery(".fts-popup-image-position, .fts-popup-second-half .mfp-bottom-bar" ).height() < jQuery( ".mfp-img" ).height()){
497
+ jQuery( ".fts-popup-image-position, .fts-popup-second-half .mfp-bottom-bar" ).css("height", jQuery( ".mfp-img" ).height());
498
+ // alert('image');
499
+
500
+ }
501
+ else {
502
+ jQuery( ".fts-popup-second-half .mfp-bottom-bar" ).css("height", jQuery( ".fts-popup-image-position" ).height());
503
+ // alert('change');
504
+ }
505
+
506
+ },
507
+ markupParse: function(template, values, item) {
508
+ // Triggers each time when content of popup changes

509
+ console.log('Parsing:', template, values, item);
510
+
511
+ // SLICKREMIX: MUST HAVE THIS IN PLACE TO BE ABLE TO CHECK WHAT KIND OF VIDEOS ARE BEING CLICKED ON
512
+ if(!jQuery("body").hasClass("fts-using-arrows")) {
513
+
514
+ var ftsLinkCheck = item.src;
515
+
516
+ if (/fbcdn.net/i.test(ftsLinkCheck) && item.type !== 'image') {
517
+ // alert('FB Video Change photo Trigger from MP');
518
+ jQuery("body").addClass("fts-video-iframe-choice");
519
+ }
520
+ else if (!jQuery("body").hasClass("fts-using-arrows")) {
521
+ // alert('Not using arrows open photo Trigger from MP');
522
+ jQuery("body").removeClass("fts-video-iframe-choice");
523
+ }
524
+
525
+ }
526
+ // CLOSE SLICKREMIX
527
+
528
+ },
529
+ afterClose: function() {
530
+ jQuery("body").removeClass("fts-using-arrows");
531
+ console.log('Popup is completely closed');
532
+ },
533
+ },
534
+ image: {
535
+ markup: '' +
536
+ '<div class="mfp-figure"><div class="mfp-close">X</div>'+
537
+ '<div class="fts-popup-wrap">' +
538
+ ' <div class="fts-popup-half fts-instagram-popup-half">' +
539
+ ' <button title="previous" type="button" id="fts-photo-prev" class="mfp-arrow mfp-arrow-left mfp-prevent-close"></button>' +
540
+ ' <div class="fts-popup-image-position">' +
541
+ ' <span class="fts-position-helper"></span><div class="mfp-img"></div>' +
542
+ ' </div>' +
543
+ ' <button title="next" type="button" id="fts-photo-next" class="mfp-arrow mfp-arrow-right mfp-prevent-close"></button>' +
544
+ ' </div>'+
545
+ '<div class="fts-popup-second-half fts-instagram-popup-second-half">' +
546
+ '<div class="mfp-bottom-bar">'+
547
+ '<div class="mfp-title"></div>' +
548
+ '<a class="fts-powered-by-text" href="http://feedthemsocial.com" target="_blank">Powered by Feed Them Social</a>'+
549
+ '<div class="mfp-counter"></div>'+
550
+ '</div>' +
551
+ '</div>' +
552
+ '</div>'+
553
+ '</div>', // Popup HTML markup. `.mfp-img` div will be replaced with img tag, `.mfp-close` by close button
554
+
555
+ tError: '<a href="%url%">The image #%curr%</a> could not be loaded.',
556
+
557
+ },
558
+ iframe: {
559
+ markup: '' +
560
+ '<div class="mfp-figure"><div class="mfp-close">X</div>'+
561
+ '<div class="fts-popup-wrap">' +
562
+ ' <div class="fts-popup-half fts-instagram-popup-half">' +
563
+ ' <button title="previous" type="button" id="fts-photo-prev" class="mfp-arrow mfp-arrow-left mfp-prevent-close"></button>' +
564
+ ' <div class="fts-popup-image-position">' +
565
+ ' <div class="mfp-iframe-scaler"><iframe class="mfp-iframe fts-iframe-popup-element" frameborder="0" allowfullscreen></iframe><video class="mfp-iframe fts-video-popup-element" allowfullscreen autoplay controls></video>' +
566
+ ' </div>' +
567
+ ' <button title="next" type="button" id="fts-photo-next" class="mfp-arrow mfp-arrow-right mfp-prevent-close"></button>' +
568
+ '<script>' +
569
+ // SLICKREMIX: MUST HAVE THIS IN PLACE TO BE ABLE TO CHECK WHAT KIND OF VIDEOS ARE BEING CLICKED ON WHEN FIRST LOADED, AFTER THEY ARE LOADED REFER TO THE CLICK FUNCTION FOR THE ERRORS ABOVE
570
+ 'if(jQuery("body").hasClass("fts-video-iframe-choice")){jQuery(".fts-iframe-popup-element").attr("src", "").hide(); } else if(!jQuery("body").hasClass("fts-using-arrows")){jQuery(".fts-video-popup-element").attr("src", "").hide(); }; jQuery(".fts-facebook-popup video").click(function(){jQuery(this).trigger(this.paused ? this.paused ? "play" : "play" : "pause")});</script>' +
571
+ ' </div>' +
572
+ ' </div>'+
573
+ '<div class="fts-popup-second-half fts-instagram-popup-second-half">' +
574
+ '<div class="mfp-bottom-bar">'+
575
+ '<div class="mfp-title"></div>' +
576
+ '<a class="fts-powered-by-text" href="http://feedthemsocial.com" target="_blank">Powered by Feed Them Social</a>'+
577
+ '<div class="mfp-counter"></div>'+
578
+ '</div>' +
579
+ '</div>' +
580
+ '</div>'+
581
+ '</div>', // Popup HTML markup. `.mfp-img` div will be replaced with img tag, `.mfp-close` by close button
582
+
583
+ srcAction: 'iframe_src', // Templating object key. First part defines CSS selector, second attribute. "iframe_src" means: find "iframe" and set attribute "src".


584
+ }
585
+ });
586
+
587
+ });
588
+ }
589
+ //Return the function right away
590
+ jQuery.fn.slickInstagramPopUpFunction();
591
+
592
+ // Vine Videos
593
+ jQuery('.fts-vine-wrapper').each(function() { // the containers for all your galleries
594
+ jQuery(this).magnificPopup({
595
+ delegate: 'a.fts-vine-thumbnail',
596
+ tLoading: 'Loading image #%curr%...',
597
+ mainClass: 'fts-vine-vid-popup',
598
+ type:'inline',
599
+ removalDelay: 100,
600
+ midClick: true, // allow opening popup on middle mouse click. Always set it to true if you don't provide alternative source.
601
+ gallery: {
602
+ enabled: true,
603
+ navigateByImgClick: true,
604
+ preload: [0,1] // Will preload 0 - before current, and 1 after the current image
605
+ }
606
+ });
607
+ });
608
+ });
feeds/js/update-from-bottom.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(t){"use strict";t(document).ready(function(){t("#publish").val()==updatefrombottomParams.publish?t('<div class="updatefrombottom" ><a class="button button-totop">'+updatefrombottomParams.totop+'</a><a class="button button-primary button-large">'+updatefrombottomParams.publish+"</a></div>").appendTo(".tab-content"):t('<div class="updatefrombottom"><a class="button button-totop">'+updatefrombottomParams.totop+'</a><a class="button button-primary button-large">'+updatefrombottomParams.update+"</a></div>").appendTo(".tab-content");var o={box:t(".updatefrombottom"),heart:t("#jsc-heart"),update:t(".updatefrombottom .button-primary"),publish:t("#publish"),totop:t(".updatefrombottom .button-totop")};o.box.hide(),o.update.on("click",function(a){t(this).text()==updatefrombottomParams.publish?t(this).text(updatefrombottomParams.publishing):t(this).text(updatefrombottomParams.updating),o.publish.trigger("click"),a.preventDefault()}),o.totop.on("click",function(o){o.preventDefault(),t("html, body").animate({scrollTop:0},600)}),t.fn.isInViewport=function(){var o=t(this).offset().top,a=o+t(this).outerHeight(),u=t(window).scrollTop(),e=u+t(window).height();return a>u&&e>o},t(window).on("resize scroll",function(){t("#publish").isInViewport()?o.box.hide():o.box.show()})})}(jQuery);
feeds/pinterest/pinterest-feed.php CHANGED
@@ -382,5 +382,4 @@ class FTS_Pinterest_Feed extends feed_them_social_functions
382
 
383
  }
384
  }//END FTS_Pinterest_Feed
385
- new FTS_Pinterest_Feed();
386
  ?>
382
 
383
  }
384
  }//END FTS_Pinterest_Feed
 
385
  ?>
feeds/twitter/twitteroauth/twitteroauth.php CHANGED
@@ -70,7 +70,7 @@ require_once('OAuth.php');
70
 
71
  /**
72
  * Get a request_token from Twitter
73
- *
74
  * @returns a key/value array containing oauth_token and oauth_token_secret
75
  */
76
  function getRequestToken($oauth_callback = NULL) {
70
 
71
  /**
72
  * Get a request_token from Twitter
73
+ *2
74
  * @returns a key/value array containing oauth_token and oauth_token_secret
75
  */
76
  function getRequestToken($oauth_callback = NULL) {
feeds/youtube/youtube-feed.php CHANGED
@@ -949,5 +949,4 @@ class FTS_Youtube_Feed_Free extends feed_them_social_functions
949
  return $output;
950
  }
951
  }
952
- new FTS_Youtube_Feed_Free();
953
  ?>
949
  return $output;
950
  }
951
  }
 
952
  ?>
includes/error-handler.php CHANGED
@@ -19,9 +19,42 @@ class fts_error_handler
19
  *
20
  * @since 1.9.6
21
  */
22
- function __construct()
23
- {
24
- $this->fts_plugin_version_check();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  }
26
 
27
  /**
@@ -32,26 +65,28 @@ class fts_error_handler
32
  * @return bool
33
  * @since 1.9.6
34
  */
35
- function fts_plugin_version_check()
36
- {
37
  // return error if no data retreived
38
  try {
39
- $update_msg = 'Please update ALL Premium Extensions for Feed Them Social because they will no longer work with this version of Feed Them Social. We have made some Major Changes to the Core of the plugin to help with plugin conflicts. Please update your extensions from your <a href="http://www.slickremix.com/my-account" target="_blank">My Account</a> page on our website if you are not receiving notifications for updates on the premium extensions. Thanks again for using our plugin!';
40
 
41
- $list_old_plugins = array(
42
- 'feed-them-premium/feed-them-premium.php',
43
- 'fts-bar/fts-bar.php',
44
- 'feed-them-social-facebook-reviews/feed-them-social-facebook-reviews.php'
45
- );
46
  $plugins = get_plugins();
47
- foreach ($list_old_plugins as $single_plugin) {
48
- require_once(ABSPATH . '/wp-admin/includes/plugin.php');
 
 
 
 
 
 
 
49
  if (isset($plugins[$single_plugin])) {
50
- $fts_versions_needed = \fts_versions_needed();
51
- if ($plugins[$single_plugin]['Version'] < $fts_versions_needed[$single_plugin] && is_plugin_active($single_plugin)) {
52
- //Don't Let Old Plugins Activate
53
- throw new \Exception('<div class="fts-update-message fts_old_plugins_message">' . $update_msg . '</div>');
54
  deactivate_plugins($single_plugin);
 
 
 
55
  }
56
  }
57
  }
@@ -61,6 +96,7 @@ class fts_error_handler
61
  });
62
  return true;
63
  }
 
64
  }
65
 
66
  /**
19
  *
20
  * @since 1.9.6
21
  */
22
+ function __construct() {
23
+ add_action( 'admin_init', array($this, 'fts_plugin_version_check'));
24
+ }
25
+
26
+ /**
27
+ * FTS Versions Needed
28
+ *
29
+ * Define minimum premium version allowed to be active with Free Version.
30
+ *
31
+ * @return array
32
+ * @since 1.9.6
33
+ */
34
+ function fts_versions_needed() {
35
+ $fts_versions_needed = array(
36
+ 'feed-them-premium/feed-them-premium.php' => array(
37
+ 'clean_name' => __('Feed Them Premium', 'feed-them-social'),
38
+ 'version_needed' =>'1.5.3'
39
+ ),
40
+ 'fts-bar/fts-bar.php' => array(
41
+ 'clean_name' => __('FTS Bar', 'feed-them-social'),
42
+ 'version_needed' =>'1.0.8'
43
+ ),
44
+ 'feed-them-social-facebook-reviews/feed-them-social-facebook-reviews.php' => array(
45
+ 'clean_name' => __('Feed Them Social Facebook Reviews', 'feed-them-social'),
46
+ 'version_needed' =>'1.0.0'
47
+ ),
48
+ 'feed-them-carousel-premium/feed-them-carousel-premium.php' => array(
49
+ 'clean_name' => __('Feed Them Carousel Premium', 'feed-them-social'),
50
+ 'version_needed' =>'1.0.0'
51
+ ),
52
+ 'feed-them-social-combined-streams/feed-them-social-combined-streams.php' => array(
53
+ 'clean_name' => __('Feed Them Social Combined Streams', 'feed-them-social'),
54
+ 'version_needed' =>'1.1.1'
55
+ ),
56
+ );
57
+ return $fts_versions_needed;
58
  }
59
 
60
  /**
65
  * @return bool
66
  * @since 1.9.6
67
  */
68
+ function fts_plugin_version_check() {
 
69
  // return error if no data retreived
70
  try {
71
+ $update_msg = __('Please update ALL Premium Extensions for Feed Them Social because they will no longer work with this version of Feed Them Social. We have made some Major Changes to the Core of the plugin to help with plugin conflicts. Please update your extensions from your <a href="http://www.slickremix.com/my-account" target="_blank">My Account</a> page on our website if you are not receiving notifications for updates on the premium extensions. Thanks again for using our plugin!', 'feed-them-social');
72
 
 
 
 
 
 
73
  $plugins = get_plugins();
74
+
75
+ if (!function_exists('is_plugin_active') || !function_exists('deactivate_plugins')){
76
+ require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
77
+ }
78
+
79
+ $fts_versions_needed = $this->fts_versions_needed();
80
+
81
+ foreach ($fts_versions_needed as $single_plugin => $plugin_info) {
82
+
83
  if (isset($plugins[$single_plugin])) {
84
+ //Check Version Compatibility if Extensions are not a new enough version deactivate them and throw errors!
85
+ if ($plugins[$single_plugin]['Version'] < $fts_versions_needed[$single_plugin]['version_needed'] && is_plugin_active($single_plugin)) {
 
 
86
  deactivate_plugins($single_plugin);
87
+
88
+ //Don't Let Old Plugins Activate
89
+ throw new \Exception('<div class="fts-update-message fts_old_plugins_message">' . $update_msg .'</div>');
90
  }
91
  }
92
  }
96
  });
97
  return true;
98
  }
99
+ return;
100
  }
101
 
102
  /**
includes/feed-metabox-options.php ADDED
@@ -0,0 +1,3527 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Feed Metabox Options Class
4
+ *
5
+ * This class has the options for building and saving on the Custom Meta Boxes
6
+ *
7
+ * @class Feed_Metabox_Options
8
+ * @version 1.0.0
9
+ * @package FeedThemSocial/Admin
10
+ * @category Class
11
+ * @author SlickRemix
12
+ */
13
+
14
+ namespace feedthemsocial;
15
+ // Exit if accessed directly
16
+ if (!defined('ABSPATH')) exit;
17
+
18
+
19
+ /**
20
+ * Class Gallery_Options
21
+ */
22
+ class Feed_Metabox_Options {
23
+ public $all_options = '';
24
+
25
+ public function __construct() {
26
+
27
+ $this->facebook_options();
28
+ $this->combine_streams_options();
29
+ }
30
+
31
+ /**
32
+ * FT Gallery Required Plugins
33
+ *
34
+ * Return an array of required plugins.
35
+ *
36
+ * @return array
37
+ * @since 1.0.0
38
+ */
39
+ function ft_gallery_required_plugins() {
40
+ $required_plugins = array(
41
+ 'fts_premium' => array(
42
+ //Name will go into Non-Premium field so make sure it says "extension" Example: Must have {Plugin Name} to edit.
43
+ 'name' => '<h3>Feed Them Premium extension</h3>',
44
+ //Slick URL should Take them to plugin on Slickremix.com because they need for required fields
45
+ 'slick_url' => 'https://www.slickremix.com/downloads/feed-them-social-premium-extension/',
46
+ //Plugin URL for checking if plugin is active
47
+ 'plugin_url' => 'feed-them-premium/feed-them-premium.php',
48
+ 'no_active_msg' => 'Must have <a target="_blank" href="https://www.slickremix.com/downloads/feed-them-social-premium-extension/">premium</a> to edit.',
49
+ ),
50
+ 'facebook_reviews' => array(
51
+ 'name' => '<h3>Facebook Reviews extension</h3>',
52
+ 'slick_url' => 'https://www.slickremix.com/downloads/feed-them-social-facebook-reviews/',
53
+ 'plugin_url' => 'feed-them-social-facebook-reviews/feed-them-social-facebook-reviews.php',
54
+ '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.',
55
+ ),
56
+ 'fts_carousel' => array(
57
+ 'name' => '<h3>Feed Them Carousel extension</h3>',
58
+ 'slick_url' => 'https://www.slickremix.com/downloads/feed-them-carousel-premium/',
59
+ 'plugin_url' => 'feed-them-carousel-premium/feed-them-carousel-premium.php',
60
+ '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.',
61
+ ),
62
+ 'combine_streams' => array(
63
+ 'name' => '<h3>Feed Them Social Combined Streams extension</h3>',
64
+ 'slick_url' => 'https://www.slickremix.com/downloads/feed-them-social-combined-streams/',
65
+ 'plugin_url' => 'feed-them-social-combined-streams/feed-them-social-combined-streams.php',
66
+ 'no_active_msg' => 'Must have <a href="https://www.slickremix.com/downloads/feed-them-social-combined-streams/">combined streams extenstion</a> to edit.',
67
+ ),
68
+ );
69
+
70
+ return $required_plugins;
71
+ }
72
+
73
+ /**
74
+ * Facebook Options
75
+ *
76
+ * These are Gallery to Woo options (just for saving not for display)
77
+ *
78
+ * @return mixed
79
+ * @since 1.0.0
80
+ */
81
+ function facebook_options() {
82
+
83
+ $this->all_options['facebook'] = array(
84
+ 'section_attr_key' => 'facebook_',
85
+ 'section_title' => __('Facebook Page Shortcode Generator', 'feed-them-social'),
86
+ 'section_wrap_class' => 'fts-facebook_page-shortcode-form',
87
+ //Form Info
88
+ 'form_wrap_classes' => 'fb-page-shortcode-form',
89
+ 'form_wrap_id' => 'fts-fb-page-form',
90
+ //Token Check
91
+ 'token_check' => $facebookReviewsTokenCheck,
92
+ //Feed Type Selection
93
+ 'feed_type_select' => array(
94
+ 'label' => __('Feed Type', 'feed-them-social'),
95
+ 'select_wrap_classes' => 'fts-social-selector',
96
+ 'select_classes' => '',
97
+ 'select_name' => 'facebook-messages-selector',
98
+ 'select_id' => 'facebook-messages-selector',
99
+ ),
100
+ //Feed Types and their options
101
+ 'feeds_types' => array(
102
+ //Facebook Page
103
+ array(
104
+ 'value' => 'page',
105
+ 'title' => __('Facebook Page', 'feed-them-social'),
106
+ ),
107
+ //Facebook Page List of Events
108
+ array(
109
+ 'value' => 'events',
110
+ 'title' => __('Facebook Page List of Events', 'feed-them-social'),
111
+ ),
112
+ //Facebook Page Single Event Posts
113
+ array(
114
+ 'value' => 'event',
115
+ 'title' => __('Facebook Page Single Event Posts', 'feed-them-social'),
116
+ ),
117
+ //Facebook Group
118
+ array(
119
+ 'value' => 'group',
120
+ 'title' => __('Facebook Group', 'feed-them-social'),
121
+ ),
122
+ //Facebook Album Photos
123
+ array(
124
+ 'value' => 'album_photos',
125
+ 'title' => __('Facebook Album Photos', 'feed-them-social'),
126
+ ),
127
+ //Facebook Album Covers
128
+ array(
129
+ 'value' => 'albums',
130
+ 'title' => __('Facebook Album Covers', 'feed-them-social'),
131
+ ),
132
+ //Facebook Videos
133
+ array(
134
+ 'value' => 'album_videos',
135
+ 'title' => __('Facebook Videos', 'feed-them-social'),
136
+ ),
137
+ //Facebook Page Reviews
138
+ array(
139
+ 'value' => 'reviews',
140
+ 'title' => __('Facebook Page Reviews', 'feed-them-social'),
141
+ ),
142
+ ),
143
+ 'premium_msg_boxes' => array(
144
+ 'album_videos' => array(
145
+ 'req_plugin' => 'fts_premium',
146
+ '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>',
147
+ ),
148
+ 'reviews' => array(
149
+ 'req_plugin' => 'facebook_reviews',
150
+ '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>',
151
+ ),
152
+ ),
153
+ 'short_attr_final' => 'yes',
154
+
155
+ 'main_options' => array(
156
+ //Feed Type
157
+ array(
158
+ 'option_type' => 'select',
159
+ 'id' => 'facebook-messages-selector',
160
+ 'name' => 'facebook-messages-selector',
161
+ //DONT SHOW HTML
162
+ 'no_html' => 'yes',
163
+ //Relative to JS.
164
+ 'short_attr' => array(
165
+ 'attr_name' => 'type',
166
+ ),
167
+ ),
168
+ //Facebook ID
169
+ array(
170
+ 'option_type' => 'input',
171
+ 'input_wrap_class' => 'fb_page_id',
172
+ 'label' => __('Facebook ID (required)', 'feed-them-social'),
173
+ 'instructional-text' => array(
174
+ array(
175
+ '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. You cannot use Personal Profiles it must be a Facebook Page. If your page ID looks something like, My-Page-Name-50043151918, only use the number portion, 50043151918.', 'feed-them-social') . ' <a href="http://feedthemsocial.com/?feedID=50043151918" target="_blank">' . __('Test your Page ID on our demo', 'feed-them-social') . '</a>',
176
+ 'class' => 'facebook-message-generator page inst-text-facebook-page',
177
+ ),
178
+ array(
179
+ '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'),
180
+ 'class' => 'facebook-message-generator group inst-text-facebook-group',
181
+ ),
182
+ array(
183
+ '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'),
184
+ 'class' => 'facebook-message-generator event-list inst-text-facebook-event-list',
185
+ ),
186
+ array(
187
+ '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'),
188
+ 'class' => 'facebook-message-generator event inst-text-facebook-event',
189
+ ),
190
+ array(
191
+ '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 second input below. If you want to show all your uploaded photos leave the Album ID input blank.', 'feed-them-social'),
192
+ 'class' => 'facebook-message-generator album_photos inst-text-facebook-album-photos',
193
+ ),
194
+ array(
195
+ 'text' => __('Copy your', 'feed-them-social') . ' <a href="https://www.slickremix.com/docs/how-to-get-your-facebook-photo-gallery-id/" target="_blank">' . __('Facebook Album Covers ID', 'feed-them-social') . '</a> ' . __('and paste it in the first input below.', 'feed-them-social'),
196
+ 'class' => 'facebook-message-generator albums inst-text-facebook-albums',
197
+ ),
198
+ array(
199
+ 'text' => __('Copy your', 'feed-them-social') . ' <a href="https://www.slickremix.com/docs/how-to-get-your-facebook-id-and-video-gallery-id" target="_blank">' . __('Facebook ID', 'feed-them-social') . '</a> ' . __('and paste it in the first input below.', 'feed-them-social'),
200
+ 'class' => 'facebook-message-generator video inst-text-facebook-video',
201
+ ),
202
+ array(
203
+ '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. If your page ID looks something like, My-Page-Name-50043151918, only use the number portion, 50043151918.', 'feed-them-social'),
204
+ 'class' => 'facebook-message-generator reviews inst-text-facebook-reviews',
205
+ ),
206
+ ),
207
+ 'type' => 'text',
208
+ 'id' => 'fb_page_id',
209
+ 'name' => 'fb_page_id',
210
+ 'value' => '',
211
+ //Relative to JS.
212
+ 'short_attr' => array(
213
+ 'attr_name' => 'id',
214
+ 'var_final_if' => 'no',
215
+ 'empty_error' => 'yes',
216
+ ),
217
+ ),
218
+ //Facebook Album ID
219
+ array(
220
+ 'option_type' => 'input',
221
+ 'input_wrap_class' => 'fb_album_photos_id',
222
+ 'label' => __('Album ID ', 'feed-them-social') . '<br/><small>' . __('Leave blank to show all uploaded photos', 'feed-them-social') . '</small>',
223
+ 'type' => 'text',
224
+ 'id' => 'fb_album_id',
225
+ 'name' => 'fb_album_id',
226
+ 'value' => '',
227
+ //Relative to JS.
228
+ 'short_attr' => array(
229
+ 'attr_name' => 'album_id',
230
+ 'var_final_if' => 'yes',
231
+ 'empty_error' => 'set',
232
+ 'empty_error_value' => 'album_id=photo_stream',
233
+ 'empty_error_if' => array(
234
+ 'attribute' => 'select#facebook-messages-selector',
235
+ 'operator' => '==',
236
+ 'value' => 'album_photos',
237
+ ),
238
+ 'ifs' => 'album_photos',
239
+ ),
240
+ ),
241
+ //Facebook Page Post Type Visible
242
+ array(
243
+ 'input_wrap_class' => 'facebook-post-type-visible',
244
+ 'option_type' => 'select',
245
+ 'label' => __('Post Type Visible', 'feed-them-social'),
246
+ 'type' => 'text',
247
+ 'id' => 'fb_page_posts_displayed',
248
+ 'name' => 'fb_page_posts_displayed',
249
+ 'options' => array(
250
+ array(
251
+ 'label' => __('Display Posts made by Page only', 'feed-them-social'),
252
+ 'value' => 'page_only',
253
+ ),
254
+ array(
255
+ 'label' => __('Display Posts made by Page and Others', 'feed-them-social'),
256
+ 'value' => 'page_and_others',
257
+ ),
258
+ ),
259
+ 'short_attr' => array(
260
+ 'attr_name' => 'posts_displayed',
261
+ 'ifs' => 'page',
262
+ ),
263
+ ),
264
+ //Facebook page # of Posts
265
+ array(
266
+ 'option_type' => 'input',
267
+ 'label' => __('# of Posts', 'feed-them-social') . $limitforpremium,
268
+ 'type' => 'text',
269
+ 'id' => 'fb_page_post_count',
270
+ 'name' => 'fb_page_post_count',
271
+ 'value' => '',
272
+ 'placeholder' => __('6 is the default value', 'feed-them-social'),
273
+ //Relative to JS.
274
+ 'short_attr' => array(
275
+ 'attr_name' => 'posts',
276
+ 'var_final_if' => 'yes',
277
+ 'empty_error' => 'set',
278
+ 'empty_error_value' => 'posts=6',
279
+ ),
280
+ ),
281
+ //Facebook Page Facebook Fixed Height
282
+ array(
283
+ 'input_wrap_class' => 'fixed_height_option',
284
+ 'option_type' => 'input',
285
+ 'label' => __('Facebook Fixed Height', 'feed-them-social') . '<br/><small>' . __('Leave blank for auto height', 'feed-them-social') . '</small>',
286
+ 'type' => 'text',
287
+ 'id' => 'facebook_page_height',
288
+ 'name' => 'facebook_page_height',
289
+ 'value' => '',
290
+ 'placeholder' => '450px ' . __('for example', 'feed-them-social'),
291
+ //Relative to JS.
292
+ 'short_attr' => array(
293
+ 'attr_name' => 'height',
294
+ 'var_final_if' => 'yes',
295
+ 'empty_error' => 'set',
296
+ 'empty_error_value' => '',
297
+ ),
298
+ ),
299
+ //Facebook Page Show Page Title (Premium)
300
+ array(
301
+ 'input_wrap_class' => 'fb-page-title-option-hide',
302
+ 'option_type' => 'select',
303
+ 'label' => __('Show Page Title', 'feed-them-social'),
304
+ 'type' => 'text',
305
+ 'id' => 'fb_page_title_option',
306
+ 'name' => 'fb_page_title_option',
307
+ 'options' => array(
308
+ array(
309
+ 'label' => __('Yes', 'feed-them-social'),
310
+ 'value' => 'yes',
311
+ ),
312
+ array(
313
+ 'label' => __('No', 'feed-them-social'),
314
+ 'value' => 'no',
315
+ ),
316
+ ),
317
+ 'req_plugin' => 'fts_premium',
318
+ 'short_attr' => array(
319
+ 'attr_name' => 'title',
320
+ ),
321
+ 'sub_options' => array(
322
+ 'sub_options_wrap_class' => 'facebook-title-options-wrap',
323
+ ),
324
+ ),
325
+ //Facebook Page Align Title (Premium)
326
+ array(
327
+ 'input_wrap_class' => 'fb-page-title-align',
328
+ 'option_type' => 'select',
329
+ 'label' => __('Align Title', 'feed-them-social'),
330
+ 'type' => 'text',
331
+ 'id' => 'fb_page_title_align',
332
+ 'name' => 'fb_page_title_align',
333
+ 'options' => array(
334
+ 1 => array(
335
+ 'label' => __('Left', 'feed-them-social'),
336
+ 'value' => 'left',
337
+ ),
338
+ 2 => array(
339
+ 'label' => __('Center', 'feed-them-social'),
340
+ 'value' => 'center',
341
+ ),
342
+ 3 => array(
343
+ 'label' => __('Right', 'feed-them-social'),
344
+ 'value' => 'right',
345
+ ),
346
+ ),
347
+ 'req_plugin' => 'fts_premium',
348
+ 'short_attr' => array(
349
+ 'attr_name' => 'title_align',
350
+ ),
351
+ ),
352
+ //Facebook Page Show Page Description (Premium)
353
+ array(
354
+ 'input_wrap_class' => 'fb-page-description-option-hide',
355
+ 'option_type' => 'select',
356
+ 'label' => __('Show Page Description', 'feed-them-social'),
357
+ 'type' => 'text',
358
+ 'id' => 'fb_page_description_option',
359
+ 'name' => 'fb_page_description_option',
360
+ 'options' => array(
361
+ 1 => array(
362
+ 'label' => __('Yes', 'feed-them-social'),
363
+ 'value' => 'yes',
364
+ ),
365
+ 2 => array(
366
+ 'label' => __('No', 'feed-them-social'),
367
+ 'value' => 'no',
368
+ ),
369
+ ),
370
+ 'req_plugin' => 'fts_premium',
371
+ 'short_attr' => array(
372
+ 'attr_name' => 'description',
373
+ ),
374
+ 'sub_options_end' => true,
375
+ ),
376
+ //Facebook Amount of words
377
+ array(
378
+ 'option_type' => 'input',
379
+ 'label' => __('Amount of words per post', 'feed-them-social') . '<br/><small>' . __('Type 0 to remove the posts description', 'feed-them-social') . '</small>',
380
+ 'type' => 'text',
381
+ 'id' => 'fb_page_word_count_option',
382
+ 'name' => 'fb_page_word_count_option',
383
+ 'placeholder' => '45 ' . __('is the default value', 'feed-them-social'),
384
+ 'value' => '',
385
+ 'req_plugin' => 'fts_premium',
386
+ 'or_req_plugin' => 'combine_streams',
387
+ 'or_req_plugin_three' => 'facebook_reviews',
388
+ //Relative to JS.
389
+ 'short_attr' => array(
390
+ 'attr_name' => 'words',
391
+ 'empty_error' => 'set',
392
+ 'empty_error_value' => 'words=45',
393
+ ),
394
+ ),
395
+ //Facebook Image Width
396
+ array(
397
+ 'option_type' => 'input',
398
+ 'label' => __('Facebook Image Width', 'feed-them-social') . '<br/><small>' . __('Max width is 640px', 'feed-them-social') . '</small>',
399
+ 'type' => 'text',
400
+ 'id' => 'fts-slicker-facebook-container-image-width',
401
+ 'name' => 'fts-slicker-facebook-container-image-width',
402
+ 'placeholder' => '250px',
403
+ //Relative to JS.
404
+ 'short_attr' => array(
405
+ 'attr_name' => 'image_width',
406
+ 'empty_error' => 'set',
407
+ 'empty_error_value' => 'image_width=250px',
408
+ 'ifs' => 'album_photos,albums,album_videos',
409
+ ),
410
+ 'sub_options' => array(
411
+ 'sub_options_wrap_class' => 'fts-super-facebook-options-wrap',
412
+ ),
413
+ ),
414
+ //Facebook Image Height
415
+ array(
416
+ 'option_type' => 'input',
417
+ 'label' => __('Facebook Image Height', 'feed-them-social') . '<br/><small>' . __('Max width is 640px', 'feed-them-social') . '</small>',
418
+ 'type' => 'text',
419
+ 'id' => 'fts-slicker-facebook-container-image-height',
420
+ 'name' => 'fts-slicker-facebook-container-image-height',
421
+ 'placeholder' => '250px',
422
+ //Relative to JS.
423
+ 'short_attr' => array(
424
+ 'attr_name' => 'image_height',
425
+ 'empty_error' => 'set',
426
+ 'empty_error_value' => 'image_height=250px',
427
+ 'ifs' => 'album_photos,albums,album_videos',
428
+ ),
429
+ ),
430
+ //Facebook The space between photos
431
+ array(
432
+ 'option_type' => 'input',
433
+ 'label' => __('The space between photos', 'feed-them-social'),
434
+ 'type' => 'text',
435
+ 'id' => 'fts-slicker-facebook-container-margin',
436
+ 'name' => 'fts-slicker-facebook-container-margin',
437
+ 'placeholder' => '1px',
438
+ //Relative to JS.
439
+ 'short_attr' => array(
440
+ 'attr_name' => 'space_between_photos',
441
+ 'empty_error' => 'set',
442
+ 'empty_error_value' => 'space_between_photos=1px',
443
+ 'ifs' => 'album_photos,albums,album_videos',
444
+ ),
445
+ ),
446
+ //Hide Date, Likes and Comments
447
+ array(
448
+ 'option_type' => 'select',
449
+ 'label' => __('Hide Date, Likes and Comments', 'feed-them-social'),
450
+ 'label_note' => __('Good for image sizes under 120px', 'feed-them-social'),
451
+ 'type' => 'text',
452
+ 'id' => 'fts-slicker-facebook-container-hide-date-likes-comments',
453
+ 'name' => 'fts-slicker-facebook-container-hide-date-likes-comments',
454
+ 'options' => array(
455
+ 1 => array(
456
+ 'label' => __('No', 'feed-them-social'),
457
+ 'value' => 'no',
458
+ ),
459
+ 2 => array(
460
+ 'label' => __('Yes', 'feed-them-social'),
461
+ 'value' => 'yes',
462
+ ),
463
+ ),
464
+ 'short_attr' => array(
465
+ 'attr_name' => 'hide_date_likes_comments',
466
+ 'ifs' => 'album_photos,albums,album_videos',
467
+ ),
468
+ ),
469
+ //Center Facebook Container
470
+ array(
471
+ 'option_type' => 'select',
472
+ 'label' => __('Center Facebook Container', 'feed-them-social'),
473
+ 'type' => 'text',
474
+ 'id' => 'fts-slicker-facebook-container-position',
475
+ 'name' => 'fts-slicker-facebook-container-position',
476
+ 'options' => array(
477
+ 1 => array(
478
+ 'label' => __('Yes', 'feed-them-social'),
479
+ 'value' => 'yes',
480
+ ),
481
+ 2 => array(
482
+ 'label' => __('No', 'feed-them-social'),
483
+ 'value' => 'no',
484
+ ),
485
+ ),
486
+ 'short_attr' => array(
487
+ 'attr_name' => 'center_container',
488
+ 'ifs' => 'album_photos,albums,album_videos',
489
+ ),
490
+ 'sub_options_end' => true,
491
+ ),
492
+ //Image Stacking Animation NOT USING THIS ANYMORE
493
+ array(
494
+ 'option_type' => 'input',
495
+ 'label' => __('Image Stacking Animation On', 'feed-them-social'),
496
+ 'label_note' => __('This happens when resizing browser', 'feed-them-social'),
497
+ 'type' => 'hidden',
498
+ //used to trick is Visible in JS
499
+ 'class' => 'non-visible',
500
+ 'id' => 'fts-slicker-facebook-container-animation',
501
+ 'name' => 'fts-slicker-facebook-container-animation',
502
+ 'value' => 'no',
503
+ 'short_attr' => array(
504
+ 'attr_name' => 'image_stack_animation',
505
+ 'empty_error' => 'set',
506
+ 'empty_error_value' => 'image_stack_animation=no',
507
+ 'ifs' => 'grid',
508
+ ),
509
+ 'sub_options' => array(
510
+ 'sub_options_wrap_class' => 'facebook-image-animation-option-wrap',
511
+ ),
512
+ 'sub_options_end' => true,
513
+ ),
514
+ //Align Images non-grid
515
+ array(
516
+ 'input_wrap_id' => 'facebook_align_images_wrapper',
517
+ 'option_type' => 'select',
518
+ 'label' => __('Align Images', 'feed-them-social'),
519
+ 'type' => 'text',
520
+ 'id' => 'facebook_align_images',
521
+ 'name' => 'facebook_align_images',
522
+ 'options' => array(
523
+ 1 => array(
524
+ 'label' => __('Left', 'feed-them-social'),
525
+ 'value' => 'left',
526
+ ),
527
+ 2 => array(
528
+ 'label' => __('Center', 'feed-them-social'),
529
+ 'value' => 'center',
530
+ ),
531
+ 3 => array(
532
+ 'label' => __('Right', 'feed-them-social'),
533
+ 'value' => 'right',
534
+ ),
535
+ ),
536
+ 'short_attr' => array(
537
+ 'attr_name' => 'images_align',
538
+ 'ifs' => 'page',
539
+ ),
540
+ 'sub_options' => array(
541
+ 'sub_options_wrap_class' => 'align-images-wrap',
542
+ ),
543
+ 'sub_options_end' => true,
544
+ ),
545
+ //******************************************
546
+ // Facebook Review Options
547
+ //******************************************
548
+ //Reviews to Show
549
+ array(
550
+ 'grouped_options_title' => __('Reviews', 'feed-them-social'),
551
+ 'option_type' => 'select',
552
+ 'label' => __('Reviews to Show', 'feed-them-social'),
553
+ 'type' => 'text',
554
+ 'id' => 'reviews_type_to_show',
555
+ 'name' => 'reviews_type_to_show',
556
+ 'options' => array(
557
+ 1 => array(
558
+ 'label' => __('Show all Reviews', 'feed-them-social'),
559
+ 'value' => '1',
560
+ ),
561
+ 2 => array(
562
+ 'label' => __('5 Star Reviews only', 'feed-them-social'),
563
+ 'value' => '5',
564
+ ),
565
+ 3 => array(
566
+ 'label' => __('4 and 5 Stars Reviews only', 'feed-them-social'),
567
+ 'value' => '4',
568
+ ),
569
+ 4 => array(
570
+ 'label' => __('3, 4 and 5 Star Reviews only', 'feed-them-social'),
571
+ 'value' => '3',
572
+ ),
573
+ 5 => array(
574
+ 'label' => __('2, 3, 4, and 5 Star Reviews only', 'feed-them-social'),
575
+ 'value' => '2',
576
+ ),
577
+ ),
578
+ 'req_plugin' => 'facebook_reviews',
579
+ 'short_attr' => array(
580
+ 'attr_name' => 'reviews_type_to_show',
581
+ 'ifs' => 'reviews',
582
+ ),
583
+ 'sub_options' => array(
584
+ 'sub_options_wrap_class' => 'facebook-reviews-wrap',
585
+ ),
586
+ ),
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',
594
+ 'options' => array(
595
+ 1 => array(
596
+ 'label' => __('5 star - &#9733;&#9733;&#9733;&#9733;&#9733;', 'feed-them-social'),
597
+ 'value' => '1',
598
+ ),
599
+ 2 => array(
600
+ 'label' => __('5 star &#9733;', 'feed-them-social'),
601
+ 'value' => '2',
602
+ ),
603
+ 3 => array(
604
+ 'label' => __('5 star', 'feed-them-social'),
605
+ 'value' => '3',
606
+ ),
607
+ 4 => array(
608
+ 'label' => __('5 &#9733;', 'feed-them-social'),
609
+ 'value' => '4',
610
+ ),
611
+ 5 => array(
612
+ 'label' => __('&#9733;&#9733;&#9733;&#9733;&#9733;', 'feed-them-social'),
613
+ 'value' => '5',
614
+ ),
615
+ ),
616
+ 'req_plugin' => 'facebook_reviews',
617
+ 'short_attr' => array(
618
+ 'attr_name' => 'reviews_rating_format',
619
+ 'ifs' => 'reviews',
620
+ )
621
+ ),
622
+ //Overall Rating
623
+ array(
624
+ 'option_type' => 'select',
625
+ 'label' => __('Overall Rating above Feed', 'feed-them-social') . '<br/><small>' . __('More settings: <a href="admin.php?page=fts-facebook-feed-styles-submenu-page">Facebook Options</a> page.', 'feed-them-social') . '</small>',
626
+ 'type' => 'text',
627
+ 'id' => 'reviews_overall_rating_show',
628
+ 'name' => 'reviews_overall_rating_show',
629
+ 'options' => array(
630
+ 1 => array(
631
+ 'label' => __('Yes', 'feed-them-social'),
632
+ 'value' => 'yes',
633
+ ),
634
+ 2 => array(
635
+ 'label' => __('No', 'feed-them-social'),
636
+ 'value' => 'no',
637
+ )
638
+ ),
639
+ 'req_plugin' => 'facebook_reviews',
640
+ 'short_attr' => array(
641
+ 'attr_name' => 'overall_rating',
642
+ 'ifs' => 'reviews',
643
+ ),
644
+ 'sub_options_end' => true,
645
+ ),
646
+ //******************************************
647
+ // Like Box Options
648
+ //******************************************
649
+ //Facebook Hide Like Box or Button (Premium)
650
+ array(
651
+ 'grouped_options_title' => __('Like Box', 'feed-them-social'),
652
+ 'option_type' => 'select',
653
+ '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>',
654
+ 'type' => 'text',
655
+ 'id' => 'fb_hide_like_box_button',
656
+ 'name' => 'fb_hide_like_box_button',
657
+ 'options' => array(
658
+ 1 => array(
659
+ 'label' => __('Yes', 'feed-them-social'),
660
+ 'value' => 'yes',
661
+ ),
662
+ 2 => array(
663
+ 'label' => __('No', 'feed-them-social'),
664
+ 'value' => 'no',
665
+ ),
666
+
667
+ ),
668
+ 'req_plugin' => 'fts_premium',
669
+ 'or_req_plugin' => 'combine_streams',
670
+ 'or_req_plugin_three' => 'facebook_reviews',
671
+ 'short_attr' => array(
672
+ 'attr_name' => 'hide_like_option',
673
+ 'ifs' => 'not_group',
674
+ 'empty_error' => 'set',
675
+ 'set_operator' => '==',
676
+ 'set_equals' => 'no',
677
+ 'empty_error_value' => '',
678
+ ),
679
+ 'sub_options' => array(
680
+ 'sub_options_wrap_class' => 'main-like-box-wrap',
681
+ ),
682
+ ),
683
+ //Position of Like Box or Button (Premium)
684
+ array(
685
+ 'option_type' => 'select',
686
+ 'label' => __('Position of Like Box or Button', 'feed-them-social'),
687
+ 'type' => 'text',
688
+ 'id' => 'fb_position_likebox',
689
+ 'name' => 'fb_position_likebox',
690
+ 'options' => array(
691
+ 1 => array(
692
+ 'label' => __('Above Title', 'feed-them-social'),
693
+ 'value' => 'above_title',
694
+ ),
695
+ 2 => array(
696
+ 'label' => __('Below Title', 'feed-them-social'),
697
+ 'value' => 'below_title',
698
+ ),
699
+ 3 => array(
700
+ 'label' => __('Bottom of Feed', 'feed-them-social'),
701
+ 'value' => 'bottom',
702
+ ),
703
+ ),
704
+ 'req_plugin' => 'fts_premium',
705
+ 'or_req_plugin' => 'combine_streams',
706
+ 'or_req_plugin_three' => 'facebook_reviews',
707
+ 'short_attr' => array(
708
+ 'attr_name' => 'show_follow_btn_where',
709
+ 'ifs' => 'not_group',
710
+ 'and_ifs' => 'like_box',
711
+
712
+ ),
713
+ 'sub_options' => array(
714
+ 'sub_options_wrap_class' => 'like-box-wrap',
715
+ ),
716
+ ),
717
+ //Facebook Page Align Like Box or Button (Premium)
718
+ array(
719
+ 'option_type' => 'select',
720
+ 'label' => __('Align Like Box or Button', 'feed-them-social'),
721
+ 'type' => 'text',
722
+ 'id' => 'fb_align_likebox',
723
+ 'name' => 'fb_align_likebox',
724
+ 'options' => array(
725
+ 1 => array(
726
+ 'label' => __('Left', 'feed-them-social'),
727
+ 'value' => 'left',
728
+ ),
729
+ 2 => array(
730
+ 'label' => __('Center', 'feed-them-social'),
731
+ 'value' => 'center',
732
+ ),
733
+ 3 => array(
734
+ 'label' => __('Right', 'feed-them-social'),
735
+ 'value' => 'right',
736
+ ),
737
+ ),
738
+ 'req_plugin' => 'fts_premium',
739
+ 'or_req_plugin' => 'combine_streams',
740
+ 'or_req_plugin_three' => 'facebook_reviews',
741
+ 'short_attr' => array(
742
+ 'attr_name' => 'like_option_align',
743
+ 'ifs' => 'not_group',
744
+ 'and_ifs' => 'like_box',
745
+ ),
746
+ ),
747
+ //Facebook Page Width of Like Box
748
+ array(
749
+ 'option_type' => 'input',
750
+ 'label' => __('Width of Like Box', 'feed-them-social') . '<br/><small>' . __('This only works for the Like Box', 'feed-them-social') . '</small>',
751
+ 'type' => 'text',
752
+ 'id' => 'like_box_width',
753
+ 'name' => 'like_box_width',
754
+ 'placeholder' => __('500px max', 'feed-them-social'),
755
+ 'req_plugin' => 'fts_premium',
756
+ 'or_req_plugin' => 'combine_streams',
757
+ 'or_req_plugin_three' => 'facebook_reviews',
758
+ //Relative to JS.
759
+ 'short_attr' => array(
760
+ 'attr_name' => 'like_box_width',
761
+ 'empty_error' => 'set',
762
+ 'empty_error_value' => 'like_box_width=500px',
763
+ 'ifs' => 'not_group',
764
+ 'and_ifs' => 'like_box',
765
+ ),
766
+ 'sub_options_end' => 2,
767
+ ),
768
+ //******************************************
769
+ // Popup
770
+ //******************************************
771
+ //Facebook Page Display Photos in Popup
772
+ array(
773
+ 'grouped_options_title' => __('Popup', 'feed-them-social'),
774
+ 'option_type' => 'select',
775
+ 'label' => __('Display Photos in Popup', 'feed-them-social'),
776
+ 'type' => 'text',
777
+ 'id' => 'facebook_popup',
778
+ 'name' => 'facebook_popup',
779
+ 'options' => array(
780
+ 1 => array(
781
+ 'label' => __('No', 'feed-them-social'),
782
+ 'value' => 'no',
783
+ ),
784
+ 2 => array(
785
+ 'label' => __('Yes', 'feed-them-social'),
786
+ 'value' => 'yes',
787
+ ),
788
+ ),
789
+ 'req_plugin' => 'fts_premium',
790
+ 'or_req_plugin' => 'combine_streams',
791
+ 'short_attr' => array(
792
+ 'attr_name' => 'popup',
793
+ ),
794
+ 'sub_options' => array(
795
+ 'sub_options_wrap_class' => 'facebook-popup-wrap',
796
+ ),
797
+ 'sub_options_end' => true,
798
+ ),
799
+ //Facebook Comments in Popup
800
+ array(
801
+ 'option_type' => 'select',
802
+ 'label' => __('Hide Comments in Popup', 'feed-them-social'),
803
+ 'type' => 'text',
804
+ 'id' => 'facebook_popup_comments',
805
+ 'name' => 'facebook_popup_comments',
806
+ 'options' => array(
807
+ 1 => array(
808
+ 'label' => __('No', 'feed-them-social'),
809
+ 'value' => 'no',
810
+ ),
811
+ 2 => array(
812
+ 'label' => __('Yes', 'feed-them-social'),
813
+ 'value' => 'yes',
814
+ ),
815
+ ),
816
+ 'req_plugin' => 'fts_premium',
817
+ 'or_req_plugin' => 'combine_streams',
818
+ 'short_attr' => array(
819
+ 'attr_name' => 'hide_comments_popup',
820
+ 'ifs' => 'popup',
821
+ ),
822
+ 'sub_options' => array(
823
+ 'sub_options_wrap_class' => 'display-comments-wrap',
824
+ ),
825
+ 'sub_options_end' => true,
826
+ ),
827
+ //******************************************
828
+ // Facebook Load More Options
829
+ //******************************************
830
+ //Facebook Page Load More Button
831
+ array(
832
+ 'grouped_options_title' => __('Load More', 'feed-them-social'),
833
+ 'option_type' => 'select',
834
+ 'label' => __('Load More Button', 'feed-them-social'),
835
+ 'type' => 'text',
836
+ 'id' => 'fb_load_more_option',
837
+ 'name' => 'fb_load_more_option',
838
+ 'options' => array(
839
+ 1 => array(
840
+ 'label' => __('No', 'feed-them-social'),
841
+ 'value' => 'no',
842
+ ),
843
+ 2 => array(
844
+ 'label' => __('Yes', 'feed-them-social'),
845
+ 'value' => 'yes',
846
+ ),
847
+ ),
848
+ 'req_plugin' => 'fts_premium',
849
+ 'or_req_plugin' => 'facebook_reviews',
850
+ 'short_attr' => array(
851
+ 'attr_name' => '',
852
+ 'empty_error_value' => '',
853
+ 'no_attribute' => 'yes',
854
+ 'ifs' => 'not_events',
855
+ ),
856
+ 'sub_options' => array(
857
+ 'sub_options_wrap_class' => 'facebook-loadmore-wrap',
858
+ //'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'),
859
+ ),
860
+ ),
861
+ //Facebook Page Load More Style
862
+ array(
863
+ 'option_type' => 'select',
864
+ 'label' => __('Load More Style', 'feed-them-social'),
865
+ 'type' => 'text',
866
+ 'id' => 'fb_load_more_style',
867
+ 'name' => 'fb_load_more_style',
868
+ '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'),
869
+ 'options' => array(
870
+ 1 => array(
871
+ 'label' => __('Button', 'feed-them-social'),
872
+ 'value' => 'button',
873
+ ),
874
+ 2 => array(
875
+ 'label' => __('AutoScroll', 'feed-them-social'),
876
+ 'value' => 'autoscroll',
877
+ ),
878
+ ),
879
+ 'req_plugin' => 'fts_premium',
880
+ 'or_req_plugin' => 'facebook_reviews',
881
+ 'short_attr' => array(
882
+ 'attr_name' => 'loadmore',
883
+ 'ifs' => 'load_more',
884
+ ),
885
+ //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)
886
+ 'sub_options' => array(
887
+ 'sub_options_wrap_class' => 'fts-facebook-load-more-options-wrap',
888
+ //'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'),
889
+ ),
890
+ 'sub_options_end' => true,
891
+ ),
892
+ //Facebook Page Load more Button Width
893
+ array(
894
+ 'option_type' => 'input',
895
+ 'label' => __('Load more Button Width', 'feed-them-social') . '<br/><small>' . __('Leave blank for auto width', 'feed-them-social') . '</small>',
896
+ 'type' => 'text',
897
+ 'id' => 'loadmore_button_width',
898
+ 'name' => 'loadmore_button_width',
899
+ 'placeholder' => '300px ' . __('for example', 'feed-them-social'),
900
+ 'value' => '',
901
+ 'req_plugin' => 'fts_premium',
902
+ 'or_req_plugin' => 'facebook_reviews',
903
+ //Relative to JS.
904
+ 'short_attr' => array(
905
+ 'attr_name' => 'loadmore_btn_maxwidth',
906
+ 'empty_error' => 'set',
907
+ 'empty_error_value' => 'loadmore_btn_maxwidth=300px',
908
+ 'ifs' => 'load_more',
909
+ ),
910
+ //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)
911
+ 'sub_options' => array(
912
+ 'sub_options_wrap_class' => 'fts-facebook-load-more-options2-wrap',
913
+ //'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'),
914
+ ),
915
+ ),
916
+ //Facebook Page Load more Button Margin
917
+ array(
918
+ 'option_type' => 'input',
919
+ 'label' => __('Load more Button Margin', 'feed-them-social'),
920
+ 'type' => 'text',
921
+ 'id' => 'loadmore_button_margin',
922
+ 'name' => 'loadmore_button_margin',
923
+ 'placeholder' => '10px ' . __('for example', 'feed-them-social'),
924
+ 'value' => '',
925
+ 'req_plugin' => 'fts_premium',
926
+ 'or_req_plugin' => 'facebook_reviews',
927
+ //Relative to JS.
928
+ 'short_attr' => array(
929
+ 'attr_name' => 'loadmore_btn_margin',
930
+ 'empty_error' => 'set',
931
+ 'empty_error_value' => 'loadmore_btn_margin=10px',
932
+ 'ifs' => 'load_more',
933
+ ),
934
+ 'sub_options_end' => 2,
935
+ ),
936
+ //******************************************
937
+ // Facebook Grid Options
938
+ //******************************************
939
+ //Facebook Page Display Posts in Grid
940
+ array(
941
+ 'grouped_options_title' => __('Grid', 'feed-them-social'),
942
+ 'input_wrap_class' => 'fb-posts-in-grid-option-wrap',
943
+ 'option_type' => 'select',
944
+ 'label' => __('Display Posts in Grid', 'feed-them-social'),
945
+ 'type' => 'text',
946
+ 'id' => 'fb-grid-option',
947
+ 'name' => 'fb-grid-option',
948
+ 'options' => array(
949
+ 1 => array(
950
+ 'label' => __('No', 'feed-them-social'),
951
+ 'value' => 'no',
952
+ ),
953
+ 2 => array(
954
+ 'label' => __('Yes', 'feed-them-social'),
955
+ 'value' => 'yes',
956
+ ),
957
+ ),
958
+ 'req_plugin' => 'fts_premium',
959
+ 'or_req_plugin' => 'combine_streams',
960
+ 'or_req_plugin_three' => 'facebook_reviews',
961
+ 'short_attr' => array(
962
+ 'attr_name' => 'grid',
963
+ 'empty_error' => 'set',
964
+ 'set_operator' => '==',
965
+ 'set_equals' => 'yes',
966
+ 'empty_error_value' => '',
967
+ ),
968
+ //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)
969
+ 'sub_options' => array(
970
+ 'sub_options_wrap_class' => 'main-grid-options-wrap',
971
+ ),
972
+ ),
973
+ //Grid Column Width
974
+ array(
975
+ 'option_type' => 'input',
976
+ 'label' => __('Grid Column Width', 'feed-them-social'),
977
+ 'type' => 'text',
978
+ 'id' => 'facebook_grid_column_width',
979
+ 'name' => 'facebook_grid_column_width',
980
+ 'instructional-text' => __('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'),
981
+ 'placeholder' => '310px ' . __('for example', 'feed-them-social'),
982
+ 'value' => '',
983
+ 'req_plugin' => 'fts_premium',
984
+ 'or_req_plugin' => 'combine_streams',
985
+ 'or_req_plugin_three' => 'facebook_reviews',
986
+
987
+ //Relative to JS.
988
+ 'short_attr' => array(
989
+ 'attr_name' => 'colmn_width',
990
+ 'empty_error' => 'set',
991
+ 'empty_error_value' => 'colmn_width=310px',
992
+ 'ifs' => 'grid',
993
+ ),
994
+ //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)
995
+ 'sub_options' => array(
996
+ 'sub_options_wrap_class' => 'fts-facebook-grid-options-wrap',
997
+ //'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'),
998
+ ),
999
+ ),
1000
+ //Grid Spaces Between Posts
1001
+ array(
1002
+ 'option_type' => 'input',
1003
+ 'label' => __('Grid Spaces Between Posts', 'feed-them-social'),
1004
+ 'type' => 'text',
1005
+ 'id' => 'facebook_grid_space_between_posts',
1006
+ 'name' => 'facebook_grid_space_between_posts',
1007
+ 'placeholder' => '10px ' . __('for example', 'feed-them-social'),
1008
+ 'value' => '',
1009
+ 'req_plugin' => 'fts_premium',
1010
+ 'or_req_plugin' => 'combine_streams',
1011
+ 'or_req_plugin_three' => 'facebook_reviews',
1012
+ //Relative to JS.
1013
+ 'short_attr' => array(
1014
+ 'attr_name' => 'space_between_posts',
1015
+ 'empty_error' => 'set',
1016
+ 'empty_error_value' => 'space_between_posts=10px',
1017
+ 'ifs' => 'grid',
1018
+ ),
1019
+ 'sub_options_end' => 2,
1020
+ ),
1021
+ //******************************************
1022
+ // Facebook Video Options
1023
+ //******************************************
1024
+ //Video Play Button
1025
+ array(
1026
+ 'grouped_options_title' => __('Video Button Options', 'feed-them-social'),
1027
+ 'option_type' => 'select',
1028
+ 'label' => __('Video Play Button', 'feed-them-social') . '<br/><small>' . __('Displays over Video Thumbnail', 'feed-them-social') . '</small>',
1029
+ 'type' => 'text',
1030
+ 'id' => 'facebook_show_video_button',
1031
+ 'name' => 'facebook_show_video_button',
1032
+ 'options' => array(
1033
+ 1 => array(
1034
+ 'label' => __('No', 'feed-them-social'),
1035
+ 'value' => 'no',
1036
+ ),
1037
+ 2 => array(
1038
+ 'label' => __('Yes', 'feed-them-social'),
1039
+ 'value' => 'yes',
1040
+ ),
1041
+ ),
1042
+ 'req_plugin' => 'fts_premium',
1043
+ 'short_attr' => array(
1044
+ 'attr_name' => 'play_btn',
1045
+ 'empty_error' => 'set',
1046
+ 'set_operator' => '==',
1047
+ 'set_equals' => 'yes',
1048
+ 'ifs' => 'album_videos',
1049
+ ),
1050
+ //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)
1051
+ 'sub_options' => array(
1052
+ 'sub_options_wrap_class' => 'fb-video-play-btn-options-wrap',
1053
+ ),
1054
+ ),
1055
+ //Size of the Play Button
1056
+ array(
1057
+ 'option_type' => 'input',
1058
+ 'label' => __('Size of the Play Button', 'feed-them-social'),
1059
+ 'type' => 'text',
1060
+ 'id' => 'facebook_size_video_play_btn',
1061
+ 'name' => 'facebook_size_video_play_btn',
1062
+ 'placeholder' => '40px ' . __('for example', 'feed-them-social'),
1063
+ 'req_plugin' => 'fts_premium',
1064
+ //Relative to JS.
1065
+ 'short_attr' => array(
1066
+ 'attr_name' => 'play_btn_size',
1067
+ 'empty_error' => 'set',
1068
+ 'empty_error_value' => 'play_btn_size=40px',
1069
+ 'ifs' => 'album_videos',
1070
+ 'and_ifs' => 'video',
1071
+ ),
1072
+ //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)
1073
+ 'sub_options' => array(
1074
+ 'sub_options_wrap_class' => 'fb-video-play-btn-options-content',
1075
+ ),
1076
+ ),
1077
+ //Show Play Button in Front
1078
+ array(
1079
+ 'option_type' => 'select',
1080
+ 'label' => __('Show Play Button in Front', 'feed-them-social') . '<br/><small>' . __('Displays before hovering over thumbnail', 'feed-them-social') . '</small>',
1081
+ 'type' => 'text',
1082
+ 'id' => 'facebook_show_video_button_in_front',
1083
+ 'name' => 'facebook_show_video_button_in_front',
1084
+ 'options' => array(
1085
+ 1 => array(
1086
+ 'label' => __('No', 'feed-them-social'),
1087
+ 'value' => 'no',
1088
+ ),
1089
+ 2 => array(
1090
+ 'label' => __('Yes', 'feed-them-social'),
1091
+ 'value' => 'yes',
1092
+ ),
1093
+ ),
1094
+ 'req_plugin' => 'fts_premium',
1095
+ 'short_attr' => array(
1096
+ 'attr_name' => 'play_btn_visible',
1097
+ 'ifs' => 'album_videos',
1098
+ 'and_ifs' => 'video',
1099
+ ),
1100
+ 'sub_options_end' => 2,
1101
+ ),
1102
+ //******************************************
1103
+ // Facebook Carousel
1104
+ //******************************************
1105
+ //Carousel/Slideshow
1106
+ array(
1107
+ 'grouped_options_title' => __('Carousel/Slider', 'feed-them-social'),
1108
+ 'input_wrap_id' => 'facebook_slider',
1109
+ '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'),
1110
+ 'option_type' => 'select',
1111
+ 'label' => __('Carousel/Slideshow', 'feed-them-social'),
1112
+ 'type' => 'text',
1113
+ 'id' => 'fts-slider',
1114
+ 'name' => 'fts-slider',
1115
+ 'options' => array(
1116
+ 1 => array(
1117
+ 'label' => __('Off', 'feed-them-social'),
1118
+ 'value' => 'no',
1119
+ ),
1120
+ 2 => array(
1121
+ 'label' => __('On', 'feed-them-social'),
1122
+ 'value' => 'yes',
1123
+ ),
1124
+ ),
1125
+ 'req_plugin' => 'fts_carousel',
1126
+ 'short_attr' => array(
1127
+ 'attr_name' => 'slider',
1128
+ 'empty_error' => 'set',
1129
+ 'set_operator' => '==',
1130
+ 'set_equals' => 'yes',
1131
+ 'ifs' => 'album_photos,album_videos',
1132
+ ),
1133
+ //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)
1134
+ 'sub_options' => array(
1135
+ 'sub_options_wrap_class' => 'slideshow-wrap',
1136
+ ),
1137
+ ),
1138
+ //Carousel/Slideshow Type
1139
+ array(
1140
+ 'input_wrap_id' => 'facebook_scrollhorz_or_carousel',
1141
+ 'option_type' => 'select',
1142
+ 'label' => __('Type', 'feed-them-social') . '<br/><small>' . __('', 'feed-them-social') . '</small>',
1143
+ 'type' => 'text',
1144
+ 'id' => 'scrollhorz_or_carousel',
1145
+ 'name' => 'scrollhorz_or_carousel',
1146
+ 'options' => array(
1147
+ 1 => array(
1148
+ 'label' => __('Slideshow', 'feed-them-social'),
1149
+ 'value' => 'scrollhorz',
1150
+ ),
1151
+ 2 => array(
1152
+ 'label' => __('Carousel', 'feed-them-social'),
1153
+ 'value' => 'carousel',
1154
+ ),
1155
+ ),
1156
+ 'req_plugin' => 'fts_carousel',
1157
+ 'short_attr' => array(
1158
+ 'attr_name' => 'scrollhorz_or_carousel',
1159
+ 'ifs' => 'album_photos,album_videos',
1160
+ 'and_ifs' => 'carousel',
1161
+ ),
1162
+ //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)
1163
+ 'sub_options' => array(
1164
+ 'sub_options_wrap_class' => 'slider_options_wrap',
1165
+ ),
1166
+ ),
1167
+ //Carousel Slides Visible
1168
+ array(
1169
+ 'input_wrap_id' => 'facebook_slides_visible',
1170
+ 'option_type' => 'input',
1171
+ 'label' => __('Carousel Slides Visible', 'feed-them-social') . '<br/><small>' . __('Not for Slideshow. Example: 1-500', 'feed-them-social') . '</small>',
1172
+ 'type' => 'text',
1173
+ 'id' => 'slides_visible',
1174
+ 'name' => 'slides_visible',
1175
+ 'placeholder' => __('3 is the default value', 'feed-them-social'),
1176
+ 'req_plugin' => 'fts_carousel',
1177
+ //Relative to JS.
1178
+ 'short_attr' => array(
1179
+ 'attr_name' => 'slides_visible',
1180
+ 'empty_error' => 'set',
1181
+ 'empty_error_value' => 'slides_visible=3',
1182
+ 'ifs' => 'album_photos,album_videos',
1183
+ 'and_ifs' => 'carousel',
1184
+ ),
1185
+ //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)
1186
+ 'sub_options' => array(
1187
+ 'sub_options_wrap_class' => 'slider_carousel_wrap',
1188
+ ),
1189
+ ),
1190
+ //Carousel Spacing in between Slides
1191
+ array(
1192
+ 'input_wrap_id' => 'facebook_slider_spacing',
1193
+ 'option_type' => 'input',
1194
+ 'label' => __('Spacing in between Slides', 'feed-them-social') . '<br/><small>' . __('', 'feed-them-social') . '</small>',
1195
+ 'type' => 'text',
1196
+ 'id' => 'slider_spacing',
1197
+ 'name' => 'slider_spacing',
1198
+ 'value' => '',
1199
+ 'placeholder' => __('2px', 'feed-them-social'),
1200
+ 'req_plugin' => 'fts_carousel',
1201
+ //Relative to JS.
1202
+ 'short_attr' => array(
1203
+ 'attr_name' => 'slider_spacing',
1204
+ 'empty_error' => 'set',
1205
+ 'empty_error_value' => 'slider_spacing=2px',
1206
+ 'ifs' => 'album_photos,album_videos',
1207
+ 'and_ifs' => 'carousel',
1208
+ ),
1209
+ 'sub_options_end' => true,
1210
+ ),
1211
+ //Carousel/Slideshow Margin
1212
+ array(
1213
+ 'input_wrap_id' => 'facebook_slider_margin',
1214
+ 'option_type' => 'input',
1215
+ 'label' => __('Carousel/Slideshow Margin', 'feed-them-social') . '<br/><small>' . __('Center feed. Add space above/below.', 'feed-them-social') . '</small>',
1216
+ 'type' => 'text',
1217
+ 'id' => 'slider_margin',
1218
+ 'name' => 'slider_margin',
1219
+ 'value' => '',
1220
+ 'placeholder' => __('-6px auto 1px auto', 'feed-them-social'),
1221
+ 'req_plugin' => 'fts_carousel',
1222
+ //Relative to JS.
1223
+ 'short_attr' => array(
1224
+ 'attr_name' => 'slider_margin',
1225
+ 'empty_error' => 'set',
1226
+ 'empty_error_value' => 'slider_margin="-6px auto 1px auto"',
1227
+ 'ifs' => 'album_photos,album_videos',
1228
+ 'and_ifs' => 'carousel',
1229
+ ),
1230
+ ),
1231
+ //Carousel/Slideshow Slider Speed
1232
+ array(
1233
+ 'input_wrap_id' => 'facebook_slider_speed',
1234
+ 'option_type' => 'input',
1235
+ 'label' => __('Slider Speed', 'feed-them-social') . '<br/><small>' . __('How fast the slider changes', 'feed-them-social') . '</small>',
1236
+ 'type' => 'text',
1237
+ 'id' => 'slider_speed',
1238
+ 'name' => 'slider_speed',
1239
+ 'value' => '',
1240
+ 'placeholder' => __('0-10000', 'feed-them-social'),
1241
+ 'req_plugin' => 'fts_carousel',
1242
+ //Relative to JS.
1243
+ 'short_attr' => array(
1244
+ 'attr_name' => 'slider_speed',
1245
+ 'empty_error' => 'set',
1246
+ 'empty_error_value' => 'slider_speed=1000',
1247
+ 'ifs' => 'album_photos,album_videos',
1248
+ 'and_ifs' => 'carousel',
1249
+ ),
1250
+ ),
1251
+ //Carousel/Slideshow Slider Timeout
1252
+ array(
1253
+ 'input_wrap_id' => 'facebook_slider_timeout',
1254
+ 'option_type' => 'input',
1255
+ 'label' => __('Slider Timeout', 'feed-them-social') . '<br/><small>' . __('Amount of Time before the next slide.', 'feed-them-social') . '</small>',
1256
+ 'type' => 'text',
1257
+ 'id' => 'slider_timeout',
1258
+ 'name' => 'slider_timeout',
1259
+ 'value' => '',
1260
+ 'placeholder' => __('0-10000', 'feed-them-social'),
1261
+ 'req_plugin' => 'fts_carousel',
1262
+ //Relative to JS.
1263
+ 'short_attr' => array(
1264
+ 'attr_name' => 'slider_timeout',
1265
+ 'empty_error' => 'set',
1266
+ 'empty_error_value' => 'slider_timeout=1000',
1267
+ 'ifs' => 'album_photos,album_videos',
1268
+ 'and_ifs' => 'carousel',
1269
+ ),
1270
+ ),
1271
+ //Carousel/Slideshow
1272
+ array(
1273
+ 'input_wrap_id' => 'facebook_slider_controls',
1274
+ 'option_type' => 'select',
1275
+ 'label' => __('Slider Controls', 'feed-them-social') . '<br/><small>' . __('', 'feed-them-social') . '</small>',
1276
+ 'type' => 'text',
1277
+ 'id' => 'slider_controls',
1278
+ 'name' => 'slider_controls',
1279
+ 'options' => array(
1280
+ 1 => array(
1281
+ 'label' => __('Dots above Feed', 'feed-them-social'),
1282
+ 'value' => 'dots_above_feed',
1283
+ ),
1284
+ 2 => array(
1285
+ 'label' => __('Dots and Arrows above Feed', 'feed-them-social'),
1286
+ 'value' => 'dots_and_arrows_above_feed',
1287
+ ),
1288
+ 3 => array(
1289
+ 'label' => __('Dots and Numbers above Feed', 'feed-them-social'),
1290
+ 'value' => 'dots_and_numbers_above_feed',
1291
+ ),
1292
+ 4 => array(
1293
+ 'label' => __('Dots, Arrows and Numbers above Feed', 'feed-them-social'),
1294
+ 'value' => 'dots_arrows_and_numbers_above_feed',
1295
+ ),
1296
+ 5 => array(
1297
+ 'label' => __('Arrows and Numbers above feed', 'feed-them-social'),
1298
+ 'value' => 'arrows_and_numbers_above_feed',
1299
+ ),
1300
+ 6 => array(
1301
+ 'label' => __('Arrows above Feed', 'feed-them-social'),
1302
+ 'value' => 'arrows_above_feed',
1303
+ ),
1304
+ 7 => array(
1305
+ 'label' => __('Numbers above Feed', 'feed-them-social'),
1306
+ 'value' => 'numbers_above_feed',
1307
+ ),
1308
+ 8 => array(
1309
+ 'label' => __('Dots below Feed', 'feed-them-social'),
1310
+ 'value' => 'dots_below_feed',
1311
+ ),
1312
+ array(
1313
+ 'label' => __('Dots and Arrows below Feed', 'feed-them-social'),
1314
+ 'value' => 'dots_and_arrows_below_feed',
1315
+ ),
1316
+ array(
1317
+ 'label' => __('Dots and Numbers below Feed', 'feed-them-social'),
1318
+ 'value' => 'dots_and_numbers_below_feed',
1319
+ ),
1320
+ array(
1321
+ 'label' => __('Dots, Arrows and Numbers below Feed', 'feed-them-social'),
1322
+ 'value' => 'dots_arrows_and_numbers_below_feed',
1323
+ ),
1324
+ array(
1325
+ 'label' => __('Arrows below Feed', 'feed-them-social'),
1326
+ 'value' => 'arrows_below_feed',
1327
+ ),
1328
+ array(
1329
+ 'label' => __('Numbers Below Feed', 'feed-them-social'),
1330
+ 'value' => 'numbers_below_feed',
1331
+ ),
1332
+ ),
1333
+ 'req_plugin' => 'fts_carousel',
1334
+ //Relative to JS.
1335
+ 'short_attr' => array(
1336
+ 'attr_name' => 'slider_controls',
1337
+ 'ifs' => 'album_photos,album_videos',
1338
+ 'and_ifs' => 'carousel',
1339
+ ),
1340
+ ),
1341
+ //Carousel/Slideshow Slider Controls Text Color
1342
+ array(
1343
+ 'input_wrap_id' => 'facebook_slider_controls_text_color',
1344
+ 'option_type' => 'input',
1345
+ 'label' => __('Slider Controls Text Color', 'feed-them-social') . '<br/><small>' . __('', 'feed-them-social') . '</small>',
1346
+ 'type' => 'text',
1347
+ 'id' => 'slider_controls_text_color',
1348
+ 'name' => 'slider_controls_text_color',
1349
+ 'class' => 'fb-text-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:\'#eee\',pickerFace:3,pickerBorder:0,pickerInsetColor:\'white\'}',
1350
+ 'value' => '',
1351
+ 'placeholder' => '#FFF',
1352
+ 'req_plugin' => 'fts_carousel',
1353
+ //Relative to JS.
1354
+ 'short_attr' => array(
1355
+ 'attr_name' => 'slider_controls_text_color',
1356
+ 'empty_error' => 'set',
1357
+ 'empty_error_value' => 'slider_controls_text_color=#FFF',
1358
+ 'ifs' => 'album_photos,album_videos',
1359
+ 'and_ifs' => 'carousel',
1360
+ ),
1361
+ ),
1362
+ //Carousel/Slideshow Slider Controls Bar Color
1363
+ array(
1364
+ 'input_wrap_id' => 'facebook_slider_controls_bar_color',
1365
+ 'option_type' => 'input',
1366
+ 'label' => __('Slider Controls Bar Color', 'feed-them-social') . '<br/><small>' . __('', 'feed-them-social') . '</small>',
1367
+ 'type' => 'text',
1368
+ 'id' => 'slider_controls_bar_color',
1369
+ 'name' => 'slider_controls_bar_color',
1370
+ 'class' => 'fb-text-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:\'#eee\',pickerFace:3,pickerBorder:0,pickerInsetColor:\'white\'}',
1371
+ 'value' => '',
1372
+ 'placeholder' => '#000',
1373
+ 'req_plugin' => 'fts_carousel',
1374
+ //Relative to JS.
1375
+ 'short_attr' => array(
1376
+ 'attr_name' => 'slider_controls_bar_color',
1377
+ 'empty_error' => 'set',
1378
+ 'empty_error_value' => 'slider_controls_bar_color=320px',
1379
+ 'ifs' => 'album_photos,album_videos',
1380
+ 'and_ifs' => 'carousel',
1381
+ ),
1382
+ ),
1383
+ //Carousel/Slideshow Slider Controls Bar Color
1384
+ array(
1385
+ 'input_wrap_id' => 'facebook_slider_controls_width',
1386
+ 'option_type' => 'input',
1387
+ 'label' => __('Slider Controls Max Width', 'feed-them-social') . '<br/><small>' . __('', 'feed-them-social') . '</small>',
1388
+ 'type' => 'text',
1389
+ 'id' => 'slider_controls_width',
1390
+ 'name' => 'slider_controls_width',
1391
+ 'class' => 'fb-text-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:\'#eee\',pickerFace:3,pickerBorder:0,pickerInsetColor:\'white\'}',
1392
+ 'value' => '',
1393
+ 'placeholder' => '320px',
1394
+ 'req_plugin' => 'fts_carousel',
1395
+ //Relative to JS.
1396
+ 'short_attr' => array(
1397
+ 'attr_name' => 'slider_controls_width',
1398
+ 'empty_error' => 'set',
1399
+ 'empty_error_value' => 'slider_controls_width=320px',
1400
+ 'ifs' => 'album_photos,album_videos',
1401
+ 'and_ifs' => 'carousel',
1402
+ ),
1403
+ 'sub_options_end' => 2,
1404
+ ),
1405
+ ),
1406
+ //Final Shortcode ifs
1407
+ 'shortcode_ifs' => array(
1408
+ 'page' => array(
1409
+ 'if' => array(
1410
+ 'class' => 'select#facebook-messages-selector',
1411
+ 'operator' => '==',
1412
+ 'value' => 'page',
1413
+ ),
1414
+ ),
1415
+ 'events' => array(
1416
+ 'if' => array(
1417
+ 'class' => 'select#facebook-messages-selector',
1418
+ 'operator' => '==',
1419
+ 'value' => 'events',
1420
+ ),
1421
+ ),
1422
+ 'not_events' => array(
1423
+ 'if' => array(
1424
+ 'class' => 'select#facebook-messages-selector',
1425
+ 'operator' => '!==',
1426
+ 'value' => 'events',
1427
+ ),
1428
+ ),
1429
+ 'event' => array(
1430
+ 'if' => array(
1431
+ 'class' => 'select#facebook-messages-selector',
1432
+ 'operator' => '==',
1433
+ 'value' => 'event',
1434
+ ),
1435
+ ),
1436
+ 'group' => array(
1437
+ 'if' => array(
1438
+ 'class' => 'select#facebook-messages-selector',
1439
+ 'operator' => '==',
1440
+ 'value' => 'group',
1441
+ ),
1442
+ ),
1443
+ 'not_group' => array(
1444
+ 'if' => array(
1445
+ 'class' => 'select#facebook-messages-selector',
1446
+ 'operator' => '!==',
1447
+ 'value' => 'group',
1448
+ ),
1449
+ ),
1450
+ 'album_photos' => array(
1451
+ 'if' => array(
1452
+ 'class' => 'select#facebook-messages-selector',
1453
+ 'operator' => '==',
1454
+ 'value' => 'album_photos',
1455
+ ),
1456
+ ),
1457
+ 'albums' => array(
1458
+ 'if' => array(
1459
+ 'class' => 'select#facebook-messages-selector',
1460
+ 'operator' => '==',
1461
+ 'value' => 'albums',
1462
+ ),
1463
+ ),
1464
+ 'album_videos' => array(
1465
+ 'if' => array(
1466
+ 'class' => 'select#facebook-messages-selector',
1467
+ 'operator' => '==',
1468
+ 'value' => 'album_videos',
1469
+ ),
1470
+ ),
1471
+ 'reviews' => array(
1472
+ 'if' => array(
1473
+ 'class' => 'select#facebook-messages-selector',
1474
+ 'operator' => '==',
1475
+ 'value' => 'reviews',
1476
+ ),
1477
+ ),
1478
+ 'like_box' => array(
1479
+ 'if' => array(
1480
+ 'class' => 'select#fb_hide_like_box_button',
1481
+ 'operator' => '==',
1482
+ 'value' => 'no',
1483
+ ),
1484
+ ),
1485
+ 'popup' => array(
1486
+ 'if' => array(
1487
+ 'class' => 'select#facebook_popup',
1488
+ 'operator' => '==',
1489
+ 'value' => 'yes',
1490
+ ),
1491
+ ),
1492
+ 'load_more' => array(
1493
+ 'if' => array(
1494
+ 'class' => 'select#fb_load_more_option',
1495
+ 'operator' => '==',
1496
+ 'value' => 'yes',
1497
+ ),
1498
+ ),
1499
+ 'video' => array(
1500
+ 'if' => array(
1501
+ 'class' => 'select#facebook_show_video_button',
1502
+ 'operator' => '==',
1503
+ 'value' => 'yes',
1504
+ ),
1505
+ ),
1506
+ 'grid' => array(
1507
+ 'if' => array(
1508
+ 'class' => 'select#fb-grid-option',
1509
+ 'operator' => '==',
1510
+ 'value' => 'yes',
1511
+ ),
1512
+ ),
1513
+ 'carousel' => array(
1514
+ 'if' => array(
1515
+ 'class' => 'select#fts-slider',
1516
+ 'operator' => '==',
1517
+ 'value' => 'yes',
1518
+ ),
1519
+ ),
1520
+ ),
1521
+ //Generator Info
1522
+ 'generator_title' => __('Facebook Page Feed Shortcode', 'feed-them-social'),
1523
+ 'generator_class' => 'facebook-page-final-shortcode',
1524
+ );
1525
+
1526
+ return $this->all_options['facebook'];
1527
+ }
1528
+
1529
+
1530
+ /* *
1531
+ * Combine Steams Options
1532
+ *
1533
+ * These are the options for the combine streams plugin
1534
+ *
1535
+ * @return mixed
1536
+ * @since 1.0.0
1537
+ */
1538
+ function combine_streams_options() {
1539
+
1540
+
1541
+
1542
+
1543
+ $this->all_options['combine_streams'] = array(
1544
+ 'shorcode_label' => 'mashup',
1545
+ 'section_attr_key' => 'combine_',
1546
+ 'section_title' => __('Combine Streams Shortcode Generator', 'feed-them-social'),
1547
+ 'section_wrap_class' => 'fts-combine-steams-shortcode-form',
1548
+ //Form Info
1549
+ 'form_wrap_classes' => 'combine-steams-shortcode-form',
1550
+ 'form_wrap_id' => 'fts-combine-steams-form',
1551
+ //Token Check
1552
+ /* 'token_check' => array(
1553
+ 1 => array(
1554
+ 'option_name' => 'fts_facebook_custom_api_token',
1555
+ '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.',
1556
+ ),
1557
+ 2 => array(
1558
+ 'option_name' => 'fts_facebook_custom_api_token_biz',
1559
+ '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.',
1560
+ 'req_plugin' => 'facebook_reviews',
1561
+ ),
1562
+ ),*/
1563
+ //Feed Type Selection
1564
+ 'feed_type_select' => array(
1565
+ 'label' => __('Feeds To Combine', 'feed-them-social'),
1566
+ 'select_wrap_classes' => 'fts-combine-steams-selector',
1567
+ 'select_classes' => '',
1568
+ 'select_name' => 'combine-steams-selector',
1569
+ 'select_id' => 'combine-steams-selector',
1570
+ ),
1571
+ //Feed Types and their options
1572
+ 'feeds_types' => array(
1573
+ //All Feeds (1 of each for now)
1574
+ 1 => array(
1575
+ 'value' => 'all',
1576
+ 'title' => __('All Feeds', 'feed-them-social'),
1577
+ ),
1578
+ //All Feeds (1 of each for now)
1579
+ 2 => array(
1580
+ 'value' => 'multiple_facebook',
1581
+ 'title' => __('Multiple Facebook Feeds', 'feed-them-social'),
1582
+ ),
1583
+ ),
1584
+ 'premium_msg_boxes' => array(
1585
+ 'main_select' => array(
1586
+ 'req_plugin' => 'combine_streams',
1587
+ '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!
1588
+ <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>',
1589
+ ),
1590
+ ),
1591
+ 'short_attr_final' => 'yes',
1592
+ //Inputs relative to all Feed_types of this feed. (Eliminates Duplication)[Excluded from loop when creating select]
1593
+
1594
+ 'main_options' => array(
1595
+ //Combined Total # of Posts
1596
+ array(
1597
+ 'grouped_options_title' => __('Combined Stream', 'feed-them-social'),
1598
+ 'option_type' => 'input',
1599
+ 'label' => __('Combined Total # of Posts', 'feed-them-social'),
1600
+ 'type' => 'text',
1601
+ 'id' => 'combine_post_count',
1602
+ 'name' => 'combine_post_count',
1603
+ 'value' => '',
1604
+ 'placeholder' => __('6 is the default value', 'feed-them-social'),
1605
+ 'req_plugin' => 'combine_streams',
1606
+ //Relative to JS.
1607
+ 'short_attr' => array(
1608
+ 'attr_name' => 'posts',
1609
+ 'var_final_if' => 'yes',
1610
+ 'empty_error' => 'set',
1611
+ 'empty_error_value' => 'posts=6',
1612
+ ),
1613
+ ),
1614
+ //# of Posts per Social Network
1615
+ array(
1616
+ 'option_type' => 'input',
1617
+ 'input_wrap_class' => 'combine_social_network_post_count',
1618
+ 'label' => __('# of Posts per Social Network (NOT the combined total)', 'feed-them-social'),
1619
+ 'type' => 'text',
1620
+ //'instructional-text' => __('', 'feed-them-social'),
1621
+ 'id' => 'combine_social_network_post_count',
1622
+ 'name' => 'combine_social_network_post_count',
1623
+ 'value' => '',
1624
+ 'placeholder' => __('1 is the default value', 'feed-them-social'),
1625
+ 'req_plugin' => 'combine_streams',
1626
+ //Relative to JS.
1627
+ 'short_attr' => array(
1628
+ 'attr_name' => 'social_network_posts',
1629
+ 'var_final_if' => 'yes',
1630
+ 'empty_error' => 'set',
1631
+ 'empty_error_value' => 'social_network_posts=1',
1632
+ ),
1633
+ ),
1634
+ //Facebook Amount of words
1635
+ array(
1636
+ 'option_type' => 'input',
1637
+ 'label' => __('Amount of words per post', 'feed-them-social') . '<br/><small>' . __('Type 0 to remove the posts description', 'feed-them-social') . '</small>',
1638
+ 'type' => 'text',
1639
+ 'id' => 'combine_word_count_option',
1640
+ 'name' => 'combine_word_count_option',
1641
+ 'placeholder' => '45 ' . __('is the default value', 'feed-them-social'),
1642
+ 'value' => '',
1643
+ 'req_plugin' => 'combine_streams',
1644
+ //Relative to JS.
1645
+ 'short_attr' => array(
1646
+ 'attr_name' => 'words',
1647
+ 'empty_error' => 'set',
1648
+ 'empty_error_value' => 'words=45',
1649
+ ),
1650
+ ),
1651
+ //Center Container
1652
+ array(
1653
+ 'option_type' => 'select',
1654
+ 'label' => __('Center Feed Container', 'feed-them-social'),
1655
+ 'type' => 'text',
1656
+ 'id' => 'combine_container_position',
1657
+ 'name' => 'combine_container_position',
1658
+ 'options' => array(
1659
+ 1 => array(
1660
+ 'label' => __('Yes', 'feed-them-social'),
1661
+ 'value' => 'yes',
1662
+ ),
1663
+ 2 => array(
1664
+ 'label' => __('No', 'feed-them-social'),
1665
+ 'value' => 'no',
1666
+ ),
1667
+ ),
1668
+ 'req_plugin' => 'combine_streams',
1669
+ 'short_attr' => array(
1670
+ 'attr_name' => 'center_container',
1671
+ ),
1672
+ ),
1673
+ //Page Fixed Height
1674
+ array(
1675
+ 'input_wrap_class' => 'combine_height',
1676
+ 'option_type' => 'input',
1677
+ 'label' => __('Feed Fixed Height', 'feed-them-social') . '<br/><small>' . __('Leave blank for auto height', 'feed-them-social') . '</small>',
1678
+ 'type' => 'text',
1679
+ 'id' => 'combine_height',
1680
+ 'name' => 'combine_height',
1681
+ 'value' => '',
1682
+ 'req_plugin' => 'combine_streams',
1683
+ 'placeholder' => '450px ' . __('for example', 'feed-them-social'),
1684
+ //Relative to JS.
1685
+ 'short_attr' => array(
1686
+ 'attr_name' => 'height',
1687
+ 'var_final_if' => 'yes',
1688
+ 'empty_error' => 'set',
1689
+ 'empty_error_value' => '',
1690
+ ),
1691
+ ),
1692
+ //Background Color
1693
+ array(
1694
+ 'option_type' => 'input',
1695
+ 'input_wrap_class' => 'combine_background_color',
1696
+ 'label' => __('Background Color', 'feed-them-social'),
1697
+ 'type' => 'text',
1698
+ 'id' => 'combine_background_color',
1699
+ 'name' => 'combine_background_color', //Relative to JS.
1700
+ 'req_plugin' => 'combine_streams',
1701
+ 'short_attr' => array(
1702
+ 'attr_name' => 'background_color',
1703
+ 'var_final_if' => 'yes',
1704
+ 'empty_error' => 'set',
1705
+ 'empty_error_value' => '',
1706
+ ),
1707
+ ),
1708
+ //Padding
1709
+ array(
1710
+ 'option_type' => 'input',
1711
+ 'input_wrap_class' => 'combine_padding',
1712
+ 'label' => __('Padding', 'feed-them-social'),
1713
+ 'type' => 'text',
1714
+ 'id' => 'combine_padding',
1715
+ 'name' => 'combine_padding',
1716
+ 'req_plugin' => 'combine_streams',
1717
+ //Relative to JS.
1718
+ 'short_attr' => array(
1719
+ 'attr_name' => 'padding',
1720
+ 'var_final_if' => 'yes',
1721
+ 'empty_error' => 'set',
1722
+ 'empty_error_value' => '',
1723
+ ),
1724
+ ),
1725
+ //Social Icon
1726
+ array(
1727
+ 'input_wrap_class' => 'combine_show_social_icon',
1728
+ 'option_type' => 'select',
1729
+ 'label' => __('Show Social Icon', 'feed-them-social'),
1730
+ 'type' => 'text',
1731
+ 'id' => 'combine_show_social_icon',
1732
+ 'name' => 'combine_show_social_icon',
1733
+ 'req_plugin' => 'combine_streams',
1734
+ 'options' => array(
1735
+ array(
1736
+ 'label' => __('Left', 'feed-them-social'),
1737
+ 'value' => 'left',
1738
+ ),
1739
+ array(
1740
+ 'label' => __('Right', 'feed-them-social'),
1741
+ 'value' => 'right',
1742
+ ),
1743
+ array(
1744
+ 'label' => __('No', 'feed-them-social'),
1745
+ 'value' => 'no',
1746
+ ),
1747
+ ),
1748
+ 'short_attr' => array(
1749
+ 'attr_name' => 'show_social_icon',
1750
+ ),
1751
+ ),
1752
+ //Combine Facebook
1753
+ array(
1754
+ 'grouped_options_title' => __('Facebook', 'feed-them-social'),
1755
+ 'option_type' => 'select',
1756
+ 'label' => __('Combine Facebook', 'feed-them-social'),
1757
+ 'type' => 'text',
1758
+ 'id' => 'combine_facebook',
1759
+ 'name' => 'combine_facebook',
1760
+ 'options' => array(
1761
+ array(
1762
+ 'label' => __('No', 'feed-them-social'),
1763
+ 'value' => 'no',
1764
+ ),
1765
+ array(
1766
+ 'label' => __('Yes', 'feed-them-social'),
1767
+ 'value' => 'yes',
1768
+ ),
1769
+ ),
1770
+ 'req_plugin' => 'combine_streams',
1771
+ 'short_attr' => array(
1772
+ 'attr_name' => '',
1773
+ 'empty_error_value' => '',
1774
+ 'no_attribute' => 'yes',
1775
+ 'ifs' => 'combine_facebook',
1776
+ ),
1777
+ 'sub_options' => array(
1778
+ 'sub_options_wrap_class' => 'main-combine-facebook-wrap',
1779
+ ),
1780
+ ),
1781
+ //Combine Facebook ID
1782
+ array(
1783
+ 'option_type' => 'input',
1784
+ 'input_wrap_class' => 'combine_facebook_name',
1785
+ 'label' => __('Facebook ID', 'feed-them-social'),
1786
+ '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 then copy your <a href="https://www.slickremix.com/docs/how-to-get-your-facebook-id-and-video-gallery-id" target="_blank">Facebook Name</a> and paste it in the first input below.',
1787
+ 'type' => 'text',
1788
+ 'id' => 'combine_facebook_name',
1789
+ 'name' => 'combine_facebook_name',
1790
+ 'req_plugin' => 'combine_streams',
1791
+ //Relative to JS.
1792
+ 'short_attr' => array(
1793
+ 'attr_name' => 'facebook_name',
1794
+ 'var_final_if' => 'yes',
1795
+ 'empty_error' => 'set',
1796
+ 'empty_error_value' => '',
1797
+ ),
1798
+ 'sub_options' => array(
1799
+ 'sub_options_wrap_class' => 'combine-facebook-wrap',
1800
+ ),
1801
+ 'sub_options_end' => true,
1802
+ ),
1803
+
1804
+
1805
+ //Combine Twitter
1806
+ array(
1807
+ 'grouped_options_title' => __('Twitter', 'feed-them-social'),
1808
+ 'option_type' => 'select',
1809
+ 'label' => __('Combine Twitter', 'feed-them-social'),
1810
+ 'type' => 'text',
1811
+ 'id' => 'combine_twitter',
1812
+ 'name' => 'combine_twitter',
1813
+ 'req_plugin' => 'combine_streams',
1814
+ 'options' => array(
1815
+ array(
1816
+ 'label' => __('No', 'feed-them-social'),
1817
+ 'value' => 'no',
1818
+ ),
1819
+ array(
1820
+ 'label' => __('Yes', 'feed-them-social'),
1821
+ 'value' => 'yes',
1822
+ ),
1823
+ ),
1824
+ 'short_attr' => array(
1825
+ 'attr_name' => '',
1826
+ 'empty_error_value' => '',
1827
+ 'no_attribute' => 'yes',
1828
+ ),
1829
+ 'sub_options' => array(
1830
+ 'sub_options_wrap_class' => 'main-combine-twitter-wrap',
1831
+ ),
1832
+ ),
1833
+
1834
+
1835
+ //Feed Type Selection
1836
+ array(
1837
+ 'option_type' => 'select',
1838
+ 'label' => __('Feed Type', 'feed-them-social'),
1839
+ 'select_wrap_classes' => 'combine-twitter-gen-selection',
1840
+ 'select_classes' => '',
1841
+ 'name' => 'combine-twitter-messages-selector',
1842
+ 'id' => 'combine-twitter-messages-selector',
1843
+ 'req_plugin' => 'combine_streams',
1844
+ //Feed Types and their options
1845
+ 'options' => array(
1846
+ //User Feed
1847
+ array(
1848
+ 'value' => 'user',
1849
+ 'label' => __('User Feed', 'feed-them-social'),
1850
+ ),
1851
+ //hastag Feed
1852
+ array(
1853
+ 'value' => 'hashtag',
1854
+ 'label' => __('Hashtag, Search and more Feed', 'feed-them-social'),
1855
+ ),
1856
+ ),
1857
+ 'short_attr' => array(
1858
+ 'attr_name' => '',
1859
+ 'empty_error_value' => '',
1860
+ 'no_attribute' => 'yes',
1861
+ ),
1862
+ 'sub_options' => array(
1863
+ 'sub_options_wrap_class' => 'combine-twitter-wrap',
1864
+ ),
1865
+ ),
1866
+
1867
+ // 'short_attr_final' => 'yes',
1868
+ //Inputs relative to all Feed_types of this feed. (Eliminates Duplication)[Excluded from loop when creating select]
1869
+
1870
+
1871
+ //Twitter Search Name
1872
+ array(
1873
+ 'option_type' => 'input',
1874
+ 'input_wrap_class' => 'combine_twitter_hashtag_etc_name',
1875
+ 'label' => __('Twitter Search Name (required)', 'feed-them-social'),
1876
+ 'type' => 'text',
1877
+ 'id' => 'combine_twitter_hashtag_etc_name',
1878
+ 'name' => 'combine_twitter_hashtag_etc_name',
1879
+ 'value' => '',
1880
+ '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'),
1881
+ //Relative to JS.
1882
+ 'short_attr' => array(
1883
+
1884
+
1885
+ 'attr_name' => 'search',
1886
+ 'var_final_if' => 'yes',
1887
+ 'empty_error' => 'set',
1888
+ 'empty_error_value' => '',
1889
+ 'empty_error_if' => array(
1890
+ 'attribute' => 'select#combine-twitter-messages-selector',
1891
+ 'operator' => '==',
1892
+ 'value' => 'hashtag',
1893
+ ),
1894
+
1895
+
1896
+ ),
1897
+ 'req_plugin' => 'combine_streams',
1898
+ //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)
1899
+ 'sub_options' => array(
1900
+ 'sub_options_wrap_class' => 'combine-twitter-hashtag-etc-wrap',
1901
+ 'sub_options_title' => __('Twitter Search', 'feed-them-social'),
1902
+ ),
1903
+ 'sub_options_end' => true,
1904
+
1905
+ ),
1906
+ //Twitter Name
1907
+ array(
1908
+ 'option_type' => 'input',
1909
+ 'input_wrap_class' => 'combine_twitter_name',
1910
+ 'label' => __('Twitter Name', 'feed-them-social'),
1911
+ 'type' => 'text',
1912
+ 'id' => 'combine_twitter_name',
1913
+ 'name' => 'combine_twitter_name',
1914
+ '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>',
1915
+ 'value' => '',
1916
+ //Relative to JS.
1917
+ 'short_attr' => array(
1918
+ 'attr_name' => 'twitter_name',
1919
+ 'var_final_if' => 'yes',
1920
+ 'empty_error' => 'set',
1921
+ 'empty_error_value' => '',
1922
+ 'empty_error_if' => array(
1923
+ 'attribute' => 'select#combine-twitter-messages-selector',
1924
+ 'operator' => '==',
1925
+ 'value' => 'user',
1926
+ ),
1927
+ ),
1928
+ 'req_plugin' => 'combine_streams',
1929
+ 'sub_options_end' => 2,
1930
+ ),
1931
+
1932
+
1933
+ //Combine Instagram
1934
+ array(
1935
+ 'grouped_options_title' => __('Instagram', 'feed-them-social'),
1936
+ 'option_type' => 'select',
1937
+ 'label' => __('Combine Instagram', 'feed-them-social'),
1938
+ 'type' => 'text',
1939
+ 'id' => 'combine_instagram',
1940
+ 'name' => 'combine_instagram',
1941
+ 'options' => array(
1942
+ 1 => array(
1943
+ 'label' => __('No', 'feed-them-social'),
1944
+ 'value' => 'no',
1945
+ ),
1946
+ 2 => array(
1947
+ 'label' => __('Yes', 'feed-them-social'),
1948
+ 'value' => 'yes',
1949
+ ),
1950
+ ),
1951
+ 'req_plugin' => 'combine_streams',
1952
+ 'short_attr' => array(
1953
+ 'attr_name' => '',
1954
+ 'empty_error_value' => '',
1955
+ 'no_attribute' => 'yes',
1956
+ ),
1957
+ 'sub_options' => array(
1958
+ 'sub_options_wrap_class' => 'main-combine-instagram-wrap',
1959
+ ),
1960
+ ),
1961
+
1962
+
1963
+ //Instagram Type
1964
+ array(
1965
+ 'input_wrap_class' => 'combine_instagram_type',
1966
+ 'option_type' => 'select',
1967
+ 'label' => __('Instagram Type', 'feed-them-social'),
1968
+ '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>.',
1969
+ 'type' => 'text',
1970
+ 'id' => 'combine_instagram_type',
1971
+ 'name' => 'combine_instagram_type',
1972
+ 'options' => array(
1973
+ //User Feed
1974
+ array(
1975
+ 'value' => 'user',
1976
+ 'label' => __('User Feed', 'feed-them-social'),
1977
+ ),
1978
+ //hastag Feed
1979
+ array(
1980
+ 'value' => 'hashtag',
1981
+ 'label' => __('Hashtag Feed', 'feed-them-social'),
1982
+ ),
1983
+ //location Feed
1984
+ array(
1985
+ 'value' => 'location',
1986
+ 'label' => __('Location Feed', 'feed-them-social'),
1987
+ ),
1988
+ ),
1989
+ 'req_plugin' => 'combine_streams',
1990
+ 'short_attr' => array(
1991
+ 'attr_name' => 'instagram_type',
1992
+ 'ifs' => 'combine_instagram',
1993
+ ),
1994
+ 'sub_options' => array(
1995
+ 'sub_options_wrap_class' => 'combine-instagram-wrap',
1996
+ ),
1997
+ ),
1998
+
1999
+
2000
+ //Combine Convert Instagram Name
2001
+ array(
2002
+ 'option_type' => 'input',
2003
+ 'input_wrap_class' => 'combine-instagram-id-option-wrap',
2004
+ 'label' => __('Convert Instagram Name to ID', 'feed-them-social'),
2005
+ 'type' => 'text',
2006
+ 'id' => 'combine_convert_instagram_username',
2007
+ 'name' => 'combine_convert_instagram_username',
2008
+ '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'),
2009
+ 'req_plugin' => 'combine_streams',
2010
+ //Relative to JS.
2011
+ 'short_attr' => array(
2012
+ 'attr_name' => '',
2013
+ 'ifs' => 'combine_instagram',
2014
+ 'no_attribute' => 'yes'
2015
+ ),
2016
+ ),
2017
+
2018
+ //Instagram ID
2019
+ array(
2020
+ 'option_type' => 'input',
2021
+ // 'input_wrap_class' => 'combine_instagram_name',
2022
+ 'label' => array(
2023
+ 1 => array(
2024
+ 'text' => __('Instagram ID # (required)', 'feed-them-social'),
2025
+ 'class' => 'combine-instagram-user-option-text',
2026
+ ),
2027
+ 2 => array(
2028
+ 'text' => __('Hashtag (required)', 'feed-them-social'),
2029
+ 'class' => 'combine-instagram-hashtag-option-text',
2030
+ ),
2031
+ 3 => array(
2032
+ 'text' => __('Location ID (required)', 'feed-them-social'),
2033
+ 'class' => 'combine-instagram-location-option-text',
2034
+ ),
2035
+ ),
2036
+ 'type' => 'text',
2037
+ 'id' => 'combine_instagram_name',
2038
+ 'name' => 'combine_instagram_name',
2039
+ 'required' => 'combine_streams',
2040
+ 'instructional-text' => array(
2041
+ 1 => array(
2042
+ 'text' => __('<div class="fts-insta-info-plus-wrapper">Choose a different ID if yours is not the first name below after clicking Convert Instagram Username button.</div><!-- the li list comes from an ajax call after looking up the user ID --><ul id="fts-instagram-username-picker-wrap-combined" class="fts-instagram-username-picker-wrap"></ul>', 'feed-them-social'),
2043
+ 'class' => 'combine-instagram-user-option-text',
2044
+ ),
2045
+ 2 => array(
2046
+ 'text' => __('Add your Hashtag below. Do not add the #, just the name.', 'feed-them-social'),
2047
+ 'class' => 'combine-instagram-hashtag-option-text',
2048
+ ),
2049
+ 3 => array(
2050
+ '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'),
2051
+ 'class' => 'combine-instagram-location-option-text',
2052
+ ),
2053
+ ),
2054
+ //Relative to JS.
2055
+ 'short_attr' => array(
2056
+ 'attr_name' => 'instagram_name',
2057
+ 'ifs' => 'combine_instagram',
2058
+ 'var_final_if' => 'no',
2059
+ 'empty_error' => 'set',
2060
+ 'empty_error_value' => '',
2061
+ ),
2062
+ 'sub_options_end' => 2,
2063
+ ),
2064
+
2065
+
2066
+ //Combine Pinterest
2067
+ array(
2068
+ 'grouped_options_title' => __('Pinterest', 'feed-them-social'),
2069
+ 'option_type' => 'select',
2070
+ 'label' => __('Combine Pinterest', 'feed-them-social'),
2071
+ 'type' => 'text',
2072
+ 'id' => 'combine_pinterest',
2073
+ 'name' => 'combine_pinterest',
2074
+ 'options' => array(
2075
+ array(
2076
+ 'label' => __('No', 'feed-them-social'),
2077
+ 'value' => 'no',
2078
+ ),
2079
+ array(
2080
+ 'label' => __('Yes', 'feed-them-social'),
2081
+ 'value' => 'yes',
2082
+ ),
2083
+ ),
2084
+ 'req_plugin' => 'combine_streams',
2085
+ 'short_attr' => array(
2086
+ 'attr_name' => '',
2087
+ 'empty_error_value' => '',
2088
+ 'no_attribute' => 'yes',
2089
+ ),
2090
+ 'sub_options' => array(
2091
+ 'sub_options_wrap_class' => 'main-combine-pinterest-wrap',
2092
+ ),
2093
+ ),
2094
+ //Pinterest Type
2095
+ array(
2096
+ 'input_wrap_class' => 'combine_pinterest_type',
2097
+ 'option_type' => 'select',
2098
+ 'label' => __('Pinterest Type', 'feed-them-social'),
2099
+ '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.',
2100
+ 'type' => 'text',
2101
+ 'id' => 'combine_pinterest_type',
2102
+ 'name' => 'combine_pinterest_type',
2103
+ 'options' => array(
2104
+ //Single Board Pins
2105
+ array(
2106
+ 'label' => __('Latest Pins from a User', 'feed-them-social'),
2107
+ 'value' => 'pins_from_user',
2108
+ ),
2109
+ //Single Board Pins
2110
+ array(
2111
+ 'label' => __('Pins From a Specific Board', 'feed-them-social'),
2112
+ 'value' => 'single_board_pins',
2113
+ ),
2114
+ ),
2115
+ 'req_plugin' => 'combine_streams',
2116
+ 'short_attr' => array(
2117
+ 'attr_name' => 'pinterest_type',
2118
+ 'ifs' => 'combine_pinterest',
2119
+ ),
2120
+ 'sub_options' => array(
2121
+ 'sub_options_wrap_class' => 'combine-pinterest-wrap',
2122
+ ),
2123
+ ),
2124
+ //Pinterest Name
2125
+ array(
2126
+ 'option_type' => 'input',
2127
+ 'input_wrap_class' => 'combine_pinterest_name',
2128
+ 'label' => __('Pinterest Name', 'feed-them-social'),
2129
+ 'type' => 'text',
2130
+ 'id' => 'combine_pinterest_name',
2131
+ 'name' => 'combine_pinterest_name',
2132
+ 'req_plugin' => 'combine_streams',
2133
+ //Relative to JS.
2134
+ 'short_attr' => array(
2135
+ 'attr_name' => 'pinterest_name',
2136
+ 'ifs' => 'combine_pinterest',
2137
+ 'var_final_if' => 'yes',
2138
+ 'empty_error' => 'set',
2139
+ 'empty_error_value' => '',
2140
+ ),
2141
+ ),
2142
+ //Pinterest Board ID
2143
+ array(
2144
+ 'option_type' => 'input',
2145
+ 'input_wrap_class' => 'combine_board_id',
2146
+ 'label' => __('Pinterest Board ID', 'feed-them-social'),
2147
+ 'type' => 'text',
2148
+ 'id' => 'combine_board_id',
2149
+ 'name' => 'combine_board_id',
2150
+ 'req_plugin' => 'combine_streams',
2151
+ //Relative to JS.
2152
+ 'short_attr' => array(
2153
+ 'attr_name' => 'board_id',
2154
+ 'ifs' => 'pinterest_single_board_pins',
2155
+ ),
2156
+ 'sub_options_end' => 2,
2157
+ ),
2158
+ //Combine Youtube
2159
+ array(
2160
+ 'grouped_options_title' => __('Youtube', 'feed-them-social'),
2161
+ 'option_type' => 'select',
2162
+ 'label' => __('Combine Youtube', 'feed-them-social'),
2163
+ 'type' => 'text',
2164
+ 'id' => 'combine_youtube',
2165
+ 'name' => 'combine_youtube',
2166
+ 'options' => array(
2167
+ array(
2168
+ 'label' => __('No', 'feed-them-social'),
2169
+ 'value' => 'no',
2170
+ ),
2171
+ array(
2172
+ 'label' => __('Yes', 'feed-them-social'),
2173
+ 'value' => 'yes',
2174
+ ),
2175
+ ),
2176
+ 'req_plugin' => 'combine_streams',
2177
+ 'short_attr' => array(
2178
+ 'attr_name' => '',
2179
+ 'empty_error_value' => '',
2180
+ 'no_attribute' => 'yes',
2181
+ ),
2182
+ 'sub_options' => array(
2183
+ 'sub_options_wrap_class' => 'main-combine-youtube-wrap',
2184
+ ),
2185
+ ),
2186
+ //Youtube Type
2187
+ array(
2188
+ 'input_wrap_class' => 'combine_youtube_type',
2189
+ 'option_type' => 'select',
2190
+ 'label' => __('Youtube Type', 'feed-them-social'),
2191
+ 'type' => 'text',
2192
+ 'id' => 'combine_youtube_type',
2193
+ 'name' => 'combine_youtube_type',
2194
+ 'options' => array( //Channel Feed
2195
+ array(
2196
+ 'label' => __('Channel Feed', 'feed-them-social'),
2197
+ 'value' => 'channelID',
2198
+ ), //Channel Playlist Feed
2199
+ array(
2200
+ 'label' => __('Channel\'s Specific Playlist', 'feed-them-social'),
2201
+ 'value' => 'playlistID',
2202
+ ),
2203
+ //User's Most Recent Videos
2204
+ array(
2205
+ 'label' => __('User\'s Most Recent Videos', 'feed-them-social'),
2206
+ 'value' => 'username',
2207
+ ),
2208
+ //User's Playlist
2209
+ array(
2210
+ 'label' => __('User\'s Specific Playlist', 'feed-them-social'),
2211
+ 'value' => 'userPlaylist',
2212
+ ),
2213
+
2214
+
2215
+ ),
2216
+ 'req_plugin' => 'combine_streams',
2217
+ 'short_attr' => array(
2218
+ 'attr_name' => '',
2219
+ 'no_attribute' => 'yes',
2220
+ 'ifs' => 'combine_youtube',
2221
+ ),
2222
+ 'sub_options' => array(
2223
+ 'sub_options_wrap_class' => 'combine-youtube-wrap',
2224
+ ),
2225
+ ),
2226
+ //Youtube Name
2227
+ array(
2228
+ 'option_type' => 'input',
2229
+ 'input_wrap_class' => 'combine_youtube_name',
2230
+ 'label' => __('YouTube Username', 'feed-them-social'),
2231
+ 'type' => 'text',
2232
+ 'id' => 'combine_youtube_name',
2233
+ 'name' => 'combine_youtube_name',
2234
+ 'instructional-text' => '<strong>REQUIRED:</strong> Make sure you have an <strong>API Key</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.',
2235
+ 'req_plugin' => 'combine_streams',
2236
+ //Relative to JS.
2237
+ 'short_attr' => array(
2238
+ 'attr_name' => 'youtube_name',
2239
+ 'ifs' => 'combine_youtube',
2240
+ 'var_final_if' => 'yes',
2241
+ 'empty_error' => 'set',
2242
+ 'empty_error_value' => '',
2243
+ ),
2244
+ ),
2245
+ //YouTube Playlist ID
2246
+ array(
2247
+ 'option_type' => 'input',
2248
+ 'input_wrap_class' => 'combine_playlist_id',
2249
+ 'label' => __('YouTube Playlist ID', 'feed-them-social'),
2250
+ 'type' => 'text',
2251
+ 'id' => 'combine_playlist_id',
2252
+ 'name' => 'combine_playlist_id',
2253
+ 'instructional-text' => '<strong>REQUIRED:</strong> Make sure you have an <strong>API Key</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.',
2254
+ 'req_plugin' => 'combine_streams',
2255
+ //Relative to JS.
2256
+ 'short_attr' => array(
2257
+ 'attr_name' => 'playlist_id',
2258
+ 'ifs' => 'combine_youtube',
2259
+ ),
2260
+ ),
2261
+ //YouTube Channel ID
2262
+ array(
2263
+ 'option_type' => 'input',
2264
+ 'input_wrap_class' => 'combine_channel_id',
2265
+ 'label' => __('YouTube Channel ID', 'feed-them-social'),
2266
+ 'type' => 'text',
2267
+ 'id' => 'combine_channel_id',
2268
+ 'name' => 'combine_channel_id',
2269
+ 'instructional-text' => '<strong>REQUIRED:</strong> Make sure you have an <strong>API Key</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.',
2270
+ 'req_plugin' => 'combine_streams',
2271
+ //Relative to JS.
2272
+ 'short_attr' => array(
2273
+ 'attr_name' => 'channel_id',
2274
+ 'ifs' => 'combine_youtube',
2275
+ ),
2276
+ 'sub_options_end' => 2,
2277
+ ),
2278
+ //******************************************
2279
+ // Combine Streams Grid Options
2280
+ //******************************************
2281
+ //Facebook Page Display Posts in Grid
2282
+ array(
2283
+ 'grouped_options_title' => __('Grid', 'feed-them-social'),
2284
+ 'input_wrap_class' => 'combine_grid_option',
2285
+ 'option_type' => 'select',
2286
+ 'label' => __('Display Posts in Grid', 'feed-them-social'),
2287
+ 'type' => 'text',
2288
+ 'id' => 'combine_grid_option',
2289
+ 'name' => 'combine_grid_option',
2290
+ 'options' => array(
2291
+ 1 => array(
2292
+ 'label' => __('No', 'feed-them-social'),
2293
+ 'value' => 'no',
2294
+ ),
2295
+ 2 => array(
2296
+ 'label' => __('Yes', 'feed-them-social'),
2297
+ 'value' => 'yes',
2298
+ ),
2299
+ ),
2300
+ 'req_plugin' => 'combine_streams',
2301
+ 'short_attr' => array(
2302
+ 'attr_name' => 'grid',
2303
+ 'empty_error' => 'set',
2304
+ 'set_operator' => '==',
2305
+ 'set_equals' => 'yes',
2306
+ 'empty_error_value' => '',
2307
+ ),
2308
+ //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)
2309
+ 'sub_options' => array(
2310
+ 'sub_options_wrap_class' => 'combine-main-grid-options-wrap',
2311
+ ),
2312
+ ),
2313
+ //Grid Column Width
2314
+ array(
2315
+ 'option_type' => 'input',
2316
+ 'label' => __('Grid Column Width', 'feed-them-social'),
2317
+ 'type' => 'text',
2318
+ 'id' => 'combine_grid_column_width',
2319
+ 'name' => 'combine_grid_column_width',
2320
+ 'instructional-text' => __('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'),
2321
+ 'placeholder' => '310px ' . __('for example', 'feed-them-social'),
2322
+ 'req_plugin' => 'combine_streams',
2323
+ //Relative to JS.
2324
+ 'short_attr' => array(
2325
+ 'attr_name' => 'column_width',
2326
+ 'empty_error' => 'set',
2327
+ 'empty_error_value' => 'column_width=310px',
2328
+ 'ifs' => 'combine_grid',
2329
+ ),
2330
+ //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)
2331
+ 'sub_options' => array(
2332
+ 'sub_options_wrap_class' => 'combine-grid-options-wrap',
2333
+ ),
2334
+ ),
2335
+ //Grid Spaces Between Posts
2336
+ array(
2337
+ 'option_type' => 'input',
2338
+ 'label' => __('Grid Spaces Between Posts', 'feed-them-social'),
2339
+ 'type' => 'text',
2340
+ 'id' => 'combine_grid_space_between_posts',
2341
+ 'name' => 'combine_grid_space_between_posts',
2342
+ 'placeholder' => '10px ' . __('for example', 'feed-them-social'),
2343
+ 'req_plugin' => 'combine_streams',
2344
+ //Relative to JS.
2345
+ 'short_attr' => array(
2346
+ 'attr_name' => 'space_between_posts',
2347
+ 'empty_error' => 'set',
2348
+ 'empty_error_value' => 'space_between_posts=10px',
2349
+ 'ifs' => 'combine_grid',
2350
+ ),
2351
+ 'sub_options_end' => 2,
2352
+ ),
2353
+ ),
2354
+ //Final Shortcode ifs
2355
+ 'shortcode_ifs' => array(
2356
+ 'main_select' => array(
2357
+ 'if' => array(
2358
+ 'class' => 'select#shortcode-form-selector',
2359
+ 'operator' => '==',
2360
+ 'value' => 'combine-steams-shortcode-form',
2361
+ ),
2362
+ ),
2363
+ 'combine_facebook' => array(
2364
+ 'if' => array(
2365
+ 'class' => 'select#combine_facebook',
2366
+ 'operator' => '==',
2367
+ 'value' => 'yes',
2368
+ ),
2369
+ ),
2370
+ // 'combine_twitter' => array(
2371
+ // 'if' => array(
2372
+ // 'class' => 'select#combine-twitter-messages-selector',
2373
+ // 'operator' => '==',
2374
+ // 'value' => '',
2375
+ // ),
2376
+ // ),
2377
+ // 'combine_twitter_search' => array(
2378
+ // 'if' => array(
2379
+ // 'class' => 'select#combine-twitter-messages-selector',
2380
+ // 'operator' => '==',
2381
+ // 'value' => '',
2382
+ // ),
2383
+ // ),
2384
+ 'combine_instagram' => array(
2385
+ 'if' => array(
2386
+ 'class' => 'select#combine_instagram',
2387
+ 'operator' => '==',
2388
+ 'value' => 'yes',
2389
+ ),
2390
+ ),
2391
+ 'combine_pinterest' => array(
2392
+ 'if' => array(
2393
+ 'class' => 'select#combine_pinterest',
2394
+ 'operator' => '==',
2395
+ 'value' => 'yes',
2396
+ ),
2397
+ ),
2398
+ 'combine_youtube' => array(
2399
+ 'if' => array(
2400
+ 'class' => 'select#combine_youtube',
2401
+ 'operator' => '==',
2402
+ 'value' => 'yes',
2403
+ ),
2404
+ ),
2405
+ 'combine_load_more' => array(
2406
+ 'if' => array(
2407
+ 'class' => 'select#fb_load_more_option',
2408
+ 'operator' => '==',
2409
+ 'value' => 'yes',
2410
+ ),
2411
+ ),
2412
+ 'combine_grid' => array(
2413
+ 'if' => array(
2414
+ 'class' => 'select#combine_grid_option',
2415
+ 'operator' => '==',
2416
+ 'value' => 'yes',
2417
+ ),
2418
+ ),
2419
+ 'yt_username' => array(
2420
+ 'if' => array(
2421
+ 'class' => 'select#combine_youtube_type',
2422
+ 'operator' => '==',
2423
+ 'value' => 'username',
2424
+ ),
2425
+ ),
2426
+ 'yt_userPlaylist' => array(
2427
+ 'if' => array(
2428
+ 'class' => 'select#combine_youtube_type',
2429
+ 'operator' => '==',
2430
+ 'value' => 'userPlaylist',
2431
+ ),
2432
+ ),
2433
+ 'yt_channelID' => array(
2434
+ 'if' => array(
2435
+ 'class' => 'select#combine_youtube_type',
2436
+ 'operator' => '==',
2437
+ 'value' => 'channelID',
2438
+ ),
2439
+ ),
2440
+ 'yt_playlistID' => array(
2441
+ 'if' => array(
2442
+ 'class' => 'select#combine_youtube_type',
2443
+ 'operator' => '==',
2444
+ 'value' => 'playlistID',
2445
+ ),
2446
+ ),
2447
+ 'pinterest_single_board_pins' => array(
2448
+ 'if' => array(
2449
+ 'class' => 'select#combine_pinterest_type',
2450
+ 'operator' => '==',
2451
+ 'value' => 'single_board_pins',
2452
+ ),
2453
+ ),
2454
+ ),
2455
+ //Generator Info
2456
+ 'generator_title' => __('Combine Streams Shortcode', 'feed-them-social'),
2457
+ 'generator_class' => 'combine-streams-final-shortcode',
2458
+ );
2459
+
2460
+ return $this->all_options['combine_streams'];
2461
+ }
2462
+
2463
+
2464
+ /**
2465
+ * Layout Options
2466
+ *
2467
+ * Options for the Layout Tab
2468
+ *
2469
+ * @return mixed
2470
+ * @since 1.0.0
2471
+ */
2472
+ function layout_options() {
2473
+ $this->all_options['layout'] = array(
2474
+ 'section_attr_key' => 'facebook_',
2475
+ 'section_title' => __('Layout Options', 'feed-them-gallery'),
2476
+ 'section_wrap_class' => 'fts-facebook_page-shortcode-form',
2477
+ //Form Info
2478
+ 'form_wrap_classes' => 'fb-page-shortcode-form',
2479
+ 'form_wrap_id' => 'fts-fb-page-form',
2480
+ //Token Check // We'll use these option for premium messages in the future
2481
+ 'premium_msg_boxes' => array(
2482
+ 'album_videos' => array(
2483
+ 'req_plugin' => 'fts_premium',
2484
+ 'msg' => '',
2485
+ ),
2486
+ 'reviews' => array(
2487
+ 'req_plugin' => 'facebook_reviews',
2488
+ 'msg' => '',
2489
+ ),
2490
+ ),
2491
+
2492
+ 'main_options' => array(
2493
+ //Gallery Type
2494
+ array(
2495
+ 'input_wrap_class' => 'ft-wp-gallery-type',
2496
+ 'option_type' => 'select',
2497
+ 'label' => __('Choose the gallery type', 'feed-them-gallery') . '<br/><small>' . __('View all Gallery <a href="http://feedthemgallery.com/gallery-demo-one/" target="_blank">Demos</a>', 'feed-them-gallery') . '</small>',
2498
+ 'type' => 'text',
2499
+ 'id' => 'ft_gallery_type',
2500
+ 'name' => 'ft_gallery_type',
2501
+ 'default_value' => 'yes',
2502
+ 'options' => array(
2503
+ array(
2504
+ 'label' => __('Responsive Image Gallery ', 'feed-them-gallery'),
2505
+ 'value' => 'gallery',
2506
+ ),
2507
+ array(
2508
+ 'label' => __('Image Gallery Collage', 'feed-them-gallery'),
2509
+ 'value' => 'gallery-collage',
2510
+ ),
2511
+ array(
2512
+ 'label' => __('Image Post', 'feed-them-gallery'),
2513
+ 'value' => 'post',
2514
+ ),
2515
+ array(
2516
+ 'label' => __('Image Post in Grid', 'feed-them-gallery'),
2517
+ 'value' => 'post-in-grid',
2518
+ ),
2519
+ ),
2520
+ ),
2521
+ //Show Photo Caption
2522
+ array(
2523
+ 'input_wrap_class' => 'fb-page-description-option-hide',
2524
+ 'option_type' => 'select',
2525
+ 'label' => __('Show Photo Caption', 'feed-them-gallery'),
2526
+ 'type' => 'text',
2527
+ 'id' => 'ft_gallery_photo_caption',
2528
+ 'name' => 'ft_gallery_photo_caption',
2529
+ 'default_value' => 'yes',
2530
+ 'options' => array(
2531
+ array(
2532
+ 'label' => __('Title and Description', 'feed-them-gallery'),
2533
+ 'value' => 'title_description',
2534
+ ),
2535
+ array(
2536
+ 'label' => __('Title', 'feed-them-gallery'),
2537
+ 'value' => 'title',
2538
+ ),
2539
+ array(
2540
+ 'label' => __('Description', 'feed-them-gallery'),
2541
+ 'value' => 'description',
2542
+ ),
2543
+ array(
2544
+ 'label' => __('None', 'feed-them-gallery'),
2545
+ 'value' => 'none',
2546
+ ),
2547
+ ),
2548
+ ),
2549
+ //******************************************
2550
+ // Facebook Grid Options
2551
+ //******************************************
2552
+ //Facebook Page Display Posts in Grid
2553
+ // array(
2554
+ // 'grouped_options_title' => __('Grid', 'feed-them-gallery'),
2555
+ // 'input_wrap_class' => 'fb-posts-in-grid-option-wrap',
2556
+ // 'option_type' => 'select',
2557
+ // 'label' => __('Display Posts in Grid', 'feed-them-gallery'),
2558
+ // 'type' => 'text',
2559
+ // 'id' => 'ft_gallery_grid_option',
2560
+ // 'name' => 'ft_gallery_grid_option',
2561
+ // 'default_value' => 'no',
2562
+ // 'options' => array(
2563
+ // array(
2564
+ // 'label' => __('No', 'feed-them-gallery'),
2565
+ // 'value' => 'no',
2566
+ // ),
2567
+ // array(
2568
+ // 'label' => __('Yes', 'feed-them-gallery'),
2569
+ // 'value' => 'yes',
2570
+ // ),
2571
+ // ),
2572
+ // //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)
2573
+ // 'sub_options' => array(
2574
+ // 'sub_options_wrap_class' => 'main-grid-options-wrap',
2575
+ // ),
2576
+ // ),
2577
+ array(
2578
+ 'input_wrap_class' => 'fb-page-columns-option-hide',
2579
+ 'option_type' => 'select',
2580
+ 'label' => __('Number of Columns', 'feed-them-gallery'),
2581
+ 'type' => 'text',
2582
+ 'instructional-text' => '<strong>' . __('NOTE:', 'feed-them-gallery') . '</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.', 'feed-them-gallery'),
2583
+ 'id' => 'ft_gallery_columns',
2584
+ 'name' => 'ft_gallery_columns',
2585
+ 'default_value' => '4',
2586
+ 'options' => array(
2587
+ array(
2588
+ 'label' => __('1', 'feed-them-gallery'),
2589
+ 'value' => '1',
2590
+ ),
2591
+ array(
2592
+ 'label' => __('2', 'feed-them-gallery'),
2593
+ 'value' => '2',
2594
+ ),
2595
+ array(
2596
+ 'label' => __('3', 'feed-them-gallery'),
2597
+ 'value' => '3',
2598
+ ),
2599
+ array(
2600
+ 'label' => __('4', 'feed-them-gallery'),
2601
+ 'value' => '4',
2602
+ ),
2603
+ array(
2604
+ 'label' => __('5', 'feed-them-gallery'),
2605
+ 'value' => '5',
2606
+ ),
2607
+ array(
2608
+ 'label' => __('6', 'feed-them-gallery'),
2609
+ 'value' => '6',
2610
+ ),
2611
+ array(
2612
+ 'label' => __('7', 'feed-them-gallery'),
2613
+ 'value' => '7',
2614
+ ),
2615
+ array(
2616
+ 'label' => __('8', 'feed-them-gallery'),
2617
+ 'value' => '8',
2618
+ )
2619
+ ),
2620
+ ),
2621
+ array(
2622
+ 'input_wrap_class' => 'fb-page-columns-option-hide',
2623
+ 'option_type' => 'select',
2624
+ 'label' => __('Force Columns', 'feed-them-gallery') . '<br/><small>' . __('Yes, will force image columns. No, will allow the images to be resposive for smaller devices', 'feed-them-gallery') . '</small>',
2625
+ 'type' => 'text',
2626
+ 'id' => 'ft_gallery_force_columns',
2627
+ 'name' => 'ft_gallery_force_columns',
2628
+ 'default_value' => '',
2629
+ 'options' => array(
2630
+ array(
2631
+ 'label' => __('No', 'feed-them-gallery'),
2632
+ 'value' => 'no',
2633
+ ),
2634
+ array(
2635
+ 'label' => __('Yes', 'feed-them-gallery'),
2636
+ 'value' => 'yes',
2637
+ ),
2638
+
2639
+ ),
2640
+ ),
2641
+ //Grid Column Width
2642
+ array(
2643
+ 'input_wrap_class' => 'fb-page-grid-option-hide fb-page-columns-option-hide ftg-hide-for-columns',
2644
+ 'option_type' => 'input',
2645
+ 'label' => __('Grid Column Width', 'feed-them-gallery'),
2646
+ 'type' => 'text',
2647
+ 'id' => 'ft_gallery_grid_column_width',
2648
+ 'name' => 'ft_gallery_grid_column_width',
2649
+ 'instructional-text' => '<strong>' . __('NOTE:', 'feed-them-gallery') . '</strong> ' . __('Define the Width of each post and the Space between each post below. You must add px after any number.', 'feed-them-gallery'),
2650
+ 'placeholder' => '310px ' . __('for example', 'feed-them-gallery'),
2651
+ 'default_value' => '310px',
2652
+ 'value' => '',
2653
+ // //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)
2654
+ // 'sub_options' => array(
2655
+ // 'sub_options_wrap_class' => 'fts-facebook-grid-options-wrap',
2656
+ // ),
2657
+ ),
2658
+ //Grid Spaces Between Posts
2659
+ array(
2660
+ 'input_wrap_class' => 'fb-page-grid-option-hide fb-page-grid-option-border-bottom',
2661
+ 'option_type' => 'input',
2662
+ 'label' => __('Space between Images', 'feed-them-gallery'),
2663
+ 'type' => 'text',
2664
+ 'id' => 'ft_gallery_grid_space_between_posts',
2665
+ 'name' => 'ft_gallery_grid_space_between_posts',
2666
+ 'placeholder' => '1px ' . __('for example', 'feed-them-gallery'),
2667
+ 'default_value' => '1px',
2668
+ // 'sub_options_end' => 2,
2669
+ ),
2670
+ //Show Name
2671
+ array(
2672
+ 'input_wrap_class' => 'ft-gallery-user-name',
2673
+ 'option_type' => 'input',
2674
+ 'label' => __('User Name', 'feed-them-gallery') . '<br/><small>' . __('Company or user who took this photo', 'feed-them-gallery') . '</small>',
2675
+ 'type' => 'text',
2676
+ 'id' => 'ft_gallery_username',
2677
+ 'name' => 'ft_gallery_username',
2678
+ 'placeholder' => '',
2679
+ 'default_value' => '',
2680
+ ),
2681
+ //Show Name Link
2682
+ array(
2683
+ 'option_type' => 'input',
2684
+ 'label' => __('User Custom Link', 'feed-them-gallery') . '<br/><small>' . __('Custom about page or social media page link', 'feed-them-gallery') . '</small>',
2685
+ 'type' => 'text',
2686
+ 'id' => 'ft_gallery_user_link',
2687
+ 'name' => 'ft_gallery_user_link',
2688
+ 'placeholder' => '',
2689
+ 'default_value' => '',
2690
+ ),
2691
+ //Show Share
2692
+ array(
2693
+ 'input_wrap_class' => 'ft-gallery-share',
2694
+ 'option_type' => 'select',
2695
+ 'label' => __('Show Share Options', 'feed-them-gallery') . '<br/><small>' . __('Appears in the bottom left corner and in popup', 'feed-them-gallery') . '</small>',
2696
+ 'type' => 'text',
2697
+ 'id' => 'ft_gallery_wp_share',
2698
+ 'name' => 'ft_gallery_wp_share',
2699
+ 'default_value' => 'yes',
2700
+ 'options' => array(
2701
+ array(
2702
+ 'label' => __('Yes', 'feed-them-gallery'),
2703
+ 'value' => 'yes',
2704
+ ),
2705
+ array(
2706
+ 'label' => __('No', 'feed-them-gallery'),
2707
+ 'value' => 'no',
2708
+ ),
2709
+ ),
2710
+ ),
2711
+ //Show Date
2712
+ array(
2713
+ 'input_wrap_class' => 'ft-gallery-date',
2714
+ 'option_type' => 'select',
2715
+ 'label' => __('Show Date', 'feed-them-gallery') . '<br/><small>' . __('Date image was uploaded', 'feed-them-gallery') . '</small>',
2716
+ 'type' => 'text',
2717
+ 'id' => 'ft_gallery_wp_date',
2718
+ 'name' => 'ft_gallery_wp_date',
2719
+ 'default_value' => 'yes',
2720
+ 'options' => array(
2721
+ array(
2722
+ 'label' => __('Yes', 'feed-them-gallery'),
2723
+ 'value' => 'yes',
2724
+ ),
2725
+ array(
2726
+ 'label' => __('No', 'feed-them-gallery'),
2727
+ 'value' => 'no',
2728
+ ),
2729
+ ),
2730
+ ),
2731
+ //Show Icon
2732
+ array(
2733
+ 'input_wrap_class' => 'ft-gallery-icon',
2734
+ 'option_type' => 'select',
2735
+ 'label' => __('Show Wordpress Icon', 'feed-them-gallery') . '<br/><small>' . __('Appears in the top left corner', 'feed-them-gallery') . '</small>',
2736
+ 'type' => 'text',
2737
+ 'id' => 'ft_gallery_wp_icon',
2738
+ 'name' => 'ft_gallery_wp_icon',
2739
+ 'default_value' => 'no',
2740
+ 'options' => array(
2741
+ array(
2742
+ 'label' => __('Yes', 'feed-them-gallery'),
2743
+ 'value' => 'yes',
2744
+ ),
2745
+ array(
2746
+ 'label' => __('No', 'feed-them-gallery'),
2747
+ 'value' => 'no',
2748
+ ),
2749
+ ),
2750
+ ),
2751
+
2752
+ //Words per photo caption
2753
+ // array(
2754
+ // 'option_type' => 'input',
2755
+ // 'label' => __('# of words per photo caption', 'feed-them-gallery') . '<br/><small>' . __('Typing 0 removes the photo caption', 'feed-them-gallery') . '</small>',
2756
+ // 'type' => 'hidden',
2757
+ // 'id' => 'ft_gallery_word_count_option',
2758
+ // 'name' => 'ft_gallery_word_count_option',
2759
+ // 'placeholder' => '',
2760
+ // 'default_value' => '',
2761
+ // ),
2762
+
2763
+ // Image Sizes on page
2764
+ array(
2765
+ 'input_wrap_class' => 'ft-images-sizes-page',
2766
+ 'option_type' => 'ft-images-sizes-page',
2767
+ 'instructional-text' => '<strong>' . __('NOTE:', 'feed-them-gallery') . '</strong> ' . __('If for some reason the image size you choose does not appear on the front end you may need to regenerate your images. This free plugin called <a href="http://sidebar-support.com/wp-admin/plugin-install.php?s=regenerate+thumbnails&tab=search&type=term" target="_blank">Regenerate Thumbnails</a> does an amazing job of that.', 'feed-them-gallery'),
2768
+ 'label' => __('Image Size on Page', 'feed-them-gallery'),
2769
+ 'class' => 'ft-gallery-images-sizes-page',
2770
+ 'type' => 'select',
2771
+ 'id' => 'ft_gallery_images_sizes_page',
2772
+ 'name' => 'ft_gallery_images_sizes_page',
2773
+ 'default_value' => 'medium',
2774
+ 'placeholder' => __('', 'feed-them-gallery'),
2775
+ 'autocomplete' => 'off',
2776
+ ),
2777
+
2778
+ //Max-width for Images & Videos
2779
+ array(
2780
+ 'option_type' => 'input',
2781
+ 'label' => __('Max-width for Images', 'feed-them-gallery'),
2782
+ 'type' => 'text',
2783
+ 'id' => 'ft_gallery_max_image_vid_width',
2784
+ 'name' => 'ft_gallery_max_image_vid_width',
2785
+ 'placeholder' => '500px',
2786
+ 'default_value' => '',
2787
+ ),
2788
+ //Gallery Width
2789
+ array(
2790
+ 'option_type' => 'input',
2791
+ 'label' => __('Gallery Max-width', 'feed-them-gallery'),
2792
+ 'type' => 'text',
2793
+ 'id' => 'ft_gallery_width',
2794
+ 'name' => 'ft_gallery_width',
2795
+ 'placeholder' => '500px',
2796
+ 'default_value' => '',
2797
+ ),
2798
+ //Gallery Height for scrolling feeds using Post format only, this does not work for grid or gallery options except gallery squared because it does not use masonry. For all others it will be hidden
2799
+ array(
2800
+ 'input_wrap_class' => 'ft-gallery-height',
2801
+ 'option_type' => 'input',
2802
+ 'label' => __('Gallery Height<br/><small>' . __('Set the height to have a scrolling feed.', 'feed-them-gallery') . '</small>', 'feed-them-gallery'),
2803
+ 'type' => 'text',
2804
+ 'id' => 'ft_gallery_height',
2805
+ 'name' => 'ft_gallery_height',
2806
+ 'placeholder' => '600px',
2807
+ 'default_value' => '',
2808
+ ),
2809
+ //Gallery Margin
2810
+ array(
2811
+ 'option_type' => 'input',
2812
+ 'label' => __('Gallery Margin', 'feed-them-gallery') . '<br/><small>' . __('To center feed type auto', 'feed-them-gallery') . '</small>',
2813
+ 'type' => 'text',
2814
+ 'id' => 'ft_gallery_margin',
2815
+ 'name' => 'ft_gallery_margin',
2816
+ 'placeholder' => 'auto',
2817
+ 'default_value' => 'auto',
2818
+ ),
2819
+ //Gallery Padding
2820
+ array(
2821
+ 'option_type' => 'input',
2822
+ 'label' => __('Gallery Padding', 'feed-them-gallery'),
2823
+ 'type' => 'text',
2824
+ 'id' => 'ft_gallery_padding',
2825
+ 'name' => 'ft_gallery_padding',
2826
+ 'placeholder' => '10px',
2827
+ 'default_value' => '',
2828
+ ),
2829
+ //******************************************
2830
+ // Gallery Popup
2831
+ //******************************************
2832
+ //Display Photos in Popup
2833
+ array(
2834
+ 'grouped_options_title' => __('Popup', 'feed-them-gallery'),
2835
+ 'option_type' => 'select',
2836
+ 'label' => __('Display Photos in Popup', 'feed-them-gallery'),
2837
+ 'type' => 'text',
2838
+ 'id' => 'ft_gallery_popup',
2839
+ 'name' => 'ft_gallery_popup',
2840
+ 'default_value' => 'yes',
2841
+ 'options' => array(
2842
+ array(
2843
+ 'label' => __('Yes', 'feed-them-gallery'),
2844
+ 'value' => 'yes',
2845
+ ),
2846
+ array(
2847
+ 'label' => __('No', 'feed-them-gallery'),
2848
+ 'value' => 'no',
2849
+ ),
2850
+ ),
2851
+ 'sub_options' => array(
2852
+ 'sub_options_wrap_class' => 'facebook-popup-wrap',
2853
+ ),
2854
+ 'sub_options_end' => true,
2855
+ ),
2856
+ // Image Sizes in popup
2857
+ array(
2858
+ 'input_wrap_class' => 'ft-images-sizes-popup',
2859
+ 'option_type' => 'ft-images-sizes-popup',
2860
+ 'instructional-text' => '<strong>' . __('NOTE:', 'feed-them-gallery') . '</strong> ' . __('If for some reason the image size you choose does not appear on in your popup you may need to regenerate your images. This free plugin called <a href="http://sidebar-support.com/wp-admin/plugin-install.php?s=regenerate+thumbnails&tab=search&type=term" target="_blank">Regenerate Thumbnails</a> does an amazing job of that.', 'feed-them-gallery'),
2861
+ 'label' => __('Image Size in Popup', 'feed-them-gallery'),
2862
+ 'class' => 'ft-gallery-images-sizes-popup',
2863
+ 'type' => 'select',
2864
+ 'id' => 'ft_gallery_images_sizes_popup',
2865
+ 'name' => 'ft_gallery_images_sizes_popup',
2866
+ 'default_value' => '',
2867
+ 'placeholder' => __('', 'feed-them-gallery'),
2868
+ 'autocomplete' => 'off',
2869
+ ),
2870
+ array(
2871
+ 'input_wrap_class' => 'ft-popup-display-options',
2872
+ 'option_type' => 'select',
2873
+ 'label' => __('Popup Options', 'feed-them-gallery'),
2874
+ 'type' => 'text',
2875
+ 'id' => 'ft_popup_display_options',
2876
+ 'name' => 'ft_popup_display_options',
2877
+ 'default_value' => 'no',
2878
+ 'options' => array(
2879
+ array(
2880
+ 'label' => __('Default', 'feed-them-gallery'),
2881
+ 'value' => 'default',
2882
+ ),
2883
+ array(
2884
+ 'label' => __('Full Width & Info below Photo', 'feed-them-gallery'),
2885
+ 'value' => 'full-width-second-half-bottom',
2886
+ ),
2887
+ array(
2888
+ 'label' => __('Full Width, Photo Only', 'feed-them-gallery'),
2889
+ 'value' => 'full-width-photo-only',
2890
+ ),
2891
+ )
2892
+ ),
2893
+
2894
+
2895
+ //******************************************
2896
+ // Gallery Load More Options
2897
+ //******************************************
2898
+ //Load More Button
2899
+
2900
+ //# of Photos
2901
+ array(
2902
+ 'grouped_options_title' => __('Load More', 'feed-them-gallery'),
2903
+ 'option_type' => 'input',
2904
+ 'label' => __('# of Photos', 'feed-them-gallery'),
2905
+ 'type' => 'text',
2906
+ 'id' => 'ft_gallery_photo_count',
2907
+ 'name' => 'ft_gallery_photo_count',
2908
+ 'default_value' => '',
2909
+ 'placeholder' => __('', 'feed-them-gallery'),
2910
+ 'sub_options' => array(
2911
+ 'sub_options_wrap_class' => 'facebook-loadmore-wrap',
2912
+ ),
2913
+ ),
2914
+ array(
2915
+
2916
+ 'option_type' => 'select',
2917
+ 'label' => __('Load More Button', 'feed-them-gallery'),
2918
+ 'type' => 'text',
2919
+ 'id' => 'ft_gallery_load_more_option',
2920
+ 'name' => 'ft_gallery_load_more_option',
2921
+ 'default_value' => 'no',
2922
+ 'options' => array(
2923
+ array(
2924
+ 'label' => __('No', 'feed-them-gallery'),
2925
+ 'value' => 'no',
2926
+ ),
2927
+ array(
2928
+ 'label' => __('Yes', 'feed-them-gallery'),
2929
+ 'value' => 'yes',
2930
+ ),
2931
+ )
2932
+ ),
2933
+ //Load More Style
2934
+ array(
2935
+ 'option_type' => 'select',
2936
+ 'label' => __('Load More Style', 'feed-them-gallery'),
2937
+ 'type' => 'text',
2938
+ 'id' => 'ft_gallery_load_more_style',
2939
+ 'name' => 'ft_gallery_load_more_style',
2940
+ 'instructional-text' => '<strong>' . __('NOTE:', 'feed-them-gallery') . '</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-gallery'),
2941
+ 'default_value' => 'button',
2942
+ 'options' => array(
2943
+ 1 => array(
2944
+ 'label' => __('Button', 'feed-them-gallery'),
2945
+ 'value' => 'button',
2946
+ ),
2947
+ 2 => array(
2948
+ 'label' => __('AutoScroll', 'feed-them-gallery'),
2949
+ 'value' => 'autoscroll',
2950
+ ),
2951
+ ),
2952
+ //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)
2953
+ 'sub_options' => array(
2954
+ 'sub_options_wrap_class' => 'fts-facebook-load-more-options-wrap',
2955
+ ),
2956
+ 'sub_options_end' => true,
2957
+ ),
2958
+
2959
+ //Load more Button Width
2960
+ array(
2961
+ 'option_type' => 'input',
2962
+ 'label' => __('Load more Button Width', 'feed-them-gallery') . '<br/><small>' . __('Leave blank for auto width', 'feed-them-gallery') . '</small>',
2963
+ 'type' => 'text',
2964
+ 'id' => 'ft_gallery_loadmore_button_width',
2965
+ 'name' => 'ft_gallery_loadmore_button_width',
2966
+ 'placeholder' => '300px ' . __('for example', 'feed-them-gallery'),
2967
+ 'default_value' => '300px',
2968
+ //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)
2969
+ 'sub_options' => array(
2970
+ 'sub_options_wrap_class' => 'fts-facebook-load-more-options2-wrap',
2971
+ ),
2972
+ ),
2973
+ //Load more Button Margin
2974
+ array(
2975
+ 'option_type' => 'input',
2976
+ 'label' => __('Load more Button Margin', 'feed-them-gallery'),
2977
+ 'type' => 'text',
2978
+ 'id' => 'ft_gallery_loadmore_button_margin',
2979
+ 'name' => 'ft_gallery_loadmore_button_margin',
2980
+ 'placeholder' => '10px ' . __('for example', 'feed-them-gallery'),
2981
+ 'default_value' => '10px',
2982
+ 'value' => '',
2983
+ 'sub_options_end' => 2,
2984
+ ),
2985
+
2986
+ //******************************************
2987
+ // Gallery Pagination Options
2988
+ //******************************************
2989
+ //Pagination
2990
+
2991
+
2992
+ //Load More Style
2993
+ array(
2994
+ 'grouped_options_title' => __('Pagination', 'feed-them-gallery'),
2995
+ 'option_type' => 'select',
2996
+ 'label' => __('Show pagination', 'feed-them-gallery'),
2997
+ 'type' => 'text',
2998
+ 'id' => 'ft_gallery_show_pagination',
2999
+ 'name' => 'ft_gallery_show_pagination',
3000
+ 'instructional-text' => '<strong>' . __('NOTE:', 'feed-them-gallery') . '</strong> ' . __('This will display the number of images you have in your gallery, and will appear centered at the bottom of your image feed. For Example: 4 of 50 (4 being the number of images you have loaded on the page already and 50 being the total number of images in the gallery.', 'feed-them-gallery'),
3001
+ 'default_value' => 'yes',
3002
+ 'options' => array(
3003
+ 1 => array(
3004
+ 'label' => __('Yes', 'feed-them-gallery'),
3005
+ 'value' => 'yes',
3006
+ ),
3007
+ 2 => array(
3008
+ 'label' => __('No', 'feed-them-gallery'),
3009
+ 'value' => 'no',
3010
+ ),
3011
+ ),
3012
+ //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)
3013
+ 'sub_options' => array(
3014
+ 'sub_options_wrap_class' => 'fts-facebook-load-more-options-wrap',
3015
+ ),
3016
+ 'sub_options_end' => true,
3017
+ ),
3018
+
3019
+
3020
+ ),
3021
+ );
3022
+
3023
+ return $this->all_options['layout'];
3024
+ } //END LAYOUT OPTIONS
3025
+
3026
+ /**
3027
+ * Color Options
3028
+ *
3029
+ * Options for the Color Tab
3030
+ *
3031
+ * @return mixed
3032
+ * @since 1.0.0
3033
+ */
3034
+ function color_options() {
3035
+ $this->all_options['colors'] = array(
3036
+ 'section_attr_key' => 'facebook_',
3037
+ 'section_title' => __('Feed Color Options', 'feed-them-gallery'),
3038
+ 'section_wrap_class' => 'fts-facebook_page-shortcode-form',
3039
+ //Form Info
3040
+ 'form_wrap_classes' => 'fb-page-shortcode-form',
3041
+ 'form_wrap_id' => 'fts-fb-page-form',
3042
+ 'main_options' => array(
3043
+
3044
+ //Feed Background Color
3045
+ array(
3046
+ 'option_type' => 'input',
3047
+ 'label' => __('Background Color', 'feed-them-gallery'),
3048
+ 'class' => 'ft-gallery-feed-background-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:\'#eee\',pickerFace:3,pickerBorder:0,pickerInsetColor:\'white\'}',
3049
+ 'type' => 'text',
3050
+ 'id' => 'ft-gallery-feed-background-color-input',
3051
+ 'name' => 'ft_gallery_feed_background_color',
3052
+ 'default_value' => '',
3053
+ 'placeholder' => __('#ddd', 'feed-them-gallery'),
3054
+ 'autocomplete' => 'off',
3055
+ ),
3056
+ //Feed Grid Background Color
3057
+ array(
3058
+ 'option_type' => 'input',
3059
+ 'label' => __('Grid Posts Background Color', 'feed-them-gallery'),
3060
+ 'class' => 'fb-feed-grid-posts-background-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:\'#eee\',pickerFace:3,pickerBorder:0,pickerInsetColor:\'white\'}',
3061
+ 'type' => 'text',
3062
+ 'id' => 'ft-gallery-grid-posts-background-color-input',
3063
+ 'name' => 'ft_gallery_grid_posts_background_color',
3064
+ 'default_value' => '',
3065
+ 'placeholder' => __('#ddd', 'feed-them-gallery'),
3066
+ 'autocomplete' => 'off',
3067
+ ),
3068
+ //Border Bottom Color
3069
+ array(
3070
+ 'option_type' => 'input',
3071
+ 'label' => __('Border Bottom Color', 'feed-them-gallery'),
3072
+ 'class' => 'fb-border-bottom-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:\'#eee\',pickerFace:3,pickerBorder:0,pickerInsetColor:\'white\'}',
3073
+ 'type' => 'text',
3074
+ 'id' => 'ft-gallery-border-bottom-color-input',
3075
+ 'name' => 'ft_gallery_border_bottom_color',
3076
+ 'default_value' => '',
3077
+ 'placeholder' => __('#ddd', 'feed-them-gallery'),
3078
+ 'autocomplete' => 'off',
3079
+ ),
3080
+ //Loadmore background Color
3081
+ array(
3082
+ 'grouped_options_title' => __('Loadmore Button', 'feed-them-gallery'),
3083
+ 'option_type' => 'input',
3084
+ 'label' => __('Background Color', 'feed-them-gallery'),
3085
+ 'class' => 'fb-border-bottom-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:\'#eee\',pickerFace:3,pickerBorder:0,pickerInsetColor:\'white\'}',
3086
+ 'type' => 'text',
3087
+ 'id' => 'ft-gallery-loadmore-background-color-input',
3088
+ 'name' => 'ft_gallery_loadmore_background_color',
3089
+ 'default_value' => '',
3090
+ 'placeholder' => __('#ddd', 'feed-them-gallery'),
3091
+ 'autocomplete' => 'off',
3092
+ ),
3093
+ //Loadmore background Color
3094
+ array(
3095
+ 'option_type' => 'input',
3096
+ 'label' => __('Text Color', 'feed-them-gallery'),
3097
+ 'class' => 'fb-border-bottom-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:\'#eee\',pickerFace:3,pickerBorder:0,pickerInsetColor:\'white\'}',
3098
+ 'type' => 'text',
3099
+ 'id' => 'ft-gallery-loadmore-text-color-input',
3100
+ 'name' => 'ft_gallery_loadmore_text_color',
3101
+ 'default_value' => '',
3102
+ 'placeholder' => __('#ddd', 'feed-them-gallery'),
3103
+ 'autocomplete' => 'off',
3104
+ ),
3105
+ //Pagination Color
3106
+ array(
3107
+ 'grouped_options_title' => __('Pagination Color', 'feed-them-gallery'),
3108
+ 'option_type' => 'input',
3109
+ 'label' => __('Text Color', 'feed-them-gallery'),
3110
+ 'class' => 'fb-border-bottom-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:\'#eee\',pickerFace:3,pickerBorder:0,pickerInsetColor:\'white\'}',
3111
+ 'type' => 'text',
3112
+ 'id' => 'ft-gallery-pagination-text-color-input',
3113
+ 'name' => 'ft_gallery_pagination_text_color',
3114
+ 'default_value' => '',
3115
+ 'placeholder' => __('#ddd', 'feed-them-gallery'),
3116
+ 'autocomplete' => 'off',
3117
+ ),
3118
+ )
3119
+ );
3120
+
3121
+ return $this->all_options['colors'];
3122
+ } //END LAYOUT OPTIONS
3123
+
3124
+ /**
3125
+ * Woocommerce Options
3126
+ *
3127
+ * Options for the Woocommerce Tab
3128
+ *
3129
+ * @return mixed
3130
+ * @since 1.0.0
3131
+ */
3132
+ function woocommerce_options() {
3133
+
3134
+ $this->all_options['woocommerce'] = array(
3135
+ //required_prem_plugin must match the array key returned in ft_gallery_required_plugins function
3136
+ 'required_prem_plugin' => 'feed_them_gallery_premium',
3137
+ 'input_wrap_class' => 'ft-woocommerce-styles',
3138
+ 'section_attr_key' => 'woocommerce_',
3139
+ 'section_title' => __('Woocommerce Options', 'feed-them-gallery'),
3140
+ 'section_wrap_class' => 'fts-facebook_page-shortcode-form',
3141
+ //Form Info
3142
+ 'form_wrap_classes' => 'fb-page-shortcode-form',
3143
+ 'form_wrap_id' => 'fts-fb-page-form',
3144
+ 'main_options' => array(
3145
+ //Show Purchase Button
3146
+ array(
3147
+ 'input_wrap_class' => 'ft-gallery-purchase-link',
3148
+ 'option_type' => 'select',
3149
+ 'label' => __('Show Purchase Link', 'feed-them-gallery') . '<br/><small>' . __('Appears on the page and popup', 'feed-them-gallery') . '</small>',
3150
+ 'type' => 'text',
3151
+ 'id' => 'ft_gallery_purchase_link',
3152
+ 'name' => 'ft_gallery_purchase_link',
3153
+ 'default_value' => 'yes',
3154
+ 'options' => array(
3155
+ array(
3156
+ 'label' => __('Yes', 'feed-them-gallery'),
3157
+ 'value' => 'yes',
3158
+ ),
3159
+ array(
3160
+ 'label' => __('No', 'feed-them-gallery'),
3161
+ 'value' => 'no',
3162
+ ),
3163
+ ),
3164
+ ),
3165
+ //Purchase Button Text
3166
+ array(
3167
+ 'option_type' => 'input',
3168
+ 'label' => __('Change Purchase Link text', 'feed-them-gallery') . '<br/><small>' . __('The default word is Purchase', 'feed-them-gallery') . '</small>',
3169
+ 'type' => 'text',
3170
+ 'id' => 'ft_gallery_purchase_word',
3171
+ 'name' => 'ft_gallery_purchase_word',
3172
+ 'placeholder' => __('Purchase', 'feed-them-gallery'),
3173
+ 'default_value' => '',
3174
+ ),
3175
+ array(
3176
+ 'option_type' => 'checkbox',
3177
+ 'label' => __('Auto Create a product for each image uploaded.', 'ft-gallery') . '<br/><small>' . __('You must have a "Single Image Model Product" selected for this option to work.', 'ft-gallery') . '</small>',
3178
+ 'class' => 'ft-gallery-auto-image-woo-prod',
3179
+ 'type' => 'checkbox',
3180
+ 'id' => 'ft_gallery_auto_image_woo_prod',
3181
+ 'name' => 'ft_gallery_auto_image_woo_prod',
3182
+ 'default_value' => '',
3183
+
3184
+ ),
3185
+
3186
+ ),
3187
+ );
3188
+
3189
+
3190
+ return $this->all_options['woocommerce'];
3191
+ } //END LAYOUT OPTIONS
3192
+
3193
+ /**
3194
+ * Woocommerce Extra Options
3195
+ *
3196
+ * These are Gallery to Woo options (just for saving not for display)
3197
+ *
3198
+ * @return mixed
3199
+ * @since 1.0.0
3200
+ */
3201
+ function woocommerce_extra_options() {
3202
+
3203
+ $this->all_options['woocommerce_exta'] = array(
3204
+ 'main_options' => array(
3205
+ //required_prem_plugin must match the array key returned in ft_gallery_required_plugins function
3206
+ 'required_prem_plugin' => 'feed_them_gallery_premium',
3207
+ //******************************************
3208
+ // Images to Products
3209
+ //******************************************
3210
+ //Automatically turn created Images to products
3211
+ array(
3212
+ 'option_type' => 'select',
3213
+ 'default_value' => '',
3214
+ 'name' => 'ft_gallery_image_to_woo_model_prod',
3215
+ ),
3216
+ array(
3217
+ 'option_type' => 'select',
3218
+ 'default_value' => '',
3219
+ 'name' => 'ft_gallery_zip_to_woo_model_prod',
3220
+ ),
3221
+ array(
3222
+ 'option_type' => 'checkbox',
3223
+ 'default_value' => '',
3224
+ 'name' => 'ft_gallery_auto_image_woo_prod',
3225
+ ),
3226
+ )
3227
+ );
3228
+
3229
+ return $this->all_options['woocommerce_exta'];
3230
+ }
3231
+
3232
+ /**
3233
+ * Watermark Options
3234
+ *
3235
+ * Options for the Watermark Tab
3236
+ *
3237
+ * @return mixed
3238
+ * @since 1.0.0
3239
+ */
3240
+ function watermark_options() {
3241
+ $this->all_options['watermark'] = array(
3242
+ //required_prem_plugin must match the array key returned in ft_gallery_required_plugins function
3243
+ 'required_prem_plugin' => 'feed_them_gallery_premium',
3244
+ 'section_attr_key' => 'facebook_',
3245
+ 'section_title' => __('Watermark Options', 'feed-them-gallery'),
3246
+ 'section_wrap_class' => 'fts-facebook_page-shortcode-form',
3247
+ //Form Info
3248
+ 'form_wrap_classes' => 'fb-page-shortcode-form',
3249
+ 'form_wrap_id' => 'fts-fb-page-form',
3250
+ 'main_options' => array(
3251
+ // Disable Right Click
3252
+ array(
3253
+ 'input_wrap_class' => 'ft-watermark-disable-right-click',
3254
+ 'instructional-text' => '<strong>' . __('NOTE:', 'feed-them-gallery') . '</strong> ' . __('This option will disable the right click option on desktop computers so people cannot look at the source code. This is not fail safe but for the vast majority this is enough to deter people from trying to find the image source.', 'feed-them-gallery'),
3255
+ 'option_type' => 'select',
3256
+ 'label' => __('Disable Right Click', 'feed-them-gallery'),
3257
+ 'type' => 'text',
3258
+ 'id' => 'ft_gallery_watermark_disable_right_click',
3259
+ 'name' => 'ft_gallery_watermark_disable_right_click',
3260
+ 'default_value' => '',
3261
+ 'options' => array(
3262
+ array(
3263
+ 'label' => __('No', 'feed-them-gallery'),
3264
+ 'value' => 'no',
3265
+ ),
3266
+ array(
3267
+ 'label' => __('Yes', 'feed-them-gallery'),
3268
+ 'value' => 'yes',
3269
+ )
3270
+ ),
3271
+ ),
3272
+ // Use Watermark Options
3273
+ array(
3274
+ 'input_wrap_class' => 'ft-watermark-enable-options',
3275
+ 'option_type' => 'select',
3276
+ 'label' => __('Use Options Below', 'feed-them-gallery'),
3277
+ 'type' => 'text',
3278
+ 'id' => 'ft_gallery_watermark_enable_options',
3279
+ 'name' => 'ft_gallery_watermark_enable_options',
3280
+ 'default_value' => 'no',
3281
+ 'options' => array(
3282
+ array(
3283
+ 'label' => __('No', 'feed-them-gallery'),
3284
+ 'value' => 'no',
3285
+ ),
3286
+ array(
3287
+ 'label' => __('Yes', 'feed-them-gallery'),
3288
+ 'value' => 'yes',
3289
+ )
3290
+ ),
3291
+ ),
3292
+
3293
+ //Choose Watermark Image
3294
+ array(
3295
+ 'option_type' => 'input',
3296
+ 'instructional-text' => '<strong>' . __('NOTE:', 'feed-them-gallery') . '</strong> ' . __('Upload the exact image size you want to display, we will not rescale the image in anyway.', 'feed-them-gallery'),
3297
+ 'label' => __('Watermark Image', 'feed-them-gallery'),
3298
+ 'id' => 'ft-watermark-image',
3299
+ 'name' => 'ft-watermark-image',
3300
+ 'class' => '',
3301
+ 'type' => 'button',
3302
+ 'default_value' => __('Upload or Choose Watermark', 'feed-them-gallery'),
3303
+ 'placeholder' => '',
3304
+ 'value' => '',
3305
+ 'autocomplete' => 'off',
3306
+ ),
3307
+ //Watermark Image Link for front end if user does not use imagick or GD library method
3308
+ array(
3309
+ 'input_wrap_class' => 'ft-watermark-hide-these-options',
3310
+ 'option_type' => 'input',
3311
+ // 'label' => __('Watermark Image', 'feed-them-gallery'),
3312
+ // 'class' => 'fb-link-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:\'#eee\',pickerFace:3,pickerBorder:0,pickerInsetColor:\'white\'}',
3313
+ 'type' => 'hidden',
3314
+ 'id' => 'ft_watermark_image_input',
3315
+ // 'instructional-text' => '<strong>' . __('NOTE:', 'feed-them-gallery') . '</strong> ' . __('Define the Width of each post and the Space between each post below. You must add px after any number.', 'feed-them-gallery'),
3316
+
3317
+ 'name' => 'ft_watermark_image_input',
3318
+ 'default_value' => '',
3319
+ // 'placeholder' => __('', 'feed-them-gallery'),
3320
+ 'autocomplete' => 'off',
3321
+ ),
3322
+ //Watermark Image ID so we can pass it to merge the watermark over images
3323
+ array(
3324
+ 'input_wrap_class' => 'ft-watermark-hide-these-options',
3325
+ 'option_type' => 'input',
3326
+ // 'label' => __('Watermark Image', 'feed-them-gallery'),
3327
+ // 'class' => 'fb-link-color-input color {hash:true,caps:false,required:false,adjust:false,pickerFaceColor:\'#eee\',pickerFace:3,pickerBorder:0,pickerInsetColor:\'white\'}',
3328
+ 'type' => 'hidden',
3329
+ 'id' => 'ft_watermark_image_id',
3330
+ // 'instructional-text' => '<strong>' . __('NOTE:', 'feed-them-gallery') . '</strong> ' . __('Define the Width of each post and the Space between each post below. You must add px after any number.', 'feed-them-gallery'),
3331
+
3332
+ 'name' => 'ft_watermark_image_id',
3333
+ 'default_value' => '',
3334
+ // 'placeholder' => __('', 'feed-them-gallery'),
3335
+ 'autocomplete' => 'off',
3336
+ ),
3337
+
3338
+
3339
+ //Watermark Options
3340
+ array(
3341
+ 'input_wrap_class' => 'ft-watermark-enabled',
3342
+ 'option_type' => 'select',
3343
+ 'label' => __('Watermark Type', 'feed-them-gallery'),
3344
+ 'type' => 'text',
3345
+ 'id' => 'ft_gallery_watermark',
3346
+ 'name' => 'ft_gallery_watermark',
3347
+ 'default_value' => 'yes',
3348
+ 'options' => array(
3349
+ array(
3350
+ 'label' => __('Watermark Overlay Image (Does not Imprint logo on Image)', 'feed-them-gallery'),
3351
+ 'value' => 'overlay',
3352
+ ),
3353
+ array(
3354
+ 'label' => __('Watermark Image (Imprint logo on the selected image sizes)', 'feed-them-gallery'),
3355
+ 'value' => 'imprint',
3356
+ )
3357
+ ),
3358
+ ),
3359
+
3360
+ //Watermark Options
3361
+ array(
3362
+ 'input_wrap_class' => 'ft-watermark-overlay-options',
3363
+ 'option_type' => 'select',
3364
+ 'label' => __('Overlay Options', 'feed-them-gallery'),
3365
+ 'type' => 'text',
3366
+ 'id' => 'ft_gallery_watermark',
3367
+ 'name' => 'ft_gallery_watermark_overlay_enable',
3368
+ 'default_value' => 'popup-only',
3369
+ 'options' => array(
3370
+ array(
3371
+ 'label' => __('Select an Option', 'feed-them-gallery'),
3372
+ 'value' => '',
3373
+ ),
3374
+ array(
3375
+ 'label' => __('Watermark in popup only', 'feed-them-gallery'),
3376
+ 'value' => 'popup-only',
3377
+ ),
3378
+ array(
3379
+ 'label' => __('Watermark for image on page only', 'feed-them-gallery'),
3380
+ 'value' => 'page-only',
3381
+ ),
3382
+ array(
3383
+ 'label' => __('Watermark for image on page and popup', 'feed-them-gallery'),
3384
+ 'value' => 'page-and-popup',
3385
+ ),
3386
+ ),
3387
+ ),
3388
+
3389
+ //Hidden Input to set array
3390
+ array(
3391
+ 'input_wrap_class' => 'ft-watermark-hidden-options ft-gallery-image-sizes-checkbox-wrap-label',
3392
+ 'option_type' => 'checkbox-image-sizes',
3393
+ 'instructional-text' => '<strong>' . __('IMPORTANT:', 'feed-them-gallery') . '</strong> ' . __('This option will permanently mark your chosen image size once you click the publish button or update button. Set the opacity of your <strong>Watermark Image</strong> before you upload it above for this option. We suggest using a png for the best clarity and not a gif.', 'feed-them-gallery'),
3394
+ 'label' => __('Image Sizes', 'feed-them-gallery'),
3395
+ 'class' => 'ft-watermark-opacity',
3396
+ 'type' => 'hidden',
3397
+ 'id' => 'ft_watermark_image_sizes',
3398
+ 'name' => 'ft_watermark_image_sizes',
3399
+ 'default_value' => '',
3400
+ 'value' => '',
3401
+ 'placeholder' => __('', 'feed-them-gallery'),
3402
+ 'autocomplete' => 'off',
3403
+ ),
3404
+
3405
+
3406
+ //Watermark Image Sizes to convert
3407
+ array(
3408
+ 'input_wrap_class' => 'ft-watermark-hidden-options ft-gallery-image-sizes-checkbox-wrap',
3409
+ 'option_type' => 'checkbox-dynamic-image-sizes',
3410
+ 'label' => __('', 'feed-them-gallery'),
3411
+ 'class' => 'ft-watermark-opacity',
3412
+ 'type' => 'checkbox',
3413
+ 'id' => 'ft_watermark_image_',
3414
+ 'name' => '',
3415
+ 'default_value' => '',
3416
+ 'placeholder' => __('', 'feed-them-gallery'),
3417
+ 'autocomplete' => 'off',
3418
+ ),
3419
+ //Duplicate Full Image before it is watermarked, usefull if zip option is being used and or selling full image
3420
+ array(
3421
+ 'input_wrap_class' => 'ft-watermark-duplicate-image',
3422
+ 'option_type' => 'select',
3423
+ 'label' => __('Duplicate Full Image<br/>before watermarking', 'feed-them-gallery'),
3424
+ 'type' => 'text',
3425
+ 'id' => 'ft_gallery_duplicate_image',
3426
+ 'name' => 'ft_gallery_duplicate_image',
3427
+ 'default_value' => '',
3428
+ 'options' => array(
3429
+ array(
3430
+ 'label' => __('No', 'feed-them-gallery'),
3431
+ 'value' => 'no',
3432
+ ),
3433
+ array(
3434
+ 'label' => __('Yes', 'feed-them-gallery'),
3435
+ 'value' => 'yes',
3436
+ ),
3437
+ ),
3438
+ ),
3439
+ //Watermark Opacity
3440
+ array(
3441
+ 'input_wrap_class' => 'ft-gallery-watermark-opacity',
3442
+ 'option_type' => 'input',
3443
+ 'label' => __('Image Opacity', 'feed-them-gallery'),
3444
+ 'class' => 'ft-watermark-opacity',
3445
+ 'type' => 'text',
3446
+ 'id' => 'ft_watermark_image_opacity',
3447
+ 'name' => 'ft_watermark_image_opacity',
3448
+ 'default_value' => '',
3449
+ 'placeholder' => __('.5 for example', 'feed-them-gallery'),
3450
+ 'autocomplete' => 'off',
3451
+ ),
3452
+ //Watermark Position
3453
+ array(
3454
+ 'input_wrap_class' => 'ft-watermark-position',
3455
+ 'option_type' => 'select',
3456
+ 'label' => __('Watermark Position', 'feed-them-gallery'),
3457
+ 'type' => 'text',
3458
+ 'id' => 'ft_gallery_position',
3459
+ 'name' => 'ft_gallery_position',
3460
+ 'default_value' => 'bottom-right',
3461
+ 'options' => array(
3462
+ array(
3463
+ 'label' => __('Centered', 'feed-them-gallery'),
3464
+ 'value' => 'center',
3465
+ ),
3466
+ array(
3467
+ 'label' => __('Top Right', 'feed-them-gallery'),
3468
+ 'value' => 'top-right',
3469
+ ),
3470
+ array(
3471
+ 'label' => __('Top Left', 'feed-them-gallery'),
3472
+ 'value' => 'top-left',
3473
+ ),
3474
+ array(
3475
+ 'label' => __('Top Center', 'feed-them-gallery'),
3476
+ 'value' => 'top-center',
3477
+ ),
3478
+ array(
3479
+ 'label' => __('Bottom Right', 'feed-them-gallery'),
3480
+ 'value' => 'bottom-right',
3481
+ ),
3482
+ array(
3483
+ 'label' => __('Bottom Left', 'feed-them-gallery'),
3484
+ 'value' => 'bottom-left',
3485
+ ),
3486
+ array(
3487
+ 'label' => __('Bottom Center', 'feed-them-gallery'),
3488
+ 'value' => 'bottom-center',
3489
+ ),
3490
+ ),
3491
+ ),
3492
+ //watermark Image Margin
3493
+ array(
3494
+ 'option_type' => 'input',
3495
+ 'label' => __('Watermark Margin', 'feed-them-gallery'),
3496
+ 'class' => 'ft-watermark-image-margin',
3497
+ 'type' => 'text',
3498
+ 'id' => 'ft_watermark_image_margin',
3499
+ 'name' => 'ft_watermark_image_margin',
3500
+ 'default_value' => '',
3501
+ 'placeholder' => __('10px', 'feed-them-gallery'),
3502
+ 'autocomplete' => 'off',
3503
+ ),
3504
+
3505
+ )
3506
+ );
3507
+
3508
+ return $this->all_options['watermark'];
3509
+ } //END LAYOUT OPTIONS
3510
+
3511
+ /**
3512
+ * All Gallery Options
3513
+ *
3514
+ * Function to return all Gallery options
3515
+ *
3516
+ * @return string
3517
+ * @since 1.0.0
3518
+ */
3519
+ function all_gallery_options() {
3520
+
3521
+
3522
+ return $this->all_options;
3523
+
3524
+
3525
+ }
3526
+
3527
+ }
includes/feed-them-functions.php CHANGED
@@ -3192,5 +3192,4 @@ class feed_them_social_functions
3192
  return $authObj['access_token'];
3193
  }
3194
  }//END Class
3195
- new feed_them_social_functions();
3196
  ?>
3192
  return $authObj['access_token'];
3193
  }
3194
  }//END Class
 
3195
  ?>
includes/fts-cpt-class.php ADDED
@@ -0,0 +1,1625 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * FTS CPT Class
4
+ *
5
+ * This class is for creating a Custom Post Type for Feed Them Social.
6
+ *
7
+ * @version 1.0.0
8
+ * @package FeedThemSocial/Core
9
+ * @author SlickRemix
10
+ */
11
+
12
+ namespace feedthemsocial;
13
+ // Exit if accessed directly
14
+ if (!defined('ABSPATH')) exit;
15
+
16
+
17
+ /**
18
+ * FTS CPT
19
+ * @package FeedThemSocial/Core
20
+ */
21
+ class FTS_Custom_Post_Type {
22
+
23
+ /**
24
+ * Parent Post ID
25
+ * used to set Gallery ID
26
+ *
27
+ * @var string
28
+ */
29
+ public $parent_post_id = '';
30
+
31
+ /**
32
+ * Saved Settings Array
33
+ * an array of settings to save when saving page
34
+ *
35
+ * @var string
36
+ */
37
+ public $saved_settings_array = '';
38
+
39
+ /**
40
+ * Global Prefix
41
+ * Sets Prefix for global options
42
+ *
43
+ * @var string
44
+ */
45
+ public $global_prefix = 'global_';
46
+
47
+ /**
48
+ * ZIP Gallery Class
49
+ * initiates ZIP Gallery Class
50
+ *
51
+ * @var \feed_them_gallery\Zip_Gallery|string
52
+ */
53
+ public $zip_gallery_class = '';
54
+
55
+ /**
56
+ * Gallery Options
57
+ * initiates Gallery Options Class
58
+ *
59
+ * @var \feed_them_gallery\Zip_Gallery|string
60
+ */
61
+ public $gallery_options_class = '';
62
+
63
+
64
+ /**
65
+ * Gallery constructor.
66
+ */
67
+ public function __construct() {
68
+ // Globalize:
69
+ global $wp_version;
70
+
71
+ $required_plugins = array();
72
+
73
+ //Scripts
74
+ add_action('admin_enqueue_scripts', array($this, 'fts_cpt_scripts'));
75
+ //******************************************
76
+ // Gallery Layout Opyions
77
+ //******************************************
78
+ $this->fts_cpt_options_class = new Feed_Metabox_Options();
79
+
80
+ $this->saved_settings_array = $this->fts_cpt_options_class->all_gallery_options();
81
+
82
+ //Register Gallery CPT
83
+ add_action('init', array($this, 'feed_them_social_cpt'));
84
+ //Response Messages
85
+ add_filter('post_updated_messages', array($this, 'fts_cpt_updated_messages'));
86
+
87
+ //Gallery List function
88
+ add_filter('manage_fts_cpt_posts_columns', array($this, 'fts_cpt_set_custom_edit_columns'));
89
+ add_action('manage_fts_cpt_posts_custom_column', array($this, 'fts_cpt_custom_edit_column'), 10, 2);
90
+
91
+ //Change Button Text
92
+ add_filter('gettext', array($this, 'fts_cpt_set_button_text'), 20, 3);
93
+ //Add Meta Boxes
94
+ add_action('add_meta_boxes', array($this, 'fts_cpt_add_metaboxes'));
95
+
96
+ // Set local variables:
97
+ $this->plugin_locale = MY_TEXTDOMAIN;
98
+ // Set WordPress version:
99
+ $this->wordpress_version = substr(str_replace('.', '', $wp_version), 0, 2);
100
+
101
+ add_action('current_screen', array($this, 'fts_cpt_check_page'));
102
+
103
+ //Save Meta Box Info
104
+ add_action('save_post', array($this, 'fts_cpt_save_custom_meta_box'), 10, 2);
105
+
106
+ if (get_option('fts_cpt_duplicate_post_show') == '') {
107
+
108
+ add_action('admin_action_fts_cpt_duplicate_post_as_draft', array($this, 'fts_cpt_duplicate_post_as_draft'));
109
+ add_filter('page_row_actions', array($this, 'fts_cpt_duplicate_post_link'), 10, 2);
110
+ add_filter('fts_cpt_row_actions', array($this, 'fts_cpt_duplicate_post_link'), 10, 2);
111
+ add_action('post_submitbox_start', array($this, 'fts_cpt_duplicate_post_add_duplicate_post_button'));
112
+
113
+ }
114
+ }
115
+
116
+ /**
117
+ * FTS Feed Tab Notice HTML
118
+ *
119
+ * creates notice html for return
120
+ *
121
+ * @since 1.0.0
122
+ */
123
+ function fts_cpt_tab_premium_msg() {
124
+ echo '<div class="fts-cpt-premium-mesg">Please purchase, install and activate <a href="https://www.slickremix.com/downloads/feed-them-social/" target="_blank">Feed Them Social Premium</a> for these additional awesome features!</div>';
125
+ }
126
+
127
+ /**
128
+ * FTS Feed Check Page
129
+ *
130
+ * What page are we on?
131
+ *
132
+ * @since 1.0.0
133
+ */
134
+ function fts_cpt_check_page() {
135
+ $current_screen = get_current_screen();
136
+
137
+ if (is_admin() && $current_screen->post_type == 'fts_cpt' && $current_screen->base == 'post') {
138
+
139
+ if (isset($_GET['post'])) {
140
+ $this->parent_post_id = $_GET['post'];
141
+ }
142
+ if (isset($_POST['post'])) {
143
+ $this->parent_post_id = $_POST['post'];
144
+ }
145
+ }
146
+ }
147
+
148
+ /**
149
+ * FTS Feed Get Gallery Options
150
+ *
151
+ * Get options set for a gallery
152
+ *
153
+ * @param $gallery_id
154
+ * @return array
155
+ * @since 1.0.0
156
+ */
157
+ public function fts_cpt_get_gallery_options($gallery_id) {
158
+
159
+ $post_info = get_post($gallery_id['gallery_id']);
160
+
161
+ // echo '<pre>';
162
+ // print_r($post_info);
163
+ // echo '</pre>';
164
+
165
+ $options_array = array();
166
+
167
+ //Basic Post Info
168
+ $options_array['fts_cpt_image_id'] = isset($post_info->ID) ? $post_info->ID : 'This ID does not exist anymore';
169
+ $options_array['fts_cpt_author'] = isset($post_info->post_author) ? $post_info->post_author : '';
170
+ // $options_array['fts_cpt_post_date'] = $post_info->post_date_gmt;
171
+ $options_array['fts_cpt_post_title'] = isset($post_info->post_title) ? $post_info->post_title : '';
172
+ // $options_array['fts_cpt_post_alttext'] = $post_info->post_title;
173
+ // $options_array['fts_cpt_comment_status'] = $post_info->comment_status;
174
+
175
+
176
+ foreach ($this->saved_settings_array as $box_array) {
177
+ foreach ($box_array as $box_key => $settings) {
178
+ if ($box_key == 'main_options') {
179
+ //Gallery Settings
180
+ foreach ($settings as $option) {
181
+ $option_name = !empty($option['name']) ? $option['name'] : '';
182
+ $option_default_value = !empty($option['default_value']) ? $option['default_value'] : '';
183
+
184
+ if (!empty($option_name)) {
185
+ $option_value = get_post_meta($gallery_id['gallery_id'], $option_name, true);
186
+ //Set value or use Default_value
187
+ $options_array[$option_name] = !empty($option_value) ? $option_value : $option_default_value;
188
+ }
189
+
190
+ }
191
+ }
192
+ }
193
+ }
194
+
195
+ return $options_array;
196
+ }
197
+
198
+ /**
199
+ * FTS Custom Post Type
200
+ *
201
+ * Create Feed Them Social custom post type
202
+ *
203
+ * @since 1.0.0
204
+ */
205
+ public function feed_them_social_cpt() {
206
+ $responses_cpt_args = array(
207
+ 'label' => __('Feed Them Social', 'feed-them-social'),
208
+ 'labels' => array(
209
+ 'menu_name' => __('Feeds', 'feed-them-social'),
210
+ 'name' => __('Feeds', 'feed-them-social'),
211
+ 'singular_name' => __('Feed', 'feed-them-social'),
212
+ 'add_new' => __('Add Feed', 'feed-them-social'),
213
+ 'add_new_item' => __('Add New Feed', 'feed-them-social'),
214
+ 'edit_item' => __('Edit Feed', 'feed-them-social'),
215
+ 'new_item' => __('New Feed', 'feed-them-social'),
216
+ 'view_item' => __('View Feed', 'feed-them-social'),
217
+ 'search_items' => __('Search Feeds', 'feed-them-social'),
218
+ 'not_found' => __('No Feeds Found', 'feed-them-social'),
219
+ 'not_found_in_trash' => __('No Feeds Found In Trash', 'feed-them-social'),
220
+ ),
221
+
222
+ 'public' => false,
223
+ 'publicly_queryable' => true,
224
+ 'show_ui' => true,
225
+ 'capability_type' => 'post',
226
+ //Display under FTS tab in admin menu
227
+ 'show_in_menu' => 'feed-them-settings-page',
228
+ 'show_in_nav_menus' => false,
229
+ 'exclude_from_search' => true,
230
+
231
+ 'capabilities' => array(
232
+ 'create_posts' => true, // Removes support for the "Add New" function ( use 'do_not_allow' instead of false for multisite set ups )
233
+ ),
234
+ 'map_meta_cap' => true,
235
+ 'has_archive' => true,
236
+ 'hierarchical' => true,
237
+ 'query_var' => 'fts_cpt',
238
+
239
+ 'menu_icon' => '',
240
+ 'supports' => array('title', 'revisions'),
241
+ 'order' => 'DESC',
242
+ // Set the available taxonomies here
243
+ //'taxonomies' => array('fts_cpt_topics')
244
+ );
245
+ register_post_type('fts_cpt', $responses_cpt_args);
246
+ }
247
+
248
+
249
+ /**
250
+ * FTS Feed Updated Messages
251
+ * Updates the messages in the admin area so they match plugin
252
+ *
253
+ * @param $messages
254
+ * @return mixed
255
+ * @since 1.0.0
256
+ */
257
+ public function fts_cpt_updated_messages($messages) {
258
+ global $post, $post_ID;
259
+ $messages['fts_cpt'] = array(
260
+ 0 => '', // Unused. Messages start at index 1.
261
+ 1 => __('Feed updated.', 'feed-them-social'),
262
+ 2 => __('Custom field updated.', 'feed-them-social'),
263
+ 3 => __('Custom field deleted.', 'feed-them-social'),
264
+ 4 => __('Feed updated.', 'feed-them-social'),
265
+ /* translators: %s: date and time of the revision */
266
+ 5 => isset($_GET['revision']) ? sprintf(__('Response restored to revision from %s', 'feed-them-social'), wp_post_revision_title((int)$_GET['revision'], false)) : false,
267
+ 6 => __('Feed created.', 'feed-them-social'),
268
+ 7 => __('Feed saved.', 'feed-them-social'),
269
+ 8 => __('Feed submitted.', 'feed-them-social'),
270
+ 9 => __('Feed scheduled for: <strong>%1$s</strong>.', 'feed-them-social'),
271
+ // translators: Publish box date format, see http://php.net/date
272
+ // date_i18n( __( 'M j, Y @ G:i' ), strtotime( $post->post_date ) ), esc_url( get_permalink($post_ID) ) ),
273
+ 10 => __('Feed draft updated.', 'feed-them-social'),
274
+ );
275
+
276
+ return $messages;
277
+ }
278
+
279
+ /**
280
+ * FTS Feed Set Custom Edit Columns
281
+ *
282
+ * Sets the custom admin columns for gallery list page
283
+ *
284
+ * @param $columns
285
+ * @return array
286
+ * @since 1.0.0
287
+ */
288
+ function fts_cpt_set_custom_edit_columns($columns) {
289
+
290
+ $new = array();
291
+
292
+ foreach ($columns as $key => $value) {
293
+
294
+ if ($key == 'title') { // when we find the date column
295
+ $new[$key] = $value;
296
+ $new['feed_shortcode'] = __('Feed Shortcode', 'feed-them-social');
297
+ $new['feed_type'] = __('Feed Type', 'feed-them-social');
298
+ } else {
299
+ $new[$key] = $value;
300
+ }
301
+ }
302
+
303
+ return $new;
304
+ }
305
+
306
+ /**
307
+ * FTS Feed Count Post Images
308
+ * Return a count of images for our gallery list column.
309
+ *
310
+ * @return mixed
311
+ * @since 1.0.0
312
+ */
313
+ public function fts_cpt_count_post_images($post_id) {
314
+ $attachments = get_children(array(
315
+ 'post_parent' => $post_id,
316
+ 'post_mime_type' => 'image'
317
+ ));
318
+
319
+ $count = count($attachments);
320
+
321
+ return $count;
322
+ }
323
+
324
+ /**
325
+ * FT Galley Custom Edit Column
326
+ * Put info in matching coloumns we set
327
+ *
328
+ * @param $column
329
+ * @param $post_id
330
+ * @since 1.0.0
331
+ */
332
+ function fts_cpt_custom_edit_column($column, $post_id) {
333
+ switch ($column) {
334
+ // display a thumbnail photo
335
+ case 'feed_shortcode' :
336
+ echo '<input value="[feed-them-social id=' . $post_id . ']" onclick="this.select()"/>';
337
+ break;
338
+
339
+ case 'feed_type' :
340
+ echo '<input value="[feed-them-social id=' . $post_id . ']" onclick="this.select()"/>';
341
+ break;
342
+ }
343
+ }
344
+
345
+ /**
346
+ * FTS Feed Set Button Text
347
+ * Set Edit Post buttons for Feeds custom post type
348
+ *
349
+ * @param $translated_text
350
+ * @param $text
351
+ * @param $domain
352
+ * @return mixed
353
+ * @since 1.0.0
354
+ */
355
+ public function fts_cpt_set_button_text($translated_text, $text, $domain) {
356
+ $post_id = isset($_GET['post']) ? $_GET['post'] : '';
357
+ $custom_post_type = get_post_type($post_id);
358
+ if (!empty($post_id) && $custom_post_type == 'fts_cpt_responses') {
359
+ switch ($translated_text) {
360
+ case 'Publish' :
361
+ $translated_text = __('Save Feed', 'feed-them-social');
362
+ break;
363
+ case 'Update' :
364
+ $translated_text = __('Update Feed', 'feed-them-social');
365
+ break;
366
+ case 'Save Draft' :
367
+ $translated_text = __('Save Feed Draft', 'feed-them-social');
368
+ break;
369
+ case 'Edit Payment' :
370
+ $translated_text = __('Edit Feed', 'feed-them-social');
371
+ break;
372
+ }
373
+ }
374
+
375
+ return $translated_text;
376
+ }
377
+
378
+ /**
379
+ * FTS Feed Scripts
380
+ *
381
+ * Create Feed custom post type
382
+ *
383
+ * @since 1.0.0
384
+ */
385
+ public function fts_cpt_scripts() {
386
+
387
+ global $id, $post;
388
+
389
+ // Get current screen.
390
+ $current_screen = get_current_screen();
391
+
392
+ if (is_admin() && $current_screen->post_type == 'fts_cpt' && $current_screen->base == 'post') {
393
+
394
+ // Set the post_id for localization.
395
+ $post_id = isset($post->ID) ? $post->ID : (int)$id;
396
+
397
+ // Image Uploader
398
+ wp_enqueue_media(array(
399
+ 'post' => $post_id,
400
+ ));
401
+ add_filter('plupload_init', array($this, 'plupload_init'));
402
+ // Updates the attachments when saving
403
+ // add_filter( 'wp_insert_post_data', array( $this, 'fts_cpt_sort_images_meta_save' ), 99, 2 );
404
+
405
+ wp_enqueue_style('fts-cpt-feeds', plugins_url('feed-them-social/feeds/css/styles.css'));
406
+ //wp_enqueue_style('fts-cpt-popup', plugins_url('feed-them-social/includes/feeds/css/magnific-popup.css'));
407
+ //wp_enqueue_script('fts-cpt-popup-js', plugins_url('feed-them-social/includes/feeds/js/magnific-popup.js'));
408
+ wp_register_style('side_sup_settings_css', plugins_url('feed-them-social/admin/css/metabox.css'));
409
+ wp_enqueue_style('side_sup_settings_css');
410
+
411
+ //wp_register_script('jquery-nested-sortable', plugins_url('feed-them-social/admin/js/jquery.mjs.nestedSortable.js'), array('jquery-ui-core', 'jquery-ui-draggable', 'jquery-ui-sortable, '));
412
+ //wp_enqueue_script('jquery-nested-sortable');
413
+
414
+ wp_enqueue_style('fts-cpt-admin-ui-css', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css');
415
+
416
+ //wp_enqueue_script('jquery-ui-progressbar'); // the progress bar
417
+ // wp_register_script('Side-Sup-Sidebar-Builder', plugins_url('feed-them-social/admin/js/metabox.js'), 'jquery-ui-progressbar', 1.0, true);
418
+ //wp_register_script('fts-cpt-metabox', plugins_url('feed-them-social/admin/js/metabox.js'));
419
+ //wp_enqueue_script('fts-cpt-metabox');
420
+
421
+
422
+ // Add buttons that appears at the bottom of pages to publish, update or go to top of page
423
+ wp_enqueue_script('fts-updatefrombottom-admin-scripts', plugins_url('feed-them-social/feeds/js/update-from-bottom.js'), array('jquery'));
424
+
425
+ # Translatable trings
426
+ $js_data = array(
427
+ 'update' => __('Update', 'feed-them-social'),
428
+ 'publish' => __('Publish', 'feed-them-social'),
429
+ 'publishing' => __('Publishing...', 'feed-them-social'),
430
+ 'updating' => __('Updating...', 'feed-them-social'),
431
+ 'totop' => __('To top', 'feed-them-social'),
432
+ );
433
+ # Localize strings to javascript
434
+ wp_localize_script('fts-updatefrombottom-admin-scripts', 'updatefrombottomParams', $js_data);
435
+
436
+ } else {
437
+ return;
438
+ }
439
+ }
440
+
441
+ /**
442
+ * Add Feed Meta Boxes
443
+ *
444
+ * Add metaboxes to the gallery
445
+ *
446
+ * @since 1.0.0
447
+ */
448
+ public
449
+ function fts_cpt_add_metaboxes() {
450
+ global $post;
451
+ // Check we are using Feed Them Feed Custom Post type
452
+ if ('fts_cpt' != $post->post_type) {
453
+ return;
454
+ }
455
+ //Image Uploader and Gallery area in admin
456
+ add_meta_box('fts-cpts-main-mb', __('Feed Settings', 'feed-them-gallery'), array($this, 'fts_cpt_main_meta_box'), 'fts_cpt', 'normal', 'high', null);
457
+ //Link Settings Meta Box
458
+ add_meta_box('fts-cpts-shortcode-side-mb', __('Feed Them Social Shortcode', 'feed-them-social'), array($this, 'fts_cpt_shortcode_meta_box'), 'fts_cpt', 'side', 'high', null);
459
+ }
460
+
461
+ /**
462
+ * FTS Feed Format Bytes
463
+ *
464
+ * Creates a human readable size for return
465
+ * @param $bytes
466
+ * @param int $precision
467
+ * @return float
468
+ * @since 1.0.0
469
+ */
470
+ public
471
+ function fts_cpt_format_bytes($bytes, $precision = 2) {
472
+ $units = array('B', 'KB', 'MB', 'GB', 'TB');
473
+ $bytes = max($bytes, 0);
474
+ $pow = floor(($bytes ? log($bytes) : 0) / log(1024));
475
+ $pow = min($pow, count($units) - 1);
476
+ $bytes /= pow(1024, $pow);
477
+
478
+ return round($bytes, $precision);
479
+ }
480
+
481
+
482
+ /**
483
+ * FTS Feed Uploader Meta Box
484
+ *
485
+ * Uploading functionality trigger. (Most of the code comes from media.php and handlers.js)
486
+ *
487
+ * @param $object
488
+ * @since 1.0.0
489
+ */
490
+ public
491
+ function fts_cpt_main_meta_box($object) {
492
+ wp_nonce_field(basename(__FILE__), 'fts-cpts-settings-meta-box-nonce'); ?>
493
+
494
+ <?php
495
+
496
+ $gallery_id = isset($_GET['post']) ? $_GET['post'] : ''; ?>
497
+ <div class="fts-cpt-settings-tabs-meta-wrap">
498
+ <div class="tabs" id="tabs">
499
+ <div class="tabs-menu-wrap" id="tabs-menu">
500
+ <label for="tab1" class="tab1 tabbed <?php if (isset($_GET['tab']) && $_GET['tab'] == 'fts_account') {
501
+ echo 'tab-active';
502
+ } elseif (!isset($_GET['tab'])) {
503
+ echo 'tab-active';
504
+ } ?>" id="ft_account">
505
+ <div class="ft_icon"></div>
506
+ <span class="das-text"><?php _e('Account', 'feed-them-social') ?></span>
507
+ </label>
508
+
509
+ <label for="tab2" class="tab2 tabbed <?php if (isset($_GET['tab']) && $_GET['tab'] == 'fts_facebook') {
510
+ echo 'tab-active';
511
+ } ?>" id="ft_layout">
512
+ <div class="ft_icon"></div>
513
+ <span class="das-text"><?php _e('Facebook', 'feed-them-social') ?></span>
514
+ </label>
515
+
516
+ <label for="tab3" class="tab3 tabbed <?php if (isset($_GET['tab']) && $_GET['tab'] == 'fts_instagram') {
517
+ echo ' tab-active';
518
+ } ?>" id="ft_colors">
519
+ <div class="ft_icon"></div>
520
+ <span class="das-text"><?php _e('Instagram', 'feed-them-social') ?></span>
521
+
522
+ </label>
523
+
524
+ <label for="tab4" class="tab4 tabbed <?php if (isset($_GET['tab']) && $_GET['tab'] == 'fts_combined') {
525
+ echo ' tab-active';
526
+ } ?>" id="ft_global" style="display: none;">
527
+ <div class="ft_icon"></div>
528
+ <span class="das-text"><?php _e('Combined Streams', 'feed-them-social') ?></span>
529
+ </label>
530
+
531
+ </div>
532
+
533
+ <div id="tab-content1" class="tab-content fts-hide-me <?php if (isset($_GET['tab']) && $_GET['tab'] == 'fts_account' || !isset($_GET['tab'])) {
534
+ echo ' pane-active';
535
+ } ?>">
536
+ <section>
537
+
538
+
539
+ <?php
540
+ //Happens in JS file
541
+ $this->fts_cpt_tab_notice_html(); ?>
542
+
543
+ <script>
544
+ jQuery('.metabox_submit').click(function (e) {
545
+ e.preventDefault();
546
+ // jQuery('#publish').click();
547
+ jQuery('#post').click();
548
+ });
549
+
550
+
551
+ jQuery(document).ready(function () {
552
+ jQuery('.gallery-edit-button-question-one').click(function () {
553
+ jQuery('.gallery-edit-question-download-gallery').toggle();
554
+ jQuery('.gallery-edit-question-digital-gallery-product, .gallery-edit-question-individual-image-product').hide();
555
+ });
556
+
557
+ jQuery('.gallery-edit-button-question-two').click(function () {
558
+ jQuery('.gallery-edit-question-digital-gallery-product').toggle();
559
+ jQuery('.gallery-edit-question-download-gallery, .gallery-edit-question-individual-image-product').hide();
560
+ });
561
+
562
+ jQuery('.gallery-edit-button-question-three').click(function () {
563
+ jQuery('.gallery-edit-question-individual-image-product').toggle();
564
+ jQuery('.gallery-edit-question-download-gallery, .gallery-edit-question-digital-gallery-product').hide();
565
+ });
566
+ });
567
+
568
+ </script>
569
+
570
+ <?php // echo $this->fts_cpt_settings_html_form($this->parent_post_id, $this->saved_settings_array['facebook'], null); ?>
571
+
572
+ <div class="clear"></div>
573
+ </section>
574
+
575
+ </div> <!-- #tab-content1 -->
576
+
577
+ <div id="tab-content2" class="tab-content fts-hide-me <?php if (isset($_GET['tab']) && $_GET['tab'] == 'fts_facebook') {
578
+ echo ' pane-active';
579
+ } ?>">
580
+
581
+ <?php echo $this->fts_cpt_settings_html_form($this->parent_post_id, $this->saved_settings_array['facebook'], null); ?>
582
+ <div class="clear"></div>
583
+ <div class="fts-cpt-note"><?php _e('Additional Global options available on the <a href="edit.php?post_type=fts_cpt&page=fts-cpt-settings-page">settings page</a>.', 'feed-them-social') ?></div>
584
+
585
+ </div>
586
+
587
+ <div id="tab-content3" class="tab-content fts-hide-me <?php if (isset($_GET['tab']) && $_GET['tab'] == 'fts_instagram') {
588
+ echo ' pane-active';
589
+ } ?>">
590
+ <?php
591
+ echo $this->fts_cpt_settings_html_form($this->parent_post_id, $this->saved_settings_array['instagram'], null); ?>
592
+ <div class="clear"></div>
593
+
594
+ <div class="fts-cpt-note"><?php _e('Additional global color options available on the <a href="edit.php?post_type=fts_cpt&page=fts-cpt-settings-page">settings page</a>.', 'feed-them-social') ?></div>
595
+
596
+ </div>
597
+
598
+ <div id="tab-content4" class="tab-content fts-hide-me <?php if (isset($_GET['tab']) && $_GET['tab'] == 'ft_combined') {
599
+ echo ' pane-active';
600
+ } ?>">
601
+ <?php
602
+
603
+ //If Premium add Functionality
604
+ if (!is_plugin_active('feed-them-premium/feed-them-premium.php')) {
605
+ echo '<section>' . $this->fts_cpt_tab_premium_msg() . '</section>';
606
+ }
607
+ ?>
608
+ <section>
609
+
610
+ <?php echo $this->fts_cpt_settings_html_form($this->parent_post_id, $this->saved_settings_array['combine_streams'], null); ?>
611
+
612
+ </section>
613
+ <div class="clear"></div>
614
+ </div>
615
+
616
+ <div id="tab-content5" class="tab-content fts-hide-me <?php if (isset($_GET['tab']) && $_GET['tab'] == 'ft_woo_commerce') {
617
+ echo ' pane-active';
618
+ } ?>">
619
+
620
+ <?php
621
+
622
+ if (!is_plugin_active('feed-them-premium/feed-them-premium.php')) { ?>
623
+ <section>
624
+ <?php $this->fts_cpt_tab_premium_msg(); ?>
625
+ </section>
626
+ <?php } ?>
627
+
628
+ <?php
629
+ // echo '<pre>';
630
+ // print_r(wp_prepare_attachment_for_js('21529'));
631
+ // echo '</pre>';
632
+
633
+ echo $this->fts_cpt_settings_html_form($this->parent_post_id, $this->saved_settings_array['woocommerce'], null); ?>
634
+
635
+ <div class="tab-5-extra-options">
636
+
637
+ <div class="feed-them-social-admin-input-wrap ">
638
+ <div class="feed-them-social-admin-input-label"><?php _e('Single Image Model Product', 'feed-them-social'); ?></div>
639
+ <?php
640
+ if (is_plugin_active('woocommerce/woocommerce.php') && is_plugin_active('feed-them-premium/feed-them-premium.php')) {
641
+ $gallery_to_woo_class = new Gallery_to_Woocommerce();
642
+ echo $gallery_to_woo_class->fts_cpt_image_to_woo_model_prod_select($this->parent_post_id);
643
+ }
644
+ ?>
645
+ </br><span class="tab-section-description"><small><?php _e('Select a Product that will be duplicated when creating a Woocommerce products for individual images. 1 image will turn 1 woo product. Saves time when creating variable product Example: Printable images that have different print sizes, material, ect...', 'feed-them-social'); ?></small></span>
646
+ <span class="tab-section-description"><a href="https://docs.woocommerce.com/document/variable-product/" target="_blank"><small><?php _e('Learn how to create a <strong>Variable product</strong> in Woocommerce.', 'feed-them-social'); ?></small></a> </span>
647
+ </div>
648
+ <div class="feed-them-social-admin-input-wrap ">
649
+ <div class="feed-them-social-admin-input-label"><?php _e('ZIP Model Product', 'feed-them-social'); ?></div>
650
+ <?php
651
+ if (is_plugin_active('woocommerce/woocommerce.php') && is_plugin_active('feed-them-premium/feed-them-premium.php')) {
652
+ echo $gallery_to_woo_class->fts_cpt_zip_to_woo_model_prod_select($this->parent_post_id);
653
+ }
654
+ ?>
655
+ </br><span class="tab-section-description"><small><?php _e('Select a Product that will be duplicated when creating a Woocommerce product for Gallery Digital ZIP. (Turns all images in Gallery into a ZIP for a Simple Virtual/Downloadable Woocommerce product.)', 'feed-them-social'); ?></small></span>
656
+ <span class="tab-section-description"><a href="https://docs.woocommerce.com/document/managing-products/#section-5" target="_blank"><small><?php _e('Learn how to create a <strong>Simple product</strong> in Woocommerce.', 'feed-them-social'); ?></small></a> </span>
657
+ <span class="tab-section-description"><small><?php _e('**NOTE** This Product must have options ', 'feed-them-social'); ?>
658
+ <a href="https://docs.woocommerce.com/document/managing-products/#section-14" target="_blank"><?php _e('Virtual', 'feed-them-social'); ?></a><?php _e(' and ', 'feed-them-social'); ?>
659
+ <a href="https://docs.woocommerce.com/document/managing-products/#section-15" target="_blank"><?php _e('Downloadable', 'feed-them-social'); ?></a> <?php _e('checked to appear in select option above. No Download link is needed in product though as it will be auto-filled in when Feed Them Social creates a new ZIP product.', 'feed-them-social'); ?></small></span>
660
+
661
+ </div>
662
+
663
+ <div class="clear"></div>
664
+
665
+ <div class="fts-cpt-note"><?php _e('Additional Global WooCommerce options available on the <a href="edit.php?post_type=fts_cpt&page=fts-cpt-settings-page">settings page</a>.', 'feed-them-social') ?></div>
666
+
667
+ </div>
668
+
669
+ </div>
670
+
671
+ <div id="tab-content7" class="tab-content fts-hide-me <?php if (isset($_GET['tab']) && $_GET['tab'] == 'ft_watermark') {
672
+ echo ' pane-active';
673
+ } ?>">
674
+
675
+ <?php if (!is_plugin_active('feed-them-premium/feed-them-premium.php')) { ?>
676
+ <section>
677
+ <?php $this->fts_cpt_tab_premium_msg(); ?>
678
+ </section>
679
+ <?php }
680
+
681
+ echo $this->fts_cpt_settings_html_form($this->parent_post_id, $this->saved_settings_array['watermark'], null); ?>
682
+
683
+ <div class="clear"></div>
684
+
685
+ <div class="fts-cpt-note"><?php _e('Please <a href="https://www.slickremix.com/my-account/#tab-support" target="_blank">create a ticket</a> if you are experiencing trouble and one of our team members will be happy to assist you.', 'feed-them-social') ?></div>
686
+
687
+ </div>
688
+
689
+ <div id="tab-content8" class="tab-content fts-hide-me <?php if (isset($_GET['tab']) && $_GET['tab'] == 'ft_whcc') {
690
+ echo ' pane-active';
691
+ } ?>">
692
+
693
+ <?php if (!is_plugin_active('feed-them-premium/feed-them-premium.php')) { ?>
694
+ <section>
695
+ <?php $this->fts_cpt_tab_premium_msg(); ?>
696
+ </section>
697
+ <?php } else {
698
+
699
+ $whcc = new FT_Gallery_WHCC();
700
+
701
+ $mulit_data = array();
702
+
703
+ $mulit_data['access_token'] = 'https://sandbox.login.whcc.com/oauth?response_type=request_url&consumer_key=3CFB458C7BDCB0F76C2B&consumer_secret=Ug0d5Ugv298=&callback_url=http://sidebar-support.com/wp-admin/post.php?post=24748&action=edit&tab=ft_whcc';
704
+
705
+ //$mulit_data['whcc_account_info'] = 'https://sandbox.apps.whcc.com/oas/client?access_token=134436881391';
706
+
707
+ $whcc_response = $whcc->fts_cpt_get_json($mulit_data);
708
+
709
+ echo '<pre>';
710
+ print_r($whcc_response);
711
+
712
+ //print_r(json_decode($whcc_response['whcc_account_info'],true ));
713
+ echo '</pre>';
714
+ } ?>
715
+
716
+ <div class="clear"></div>
717
+
718
+ <div class="fts-cpt-note"><?php _e('Please <a href="https://www.slickremix.com/my-account/#tab-support" target="_blank">create a ticket</a> if you are experiencing trouble and one of our team members will be happy to assist you.', 'feed-them-social') ?></div>
719
+
720
+ </div>
721
+
722
+ <div class="clear"></div>
723
+
724
+ </div>
725
+ </div>
726
+ <script>
727
+ jQuery(document).ready(function ($) {
728
+
729
+ //create hash tag in url for tabs
730
+ // jQuery('.post-type-fts_cpt').on('click', ".button-large", function () {
731
+ // var myURL = document.location;
732
+ // document.location = myURL + "&tab=" + jQuery(this).attr('id');
733
+ // $("#post").attr("action", "post.php/?post=18240&action=edit&tab=ft_layout");
734
+
735
+ // })
736
+
737
+ //create hash tag in url for tabs
738
+ jQuery('.fts-cpt-settings-tabs-meta-wrap #tabs').on('click', "label.tabbed", function () {
739
+ var myURL = document.location;
740
+ document.location = myURL + "&tab=" + jQuery(this).attr('id');
741
+
742
+ })
743
+
744
+ // facebook Super Gallery option
745
+ jQuery('#facebook-custom-gallery').bind('change', function (e) {
746
+ if (jQuery('#facebook-custom-gallery').val() == 'yes') {
747
+ jQuery('.fts-super-facebook-options-wrap').show();
748
+ }
749
+ else {
750
+ jQuery('.fts-super-facebook-options-wrap').hide();
751
+ }
752
+ });
753
+
754
+ if (jQuery('#fts_cpt_popup').val() == 'no') {
755
+ jQuery('.ft-images-sizes-popup').hide();
756
+ // jQuery('.display-comments-wrap').show();
757
+
758
+ }
759
+ //Facebook Display Popup option
760
+ jQuery('#fts_cpt_popup').bind('change', function (e) {
761
+ if (jQuery('#fts_cpt_popup').val() == 'yes') {
762
+ jQuery('.ft-images-sizes-popup').show();
763
+ // jQuery('.display-comments-wrap').show();
764
+
765
+ }
766
+ else {
767
+ jQuery('.ft-images-sizes-popup').hide();
768
+ // jQuery('.display-comments-wrap').hide();
769
+ }
770
+ });
771
+
772
+
773
+ if (jQuery("#fts_cpt_watermark").val() == 'imprint') {
774
+ jQuery('.ft-watermark-hidden-options').show();
775
+ jQuery('.ft-watermark-overlay-options, .fts-cpt-watermark-opacity').hide();
776
+ }
777
+
778
+
779
+ if (jQuery('#fts_cpt_watermark').val() == 'overlay') {
780
+ jQuery('.ft-watermark-overlay-options, .fts-cpt-watermark-opacity').show();
781
+ jQuery('.ft-watermark-hidden-options').hide();
782
+ }
783
+
784
+ // facebook show load more options
785
+ jQuery('#fts_cpt_watermark').bind('change', function (e) {
786
+ if (jQuery('#fts_cpt_watermark').val() == 'imprint') {
787
+
788
+ jQuery('.ft-watermark-hidden-options').show();
789
+ jQuery('.ft-watermark-overlay-options, .fts-cpt-watermark-opacity').hide();
790
+ }
791
+ if (jQuery('#fts_cpt_watermark').val() == 'overlay') {
792
+ jQuery('.ft-watermark-overlay-options, .fts-cpt-watermark-opacity').show();
793
+ jQuery('.ft-watermark-hidden-options').hide();
794
+ }
795
+
796
+ });
797
+
798
+ // show the duplicate image select box for those who want to duplicate the image before watermarking
799
+ jQuery('#ft_watermark_image_-full').change(function () {
800
+ this.checked ? jQuery('.ft-watermark-duplicate-image').show() : jQuery('.ft-watermark-duplicate-image').hide();
801
+ });
802
+ //if page is loaded and box is checked we show the select box otherwise it is hidden with CSS
803
+ if (jQuery('input#ft_watermark_image_-full').is(':checked')) {
804
+ jQuery('.ft-watermark-duplicate-image').show()
805
+ }
806
+
807
+
808
+ // facebook show load more options
809
+ jQuery('#fts_cpt_load_more_option').bind('change', function (e) {
810
+ if (jQuery('#fts_cpt_load_more_option').val() == 'yes') {
811
+
812
+ if (jQuery('#facebook-messages-selector').val() !== 'album_videos') {
813
+ jQuery('.fts-facebook-load-more-options-wrap').show();
814
+ }
815
+ jQuery('.fts-facebook-load-more-options2-wrap').show();
816
+ }
817
+
818
+ else {
819
+ jQuery('.fts-facebook-load-more-options-wrap, .fts-facebook-load-more-options2-wrap').hide();
820
+ }
821
+ });
822
+
823
+
824
+ if (jQuery('#fts_cpt_load_more_option').val() == 'yes') {
825
+ jQuery('.fts-facebook-load-more-options-wrap, .fts-facebook-load-more-options2-wrap').show();
826
+ jQuery('.fts-facebook-grid-options-wrap').show();
827
+ }
828
+ if (jQuery('#fts_cpt_grid_option').val() == 'yes') {
829
+ jQuery('.fts-facebook-grid-options-wrap').show();
830
+ jQuery(".feed-them-social-admin-input-label:contains('Center Facebook Container?')").parent('div').show();
831
+ }
832
+
833
+
834
+ if (jQuery('#fts_cpt_type').val() == 'post-in-grid' || jQuery('#fts_cpt_type').val() == 'gallery' || jQuery('#fts_cpt_type').val() == 'gallery-collage') {
835
+ jQuery('.fb-page-grid-option-hide').show();
836
+ if (jQuery('#fts_cpt_type').val() == 'gallery') {
837
+ jQuery('#fts_cpt_height').show();
838
+ jQuery('.fb-page-columns-option-hide').show();
839
+ jQuery('.ftg-hide-for-columns').hide();
840
+ }
841
+ else {
842
+ jQuery('.fts_cpt_height').hide();
843
+ jQuery('.fb-page-columns-option-hide').hide();
844
+ jQuery('.ftg-hide-for-columns').show();
845
+ }
846
+ }
847
+ else {
848
+ jQuery('.fb-page-grid-option-hide, .fts_cpt_height').hide();
849
+ }
850
+
851
+ // facebook show grid options
852
+ jQuery('#fts_cpt_type').bind('change', function (e) {
853
+ if (jQuery('#fts_cpt_type').val() == 'post-in-grid' || jQuery('#fts_cpt_type').val() == 'gallery' || jQuery('#fts_cpt_type').val() == 'gallery-collage') {
854
+ jQuery('.fb-page-grid-option-hide').show();
855
+ if (jQuery('#fts_cpt_type').val() == 'gallery') {
856
+ jQuery('#fts_cpt_height').show();
857
+ jQuery('.fb-page-columns-option-hide').show();
858
+ jQuery('.ftg-hide-for-columns').hide();
859
+ }
860
+ else {
861
+ jQuery('.fts_cpt_height').hide();
862
+ jQuery('.fb-page-columns-option-hide').hide();
863
+ jQuery('.ftg-hide-for-columns').show();
864
+ }
865
+ }
866
+ else {
867
+ jQuery('.fb-page-grid-option-hide').hide();
868
+ }
869
+
870
+
871
+ });
872
+
873
+ });
874
+ </script>
875
+
876
+ <div class="clear"></div>
877
+ <?php
878
+ $plupload_init = array(
879
+ 'runtimes' => 'html5,silverlight,flash,html4',
880
+ 'browse_button' => 'plupload-browse-button', // will be adjusted per uploader
881
+ 'container' => 'plupload-upload-ui', // will be adjusted per uploader
882
+ 'drop_element' => 'drag-drop-area', // will be adjusted per uploader
883
+ 'file_data_name' => 'async-upload', // will be adjusted per uploader
884
+ 'multiple_queues' => true,
885
+ 'max_file_size' => wp_max_upload_size() . 'b',
886
+ 'url' => admin_url('admin-ajax.php'),
887
+ 'flash_swf_url' => includes_url('js/plupload/plupload.flash.swf'),
888
+ 'silverlight_xap_url' => includes_url('js/plupload/plupload.silverlight.xap'),
889
+ 'filters' => array(array('title' => __('Allowed Files'), 'extensions' => '*')),
890
+ 'multipart' => true,
891
+ 'urlstream_upload' => true,
892
+ 'multi_selection' => false, // will be added per uploader
893
+ // additional post data to send to our ajax hook
894
+ 'multipart_params' => array(
895
+ '_ajax_nonce' => "", // will be added per uploader
896
+ 'action' => 'plupload_action', // the ajax action name
897
+ 'postID' => $this->parent_post_id,
898
+ 'imgid' => 0 // will be added per uploader
899
+ )
900
+ );
901
+ ?>
902
+ <script type="text/javascript">
903
+ var base_plupload_config =<?php echo json_encode($plupload_init); ?>;
904
+ </script>
905
+ <?php
906
+ }
907
+
908
+ /**
909
+ * FTS Feed Tab Notice HTML
910
+ *
911
+ * creates notice html for return
912
+ *
913
+ * @since 1.0.0
914
+ */
915
+ function fts_cpt_tab_notice_html() {
916
+ echo '<div class="fts-cpt-notice"></div>';
917
+ }
918
+
919
+
920
+ /**
921
+ * FTS Feed Create Thumb
922
+ *
923
+ * Create a 150x150 thumbnail for our gallery edit page
924
+ *
925
+ * @param $image_source
926
+ * @since 1.0.0
927
+ */
928
+ function fts_cpt_create_thumb($image_source) {
929
+ $image = $image_source;
930
+ // error_log($image_source . ' Full FILE NAME WITH HTTP<br/><br/>');
931
+ $instance_common = new FTGallery_Create_Image();
932
+ $force_overwrite = true;
933
+ // Generate the new cropped gallery image.
934
+ $instance_common->resize_image($image, '150', '150', false, 'c', '100', false, null, $force_overwrite);
935
+ }
936
+
937
+ /**
938
+ * FTS Feed Generate new Attachment Name
939
+ *
940
+ * Generates a new attachment name (used in upload action)
941
+ *
942
+ * @param $gallery_id
943
+ * @param $attachment_ID
944
+ * @since 1.0.0
945
+ */
946
+ function fts_cpt_generate_new_attachment_name($gallery_id, $attachment_ID) {
947
+ $final_title = '';
948
+ //Include Gallery Title
949
+ if (get_option('fts_cpt_attch_title_gallery_name') == '1') {
950
+ $final_title .= get_the_title($gallery_id) . ' ';
951
+ }
952
+ //Include Gallery ID
953
+ if (!empty($gallery_id) && get_option('fts_cpt_attch_title_post_id') == '1') {
954
+ $final_title .= $gallery_id . ' ';
955
+ }
956
+ //include Date Uploaded
957
+ if (isset($_POST['postID']) && get_option('fts_cpt_attch_title_date') == '1') {
958
+ $final_title .= date_i18n('F jS, Y') . ' ';
959
+ }
960
+
961
+ $this->fts_cpt_format_attachment_title($final_title . $attachment_ID, $attachment_ID, 'true');
962
+ }
963
+
964
+ /**
965
+ * FTS Feed Rename Attachment
966
+ *
967
+ * Renames attachment (used for File Renamin setting option)
968
+ *
969
+ * @param $gallery_id
970
+ * @param $attachment_ID
971
+ * @since 1.0.0
972
+ */
973
+ function fts_cpt_rename_attachment($gallery_id, $attachment_ID) {
974
+
975
+ $file = get_attached_file($attachment_ID);
976
+ $path = pathinfo($file);
977
+
978
+ $final_filename = '';
979
+
980
+ //Include Gallery Title
981
+ if (get_option('fts_cpt_attch_name_gallery_name') == '1') {
982
+ $final_filename .= get_the_title($gallery_id) . '-';
983
+ }
984
+ //Include Gallery ID
985
+ if (!empty($gallery_id) && get_option('fts_cpt_attch_name_post_id') == '1') {
986
+ $final_filename .= $gallery_id . '-';
987
+ }
988
+ //include Date Uploaded
989
+ if (isset($_POST['postID']) && get_option('fts_cpt_attch_name_date') == '1') {
990
+ $final_filename .= date_i18n('F jS, Y') . '-';
991
+ }
992
+
993
+ $final_filename = sanitize_file_name($final_filename . $attachment_ID);
994
+
995
+ $newfile = $path['dirname'] . '/' . $final_filename . '.' . $path['extension'];
996
+
997
+ rename($file, $newfile);
998
+ update_attached_file($attachment_ID, $newfile);
999
+ }
1000
+
1001
+
1002
+ /**
1003
+ * FTS Feed Shortcode Meta Box
1004
+ *
1005
+ * FTS Feed copy & paste shortcode input box
1006
+ *
1007
+ * @param $object
1008
+ * @since 1.0.0
1009
+ */
1010
+ public
1011
+ function fts_cpt_shortcode_meta_box($object) {
1012
+ $meta_box = '<div class="fts-cpt-meta-wrap">';
1013
+
1014
+ $gallery_id = isset($_GET['post']) ? $_GET['post'] : '';
1015
+
1016
+ $screen = get_current_screen();
1017
+
1018
+ if ($screen->parent_file == 'edit.php?post_type=fts_cpt' && $screen->action == 'add') {
1019
+ $meta_box .= '<p>';
1020
+ $meta_box .= '<label> ' . __('Save or Publish this Gallery to be able to copy this Gallery\'s Shortcode.', 'feed-them-social') . '</label>';
1021
+ //$meta_box .= '<input readonly="readonly" disabled value="[feed-them-social id=' . $gallery_id . ']"/>';
1022
+ $meta_box .= '</p>';
1023
+ } else {
1024
+ //Copy Shortcode
1025
+ $meta_box .= '<p>';
1026
+ $meta_box .= '<label> ' . __('Copy and Paste this shortcode to any page, post or widget.', 'feed-them-social') . '</label>';
1027
+ $meta_box .= '<input readonly="readonly" value="[feed-them-social id=' . $gallery_id . ']" onclick="this.select();"/>';
1028
+ $meta_box .= '</p>';
1029
+ }
1030
+
1031
+ $meta_box .= '</div>';
1032
+ // ECHO MetaBox
1033
+ echo $meta_box;
1034
+ }
1035
+
1036
+ /**
1037
+ * FTS Feed Settings HTML Form
1038
+ *
1039
+ * Used to return settings form fields output for Gallery Options
1040
+ *
1041
+ * @param $gallery_id
1042
+ * @param $section_info
1043
+ * @param $required_plugins
1044
+ * @return string
1045
+ * @since @since 1.0.0
1046
+ */
1047
+ function fts_cpt_settings_html_form($gallery_id, $section_info, $required_plugins) {
1048
+ $output = '';
1049
+
1050
+ //$prem_required_plugins = $this->gallery_options_class->fts_cpt_required_plugins();
1051
+
1052
+ $section_required_prem_plugin = !isset($section_info['required_prem_plugin']) || isset($section_info['required_prem_plugin']) && is_plugin_active($prem_required_plugins[$section_info['required_prem_plugin']]['plugin_url']) ? 'active' : '';
1053
+
1054
+ //Start creation of fields for each Feed
1055
+ $output .= '<section class="' . $section_info['section_wrap_class'] . '">';
1056
+
1057
+ //Section Title
1058
+ $output .= isset($section_info['section_title']) ? '<h3>' . $section_info['section_title'] . '</h3>' : '';
1059
+
1060
+ //Happens in JS file
1061
+ $this->fts_cpt_tab_notice_html();
1062
+
1063
+ //Create settings fields for Feed OPTIONS
1064
+ foreach ($section_info['main_options'] as $option) if (!isset($option['no_html']) || isset($option['no_html']) && $option['no_html'] !== 'yes') {
1065
+
1066
+ //Is a premium extension required?
1067
+ $required_plugin = !isset($option['req_plugin']) || isset($option['req_plugin']) && is_plugin_active($required_plugins[$option['req_plugin']]['plugin_url']) ? true : false;
1068
+ $or_required_plugin = isset($option['or_req_plugin']) && is_plugin_active($required_plugins[$option['or_req_plugin']]['plugin_url']) ? true : false;
1069
+ $or_required_plugin_three = isset($option['or_req_plugin_three']) && is_plugin_active($required_plugins[$option['or_req_plugin_three']]['plugin_url']) ? true : false;
1070
+
1071
+ //Sub option output START?
1072
+ $output .= isset($option['sub_options']) ? '<div class="' . $option['sub_options']['sub_options_wrap_class'] . (!$required_plugin ? ' not-active-premium-fields' : '') . '">' . (isset($option['sub_options']['sub_options_title']) ? '<h3>' . $option['sub_options']['sub_options_title'] . '</h3>' : '') . (isset($option['sub_options']['sub_options_instructional_txt']) ? '<div class="instructional-text">' . $option['sub_options']['sub_options_instructional_txt'] . '</div>' : '') : '';
1073
+
1074
+ $output .= isset($option['grouped_options_title']) ? '<h3 class="sectioned-options-title">' . $option['grouped_options_title'] . '</h3>' : '';
1075
+
1076
+ //Only on a few options generally
1077
+ $output .= isset($option['outer_wrap_class']) || isset($option['outer_wrap_display']) ? '<div ' . (isset($option['outer_wrap_class']) ? 'class="' . $option['outer_wrap_class'] . '"' : '') . ' ' . (isset($option['outer_wrap_display']) && !empty($option['outer_wrap_display']) ? 'style="display:' . $option['outer_wrap_display'] . '"' : '') . '>' : '';
1078
+ //Main Input Wrap
1079
+ $output .= '<div class="feed-them-social-admin-input-wrap ' . (isset($option['input_wrap_class']) ? $option['input_wrap_class'] : '') . '" ' . (isset($section_info['input_wrap_id']) ? 'id="' . $section_info['input_wrap_id'] . '"' : '') . '>';
1080
+ //Instructional Text
1081
+ $output .= !empty($option['instructional-text']) && !is_array($option['instructional-text']) ? '<div class="instructional-text ' . (isset($option['instructional-class']) ? $option['instructional-class'] : '') . '">' . $option['instructional-text'] . '</div>' : '';
1082
+
1083
+ if (!empty($option['instructional-text']) && is_array($option['instructional-text'])) {
1084
+ foreach ($option['instructional-text'] as $instructional_txt) {
1085
+ //Instructional Text
1086
+ $output .= '<div class="instructional-text ' . (isset($instructional_txt['class']) ? $instructional_txt['class'] : '') . '">' . $instructional_txt['text'] . '</div>';
1087
+ }
1088
+ }
1089
+
1090
+ //Label Text
1091
+ $output .= isset($option['label']) && !is_array($option['label']) ? '<div class="feed-them-social-admin-input-label ' . (isset($option['label_class']) ? $option['label_class'] : '') . '">' . $option['label'] . '</div>' : '';
1092
+
1093
+ if (!empty($option['label']) && is_array($option['label'])) {
1094
+ foreach ($option['label'] as $label_txt) {
1095
+ //Label Text
1096
+ $output .= '<div class="feed-them-social-admin-input-label ' . (isset($label_txt['class']) ? $label_txt['class'] : '') . '">' . $label_txt['text'] . '</div>';
1097
+ }
1098
+ }
1099
+
1100
+ //Post Meta option (non-global)
1101
+ $input_value = get_post_meta($gallery_id, $option['name'], true);
1102
+ //Post Meta Global checkbox Option
1103
+ $global_value = get_post_meta($gallery_id, $this->global_prefix . $option['name'], true);
1104
+ //Actual Global Option
1105
+ $get_global_option = get_option($this->global_prefix . $option['name']);
1106
+
1107
+ if ($global_value && $global_value == 'true') {
1108
+ if (isset($get_global_option)) {
1109
+ $final_value = !empty($get_global_option) ? $get_global_option : !isset($option['default_value']) ? $option['default_value']: '';
1110
+ }
1111
+ } else {
1112
+ $final_value = !empty($input_value) || !isset($input_value) ? $input_value : !isset($option['default_value']) && !empty($option['default_value']) ? $option['default_value']: '';
1113
+ }
1114
+ //Post Meta option (non-global)
1115
+ $input_value = get_post_meta($gallery_id, $option['name'], true);
1116
+ //Post Meta Global checkbox Option
1117
+ $global_value = get_post_meta($gallery_id, $this->global_prefix . $option['name'], true);
1118
+ //Actual Global Option
1119
+ $get_global_option = get_option($this->global_prefix . $option['name']);
1120
+
1121
+ if ($global_value && $global_value == 'true') {
1122
+ if (isset($get_global_option)) {
1123
+ $final_value = !empty($get_global_option) ? $get_global_option : !isset($option['default_value']) && !empty($option['default_value']) ? $option['default_value']: '';
1124
+ }
1125
+ } else {
1126
+ $final_value = !empty($input_value) || !isset($input_value) ? $input_value : !isset($option['default_value']) && !empty($option['default_value']) ? $option['default_value']: '';
1127
+ }
1128
+ $input_option = $option['option_type'];
1129
+
1130
+ //$gallery_class = new Gallery();
1131
+ $gallery_id = isset($_GET['post']) ? $_GET['post'] : '';
1132
+ //$gallery_options_returned = $gallery_class->fts_cpt_get_gallery_options_rest($gallery_id);
1133
+
1134
+ if (isset($input_option)) {
1135
+ switch ($input_option) {
1136
+ //Input
1137
+ case 'input':
1138
+ $output .= '<input ' . (isset($section_required_prem_plugin) && $section_required_prem_plugin !== 'active' ? 'disabled ' : '') . 'type="' . $option['type'] . '" name="' . $option['name'] . '" id="' . $option['id'] . '" class="feed-them-social-admin-input ' . (isset($option['class']) ? $option['class'] : '') . '" placeholder="' . (isset($option['placeholder']) ? $option['placeholder'] : '') . '" value="' . $final_value . '"' . (isset($option['autocomplete']) ? ' autocomplete="' . $option['autocomplete'] . '"' : '') . ' />';
1139
+ break;
1140
+
1141
+ //Select
1142
+ case 'select':
1143
+ $output .= '<select ' . (isset($section_required_prem_plugin) && $section_required_prem_plugin !== 'active' ? 'disabled ' : '') . 'name="' . $option['name'] . '" id="' . $option['id'] . '" class="feed-them-social-admin-input">';
1144
+ $i = 0;
1145
+ foreach ($option['options'] as $select_option) {
1146
+ $output .= '<option value="' . $select_option['value'] . '" ' . (!empty($final_value) && $final_value == $select_option['value'] || empty($input_value) && $i == 0 ? 'selected="selected"' : '') . '>' . $select_option['label'] . '</option>';
1147
+ $i++;
1148
+ }
1149
+ $output .= '</select>';
1150
+ break;
1151
+
1152
+ //Checkbox
1153
+ case 'checkbox':
1154
+ $output .= '<input ' . (isset($section_required_prem_plugin) && $section_required_prem_plugin !== 'active' ? 'disabled ' : '') . 'type="checkbox" name="' . $option['name'] . '" id="' . $option['id'] . '" ' . (!empty($final_value) && $final_value == 'true' ? ' checked="checked"' : '') . '/>';
1155
+ break;
1156
+
1157
+ //Checkbox for image sizes COMMENTING OUT BUT LEAVING FOR FUTURE QUICK USE
1158
+ // case 'checkbox-image-sizes':
1159
+ // $final_value_images = array('thumbnailzzz','mediummmm', 'large', 'full');
1160
+ //Get Gallery Options via the Rest API
1161
+ // $final_value_images = $gallery_options_returned['ft_watermark_image_sizes']['image_sizes'];
1162
+ // print_r($final_value_images);
1163
+ //array('thumbnailzzz','mediummmm', 'largeee', 'fullll');
1164
+ // $output .= '<label for="'. $option['id'] . '"><input type="checkbox" val="' . $option['default_value'] . '" name="ft_watermark_image_sizes[image_sizes][' . $option['default_value'] . ']" id="'.$option['id'] . '" '. ( array_key_exists($option['default_value'], $final_value_images) ? ' checked="checked"' : '') .'/>';
1165
+ // $output .= '' . $option['default_value'] . '</label>';
1166
+ // break;
1167
+
1168
+
1169
+ //Checkbox for image sizes used so you can check the image sizes you want to be water marked after you save the page.
1170
+
1171
+
1172
+ //Repeatable
1173
+ case 'repeatable':
1174
+ echo '<a class="repeatable-add button" href="#">';
1175
+ _e('Add Another design', 'feed-them-social');
1176
+ echo '</a><ul id="' . $option['id'] . '-repeatable" class="custom_repeatable">';
1177
+ $i = 0;
1178
+ if ($meta) {
1179
+ foreach ($meta as $row) {
1180
+ echo '<li><span class="sort hndle">|||</span>
1181
+ <textarea name="' . $option['id'] . '[' . $i . ']" id="' . $option['id'] . '">' . $row . '</textarea>
1182
+ <a class="repeatable-remove button" href="#">-</a>
1183
+ </li>';
1184
+ $i++;
1185
+ }
1186
+ } else {
1187
+ echo '<li><span class="sort hndle">|||</span>
1188
+ <textarea name="' . $option['id'] . '[' . $i . ']" id="' . $option['id'] . '">' . $row . '</textarea>
1189
+ <a class="repeatable-remove button" href="#">';
1190
+ _e('Delete this design', 'design-approval-system');
1191
+ echo '</a></li>';
1192
+ }
1193
+ echo '</ul>
1194
+ <span class="description">' . $option['desc'] . '</span>';
1195
+ break;
1196
+
1197
+ }
1198
+ }
1199
+
1200
+ //GLOBAL checkbox
1201
+ // $output .= '<div class="feed-them-social-admin-global-checkbox ft-global-option-wrap-' . $option['name'] . '">';
1202
+ // $output .= '<input type="checkbox" name="' . $this->global_prefix . $option['name'] . '" id="' . $this->global_prefix . $option['id'] . '" ' . (!empty($global_value) && $global_value == 'true' ? ' checked="checked"' : '') . '/>';
1203
+ // $output .= '<label for="' . $this->global_prefix . $option['name'] . '"> Use/Set Global Option </label>';
1204
+ // $output .= '</div>';
1205
+
1206
+ $output .= '<div class="clear"></div>';
1207
+ $output .= '</div><!--/feed-them-social-admin-input-wrap-->';
1208
+
1209
+ $output .= isset($option['outer_wrap_class']) || isset($option['outer_wrap_display']) ? '</div>' : '';
1210
+
1211
+ //Sub option output END?
1212
+ if (isset($option['sub_options_end'])) {
1213
+ $output .= !is_numeric($option['sub_options_end']) ? '</div>' : '';
1214
+ //Multiple Div needed?
1215
+ if (is_numeric($option['sub_options_end'])) {
1216
+ $x = 1;
1217
+ while ($x <= $option['sub_options_end']) {
1218
+ $output .= '</div>';
1219
+ $x++;
1220
+ }
1221
+ }
1222
+ }
1223
+ }
1224
+
1225
+ $output .= '</section> <!--/Section Wrap Class END -->';
1226
+
1227
+ return $output;
1228
+ }
1229
+
1230
+ /**
1231
+ * FTS Feed Save Custom Meta Box
1232
+ * Save Fields for Feeds
1233
+ *
1234
+ * @param $post_id
1235
+ * @param $post
1236
+ * @return string
1237
+ * @since 1.0.0
1238
+ */
1239
+ public
1240
+ function fts_cpt_save_custom_meta_box($post_id, $post) {
1241
+ if (!isset($_POST['fts-cpts-settings-meta-box-nonce']) || !wp_verify_nonce($_POST['fts-cpts-settings-meta-box-nonce'], basename(__FILE__)))
1242
+ return $post_id;
1243
+ //Can User Edit Post?
1244
+ if (!current_user_can('edit_post', $post_id))
1245
+ return $post_id;
1246
+ //Autosave
1247
+ if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE)
1248
+ return $post_id;
1249
+ //CPT Check
1250
+ $slug = 'fts_cpt';
1251
+ if ($slug != $post->post_type)
1252
+ return $post_id;
1253
+ //Save Each Field Function
1254
+ foreach ($this->saved_settings_array as $box_array) {
1255
+ foreach ($box_array as $box_key => $settings) {
1256
+ if ($box_key == 'main_options') {
1257
+ foreach ($settings as $option) {
1258
+ //Global Value?
1259
+ $global_old = get_post_meta($post_id, $this->global_prefix . $option['name'], true);
1260
+
1261
+ $get_global_option = get_option($this->global_prefix . $option['name']);
1262
+
1263
+
1264
+ if ($option['option_type'] == 'checkbox') {
1265
+ $new = isset($_POST[$option['name']]) && $_POST[$option['name']] !== 'false' ? 'true' : 'false';
1266
+
1267
+ } else {
1268
+ $new = isset($_POST[$option['name']]) ? $_POST[$option['name']] : '';
1269
+ }
1270
+
1271
+ if (isset($_POST[$this->global_prefix . $option['name']]) && $_POST[$this->global_prefix . $option['name']] !== 'false') {
1272
+ update_post_meta($post_id, $this->global_prefix . $option['name'], 'true');
1273
+ update_option($this->global_prefix . $option['name'], $new);
1274
+ } elseif (isset($global_old) && !isset($_POST[$this->global_prefix . $option['name']])) {
1275
+ update_post_meta($post_id, $this->global_prefix . $option['name'], 'false');
1276
+ update_post_meta($post_id, $option['name'], $new);
1277
+
1278
+ } else {
1279
+ //Post Meta Field?
1280
+ $old = get_post_meta($post_id, $option['name'], true);
1281
+
1282
+ if ($option['option_type'] !== 'checkbox') {
1283
+ if ($new && $new != $old) {
1284
+ update_post_meta($post_id, $option['name'], $new);
1285
+ }
1286
+ } else {
1287
+ update_post_meta($post_id, $option['name'], $new);
1288
+ }
1289
+ }
1290
+ }
1291
+
1292
+ }
1293
+ }
1294
+ }
1295
+ $attach_ID = $this->fts_cpt_get_gallery_attached_media_ids($post_id);
1296
+ foreach ($attach_ID as $img_index => $img_id) {
1297
+ $a = array(
1298
+ 'ID' => $img_id,
1299
+ 'menu_order' => $img_index
1300
+ );
1301
+ wp_update_post($a);
1302
+ }
1303
+
1304
+
1305
+ if (is_plugin_active('feed-them-premium/feed-them-premium.php')) {
1306
+ include(FEED_THEM_GALLERY_PREMIUM_PLUGIN_FOLDER_DIR . 'includes/watermark/save.php');
1307
+ }
1308
+ // end premium
1309
+
1310
+ // Return settings
1311
+ return $settings;
1312
+
1313
+ }
1314
+
1315
+ /**
1316
+ * FTS Feed Get Gallery Attached Media IDs
1317
+ *
1318
+ * Get an Array of ID's of attachments for this Gallery.
1319
+ *
1320
+ * @param $gallery_id
1321
+ * @param string $mime_type (leave empty for all types)
1322
+ * @return array
1323
+ * @since 1.0.0
1324
+ */
1325
+ function fts_cpt_get_gallery_attached_media_ids($gallery_id, $mime_type = '') {
1326
+ $post_attachments = get_attached_media($mime_type, $gallery_id);
1327
+
1328
+ $attachment_ids_array = array();
1329
+ foreach ($post_attachments as $attachment) {
1330
+ $attachment_ids_array[] = $attachment->ID;
1331
+ }
1332
+
1333
+ return $attachment_ids_array;
1334
+ }
1335
+
1336
+ /**
1337
+ * Get Attachment Info
1338
+ * Combines get_post and wp_get_attachment_metadata to create some clean attachment info
1339
+ *
1340
+ * @param $attachment_id
1341
+ * @param bool $include_meta_data (True || False) Default: False
1342
+ * @return array
1343
+ * @since 1.0.0
1344
+ */
1345
+ function fts_cpt_get_attachment_info($attachment_id, $include_meta_data = false) {
1346
+ //Get all of the Attachment info!
1347
+ $attach_array = wp_prepare_attachment_for_js($attachment_id);
1348
+
1349
+ $path_parts = pathinfo($attach_array['filename']);
1350
+
1351
+ $attachment_info = array(
1352
+ 'ID' => $attach_array['id'],
1353
+ 'title' => $attach_array['title'],
1354
+ 'type' => $attach_array['type'],
1355
+ 'subtype' => $attach_array['type'],
1356
+ 'alt' => $attach_array['alt'],
1357
+ 'caption' => $attach_array['caption'],
1358
+ 'description' => $attach_array['description'],
1359
+ 'href' => $attach_array['link'],
1360
+ 'src' => $attach_array['url'],
1361
+ 'mime-type' => $attach_array['mime'],
1362
+ 'file' => $attach_array['filename'],
1363
+ 'slug' => $path_parts['filename'],
1364
+ 'download_url' => get_permalink($attach_array['uploadedTo']) . '?attachment_name=' . $attach_array['id'] . '&download_file=1',
1365
+ );
1366
+
1367
+ //IF Exif data is set to return and is set in Meta Data.
1368
+ // if($include_meta_data){
1369
+ $meta_data = wp_get_attachment_metadata($attachment_id);
1370
+
1371
+ $attachment_info['meta_data'] = isset($meta_data) ? $meta_data : '';
1372
+
1373
+ // }
1374
+
1375
+ return $attachment_info;
1376
+ }
1377
+
1378
+ /**
1379
+ * FTS Feed Format Attachment Title
1380
+ * Format the title for attachments to ensure awesome titles (options on settings page)
1381
+ *
1382
+ * @param $title
1383
+ * @param null $attachment_id
1384
+ * @param null $update_post
1385
+ * @return mixed|string
1386
+ * @since 1.0.0
1387
+ */
1388
+ function fts_cpt_format_attachment_title($title, $attachment_id = NULL, $update_post = NULL) {
1389
+
1390
+ $options = get_option('fts_cpt_format_attachment_titles_options');
1391
+ $cap_options = $options['fts_cpt_cap_options'];
1392
+
1393
+ if (!empty($attachment_id)) {
1394
+ $uploaded_post_id = get_post($attachment_id);
1395
+ //$title = $uploaded_post_id->post_title;
1396
+ }
1397
+
1398
+ /* Update post. */
1399
+ $char_array = array();
1400
+ if (isset($options['fts_cpt_fat_hyphen']) && $options['fts_cpt_fat_hyphen']) {
1401
+ $char_array[] = '-';
1402
+ }
1403
+ if (isset($options['fts_cpt_fat_underscore']) && $options['fts_cpt_fat_underscore']) {
1404
+ $char_array[] = '_';
1405
+ }
1406
+ if (isset($options['fts_cpt_fat_period']) && $options['fts_cpt_fat_period']) {
1407
+ $char_array[] = '.';
1408
+ }
1409
+ if (isset($options['fts_cpt_fat_tilde']) && $options['fts_cpt_fat_tilde']) {
1410
+ $char_array[] = '~';
1411
+ }
1412
+ if (isset($options['fts_cpt_fat_plus']) && $options['fts_cpt_fat_plus']) {
1413
+ $char_array[] = '+';
1414
+ }
1415
+
1416
+ /* Replace chars with spaces, if any selected. */
1417
+ if (!empty($char_array)) {
1418
+ $title = str_replace($char_array, ' ', $title);
1419
+ }
1420
+
1421
+ /* Trim multiple spaces between words. */
1422
+ $title = preg_replace("/\s+/", " ", $title);
1423
+
1424
+ /* Capitalize Title. */
1425
+ switch ($cap_options) {
1426
+ case 'cap_all':
1427
+ $title = ucwords($title);
1428
+ break;
1429
+ case 'cap_first':
1430
+ $title = ucfirst(strtolower($title));
1431
+ break;
1432
+ case 'all_lower':
1433
+ $title = strtolower($title);
1434
+ break;
1435
+ case 'all_upper':
1436
+ $title = strtoupper($title);
1437
+ break;
1438
+ case 'dont_alter':
1439
+ /* Leave title as it is. */
1440
+ break;
1441
+ }
1442
+
1443
+ //Return Clean Title otherwise update post!
1444
+ if ($update_post !== 'true') {
1445
+ return $title;
1446
+ }
1447
+
1448
+ // add formatted title to the alt meta field
1449
+ if (isset($options['fts_cpt_fat_alt']) && $options['fts_cpt_fat_alt']) {
1450
+ update_post_meta($attachment_id, '_wp_attachment_image_alt', $title);
1451
+ }
1452
+
1453
+ // update the post
1454
+ $uploaded_post = array(
1455
+ 'ID' => $attachment_id,
1456
+ 'post_title' => $title,
1457
+ );
1458
+
1459
+ // add formatted title to the description meta field
1460
+ if (isset($options['fts_cpt_fat_description']) && $options['fts_cpt_fat_description']) {
1461
+ $uploaded_post['post_content'] = $title;
1462
+ }
1463
+
1464
+ // add formatted title to the caption meta field
1465
+ if (isset($options['fts_cpt_fat_caption']) && $options['fts_cpt_fat_caption']) {
1466
+ $uploaded_post['post_excerpt'] = $title;
1467
+ }
1468
+
1469
+ wp_update_post($uploaded_post);
1470
+
1471
+ return $title;
1472
+ }
1473
+
1474
+ /**
1475
+ * FTS Feed ZIP exists check
1476
+ * Check if ZIP still exists
1477
+ *
1478
+ * @param $id_to_check
1479
+ * @return bool
1480
+ * @since 1.0.0
1481
+ */
1482
+ public
1483
+ function fts_cpt_zip_exists_check($id_to_check) {
1484
+ $fts_cpt_zip_status = get_post_status($id_to_check);
1485
+
1486
+ //Check the Status if False or in Trash return false
1487
+ return $fts_cpt_zip_status == false || $fts_cpt_zip_status == 'trash' ? 'false' : 'true';
1488
+ }
1489
+
1490
+
1491
+ /**
1492
+ * FTS Feed Duplicate Post As Draft
1493
+ * Function creates post duplicate as a draft and redirects then to the edit post screen
1494
+ *
1495
+ * @since 1.0.0
1496
+ */
1497
+ function fts_cpt_duplicate_post_as_draft() {
1498
+ global $wpdb;
1499
+ if (!(isset($_GET['post']) || isset($_POST['post']) || (isset($_REQUEST['action']) && 'fts_cpt_duplicate_post_as_draft' == $_REQUEST['action']))) {
1500
+ wp_die('No post to duplicate has been supplied!');
1501
+ }
1502
+
1503
+ /*
1504
+ * Nonce verification
1505
+ */
1506
+ if (!isset($_GET['duplicate_nonce']) || !wp_verify_nonce($_GET['duplicate_nonce'], basename(__FILE__)))
1507
+ return;
1508
+
1509
+ /*
1510
+ * get the original post id
1511
+ */
1512
+ $post_id = (isset($_GET['post']) ? absint($_GET['post']) : absint($_POST['post']));
1513
+ /*
1514
+ * and all the original post data then
1515
+ */
1516
+ $post = get_post($post_id);
1517
+
1518
+ /*
1519
+ * if you don't want current user to be the new post author,
1520
+ * then change next couple of lines to this: $new_post_author = $post->post_author;
1521
+ */
1522
+ $current_user = wp_get_current_user();
1523
+ $new_post_author = $current_user->ID;
1524
+
1525
+ /*
1526
+ * if post data exists, create the post duplicate
1527
+ */
1528
+ if (isset($post) && $post != null) {
1529
+
1530
+ /*
1531
+ * new post data array
1532
+ */
1533
+ $args = array(
1534
+ 'comment_status' => $post->comment_status,
1535
+ 'ping_status' => $post->ping_status,
1536
+ 'post_author' => $new_post_author,
1537
+ 'post_content' => $post->post_content,
1538
+ 'post_excerpt' => $post->post_excerpt,
1539
+ 'post_name' => $post->post_name,
1540
+ 'post_parent' => $post->post_parent,
1541
+ 'post_password' => $post->post_password,
1542
+ 'post_status' => 'draft',
1543
+ 'post_title' => $post->post_title,
1544
+ 'post_type' => $post->post_type,
1545
+ 'to_ping' => $post->to_ping,
1546
+ 'menu_order' => $post->menu_order
1547
+ );
1548
+
1549
+ /*
1550
+ * insert the post by wp_insert_post() function
1551
+ */
1552
+ $new_post_id = wp_insert_post($args);
1553
+
1554
+ /*
1555
+ * get all current post terms ad set them to the new post draft
1556
+ */
1557
+ $taxonomies = get_object_taxonomies($post->post_type); // returns array of taxonomy names for post type, ex array("category", "post_tag");
1558
+ foreach ($taxonomies as $taxonomy) {
1559
+ $post_terms = wp_get_object_terms($post_id, $taxonomy, array('fields' => 'slugs'));
1560
+ wp_set_object_terms($new_post_id, $post_terms, $taxonomy, false);
1561
+ }
1562
+
1563
+ /*
1564
+ * duplicate all post meta just in two SQL queries
1565
+ */
1566
+ $post_meta_infos = $wpdb->get_results("SELECT meta_key, meta_value FROM $wpdb->postmeta WHERE post_id=$post_id");
1567
+ if (count($post_meta_infos) != 0) {
1568
+ $sql_query = "INSERT INTO $wpdb->postmeta (post_id, meta_key, meta_value) ";
1569
+ foreach ($post_meta_infos as $meta_info) {
1570
+ $meta_key = $meta_info->meta_key;
1571
+ if ($meta_key == '_wp_old_slug') continue;
1572
+ $meta_value = addslashes($meta_info->meta_value);
1573
+ $sql_query_sel[] = "SELECT $new_post_id, '$meta_key', '$meta_value'";
1574
+ }
1575
+ $sql_query .= implode(" UNION ALL ", $sql_query_sel);
1576
+ $wpdb->query($sql_query);
1577
+ }
1578
+
1579
+
1580
+ /*
1581
+ * finally, redirect to the edit post screen for the new draft
1582
+ */
1583
+ wp_redirect(admin_url('post.php?action=edit&post=' . $new_post_id));
1584
+ exit;
1585
+ } else {
1586
+ wp_die('Post creation failed, could not find original post: ' . $post_id);
1587
+ }
1588
+ }
1589
+
1590
+ /**
1591
+ * FTS Feed Duplicate Post Link
1592
+ * Add the duplicate link to action list for post_row_actions
1593
+ *
1594
+ * @param $actions
1595
+ * @param $post
1596
+ * @return mixed
1597
+ * @since 1.0.0
1598
+ */
1599
+ function fts_cpt_duplicate_post_link($actions, $post) {
1600
+ if (current_user_can('edit_posts')) {
1601
+ $actions['duplicate'] = '<a href="' . wp_nonce_url('admin.php?action=fts_cpt_duplicate_post_as_draft&post=' . $post->ID, basename(__FILE__), 'duplicate_nonce') . '" title="Duplicate this item" rel="permalink">Duplicate</a>';
1602
+ }
1603
+
1604
+ return $actions;
1605
+ }
1606
+
1607
+
1608
+ /**
1609
+ * FTS Feed Duplicate Post ADD Duplicate Post Button
1610
+ * Add a button in the post/page edit screen to create a clone
1611
+ *
1612
+ * @since 1.0.0
1613
+ */
1614
+ function fts_cpt_duplicate_post_add_duplicate_post_button() {
1615
+ if (isset($_GET['post'])) {
1616
+ $id = $_GET['post'];
1617
+ ?>
1618
+ <div id="ht-gallery-duplicate-action">
1619
+ <a href="<?php echo wp_nonce_url('admin.php?action=fts_cpt_duplicate_post_as_draft&post=' . $id, basename(__FILE__), 'duplicate_nonce') ?>" title="Duplicate this item" rel="permalink">Duplicate
1620
+ Gallery</a>
1621
+ </div>
1622
+ <?php
1623
+ }
1624
+ }
1625
+ } ?>
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: slickremix
3
  Tags: Facebook, Instagram, Twitter, YouTube, Feed
4
  Requires at least: 3.6.0
5
- Tested up to: 4.9.1
6
- Stable tag: 2.3.6
7
  License: GPLv2 or later
8
 
9
  Custom feeds for Facebook Pages, Groups, Events, Album Photos, Videos & Covers, Instagram, Twitter, Vine, Pinterest & YouTube on pages, posts or widgets.
@@ -82,6 +82,14 @@ Feed Them Social was Developed By SlickRemix --> [https://www.slickremix.com/](h
82
  * Log into WordPress dashboard then click **Plugins** > **Add new** > Then under the title "Install Plugins" click **Upload** > **choose the zip** > **Activate the plugin!**
83
 
84
  == Changelog ==
 
 
 
 
 
 
 
 
85
  = Version 2.3.6 Wednesday, January 10th, 2018 =
86
  * NEW: All Feeds: Now #hastag and @mention links in different languages will convert to a link properly.
87
  * FIX: Facebook Feed: Extra photo not aligning proper if more than 4.
2
  Contributors: slickremix
3
  Tags: Facebook, Instagram, Twitter, YouTube, Feed
4
  Requires at least: 3.6.0
5
+ Tested up to: 4.9.2
6
+ Stable tag: 2.3.7
7
  License: GPLv2 or later
8
 
9
  Custom feeds for Facebook Pages, Groups, Events, Album Photos, Videos & Covers, Instagram, Twitter, Vine, Pinterest & YouTube on pages, posts or widgets.
82
  * Log into WordPress dashboard then click **Plugins** > **Add new** > Then under the title "Install Plugins" click **Upload** > **choose the zip** > **Activate the plugin!**
83
 
84
  == Changelog ==
85
+ = Version 2.3.7 Friday, January 26th, 2018 =
86
+ * CLEANUP: Cleaning up and classifying Feed Them Socials main files (core).
87
+ * NEW: All Development for Feed Them Social will now be done through our [GitHub](https://github.com/SlickRemix/feed-them-social). This will open up the ability for anyone to help contribute to the project.
88
+ * NEW: You will now be able to track or submit any issues using the [issues page of our Github](https://github.com/SlickRemix/feed-them-social/issues).
89
+ * NEW: You can now see what new [Projects](https://github.com/SlickRemix/feed-them-social/projects) and [Branches](https://github.com/SlickRemix/feed-them-social/branches) we are currently working on.
90
+ * CONTRIBUTE: If you would like to improve Feed Them Social and want to contribute to it please do so by following our [Contribution Instructions]().
91
+
92
+
93
  = Version 2.3.6 Wednesday, January 10th, 2018 =
94
  * NEW: All Feeds: Now #hastag and @mention links in different languages will convert to a link properly.
95
  * FIX: Facebook Feed: Extra photo not aligning proper if more than 4.