Version Description
Download this release
Release Info
Developer | slickremix |
Plugin | Feed Them Social – Facebook, Instagram, Twitter, YouTube, Pinterest |
Version | 2.5.1 |
Comparing to | |
See all releases |
Code changes from version 2.5.0 to 2.5.1
- admin/css/settings-page.css +1 -1
- admin/feed-them-facebook-style-options-page.php +13 -8
- feed-them.php +7 -7
- feeds/facebook/facebook-feed-post-types.php +3 -0
- includes/feed-them-functions.php +176 -67
- readme.txt +5 -1
admin/css/settings-page.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.clear,.fts-clear{clear:both}.display{display:block!important}.facebook-message-generator,.final-instagram-user-id-textarea,.final-shortcode-textarea,.fts-facebook_group-shortcode-form .twitter_name,.fts-fb-event-option-wrap .twitter_name,.shortcode-generator-form,instagram-shortcode-form{display:none}.feed-them_page_fts-facebook-feed-styles-submenu-page .use-of-plugin{font-size:13px;font-weight:400;line-height:20px;max-width:740px;border-bottom:1px solid #ccc}.feed-them_page_fts-facebook-feed-styles-submenu-page .feed-them-social-admin-wrap h1,.feed-them_page_fts-facebook-feed-styles-submenu-page .feed-them-social-admin-wrap h2,.feed-them_page_fts-facebook-feed-styles-submenu-page .use-of-plugin,.feed-them_page_fts-instagram-feed-styles-submenu-page .feed-them-social-admin-wrap h1,.feed-them_page_fts-instagram-feed-styles-submenu-page .feed-them-social-admin-wrap h2,.feed-them_page_fts-instagram-feed-styles-submenu-page .use-of-plugin,.feed-them_page_fts-pinterest-feed-styles-submenu-page .feed-them-social-admin-wrap h1,.feed-them_page_fts-pinterest-feed-styles-submenu-page .use-of-plugin,.feed-them_page_fts-twitter-feed-styles-submenu-page .feed-them-social-admin-wrap h1,.feed-them_page_fts-twitter-feed-styles-submenu-page .feed-them-social-admin-wrap h2,.feed-them_page_fts-twitter-feed-styles-submenu-page .use-of-plugin,.feed-them_page_fts-youtube-feed-styles-submenu-page .feed-them-social-admin-wrap h1,.feed-them_page_fts-youtube-feed-styles-submenu-page .use-of-plugin{color:#333}.instagram-id-option-wrap{margin-top:25px}.feed-them_page_fts-facebook-feed-styles-submenu-page .feed-them-social-admin-wrap h2,.feed-them_page_fts-instagram-feed-styles-submenu-page .feed-them-social-admin-wrap h2{margin-top:45px}.fts-super-instagram-options-wrap{padding-top:0}.fts-empty-error input{background-color:#FDFDD3!important}.toplevel_page_feed-them-settings-page h1{font-size:32px}.feed-them_page_fts-twitter-feed-styles-submenu-page .feed-them-social-admin-wrap h2,.fts-youtube-feed-styles-submenu-page .feed-them-social-admin-wrap h2{margin-top:45px;color:#333}.feed-them-social-admin-wrap h1{color:#FFF;margin:0 0 5px;line-height:30px;font-weight:700}.feed-them-social-admin-wrap h4{font-size:12px;font-weight:400;color:#000;margin:1px 0 8px}.feed-them-social-admin-wrap input[type=button],.feed-them-social-admin-wrap input[type=submit]{-webkit-appearance:none}.feed-them-social-admin-wrap input[type=text]{line-height:19px;max-width:100%;font-weight:400}.feed-them_page_fts-facebook-feed-styles-submenu-page .feed-them-social-admin-wrap,.feed-them_page_fts-instagram-feed-styles-submenu-page .feed-them-social-admin-wrap,.feed-them_page_fts-pinterest-feed-styles-submenu-page .feed-them-social-admin-wrap,.feed-them_page_fts-twitter-feed-styles-submenu-page .feed-them-social-admin-wrap,.feed-them_page_fts-youtube-feed-styles-submenu-page .feed-them-social-admin-wrap{max-width:100%;width:100%;min-height:auto;background:0 0;padding:0;-webkit-box-shadow:none;box-shadow:none;border-radius:1px;position:relative;margin:20px 20px 0 0;-webkit-text-size-adjust:none}.feed-them_page_fts-facebook-feed-styles-submenu-page .feed-them-social-admin-input-wrap,.feed-them_page_fts-pinterest-feed-styles-submenu-page .feed-them-social-admin-input-wrap,.feed-them_page_fts-twitter-feed-styles-submenu-page .feed-them-social-admin-input-wrap,.feed-them_page_fts-youtube-feed-styles-submenu-page .feed-them-social-admin-input-wrap{background:0 0}.feed-them-social-admin-wrap{max-width:806px;min-height:379px;padding:19px;margin:20px 10px 0 0;background-size:cover;-webkit-text-size-adjust:none;overflow:hidden;border-radius:2px}.feed-them_page_fts-youtube-feed-styles-submenu-page h2{color:#333!important;margin-top:45px!important}.feed-them-social-admin-form .feed-them-social-admin-wrap h2{color:#000;font-size:20px;font-weight:400;line-height:23px;margin:15px 0}.feed-them-social-admin-form{padding:5px 0 0}.fts-facebook_group-shortcode-form:hover a{background-position:top right!important;background-size:34px!important;height:34px!important;width:34px!important}.feed-them-social-admin-input-wrap{padding:5px 0 10px;margin-bottom:10px;border-radius:2px;-webkit-border-radius:2px}.pinterest-gen-selection{margin-bottom:25px}.final-shortcode-textarea .feed-them-social-admin-input-label{color:#0361B8;width:auto;font-size:14px}.instagram-shortcode-form .final-shortcode-textarea .feed-them-social-admin-input-label{color:#0361B8}.final-shortcode-textarea{margin-top:25px}.final-shortcode-textarea input{width:100%;margin-top:2px}.feed-them-social-admin-input-label{float:left;width:230px;margin-right:10px;font-size:13px;padding-top:6px;font-weight:700}.feed-them_page_fts-facebook-feed-styles-submenu-page .feed-them-social-admin-input-label,.feed-them_page_fts-instagram-feed-styles-submenu-page .feed-them-social-admin-input-label,.feed-them_page_fts-twitter-feed-styles-submenu-page .feed-them-social-admin-input-label{float:left;width:230px;margin-right:10px;font-size:13px;text-transform:none;padding-top:6px}.feed-them-social-admin-input-label a{text-decoration:underline!important;cursor:pointer}.feed_them_social_id-answer a,.im-done{cursor:pointer!important}.feed-them-social-admin-input-example{float:left;font-weight:700;margin-left:10px;padding-top:4px}.feed-them-social-admin-input{float:left;width:305px;max-width:100%;font-weight:400}.feed-them-social-admin-input-default{float:left;width:290px;padding:4px 7px;border:1px solid #DFDFDF;background-color:#FFF;font-size:12px}.fts-color-settings-admin-form .feed-them-social-admin-submit-btn{float:left;margin:0;padding:0 20px;height:37px;line-height:35px}.feed-them-social-admin-submit-btn{padding:10px 15px;border-radius:1px;background-color:#31AC45!important;color:#fff!important;font-weight:400;cursor:pointer!important;transition:all .3s ease-in-out;border:none;letter-spacing:1px;outline:0;font-size:12px}.feed-them-social-admin-submit-btn,.feed-them-social-admin-submit-btn:hover{-webkit-transition:background 2s;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out}.feed-them-social-admin-submit-btn:hover{background-color:#2BBE43!important;color:#FFF!important;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out;outline:0}.toplevel_page_feed-them-settings-page .feed-them-social-admin-slick-logo{right:5px;-webkit-border-radius:3px;border-radius:3px}.feed_them_social_id-answer{padding:15px 0;display:none;font-weight:700}.feed_them_social_id-answer div{padding-bottom:10px}.im-done{padding:10px;background-color:#CD1723!important;border:none!important;color:#fff!important;font-weight:700;text-shadow:1px 1px 3px #000;filter:dropshadow(color=#000000, offx=1, offy=1);-webkit-border-radius:3px;border-radius:3px}#shortcode-form-selector{margin-bottom:10px;padding:15px;height:40px;min-width:290px}.feed-them-icon-wrap{position:absolute;right:27px;top:25px;width:234px;height:50px}.feed-them-social-admin-wrap,.fts-content,.fts-plugin-reviews{position:relative}.fts-facebook_group-shortcode-form:hover .feed-them-icon-wrap a.facebook-icon{background-position:top right!important;background-size:34px!important;height:34px!important;width:34px!important;display:none}.feed-them-icon-wrap a{opacity:1;float:right;margin-left:1px;margin-bottom:1px;display:block;height:38px;width:38px;cursor:default;outline:0;border:none;box-shadow:0 1px 1px #222;border-radius:0;transition:all .3s ease-in-out}.feed-them-icon-wrap a,.feed-them-icon-wrap a:hover{-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out}.feed-them-icon-wrap a:hover{opacity:.85;transition:all .3s ease-in-out}.feed-them-icon-wrap a.facebook-icon{background:url(../images/facebook-icon.png) no-repeat}.feed-them-icon-wrap a.twitter-icon{background:url(../images/twitter-icon.png) top right no-repeat}.feed-them-icon-wrap a.instagram-icon{background:url(../images/instagram-icon.png) top right no-repeat}.feed-them-icon-wrap a.vine-icon{background:url(../images/vine-icon.png) top right no-repeat}.feed-them-icon-wrap a.youtube-icon{background:url(../images/youtube-icon.png) top right no-repeat}.feed-them-icon-wrap a.pinterest-icon{background:url(../images/pinterest-icon.png) top right no-repeat}a.icon-animate-small{background-position:top right!important;background-size:34px!important;height:34px!important;width:34px!important}.instructional-text{font-size:13px;line-height:19px;margin:0 0 15px;border-bottom:1px dotted #9C9C9C;color:#212121;padding:0 0 5px}.instructional-text a{color:#0073aa;text-decoration:none}.instructional-text a,.instructional-text a:hover{-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out}.instructional-text a:hover{transition:all .3s ease-in-out}.feed-them-custom-css{padding-top:25px;padding-left:0}.feed-them-clear-cache input{background-color:#F11E2E!important;margin-bottom:10px}.feed-them-clear-cache input:hover{background-color:#F15D2E!important}.feed-them-clear-cache-text{color:#F11E2E!important;font-weight:700;background-color:rgba(255,255,255,.88);padding:10px 16px;margin-top:10px;margin-bottom:10px;border-radius:2px;-webkit-border-radius:2px;opacity:.9}.fts-get-premium-version{margin-right:1em;margin-top:15px;display:block;max-width:210px;text-align:center;text-decoration:none!important}textarea#fts-color-options-main-wrapper-css-input{max-width:100%;min-height:350px;clear:both;background:#F9F9F9;font-family:Consolas,Monaco,monospace;font-size:12px;width:100%;height:300px;outline:0}.fts-custom-css-text{margin-bottom:5px}label.toggle-custom-textarea-show:hover{background:#999}label.toggle-custom-textarea-show{max-width:435px;display:block;height:37px;line-height:35px;float:left;text-align:center;padding:0 15px;background:#818181;border-radius:1px;font-size:12px;clear:both;letter-spacing:1px;margin:5px 5px 10px 0;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}#fts-color-options-main-wrapper-css-input,.fts-custom-css-text,.toggle-custom-textarea-hide{display:none}.fts-admin-wrap p input[type=checkbox],.fts-wp-header-custom input[type=checkbox]{margin:-1px 7px 0 2px!important}.fts-color-settings-admin-form p,.fts-powered-by-settings-admin-form p{color:#000;font-size:12px;-webkit-text-size-adjust:none}.fts-powered-by-settings-admin-form p{margin-bottom:0}.feed-them-custom-logo-css{margin-top:25px}#discount-for-review{clear:both;margin-bottom:1px;text-align:center;font-weight:700;color:#000;background:rgba(255,255,255,.53);float:right;width:195px;line-height:40px;cursor: pointer;}.discount-review-text{clear:both;color:#333;background:rgba(255,255,255,.9);width:165px;float:right;padding:20px 15px;text-align:center;display:none}#discount-for-review a{display:inline-block;width:auto;height:auto;margin:0;padding:0;border:none;box-shadow:none;float:none;cursor:pointer;text-decoration: none;font-size: 12px;font-weight: bold;color: #0073aa;}.fts-color-settings-admin-form label,.fts-color-settings-admin-form span{color:#060606}.fts-color-settings-admin-form p.example{color:#FFF;padding-bottom:35px!important}.fts-color-settings-admin-form fieldset label{color:#FFF;line-height:30px}.fts-color-settings-admin-form fieldset a{color:#FFF;text-decoration:none}@media (max-width:800px){.toplevel_page_feed-them-settings-page .feed-them-social-admin-wrap h1{text-shadow:#fff!important;height:32px!important;width:280px!important;background-size:280px!important}.feed-them-icon-wrap{position:relative;margin:-20px 0 70px;left:0!important;height:auto;clear:both;text-align:left}.feed-them-social-admin-slick-logo{display:none}#fts-date-and-time-format{width:100%}}.fts-failed-api-token,.fts-successful-api-token{clear:both;float:left;padding:7px 14px 7px 10px;border:1px solid rgba(255,255,255,.45);color:#000;margin:10px 20px 0 0;max-width:715px;width:100%}.fts-failed-api-token{background:rgba(245,207,206,.78)}.fts-successful-api-token{background:rgba(220,253,205,.78)}.feed-them_page_fts-facebook-feed-styles-submenu-page .fts-failed-api-token,.feed-them_page_fts-facebook-feed-styles-submenu-page .fts-successful-api-token{margin-top:0!important;padding:10px 15px;max-width:708px}.fts-special-working-wrap{padding:8px!important;max-width:722px!important}#fts_facebook_custom_api_token,#fts_facebook_custom_api_token_biz{margin-bottom:20px!important}.fts-facebook-custom-api-token-label{display:block;margin:0 40px 4px 0}.fts-facebook-custom-api-token-label a{font-weight:700;color:#DF1818}.twitter-api-wrap{margin:20px 0 0}.twitter-api-wrap .feed-them-social-admin-input-wrap{margin:0}.fts-facebook-custom-api-token-label,.fts-instagram-custom-api-token-label{max-width:700px;line-height:21px;font-size:13px}.fts-facebook-get-access-token,.fts-facebook-get-access-token:focus,.fts-instagram-get-access-token,.fts-instagram-get-access-token:focus,.fts-pinterest-get-access-token,.fts-pinterest-get-access-token:focus,.fts-twitter-get-access-token,.fts-twitter-get-access-token:focus,.fts-youtube-get-access-token,.fts-youtube-get-access-token:focus{border-radius:5px;box-shadow:0 1px 1px #999;display:block;clear:both;float:left;font-size:14px;margin-bottom:25px;margin-top:5px;text-decoration:none;font-weight:600}.fts-instagram-get-access-token,.fts-instagram-get-access-token:focus{padding:18px 16px 19px 188px;background:url(../images/instagram-logo-admin.png) 13px 12px no-repeat #FFF;color:#252525}.fts-pinterest-get-access-token,.fts-pinterest-get-access-token:focus{padding:18px 16px 19px 188px;background:url(../images/pinterest-logo-admin.jpg) 13px 12px no-repeat #FFF;color:#252525}.fts-facebook-get-access-token:hover,.fts-instagram-get-access-token:hover,.fts-pinterest-get-access-token:hover{color:#666}.fts-facebook-get-access-token,.fts-facebook-get-access-token:focus{padding:18px 16px 19px 182px;background:url(../images/facebook-logo-admin.jpg) 14px 12px no-repeat #FFF;color:#252525}@font-face{margin:0 0 9px;font-size:19px}.fts-title-description-settings-page{padding:25px 0 15px;max-width:740px;border-top:1px solid #ccc}.fts-premium-options-message,.fts-premium-options-message2{font-size:13px;padding:20px 25px 25px;line-height:19px;background-color:#FFF;margin:0}.fts-premium-options-message a:first-child,.fts-premium-options-message2 a:first-child{font-size:16px;display:inline-block;padding:0;margin:0 0 5px;text-decoration:none}.fts-plugin-reviews{max-width:789px;padding:25px 28px 31px;box-shadow:0 0 1px #d1d1d1;border-radius:1px;background:rgba(255,255,255,1);-webkit-text-size-adjust:none;font-size:13px;line-height:21px;margin-right:10px}.fts-plugin-reviews a{text-decoration:none}.fts-plugin-reviews-rate{margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid #eee}h1.plugin-author-note{margin:50px 0 15px!important;font-size:22px;color:#222;z-index:1;position:relative}.toplevel_page_feed-them-settings-page .error{margin:20px 20px 20px 0;max-width:818px}.feed-them_page_fts-facebook-feed-styles-submenu-page .error,.feed-them_page_fts-instagram-feed-styles-submenu-page .error,.feed-them_page_fts-pinterest-feed-styles-submenu-page .error,.feed-them_page_fts-system-info-submenu-page .error,.feed-them_page_fts-system-info-submenu-page .notice,.feed-them_page_fts-twitter-feed-styles-submenu-page .error,.feed-them_page_fts-youtube-feed-styles-submenu-page .error{margin:20px 20px 20px 0!important}.feed-them_page_fts-bar-settings-page .error{margin:20px 20px 20px 5px!important;max-width:1005px}.hashtag-option-small-text,.twitter-hashtag-etc-wrap{display:none}.twitter-hashtag-etc-wrap{margin:15px 0 35px}.fts-content{background-color:rgba(241,241,241,.65);padding:30px;z-index:1;display:nonee;border-radius:2px;box-shadow:0 2px 10px rgba(41,41,41,.51);min-height:315px}.shortcode-generator-form{border-radius:3px;margin-top:15px}.instructional-text a:hover{color:#EA1616;text-decoration:underline;opacity:.8}.final-shortcode-textarea h4{border-bottom:1px solid #FFF;padding:0 0 10px;font-size:13px;margin-bottom:15px}.toplevel_page_feed-them-settings-page .fts-content h1{color:#fbfbfb;margin:0 0 12px;line-height:30px;text-shadow:1px 1px 1px rgba(51,51,51,.06);font-weight:600;background:url(../images/feed-them-social-logo.png) no-repeat;height:40px;width:377px;font-size:0}.fb-options-wrap .feed-them-social-admin-submit-btn{margin-top:5px}#fts-social-selector,.twitter-gen-selection{margin-bottom:25px}.fts-text-align-center{text-align:center}.toplevel_page_feed-them-settings-page .feed-them-social-admin-slick-logo{background:url(../images/footer-logo.png) center no-repeat;width:110px;height:20px;padding:0;margin:20px 0 -20px;display:inline-block;position:relative;bottom:0;:0;opacity:1}.fb-image,.fts-backg{width:100%;height:100%}.feed-them-social-admin-wrap h3{color:#000;font-size:20px;font-weight:400;line-height:23px;margin:0 0 5px}.feed-them-social-admin-wrap .feed-them-social-admin-form h2{color:#000;font-size:23px;font-weight:400;line-height:23px;margin:15px 0 20px;padding:0}.instagram-id-option-wrap .feed-them-social-admin-submit-btn,.toplevel_page_feed-them-settings-page .feed-them-social-admin-submit-btn{margin-top:0;margin-left:0!important}.toplevel_page_feed-them-settings-page .instagram-id-option-wrap .feed-them-social-admin-submit-btn{margin-top:5px!important;margin-left:0!important}.feed-them-clear-cache .use-of-plugin{margin:0}.feed-them-clear-cache h2,.feed-them-custom-css h2,.feed-them-custom-logo-css h2{margin-bottom:10px;margin-top:5px;font-size:17px;padding-top:20px;border-top:1px dotted rgba(177,177,177,.88);color:#060606}.feed-them-clear-cache h2{border:none;margin-top:17px;padding-top:0}.feed-them-custom-css p,.feed-them-custom-logo-css p{margin:0 0 5px}#fts-date-and-time-format{margin-bottom:10px}.feed-them-social-admin-submit-btn{margin-top:15px!important}#fts_admin_bar_menu{margin-bottom:0;margin-left:31px}.fts-backg{position:absolute;top:0;right:0;z-index:0;opacity:1;-webkit-animation:ftsettings 5s;animation:ftsettings 5s;background:rgba(255,255,255,.8)}@-webkit-keyframes ftsettings{from{opacity:0}to{opacity:1}}@keyframes ftsettings{from{opacity:0}to{opacity:1}}.fb-reviews,.reviews-options{display:none}.fts-required-token-message{padding:15px;background:#fcfcfc;margin:12px 0 20px;border-left:4px solid #FB3939}.custom_time_ago_wrap{padding-top:10px}.custom_time_ago_wrap h2{margin-bottom:20px}.custom_time_ago_wrap label{color:#000;display:inline-block;min-width:75px;margin:0 10px 12px;font-size:13px}.slideshow-wrap{margin-top:18px}.fb-page-list{margin:0;display:block;max-width:740px}.fb-page-list li{background:#FFF;padding:8px 20px 10px 10px;margin:0;border-left:15px solid #3b5999;border-bottom:1px solid #e9ebee;cursor:pointer}.fb-page-list li .feed-them-social-admin-submit-btn{display:none;float:right;margin-top:9px!important}.fb-page-list li:hover{background:rgba(255,255,255,.57)}.fb-image{margin:0 15px 0 0;float:left;line-height:50px;text-align:center!important;max-width:50px;min-width:50px;vertical-align:baseline;min-height:50px}.fb-image img{display:inline-block;vertical-align:middle;border-radius:50px}.fb-name{margin:0;display:inline-block;line-height:50px;letter-spacing:1px;color:#4c4c4c;font-weight:500}.board-name,.combine-instagram-hashtag-option-text,.combine-instagram-location-option-text,.fb-video-play-btn-options-content,.fb-video-play-btn-options-wrap,.fb_album_photos_id,.fts-facebook-grid-options-wrap,.fts-facebook-load-more-options-wrap,.fts-facebook-load-more-options2-wrap,.fts-fb-id,.fts-instagram-load-more-options-wrap,.fts-super-facebook-options-wrap,.fts-youtube-load-more-options-wrap,.fts-youtube-load-more-options2-wrap,.instagram-hashtag-option-text,.instagram-location-option-text,.page-token,.pinterest-board-and-name-text,.slider_options_wrap,.slideshow-wrap,.youtube_align_comments_wrap,.youtube_channelID2,.youtube_name,.youtube_name2,.youtube_playlistID,.youtube_playlistID2,.youtube_singleVideoID{display:none}.fts-pages-info{background:#3b5999;max-width:710px;padding:10px 15px;color:#FFF;margin-top:1px;letter-spacing:.5px}.fts-fb-page-thumb{float:left;margin-right:10px;border-radius:50px}.fts-successful-api-token h3{margin-bottom:0;margin-top:4px;font-weight:700}.use-of-plugin{color:#000;font-size:13px;font-weight:400;line-height:20px;max-width:60%;padding-bottom:12px;margin-bottom:0}.fts-admin-button-no-work{margin:0 0 0 25px;line-height:41px}.twitter_hashtag_etc_name{padding-top:0}.page.inst-text-facebook-page{display:block}.slider_options_wrap.not-active-premium-fields,.slideshow-wrap .feed-them-social-admin-input-default{display:block!important}.fts-premium-options-message a.not-active-title:first-child{font-size:16px!important;display:block!important;padding:0!important;margin:0 0 5px!important;text-decoration:none!important}.combine-facebook-wrap,.combine-grid-options-wrap,.combine-instagram-wrap,.combine-pinterest-wrap,.combine-twitter-wrap,.combine-youtube-wrap,.combine_board_id,.combine_playlist_id,.combine_youtube_name,.display-comments-wrap,.facebook-reviews-wrap,.fts-premium-options-message,.fts-twitter-grid-options-wrap,.fts-twitter-load-more-options-wrap,.fts-twitter-load-more-options2-wrap,.inst-text-facebook-reviews,.instagram-profile-options-wrap,.like-box-wrap{display:none}.sectioned-options-title{margin-top:15px!important;margin-bottom:15px!important;border-bottom:1px solid #f1f1f1;padding:10px 10px 10px 30px;font-size:18px!important;color:#060606!important;background:#FFF;margin-left:-30px!important;box-shadow:0 1px 1px rgba(153,153,153,.59)}.facebook-image-animation-option-wrap,.multiple_facebook .facebook-loadmore-wrap,.multiple_facebook .facebook-title-options-wrap,.multiple_facebook .like-box-wrap,.multiple_facebook h2{display:none!important}.fts-fb-load-more,.fts-fb-spinner{text-align:center}.fts-fb-spinner>div{width:10px;height:10px;background-color:#999;border-radius:100%;display:inline-block;-webkit-animation:fts-fb-bouncedelay 1.4s infinite ease-in-out;animation:fts-fb-bouncedelay 1.4s infinite ease-in-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}.fts-hide-me,.popup-gallery-fb .fts-fb-caption{display:none}.fb-social-btn-below-description,.fb-social-btn-bottom,.fb-social-btn-top{width:100%!important;overflow:hidden}.fts-fb-spinner .bounce1{-webkit-animation-delay:-.32s;animation-delay:-.32s}.fts-fb-spinner .bounce2{-webkit-animation-delay:-.16s;animation-delay:-.16s}@-webkit-keyframes fts-fb-bouncedelay{0%,100%,80%{-webkit-transform:scale(0)}40%{-webkit-transform:scale(1)}}@keyframes fts-fb-bouncedelay{0%,100%,80%{transform:scale(0);-webkit-transform:scale(0)}40%{transform:scale(1);-webkit-transform:scale(1)}}.fts-fluid-videoWrapper-html5 video{object-fit:inherit;margin-bottom:0!important}.fts-fb-album-view-link a{color:#FFF}.fts-fb-album-view-link a:hover{color:#eee}.fts-fb-load-more{border-radius:1px;padding:0;line-height:37px!important;width:100%;min-height:37px!important;font-size:13px!important;background:#fff!important;cursor:pointer;color:#111;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out;max-width:740px!important}.toggle-custom-textarea-show span,label.toggle-custom-textarea-show{color:#fffefe}.fts-logo-header{margin-bottom:20px!important}.fts-logo-subheader{margin-bottom:10px!important}.fts-color-settings-admin-form label{font-weight:700;min-width:100px}#fts_clear_cache_developer_mode{margin-left:28px}.toplevel_page_feed-them-settings-page .pane-active{display:block}.toplevel_page_feed-them-settings-page .fts-tabbed{display:block;float:left;color:#545454;font-weight:700;text-decoration:none;line-height:1.9;text-align:center;cursor:pointer;border-bottom:1px solid #ccc;padding:10px 38px!important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-width:115px;background:#FFF;margin-right:1px!important;font-size:13px;width:auto!important}.toplevel_page_feed-them-settings-page label.tab-active{background:#0073AA!important;color:#FFF!important}.toplevel_page_feed-them-settings-page .fts-tab-content{clear:both;padding-top:15px}.feed-them-social-admin-input-label small{font-weight:400}.not-active-title:hover h3{color:#028fd2}.not-active-title h3{color:#0073aa}@media (max-width:797px){.toplevel_page_feed-them-settings-page #fts-tabs{margin-top:140px!important}}@media (max-width:450px){#shortcode-form-selector{min-width:270px!important}}@media (max-width:500px){.toplevel_page_feed-them-settings-page #fts-tab-content1 .use-of-plugin{max-width:100%!important}}#fts-timezone{max-width:300px}.fts-instagram-username-picker-wrap li{clear:both;background:#e6e6e6;padding:10px;margin-bottom:1px;display:block;width:100%;line-height:16px;float:left}.combine-twitter-hashtag-etc-wrap,.facebook_hide_date,.facebook_hide_name,.facebook_hide_thumbnail,.facebook_show_media,.fts-success,.youtube_video_single_info_display{display:none}.fts-instagram-username-picker-wrap li.fts-insta-id-active,.fts-instagram-username-picker-wrap li:hover{background:#0073aa;color:#FFF}.ft-instagram-username-picker{clear:both;margin:0 0 1px;height:65px}.fts-insta-profile-picture-div img{float:left;max-width:65px;margin-right:15px;border-radius:100px}.fts-insta-fullname-div{padding:5px 0 2px}.fts-insta-id-div{font-style:italic;padding:5px 0 0}.fts-instagram-username-picker-wrap{padding-right:20px;max-height:310px;overflow:auto;margin:0}.fts-instagram-username-picker-wrap li:first-child{margin-top:10px}.fts-instagram-username-picker-wrap li:last-child{margin-bottom:10px}.fts-empty-error input,input.fts-empty-error{background:#ffffd8!important}.fts-instagram-username-picker-wrap li{color:#222}.fts-highlight{background:#0073aa;border-radius:20px;color:#FFF;padding:0 5px}.fts-youtube-get-access-token,.fts-youtube-get-access-token:focus{padding:18px 16px 19px 188px;background:url(../images/youtube-logo-admin.jpg) 13px 12px no-repeat #FFF;color:#252525}.fts-twitter-get-access-token,.fts-twitter-get-access-token:focus{padding:18px 16px 19px 188px;background:url(../images/twitter-logo-admin.jpg) 13px 12px no-repeat #FFF;color:#252525}.fts-twitter-add-all-keys-click-option{margin:-10px 0 15px}.twitter-extra-keys-text{max-width:550px;margin-bottom:15px}.feed-them_page_fts-twitter-feed-styles-submenu-page .fts-successful-api-token{margin-top:0;margin-bottom:-10px}#fts-timer{padding:6px 0 0 1px;float:left}@font-face{font-family:FontAwesomeSlick;src:url(../../feeds/css/font/fontawesome-webfont.eot?v=3.2.1);src:url(../../feeds/css/font/fontawesome-webfont.eot?#iefix&v=3.2.1) format("embedded-opentype"),url(../../feeds/css/font/fontawesome-webfont.woff?v=3.2.1) format("woff"),url(../../feeds/css/font/fontawesome-webfont.ttf?v=3.2.1) format("truetype"),url(../../feeds/css/font/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1) format("svg")}.fts-success:before{font-family: FontAwesomeSlick !important;content: "\f00c" !important;font-size:14px;position: relative;line-height: 19px;}.fts-success{margin: 3px 6px 0;padding:2px 4px;color:#fff;background:#01a701;border-radius:20px;float:left;font-size: 10px !important;width: auto;height: 18px;}#discount-for-review a:hover {color:#0073aa;}
|
1 |
+
.clear,.fts-clear{clear:both}.display{display:block!important}.facebook-message-generator,.final-instagram-user-id-textarea,.final-shortcode-textarea,.fts-facebook_group-shortcode-form .twitter_name,.fts-fb-event-option-wrap .twitter_name,.shortcode-generator-form,instagram-shortcode-form{display:none}.feed-them_page_fts-facebook-feed-styles-submenu-page .use-of-plugin{font-size:13px;font-weight:400;line-height:20px;max-width:740px;border-bottom:1px solid #ccc}.feed-them_page_fts-facebook-feed-styles-submenu-page .feed-them-social-admin-wrap h1,.feed-them_page_fts-facebook-feed-styles-submenu-page .feed-them-social-admin-wrap h2,.feed-them_page_fts-facebook-feed-styles-submenu-page .use-of-plugin,.feed-them_page_fts-instagram-feed-styles-submenu-page .feed-them-social-admin-wrap h1,.feed-them_page_fts-instagram-feed-styles-submenu-page .feed-them-social-admin-wrap h2,.feed-them_page_fts-instagram-feed-styles-submenu-page .use-of-plugin,.feed-them_page_fts-pinterest-feed-styles-submenu-page .feed-them-social-admin-wrap h1,.feed-them_page_fts-pinterest-feed-styles-submenu-page .use-of-plugin,.feed-them_page_fts-twitter-feed-styles-submenu-page .feed-them-social-admin-wrap h1,.feed-them_page_fts-twitter-feed-styles-submenu-page .feed-them-social-admin-wrap h2,.feed-them_page_fts-twitter-feed-styles-submenu-page .use-of-plugin,.feed-them_page_fts-youtube-feed-styles-submenu-page .feed-them-social-admin-wrap h1,.feed-them_page_fts-youtube-feed-styles-submenu-page .use-of-plugin{color:#333}.instagram-id-option-wrap{margin-top:25px}.feed-them_page_fts-facebook-feed-styles-submenu-page .feed-them-social-admin-wrap h2,.feed-them_page_fts-instagram-feed-styles-submenu-page .feed-them-social-admin-wrap h2{margin-top:45px}.fts-super-instagram-options-wrap{padding-top:0}.fts-empty-error input{background-color:#FDFDD3!important}.toplevel_page_feed-them-settings-page h1{font-size:32px}.feed-them_page_fts-twitter-feed-styles-submenu-page .feed-them-social-admin-wrap h2,.fts-youtube-feed-styles-submenu-page .feed-them-social-admin-wrap h2{margin-top:45px;color:#333}.feed-them-social-admin-wrap h1{color:#FFF;margin:0 0 5px;line-height:30px;font-weight:700}.feed-them-social-admin-wrap h4{font-size:12px;font-weight:400;color:#000;margin:1px 0 8px}.feed-them-social-admin-wrap input[type=button],.feed-them-social-admin-wrap input[type=submit]{-webkit-appearance:none}.feed-them-social-admin-wrap input[type=text]{line-height:19px;max-width:100%;font-weight:400}.feed-them_page_fts-facebook-feed-styles-submenu-page .feed-them-social-admin-wrap,.feed-them_page_fts-instagram-feed-styles-submenu-page .feed-them-social-admin-wrap,.feed-them_page_fts-pinterest-feed-styles-submenu-page .feed-them-social-admin-wrap,.feed-them_page_fts-twitter-feed-styles-submenu-page .feed-them-social-admin-wrap,.feed-them_page_fts-youtube-feed-styles-submenu-page .feed-them-social-admin-wrap{max-width:100%;width:100%;min-height:auto;background:0 0;padding:0;-webkit-box-shadow:none;box-shadow:none;border-radius:1px;position:relative;margin:20px 20px 0 0;-webkit-text-size-adjust:none}.feed-them_page_fts-facebook-feed-styles-submenu-page .feed-them-social-admin-input-wrap,.feed-them_page_fts-pinterest-feed-styles-submenu-page .feed-them-social-admin-input-wrap,.feed-them_page_fts-twitter-feed-styles-submenu-page .feed-them-social-admin-input-wrap,.feed-them_page_fts-youtube-feed-styles-submenu-page .feed-them-social-admin-input-wrap{background:0 0}.feed-them-social-admin-wrap{max-width:806px;min-height:379px;padding:19px;margin:20px 10px 0 0;background-size:cover;-webkit-text-size-adjust:none;overflow:hidden;border-radius:2px}.feed-them_page_fts-youtube-feed-styles-submenu-page h2{color:#333!important;margin-top:45px!important}.feed-them-social-admin-form .feed-them-social-admin-wrap h2{color:#000;font-size:20px;font-weight:400;line-height:23px;margin:15px 0}.feed-them-social-admin-form{padding:5px 0 0}.fts-facebook_group-shortcode-form:hover a{background-position:top right!important;background-size:34px!important;height:34px!important;width:34px!important}.feed-them-social-admin-input-wrap{padding:5px 0 10px;margin-bottom:10px;border-radius:2px;-webkit-border-radius:2px}.pinterest-gen-selection{margin-bottom:25px}.final-shortcode-textarea .feed-them-social-admin-input-label{color:#0361B8;width:auto;font-size:14px}.instagram-shortcode-form .final-shortcode-textarea .feed-them-social-admin-input-label{color:#0361B8}.final-shortcode-textarea{margin-top:25px}.final-shortcode-textarea input{width:100%;margin-top:2px}.feed-them-social-admin-input-label{float:left;width:230px;margin-right:10px;font-size:13px;padding-top:6px;font-weight:700}.feed-them_page_fts-facebook-feed-styles-submenu-page .feed-them-social-admin-input-label,.feed-them_page_fts-instagram-feed-styles-submenu-page .feed-them-social-admin-input-label,.feed-them_page_fts-twitter-feed-styles-submenu-page .feed-them-social-admin-input-label{float:left;width:230px;margin-right:10px;font-size:13px;text-transform:none;padding-top:6px}.feed-them-social-admin-input-label a{text-decoration:underline!important;cursor:pointer}.feed_them_social_id-answer a,.im-done{cursor:pointer!important}.feed-them-social-admin-input-example{float:left;font-weight:700;margin-left:10px;padding-top:4px}.feed-them-social-admin-input{float:left;width:305px;max-width:100%;font-weight:400}.feed-them-social-admin-input-default{float:left;width:290px;padding:4px 7px;border:1px solid #DFDFDF;background-color:#FFF;font-size:12px}.fts-color-settings-admin-form .feed-them-social-admin-submit-btn{float:left;margin:0;padding:0 20px;height:37px;line-height:35px}.feed-them-social-admin-submit-btn{padding:10px 15px;border-radius:1px;background-color:#31AC45!important;color:#fff!important;font-weight:400;cursor:pointer!important;transition:all .3s ease-in-out;border:none;letter-spacing:1px;outline:0;font-size:12px}.feed-them-social-admin-submit-btn,.feed-them-social-admin-submit-btn:hover{-webkit-transition:background 2s;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out}.feed-them-social-admin-submit-btn:hover{background-color:#2BBE43!important;color:#FFF!important;-webkit-transition:all .3s ease-in-out;transition:all .3s ease-in-out;outline:0}.toplevel_page_feed-them-settings-page .feed-them-social-admin-slick-logo{right:5px;-webkit-border-radius:3px;border-radius:3px}.feed_them_social_id-answer{padding:15px 0;display:none;font-weight:700}.feed_them_social_id-answer div{padding-bottom:10px}.im-done{padding:10px;background-color:#CD1723!important;border:none!important;color:#fff!important;font-weight:700;text-shadow:1px 1px 3px #000;filter:dropshadow(color=#000000, offx=1, offy=1);-webkit-border-radius:3px;border-radius:3px}#shortcode-form-selector{margin-bottom:10px;padding:15px;height:40px;min-width:290px}.feed-them-icon-wrap{position:absolute;right:27px;top:25px;width:234px;height:50px}.feed-them-social-admin-wrap,.fts-content,.fts-plugin-reviews{position:relative}.fts-facebook_group-shortcode-form:hover .feed-them-icon-wrap a.facebook-icon{background-position:top right!important;background-size:34px!important;height:34px!important;width:34px!important;display:none}.feed-them-icon-wrap a{opacity:1;float:right;margin-left:1px;margin-bottom:1px;display:block;height:38px;width:38px;cursor:default;outline:0;border:none;box-shadow:0 1px 1px #222;border-radius:0;transition:all .3s ease-in-out}.feed-them-icon-wrap a,.feed-them-icon-wrap a:hover{-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out}.feed-them-icon-wrap a:hover{opacity:.85;transition:all .3s ease-in-out}.feed-them-icon-wrap a.facebook-icon{background:url(../images/facebook-icon.png) no-repeat}.feed-them-icon-wrap a.twitter-icon{background:url(../images/twitter-icon.png) top right no-repeat}.feed-them-icon-wrap a.instagram-icon{background:url(../images/instagram-icon.png) top right no-repeat}.feed-them-icon-wrap a.vine-icon{background:url(../images/vine-icon.png) top right no-repeat}.feed-them-icon-wrap a.youtube-icon{background:url(../images/youtube-icon.png) top right no-repeat}.feed-them-icon-wrap a.pinterest-icon{background:url(../images/pinterest-icon.png) top right no-repeat}a.icon-animate-small{background-position:top right!important;background-size:34px!important;height:34px!important;width:34px!important}.instructional-text{font-size:13px;line-height:19px;margin:0 0 15px;border-bottom:1px dotted #9C9C9C;color:#212121;padding:0 0 5px}.instructional-text a{color:#0073aa;text-decoration:none}.instructional-text a,.instructional-text a:hover{-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out}.instructional-text a:hover{transition:all .3s ease-in-out}.feed-them-custom-css{padding-top:25px;padding-left:0}.feed-them-clear-cache input{background-color:#F11E2E!important;margin-bottom:10px}.feed-them-clear-cache input:hover{background-color:#F15D2E!important}.feed-them-clear-cache-text{color:#F11E2E!important;font-weight:700;background-color:rgba(255,255,255,.88);padding:10px 16px;margin-top:10px;margin-bottom:10px;border-radius:2px;-webkit-border-radius:2px;opacity:.9}.fts-get-premium-version{margin-right:1em;margin-top:15px;display:block;max-width:210px;text-align:center;text-decoration:none!important}textarea#fts-color-options-main-wrapper-css-input{max-width:100%;min-height:350px;clear:both;background:#F9F9F9;font-family:Consolas,Monaco,monospace;font-size:12px;width:100%;height:300px;outline:0}.fts-custom-css-text{margin-bottom:5px}label.toggle-custom-textarea-show:hover{background:#999}label.toggle-custom-textarea-show{max-width:435px;display:block;height:37px;line-height:35px;float:left;text-align:center;padding:0 15px;background:#818181;border-radius:1px;font-size:12px;clear:both;letter-spacing:1px;margin:5px 5px 10px 0;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}#fts-color-options-main-wrapper-css-input,.fts-custom-css-text,.toggle-custom-textarea-hide{display:none}.fts-admin-wrap p input[type=checkbox],.fts-wp-header-custom input[type=checkbox]{margin:-1px 7px 0 2px!important}.fts-color-settings-admin-form p,.fts-powered-by-settings-admin-form p{color:#000;font-size:12px;-webkit-text-size-adjust:none}.fts-powered-by-settings-admin-form p{margin-bottom:0}.feed-them-custom-logo-css{margin-top:25px}#discount-for-review{clear:both;margin-bottom:1px;text-align:center;font-weight:700;color:#000;background:rgba(255,255,255,.53);float:right;width:195px;line-height:40px;cursor:pointer}.discount-review-text{clear:both;color:#333;background:rgba(255,255,255,.9);width:165px;float:right;padding:20px 15px;text-align:center;display:none}#discount-for-review a{display:inline-block;width:auto;height:auto;margin:0;padding:0;border:none;box-shadow:none;float:none;cursor:pointer;text-decoration:none;font-size:12px;font-weight:700;color:#0073aa}.fts-color-settings-admin-form label,.fts-color-settings-admin-form span{color:#060606}.fts-color-settings-admin-form p.example{color:#FFF;padding-bottom:35px!important}.fts-color-settings-admin-form fieldset label{color:#FFF;line-height:30px}.fts-color-settings-admin-form fieldset a{color:#FFF;text-decoration:none}@media (max-width:800px){.toplevel_page_feed-them-settings-page .feed-them-social-admin-wrap h1{text-shadow:#fff!important;height:32px!important;width:280px!important;background-size:280px!important}.feed-them-icon-wrap{position:relative;margin:-20px 0 70px;left:0!important;height:auto;clear:both;text-align:left}.feed-them-social-admin-slick-logo{display:none}#fts-date-and-time-format{width:100%}}.fts-failed-api-token,.fts-successful-api-token{clear:both;float:left;padding:7px 14px 7px 10px;border:1px solid rgba(255,255,255,.45);color:#000;margin:10px 20px 0 0;max-width:715px;width:100%}.fts-failed-api-token{background:rgba(245,207,206,.78)}.fts-successful-api-token{background:rgba(220,253,205,.78)}.feed-them_page_fts-facebook-feed-styles-submenu-page .fts-failed-api-token,.feed-them_page_fts-facebook-feed-styles-submenu-page .fts-successful-api-token{margin-top:0!important;padding:10px 15px;max-width:708px}.fts-special-working-wrap{padding:8px!important;max-width:722px!important}#fts_facebook_custom_api_token,#fts_facebook_custom_api_token_biz{margin-bottom:20px!important}.fts-facebook-custom-api-token-label{display:block;margin:0 40px 4px 0}.fts-facebook-custom-api-token-label a{font-weight:700;color:#DF1818}.twitter-api-wrap{margin:20px 0 0}.twitter-api-wrap .feed-them-social-admin-input-wrap{margin:0}.fts-facebook-custom-api-token-label,.fts-instagram-custom-api-token-label{max-width:700px;line-height:21px;font-size:13px}.fts-facebook-get-access-token,.fts-facebook-get-access-token:focus,.fts-instagram-get-access-token,.fts-instagram-get-access-token:focus,.fts-pinterest-get-access-token,.fts-pinterest-get-access-token:focus,.fts-twitter-get-access-token,.fts-twitter-get-access-token:focus,.fts-youtube-get-access-token,.fts-youtube-get-access-token:focus{border-radius:5px;box-shadow:0 1px 1px #999;display:block;clear:both;float:left;font-size:14px;margin-bottom:25px;margin-top:5px;text-decoration:none;font-weight:600}.fts-instagram-get-access-token,.fts-instagram-get-access-token:focus{padding:18px 16px 19px 188px;background:url(../images/instagram-logo-admin.png) 13px 12px no-repeat #FFF;color:#252525}.fts-pinterest-get-access-token,.fts-pinterest-get-access-token:focus{padding:18px 16px 19px 188px;background:url(../images/pinterest-logo-admin.jpg) 13px 12px no-repeat #FFF;color:#252525}.fts-facebook-get-access-token:hover,.fts-instagram-get-access-token:hover,.fts-pinterest-get-access-token:hover{color:#666}.fts-facebook-get-access-token,.fts-facebook-get-access-token:focus{padding:18px 16px 19px 182px;background:url(../images/facebook-logo-admin.jpg) 14px 12px no-repeat #FFF;color:#252525}@font-face{margin:0 0 9px;font-size:19px}.fts-title-description-settings-page{padding:25px 0 15px;max-width:740px;border-top:1px solid #ccc}.fts-premium-options-message,.fts-premium-options-message2{font-size:13px;padding:20px 25px 25px;line-height:19px;background-color:#FFF;margin:0}.fts-premium-options-message a:first-child,.fts-premium-options-message2 a:first-child{font-size:16px;display:inline-block;padding:0;margin:0 0 5px;text-decoration:none}.fts-plugin-reviews{max-width:789px;padding:25px 28px 31px;box-shadow:0 0 1px #d1d1d1;border-radius:1px;background:rgba(255,255,255,1);-webkit-text-size-adjust:none;font-size:13px;line-height:21px;margin-right:10px}.fts-plugin-reviews a{text-decoration:none}.fts-plugin-reviews-rate{margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid #eee}h1.plugin-author-note{margin:50px 0 15px!important;font-size:22px;color:#222;z-index:1;position:relative}.toplevel_page_feed-them-settings-page .error{margin:20px 20px 20px 0;max-width:818px}.feed-them_page_fts-facebook-feed-styles-submenu-page .error,.feed-them_page_fts-instagram-feed-styles-submenu-page .error,.feed-them_page_fts-pinterest-feed-styles-submenu-page .error,.feed-them_page_fts-system-info-submenu-page .error,.feed-them_page_fts-system-info-submenu-page .notice,.feed-them_page_fts-twitter-feed-styles-submenu-page .error,.feed-them_page_fts-youtube-feed-styles-submenu-page .error{margin:20px 20px 20px 0!important}.feed-them_page_fts-bar-settings-page .error{margin:20px 20px 20px 5px!important;max-width:1005px}.hashtag-option-small-text,.twitter-hashtag-etc-wrap{display:none}.twitter-hashtag-etc-wrap{margin:15px 0 35px}.fts-content{background-color:rgba(241,241,241,.65);padding:30px;z-index:1;display:nonee;border-radius:2px;box-shadow:0 2px 10px rgba(41,41,41,.51);min-height:315px}.shortcode-generator-form{border-radius:3px;margin-top:15px}.instructional-text a:hover{color:#EA1616;text-decoration:underline;opacity:.8}.final-shortcode-textarea h4{border-bottom:1px solid #FFF;padding:0 0 10px;font-size:13px;margin-bottom:15px}.toplevel_page_feed-them-settings-page .fts-content h1{color:#fbfbfb;margin:0 0 12px;line-height:30px;text-shadow:1px 1px 1px rgba(51,51,51,.06);font-weight:600;background:url(../images/feed-them-social-logo.png) no-repeat;height:40px;width:377px;font-size:0}.fb-options-wrap .feed-them-social-admin-submit-btn{margin-top:5px}#fts-social-selector,.twitter-gen-selection{margin-bottom:25px}.fts-text-align-center{text-align:center}.toplevel_page_feed-them-settings-page .feed-them-social-admin-slick-logo{background:url(../images/footer-logo.png) center no-repeat;width:110px;height:20px;padding:0;margin:20px 0 -20px;display:inline-block;position:relative;bottom:0;:0;opacity:1}.fb-image,.fts-backg{width:100%;height:100%}.feed-them-social-admin-wrap h3{color:#000;font-size:20px;font-weight:400;line-height:23px;margin:0 0 5px}.feed-them-social-admin-wrap .feed-them-social-admin-form h2{color:#000;font-size:23px;font-weight:400;line-height:23px;margin:15px 0 20px;padding:0}.instagram-id-option-wrap .feed-them-social-admin-submit-btn,.toplevel_page_feed-them-settings-page .feed-them-social-admin-submit-btn{margin-top:0;margin-left:0!important}.toplevel_page_feed-them-settings-page .instagram-id-option-wrap .feed-them-social-admin-submit-btn{margin-top:5px!important;margin-left:0!important}.feed-them-clear-cache .use-of-plugin{margin:0}.feed-them-clear-cache h2,.feed-them-custom-css h2,.feed-them-custom-logo-css h2{margin-bottom:10px;margin-top:5px;font-size:17px;padding-top:20px;border-top:1px dotted rgba(177,177,177,.88);color:#060606}.feed-them-clear-cache h2{border:none;margin-top:17px;padding-top:0}.feed-them-custom-css p,.feed-them-custom-logo-css p{margin:0 0 5px}#fts-date-and-time-format{margin-bottom:10px}.feed-them-social-admin-submit-btn{margin-top:15px!important}#fts_admin_bar_menu{margin-bottom:0;margin-left:31px}.fts-backg{position:absolute;top:0;right:0;z-index:0;opacity:1;-webkit-animation:ftsettings 5s;animation:ftsettings 5s;background:rgba(255,255,255,.8)}@-webkit-keyframes ftsettings{from{opacity:0}to{opacity:1}}@keyframes ftsettings{from{opacity:0}to{opacity:1}}.fb-reviews,.reviews-options{display:none}.fts-required-token-message{padding:15px;background:#fcfcfc;margin:12px 0 20px;border-left:4px solid #FB3939}.custom_time_ago_wrap{padding-top:10px}.custom_time_ago_wrap h2{margin-bottom:20px}.custom_time_ago_wrap label{color:#000;display:inline-block;min-width:75px;margin:0 10px 12px;font-size:13px}.slideshow-wrap{margin-top:18px}.fb-page-list{margin:0;display:block;max-width:740px}.fb-page-list li{background:#FFF;padding:8px 10px 10px;margin:0;border-left:15px solid #3b5999;border-bottom:1px solid #e9ebee;cursor:pointer}.fb-page-list li .feed-them-social-admin-submit-btn{display:none;margin-top:9px!important;position:absolute;right:15px;top:7px}.fb-page-list li:hover{background:rgba(255,255,255,.57)}.fb-image{margin:0 15px 0 0;float:left;line-height:50px;text-align:center!important;max-width:50px;min-width:50px;vertical-align:baseline;min-height:50px}.fb-image img{display:inline-block;vertical-align:middle;border-radius:50px}.fb-name{margin:0;display:inline-block;line-height:15px;letter-spacing:1px;color:#4c4c4c;font-weight:500;padding-top:10px}.board-name,.combine-instagram-hashtag-option-text,.combine-instagram-location-option-text,.fb-video-play-btn-options-content,.fb-video-play-btn-options-wrap,.fb_album_photos_id,.fts-facebook-grid-options-wrap,.fts-facebook-load-more-options-wrap,.fts-facebook-load-more-options2-wrap,.fts-fb-id,.fts-instagram-load-more-options-wrap,.fts-super-facebook-options-wrap,.fts-youtube-load-more-options-wrap,.fts-youtube-load-more-options2-wrap,.instagram-hashtag-option-text,.instagram-location-option-text,.page-token,.pinterest-board-and-name-text,.slider_options_wrap,.slideshow-wrap,.youtube_align_comments_wrap,.youtube_channelID2,.youtube_name,.youtube_name2,.youtube_playlistID,.youtube_playlistID2,.youtube_singleVideoID{display:none}.fts-pages-info{background:#3b5999;max-width:710px;padding:10px 15px 12px;color:#FFF;margin-top:1px;letter-spacing:.5px}.fts-fb-page-thumb{float:left;margin-right:10px;border-radius:50px}.fts-successful-api-token h3{margin-bottom:0;margin-top:4px;font-weight:700}.use-of-plugin{color:#000;font-size:13px;font-weight:400;line-height:20px;max-width:60%;padding-bottom:12px;margin-bottom:0}.fts-admin-button-no-work{margin:0 0 0 25px;line-height:41px}.twitter_hashtag_etc_name{padding-top:0}.page.inst-text-facebook-page{display:block}.slider_options_wrap.not-active-premium-fields,.slideshow-wrap .feed-them-social-admin-input-default{display:block!important}.fts-premium-options-message a.not-active-title:first-child{font-size:16px!important;display:block!important;padding:0!important;margin:0 0 5px!important;text-decoration:none!important}.combine-facebook-wrap,.combine-grid-options-wrap,.combine-instagram-wrap,.combine-pinterest-wrap,.combine-twitter-wrap,.combine-youtube-wrap,.combine_board_id,.combine_playlist_id,.combine_youtube_name,.display-comments-wrap,.facebook-reviews-wrap,.fts-premium-options-message,.fts-twitter-grid-options-wrap,.fts-twitter-load-more-options-wrap,.fts-twitter-load-more-options2-wrap,.inst-text-facebook-reviews,.instagram-profile-options-wrap,.like-box-wrap{display:none}.sectioned-options-title{margin-top:15px!important;margin-bottom:15px!important;border-bottom:1px solid #f1f1f1;padding:10px 10px 10px 30px;font-size:18px!important;color:#060606!important;background:#FFF;margin-left:-30px!important;box-shadow:0 1px 1px rgba(153,153,153,.59)}.facebook-image-animation-option-wrap,.multiple_facebook .facebook-loadmore-wrap,.multiple_facebook .facebook-title-options-wrap,.multiple_facebook .like-box-wrap,.multiple_facebook h2{display:none!important}.fts-fb-load-more,.fts-fb-spinner{text-align:center}.fts-fb-spinner>div{width:10px;height:10px;background-color:#999;border-radius:100%;display:inline-block;-webkit-animation:fts-fb-bouncedelay 1.4s infinite ease-in-out;animation:fts-fb-bouncedelay 1.4s infinite ease-in-out;-webkit-animation-fill-mode:both;animation-fill-mode:both}.fts-hide-me,.popup-gallery-fb .fts-fb-caption{display:none}.fb-social-btn-below-description,.fb-social-btn-bottom,.fb-social-btn-top{width:100%!important;overflow:hidden}.fts-fb-spinner .bounce1{-webkit-animation-delay:-.32s;animation-delay:-.32s}.fts-fb-spinner .bounce2{-webkit-animation-delay:-.16s;animation-delay:-.16s}@-webkit-keyframes fts-fb-bouncedelay{0%,100%,80%{-webkit-transform:scale(0)}40%{-webkit-transform:scale(1)}}@keyframes fts-fb-bouncedelay{0%,100%,80%{transform:scale(0);-webkit-transform:scale(0)}40%{transform:scale(1);-webkit-transform:scale(1)}}.fts-fluid-videoWrapper-html5 video{object-fit:inherit;margin-bottom:0!important}.fts-fb-album-view-link a{color:#FFF}.fts-fb-album-view-link a:hover{color:#eee}.fts-fb-load-more{border-radius:1px;padding:0;line-height:37px!important;width:100%;min-height:37px!important;font-size:13px!important;background:#fff!important;cursor:pointer;color:#787a7b;-webkit-transition:all .3s ease-in-out;-moz-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out;max-width:740px!important;font-weight:700}.toggle-custom-textarea-show span,label.toggle-custom-textarea-show{color:#fffefe}.fts-logo-header{margin-bottom:20px!important}.fts-logo-subheader{margin-bottom:10px!important}.fts-color-settings-admin-form label{font-weight:700;min-width:100px}#fts_clear_cache_developer_mode{margin-left:28px}.toplevel_page_feed-them-settings-page .pane-active{display:block}.toplevel_page_feed-them-settings-page .fts-tabbed{display:block;float:left;color:#545454;font-weight:700;text-decoration:none;line-height:1.9;text-align:center;cursor:pointer;border-bottom:1px solid #ccc;padding:10px 38px!important;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-width:115px;background:#FFF;margin-right:1px!important;font-size:13px;width:auto!important}.toplevel_page_feed-them-settings-page label.tab-active{background:#0073AA!important;color:#FFF!important}.toplevel_page_feed-them-settings-page .fts-tab-content{clear:both;padding-top:15px}.feed-them-social-admin-input-label small{font-weight:400}.not-active-title:hover h3{color:#028fd2}.not-active-title h3{color:#0073aa}@media (max-width:797px){.toplevel_page_feed-them-settings-page #fts-tabs{margin-top:140px!important}}@media (max-width:450px){#shortcode-form-selector{min-width:270px!important}}@media (max-width:500px){.toplevel_page_feed-them-settings-page #fts-tab-content1 .use-of-plugin{max-width:100%!important}}#fts-timezone{max-width:300px}.fts-instagram-username-picker-wrap li{clear:both;background:#e6e6e6;padding:10px;margin-bottom:1px;display:block;width:100%;line-height:16px;float:left}.combine-twitter-hashtag-etc-wrap,.facebook_hide_date,.facebook_hide_name,.facebook_hide_thumbnail,.facebook_show_media,.fts-success,.youtube_video_single_info_display{display:none}.fts-instagram-username-picker-wrap li.fts-insta-id-active,.fts-instagram-username-picker-wrap li:hover{background:#0073aa;color:#FFF}.ft-instagram-username-picker{clear:both;margin:0 0 1px;height:65px}.fts-insta-profile-picture-div img{float:left;max-width:65px;margin-right:15px;border-radius:100px}.fts-insta-fullname-div{padding:5px 0 2px}.fts-insta-id-div{font-style:italic;padding:5px 0 0}.fts-instagram-username-picker-wrap{padding-right:20px;max-height:310px;overflow:auto;margin:0}.fts-instagram-username-picker-wrap li:first-child{margin-top:10px}.fts-instagram-username-picker-wrap li:last-child{margin-bottom:10px}.fts-empty-error input,input.fts-empty-error{background:#ffffd8!important}.fts-instagram-username-picker-wrap li{color:#222}.fts-highlight{background:#0073aa;border-radius:20px;color:#FFF;padding:0 5px}.fts-youtube-get-access-token,.fts-youtube-get-access-token:focus{padding:18px 16px 19px 188px;background:url(../images/youtube-logo-admin.jpg) 13px 12px no-repeat #FFF;color:#252525}.fts-twitter-get-access-token,.fts-twitter-get-access-token:focus{padding:18px 16px 19px 188px;background:url(../images/twitter-logo-admin.jpg) 13px 12px no-repeat #FFF;color:#252525}.fts-twitter-add-all-keys-click-option{margin:-10px 0 15px}.twitter-extra-keys-text{max-width:550px;margin-bottom:15px}.feed-them_page_fts-twitter-feed-styles-submenu-page .fts-successful-api-token{margin-top:0;margin-bottom:-10px}#fts-timer{padding:6px 0 0 1px;float:left}@font-face{font-family:FontAwesomeSlick;src:url(../../feeds/css/font/fontawesome-webfont.eot?v=3.2.1);src:url(../../feeds/css/font/fontawesome-webfont.eot?#iefix&v=3.2.1) format("embedded-opentype"),url(../../feeds/css/font/fontawesome-webfont.woff?v=3.2.1) format("woff"),url(../../feeds/css/font/fontawesome-webfont.ttf?v=3.2.1) format("truetype"),url(../../feeds/css/font/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1) format("svg")}.fts-success:before{font-family:FontAwesomeSlick!important;content:"\f00c"!important;font-size:14px;position:relative;line-height:19px}.fts-success{margin:3px 6px 0;padding:2px 4px;color:#fff;background:#01a701;border-radius:20px;float:left;font-size:10px!important;width:auto;height:18px}#discount-for-review a:hover{color:#0073aa}.fb-sublist{border:none!important;overflow:auto;height:200px;background:#f7f7f7}.fb-sublist li{border: 1px solid #f7f7f7!important;border-bottom:0;border-right:0;}.fts-token-save{border-radius:100px}.fb-sublist .fb-name{letter-spacing:0!important;font-size:13px}.fts-fb-location-text-wrap{padding:8px;text-align:center;color:#f7f7f7;font-weight:700;background:#00a400;margin:10px 0 0}.fb-name small{display:block;line-height:0;letter-spacing:0;color:#969696}.fts-successful-api-token small{font-size:12px}.fb-page-list li{position:relative}.fts-successful-api-token h3 a{text-decoration:none!important;color:#262627;text-shadow:1px 1px 1px #fff;font-size:18px}.fts-successful-api-token h3 a:hover,.fts-successful-api-token img:hover{opacity:.8}.fb-page-list .fts-fb-load-more{color:#00a400}
|
admin/feed-them-facebook-style-options-page.php
CHANGED
@@ -68,7 +68,7 @@ class FTS_facebook_options_page
|
|
68 |
<h3>
|
69 |
<?php _e('Facebook API Token', 'feed-them-social'); ?>
|
70 |
</h3>
|
71 |
-
<?php _e('This Facebook Access Token is for Business Pages, Photos and Videos only and is simply used to display the feed.
|
72 |
<p>
|
73 |
<a href="https://www.facebook.com/dialog/oauth?client_id=1123168491105924&redirect_uri=https://www.slickremix.com/facebook-token/&state=<?php echo admin_url('admin.php?page=fts-facebook-feed-styles-submenu-page'); ?>&scope=manage_pages" class="fts-facebook-get-access-token">Login
|
74 |
and get my Access Token</a></p>
|
@@ -124,7 +124,7 @@ class FTS_facebook_options_page
|
|
124 |
echo '<div class="fts-successful-api-token fts-special-working-wrap">';
|
125 |
|
126 |
if (!empty($fb_id) && !empty($fb_name) && !empty($test_app_token_id)) {
|
127 |
-
echo '<img border="0" height="50" width="50" class="fts-fb-page-thumb" src="https://graph.facebook.com/' . $fb_id . '/picture"
|
128 |
}
|
129 |
echo __('Your Access Token is now working! Generate your shortcode on the <a href="admin.php?page=feed-them-settings-page#feed_type=facebook">settings page</a>.', 'feed-them-social') . '</div>';
|
130 |
|
@@ -138,12 +138,17 @@ class FTS_facebook_options_page
|
|
138 |
}
|
139 |
|
140 |
if (isset($test_app_token_response->data->error->message) && empty($test_app_token_id) || isset($test_app_token_response->error->message) && empty($test_app_token_id)) {
|
141 |
-
|
|
|
|
|
|
|
142 |
}
|
143 |
}
|
144 |
|
145 |
} else {
|
146 |
-
|
|
|
|
|
147 |
}
|
148 |
?>
|
149 |
<div class="clear"></div>
|
@@ -154,7 +159,7 @@ class FTS_facebook_options_page
|
|
154 |
if (isset($_GET['return_long_lived_token']) && !isset($_GET['reviews_token'])) {
|
155 |
// Echo our shortcode for the page token list with loadmore button
|
156 |
// These functions are on feed-them-functions.php
|
157 |
-
|
158 |
|
159 |
} ?>
|
160 |
</div>
|
@@ -172,7 +177,7 @@ class FTS_facebook_options_page
|
|
172 |
</h3>
|
173 |
<?php _e('This Facebook Access Token works for the Reviews feed only and is simply used to display the feed. You must be an admin of the page to get your token.', 'feed-them-social'); ?>
|
174 |
<p>
|
175 |
-
<a href="https://www.facebook.com/dialog/oauth?client_id=1123168491105924&redirect_uri=https://www.slickremix.com/facebook-token/&state=<?php echo admin_url('admin.php?page=fts-facebook-feed-styles-submenu-page'); ?>%26reviews_token=yes&scope=manage_pages
|
176 |
and get my Reviews Access Token</a></p>
|
177 |
|
178 |
</div>
|
@@ -202,7 +207,7 @@ class FTS_facebook_options_page
|
|
202 |
|
203 |
|
204 |
if (!empty($fb_id_biz) && !empty($fb_name_biz) && !empty($test_app_token_id_biz)) {
|
205 |
-
echo '<img border="0" height="50" width="50" class="fts-fb-page-thumb" src="https://graph.facebook.com/' . $fb_id_biz . '/picture"/><h3>' . $fb_name_biz . '</h3>';
|
206 |
}
|
207 |
echo __('Your Page Reviews Access Token is now working! Generate your shortcode on the <a href="admin.php?page=feed-them-settings-page#feed_type=facebook_reviews">settings page</a>.', 'feed-them-social') . '</div>';
|
208 |
|
@@ -218,7 +223,7 @@ class FTS_facebook_options_page
|
|
218 |
}
|
219 |
|
220 |
}
|
221 |
-
if (empty($test_app_token_id_biz)) {
|
222 |
echo '<div class="fts-failed-api-token get-started-message">' . __('To get started, please click the button above to retrieve your Page Reviews Access Token.', 'feed-them-social') . '</div>';
|
223 |
}
|
224 |
|
68 |
<h3>
|
69 |
<?php _e('Facebook API Token', 'feed-them-social'); ?>
|
70 |
</h3>
|
71 |
+
<?php _e('This Facebook Access Token is for Business Pages, Photos and Videos only and is simply used to display the feed. You must be an admin of the business page to get your token. This will NOT work for personal profiles or groups. ', 'feed-them-social'); ?>
|
72 |
<p>
|
73 |
<a href="https://www.facebook.com/dialog/oauth?client_id=1123168491105924&redirect_uri=https://www.slickremix.com/facebook-token/&state=<?php echo admin_url('admin.php?page=fts-facebook-feed-styles-submenu-page'); ?>&scope=manage_pages" class="fts-facebook-get-access-token">Login
|
74 |
and get my Access Token</a></p>
|
124 |
echo '<div class="fts-successful-api-token fts-special-working-wrap">';
|
125 |
|
126 |
if (!empty($fb_id) && !empty($fb_name) && !empty($test_app_token_id)) {
|
127 |
+
echo '<a href="https://www.facebook.com/'. get_option('fts_facebook_custom_api_token_user_id').'" target="_blank"><img border="0" height="50" width="50" class="fts-fb-page-thumb" src="https://graph.facebook.com/' . $fb_id . '/picture"/></a><h3><a href="https://www.facebook.com/'. get_option('fts_facebook_custom_api_token_user_id').'" target="_blank">' . $fb_name . '</a></h3>';
|
128 |
}
|
129 |
echo __('Your Access Token is now working! Generate your shortcode on the <a href="admin.php?page=feed-them-settings-page#feed_type=facebook">settings page</a>.', 'feed-them-social') . '</div>';
|
130 |
|
138 |
}
|
139 |
|
140 |
if (isset($test_app_token_response->data->error->message) && empty($test_app_token_id) || isset($test_app_token_response->error->message) && empty($test_app_token_id)) {
|
141 |
+
|
142 |
+
echo '<div class="fts-failed-api-token">' . __('To get started, please click the button above to retrieve your Access Token.', 'feed-them-social') . '</div>';
|
143 |
+
|
144 |
+
|
145 |
}
|
146 |
}
|
147 |
|
148 |
} else {
|
149 |
+
if (!isset($_GET['return_long_lived_token']) || isset($_GET['reviews_token'])) {
|
150 |
+
echo '<div class="fts-failed-api-token">' . __('To get started, please click the button above to retrieve your Access Token.', 'feed-them-social') . '</div>';
|
151 |
+
}
|
152 |
}
|
153 |
?>
|
154 |
<div class="clear"></div>
|
159 |
if (isset($_GET['return_long_lived_token']) && !isset($_GET['reviews_token'])) {
|
160 |
// Echo our shortcode for the page token list with loadmore button
|
161 |
// These functions are on feed-them-functions.php
|
162 |
+
echo do_shortcode('[fts_fb_page_token]');
|
163 |
|
164 |
} ?>
|
165 |
</div>
|
177 |
</h3>
|
178 |
<?php _e('This Facebook Access Token works for the Reviews feed only and is simply used to display the feed. You must be an admin of the page to get your token.', 'feed-them-social'); ?>
|
179 |
<p>
|
180 |
+
<a href="https://www.facebook.com/dialog/oauth?client_id=1123168491105924&redirect_uri=https://www.slickremix.com/facebook-token/&state=<?php echo admin_url('admin.php?page=fts-facebook-feed-styles-submenu-page'); ?>%26reviews_token=yes&scope=manage_pages" class="fts-facebook-get-access-token">Login
|
181 |
and get my Reviews Access Token</a></p>
|
182 |
|
183 |
</div>
|
207 |
|
208 |
|
209 |
if (!empty($fb_id_biz) && !empty($fb_name_biz) && !empty($test_app_token_id_biz)) {
|
210 |
+
echo '<img border="0" height="50" width="50" class="fts-fb-page-thumb" src="https://graph.facebook.com/' . $fb_id_biz . '/picture"/><h3><a href="https://facebook.com/'.$test_app_token_id_biz.'" target="_blank">' . $fb_name_biz . '</a></h3>';
|
211 |
}
|
212 |
echo __('Your Page Reviews Access Token is now working! Generate your shortcode on the <a href="admin.php?page=feed-them-settings-page#feed_type=facebook_reviews">settings page</a>.', 'feed-them-social') . '</div>';
|
213 |
|
223 |
}
|
224 |
|
225 |
}
|
226 |
+
if (!isset($_GET['reviews_token']) && empty($test_app_token_id_biz)) {
|
227 |
echo '<div class="fts-failed-api-token get-started-message">' . __('To get started, please click the button above to retrieve your Page Reviews Access Token.', 'feed-them-social') . '</div>';
|
228 |
}
|
229 |
|
feed-them.php
CHANGED
@@ -5,20 +5,20 @@
|
|
5 |
* This class is what initiates the Feed Them Social class
|
6 |
*
|
7 |
* Plugin Name: Feed Them Social (Facebook, Instagram, Twitter, etc)
|
8 |
-
* Plugin URI:
|
9 |
* Description: Customize feeds for Facebook Pages, Album Photos, Videos & Covers, Instagram, Twitter, Pinterest & YouTube on pages, posts or widgets.
|
10 |
-
* Version: 2.5.
|
11 |
* Author: SlickRemix
|
12 |
-
* Author URI: https://slickremix.com/
|
13 |
* Text Domain: feed-them-social
|
14 |
* Domain Path: /languages
|
15 |
* Requires at least: wordpress 4.0.0
|
16 |
* Tested up to: WordPress 4.9.8
|
17 |
-
* Stable tag: 2.5.
|
18 |
* License: GPLv2 or later
|
19 |
-
* License URI:
|
20 |
*
|
21 |
-
* @version 2.5.
|
22 |
* @package FeedThemSocial/Core
|
23 |
* @copyright Copyright (c) 2012-2018 SlickRemix
|
24 |
*
|
@@ -27,7 +27,7 @@
|
|
27 |
*/
|
28 |
|
29 |
// Makes sure any js or css changes are reloaded properly. Added to enqued css and js files throughout
|
30 |
-
define('FTS_CURRENT_VERSION', '2.5.
|
31 |
|
32 |
final class Feed_Them_Social {
|
33 |
|
5 |
* This class is what initiates the Feed Them Social class
|
6 |
*
|
7 |
* Plugin Name: Feed Them Social (Facebook, Instagram, Twitter, etc)
|
8 |
+
* Plugin URI: https://feedthemsocial.com/
|
9 |
* Description: Customize feeds for Facebook Pages, Album Photos, Videos & Covers, Instagram, Twitter, Pinterest & YouTube on pages, posts or widgets.
|
10 |
+
* Version: 2.5.1
|
11 |
* Author: SlickRemix
|
12 |
+
* Author URI: https://www.slickremix.com/
|
13 |
* Text Domain: feed-them-social
|
14 |
* Domain Path: /languages
|
15 |
* Requires at least: wordpress 4.0.0
|
16 |
* Tested up to: WordPress 4.9.8
|
17 |
+
* Stable tag: 2.5.1
|
18 |
* License: GPLv2 or later
|
19 |
+
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
20 |
*
|
21 |
+
* @version 2.5.1
|
22 |
* @package FeedThemSocial/Core
|
23 |
* @copyright Copyright (c) 2012-2018 SlickRemix
|
24 |
*
|
27 |
*/
|
28 |
|
29 |
// Makes sure any js or css changes are reloaded properly. Added to enqued css and js files throughout
|
30 |
+
define('FTS_CURRENT_VERSION', '2.5.1');
|
31 |
|
32 |
final class Feed_Them_Social {
|
33 |
|
feeds/facebook/facebook-feed-post-types.php
CHANGED
@@ -155,6 +155,9 @@ class FTS_Facebook_Feed_Post_Types extends FTS_Facebook_Feed {
|
|
155 |
if (isset($FBpost_full_ID[1])) {
|
156 |
$FBpost_single_id = $FBpost_full_ID[1];
|
157 |
}
|
|
|
|
|
|
|
158 |
} else {
|
159 |
$FBpost_id = '';
|
160 |
$FBpost_user_id = '';
|
155 |
if (isset($FBpost_full_ID[1])) {
|
156 |
$FBpost_single_id = $FBpost_full_ID[1];
|
157 |
}
|
158 |
+
else {
|
159 |
+
$FBpost_single_id = '';
|
160 |
+
}
|
161 |
} else {
|
162 |
$FBpost_id = '';
|
163 |
$FBpost_user_id = '';
|
includes/feed-them-functions.php
CHANGED
@@ -168,7 +168,6 @@ class feed_them_social_functions
|
|
168 |
|
169 |
}
|
170 |
|
171 |
-
|
172 |
/**
|
173 |
* FTS FB Options Page Function
|
174 |
*
|
@@ -183,12 +182,22 @@ class feed_them_social_functions
|
|
183 |
//Make sure it's not ajaxing
|
184 |
if (!isset($_GET['load_more_ajaxing'])) {
|
185 |
$_REQUEST['fts_dynamic_name'] = trim($this->feed_them_social_rand_string());
|
186 |
-
}
|
187 |
|
188 |
ob_start();
|
189 |
|
190 |
-
|
191 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
192 |
|
193 |
//Make sure it's not ajaxing
|
194 |
if (!isset($_GET['load_more_ajaxing'])) {
|
@@ -197,59 +206,164 @@ class feed_them_social_functions
|
|
197 |
//******************
|
198 |
?>
|
199 |
<div class="fts-clear"></div>
|
200 |
-
|
201 |
-
<?php }
|
202 |
|
203 |
$build_shortcode = 'fts_fb_page_token';
|
204 |
-
$_REQUEST['next_url'] = isset($test_fb_app_token_response->paging->next) ? $test_fb_app_token_response->paging->next : '';
|
205 |
-
// echo'<pre>';
|
206 |
-
// print_r($test_fb_app_token_response);
|
207 |
-
// echo'</pre>';
|
208 |
-
|
209 |
-
//Make sure it's not ajaxing
|
210 |
-
if (!isset($_GET['load_more_ajaxing'])) {
|
211 |
|
212 |
-
|
|
|
213 |
|
214 |
-
|
215 |
-
|
216 |
-
<div
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
<
|
225 |
-
|
226 |
-
<div class="fb-name"><?php print $data->name ?></div>
|
227 |
-
<div class="page-token"><?php print $data->access_token ?></div>
|
228 |
-
|
229 |
-
<?php
|
230 |
-
$facebook_input_token = get_option('fts_facebook_custom_api_token');
|
231 |
-
$facebook_access_token = $data->access_token;
|
232 |
-
if ($facebook_input_token == $facebook_access_token) {
|
233 |
-
?>
|
234 |
-
<div class="feed-them-social-admin-submit-btn " style="display: block !important;">Active
|
235 |
</div>
|
236 |
-
|
237 |
-
<div class="feed-them-social
|
238 |
-
|
239 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
240 |
</li>
|
241 |
-
<?php }
|
242 |
|
243 |
-
|
244 |
|
|
|
|
|
245 |
</ul>
|
246 |
<div class="fts-clear"></div>
|
247 |
-
|
248 |
</div>
|
|
|
249 |
|
250 |
-
<?php }
|
251 |
//Make sure it's not ajaxing
|
252 |
-
if (!isset($_GET['load_more_ajaxing']) && !isset($
|
253 |
$fts_dynamic_name = $_REQUEST['fts_dynamic_name'];
|
254 |
$time = time();
|
255 |
$nonce = wp_create_nonce($time . "load-more-nonce");
|
@@ -284,7 +398,7 @@ class feed_them_social_functions
|
|
284 |
url: ajaxurl,
|
285 |
success: function (data) {
|
286 |
console.log('Well Done and got this from sever: ' + data);
|
287 |
-
jQuery('.fb-page-list').append(data).filter('.fb-page-list').html();
|
288 |
|
289 |
if (!nextURL_<?php echo $_REQUEST['fts_dynamic_name']; ?> || nextURL_<?php echo $_REQUEST['fts_dynamic_name']; ?> == 'no more') {
|
290 |
jQuery('#loadMore_<?php echo $fts_dynamic_name ?>').replaceWith('<div class="fts-fb-load-more no-more-posts-fts-fb"><?php _e('No More Pages', 'feed-them-social') ?></div>');
|
@@ -298,7 +412,6 @@ class feed_them_social_functions
|
|
298 |
}
|
299 |
}); // end of ajax()
|
300 |
return false;
|
301 |
-
|
302 |
}); // end of form.submit
|
303 |
}); // end of document.ready
|
304 |
</script>
|
@@ -307,7 +420,11 @@ class feed_them_social_functions
|
|
307 |
} //END Make sure it's not ajaxing
|
308 |
?>
|
309 |
<script>
|
310 |
-
|
|
|
|
|
|
|
|
|
311 |
|
312 |
if (document.querySelector('#fts-fb-token-wrap .fts-pages-info') !== null) {
|
313 |
jQuery(".fts-successful-api-token.default-token").hide();
|
@@ -327,27 +444,16 @@ class feed_them_social_functions
|
|
327 |
$("#fts-facebook-feed-options-form").submit();
|
328 |
});
|
329 |
|
330 |
-
|
331 |
-
|
332 |
-
var fb = ".fb-page-list li";
|
333 |
$('#fb-list-wrap').show();
|
334 |
-
$('.fts-failed-api-token.get-started-message-hide').hide();
|
335 |
-
//alert("not set");
|
336 |
-
<?php } else { ?>
|
337 |
-
var fb = "#reviews-fb-list-wrap .fb-page-list li";
|
338 |
-
$('#fb-list-wrap').appendTo('#reviews-fb-list-wrap');
|
339 |
-
$('#fts-fb-reviews-wrap #fb-list-wrap').show();
|
340 |
-
$('.fts-failed-api-token.get-started-message').hide();
|
341 |
//alert("reviews_token");
|
342 |
-
<?php } ?>
|
343 |
|
344 |
$(fb).click(function () {
|
345 |
-
var fb_page_id = $(this).find('.fts-
|
346 |
var token = $(this).find('.page-token').html();
|
347 |
// alert(token);
|
348 |
var name = $(this).find('.fb-name').html();
|
349 |
<?php if ($reviews_token == 'no' || isset($_GET['fts_reviews_feed']) && $_GET['fts_reviews_feed'] == 'no'){?>
|
350 |
-
|
351 |
$("#fts_facebook_custom_api_token").val(token);
|
352 |
$("#fts_facebook_custom_api_token_user_id").val(fb_page_id);
|
353 |
$("#fts_facebook_custom_api_token_user_name").val(name);
|
@@ -356,18 +462,15 @@ class feed_them_social_functions
|
|
356 |
$("#fts_facebook_custom_api_token_user_id_biz").val(fb_page_id);
|
357 |
$("#fts_facebook_custom_api_token_user_name_biz").val(name);
|
358 |
<?php } ?>
|
359 |
-
|
360 |
-
|
361 |
$('.fb-page-list .feed-them-social-admin-submit-btn').hide();
|
362 |
$(this).find('.feed-them-social-admin-submit-btn').toggle();
|
363 |
// alert(name + token)
|
364 |
})
|
365 |
});
|
366 |
</script>
|
367 |
-
|
368 |
<?php
|
369 |
//Make sure it's not ajaxing
|
370 |
-
if (!isset($_GET['load_more_ajaxing']) && isset($test_fb_app_token_response->paging->next)) {
|
371 |
$fts_dynamic_name = $_REQUEST['fts_dynamic_name'];
|
372 |
// this div returns outputs our ajax request via jquery append html from above
|
373 |
|
@@ -377,12 +480,18 @@ class feed_them_social_functions
|
|
377 |
print '<div class="fts-clear"></div>';
|
378 |
|
379 |
// print '<div class="fts-fb-load-more-wrapper">';
|
380 |
-
print '<div id="loadMore_' . $fts_dynamic_name . '" class="fts-fb-load-more">' . __('Load More', 'feed-them-
|
381 |
// print '</div>';
|
382 |
|
383 |
-
}//End
|
384 |
-
unset($_REQUEST['next_url']);
|
385 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
386 |
return ob_get_clean();
|
387 |
}
|
388 |
|
168 |
|
169 |
}
|
170 |
|
|
|
171 |
/**
|
172 |
* FTS FB Options Page Function
|
173 |
*
|
182 |
//Make sure it's not ajaxing
|
183 |
if (!isset($_GET['load_more_ajaxing'])) {
|
184 |
$_REQUEST['fts_dynamic_name'] = trim($this->feed_them_social_rand_string());
|
185 |
+
} //End make sure it's not ajaxing
|
186 |
|
187 |
ob_start();
|
188 |
|
189 |
+
if(!isset($_GET['locations'])){
|
190 |
+
$fb_token_response = isset($_REQUEST['next_url']) ? wp_remote_fopen($_REQUEST['next_url']) : wp_remote_fopen('https://graph.facebook.com/me/accounts?fields=locations{name,id,page_username,locations,store_number,store_location_descriptor,access_token},name,id,link,access_token&access_token=' . $_GET['access_token'] . '&limit=25');
|
191 |
+
$test_fb_app_token_response = json_decode($fb_token_response);
|
192 |
+
$_REQUEST['next_url'] = isset($test_fb_app_token_response->paging->next) ? $test_fb_app_token_response->paging->next : '';
|
193 |
+
}
|
194 |
+
else{
|
195 |
+
$fb_token_response = isset($_REQUEST['next_location_url']) ? wp_remote_fopen($_REQUEST['next_location_url']) : '';
|
196 |
+
$test_fb_app_token_response = json_decode($fb_token_response);
|
197 |
+
// echo'<pre>';
|
198 |
+
// print_r($test_fb_app_token_response);
|
199 |
+
// echo'</pre>';
|
200 |
+
}
|
201 |
|
202 |
//Make sure it's not ajaxing
|
203 |
if (!isset($_GET['load_more_ajaxing'])) {
|
206 |
//******************
|
207 |
?>
|
208 |
<div class="fts-clear"></div>
|
209 |
+
<?php } //End make sure it's not ajaxing
|
|
|
210 |
|
211 |
$build_shortcode = 'fts_fb_page_token';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
212 |
|
213 |
+
//Make sure it's not ajaxing
|
214 |
+
if (!isset($_GET['load_more_ajaxing'])) {
|
215 |
|
216 |
+
$reviews_token = isset($_GET['reviews_token']) ? 'yes' : 'no';
|
217 |
+
?>
|
218 |
+
<div id="fb-list-wrap">
|
219 |
+
<div class="fts-pages-info"> <?php _e('Click on a page in the list below and it will add the Page ID and Access Token above, then click save.', 'feed-them-social'); ?></div>
|
220 |
+
<ul class="fb-page-list fb-page-master-list">
|
221 |
+
<?php } //End make sure it's not ajaxing
|
222 |
+
|
223 |
+
foreach ($test_fb_app_token_response->data as $data) {?>
|
224 |
+
<li class="fts-fb-main-page-li">
|
225 |
+
<div class="fb-click-wrapper" >
|
226 |
+
<div class="fb-image">
|
227 |
+
<img border="0" height="50" width="50" src="https://graph.facebook.com/<?php print $data->id ?>/picture"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
228 |
</div>
|
229 |
+
<div class="fb-name-wrap"><span class="fb-name"><?php print $data->name ?> <?php if(isset($data->store_location_descriptor)){ print '('.$data->store_location_descriptor.')'; } ?></span></div>
|
230 |
+
<div class="fb-other-wrap"><small><?php _e('ID: ', 'feed-them-social'); print '<span class="fts-api-facebook-id">'; print $data->id; print '</span>'; ?> <?php if(isset($data->store_number)){ print '| '; _e('Location:', 'feed-them-social'); print ' '.$data->store_number; } ?></small></div>
|
231 |
+
<div class="page-token"><?php print $data->access_token ?></div>
|
232 |
+
<?php
|
233 |
+
$facebook_input_token = get_option('fts_facebook_custom_api_token');
|
234 |
+
$facebook_access_token = $data->access_token;
|
235 |
+
if ($facebook_input_token == $facebook_access_token) {
|
236 |
+
?>
|
237 |
+
<div class="feed-them-social-admin-submit-btn " style="display: block !important;">Active
|
238 |
+
</div>
|
239 |
+
<?php } else { ?>
|
240 |
+
<div class="feed-them-social-admin-submit-btn fts-token-save">Save</div>
|
241 |
+
<?php } ?>
|
242 |
+
<div class="fts-clear"></div>
|
243 |
+
</div>
|
244 |
+
<?php
|
245 |
+
$_REQUEST['next_location_url'] = isset($data->locations->paging->next) ? $data->locations->paging->next : '';
|
246 |
+
$remove_class_or_not = isset($data->locations->paging->next) ? 'fb-sublist-page-id-' . $data->id : '';
|
247 |
+
if(isset($data->locations->data)){
|
248 |
+
$location_count = count($data->locations->data);
|
249 |
+
$location_plus_sign = isset($data->locations->paging->next) ? '+' : '';
|
250 |
+
$location_text = $location_count === 1 ? $location_count .' '.__('Location for', 'feed-them-social') : $location_count.$location_plus_sign.' '.__('Locations for', 'feed-them-social');
|
251 |
+
// if the locations equal 3 or less we will set the location container height to auto so the scroll loadmore does not fire.
|
252 |
+
$location_scroll_loadmore_needed_check = $location_count <= 3 ? 'style="height:auto !important"' : '';
|
253 |
+
}
|
254 |
+
|
255 |
+
if(!isset($_GET['locations']) && isset($data->locations->data)) { ?>
|
256 |
+
<div class="fts-fb-location-text-wrap"><?php print $location_text ?> <?php print $data->name ?></div>
|
257 |
+
<ul class="fb-page-list fb-sublist <?php print $remove_class_or_not ?>" <?php echo $location_scroll_loadmore_needed_check?> style="height: 200px !important;">
|
258 |
+
<?php foreach ($data->locations->data as $location) { ?>
|
259 |
+
<li>
|
260 |
+
<div class="fb-click-wrapper">
|
261 |
+
<div class="fb-image">
|
262 |
+
<img border="0" height="50" width="50" src="https://graph.facebook.com/<?php print $location->id ?>/picture"/>
|
263 |
+
</div>
|
264 |
+
<div class="fb-name-wrap"><span class="fb-name"><?php print $location->name ?> <?php if(isset($location->store_location_descriptor)){ print '('.$location->store_location_descriptor.')'; } ?></span></div>
|
265 |
+
<div class="fb-other-wrap"><small><?php _e('ID: ', 'feed-them-social'); print '<span class="fts-api-facebook-id">'; print $location->id; print '</span>'; ?> <?php if(isset($location->store_number)){ print '| '; _e('Location:', 'feed-them-social'); print ' '.$location->store_number; } ?></small></div>
|
266 |
+
|
267 |
+
<div class="page-token"><?php print $location->access_token ?></div>
|
268 |
+
<?php
|
269 |
+
$facebook_input_token = get_option('fts_facebook_custom_api_token');
|
270 |
+
$facebook_access_token = $location->access_token;
|
271 |
+
if ($facebook_input_token == $facebook_access_token) {
|
272 |
+
?>
|
273 |
+
<div class="feed-them-social-admin-submit-btn " style="display: block !important;">Active
|
274 |
+
</div>
|
275 |
+
<?php } else { ?>
|
276 |
+
<div class="feed-them-social-admin-submit-btn fts-token-save">Save</div>
|
277 |
+
<?php } ?>
|
278 |
+
<div class="fts-clear"></div>
|
279 |
+
</div>
|
280 |
+
</li>
|
281 |
+
<?php } ?>
|
282 |
+
</ul>
|
283 |
+
|
284 |
+
<?php
|
285 |
+
//Make sure it's not ajaxing locations
|
286 |
+
if (!isset($_GET['locations']) && isset($data->locations->paging->next)) {
|
287 |
+
print '<div id="loadMore_' . $data->id . '_location" class="fts-fb-load-more" style="background:none !Important;">' . __('Scroll to view more Locations', 'feed-them-instagram') . '</div>';
|
288 |
+
}//End Check
|
289 |
+
|
290 |
+
//Make sure it's not ajaxing locations
|
291 |
+
if (!isset($_GET['locations'])) {
|
292 |
+
$time = time();
|
293 |
+
$nonce = wp_create_nonce($time . "load-more-nonce");
|
294 |
+
$fbPageID = $data->id;
|
295 |
+
?>
|
296 |
+
<script>
|
297 |
+
jQuery(document).ready(function () {
|
298 |
+
jQuery(".fb-sublist-page-id-<?php echo $fbPageID ?>").bind("scroll", function () {
|
299 |
+
if (jQuery(this).scrollTop() + jQuery(this).innerHeight() >= jQuery(this)[0].scrollHeight) {
|
300 |
+
if(!jQuery('.fts-no-more-locations-<?php echo $fbPageID ?>').length){
|
301 |
+
jQuery("#loadMore_<?php echo $fbPageID ?>_location").addClass('fts-fb-spinner');
|
302 |
+
var button = jQuery('#loadMore_<?php echo $fbPageID ?>_location').html('<div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div>');
|
303 |
+
console.log(button);
|
304 |
+
var build_shortcode = "<?php print $build_shortcode;?>";
|
305 |
+
var yes_ajax = "yes";
|
306 |
+
var fts_d_name = "<?php echo $fbPageID;?>";
|
307 |
+
var fts_security = "<?php echo $nonce;?>";
|
308 |
+
var fts_time = "<?php echo $time;?>";
|
309 |
+
var fts_reviews_feed = "<?php print $reviews_token;?>";
|
310 |
+
jQuery.ajax({
|
311 |
+
data: {
|
312 |
+
action: "my_fts_fb_load_more",
|
313 |
+
next_location_url: nextURL_location_<?php echo $fbPageID ?>,
|
314 |
+
fts_dynamic_name: fts_d_name,
|
315 |
+
rebuilt_shortcode: build_shortcode,
|
316 |
+
load_more_ajaxing: yes_ajax,
|
317 |
+
fts_security: fts_security,
|
318 |
+
fts_time: fts_time,
|
319 |
+
feed_name: build_shortcode,
|
320 |
+
fts_reviews_feed: fts_reviews_feed,
|
321 |
+
locations: 'yes'
|
322 |
+
},
|
323 |
+
type: 'GET',
|
324 |
+
url: ajaxurl,
|
325 |
+
success: function (data) {
|
326 |
+
console.log('Well Done and got this from sever: ' + data);
|
327 |
+
jQuery('.fb-sublist-page-id-<?php echo $fbPageID;?>').append(data).filter('.fb-sublist-page-id-<?php echo $fbPageID;?>').html();
|
328 |
+
jQuery('.fb-sublist-page-id-<?php echo $fbPageID?>').animate({scrollTop: '+=100px'}, 800); // scroll down a 100px after new items are added
|
329 |
+
|
330 |
+
|
331 |
+
|
332 |
+
<?php if(isset($data->locations->paging->next) && $data->locations->paging->next == $_REQUEST['next_location_url']) { ?>
|
333 |
+
jQuery('#loadMore_<?php echo $fbPageID ?>_location').replaceWith('<div class="fts-fb-load-more no-more-posts-fts-fb fts-no-more-locations-<?php echo $fbPageID ?>" style="background:none !important"><?php _e('All Locations loaded', 'feed-them-social') ?></div>');
|
334 |
+
jQuery('#loadMore_<?php echo $fbPageID ?>_location').removeAttr('id');
|
335 |
+
<?php } ?>
|
336 |
+
// jQuery('#loadMore_<?php echo $fbPageID ?>_location').html('<?php _e('Keep Scrolling to view more Locations', 'feed-them-social') ?>');
|
337 |
+
// jQuery('#loadMore_< ?php echo $fbPageID ?>').removeClass('flip360-fts-load-more');
|
338 |
+
jQuery("#loadMore_<?php echo $fbPageID ?>_location").removeClass('fts-fb-spinner');
|
339 |
+
}
|
340 |
+
}); // end of ajax()
|
341 |
+
return false;
|
342 |
+
|
343 |
+
} //stop ajax from submitting again if the fts-no-more-locations class is found
|
344 |
+
|
345 |
+
}
|
346 |
+
}); // end of form.submit
|
347 |
+
|
348 |
+
}); // end of document.ready
|
349 |
+
</script>
|
350 |
+
<?php
|
351 |
+
} //END Make sure it's not ajaxing locations ?>
|
352 |
+
<script>var nextURL_location_<?php echo $fbPageID; ?>= "<?php echo isset($data->locations->paging->next) ? $data->locations->paging->next : ''?>";</script>
|
353 |
+
<?php } ?>
|
354 |
</li>
|
|
|
355 |
|
356 |
+
<?php } // foreach loop of locations
|
357 |
|
358 |
+
//Make sure it's not ajaxing
|
359 |
+
if (!isset($_GET['load_more_ajaxing'])) { ?>
|
360 |
</ul>
|
361 |
<div class="fts-clear"></div>
|
|
|
362 |
</div>
|
363 |
+
<?php } //End make sure it's not ajaxing
|
364 |
|
|
|
365 |
//Make sure it's not ajaxing
|
366 |
+
if (!isset($_GET['load_more_ajaxing']) && !isset($_GET['locations'])) {
|
367 |
$fts_dynamic_name = $_REQUEST['fts_dynamic_name'];
|
368 |
$time = time();
|
369 |
$nonce = wp_create_nonce($time . "load-more-nonce");
|
398 |
url: ajaxurl,
|
399 |
success: function (data) {
|
400 |
console.log('Well Done and got this from sever: ' + data);
|
401 |
+
jQuery('.fb-page-master-list').append(data).filter('.fb-page-list').html();
|
402 |
|
403 |
if (!nextURL_<?php echo $_REQUEST['fts_dynamic_name']; ?> || nextURL_<?php echo $_REQUEST['fts_dynamic_name']; ?> == 'no more') {
|
404 |
jQuery('#loadMore_<?php echo $fts_dynamic_name ?>').replaceWith('<div class="fts-fb-load-more no-more-posts-fts-fb"><?php _e('No More Pages', 'feed-them-social') ?></div>');
|
412 |
}
|
413 |
}); // end of ajax()
|
414 |
return false;
|
|
|
415 |
}); // end of form.submit
|
416 |
}); // end of document.ready
|
417 |
</script>
|
420 |
} //END Make sure it's not ajaxing
|
421 |
?>
|
422 |
<script>
|
423 |
+
<?php if(!isset($_GET['locations'])) {?>
|
424 |
+
var nextURL_<?php echo $_REQUEST['fts_dynamic_name']; ?>= "<?php echo $_REQUEST['next_url']; ?>";
|
425 |
+
// alert('nextURL_<?php echo $_REQUEST['fts_dynamic_name']; ?>');
|
426 |
+
<?php } ?>
|
427 |
+
|
428 |
|
429 |
if (document.querySelector('#fts-fb-token-wrap .fts-pages-info') !== null) {
|
430 |
jQuery(".fts-successful-api-token.default-token").hide();
|
444 |
$("#fts-facebook-feed-options-form").submit();
|
445 |
});
|
446 |
|
447 |
+
var fb = ".fb-page-list .fb-click-wrapper";
|
|
|
|
|
448 |
$('#fb-list-wrap').show();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
449 |
//alert("reviews_token");
|
|
|
450 |
|
451 |
$(fb).click(function () {
|
452 |
+
var fb_page_id = $(this).find('.fts-api-facebook-id').html();
|
453 |
var token = $(this).find('.page-token').html();
|
454 |
// alert(token);
|
455 |
var name = $(this).find('.fb-name').html();
|
456 |
<?php if ($reviews_token == 'no' || isset($_GET['fts_reviews_feed']) && $_GET['fts_reviews_feed'] == 'no'){?>
|
|
|
457 |
$("#fts_facebook_custom_api_token").val(token);
|
458 |
$("#fts_facebook_custom_api_token_user_id").val(fb_page_id);
|
459 |
$("#fts_facebook_custom_api_token_user_name").val(name);
|
462 |
$("#fts_facebook_custom_api_token_user_id_biz").val(fb_page_id);
|
463 |
$("#fts_facebook_custom_api_token_user_name_biz").val(name);
|
464 |
<?php } ?>
|
|
|
|
|
465 |
$('.fb-page-list .feed-them-social-admin-submit-btn').hide();
|
466 |
$(this).find('.feed-them-social-admin-submit-btn').toggle();
|
467 |
// alert(name + token)
|
468 |
})
|
469 |
});
|
470 |
</script>
|
|
|
471 |
<?php
|
472 |
//Make sure it's not ajaxing
|
473 |
+
if (!isset($_GET['load_more_ajaxing']) && isset($test_fb_app_token_response->paging->next) && !isset($_GET['locations'])) {
|
474 |
$fts_dynamic_name = $_REQUEST['fts_dynamic_name'];
|
475 |
// this div returns outputs our ajax request via jquery append html from above
|
476 |
|
480 |
print '<div class="fts-clear"></div>';
|
481 |
|
482 |
// print '<div class="fts-fb-load-more-wrapper">';
|
483 |
+
print '<div id="loadMore_' . $fts_dynamic_name . '" class="fts-fb-load-more">' . __('Load More', 'feed-them-social') . '</div>';
|
484 |
// print '</div>';
|
485 |
|
486 |
+
}//End make sure it's not ajaxing
|
|
|
487 |
|
488 |
+
// Lastly if we can't find a next url we unset the next url from the page to not let the loadmore button be active.
|
489 |
+
if(!isset($_GET['locations'])) {
|
490 |
+
unset($_REQUEST['next_url']);
|
491 |
+
}
|
492 |
+
else {
|
493 |
+
unset($_REQUEST['next_location_url']);
|
494 |
+
}
|
495 |
return ob_get_clean();
|
496 |
}
|
497 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: slickremix
|
|
3 |
Tags: Facebook, Instagram, Twitter, YouTube, Feed
|
4 |
Requires at least: 3.6.0
|
5 |
Tested up to: 4.9.8
|
6 |
-
Stable tag: 2.5.
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
Custom feeds for Facebook Pages, Album Photos, Videos & Covers, Instagram, Twitter, Pinterest & YouTube on pages, posts or widgets.
|
@@ -76,6 +76,10 @@ Feed Them Social was Developed By SlickRemix --> [https://www.slickremix.com/](h
|
|
76 |
* Log into WordPress dashboard then click **Plugins** > **Add new** > Then under the title "Install Plugins" click **Upload** > **choose the zip** > **Activate the plugin!**
|
77 |
|
78 |
== Changelog ==
|
|
|
|
|
|
|
|
|
79 |
= Version 2.5.0 Friday, August 31st, 2018 =
|
80 |
* FIX: Facebook Reviews: print_r visible on page.
|
81 |
|
3 |
Tags: Facebook, Instagram, Twitter, YouTube, Feed
|
4 |
Requires at least: 3.6.0
|
5 |
Tested up to: 4.9.8
|
6 |
+
Stable tag: 2.5.1
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
Custom feeds for Facebook Pages, Album Photos, Videos & Covers, Instagram, Twitter, Pinterest & YouTube on pages, posts or widgets.
|
76 |
* Log into WordPress dashboard then click **Plugins** > **Add new** > Then under the title "Install Plugins" click **Upload** > **choose the zip** > **Activate the plugin!**
|
77 |
|
78 |
== Changelog ==
|
79 |
+
= Version 2.5.1 Friday, September 21st, 2018 =
|
80 |
+
* NEW: Facebook Options: If you have Location pages you can get an access token for each one now when clicking the get access token button on the Facebook Options page of our plugin.
|
81 |
+
* FIX: Facebook Feed: warning notice coming up for $FBpost_single_id
|
82 |
+
|
83 |
= Version 2.5.0 Friday, August 31st, 2018 =
|
84 |
* FIX: Facebook Reviews: print_r visible on page.
|
85 |
|