Version Description
Fixed: Missing images from post with multiple images. Fixed: Conflict with WP5.5. Fixed: Number of comments and likes. Fixed: Images ordering on Firefox.
Download this release
Release Info
| Developer | 10web |
| Plugin | |
| Version | 1.4.5 |
| Comparing to | |
| See all releases | |
Code changes from version 1.4.4 to 1.4.5
- admin/models/WDIModelThemes_wdi.php +1 -1
- admin/views/WDIViewFeeds_wdi.php +2 -3
- css/default_theme.css +1079 -1
- framework/WDI_form_builder.php +3 -3
- frontend/views/WDIViewGalleryBox.php +2 -2
- js/wdi_admin.js +7 -7
- js/wdi_instagram.js +146 -68
- js/wdi_instagram.min.js +1 -1
- readme.txt +7 -1
- templates/default-themes.php +2 -2
- wd-instagram-feed.php +2 -2
admin/models/WDIModelThemes_wdi.php
CHANGED
|
@@ -174,7 +174,7 @@ class WDIModelThemes_wdi {
|
|
| 174 |
'lightbox_description_font_weight'=>'normal',
|
| 175 |
'lightbox_description_font_size'=>'14',
|
| 176 |
'lightbox_info_height'=>'30',
|
| 177 |
-
'lightbox_comment_width'=>'
|
| 178 |
'lightbox_comment_pos'=>'right',
|
| 179 |
'lightbox_comment_bg_color'=>'#ffffff',
|
| 180 |
'lightbox_comment_font_size'=>'12',
|
| 174 |
'lightbox_description_font_weight'=>'normal',
|
| 175 |
'lightbox_description_font_size'=>'14',
|
| 176 |
'lightbox_info_height'=>'30',
|
| 177 |
+
'lightbox_comment_width'=>'250',
|
| 178 |
'lightbox_comment_pos'=>'right',
|
| 179 |
'lightbox_comment_bg_color'=>'#ffffff',
|
| 180 |
'lightbox_comment_font_size'=>'12',
|
admin/views/WDIViewFeeds_wdi.php
CHANGED
|
@@ -286,9 +286,8 @@ class WDIViewFeeds_wdi
|
|
| 286 |
'show_usernames' => array('name' => 'show_usernames', 'title' => __('Show User Data', "wd-instagram-feed"), 'type' => 'checkbox', 'tooltip' => '','hide_ids' => array('display_user_info','display_user_post_follow_number','follow_on_instagram_btn'), 'attr' => array(array('name' => 'tab', 'value' => 'feed_settings'), array('name' => 'section', 'value' => 'thumbnails,masonry,blog_style,image_browser'))),
|
| 287 |
'follow_on_instagram_btn' => array('name' => 'follow_on_instagram_btn', 'title' => __('Show "Follow On Instagram" button', "wd-instagram-feed"), 'type' => 'checkbox', 'tooltip' => '', 'attr' => array(array('name' => 'tab', 'value' => 'feed_settings'), array('name' => 'section', 'value' => 'thumbnails,masonry,blog_style,image_browser'))),
|
| 288 |
/* @TODO API Changes 2020. */
|
| 289 |
-
|
| 290 |
-
'
|
| 291 |
-
'display_user_info' => array('switched' => 'off','name' => 'display_user_info', 'title' => __('Show User Bio and Website', "wd-instagram-feed"), 'type' => 'checkbox', 'tooltip' => __('This feature is available only in premium version', "wd-instagram-feed"), 'attr' => array(array('name' => 'tab', 'value' => 'feed_settings'), array('name' => 'section', 'value' => 'thumbnails,masonry,blog_style,image_browser'))),
|
| 292 |
'show_description' => array('switched' => 'off', 'name' => 'show_description', 'title' => __('Show Media Caption', "wd-instagram-feed"), 'type' => 'checkbox', 'label' => array('place' => 'after', 'class' => 'wdi_pro_only', 'text' => __("This feature is available only in premium version", "wd-instagram-feed"), 'br' => 'true'), 'tooltip' => '', 'attr' => array(array('name' => 'tab', 'value' => 'feed_settings'), array('name' => 'section', 'value' => 'thumbnails,masonry,blog_style,image_browser'))),
|
| 293 |
'show_full_description' => array('name' => 'show_full_description', 'title' => __('Show Full Description', "wd-instagram-feed"), 'type' => 'checkbox', 'tooltip' => __('Discription will be shown no matter how long it is', "wd-instagram-feed"), 'attr' => array(array('name' => 'tab', 'value' => 'feed_settings'), array('name' => 'section', 'value' => 'masonry'))),
|
| 294 |
'show_likes' => array('switched' => 'off', 'name' => 'show_likes', 'title' => __('Show Number of Likes', "wd-instagram-feed"), 'type' => 'checkbox', 'label' => array('place' => 'after', 'class' => 'wdi_pro_only', 'text' => __("This feature is available only in premium version", "wd-instagram-feed"), 'br' => 'true'), 'tooltip' => '', 'attr' => array(array('name' => 'tab', 'value' => 'feed_settings'), array('name' => 'section', 'value' => 'thumbnails,masonry,blog_style,image_browser'))),
|
| 286 |
'show_usernames' => array('name' => 'show_usernames', 'title' => __('Show User Data', "wd-instagram-feed"), 'type' => 'checkbox', 'tooltip' => '','hide_ids' => array('display_user_info','display_user_post_follow_number','follow_on_instagram_btn'), 'attr' => array(array('name' => 'tab', 'value' => 'feed_settings'), array('name' => 'section', 'value' => 'thumbnails,masonry,blog_style,image_browser'))),
|
| 287 |
'follow_on_instagram_btn' => array('name' => 'follow_on_instagram_btn', 'title' => __('Show "Follow On Instagram" button', "wd-instagram-feed"), 'type' => 'checkbox', 'tooltip' => '', 'attr' => array(array('name' => 'tab', 'value' => 'feed_settings'), array('name' => 'section', 'value' => 'thumbnails,masonry,blog_style,image_browser'))),
|
| 288 |
/* @TODO API Changes 2020. */
|
| 289 |
+
'display_user_post_follow_number' => array('switched' => 'off', 'name' => 'display_user_post_follow_number', 'title' => __('Show User Posts and Followers count', "wd-instagram-feed"), 'type' => 'checkbox', 'label' => array('place' => 'after', 'class' => 'wdi_pro_only', 'text' => __("This feature is available only in premium version", "wd-instagram-feed"), 'br' => 'true'), 'tooltip' => '', 'attr' => array(array('name' => 'tab', 'value' => 'feed_settings'), array('name' => 'section', 'value' => 'thumbnails,masonry,blog_style,image_browser'))),
|
| 290 |
+
'display_user_info' => array('switched' => 'off','name' => 'display_user_info', 'title' => __('Show User Bio and Website', "wd-instagram-feed"), 'type' => 'checkbox', 'label' => array('place' => 'after', 'class' => 'wdi_pro_only', 'text' => __("This feature is available only in premium version", "wd-instagram-feed"), 'br' => 'true'), 'tooltip' => '', 'attr' => array(array('name' => 'tab', 'value' => 'feed_settings'), array('name' => 'section', 'value' => 'thumbnails,masonry,blog_style,image_browser'))),
|
|
|
|
| 291 |
'show_description' => array('switched' => 'off', 'name' => 'show_description', 'title' => __('Show Media Caption', "wd-instagram-feed"), 'type' => 'checkbox', 'label' => array('place' => 'after', 'class' => 'wdi_pro_only', 'text' => __("This feature is available only in premium version", "wd-instagram-feed"), 'br' => 'true'), 'tooltip' => '', 'attr' => array(array('name' => 'tab', 'value' => 'feed_settings'), array('name' => 'section', 'value' => 'thumbnails,masonry,blog_style,image_browser'))),
|
| 292 |
'show_full_description' => array('name' => 'show_full_description', 'title' => __('Show Full Description', "wd-instagram-feed"), 'type' => 'checkbox', 'tooltip' => __('Discription will be shown no matter how long it is', "wd-instagram-feed"), 'attr' => array(array('name' => 'tab', 'value' => 'feed_settings'), array('name' => 'section', 'value' => 'masonry'))),
|
| 293 |
'show_likes' => array('switched' => 'off', 'name' => 'show_likes', 'title' => __('Show Number of Likes', "wd-instagram-feed"), 'type' => 'checkbox', 'label' => array('place' => 'after', 'class' => 'wdi_pro_only', 'text' => __("This feature is available only in premium version", "wd-instagram-feed"), 'br' => 'true'), 'tooltip' => '', 'attr' => array(array('name' => 'tab', 'value' => 'feed_settings'), array('name' => 'section', 'value' => 'thumbnails,masonry,blog_style,image_browser'))),
|
css/default_theme.css
CHANGED
|
@@ -1 +1,1079 @@
|
|
| 1 |
-
.wdi_feed_theme_1 .wdi_feed_wrapper{width:100%;background-color:#FFFFFF;text-align:left}.wdi_feed_theme_1 .wdi_feed_header{margin:0px;padding:5px;border:0px solid #DDDDDD;text-align:left}.wdi_feed_theme_1 .wdi_header_text{font-size:18px;font-style:normal;padding:5px;color:#0f4973;font-weight:400;line-height:40px}.wdi_feed_theme_1 .wdi_single_user{padding-top:5px;padding-bottom:5px;padding-left:5px;padding-right:5px}.wdi_feed_theme_1 .wdi_header_hashtag h3{margin-top:11px}.wdi_feed_theme_1 .wdi_header_user_text h3{font-size:18px;font-style:normal;line-height:18px;color:#0f4973;}.wdi_feed_theme_1 .wdi_user_img_wrap img{height:40px;width:40px;border-radius:40px}.wdi_feed_theme_1 .wdi_media_info{margin-left:50px;line-height:18px;color:#0f4973}.wdi_feed_theme_1 .wdi_bio{color:#0f4973;font-size:14px}.wdi_feed_theme_1 .wdi_follow_btn{border-radius:3px;font-size:18px;background-color:#ffffff;border-color:#0f4973;color:#0f4973;margin-left:10px;padding:0 25px}.wdi_feed_theme_1 .wdi_follow_btn:hover{border-color:#0f4973;color:#0f4973;background-color:#ffffff}.wdi_feed_theme_1 .wdi_filter_overlay{width:40px;height:40px;border-radius:40px;background-color:#125688}.wdi_feed_theme_1 .wdi_filter_icon span{width:40px;height:40px}.wdi_feed_theme_1 .wdi_load_more_text{color:#1e73be;font-size:14px}.wdi_feed_theme_1 .wdi_load_more_text img{height:90px;width:90px}.wdi_feed_theme_1 .wdi_load_more_wrap:hover{background-color:transparent}.wdi_feed_theme_1 .wdi_pagination{text-align:center;color:#0f4973;font-size:18px}.wdi_feed_theme_1 .wdi_pagination_ctrl{margin:15px}.wdi_feed_theme_1 .wdi_pagination_ctrl:hover{color:#25292c}.wdi_feed_theme_1 .wdi_filter_active_col{color:#429fff;border-color:#429fff}.wdi_feed_thumbnail_1 .wdi_feed_container{width:100%;background-color:#FFFFFF;border-bottom:5px solid #FFFFFF;}.wdi_feed_thumbnail_1 .wdi_header_img_wrap{height:40px;width:40px;border-radius:0px}.wdi_feed_thumbnail_1 .wdi_photo_wrap{padding:5px;width:calc(100% - 2 *5px)}.wdi_feed_thumbnail_1 .wdi_photo_wrap_inner{border:5px solid #ffffff;background-color:#FFFFFF}.wdi_feed_thumbnail_1 .wdi_photo_img{border-radius:0px}.wdi_feed_thumbnail_1 .wdi_photo_meta{background-color:#FFFFFF}.wdi_feed_thumbnail_1 .wdi_thumb_likes{width:50%;float:left;font-size:13px;;color:#8a8d8e}.wdi_feed_thumbnail_1 .wdi_thumb_comments{width:50%;float:left;font-size:13px;;color:#8a8d8e}.wdi_feed_thumbnail_1 .wdi_photo_title{font-size:14px;color:#125688}.wdi_feed_thumbnail_1 .wdi_photo_title:hover{color:#8e8e8e}.wdi_feed_thumbnail_1 .wdi_load_more_spinner{color:#1e73be;font-size:18.2px}.wdi_feed_thumbnail_1 .wdi_load_more,.wdi_feed_thumbnail_1 .wdi_spinner{background-color:#FFFFFF;text-align:center}.wdi_feed_thumbnail_1 .wdi_load_more_wrap,.wdi_feed_thumbnail_1 .wdi_spinner_wrap{padding:4px;background-color:#ffffff;border-radius:500px;height:90px;width:90px;border:1px solid #0f4973;}.wdi_feed_thumbnail_1 .wdi_photo_overlay:hover{background-color:rgba(18,86,136,0.5)}.wdi_feed_thumbnail_1 .wdi_photo_overlay i{font-size:25px}.wdi_feed_thumbnail_1 .wdi_photo_overlay:hover i{color:#FFFFFF}.wdi_feed_thumbnail_1 .wdi_photo_img:hover img{-webkit-transform:translateX(-50%) translateY(-50%) none;-moz-transform:translateX(-50%) translateY(-50%) none;-ms-transform:translateX(-50%) translateY(-50%) none;-o-transform:translateX(-50%) translateY(-50%) none;transform:translateX(-50%) translateY(-50%) none}.wdi_feed_thumbnail_1 .wdi_filter_active_bg{background-color:#429fff}.wdi_feed_thumbnail_1 .wdi_media_user{color:#FFFFFF;;background-color:#429FFF;}.wdi_feed_masonry_1 .wdi_feed_container{width:100%;background-color:#FFFFFF;border-bottom:5px solid #FFFFFF;}.wdi_feed_masonry_1 .wdi_header_img_wrap,.wdi_feed_masonry_1 .wdi_users_img_wrap{height:40px;width:40px;border-radius:0px}.wdi_feed_masonry_1 .wdi_photo_wrap{padding:5px}.wdi_feed_masonry_1 .wdi_photo_wrap_inner{border:0px solid gray;background-color:#FFFFFF}.wdi_feed_masonry_1 .wdi_photo_img{border-radius:0px}.wdi_feed_masonry_1 .wdi_photo_meta{background-color:#FFFFFF}.wdi_feed_masonry_1 .wdi_thumb_likes{width:50%;float:left;font-size:13px;;color:#8a8d8e}.wdi_feed_masonry_1 .wdi_thumb_comments{width:50%;float:left;font-size:13px;;color:#8a8d8e}.wdi_feed_masonry_1 .wdi_photo_title{font-size:14px;color:#125688}.wdi_feed_masonry_1 .wdi_photo_title:hover{color:#8e8e8e}.wdi_feed_masonry_1 .wdi_load_more_spinner{color:#1e73be;font-size:21px}.wdi_feed_masonry_1 .wdi_load_more,.wdi_feed_masonry_1 .wdi_spinner{background-color:#FFFFFF;text-align:center}.wdi_feed_masonry_1 .wdi_load_more_wrap,.wdi_feed_masonry_1 .wdi_spinner_wrap{padding:4px;background-color:#ffffff;border-radius:500px;height:90px;width:90px;border:1px solid #0f4973;}.wdi_feed_masonry_1 .wdi_photo_overlay:hover{background-color:rgba(18,86,136,0.5)}.wdi_feed_masonry_1 .wdi_photo_overlay i{font-size:25px}.wdi_feed_masonry_1 .wdi_photo_overlay:hover i{color:#FFFFFF}.wdi_feed_masonry_1 .wdi_photo_img:hover img{transform:none}.wdi_feed_masonry_1 .wdi_filter_active_bg{background-color:#429fff}.wdi_feed_masonry_1 .wdi_media_user{color:#FFFFFF;;background-color:#429FFF;}.wdi_feed_blog_1 .wdi_feed_container{width:100%;background-color:#FFFFFF}.wdi_feed_blog_1 .wdi_header_img_wrap,.wdi_feed_blog_1 .wdi_users_img_wrap{height:40px;width:40px;border-radius:0px}.wdi_feed_blog_1 .wdi_photo_wrap{padding:5px}.wdi_feed_blog_1 .wdi_photo_wrap_inner{border:0px solid gray;background-color:#FFFFFF}.wdi_feed_blog_1 .wdi_photo_img{border-radius:0px}.wdi_feed_blog_1 .wdi_photo_meta{background-color:#FFFFFF}.wdi_feed_blog_1 .wdi_thumb_likes{width:50%;float:left;font-size:20px;;color:#8a8d8e}.wdi_feed_blog_1 .wdi_thumb_comments{width:50%;float:left;font-size:20px;;color:#8a8d8e}.wdi_feed_blog_1 .wdi_photo_title{font-size:16px;color:#125688}.wdi_feed_blog_1 .wdi_photo_title:hover{color:#8e8e8e}.wdi_feed_blog_1 .wdi_load_more_spinner{color:#1e73be;font-size:21px}.wdi_feed_blog_1 .wdi_load_more,.wdi_feed_blog_1 .wdi_spinner{background-color:#FFFFFF;text-align:center}.wdi_feed_blog_1 .wdi_load_more_wrap,.wdi_feed_blog_1 .wdi_spinner_wrap{padding:4px;background-color:#ffffff;border-radius:500px;height:90px;width:90px;border:1px solid #0f4973;}.wdi_feed_browser_1 .wdi_feed_container{width:100%;background-color:#FFFFFF;border-bottom:5px solid #FFFFFF;}.wdi_feed_browser_1 .wdi_header_img_wrap,.wdi_feed_browser_1 .wdi_users_img_wrap{height:40px;width:40px;border-radius:0px}.wdi_feed_browser_1 .wdi_photo_wrap{padding:5px}.wdi_feed_browser_1 .wdi_photo_wrap_inner{border:0px solid gray;background-color:#FFFFFF}.wdi_feed_browser_1 .wdi_photo_img{border-radius:0px}.wdi_feed_browser_1 .wdi_photo_meta{background-color:#FFFFFF}.wdi_feed_browser_1 .wdi_thumb_likes{width:50%;float:left;font-size:20px;;color:#8a8d8e}.wdi_feed_browser_1 .wdi_thumb_comments{width:50%;float:left;font-size:20px;;color:#8a8d8e}.wdi_feed_browser_1 .wdi_photo_title{font-size:16px;color:#125688}.wdi_feed_browser_1 .wdi_photo_title:hover{color:#8e8e8e}.wdi_feed_browser_1 .wdi_load_more{background-color:#FFFFFF;text-align:center}.wdi_feed_browser_1 .wdi_load_more_wrap{padding:4px;background-color:#ffffff;border-radius:500px;height:90px;width:90px;border:1px solid #0f4973;}.wdi_spider_popup_wrap *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.wdi_feed_theme_1 .wdi_spider_popup_overlay{background-color:#25292c;opacity:0.9}.wdi_lightbox_theme_1.wdi_spider_popup_wrap{background-color:#ffffff;display:inline-block;left:50%;outline:medium none;position:fixed;text-align:center;top:50%;z-index:100000}.wdi_lightbox_theme_1 .wdi_ctrl_btn{color:#FFFFFF;font-size:20px;margin:10px 7px;opacity:1.00;filter:Alpha(opacity=100)}.wdi_lightbox_theme_1 .wdi_toggle_btn{color:#FFFFFF;font-size:14px;margin:0;opacity:1.00;filter:Alpha(opacity=100);padding:0}.wdi_btn_container{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:0}.wdi_lightbox_theme_1 .wdi_ctrl_btn_container{background-color:rgba(42,91,131,0.80);bottom:0;border-top-left-radius:4px;border-top-right-radius:4px;height:40px;position:absolute;text-align:center;width:100%;z-index:10150}.wdi_lightbox_theme_1 .wdi_toggle_container{background:none repeat scroll 0 0 #2a5b83;border-top-left-radius:4px;border-top-right-radius:4px;border-radius:4px;bottom:40px;cursor:pointer;left:50%;line-height:0;margin-left:-50px;opacity:0.80;filter:Alpha(opacity=80);position:absolute;text-align:center;width:100px;z-index:10150}.wdi_lightbox_theme_1 .wdi_close_btn{opacity:1.00;filter:Alpha(opacity=100)}.wdi_lightbox_theme_1 .wdi_spider_popup_close{background-color:#2a5b83;border-radius:16px;border:2px none #FFFFFF;box-shadow:none;color:#FFFFFF;height:20px;font-size:15px;right:-10px;top:-10px;width:20px}.wdi_lightbox_theme_1 .wdi_spider_popup_close_fullscreen{color:#000000;font-size:15px;right:15px}.wdi_spider_popup_close span,#wdi_spider_popup_left-ico span,#wdi_spider_popup_right-ico span{display:table-cell;text-align:center;vertical-align:middle}.wdi_lightbox_theme_1 #wdi_spider_popup_left-ico,.wdi_lightbox_theme_1 #wdi_spider_popup_right-ico{background-color:#2a5b83;border-radius:20px;border:0px none #FFFFFF;box-shadow:none;color:#FFFFFF;height:40px;font-size:20px;width:40px;opacity:0.80;filter:Alpha(opacity=80)}.wdi_lightbox_theme_1 .wdi_ctrl_btn:hover,.wdi_lightbox_theme_1 .wdi_toggle_btn:hover,.wdi_lightbox_theme_1 #wdi_spider_popup_left-ico:hover,.wdi_lightbox_theme_1 #wdi_spider_popup_right-ico:hover{color:#25292c;cursor:pointer}.wdi_lightbox_theme_1 .wdi_spider_popup_close:hover,.wdi_lightbox_theme_1 .wdi_spider_popup_close_fullscreen:hover{color:#000000;cursor:pointer}.wdi_image_wrap{height:inherit;display:table;position:absolute;text-align:center;width:inherit}.wdi_image_wrap *{-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.wdi_embed_frame{text-align:center}.wdi_comment_wrap{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:0;z-index:-1}.wdi_lightbox_theme_1 .wdi_comment_container{-moz-box-sizing:border-box;background-color:#ffffff;color:#000000;font-size:12px;font-family:segoe ui;height:100%;overflow:hidden;position:absolute;right:-400px;top:0;width:400px;z-index:10103}.wdi_lightbox_theme_1 .wdi_comments{bottom:0;font-size:12px;font-family:segoe ui;height:100%;left:0;overflow-x:hidden;overflow-y:auto;position:absolute;top:0;width:100%;z-index:10101}.wdi_comments p,.wdi_comment_body_p{margin:5px !important;text-align:left;word-wrap:break-word;word-break:break-word}.wdi_no_comment{text-align:center !important}.wdi_lightbox_theme_1 .wdi_comments input[type="submit"]{background:none repeat scroll 0 0 #616161;border:1px none #666666;border-radius:3px;color:#000000;cursor:pointer;padding:3px 10px}.wdi_lightbox_theme_1 .wdi_comments input[type="text"],.wdi_lightbox_theme_1 .wdi_comments textarea{background:none repeat scroll 0 0 #333333;border:1px none #666666;border-radius:0px;color:#000000;padding:2px;width:100%}.wdi_comments textarea{resize:vertical}.wdi_lightbox_theme_1 .wdi_comment_header_p{border-top:1px solid #125688}.wdi_lightbox_theme_1 .wdi_comment_header{margin-top:2px;display:inline-block;color:#000000;font-size:14px}.wdi_lightbox_theme_1 .wdi_comment_date{color:#000000;float:right;font-size:10px}.wdi_lightbox_theme_1 .wdi_comment_body{color:#000000;font-size:12px}.wdi_comment_delete_btn{color:#FFFFFF;cursor:pointer;float:right;font-size:14px;margin:2px}.wdi_lightbox_theme_1 .wdi_comments_close{cursor:pointer;line-height:0;position:absolute;font-size:13px;text-align:left;margin:5px;left:0;top:0;background-color:#ffffff;z-index:10202}.wdi_comments_close i{z-index:10201}.wdi_comment_textarea::-webkit-scrollbar{width:4px}.wdi_comment_textarea::-webkit-scrollbar-track{}.wdi_comment_textarea::-webkit-scrollbar-thumb{background-color:rgba(255,255,255,0.55);border-radius:2px}.wdi_comment_textarea::-webkit-scrollbar-thumb:hover{background-color:#D9D9D9}.wdi_ctrl_btn_container a,.wdi_ctrl_btn_container a:hover{text-decoration:none}.wdi_facebook:hover{color:#3B5998 !important;cursor:pointer}.wdi_twitter:hover{color:#4099FB !important;cursor:pointer}.wdi_google:hover{color:#DD4B39 !important;cursor:pointer}.wdi_pinterest:hover{color:#cb2027 !important;cursor:pointer}.wdi_tumblr:hover{color:#2F5070 !important;cursor:pointer}.wdi_linkedin:hover{color:#0077B5 !important;cursor:pointer}.wdi_lightbox_theme_1 .wdi_facebook,.wdi_lightbox_theme_1 .wdi_twitter,.wdi_lightbox_theme_1 .wdi_google,.wdi_lightbox_theme_1 .wdi_pinterest,.wdi_lightbox_theme_1 .wdi_tumblr,.wdi_lightbox_theme_1 .wdi_linkedin{color:#ffffff !important}.wdi_lightbox_theme_1 .wdi_thumb_active{opacity:1;filter:Alpha(opacity=100);border:0px solid #FFFFFF}.wdi_lightbox_theme_1 .wdi_thumb_deactive{opacity:0.70;filter:Alpha(opacity=70)}.wdi_lightbox_theme_1 .wdi_filmstrip_thumbnail_img{display:block;opacity:1;filter:Alpha(opacity=100)}.wdi_lightbox_theme_1 .wdi_filmstrip_left i,.wdi_lightbox_theme_1 .wdi_filmstrip_right i{color:#FFFFFF;font-size:20px}.wdi_none_selectable{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.wdi_slide_container{display:table-cell;position:absolute;vertical-align:middle;width:100%;height:100%}.wdi_slide_bg{margin:0 auto;width:inherit;height:inherit}.wdi_slider{height:inherit;width:inherit}.wdi_popup_image_spun{height:inherit;display:table-cell;filter:Alpha(opacity=100);opacity:1;position:absolute;vertical-align:middle;width:inherit;z-index:2}.wdi_popup_image_second_spun{width:inherit;height:inherit;display:table-cell;filter:Alpha(opacity=0);opacity:0;position:absolute;vertical-align:middle;z-index:1}.wdi_grid{display:none;height:100%;overflow:hidden;position:absolute;width:100%}.wdi_gridlet{opacity:1;filter:Alpha(opacity=100);position:absolute}.wdi_lightbox_theme_1 .wdi_image_info_spun{text-align:right;vertical-align:top}.wdi_lightbox_theme_1 .wdi_image_title,.wdi_lightbox_theme_1 .wdi_image_title *{color:#FFFFFF !important;font-family:segoe ui;font-size:13px;font-weight:bold}.wdi_lightbox_theme_1 .wdi_image_description,.wdi_lightbox_theme_1 .wdi_image_description *{color:#FFFFFF !important;font-family:segoe ui;font-size:14px;font-weight:normal}.wdi_title{display:inline-table}.wdi_title:hover{cursor:pointer}.wdi_title .wdi_users_img_wrap{width:50px;display:table-cell;vertical-align:middle;float:right;padding-left:10px;overflow:hidden}.wdi_title .wdi_users_img_wrap img{width:100%}.wdi_title .wdi_header_text{display:table-cell;vertical-align:middle;word-break:break-all}.wdi_lightbox_theme_1 .wdi_share_btns{position:absolute;top:-115%;width:150px;border-radius:3px;left:-150%;margin:0;z-index:200000;background-color:rgba(42,91,131,0.80)}.wdi_share_btns_container{position:relative;display:inline-block}.wdi_lightbox_theme_1 .wdi_share_popup_btn{color:#FFFFFF;padding:3px;opacity:1.00;filter:Alpha(opacity=100);font-size:20px}.wdi_lightbox_theme_1 .wdi_share_caret{font-size:15px;color:#2a5b83;opacity:0.80;position:absolute;top:-25px;left:13px}.wdi_share_toggler{display:block !important}.wdi_facebook_btn:hover{color:#45619D}.wdi_facebook_btn:hover{color:#4099FB}.wdi_lightbox_theme_1 .wdi_comment_header a,.wdi_lightbox_theme_1 .wdi_comment_header a:visited{color:#125688 !important}.wdi_lightbox_theme_1 .wdi_comm_text_link,.wdi_lightbox_theme_1 a.wdi_comm_text_link:visited{color:#125688!important}.wdi_lightbox_theme_1 .wdi_comment_header a:hover,.wdi_lightbox_theme_1 a.wdi_comm_text_link:hover{text-decoration:none;color:#002160!important}.wdi_lightbox_theme_1 .wdi_load_more_comments{display:inline-block;color:#125688;background-color:#ffffff;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;font-family:'Verdana',sans-serif;text-transform:capitalize;font-size:17px}.wdi_lightbox_theme_1 .wdi_load_more_comments:hover{color:#000000;cursor:pointer}.wdi_popup_image{vertical-align:middle;display:inline-block}.wdi_popup_embed{vertical-align:middle;text-align:center;display:inline-block}.wdi_image_container{display:table;position:absolute;text-align:center;vertical-align:middle;width:100%}.wdi_lightbox_theme_1 .wdi_filmstrip_container{display:table;position:absolute;z-index:10105;top:0}.wdi_filmstrip{overflow:hidden;position:absolute;z-index:10106}.wdi_filmstrip_thumbnails{margin:0 auto;overflow:hidden;position:relative}.wdi_lightbox_theme_1 .wdi_filmstrip_thumbnail{position:relative;background:none;border:1px solid #25292c;border-radius:0px;cursor:pointer;float:left;margin:0 1px;overflow:hidden}.wdi_lightbox_theme_1 .wdi_filmstrip_left{background-color:#3B3B3B;cursor:pointer;display:table-cell;vertical-align:middle;z-index:10106}.wdi_lightbox_theme_1 .wdi_filmstrip_right{background-color:#3B3B3B;cursor:pointer;right:0;display:table-cell;vertical-align:middle;z-index:10106}.wdi_lightbox_theme_1 .wdi_image_info{background:rgba(59,59,59,0.80);border:1px none #3b3b3b;border-radius:5px;padding:5px;overflow:auto}@media (max-width:480px){.wdi_image_count_container{display:none}.wdi_image_title,.wdi_image_title *{font-size:12px}.wdi_image_description,.wdi_image_description *{font-size:10px}}.wdi_image_count_container{left:0;line-height:1;position:absolute;vertical-align:middle}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.wdi_feed_theme_1 .wdi_feed_wrapper {
|
| 2 |
+
width: 100%;
|
| 3 |
+
background-color: #FFFFFF;
|
| 4 |
+
text-align: left
|
| 5 |
+
}
|
| 6 |
+
|
| 7 |
+
.wdi_feed_theme_1 .wdi_feed_header {
|
| 8 |
+
margin: 0px;
|
| 9 |
+
padding: 5px;
|
| 10 |
+
border: 0px solid #DDDDDD;
|
| 11 |
+
text-align: left
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
.wdi_feed_theme_1 .wdi_header_text {
|
| 15 |
+
font-size: 18px;
|
| 16 |
+
font-style: normal;
|
| 17 |
+
padding: 5px;
|
| 18 |
+
color: #0F4973;
|
| 19 |
+
font-weight: 400;
|
| 20 |
+
line-height: 40px
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
.wdi_feed_theme_1 .wdi_single_user {
|
| 24 |
+
padding-top: 5px;
|
| 25 |
+
padding-bottom: 5px;
|
| 26 |
+
padding-left: 5px;
|
| 27 |
+
padding-right: 5px
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
.wdi_feed_theme_1 .wdi_header_hashtag h3 {
|
| 31 |
+
margin-top: 11px
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
.wdi_feed_theme_1 .wdi_header_user_text h3 {
|
| 35 |
+
font-size: 18px;
|
| 36 |
+
font-style: normal;
|
| 37 |
+
line-height: 18px;
|
| 38 |
+
color: #0F4973;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.wdi_feed_theme_1 .wdi_user_img_wrap img {
|
| 42 |
+
height: 40px;
|
| 43 |
+
width: 40px;
|
| 44 |
+
border-radius: 40px
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
.wdi_feed_theme_1 .wdi_media_info {
|
| 48 |
+
margin-left: 50px;
|
| 49 |
+
line-height: 18px;
|
| 50 |
+
color: #0F4973
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
.wdi_feed_theme_1 .wdi_bio {
|
| 54 |
+
color: #0F4973;
|
| 55 |
+
font-size: 14px
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
.wdi_feed_theme_1 .wdi_follow_btn {
|
| 59 |
+
border-radius: 3px;
|
| 60 |
+
font-size: 18px;
|
| 61 |
+
background-color: #FFFFFF;
|
| 62 |
+
border-color: #0F4973;
|
| 63 |
+
color: #0F4973;
|
| 64 |
+
margin-left: 10px;
|
| 65 |
+
padding: 0 25px
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
.wdi_feed_theme_1 .wdi_follow_btn:hover {
|
| 69 |
+
border-color: #0F4973;
|
| 70 |
+
color: #0F4973;
|
| 71 |
+
background-color: #FFFFFF
|
| 72 |
+
}
|
| 73 |
+
|
| 74 |
+
.wdi_feed_theme_1 .wdi_filter_overlay {
|
| 75 |
+
width: 40px;
|
| 76 |
+
height: 40px;
|
| 77 |
+
border-radius: 40px;
|
| 78 |
+
background-color: #125688
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
.wdi_feed_theme_1 .wdi_filter_icon span {
|
| 82 |
+
width: 40px;
|
| 83 |
+
height: 40px
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
.wdi_feed_theme_1 .wdi_load_more_text {
|
| 87 |
+
color: #1E73BE;
|
| 88 |
+
font-size: 14px
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
.wdi_feed_theme_1 .wdi_load_more_text img {
|
| 92 |
+
height: 90px;
|
| 93 |
+
width: 90px
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
.wdi_feed_theme_1 .wdi_load_more_wrap:hover {
|
| 97 |
+
background-color: transparent
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
.wdi_feed_theme_1 .wdi_pagination {
|
| 101 |
+
text-align: center;
|
| 102 |
+
color: #0F4973;
|
| 103 |
+
font-size: 18px
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
.wdi_feed_theme_1 .wdi_pagination_ctrl {
|
| 107 |
+
margin: 15px
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
.wdi_feed_theme_1 .wdi_pagination_ctrl:hover {
|
| 111 |
+
color: #25292C
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
.wdi_feed_theme_1 .wdi_filter_active_col {
|
| 115 |
+
color: #429FFF;
|
| 116 |
+
border-color: #429FFF
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
.wdi_feed_thumbnail_1 .wdi_feed_container {
|
| 120 |
+
width: 100%;
|
| 121 |
+
background-color: #FFFFFF;
|
| 122 |
+
border-bottom: 5px solid #FFFFFF;
|
| 123 |
+
}
|
| 124 |
+
|
| 125 |
+
.wdi_feed_thumbnail_1 .wdi_header_img_wrap {
|
| 126 |
+
height: 40px;
|
| 127 |
+
width: 40px;
|
| 128 |
+
border-radius: 0px
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
.wdi_feed_thumbnail_1 .wdi_photo_wrap {
|
| 132 |
+
padding: 5px;
|
| 133 |
+
width: calc(100% - 2 * 5px)
|
| 134 |
+
}
|
| 135 |
+
|
| 136 |
+
.wdi_feed_thumbnail_1 .wdi_photo_wrap_inner {
|
| 137 |
+
border: 5px solid #FFFFFF;
|
| 138 |
+
background-color: #FFFFFF
|
| 139 |
+
}
|
| 140 |
+
|
| 141 |
+
.wdi_feed_thumbnail_1 .wdi_photo_img {
|
| 142 |
+
border-radius: 0px
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
.wdi_feed_thumbnail_1 .wdi_photo_meta {
|
| 146 |
+
background-color: #FFFFFF
|
| 147 |
+
}
|
| 148 |
+
|
| 149 |
+
.wdi_feed_thumbnail_1 .wdi_thumb_likes {
|
| 150 |
+
width: 50%;
|
| 151 |
+
float: left;
|
| 152 |
+
font-size: 13px;;
|
| 153 |
+
color: #8A8D8E
|
| 154 |
+
}
|
| 155 |
+
|
| 156 |
+
.wdi_feed_thumbnail_1 .wdi_thumb_comments {
|
| 157 |
+
width: 50%;
|
| 158 |
+
float: left;
|
| 159 |
+
font-size: 13px;;
|
| 160 |
+
color: #8A8D8E
|
| 161 |
+
}
|
| 162 |
+
|
| 163 |
+
.wdi_feed_thumbnail_1 .wdi_photo_title {
|
| 164 |
+
font-size: 14px;
|
| 165 |
+
color: #125688
|
| 166 |
+
}
|
| 167 |
+
|
| 168 |
+
.wdi_feed_thumbnail_1 .wdi_photo_title:hover {
|
| 169 |
+
color: #8E8E8E
|
| 170 |
+
}
|
| 171 |
+
|
| 172 |
+
.wdi_feed_thumbnail_1 .wdi_load_more_spinner {
|
| 173 |
+
color: #1E73BE;
|
| 174 |
+
font-size: 18.2px
|
| 175 |
+
}
|
| 176 |
+
|
| 177 |
+
.wdi_feed_thumbnail_1 .wdi_load_more, .wdi_feed_thumbnail_1 .wdi_spinner {
|
| 178 |
+
background-color: #FFFFFF;
|
| 179 |
+
text-align: center
|
| 180 |
+
}
|
| 181 |
+
|
| 182 |
+
.wdi_feed_thumbnail_1 .wdi_load_more_wrap, .wdi_feed_thumbnail_1 .wdi_spinner_wrap {
|
| 183 |
+
padding: 4px;
|
| 184 |
+
background-color: #FFFFFF;
|
| 185 |
+
border-radius: 500px;
|
| 186 |
+
height: 90px;
|
| 187 |
+
width: 90px;
|
| 188 |
+
border: 1px solid #0F4973;
|
| 189 |
+
}
|
| 190 |
+
|
| 191 |
+
.wdi_feed_thumbnail_1 .wdi_photo_overlay:hover {
|
| 192 |
+
background-color: rgba(18, 86, 136, 0.5)
|
| 193 |
+
}
|
| 194 |
+
|
| 195 |
+
.wdi_feed_thumbnail_1 .wdi_photo_overlay i {
|
| 196 |
+
font-size: 25px
|
| 197 |
+
}
|
| 198 |
+
|
| 199 |
+
.wdi_feed_thumbnail_1 .wdi_photo_overlay:hover i {
|
| 200 |
+
color: #FFFFFF
|
| 201 |
+
}
|
| 202 |
+
|
| 203 |
+
.wdi_feed_thumbnail_1 .wdi_photo_img:hover img {
|
| 204 |
+
-webkit-transform: translateX(-50%) translateY(-50%) none;
|
| 205 |
+
-moz-transform: translateX(-50%) translateY(-50%) none;
|
| 206 |
+
-ms-transform: translateX(-50%) translateY(-50%) none;
|
| 207 |
+
-o-transform: translateX(-50%) translateY(-50%) none;
|
| 208 |
+
transform: translateX(-50%) translateY(-50%) none
|
| 209 |
+
}
|
| 210 |
+
|
| 211 |
+
.wdi_feed_thumbnail_1 .wdi_filter_active_bg {
|
| 212 |
+
background-color: #429FFF
|
| 213 |
+
}
|
| 214 |
+
|
| 215 |
+
.wdi_feed_thumbnail_1 .wdi_media_user {
|
| 216 |
+
color: #FFFFFF;;
|
| 217 |
+
background-color: #429FFF;
|
| 218 |
+
}
|
| 219 |
+
|
| 220 |
+
.wdi_feed_masonry_1 .wdi_feed_container {
|
| 221 |
+
width: 100%;
|
| 222 |
+
background-color: #FFFFFF;
|
| 223 |
+
border-bottom: 5px solid #FFFFFF;
|
| 224 |
+
}
|
| 225 |
+
|
| 226 |
+
.wdi_feed_masonry_1 .wdi_header_img_wrap, .wdi_feed_masonry_1 .wdi_users_img_wrap {
|
| 227 |
+
height: 40px;
|
| 228 |
+
width: 40px;
|
| 229 |
+
border-radius: 0px
|
| 230 |
+
}
|
| 231 |
+
|
| 232 |
+
.wdi_feed_masonry_1 .wdi_photo_wrap {
|
| 233 |
+
padding: 5px
|
| 234 |
+
}
|
| 235 |
+
|
| 236 |
+
.wdi_feed_masonry_1 .wdi_photo_wrap_inner {
|
| 237 |
+
border: 0px solid gray;
|
| 238 |
+
background-color: #FFFFFF
|
| 239 |
+
}
|
| 240 |
+
|
| 241 |
+
.wdi_feed_masonry_1 .wdi_photo_img {
|
| 242 |
+
border-radius: 0px
|
| 243 |
+
}
|
| 244 |
+
|
| 245 |
+
.wdi_feed_masonry_1 .wdi_photo_meta {
|
| 246 |
+
background-color: #FFFFFF
|
| 247 |
+
}
|
| 248 |
+
|
| 249 |
+
.wdi_feed_masonry_1 .wdi_thumb_likes {
|
| 250 |
+
width: 50%;
|
| 251 |
+
float: left;
|
| 252 |
+
font-size: 13px;;
|
| 253 |
+
color: #8A8D8E
|
| 254 |
+
}
|
| 255 |
+
|
| 256 |
+
.wdi_feed_masonry_1 .wdi_thumb_comments {
|
| 257 |
+
width: 50%;
|
| 258 |
+
float: left;
|
| 259 |
+
font-size: 13px;;
|
| 260 |
+
color: #8A8D8E
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
.wdi_feed_masonry_1 .wdi_photo_title {
|
| 264 |
+
font-size: 14px;
|
| 265 |
+
color: #125688
|
| 266 |
+
}
|
| 267 |
+
|
| 268 |
+
.wdi_feed_masonry_1 .wdi_photo_title:hover {
|
| 269 |
+
color: #8E8E8E
|
| 270 |
+
}
|
| 271 |
+
|
| 272 |
+
.wdi_feed_masonry_1 .wdi_load_more_spinner {
|
| 273 |
+
color: #1E73BE;
|
| 274 |
+
font-size: 21px
|
| 275 |
+
}
|
| 276 |
+
|
| 277 |
+
.wdi_feed_masonry_1 .wdi_load_more, .wdi_feed_masonry_1 .wdi_spinner {
|
| 278 |
+
background-color: #FFFFFF;
|
| 279 |
+
text-align: center
|
| 280 |
+
}
|
| 281 |
+
|
| 282 |
+
.wdi_feed_masonry_1 .wdi_load_more_wrap, .wdi_feed_masonry_1 .wdi_spinner_wrap {
|
| 283 |
+
padding: 4px;
|
| 284 |
+
background-color: #FFFFFF;
|
| 285 |
+
border-radius: 500px;
|
| 286 |
+
height: 90px;
|
| 287 |
+
width: 90px;
|
| 288 |
+
border: 1px solid #0F4973;
|
| 289 |
+
}
|
| 290 |
+
|
| 291 |
+
.wdi_feed_masonry_1 .wdi_photo_overlay:hover {
|
| 292 |
+
background-color: rgba(18, 86, 136, 0.5)
|
| 293 |
+
}
|
| 294 |
+
|
| 295 |
+
.wdi_feed_masonry_1 .wdi_photo_overlay i {
|
| 296 |
+
font-size: 25px
|
| 297 |
+
}
|
| 298 |
+
|
| 299 |
+
.wdi_feed_masonry_1 .wdi_photo_overlay:hover i {
|
| 300 |
+
color: #FFFFFF
|
| 301 |
+
}
|
| 302 |
+
|
| 303 |
+
.wdi_feed_masonry_1 .wdi_photo_img:hover img {
|
| 304 |
+
transform: none
|
| 305 |
+
}
|
| 306 |
+
|
| 307 |
+
.wdi_feed_masonry_1 .wdi_filter_active_bg {
|
| 308 |
+
background-color: #429FFF
|
| 309 |
+
}
|
| 310 |
+
|
| 311 |
+
.wdi_feed_masonry_1 .wdi_media_user {
|
| 312 |
+
color: #FFFFFF;;
|
| 313 |
+
background-color: #429FFF;
|
| 314 |
+
}
|
| 315 |
+
|
| 316 |
+
.wdi_feed_blog_1 .wdi_feed_container {
|
| 317 |
+
width: 100%;
|
| 318 |
+
background-color: #FFFFFF
|
| 319 |
+
}
|
| 320 |
+
|
| 321 |
+
.wdi_feed_blog_1 .wdi_header_img_wrap, .wdi_feed_blog_1 .wdi_users_img_wrap {
|
| 322 |
+
height: 40px;
|
| 323 |
+
width: 40px;
|
| 324 |
+
border-radius: 0px
|
| 325 |
+
}
|
| 326 |
+
|
| 327 |
+
.wdi_feed_blog_1 .wdi_photo_wrap {
|
| 328 |
+
padding: 5px
|
| 329 |
+
}
|
| 330 |
+
|
| 331 |
+
.wdi_feed_blog_1 .wdi_photo_wrap_inner {
|
| 332 |
+
border: 0px solid gray;
|
| 333 |
+
background-color: #FFFFFF
|
| 334 |
+
}
|
| 335 |
+
|
| 336 |
+
.wdi_feed_blog_1 .wdi_photo_img {
|
| 337 |
+
border-radius: 0px
|
| 338 |
+
}
|
| 339 |
+
|
| 340 |
+
.wdi_feed_blog_1 .wdi_photo_meta {
|
| 341 |
+
background-color: #FFFFFF
|
| 342 |
+
}
|
| 343 |
+
|
| 344 |
+
.wdi_feed_blog_1 .wdi_thumb_likes {
|
| 345 |
+
width: 50%;
|
| 346 |
+
float: left;
|
| 347 |
+
font-size: 20px;;
|
| 348 |
+
color: #8A8D8E
|
| 349 |
+
}
|
| 350 |
+
|
| 351 |
+
.wdi_feed_blog_1 .wdi_thumb_comments {
|
| 352 |
+
width: 50%;
|
| 353 |
+
float: left;
|
| 354 |
+
font-size: 20px;;
|
| 355 |
+
color: #8A8D8E
|
| 356 |
+
}
|
| 357 |
+
|
| 358 |
+
.wdi_feed_blog_1 .wdi_photo_title {
|
| 359 |
+
font-size: 16px;
|
| 360 |
+
color: #125688
|
| 361 |
+
}
|
| 362 |
+
|
| 363 |
+
.wdi_feed_blog_1 .wdi_photo_title:hover {
|
| 364 |
+
color: #8E8E8E
|
| 365 |
+
}
|
| 366 |
+
|
| 367 |
+
.wdi_feed_blog_1 .wdi_load_more_spinner {
|
| 368 |
+
color: #1E73BE;
|
| 369 |
+
font-size: 21px
|
| 370 |
+
}
|
| 371 |
+
|
| 372 |
+
.wdi_feed_blog_1 .wdi_load_more, .wdi_feed_blog_1 .wdi_spinner {
|
| 373 |
+
background-color: #FFFFFF;
|
| 374 |
+
text-align: center
|
| 375 |
+
}
|
| 376 |
+
|
| 377 |
+
.wdi_feed_blog_1 .wdi_load_more_wrap, .wdi_feed_blog_1 .wdi_spinner_wrap {
|
| 378 |
+
padding: 4px;
|
| 379 |
+
background-color: #FFFFFF;
|
| 380 |
+
border-radius: 500px;
|
| 381 |
+
height: 90px;
|
| 382 |
+
width: 90px;
|
| 383 |
+
border: 1px solid #0F4973;
|
| 384 |
+
}
|
| 385 |
+
|
| 386 |
+
.wdi_feed_browser_1 .wdi_feed_container {
|
| 387 |
+
width: 100%;
|
| 388 |
+
background-color: #FFFFFF;
|
| 389 |
+
border-bottom: 5px solid #FFFFFF;
|
| 390 |
+
}
|
| 391 |
+
|
| 392 |
+
.wdi_feed_browser_1 .wdi_header_img_wrap, .wdi_feed_browser_1 .wdi_users_img_wrap {
|
| 393 |
+
height: 40px;
|
| 394 |
+
width: 40px;
|
| 395 |
+
border-radius: 0px
|
| 396 |
+
}
|
| 397 |
+
|
| 398 |
+
.wdi_feed_browser_1 .wdi_photo_wrap {
|
| 399 |
+
padding: 5px
|
| 400 |
+
}
|
| 401 |
+
|
| 402 |
+
.wdi_feed_browser_1 .wdi_photo_wrap_inner {
|
| 403 |
+
border: 0px solid gray;
|
| 404 |
+
background-color: #FFFFFF
|
| 405 |
+
}
|
| 406 |
+
|
| 407 |
+
.wdi_feed_browser_1 .wdi_photo_img {
|
| 408 |
+
border-radius: 0px
|
| 409 |
+
}
|
| 410 |
+
|
| 411 |
+
.wdi_feed_browser_1 .wdi_photo_meta {
|
| 412 |
+
background-color: #FFFFFF
|
| 413 |
+
}
|
| 414 |
+
|
| 415 |
+
.wdi_feed_browser_1 .wdi_thumb_likes {
|
| 416 |
+
width: 50%;
|
| 417 |
+
float: left;
|
| 418 |
+
font-size: 20px;;
|
| 419 |
+
color: #8A8D8E
|
| 420 |
+
}
|
| 421 |
+
|
| 422 |
+
.wdi_feed_browser_1 .wdi_thumb_comments {
|
| 423 |
+
width: 50%;
|
| 424 |
+
float: left;
|
| 425 |
+
font-size: 20px;;
|
| 426 |
+
color: #8A8D8E
|
| 427 |
+
}
|
| 428 |
+
|
| 429 |
+
.wdi_feed_browser_1 .wdi_photo_title {
|
| 430 |
+
font-size: 16px;
|
| 431 |
+
color: #125688
|
| 432 |
+
}
|
| 433 |
+
|
| 434 |
+
.wdi_feed_browser_1 .wdi_photo_title:hover {
|
| 435 |
+
color: #8E8E8E
|
| 436 |
+
}
|
| 437 |
+
|
| 438 |
+
.wdi_feed_browser_1 .wdi_load_more {
|
| 439 |
+
background-color: #FFFFFF;
|
| 440 |
+
text-align: center
|
| 441 |
+
}
|
| 442 |
+
|
| 443 |
+
.wdi_feed_browser_1 .wdi_load_more_wrap {
|
| 444 |
+
padding: 4px;
|
| 445 |
+
background-color: #FFFFFF;
|
| 446 |
+
border-radius: 500px;
|
| 447 |
+
height: 90px;
|
| 448 |
+
width: 90px;
|
| 449 |
+
border: 1px solid #0F4973;
|
| 450 |
+
}
|
| 451 |
+
|
| 452 |
+
.wdi_spider_popup_wrap * {
|
| 453 |
+
-moz-box-sizing: border-box;
|
| 454 |
+
-webkit-box-sizing: border-box;
|
| 455 |
+
box-sizing: border-box
|
| 456 |
+
}
|
| 457 |
+
|
| 458 |
+
.wdi_feed_theme_1 .wdi_spider_popup_overlay {
|
| 459 |
+
background-color: #25292C;
|
| 460 |
+
opacity: 0.9
|
| 461 |
+
}
|
| 462 |
+
|
| 463 |
+
.wdi_lightbox_theme_1.wdi_spider_popup_wrap {
|
| 464 |
+
background-color: #FFFFFF;
|
| 465 |
+
display: inline-block;
|
| 466 |
+
left: 50%;
|
| 467 |
+
outline: medium none;
|
| 468 |
+
position: fixed;
|
| 469 |
+
text-align: center;
|
| 470 |
+
top: 50%;
|
| 471 |
+
z-index: 100000
|
| 472 |
+
}
|
| 473 |
+
|
| 474 |
+
.wdi_lightbox_theme_1 .wdi_ctrl_btn {
|
| 475 |
+
color: #FFFFFF;
|
| 476 |
+
font-size: 20px;
|
| 477 |
+
margin: 10px 7px;
|
| 478 |
+
opacity: 1.00;
|
| 479 |
+
filter: Alpha(opacity=100)
|
| 480 |
+
}
|
| 481 |
+
|
| 482 |
+
.wdi_lightbox_theme_1 .wdi_toggle_btn {
|
| 483 |
+
color: #FFFFFF;
|
| 484 |
+
font-size: 14px;
|
| 485 |
+
margin: 0;
|
| 486 |
+
opacity: 1.00;
|
| 487 |
+
filter: Alpha(opacity=100);
|
| 488 |
+
padding: 0
|
| 489 |
+
}
|
| 490 |
+
|
| 491 |
+
.wdi_btn_container {
|
| 492 |
+
bottom: 0;
|
| 493 |
+
left: 0;
|
| 494 |
+
overflow: hidden;
|
| 495 |
+
position: absolute;
|
| 496 |
+
right: 0;
|
| 497 |
+
top: 0
|
| 498 |
+
}
|
| 499 |
+
|
| 500 |
+
.wdi_lightbox_theme_1 .wdi_ctrl_btn_container {
|
| 501 |
+
background-color: rgba(42, 91, 131, 0.80);
|
| 502 |
+
bottom: 0;
|
| 503 |
+
border-top-left-radius: 4px;
|
| 504 |
+
border-top-right-radius: 4px;
|
| 505 |
+
height: 40px;
|
| 506 |
+
position: absolute;
|
| 507 |
+
text-align: center;
|
| 508 |
+
width: 100%;
|
| 509 |
+
z-index: 10150;
|
| 510 |
+
padding: 8px;
|
| 511 |
+
}
|
| 512 |
+
|
| 513 |
+
.wdi_lightbox_theme_1 .wdi_toggle_container {
|
| 514 |
+
background: none repeat scroll 0 0 #2A5B83;
|
| 515 |
+
border-top-left-radius: 4px;
|
| 516 |
+
border-top-right-radius: 4px;
|
| 517 |
+
border-radius: 4px;
|
| 518 |
+
bottom: 40px;
|
| 519 |
+
cursor: pointer;
|
| 520 |
+
left: 50%;
|
| 521 |
+
line-height: 0;
|
| 522 |
+
margin-left: -50px;
|
| 523 |
+
opacity: 0.80;
|
| 524 |
+
filter: Alpha(opacity=80);
|
| 525 |
+
position: absolute;
|
| 526 |
+
text-align: center;
|
| 527 |
+
width: 100px;
|
| 528 |
+
z-index: 10150
|
| 529 |
+
}
|
| 530 |
+
|
| 531 |
+
.wdi_lightbox_theme_1 .wdi_close_btn {
|
| 532 |
+
opacity: 1.00;
|
| 533 |
+
filter: Alpha(opacity=100)
|
| 534 |
+
}
|
| 535 |
+
|
| 536 |
+
.wdi_lightbox_theme_1 .wdi_spider_popup_close {
|
| 537 |
+
background-color: #2A5B83;
|
| 538 |
+
border-radius: 16px;
|
| 539 |
+
border: 2px none #FFFFFF;
|
| 540 |
+
box-shadow: none;
|
| 541 |
+
color: #FFFFFF;
|
| 542 |
+
height: 20px;
|
| 543 |
+
font-size: 15px;
|
| 544 |
+
right: -10px;
|
| 545 |
+
top: -10px;
|
| 546 |
+
width: 20px
|
| 547 |
+
}
|
| 548 |
+
|
| 549 |
+
.wdi_lightbox_theme_1 .wdi_spider_popup_close_fullscreen {
|
| 550 |
+
color: #000000;
|
| 551 |
+
font-size: 15px;
|
| 552 |
+
right: 15px
|
| 553 |
+
}
|
| 554 |
+
|
| 555 |
+
.wdi_spider_popup_close span, #wdi_spider_popup_left-ico span, #wdi_spider_popup_right-ico span {
|
| 556 |
+
display: table-cell;
|
| 557 |
+
text-align: center;
|
| 558 |
+
vertical-align: middle
|
| 559 |
+
}
|
| 560 |
+
|
| 561 |
+
.wdi_lightbox_theme_1 #wdi_spider_popup_left-ico, .wdi_lightbox_theme_1 #wdi_spider_popup_right-ico {
|
| 562 |
+
background-color: #2A5B83;
|
| 563 |
+
border-radius: 20px;
|
| 564 |
+
border: 0px none #FFFFFF;
|
| 565 |
+
box-shadow: none;
|
| 566 |
+
color: #FFFFFF;
|
| 567 |
+
height: 40px;
|
| 568 |
+
font-size: 20px;
|
| 569 |
+
width: 40px;
|
| 570 |
+
opacity: 0.80;
|
| 571 |
+
filter: Alpha(opacity=80)
|
| 572 |
+
}
|
| 573 |
+
|
| 574 |
+
.wdi_lightbox_theme_1 .wdi_ctrl_btn:hover, .wdi_lightbox_theme_1 .wdi_toggle_btn:hover, .wdi_lightbox_theme_1 #wdi_spider_popup_left-ico:hover, .wdi_lightbox_theme_1 #wdi_spider_popup_right-ico:hover {
|
| 575 |
+
color: #25292C;
|
| 576 |
+
cursor: pointer
|
| 577 |
+
}
|
| 578 |
+
|
| 579 |
+
.wdi_lightbox_theme_1 .wdi_spider_popup_close:hover, .wdi_lightbox_theme_1 .wdi_spider_popup_close_fullscreen:hover {
|
| 580 |
+
color: #000000;
|
| 581 |
+
cursor: pointer
|
| 582 |
+
}
|
| 583 |
+
|
| 584 |
+
.wdi_image_wrap {
|
| 585 |
+
height: inherit;
|
| 586 |
+
display: table;
|
| 587 |
+
position: absolute;
|
| 588 |
+
text-align: center;
|
| 589 |
+
width: inherit
|
| 590 |
+
}
|
| 591 |
+
|
| 592 |
+
.wdi_image_wrap * {
|
| 593 |
+
-moz-user-select: none;
|
| 594 |
+
-khtml-user-select: none;
|
| 595 |
+
-webkit-user-select: none;
|
| 596 |
+
-ms-user-select: none;
|
| 597 |
+
user-select: none
|
| 598 |
+
}
|
| 599 |
+
|
| 600 |
+
.wdi_embed_frame {
|
| 601 |
+
text-align: center
|
| 602 |
+
}
|
| 603 |
+
|
| 604 |
+
.wdi_comment_wrap {
|
| 605 |
+
bottom: 0;
|
| 606 |
+
left: 0;
|
| 607 |
+
overflow: hidden;
|
| 608 |
+
position: absolute;
|
| 609 |
+
right: 0;
|
| 610 |
+
top: 0;
|
| 611 |
+
z-index: -1
|
| 612 |
+
}
|
| 613 |
+
|
| 614 |
+
.wdi_lightbox_theme_1 .wdi_comment_container {
|
| 615 |
+
-moz-box-sizing: border-box;
|
| 616 |
+
background-color: #FFFFFF;
|
| 617 |
+
color: #000000;
|
| 618 |
+
font-size: 12px;
|
| 619 |
+
font-family: segoe ui;
|
| 620 |
+
height: 100%;
|
| 621 |
+
overflow: hidden;
|
| 622 |
+
position: absolute;
|
| 623 |
+
right: -400px;
|
| 624 |
+
top: 0;
|
| 625 |
+
width: 400px;
|
| 626 |
+
z-index: 10103
|
| 627 |
+
}
|
| 628 |
+
|
| 629 |
+
.wdi_lightbox_theme_1 .wdi_comments {
|
| 630 |
+
bottom: 0;
|
| 631 |
+
font-size: 12px;
|
| 632 |
+
font-family: segoe ui;
|
| 633 |
+
height: 100%;
|
| 634 |
+
left: 0;
|
| 635 |
+
overflow-x: hidden;
|
| 636 |
+
overflow-y: auto;
|
| 637 |
+
position: absolute;
|
| 638 |
+
top: 0;
|
| 639 |
+
width: 100%;
|
| 640 |
+
z-index: 10101
|
| 641 |
+
}
|
| 642 |
+
|
| 643 |
+
.wdi_comments p, .wdi_comment_body_p {
|
| 644 |
+
margin: 5px !important;
|
| 645 |
+
text-align: left;
|
| 646 |
+
word-wrap: break-word;
|
| 647 |
+
word-break: break-word
|
| 648 |
+
}
|
| 649 |
+
|
| 650 |
+
.wdi_no_comment {
|
| 651 |
+
text-align: center !important
|
| 652 |
+
}
|
| 653 |
+
|
| 654 |
+
.wdi_lightbox_theme_1 .wdi_comments input[type="submit"] {
|
| 655 |
+
background: none repeat scroll 0 0 #616161;
|
| 656 |
+
border: 1px none #666666;
|
| 657 |
+
border-radius: 3px;
|
| 658 |
+
color: #000000;
|
| 659 |
+
cursor: pointer;
|
| 660 |
+
padding: 3px 10px
|
| 661 |
+
}
|
| 662 |
+
|
| 663 |
+
.wdi_lightbox_theme_1 .wdi_comments input[type="text"], .wdi_lightbox_theme_1 .wdi_comments textarea {
|
| 664 |
+
background: none repeat scroll 0 0 #333333;
|
| 665 |
+
border: 1px none #666666;
|
| 666 |
+
border-radius: 0px;
|
| 667 |
+
color: #000000;
|
| 668 |
+
padding: 2px;
|
| 669 |
+
width: 100%
|
| 670 |
+
}
|
| 671 |
+
|
| 672 |
+
.wdi_comments textarea {
|
| 673 |
+
resize: vertical
|
| 674 |
+
}
|
| 675 |
+
|
| 676 |
+
.wdi_lightbox_theme_1 .wdi_comment_header_p {
|
| 677 |
+
border-top: 1px solid #125688
|
| 678 |
+
}
|
| 679 |
+
|
| 680 |
+
.wdi_lightbox_theme_1 .wdi_comment_header {
|
| 681 |
+
margin-top: 2px;
|
| 682 |
+
display: inline-block;
|
| 683 |
+
color: #000000;
|
| 684 |
+
font-size: 14px
|
| 685 |
+
}
|
| 686 |
+
|
| 687 |
+
.wdi_lightbox_theme_1 .wdi_comment_date {
|
| 688 |
+
color: #000000;
|
| 689 |
+
float: right;
|
| 690 |
+
font-size: 10px
|
| 691 |
+
}
|
| 692 |
+
|
| 693 |
+
.wdi_lightbox_theme_1 .wdi_comment_body {
|
| 694 |
+
color: #000000;
|
| 695 |
+
font-size: 12px
|
| 696 |
+
}
|
| 697 |
+
|
| 698 |
+
.wdi_comment_delete_btn {
|
| 699 |
+
color: #FFFFFF;
|
| 700 |
+
cursor: pointer;
|
| 701 |
+
float: right;
|
| 702 |
+
font-size: 14px;
|
| 703 |
+
margin: 2px
|
| 704 |
+
}
|
| 705 |
+
|
| 706 |
+
.wdi_lightbox_theme_1 .wdi_comments_close {
|
| 707 |
+
cursor: pointer;
|
| 708 |
+
line-height: 0;
|
| 709 |
+
position: absolute;
|
| 710 |
+
font-size: 13px;
|
| 711 |
+
text-align: left;
|
| 712 |
+
margin: 5px;
|
| 713 |
+
left: 0;
|
| 714 |
+
top: 0;
|
| 715 |
+
background-color: #FFFFFF;
|
| 716 |
+
z-index: 10202
|
| 717 |
+
}
|
| 718 |
+
|
| 719 |
+
.wdi_comments_close i {
|
| 720 |
+
z-index: 10201
|
| 721 |
+
}
|
| 722 |
+
|
| 723 |
+
.wdi_comment_textarea::-webkit-scrollbar {
|
| 724 |
+
width: 4px
|
| 725 |
+
}
|
| 726 |
+
|
| 727 |
+
.wdi_comment_textarea::-webkit-scrollbar-track {
|
| 728 |
+
}
|
| 729 |
+
|
| 730 |
+
.wdi_comment_textarea::-webkit-scrollbar-thumb {
|
| 731 |
+
background-color: rgba(255, 255, 255, 0.55);
|
| 732 |
+
border-radius: 2px
|
| 733 |
+
}
|
| 734 |
+
|
| 735 |
+
.wdi_comment_textarea::-webkit-scrollbar-thumb:hover {
|
| 736 |
+
background-color: #D9D9D9
|
| 737 |
+
}
|
| 738 |
+
|
| 739 |
+
.wdi_ctrl_btn_container a, .wdi_ctrl_btn_container a:hover {
|
| 740 |
+
text-decoration: none
|
| 741 |
+
}
|
| 742 |
+
|
| 743 |
+
.wdi_facebook:hover {
|
| 744 |
+
color: #3B5998 !important;
|
| 745 |
+
cursor: pointer
|
| 746 |
+
}
|
| 747 |
+
|
| 748 |
+
.wdi_twitter:hover {
|
| 749 |
+
color: #4099FB !important;
|
| 750 |
+
cursor: pointer
|
| 751 |
+
}
|
| 752 |
+
|
| 753 |
+
.wdi_google:hover {
|
| 754 |
+
color: #DD4B39 !important;
|
| 755 |
+
cursor: pointer
|
| 756 |
+
}
|
| 757 |
+
|
| 758 |
+
.wdi_pinterest:hover {
|
| 759 |
+
color: #CB2027 !important;
|
| 760 |
+
cursor: pointer
|
| 761 |
+
}
|
| 762 |
+
|
| 763 |
+
.wdi_tumblr:hover {
|
| 764 |
+
color: #2F5070 !important;
|
| 765 |
+
cursor: pointer
|
| 766 |
+
}
|
| 767 |
+
|
| 768 |
+
.wdi_linkedin:hover {
|
| 769 |
+
color: #0077B5 !important;
|
| 770 |
+
cursor: pointer
|
| 771 |
+
}
|
| 772 |
+
|
| 773 |
+
.wdi_lightbox_theme_1 .wdi_facebook, .wdi_lightbox_theme_1 .wdi_twitter, .wdi_lightbox_theme_1 .wdi_google, .wdi_lightbox_theme_1 .wdi_pinterest, .wdi_lightbox_theme_1 .wdi_tumblr, .wdi_lightbox_theme_1 .wdi_linkedin {
|
| 774 |
+
color: #FFFFFF !important
|
| 775 |
+
}
|
| 776 |
+
|
| 777 |
+
.wdi_lightbox_theme_1 .wdi_thumb_active {
|
| 778 |
+
opacity: 1;
|
| 779 |
+
filter: Alpha(opacity=100);
|
| 780 |
+
border: 0px solid #FFFFFF
|
| 781 |
+
}
|
| 782 |
+
|
| 783 |
+
.wdi_lightbox_theme_1 .wdi_thumb_deactive {
|
| 784 |
+
opacity: 0.70;
|
| 785 |
+
filter: Alpha(opacity=70)
|
| 786 |
+
}
|
| 787 |
+
|
| 788 |
+
.wdi_lightbox_theme_1 .wdi_filmstrip_thumbnail_img {
|
| 789 |
+
display: block;
|
| 790 |
+
opacity: 1;
|
| 791 |
+
filter: Alpha(opacity=100)
|
| 792 |
+
}
|
| 793 |
+
|
| 794 |
+
.wdi_lightbox_theme_1 .wdi_filmstrip_left i, .wdi_lightbox_theme_1 .wdi_filmstrip_right i {
|
| 795 |
+
color: #FFFFFF;
|
| 796 |
+
font-size: 20px
|
| 797 |
+
}
|
| 798 |
+
|
| 799 |
+
.wdi_none_selectable {
|
| 800 |
+
-webkit-touch-callout: none;
|
| 801 |
+
-webkit-user-select: none;
|
| 802 |
+
-khtml-user-select: none;
|
| 803 |
+
-moz-user-select: none;
|
| 804 |
+
-ms-user-select: none;
|
| 805 |
+
user-select: none
|
| 806 |
+
}
|
| 807 |
+
|
| 808 |
+
.wdi_slide_container {
|
| 809 |
+
display: table-cell;
|
| 810 |
+
position: absolute;
|
| 811 |
+
vertical-align: middle;
|
| 812 |
+
width: 100%;
|
| 813 |
+
height: 100%
|
| 814 |
+
}
|
| 815 |
+
|
| 816 |
+
.wdi_slide_bg {
|
| 817 |
+
margin: 0 auto;
|
| 818 |
+
width: inherit;
|
| 819 |
+
height: inherit
|
| 820 |
+
}
|
| 821 |
+
|
| 822 |
+
.wdi_slider {
|
| 823 |
+
height: inherit;
|
| 824 |
+
width: inherit
|
| 825 |
+
}
|
| 826 |
+
|
| 827 |
+
.wdi_popup_image_spun {
|
| 828 |
+
height: inherit;
|
| 829 |
+
display: table-cell;
|
| 830 |
+
filter: Alpha(opacity=100);
|
| 831 |
+
opacity: 1;
|
| 832 |
+
position: absolute;
|
| 833 |
+
vertical-align: middle;
|
| 834 |
+
width: inherit;
|
| 835 |
+
z-index: 2
|
| 836 |
+
}
|
| 837 |
+
|
| 838 |
+
.wdi_popup_image_second_spun {
|
| 839 |
+
width: inherit;
|
| 840 |
+
height: inherit;
|
| 841 |
+
display: table-cell;
|
| 842 |
+
filter: Alpha(opacity=0);
|
| 843 |
+
opacity: 0;
|
| 844 |
+
position: absolute;
|
| 845 |
+
vertical-align: middle;
|
| 846 |
+
z-index: 1
|
| 847 |
+
}
|
| 848 |
+
|
| 849 |
+
.wdi_grid {
|
| 850 |
+
display: none;
|
| 851 |
+
height: 100%;
|
| 852 |
+
overflow: hidden;
|
| 853 |
+
position: absolute;
|
| 854 |
+
width: 100%
|
| 855 |
+
}
|
| 856 |
+
|
| 857 |
+
.wdi_gridlet {
|
| 858 |
+
opacity: 1;
|
| 859 |
+
filter: Alpha(opacity=100);
|
| 860 |
+
position: absolute
|
| 861 |
+
}
|
| 862 |
+
|
| 863 |
+
.wdi_lightbox_theme_1 .wdi_image_info_spun {
|
| 864 |
+
text-align: right;
|
| 865 |
+
vertical-align: top
|
| 866 |
+
}
|
| 867 |
+
|
| 868 |
+
.wdi_lightbox_theme_1 .wdi_image_title, .wdi_lightbox_theme_1 .wdi_image_title * {
|
| 869 |
+
color: #FFFFFF !important;
|
| 870 |
+
font-family: segoe ui;
|
| 871 |
+
font-size: 13px;
|
| 872 |
+
font-weight: bold
|
| 873 |
+
}
|
| 874 |
+
|
| 875 |
+
.wdi_lightbox_theme_1 .wdi_image_description, .wdi_lightbox_theme_1 .wdi_image_description * {
|
| 876 |
+
color: #FFFFFF !important;
|
| 877 |
+
font-family: segoe ui;
|
| 878 |
+
font-size: 14px;
|
| 879 |
+
font-weight: normal
|
| 880 |
+
}
|
| 881 |
+
|
| 882 |
+
.wdi_title {
|
| 883 |
+
display: inline-table
|
| 884 |
+
}
|
| 885 |
+
|
| 886 |
+
.wdi_title:hover {
|
| 887 |
+
cursor: pointer
|
| 888 |
+
}
|
| 889 |
+
|
| 890 |
+
.wdi_title .wdi_users_img_wrap {
|
| 891 |
+
width: 50px;
|
| 892 |
+
display: table-cell;
|
| 893 |
+
vertical-align: middle;
|
| 894 |
+
float: right;
|
| 895 |
+
padding-left: 10px;
|
| 896 |
+
overflow: hidden
|
| 897 |
+
}
|
| 898 |
+
|
| 899 |
+
.wdi_title .wdi_users_img_wrap img {
|
| 900 |
+
width: 100%
|
| 901 |
+
}
|
| 902 |
+
|
| 903 |
+
.wdi_title .wdi_header_text {
|
| 904 |
+
display: table-cell;
|
| 905 |
+
vertical-align: middle;
|
| 906 |
+
word-break: break-all
|
| 907 |
+
}
|
| 908 |
+
|
| 909 |
+
.wdi_lightbox_theme_1 .wdi_share_btns {
|
| 910 |
+
position: absolute;
|
| 911 |
+
top: -115%;
|
| 912 |
+
width: 150px;
|
| 913 |
+
border-radius: 3px;
|
| 914 |
+
left: -150%;
|
| 915 |
+
margin: 0;
|
| 916 |
+
z-index: 200000;
|
| 917 |
+
background-color: rgba(42, 91, 131, 0.80)
|
| 918 |
+
}
|
| 919 |
+
|
| 920 |
+
.wdi_share_btns_container {
|
| 921 |
+
position: relative;
|
| 922 |
+
display: inline-block
|
| 923 |
+
}
|
| 924 |
+
|
| 925 |
+
.wdi_lightbox_theme_1 .wdi_share_popup_btn {
|
| 926 |
+
color: #FFFFFF;
|
| 927 |
+
padding: 3px;
|
| 928 |
+
opacity: 1.00;
|
| 929 |
+
filter: Alpha(opacity=100);
|
| 930 |
+
font-size: 20px
|
| 931 |
+
}
|
| 932 |
+
|
| 933 |
+
.wdi_lightbox_theme_1 .wdi_share_caret {
|
| 934 |
+
font-size: 15px;
|
| 935 |
+
color: #2A5B83;
|
| 936 |
+
opacity: 0.80;
|
| 937 |
+
position: absolute;
|
| 938 |
+
top: -25px;
|
| 939 |
+
left: 13px
|
| 940 |
+
}
|
| 941 |
+
|
| 942 |
+
.wdi_share_toggler {
|
| 943 |
+
display: block !important
|
| 944 |
+
}
|
| 945 |
+
|
| 946 |
+
.wdi_facebook_btn:hover {
|
| 947 |
+
color: #45619D
|
| 948 |
+
}
|
| 949 |
+
|
| 950 |
+
.wdi_facebook_btn:hover {
|
| 951 |
+
color: #4099FB
|
| 952 |
+
}
|
| 953 |
+
|
| 954 |
+
.wdi_lightbox_theme_1 .wdi_comment_header a, .wdi_lightbox_theme_1 .wdi_comment_header a:visited {
|
| 955 |
+
color: #125688 !important
|
| 956 |
+
}
|
| 957 |
+
|
| 958 |
+
.wdi_lightbox_theme_1 .wdi_comm_text_link, .wdi_lightbox_theme_1 a.wdi_comm_text_link:visited {
|
| 959 |
+
color: #125688 !important
|
| 960 |
+
}
|
| 961 |
+
|
| 962 |
+
.wdi_lightbox_theme_1 .wdi_comment_header a:hover, .wdi_lightbox_theme_1 a.wdi_comm_text_link:hover {
|
| 963 |
+
text-decoration: none;
|
| 964 |
+
color: #002160 !important
|
| 965 |
+
}
|
| 966 |
+
|
| 967 |
+
.wdi_lightbox_theme_1 .wdi_load_more_comments {
|
| 968 |
+
display: inline-block;
|
| 969 |
+
color: #125688;
|
| 970 |
+
background-color: #FFFFFF;
|
| 971 |
+
-webkit-user-select: none;
|
| 972 |
+
-moz-user-select: none;
|
| 973 |
+
-ms-user-select: none;
|
| 974 |
+
-o-user-select: none;
|
| 975 |
+
user-select: none;
|
| 976 |
+
font-family: 'Verdana', sans-serif;
|
| 977 |
+
text-transform: capitalize;
|
| 978 |
+
font-size: 17px
|
| 979 |
+
}
|
| 980 |
+
|
| 981 |
+
.wdi_lightbox_theme_1 .wdi_load_more_comments:hover {
|
| 982 |
+
color: #000000;
|
| 983 |
+
cursor: pointer
|
| 984 |
+
}
|
| 985 |
+
|
| 986 |
+
.wdi_popup_image {
|
| 987 |
+
vertical-align: middle;
|
| 988 |
+
display: inline-block
|
| 989 |
+
}
|
| 990 |
+
|
| 991 |
+
.wdi_popup_embed {
|
| 992 |
+
vertical-align: middle;
|
| 993 |
+
text-align: center;
|
| 994 |
+
display: inline-block
|
| 995 |
+
}
|
| 996 |
+
|
| 997 |
+
.wdi_image_container {
|
| 998 |
+
display: table;
|
| 999 |
+
position: absolute;
|
| 1000 |
+
text-align: center;
|
| 1001 |
+
vertical-align: middle;
|
| 1002 |
+
width: 100%
|
| 1003 |
+
}
|
| 1004 |
+
|
| 1005 |
+
.wdi_lightbox_theme_1 .wdi_filmstrip_container {
|
| 1006 |
+
display: table;
|
| 1007 |
+
position: absolute;
|
| 1008 |
+
z-index: 10105;
|
| 1009 |
+
top: 0
|
| 1010 |
+
}
|
| 1011 |
+
|
| 1012 |
+
.wdi_filmstrip {
|
| 1013 |
+
overflow: hidden;
|
| 1014 |
+
position: absolute;
|
| 1015 |
+
z-index: 10106
|
| 1016 |
+
}
|
| 1017 |
+
|
| 1018 |
+
.wdi_filmstrip_thumbnails {
|
| 1019 |
+
margin: 0 auto;
|
| 1020 |
+
overflow: hidden;
|
| 1021 |
+
position: relative
|
| 1022 |
+
}
|
| 1023 |
+
|
| 1024 |
+
.wdi_lightbox_theme_1 .wdi_filmstrip_thumbnail {
|
| 1025 |
+
position: relative;
|
| 1026 |
+
background: none;
|
| 1027 |
+
border: 1px solid #25292C;
|
| 1028 |
+
border-radius: 0px;
|
| 1029 |
+
cursor: pointer;
|
| 1030 |
+
float: left;
|
| 1031 |
+
margin: 0 1px;
|
| 1032 |
+
overflow: hidden
|
| 1033 |
+
}
|
| 1034 |
+
|
| 1035 |
+
.wdi_lightbox_theme_1 .wdi_filmstrip_left {
|
| 1036 |
+
background-color: #3B3B3B;
|
| 1037 |
+
cursor: pointer;
|
| 1038 |
+
display: table-cell;
|
| 1039 |
+
vertical-align: middle;
|
| 1040 |
+
z-index: 10106
|
| 1041 |
+
}
|
| 1042 |
+
|
| 1043 |
+
.wdi_lightbox_theme_1 .wdi_filmstrip_right {
|
| 1044 |
+
background-color: #3B3B3B;
|
| 1045 |
+
cursor: pointer;
|
| 1046 |
+
right: 0;
|
| 1047 |
+
display: table-cell;
|
| 1048 |
+
vertical-align: middle;
|
| 1049 |
+
z-index: 10106
|
| 1050 |
+
}
|
| 1051 |
+
|
| 1052 |
+
.wdi_lightbox_theme_1 .wdi_image_info {
|
| 1053 |
+
background: rgba(59, 59, 59, 0.80);
|
| 1054 |
+
border: 1px none #3B3B3B;
|
| 1055 |
+
border-radius: 5px;
|
| 1056 |
+
padding: 5px;
|
| 1057 |
+
overflow: auto
|
| 1058 |
+
}
|
| 1059 |
+
|
| 1060 |
+
@media (max-width: 480px) {
|
| 1061 |
+
.wdi_image_count_container {
|
| 1062 |
+
display: none
|
| 1063 |
+
}
|
| 1064 |
+
|
| 1065 |
+
.wdi_image_title, .wdi_image_title * {
|
| 1066 |
+
font-size: 12px
|
| 1067 |
+
}
|
| 1068 |
+
|
| 1069 |
+
.wdi_image_description, .wdi_image_description * {
|
| 1070 |
+
font-size: 10px
|
| 1071 |
+
}
|
| 1072 |
+
}
|
| 1073 |
+
|
| 1074 |
+
.wdi_image_count_container {
|
| 1075 |
+
left: 0;
|
| 1076 |
+
line-height: 1;
|
| 1077 |
+
position: absolute;
|
| 1078 |
+
vertical-align: middle
|
| 1079 |
+
}
|
framework/WDI_form_builder.php
CHANGED
|
@@ -421,13 +421,13 @@ public function __construct() {
|
|
| 421 |
var hide_class = '<?php echo $id.'_hide_ids_hidden'; ?>';
|
| 422 |
|
| 423 |
|
| 424 |
-
if(el.
|
| 425 |
el.after('<input type=\"hidden\" name=\"' + jQuery("#<?php echo ''.$id?>").attr("name") + '\" value="0">');
|
| 426 |
}
|
| 427 |
|
| 428 |
el.on('click',function(){
|
| 429 |
|
| 430 |
-
if (jQuery(this).
|
| 431 |
jQuery(this).after("<input type=\"hidden\" name=\"" + jQuery(this).attr("name") + "\" value=0>");
|
| 432 |
if(Array.isArray(hide_ids) && hide_ids.length > 0){
|
| 433 |
iterator(false);
|
|
@@ -442,7 +442,7 @@ public function __construct() {
|
|
| 442 |
});
|
| 443 |
|
| 444 |
if(Array.isArray(hide_ids) && hide_ids.length > 0){
|
| 445 |
-
if(el.
|
| 446 |
iterator(false);
|
| 447 |
}else{
|
| 448 |
iterator(true);
|
| 421 |
var hide_class = '<?php echo $id.'_hide_ids_hidden'; ?>';
|
| 422 |
|
| 423 |
|
| 424 |
+
if(el.prop('checked') != true ){
|
| 425 |
el.after('<input type=\"hidden\" name=\"' + jQuery("#<?php echo ''.$id?>").attr("name") + '\" value="0">');
|
| 426 |
}
|
| 427 |
|
| 428 |
el.on('click',function(){
|
| 429 |
|
| 430 |
+
if (jQuery(this).prop("checked") != true ) {
|
| 431 |
jQuery(this).after("<input type=\"hidden\" name=\"" + jQuery(this).attr("name") + "\" value=0>");
|
| 432 |
if(Array.isArray(hide_ids) && hide_ids.length > 0){
|
| 433 |
iterator(false);
|
| 442 |
});
|
| 443 |
|
| 444 |
if(Array.isArray(hide_ids) && hide_ids.length > 0){
|
| 445 |
+
if( el.prop('checked') != true ){
|
| 446 |
iterator(false);
|
| 447 |
}else{
|
| 448 |
iterator(true);
|
frontend/views/WDIViewGalleryBox.php
CHANGED
|
@@ -1511,7 +1511,7 @@ continue;
|
|
| 1511 |
}
|
| 1512 |
|
| 1513 |
?>
|
| 1514 |
-
jQuery(".wdi_ctrl_btn_container").animate({<?php echo $theme_row->lightbox_ctrl_btn_pos; ?>: '-' + jQuery(".wdi_ctrl_btn_container").height()}, 500);
|
| 1515 |
jQuery(".wdi_carousel_btn_container").animate({<?php echo $theme_row->lightbox_ctrl_btn_pos; ?>: '40px'}, 500);
|
| 1516 |
jQuery(".wdi_toggle_container").animate({
|
| 1517 |
<?php echo $theme_row->lightbox_ctrl_btn_pos; ?>: 0
|
|
@@ -1538,7 +1538,7 @@ continue;
|
|
| 1538 |
jQuery(".wdi_ctrl_btn_container").animate({<?php echo $theme_row->lightbox_ctrl_btn_pos; ?>: 0}, 500);
|
| 1539 |
jQuery(".wdi_carousel_btn_container").animate({<?php echo $theme_row->lightbox_ctrl_btn_pos; ?>: jQuery(".wdi_ctrl_btn_container").height() + 25}, 500);
|
| 1540 |
jQuery(".wdi_toggle_container").animate({
|
| 1541 |
-
<?php echo $theme_row->lightbox_ctrl_btn_pos; ?>: jQuery(".wdi_ctrl_btn_container").height()
|
| 1542 |
}, {
|
| 1543 |
duration: 500,
|
| 1544 |
complete: function () { jQuery(".wdi_toggle_container i").attr("class", "wdi_toggle_btn tenweb-i " + wdi_open_toggle_btn_class) }
|
| 1511 |
}
|
| 1512 |
|
| 1513 |
?>
|
| 1514 |
+
jQuery(".wdi_ctrl_btn_container").animate({<?php echo $theme_row->lightbox_ctrl_btn_pos; ?>: '-' + jQuery(".wdi_ctrl_btn_container").height() - 16}, 500);
|
| 1515 |
jQuery(".wdi_carousel_btn_container").animate({<?php echo $theme_row->lightbox_ctrl_btn_pos; ?>: '40px'}, 500);
|
| 1516 |
jQuery(".wdi_toggle_container").animate({
|
| 1517 |
<?php echo $theme_row->lightbox_ctrl_btn_pos; ?>: 0
|
| 1538 |
jQuery(".wdi_ctrl_btn_container").animate({<?php echo $theme_row->lightbox_ctrl_btn_pos; ?>: 0}, 500);
|
| 1539 |
jQuery(".wdi_carousel_btn_container").animate({<?php echo $theme_row->lightbox_ctrl_btn_pos; ?>: jQuery(".wdi_ctrl_btn_container").height() + 25}, 500);
|
| 1540 |
jQuery(".wdi_toggle_container").animate({
|
| 1541 |
+
<?php echo $theme_row->lightbox_ctrl_btn_pos; ?>: jQuery(".wdi_ctrl_btn_container").height() + 16
|
| 1542 |
}, {
|
| 1543 |
duration: 500,
|
| 1544 |
complete: function () { jQuery(".wdi_toggle_container i").attr("class", "wdi_toggle_btn tenweb-i " + wdi_open_toggle_btn_class) }
|
js/wdi_admin.js
CHANGED
|
@@ -1634,20 +1634,20 @@ function wdi_bulk_actions(that) {
|
|
| 1634 |
// Check all items.
|
| 1635 |
function wdi_spider_check_all_items() {
|
| 1636 |
wdi_spider_check_all_items_checkbox();
|
| 1637 |
-
// if (!jQuery('#check_all').
|
| 1638 |
jQuery('#check_all').trigger('click');
|
| 1639 |
// }
|
| 1640 |
}
|
| 1641 |
|
| 1642 |
function wdi_spider_check_all_items_checkbox() {
|
| 1643 |
-
if (jQuery('#check_all_items').
|
| 1644 |
-
jQuery('#check_all_items').
|
| 1645 |
jQuery('#draganddrop').hide();
|
| 1646 |
} else {
|
| 1647 |
var saved_items = (parseInt(jQuery(".displaying-num").html()) ? parseInt(jQuery(".displaying-num").html()) : 0);
|
| 1648 |
var added_items = (jQuery('input[id^="check_pr_"]').length ? parseInt(jQuery('input[id^="check_pr_"]').length) : 0);
|
| 1649 |
var items_count = added_items + saved_items;
|
| 1650 |
-
jQuery('#check_all_items').
|
| 1651 |
if (items_count) {
|
| 1652 |
jQuery('#draganddrop').html("<strong><p>Selected " + items_count + " item" + (items_count > 1 ? "s" : "") + ".</p></strong>");
|
| 1653 |
jQuery('#draganddrop').show();
|
|
@@ -1656,8 +1656,8 @@ function wdi_spider_check_all_items_checkbox() {
|
|
| 1656 |
}
|
| 1657 |
|
| 1658 |
function wdi_spider_check_all(current) {
|
| 1659 |
-
if (!jQuery(current).
|
| 1660 |
-
jQuery('#check_all_items').
|
| 1661 |
jQuery('#draganddrop').hide();
|
| 1662 |
}
|
| 1663 |
}
|
|
@@ -1665,7 +1665,7 @@ function wdi_spider_check_all(current) {
|
|
| 1665 |
// Set value by id.
|
| 1666 |
function wdi_spider_set_input_value(input_id, input_value) {
|
| 1667 |
if (input_value === 'add') {
|
| 1668 |
-
if (jQuery('#wdi_access_token').
|
| 1669 |
alert('Please get your access token');
|
| 1670 |
}
|
| 1671 |
}
|
| 1634 |
// Check all items.
|
| 1635 |
function wdi_spider_check_all_items() {
|
| 1636 |
wdi_spider_check_all_items_checkbox();
|
| 1637 |
+
// if (!jQuery('#check_all').prop('checked')) {
|
| 1638 |
jQuery('#check_all').trigger('click');
|
| 1639 |
// }
|
| 1640 |
}
|
| 1641 |
|
| 1642 |
function wdi_spider_check_all_items_checkbox() {
|
| 1643 |
+
if (jQuery('#check_all_items').prop('checked')) {
|
| 1644 |
+
jQuery('#check_all_items').prop('checked', false);
|
| 1645 |
jQuery('#draganddrop').hide();
|
| 1646 |
} else {
|
| 1647 |
var saved_items = (parseInt(jQuery(".displaying-num").html()) ? parseInt(jQuery(".displaying-num").html()) : 0);
|
| 1648 |
var added_items = (jQuery('input[id^="check_pr_"]').length ? parseInt(jQuery('input[id^="check_pr_"]').length) : 0);
|
| 1649 |
var items_count = added_items + saved_items;
|
| 1650 |
+
jQuery('#check_all_items').prop('checked', true);
|
| 1651 |
if (items_count) {
|
| 1652 |
jQuery('#draganddrop').html("<strong><p>Selected " + items_count + " item" + (items_count > 1 ? "s" : "") + ".</p></strong>");
|
| 1653 |
jQuery('#draganddrop').show();
|
| 1656 |
}
|
| 1657 |
|
| 1658 |
function wdi_spider_check_all(current) {
|
| 1659 |
+
if (!jQuery(current).prop('checked')) {
|
| 1660 |
+
jQuery('#check_all_items').prop('checked', false);
|
| 1661 |
jQuery('#draganddrop').hide();
|
| 1662 |
}
|
| 1663 |
}
|
| 1665 |
// Set value by id.
|
| 1666 |
function wdi_spider_set_input_value(input_id, input_value) {
|
| 1667 |
if (input_value === 'add') {
|
| 1668 |
+
if (jQuery('#wdi_access_token').prop('value') == '') {
|
| 1669 |
alert('Please get your access token');
|
| 1670 |
}
|
| 1671 |
}
|
js/wdi_instagram.js
CHANGED
|
@@ -453,7 +453,7 @@ function WDIInstagram(args)
|
|
| 453 |
"url": media.permalink + "media?size=l"
|
| 454 |
}
|
| 455 |
},
|
| 456 |
-
"created_time":
|
| 457 |
"caption": {
|
| 458 |
"id": "",
|
| 459 |
"text": media.caption,
|
|
@@ -583,8 +583,8 @@ function WDIInstagram(args)
|
|
| 583 |
|
| 584 |
return converted_data;
|
| 585 |
};
|
| 586 |
-
|
| 587 |
-
this.convertPersonalData = function (
|
| 588 |
var converted_data = {
|
| 589 |
data: [],
|
| 590 |
pagination: {}
|
|
@@ -634,7 +634,7 @@ function WDIInstagram(args)
|
|
| 634 |
"url": media.permalink + "media?size=l"
|
| 635 |
}
|
| 636 |
},
|
| 637 |
-
"created_time":
|
| 638 |
"caption": {
|
| 639 |
"id": "",
|
| 640 |
"text": media.caption,
|
|
@@ -702,74 +702,68 @@ function WDIInstagram(args)
|
|
| 702 |
};
|
| 703 |
}
|
| 704 |
|
| 705 |
-
/* TODO
|
| 706 |
-
* This part has also changed
|
| 707 |
-
* Children's numbers should be sent new REQUEST
|
| 708 |
-
* https://developers.facebook.com/docs/instagram-basic-display-api/reference/media/children#reading
|
| 709 |
-
* */
|
| 710 |
if (media.media_type === "CAROUSEL_ALBUM") {
|
| 711 |
-
|
| 712 |
-
converted.carousel_media = [];
|
| 713 |
-
|
| 714 |
-
for (var j in media.children.data) {
|
| 715 |
-
if (media.children.data[j].media_type === "IMAGE") {
|
| 716 |
-
var child = {
|
| 717 |
-
"images": {
|
| 718 |
-
"thumbnail": {
|
| 719 |
-
"width": 150,
|
| 720 |
-
"height": 150,
|
| 721 |
-
"url": media.children.data[j].media_url + "media?size=t"
|
| 722 |
-
},
|
| 723 |
-
"low_resolution": {
|
| 724 |
-
"width": 320,
|
| 725 |
-
"height": 320,
|
| 726 |
-
"url": media.children.data[j].permalink + "media?size=m"
|
| 727 |
-
},
|
| 728 |
-
"standard_resolution": {
|
| 729 |
-
"width": 640,
|
| 730 |
-
"height": 640,
|
| 731 |
-
"url": media.children.data[j].media_url
|
| 732 |
-
}
|
| 733 |
-
},
|
| 734 |
-
"users_in_photo": [],
|
| 735 |
-
"type": "image"
|
| 736 |
-
};
|
| 737 |
-
} else {
|
| 738 |
-
var child = {
|
| 739 |
-
"videos": {
|
| 740 |
-
"standard_resolution": {
|
| 741 |
-
"width": 640,
|
| 742 |
-
"height": 800,
|
| 743 |
-
"url": media.children.data[j].media_url,
|
| 744 |
-
"id": media.children.data[j].id
|
| 745 |
-
},
|
| 746 |
-
"low_bandwidth": {
|
| 747 |
-
"width": 480,
|
| 748 |
-
"height": 600,
|
| 749 |
-
"url": media.children.data[j].media_url,
|
| 750 |
-
"id": media.children.data[j].id
|
| 751 |
-
},
|
| 752 |
-
"low_resolution": {
|
| 753 |
-
"width": 480,
|
| 754 |
-
"height": 600,
|
| 755 |
-
"url": media.children.data[j].media_url,
|
| 756 |
-
"id": media.children.data[j].id
|
| 757 |
-
}
|
| 758 |
-
},
|
| 759 |
-
"users_in_photo": [],
|
| 760 |
-
"type": "video"
|
| 761 |
-
};
|
| 762 |
-
}
|
| 763 |
-
converted.carousel_media.push(child);
|
| 764 |
-
}
|
| 765 |
}
|
| 766 |
-
|
| 767 |
converted_data.data.push(converted);
|
| 768 |
}
|
| 769 |
-
|
| 770 |
return converted_data;
|
| 771 |
};
|
| 772 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 773 |
/**
|
| 774 |
* Search for tags by name.
|
| 775 |
*
|
|
@@ -1362,10 +1356,14 @@ function WDIInstagram(args)
|
|
| 1362 |
}
|
| 1363 |
response.data = media;
|
| 1364 |
response = _this.convertPersonalData(response);
|
| 1365 |
-
response.meta = {"code": 200};
|
| 1366 |
|
| 1367 |
-
|
| 1368 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1369 |
},
|
| 1370 |
error: function (response)
|
| 1371 |
{
|
|
@@ -1391,6 +1389,86 @@ function WDIInstagram(args)
|
|
| 1391 |
success(cache_data);
|
| 1392 |
}
|
| 1393 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1394 |
function success(response) {
|
| 1395 |
if (successFlag) {
|
| 1396 |
if (typeof args.success == 'object' && args.success.length == 2) {
|
| 453 |
"url": media.permalink + "media?size=l"
|
| 454 |
}
|
| 455 |
},
|
| 456 |
+
"created_time": media.timestamp,
|
| 457 |
"caption": {
|
| 458 |
"id": "",
|
| 459 |
"text": media.caption,
|
| 583 |
|
| 584 |
return converted_data;
|
| 585 |
};
|
| 586 |
+
var carusel_media_ids = [];
|
| 587 |
+
this.convertPersonalData = function (data) {
|
| 588 |
var converted_data = {
|
| 589 |
data: [],
|
| 590 |
pagination: {}
|
| 634 |
"url": media.permalink + "media?size=l"
|
| 635 |
}
|
| 636 |
},
|
| 637 |
+
"created_time": media.timestamp,
|
| 638 |
"caption": {
|
| 639 |
"id": "",
|
| 640 |
"text": media.caption,
|
| 702 |
};
|
| 703 |
}
|
| 704 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 705 |
if (media.media_type === "CAROUSEL_ALBUM") {
|
| 706 |
+
carusel_media_ids.push({'index' : i, 'media_id' : media.id});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 707 |
}
|
|
|
|
| 708 |
converted_data.data.push(converted);
|
| 709 |
}
|
|
|
|
| 710 |
return converted_data;
|
| 711 |
};
|
| 712 |
|
| 713 |
+
|
| 714 |
+
/**
|
| 715 |
+
Object which will get from instagram endpoint carousel media data
|
| 716 |
+
*/
|
| 717 |
+
var childMedia = [];
|
| 718 |
+
|
| 719 |
+
/**
|
| 720 |
+
* Get media info by id.
|
| 721 |
+
*
|
| 722 |
+
* @param media_id => Media id
|
| 723 |
+
* @param ind => index for object
|
| 724 |
+
*
|
| 725 |
+
*
|
| 726 |
+
* @return object of founded media
|
| 727 |
+
*/
|
| 728 |
+
this.getChildMediaById = function ( media_id, ind ) {
|
| 729 |
+
jQuery.ajax({
|
| 730 |
+
type: 'GET',
|
| 731 |
+
dataType: 'json',
|
| 732 |
+
async: false,
|
| 733 |
+
url: 'https://graph.instagram.com/v1.0/' + media_id + '/?fields=id,media_type,media_url,permalink,thumbnail_url,username,timestamp&access_token='+ getAccessToken(),
|
| 734 |
+
success: function (response_media) {
|
| 735 |
+
childMedia[ind] = response_media;
|
| 736 |
+
}
|
| 737 |
+
});
|
| 738 |
+
};
|
| 739 |
+
|
| 740 |
+
/**
|
| 741 |
+
* Get media children id by gallery id.
|
| 742 |
+
*
|
| 743 |
+
* @param media_id => Media id
|
| 744 |
+
*
|
| 745 |
+
*
|
| 746 |
+
* @return object of founded media only child media ids
|
| 747 |
+
*/
|
| 748 |
+
this.getMediaChildren = function (media_id) {
|
| 749 |
+
var req_url = 'https://graph.instagram.com/' + media_id + '/children?access_token=' + getAccessToken();
|
| 750 |
+
return jQuery.ajax({
|
| 751 |
+
type: 'POST',
|
| 752 |
+
url: req_url,
|
| 753 |
+
dataType: 'jsonp',
|
| 754 |
+
async:false,
|
| 755 |
+
success: function (response) {
|
| 756 |
+
if( typeof response.data !== "undefined" && response.data.length > 0 ) {
|
| 757 |
+
jQuery.each(response.data, function (key, value) {
|
| 758 |
+
_this.getChildMediaById(value.id, key);
|
| 759 |
+
});
|
| 760 |
+
}
|
| 761 |
+
}
|
| 762 |
+
});
|
| 763 |
+
|
| 764 |
+
}
|
| 765 |
+
|
| 766 |
+
|
| 767 |
/**
|
| 768 |
* Search for tags by name.
|
| 769 |
*
|
| 1356 |
}
|
| 1357 |
response.data = media;
|
| 1358 |
response = _this.convertPersonalData(response);
|
|
|
|
| 1359 |
|
| 1360 |
+
if( carusel_media_ids.length > 0 ) {
|
| 1361 |
+
set_carousel_media( response, carusel_media_ids, 0 );
|
| 1362 |
+
} else {
|
| 1363 |
+
response.meta = {"code": 200};
|
| 1364 |
+
_this.setDataToCache(baseUrl, response);
|
| 1365 |
+
success(response);
|
| 1366 |
+
}
|
| 1367 |
},
|
| 1368 |
error: function (response)
|
| 1369 |
{
|
| 1389 |
success(cache_data);
|
| 1390 |
}
|
| 1391 |
|
| 1392 |
+
/**
|
| 1393 |
+
* Set to global media object the carousel media data as key carousel-media.
|
| 1394 |
+
*
|
| 1395 |
+
* @param response => Global media object
|
| 1396 |
+
* @param carusel_media_ids => Child ids
|
| 1397 |
+
* @param ind => index counter
|
| 1398 |
+
*
|
| 1399 |
+
*/
|
| 1400 |
+
function set_carousel_media( response, carusel_media_ids, ind ) {
|
| 1401 |
+
jQuery.when(_this.getMediaChildren(carusel_media_ids[ind].media_id)).done(function () {
|
| 1402 |
+
if( childMedia.length > 0 ) {
|
| 1403 |
+
var media = response['data'][ind];
|
| 1404 |
+
media['children'] = {};
|
| 1405 |
+
media['children']['data'] = childMedia;
|
| 1406 |
+
var index = carusel_media_ids[ind].index;
|
| 1407 |
+
response.data[index].carousel_media = [];
|
| 1408 |
+
for (var j in media.children.data) {
|
| 1409 |
+
if (media.children.data[j].media_type === "IMAGE") {
|
| 1410 |
+
var child = {
|
| 1411 |
+
"images": {
|
| 1412 |
+
"thumbnail": {
|
| 1413 |
+
"width": 150,
|
| 1414 |
+
"height": 150,
|
| 1415 |
+
"url": media.children.data[j].media_url + "media?size=t"
|
| 1416 |
+
},
|
| 1417 |
+
"low_resolution": {
|
| 1418 |
+
"width": 320,
|
| 1419 |
+
"height": 320,
|
| 1420 |
+
"url": media.children.data[j].permalink + "media?size=m"
|
| 1421 |
+
},
|
| 1422 |
+
"standard_resolution": {
|
| 1423 |
+
"width": 640,
|
| 1424 |
+
"height": 640,
|
| 1425 |
+
"url": media.children.data[j].media_url
|
| 1426 |
+
}
|
| 1427 |
+
},
|
| 1428 |
+
"users_in_photo": [],
|
| 1429 |
+
"type": "image"
|
| 1430 |
+
};
|
| 1431 |
+
}
|
| 1432 |
+
else {
|
| 1433 |
+
var child = {
|
| 1434 |
+
"videos": {
|
| 1435 |
+
"standard_resolution": {
|
| 1436 |
+
"width": 640,
|
| 1437 |
+
"height": 800,
|
| 1438 |
+
"url": media.children.data[j].media_url,
|
| 1439 |
+
"id": media.children.data[j].id
|
| 1440 |
+
},
|
| 1441 |
+
"low_bandwidth": {
|
| 1442 |
+
"width": 480,
|
| 1443 |
+
"height": 600,
|
| 1444 |
+
"url": media.children.data[j].media_url,
|
| 1445 |
+
"id": media.children.data[j].id
|
| 1446 |
+
},
|
| 1447 |
+
"low_resolution": {
|
| 1448 |
+
"width": 480,
|
| 1449 |
+
"height": 600,
|
| 1450 |
+
"url": media.children.data[j].media_url,
|
| 1451 |
+
"id": media.children.data[j].id
|
| 1452 |
+
}
|
| 1453 |
+
},
|
| 1454 |
+
"users_in_photo": [],
|
| 1455 |
+
"type": "video"
|
| 1456 |
+
};
|
| 1457 |
+
}
|
| 1458 |
+
response.data[index].carousel_media.push(child);
|
| 1459 |
+
}
|
| 1460 |
+
}
|
| 1461 |
+
|
| 1462 |
+
if( ind < (carusel_media_ids.length-1) ) {
|
| 1463 |
+
set_carousel_media( response,carusel_media_ids,++ind );
|
| 1464 |
+
} else {
|
| 1465 |
+
response.meta = {"code": 200};
|
| 1466 |
+
_this.setDataToCache(baseUrl, response);
|
| 1467 |
+
success(response);
|
| 1468 |
+
}
|
| 1469 |
+
});
|
| 1470 |
+
}
|
| 1471 |
+
|
| 1472 |
function success(response) {
|
| 1473 |
if (successFlag) {
|
| 1474 |
if (typeof args.success == 'object' && args.success.length == 2) {
|
js/wdi_instagram.min.js
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
function WDIInstagram(e){this.access_tokens=[],this.filters=[],void 0!==e&&(void 0!==e.access_tokens&&(this.access_tokens=e.access_tokens),void 0!==e.filters&&(this.filters=e.filters));var t=this;function s(){var e=t.access_tokens;return e[parseInt(Math.random(0,1)*e.length)]}function r(){return"undefined"!=typeof wdi_options?wdi_options.fb_token:"undefined"!=typeof wdi_ajax?wdi_ajax.fb_token:""}function i(){return"undefined"!=typeof wdi_options?wdi_options.business_account_id:"undefined"!=typeof wdi_ajax?wdi_ajax.business_account_id:""}this.statusCode={429:function(){console.log(" 429: Too many requests. Try after one hour")}},this.getFilter=function(e){var s=t.filters;if(void 0===s)return!1;for(var r=0;r<s.length;r++)if(s[r].where==e)if("object"==typeof s[r].what&&2==s[r].what.length){if(void 0!==window[s[r].what[0]]&&"function"==typeof window[s[r].what[0]][s[r].what[1]])return window[s[r].what[0]][s[r].what[1]]}else{if("string"!=typeof s[r].what)return"function"==typeof s[r].what&&s[r].what;if("function"==typeof window[s[r].what])return window[s[r].what]}return!1},this.addToken=function(e){"string"==typeof e&&t.access_tokens.push(e)},this.resetTokens=function(){t.access_tokens=[]},this.getTagRecentMedia=function(e,s,o,n){var c="https://graph.facebook.com/ig_hashtag_search/";c+="?user_id="+i(),c+="&q="+e,c+="&access_token="+r();var a=this,u=!1,d=this.statusCode,f=!1,l=this.getFilter("getTagRecentMedia"),w="https://graph.facebook.com/{tagid}/"+(n=0===parseInt(n)?"top_media":"recent_media")+"/?fields=media_url,caption,id,media_type,comments_count,like_count,permalink,children{media_url,id,media_type,permalink}";void 0===s||0===s.length||("success"in s&&(u=!0),"statusCode"in s&&(d=s.statusCode),"error"in s&&(f=!0),"args"in s?!0:s.args={},"count"in s?(s.count=parseInt(s.count),(!Number.isInteger(s.count)||s.count<=0)&&(s.count=33)):s.count=33,w+="&limit="+s.count,"min_tag_id"in s&&(w+="&min_tag_id="+s.min_tag_id),"max_tag_id"in s&&(w+="&max_tag_id="+s.max_tag_id),w+="&access_token="+r(),w+="&user_id="+i());var p=this.getTagId(e),g=function(e){function r(e){void 0===e.data&&(e.data=[]),u&&("object"==typeof s.success&&2==s.success.length?void 0!==window[s.success[0]]&&"function"==typeof window[s.success[0]][s.success[1]]&&(l&&(e=l(e,a.filterArguments,s.args)),window[s.success[0]][s.success[1]](e)):"string"==typeof s.success?"function"==typeof window[s.success]&&(l&&(e=l(e,a.filterArguments,s.args)),window[s.success](e)):"function"==typeof s.success&&(l&&(e=l(e,a.filterArguments,s.args)),s.success(e)))}!1===e?jQuery.ajax({type:"POST",url:w,dataType:"jsonp",success:function(e){(e=t.convertHashtagData(e)).meta={code:200},e.tag_id=p,t.setDataToCache(w,e),r(e)},error:function(e){f&&("object"==typeof s.error&&2==s.error.length?"function"==typeof window[s.error[0]][s.error[1]]&&window[s.error[0]][s.error[1]](e):"string"==typeof s.error?"function"==typeof window[s.error]&&window[s.error](e):"function"==typeof s.error&&s.error(e))},statusCode:d}):r(e)};!1===p?jQuery.ajax({type:"GET",url:c,dataType:"jsonp"}).done(function(s){if(void 0===s.error){p=s.data[0].id,w=null==o?w.replace("{tagid}",p):o;var r=[];void 0!==window.wdi_all_tags&&(r=window.wdi_all_tags),r[p]={id:"#"+e,username:"#"+e,tag_id:p},window.wdi_all_tags=r,t.getDataFromCache(g,w)}else alert(s.error.message)}):(w=null==o?w.replace("{tagid}",p):o,t.getDataFromCache(g,w))},this.getTagId=function(e){var t=[];if("undefined"!=typeof wdi_controller){if(0===(t=wdi_controller.feed_users).length){var s=jQuery("#WDI_feed_users").val();t=JSON.parse(s)}}else void 0!==window.wdi_all_tags&&(t=window.wdi_all_tags);for(var r in t)if(e===t[r].username||"#"+e===t[r].username)return void 0!==t[r].tag_id&&t[r].tag_id;return!1},this.convertHashtagData=function(e){var t={data:[],pagination:{}};for(var s in void 0!==e.paging&&(t.pagination={cursors:{after:e.paging.cursors.after},next_url:e.paging.next}),e.data){var r,i=e.data[s];r="IMAGE"===i.media_type?"image":"VIDEO"===i.media_type?"video":"carousel";var o={id:i.id,user:{id:"",full_name:"",profile_picture:"",username:""},images:{thumbnail:{width:150,height:150,url:i.permalink+"media?size=t"},low_resolution:{width:320,height:320,url:i.permalink+"media?size=m"},standard_resolution:{width:1080,height:1080,url:i.permalink+"media?size=l"}},created_time:"1543398649",caption:{id:"",text:i.caption,created_time:"",from:{id:"",full_name:"",profile_picture:"",username:""}},user_has_liked:i.like_count>0,likes:{count:i.like_count},tags:[],filter:"Normal",comments:{count:i.comments_count},type:r,link:i.permalink,location:null,attribution:null,users_in_photo:[]};if("IMAGE"===i.media_type||"CAROUSEL_ALBUM"===i.media_type?o.images={thumbnail:{width:150,height:150,url:i.permalink+"media?size=t"},low_resolution:{width:320,height:320,url:i.permalink+"media?size=m"},standard_resolution:{width:1080,height:1080,url:i.permalink+"media?size=l"}}:"VIDEO"===i.media_type&&(o.videos={standard_resolution:{width:640,height:800,url:i.media_url},low_bandwidth:{width:480,height:600,url:i.media_url},low_resolution:{width:480,height:600,url:i.media_url}}),"CAROUSEL_ALBUM"===i.media_type)for(var n in o.carousel_media=[],i.children.data){if("IMAGE"===i.children.data[n].media_type)var c={images:{thumbnail:{width:150,height:150,url:i.children.data[n].media_url+"media?size=t"},low_resolution:{width:320,height:320,url:i.children.data[n].permalink+"media?size=m"},standard_resolution:{width:640,height:640,url:i.children.data[n].media_url}},users_in_photo:[],type:"image"};else c={videos:{standard_resolution:{width:640,height:800,url:i.children.data[n].media_url,id:i.children.data[n].id},low_bandwidth:{width:480,height:600,url:i.children.data[n].media_url,id:i.children.data[n].id},low_resolution:{width:480,height:600,url:i.children.data[n].media_url,id:i.children.data[n].id}},users_in_photo:[],type:"video"};o.carousel_media.push(c)}t.data.push(o)}return t},this.convertPersonalData=function(e){var t={data:[],pagination:{}};for(var s in void 0!==e.paging&&(t.pagination={cursors:{after:e.paging.cursors.after},next_url:e.paging.next}),e.data){var r,i=e.data[s];r="IMAGE"===i.media_type?"image":"VIDEO"===i.media_type?"video":"carousel";var o={id:i.id,user:{id:"",full_name:"",profile_picture:"",username:""},images:{thumbnail:{width:150,height:150,url:i.permalink+"media?size=t"},low_resolution:{width:320,height:320,url:i.permalink+"media?size=m"},standard_resolution:{width:1080,height:1080,url:i.permalink+"media?size=l"}},created_time:"1543398649",caption:{id:"",text:i.caption,created_time:"",from:{id:"",full_name:"",profile_picture:"",username:""}},user_has_liked:i.like_count>0,likes:{count:0},tags:[],filter:"Normal",comments:{count:0},media_type:i.media_type,type:r,link:i.permalink,location:null,attribution:null,users_in_photo:[]};"IMAGE"===i.media_type||"CAROUSEL_ALBUM"===i.media_type?o.images={thumbnail:{width:150,height:150,url:i.permalink+"media?size=t"},low_resolution:{width:320,height:320,url:i.permalink+"media?size=m"},standard_resolution:{width:1080,height:1080,url:i.permalink+"media?size=l"}}:"VIDEO"===i.media_type&&(o.videos={standard_resolution:{width:640,height:800,url:i.media_url},low_bandwidth:{width:480,height:600,url:i.media_url},low_resolution:{width:480,height:600,url:i.media_url}}),"CAROUSEL_ALBUM"!==i.media_type&&t.data.push(o)}return t},this.searchForTagsByName=function(e,r){var i=this,o=!1,n=this.statusCode,c=!1;filter=this.getFilter("searchForTagsByName"),void 0===r||0===r.length||("success"in r&&(o=!0),"error"in r&&(c=!0),"statusCode"in r&&(n=r.statusCode));var a="https://api.instagram.com/v1/tags/search?q="+e+"&access_token="+s();t.getDataFromCache(function(e){function s(e){o&&("object"==typeof r.success&&2==r.success.length?void 0!==window[r.success[0]]&&"function"==typeof window[r.success[0]][r.success[1]]&&(filter&&(e=filter(e,i.filterArguments)),window[r.success[0]][r.success[1]](e)):"string"==typeof r.success?"function"==typeof window[r.success]&&(filter&&(e=filter(e,i.filterArguments)),window[r.success](e)):"function"==typeof r.success&&(filter&&(e=filter(e,i.filterArguments)),r.success(e)))}!1===e?jQuery.ajax({type:"POST",url:a,dataType:"jsonp",success:function(e){t.setDataToCache(a,e),s(e)},error:function(e){c&&("object"==typeof r.error&&2==r.error.length?"function"==typeof window[r.error[0]][r.error[1]]&&window[r.error[0]][r.error[1]](e):"string"==typeof r.error?"function"==typeof window[r.error]&&window[r.error](e):"function"==typeof r.error&&r.error(e))},statusCode:n}):s(e)},a)},this.searchForUsersByName=function(e,t){var r=this,i=!1,o=(this.statusCode,!1),n=this.getFilter("searchForUsersByName");void 0===t||0===t.length||("success"in t&&(i=!0),"error"in t&&(o=!0),"statusCode"in t&&t.statusCode),jQuery.ajax({type:"POST",dataType:"jsonp",url:"https://api.instagram.com/v1/users/search?q="+e+"&access_token="+s(),success:function(e){i&&("object"==typeof t.success&&2==t.success.length?void 0!==window[t.success[0]]&&"function"==typeof window[t.success[0]][t.success[1]]&&(n&&(e=n(e,r.filterArguments)),e.args=t,window[t.success[0]][t.success[1]](e)):"string"==typeof t.success?"function"==typeof window[t.success]&&(n&&(e=n(e,r.filterArguments)),e.args=t,window[t.success](e)):"function"==typeof t.success&&(n&&(e=n(e,r.filterArguments)),e.args=t,t.success(e)))},error:function(e){o&&("object"==typeof t.error&&2==t.error.length?"function"==typeof window[t.error[0]][t.error[1]]&&window[t.error[0]][t.error[1]](e):"string"==typeof t.error?"function"==typeof window[t.error]&&window[t.error](e):"function"==typeof t.error&&t.error(e))},statusCode:this.statusCode})},this.getRecentLikedMedia=function(e){var t=this,r=!1,i=this.statusCode,o=!1,n=this.getFilter("getRecentLikedMedia"),c="https://api.instagram.com/v1/users/self/media/liked?access_token="+s();void 0===e||0===e.length||("success"in e&&(r=!0),"error"in e&&(o=!0),"statusCode"in e&&(i=e.statusCode),"args"in e?argFlag=!0:e.args={},"count"in e?(e.count=parseInt(e.count),(!Number.isInteger(e.count)||e.count<=0)&&(e.count=20)):e.count=20,c+="&count="+e.count,"next_max_like_id"in e&&(c+="&next_max_like_id="+e.next_max_like_id)),jQuery.ajax({type:"POST",dataType:"jsonp",url:c,success:function(s){r&&("object"==typeof e.success&&2==e.success.length?void 0!==window[e.success[0]]&&"function"==typeof window[e.success[0]][e.success[1]]&&(n&&(s=n(s,t.filterArguments,e.args)),window[e.success[0]][e.success[1]](s)):"string"==typeof e.success?"function"==typeof window[e.success]&&(n&&(s=n(s,t.filterArguments,e.args)),window[e.success](s)):"function"==typeof e.success&&(n&&(s=n(s,t.filterArguments,e.args)),e.success(s)))},error:function(t){o&&("object"==typeof e.error&&2==e.error.length?"function"==typeof window[e.error[0]][e.error[1]]&&window[e.error[0]][e.error[1]](t):"string"==typeof e.error?"function"==typeof window[e.error]&&window[e.error](t):"function"==typeof e.error&&e.error(t))},statusCode:i})},this.getUserRecentMedia=function(e,t){var r=this,i=!1,o=this.statusCode,n=!1,c=this.getFilter("getUserRecentMedia"),a="https://api.instagram.com/v1/users/"+e+"/media/recent/?access_token="+s();void 0===t||0===t.length||("success"in t&&(i=!0),"statusCode"in t&&(o=t.statusCode),"args"in t?!0:t.args={},"error"in t&&(n=!0),"count"in t?(t.count=parseInt(t.count),(!Number.isInteger(t.count)||t.count<=0)&&(t.count=33)):t.count=33,a+="&count="+t.count,"min_id"in t&&(a+="&min_id="+t.min_id),"max_id"in t&&(a+="&max_id="+t.max_id)),jQuery.ajax({type:"POST",dataType:"jsonp",url:a,success:function(e){void 0===e.data&&(e.data=[]),i&&("object"==typeof t.success&&2==t.success.length?void 0!==window[t.success[0]]&&"function"==typeof window[t.success[0]][t.success[1]]&&(c&&(e=c(e,r.filterArguments,t.args)),window[t.success[0]][t.success[1]](e)):"string"==typeof t.success?"function"==typeof window[t.success]&&(c&&(e=c(e,r.filterArguments,t.args)),window[t.success](e)):"function"==typeof t.success&&(c&&(e=c(e,r.filterArguments,t.args)),t.success(e)))},error:function(e){n&&("object"==typeof t.error&&2==t.error.length?"function"==typeof window[t.error[0]][t.error[1]]&&window[t.error[0]][t.error[1]](e):"string"==typeof t.error?"function"==typeof window[t.error]&&window[t.error](e):"function"==typeof t.error&&t.error(e))},statusCode:o})},this.getUserMedia=function(e){var r=this,i=!1,o=this.statusCode,n=!1,c=this.getFilter("getUserMedia"),a="https://graph.instagram.com/v1.0/"+e.user_id+"/media?access_token="+s();void 0===e||0===e.length||("success"in e&&(i=!0),"error"in e&&(n=!0),"statusCode"in e&&(o=e.statusCode),"args"in e?!0:e.args={},"count"in e?(e.count=parseInt(e.count),(!Number.isInteger(e.count)||e.count<=0)&&(e.count=20)):e.count=20,a+="&count="+e.count,"min_id"in e&&(a+="&min_id="+e.min_id),"max_id"in e&&(a+="&max_id="+e.max_id));t.getDataFromCache(function(u){function d(t){i&&("object"==typeof e.success&&2==e.success.length?void 0!==window[e.success[0]]&&"function"==typeof window[e.success[0]][e.success[1]]&&(c&&(t=c(t,r.filterArguments,e)),window[e.success[0]][e.success[1]](t)):"string"==typeof e.success?"function"==typeof window[e.success]&&(c&&(t=c(t,r.filterArguments,e)),window[e.success](t)):"function"==typeof e.success&&(c&&(t=c(t,r.filterArguments,e)),e.success(t)))}!1===u?jQuery.ajax({type:"POST",dataType:"jsonp",url:a,success:function(e){if(e.data&&e.data.length>0)for(var r=[],i=0;i<e.data.length;i++){var n=e.data[i].id;jQuery.ajax({type:"GET",dataType:"json",url:"https://graph.instagram.com/v1.0/"+n+"/?fields=id,media_type,media_url,permalink,thumbnail_url,username,caption,timestamp&access_token="+s(),statusCode:o,async:!1,success:function(e){r.push(e)},error:function(e){}})}e.data=r,(e=t.convertPersonalData(e)).meta={code:200},t.setDataToCache(a,e),d(e)},error:function(t){n&&("object"==typeof e.error&&2==e.error.length?"function"==typeof window[e.error[0]][e.error[1]]&&window[e.error[0]][e.error[1]](t):"string"==typeof e.error?"function"==typeof window[e.error]&&window[e.error](t):"function"==typeof e.error&&e.error(t))},statusCode:o}):d(u)},a)},this.getUserInfo=function(e,t){var r=this,i=!1,o=this.statusCode,n=!1,c=this.getFilter("getUserInfo");void 0===t||0===t.length||("success"in t&&(i=!0),"error"in t&&(n=!0),"statusCode"in t&&(o=t.statusCode)),jQuery.ajax({type:"POST",dataType:"jsonp",url:"https://api.instagram.com/v1/users/"+e+"/?access_token="+s(),success:function(e){i&&("object"==typeof t.success&&2==t.success.length?void 0!==window[t.success[0]]&&"function"==typeof window[t.success[0]][t.success[1]]&&(c&&(e=c(e,r.filterArguments)),window[t.success[0]][t.success[1]](e)):"string"==typeof t.success?"function"==typeof window[t.success]&&(c&&(e=c(e,r.filterArguments)),window[t.success](e)):"function"==typeof t.success&&(c&&(e=c(e,r.filterArguments)),t.success(e)))},error:function(e){n&&("object"==typeof t.error&&2==t.error.length?"function"==typeof window[t.error[0]][t.error[1]]&&window[t.error[0]][t.error[1]](e):"string"==typeof t.error?"function"==typeof window[t.error]&&window[t.error](e):"function"==typeof t.error&&t.error(e))},statusCode:o})},this.getSelfInfo=function(e){var r=this,i=!1,o=this.statusCode,n=!1,c=this.getFilter("getSelfInfo");void 0===e||0===e.length||("success"in e&&(i=!0),"error"in e&&(n=!0),"statusCode"in e&&(o=e.statusCode));var a="https://api.instagram.com/v1/users/self/?access_token="+s();t.getDataFromCache(function(s){var u;!1===s?jQuery.ajax({type:"POST",dataType:"jsonp",url:a,success:function(s){t.setDataToCache(a,s),i&&("object"==typeof e.success&&2==e.success.length?void 0!==window[e.success[0]]&&"function"==typeof window[e.success[0]][e.success[1]]&&(c&&(s=c(s,r.filterArguments)),window[e.success[0]][e.success[1]](s)):"string"==typeof e.success?"function"==typeof window[e.success]&&(c&&(s=c(s,r.filterArguments)),window[e.success](s)):"function"==typeof e.success&&(c&&(s=c(s,r.filterArguments)),e.success(s)))},error:function(t){n&&("object"==typeof e.error&&2==e.error.length?"function"==typeof window[e.error[0]][e.error[1]]&&window[e.error[0]][e.error[1]](t):"string"==typeof e.error?"function"==typeof window[e.error]&&window[e.error](t):"function"==typeof e.error&&e.error(t))},statusCode:o}):(u=s,i&&("object"==typeof e.success&&2==e.success.length?void 0!==window[e.success[0]]&&"function"==typeof window[e.success[0]][e.success[1]]&&(c&&(u=c(u,r.filterArguments)),window[e.success[0]][e.success[1]](u)):"string"==typeof e.success?"function"==typeof window[e.success]&&(c&&(u=c(u,r.filterArguments)),window[e.success](u)):"function"==typeof e.success&&(c&&(u=c(u,r.filterArguments)),e.success(u))))},a)},this.getRecentMediaComments=function(e,r){var i=this,o=!1,n=this.statusCode,c=!1,a=this.getFilter("getRecentMediaComments");void 0===r||0===r.length||("success"in r&&(o=!0),"error"in r&&(c=!0),"statusCode"in r&&(n=r.statusCode));var u="https://api.instagram.com/v1/media/"+e+"/comments?access_token="+s();t.getDataFromCache(function(e){function s(e){o&&("object"==typeof r.success&&2==r.success.length?void 0!==window[r.success[0]]&&"function"==typeof window[r.success[0]][r.success[1]]&&(a&&(e=a(e,i.filterArguments)),window[r.success[0]][r.success[1]](e)):"string"==typeof r.success?"function"==typeof window[r.success]&&(a&&(e=a(e,i.filterArguments)),window[r.success](e)):"function"==typeof r.success&&(a&&(e=a(e,i.filterArguments)),r.success(e)))}!1===e?jQuery.ajax({type:"POST",dataType:"jsonp",url:u,success:function(e){t.setDataToCache(u,e),s(e)},error:function(e){c&&("object"==typeof r.error&&2==r.error.length?"function"==typeof window[r.error[0]][r.error[1]]&&window[r.error[0]][r.error[1]](e):"string"==typeof r.error?"function"==typeof window[r.error]&&window[r.error](e):"function"==typeof r.error&&r.error(e))},statusCode:n}):s(e)},u)},this.getRecentMediaLikes=function(e,t){var r=this,i=!1,o=this.statusCode,n=!1,c=this.getFilter("getRecentMediaLikes");void 0===t||0===t.length||("success"in t&&(i=!0),"error"in t&&(n=!0),"statusCode"in t&&(o=t.statusCode)),jQuery.ajax({type:"POST",dataType:"jsonp",url:"https://api.instagram.com/v1/media/"+e+"/likes?access_token="+s(),success:function(e){i&&("object"==typeof t.success&&2==t.success.length?void 0!==window[t.success[0]]&&"function"==typeof window[t.success[0]][t.success[1]]&&(c&&(e=c(e,r.filterArguments)),window[t.success[0]][t.success[1]](e)):"string"==typeof t.success?"function"==typeof window[t.success]&&(c&&(e=c(e,r.filterArguments)),window[t.success](e)):"function"==typeof t.success&&(c&&(e=c(e,r.filterArguments)),t.success(e)))},error:function(e){n&&("object"==typeof t.error&&2==t.error.length?"function"==typeof window[t.error[0]][t.error[1]]&&window[t.error[0]][t.error[1]](e):"string"==typeof t.error?"function"==typeof window[t.error]&&window[t.error](e):"function"==typeof t.error&&t.error(e))},statusCode:o})},this.requestByUrl=function(e,r){var i,o=this,n=!1,c=!1,a=this.statusCode,u=this.getFilter("requestByUrl");i=e.split("?")[1].split("&");for(var d=0;d<i.length;d++)i[d]=i[d].split("="),"access_token"==i[d][0]&&(i[d][1]=s()),i[d]=i[d].join("=");i=i.join("&"),e=e.split("?")[0]+"?"+i,void 0===r||0===r.length||("success"in r&&(n=!0),"args"in r?!0:r.args={},"error"in r&&(c=!0),"statusCode"in r&&(a=r.statusCode));t.getDataFromCache(function(s){var i;!1===s?jQuery.ajax({type:"POST",dataType:"jsonp",url:e,success:function(s){t.setDataToCache(e,s),n&&("object"==typeof r.success&&2==r.success.length?void 0!==window[r.success[0]]&&"function"==typeof window[r.success[0]][r.success[1]]&&(u&&(s=u(s,o.filterArguments,r.args)),window[r.success[0]][r.success[1]](s)):"string"==typeof r.success?"function"==typeof window[r.success]&&(u&&(s=u(s,o.filterArguments,r.args)),window[r.success](s)):"function"==typeof r.success&&(u&&(s=u(s,o.filterArguments,r.args)),r.success(s)))},error:function(e){c&&("object"==typeof r.error&&2==r.error.length?"function"==typeof window[r.error[0]][r.error[1]]&&window[r.error[0]][r.error[1]](e):"string"==typeof r.error?"function"==typeof window[r.error]&&window[r.error](e):"function"==typeof r.error&&r.error(e))},statusCode:a}):(i=s,n&&("object"==typeof r.success&&2==r.success.length?void 0!==window[r.success[0]]&&"function"==typeof window[r.success[0]][r.success[1]]&&(u&&(i=u(i,o.filterArguments,r.args)),window[r.success[0]][r.success[1]](i)):"string"==typeof r.success?"function"==typeof window[r.success]&&(u&&(i=u(i,o.filterArguments,r.args)),window[r.success](i)):"function"==typeof r.success&&(u&&(i=u(i,o.filterArguments,r.args)),r.success(i))))},e)},this.getDataFromCache=function(e,t,s){void 0===s&&(s=!0),jQuery.ajax({type:"POST",async:s,url:wdi_ajax.ajax_url,dataType:"json",data:{wdi_cache_name:t,wdi_nonce:wdi_ajax.wdi_nonce,WDI_MINIFY:wdi_ajax.WDI_MINIFY,action:"wdi_get_cache_data"},success:function(t){if(t.success)if(void 0!==t.cache_data&&null!==t.cache_data){var s=JSON.parse(t.cache_data);e(s)}else e(!1);else e(!1)}})},this.setDataToCache=function(e,t){jQuery.ajax({type:"POST",url:wdi_ajax.ajax_url,dataType:"json",data:{wdi_cache_name:e,wdi_cache_response:JSON.stringify(t),wdi_nonce:wdi_ajax.wdi_nonce,action:"wdi_set_cache_data"},success:function(e){}})}}
|
| 1 |
+
function WDIInstagram(e){this.access_tokens=[],this.filters=[],void 0!==e&&(void 0!==e.access_tokens&&(this.access_tokens=e.access_tokens),void 0!==e.filters&&(this.filters=e.filters));var w=this;function d(){var e=w.access_tokens;return e[parseInt(Math.random(0,1)*e.length)]}function h(){return"undefined"!=typeof wdi_options?wdi_options.fb_token:"undefined"!=typeof wdi_ajax?wdi_ajax.fb_token:""}function p(){return"undefined"!=typeof wdi_options?wdi_options.business_account_id:"undefined"!=typeof wdi_ajax?wdi_ajax.business_account_id:""}this.statusCode={429:function(){console.log(" 429: Too many requests. Try after one hour")}},this.getFilter=function(e){var t=w.filters;if(void 0===t)return!1;for(var s=0;s<t.length;s++)if(t[s].where==e)if("object"==typeof t[s].what&&2==t[s].what.length){if(void 0!==window[t[s].what[0]]&&"function"==typeof window[t[s].what[0]][t[s].what[1]])return window[t[s].what[0]][t[s].what[1]]}else{if("string"!=typeof t[s].what)return"function"==typeof t[s].what&&t[s].what;if("function"==typeof window[t[s].what])return window[t[s].what]}return!1},this.addToken=function(e){"string"==typeof e&&w.access_tokens.push(e)},this.resetTokens=function(){w.access_tokens=[]},this.getTagRecentMedia=function(s,i,r,e){var t="https://graph.facebook.com/ig_hashtag_search/";t+="?user_id="+p(),t+="&q="+s,t+="&access_token="+h();var o=this,n=!1,c=this.statusCode,a=!1,u=this.getFilter("getTagRecentMedia"),d="https://graph.facebook.com/{tagid}/"+(e=0===parseInt(e)?"top_media":"recent_media")+"/?fields=media_url,caption,id,media_type,comments_count,like_count,permalink,children{media_url,id,media_type,permalink}";void 0===i||0===i.length||("success"in i&&(n=!0),"statusCode"in i&&(c=i.statusCode),"error"in i&&(a=!0),"args"in i||(i.args={}),"count"in i?(i.count=parseInt(i.count),(!Number.isInteger(i.count)||i.count<=0)&&(i.count=33)):i.count=33,d+="&limit="+i.count,"min_tag_id"in i&&(d+="&min_tag_id="+i.min_tag_id),"max_tag_id"in i&&(d+="&max_tag_id="+i.max_tag_id),d+="&access_token="+h(),d+="&user_id="+p());function f(e){function t(e){void 0===e.data&&(e.data=[]),n&&("object"==typeof i.success&&2==i.success.length?void 0!==window[i.success[0]]&&"function"==typeof window[i.success[0]][i.success[1]]&&(u&&(e=u(e,o.filterArguments,i.args)),window[i.success[0]][i.success[1]](e)):"string"==typeof i.success?"function"==typeof window[i.success]&&(u&&(e=u(e,o.filterArguments,i.args)),window[i.success](e)):"function"==typeof i.success&&(u&&(e=u(e,o.filterArguments,i.args)),i.success(e)))}!1===e?jQuery.ajax({type:"POST",url:d,dataType:"jsonp",success:function(e){(e=w.convertHashtagData(e)).meta={code:200},e.tag_id=l,w.setDataToCache(d,e),t(e)},error:function(e){a&&("object"==typeof i.error&&2==i.error.length?"function"==typeof window[i.error[0]][i.error[1]]&&window[i.error[0]][i.error[1]](e):"string"==typeof i.error?"function"==typeof window[i.error]&&window[i.error](e):"function"==typeof i.error&&i.error(e))},statusCode:c}):t(e)}var l=this.getTagId(s);!1===l?jQuery.ajax({type:"GET",url:t,dataType:"jsonp"}).done(function(e){var t;void 0===e.error?(l=e.data[0].id,d=null==r?d.replace("{tagid}",l):r,t=[],void 0!==window.wdi_all_tags&&(t=window.wdi_all_tags),t[l]={id:"#"+s,username:"#"+s,tag_id:l},window.wdi_all_tags=t,w.getDataFromCache(f,d)):alert(e.error.message)}):(d=null==r?d.replace("{tagid}",l):r,w.getDataFromCache(f,d))},this.getTagId=function(e){var t,s=[];for(var i in"undefined"!=typeof wdi_controller?0===(s=wdi_controller.feed_users).length&&(t=jQuery("#WDI_feed_users").val(),s=JSON.parse(t)):void 0!==window.wdi_all_tags&&(s=window.wdi_all_tags),s)if(e===s[i].username||"#"+e===s[i].username)return void 0!==s[i].tag_id&&s[i].tag_id;return!1},this.convertHashtagData=function(e){var t={data:[],pagination:{}};for(var s in void 0!==e.paging&&(t.pagination={cursors:{after:e.paging.cursors.after},next_url:e.paging.next}),e.data){var i,r=e.data[s],o="IMAGE"===r.media_type?"image":"VIDEO"===r.media_type?"video":"carousel",n={id:r.id,user:{id:"",full_name:"",profile_picture:"",username:""},images:{thumbnail:{width:150,height:150,url:r.permalink+"media?size=t"},low_resolution:{width:320,height:320,url:r.permalink+"media?size=m"},standard_resolution:{width:1080,height:1080,url:r.permalink+"media?size=l"}},created_time:r.timestamp,caption:{id:"",text:r.caption,created_time:"",from:{id:"",full_name:"",profile_picture:"",username:""}},user_has_liked:0<r.like_count,likes:{count:r.like_count},tags:[],filter:"Normal",comments:{count:r.comments_count},type:o,link:r.permalink,location:null,attribution:null,users_in_photo:[]};if("IMAGE"===r.media_type||"CAROUSEL_ALBUM"===r.media_type?n.images={thumbnail:{width:150,height:150,url:r.permalink+"media?size=t"},low_resolution:{width:320,height:320,url:r.permalink+"media?size=m"},standard_resolution:{width:1080,height:1080,url:r.permalink+"media?size=l"}}:"VIDEO"===r.media_type&&(n.videos={standard_resolution:{width:640,height:800,url:r.media_url},low_bandwidth:{width:480,height:600,url:r.media_url},low_resolution:{width:480,height:600,url:r.media_url}}),"CAROUSEL_ALBUM"===r.media_type)for(var c in n.carousel_media=[],r.children.data){i="IMAGE"===r.children.data[c].media_type?{images:{thumbnail:{width:150,height:150,url:r.children.data[c].media_url+"media?size=t"},low_resolution:{width:320,height:320,url:r.children.data[c].permalink+"media?size=m"},standard_resolution:{width:640,height:640,url:r.children.data[c].media_url}},users_in_photo:[],type:"image"}:{videos:{standard_resolution:{width:640,height:800,url:r.children.data[c].media_url,id:r.children.data[c].id},low_bandwidth:{width:480,height:600,url:r.children.data[c].media_url,id:r.children.data[c].id},low_resolution:{width:480,height:600,url:r.children.data[c].media_url,id:r.children.data[c].id}},users_in_photo:[],type:"video"},n.carousel_media.push(i)}t.data.push(n)}return t};var c=[];this.convertPersonalData=function(e){var t={data:[],pagination:{}};for(var s in void 0!==e.paging&&(t.pagination={cursors:{after:e.paging.cursors.after},next_url:e.paging.next}),e.data){var i=e.data[s],r="IMAGE"===i.media_type?"image":"VIDEO"===i.media_type?"video":"carousel",o={id:i.id,user:{id:"",full_name:"",profile_picture:"",username:""},images:{thumbnail:{width:150,height:150,url:i.permalink+"media?size=t"},low_resolution:{width:320,height:320,url:i.permalink+"media?size=m"},standard_resolution:{width:1080,height:1080,url:i.permalink+"media?size=l"}},created_time:i.timestamp,caption:{id:"",text:i.caption,created_time:"",from:{id:"",full_name:"",profile_picture:"",username:""}},user_has_liked:0<i.like_count,likes:{count:0},tags:[],filter:"Normal",comments:{count:0},media_type:i.media_type,type:r,link:i.permalink,location:null,attribution:null,users_in_photo:[]};"IMAGE"===i.media_type||"CAROUSEL_ALBUM"===i.media_type?o.images={thumbnail:{width:150,height:150,url:i.permalink+"media?size=t"},low_resolution:{width:320,height:320,url:i.permalink+"media?size=m"},standard_resolution:{width:1080,height:1080,url:i.permalink+"media?size=l"}}:"VIDEO"===i.media_type&&(o.videos={standard_resolution:{width:640,height:800,url:i.media_url},low_bandwidth:{width:480,height:600,url:i.media_url},low_resolution:{width:480,height:600,url:i.media_url}}),"CAROUSEL_ALBUM"===i.media_type&&c.push({index:s,media_id:i.id}),t.data.push(o)}return t};var f=[];this.getChildMediaById=function(e,t){jQuery.ajax({type:"GET",dataType:"json",async:!1,url:"https://graph.instagram.com/v1.0/"+e+"/?fields=id,media_type,media_url,permalink,thumbnail_url,username,timestamp&access_token="+d(),success:function(e){f[t]=e}})},this.getMediaChildren=function(e){var t="https://graph.instagram.com/"+e+"/children?access_token="+d();return jQuery.ajax({type:"POST",url:t,dataType:"jsonp",async:!1,success:function(e){void 0!==e.data&&0<e.data.length&&jQuery.each(e.data,function(e,t){w.getChildMediaById(t.id,e)})}})},this.searchForTagsByName=function(e,s){var i=this,r=!1,o=this.statusCode,n=!1;filter=this.getFilter("searchForTagsByName"),void 0===s||0===s.length||("success"in s&&(r=!0),"error"in s&&(n=!0),"statusCode"in s&&(o=s.statusCode));var c="https://api.instagram.com/v1/tags/search?q="+e+"&access_token="+d();w.getDataFromCache(function(e){function t(e){r&&("object"==typeof s.success&&2==s.success.length?void 0!==window[s.success[0]]&&"function"==typeof window[s.success[0]][s.success[1]]&&(filter&&(e=filter(e,i.filterArguments)),window[s.success[0]][s.success[1]](e)):"string"==typeof s.success?"function"==typeof window[s.success]&&(filter&&(e=filter(e,i.filterArguments)),window[s.success](e)):"function"==typeof s.success&&(filter&&(e=filter(e,i.filterArguments)),s.success(e)))}!1===e?jQuery.ajax({type:"POST",url:c,dataType:"jsonp",success:function(e){w.setDataToCache(c,e),t(e)},error:function(e){n&&("object"==typeof s.error&&2==s.error.length?"function"==typeof window[s.error[0]][s.error[1]]&&window[s.error[0]][s.error[1]](e):"string"==typeof s.error?"function"==typeof window[s.error]&&window[s.error](e):"function"==typeof s.error&&s.error(e))},statusCode:o}):t(e)},c)},this.searchForUsersByName=function(e,t){var s=this,i=!1,r=(this.statusCode,!1),o=this.getFilter("searchForUsersByName");void 0===t||0===t.length||("success"in t&&(i=!0),"error"in t&&(r=!0),"statusCode"in t&&t.statusCode),jQuery.ajax({type:"POST",dataType:"jsonp",url:"https://api.instagram.com/v1/users/search?q="+e+"&access_token="+d(),success:function(e){i&&("object"==typeof t.success&&2==t.success.length?void 0!==window[t.success[0]]&&"function"==typeof window[t.success[0]][t.success[1]]&&(o&&(e=o(e,s.filterArguments)),e.args=t,window[t.success[0]][t.success[1]](e)):"string"==typeof t.success?"function"==typeof window[t.success]&&(o&&(e=o(e,s.filterArguments)),e.args=t,window[t.success](e)):"function"==typeof t.success&&(o&&(e=o(e,s.filterArguments)),(e.args=t).success(e)))},error:function(e){r&&("object"==typeof t.error&&2==t.error.length?"function"==typeof window[t.error[0]][t.error[1]]&&window[t.error[0]][t.error[1]](e):"string"==typeof t.error?"function"==typeof window[t.error]&&window[t.error](e):"function"==typeof t.error&&t.error(e))},statusCode:this.statusCode})},this.getRecentLikedMedia=function(t){var s=this,i=!1,e=this.statusCode,r=!1,o=this.getFilter("getRecentLikedMedia"),n="https://api.instagram.com/v1/users/self/media/liked?access_token="+d();void 0===t||0===t.length||("success"in t&&(i=!0),"error"in t&&(r=!0),"statusCode"in t&&(e=t.statusCode),"args"in t?argFlag=!0:t.args={},"count"in t?(t.count=parseInt(t.count),(!Number.isInteger(t.count)||t.count<=0)&&(t.count=20)):t.count=20,n+="&count="+t.count,"next_max_like_id"in t&&(n+="&next_max_like_id="+t.next_max_like_id)),jQuery.ajax({type:"POST",dataType:"jsonp",url:n,success:function(e){i&&("object"==typeof t.success&&2==t.success.length?void 0!==window[t.success[0]]&&"function"==typeof window[t.success[0]][t.success[1]]&&(o&&(e=o(e,s.filterArguments,t.args)),window[t.success[0]][t.success[1]](e)):"string"==typeof t.success?"function"==typeof window[t.success]&&(o&&(e=o(e,s.filterArguments,t.args)),window[t.success](e)):"function"==typeof t.success&&(o&&(e=o(e,s.filterArguments,t.args)),t.success(e)))},error:function(e){r&&("object"==typeof t.error&&2==t.error.length?"function"==typeof window[t.error[0]][t.error[1]]&&window[t.error[0]][t.error[1]](e):"string"==typeof t.error?"function"==typeof window[t.error]&&window[t.error](e):"function"==typeof t.error&&t.error(e))},statusCode:e})},this.getUserRecentMedia=function(e,t){var s=this,i=!1,r=this.statusCode,o=!1,n=this.getFilter("getUserRecentMedia"),c="https://api.instagram.com/v1/users/"+e+"/media/recent/?access_token="+d();void 0===t||0===t.length||("success"in t&&(i=!0),"statusCode"in t&&(r=t.statusCode),"args"in t||(t.args={}),"error"in t&&(o=!0),"count"in t?(t.count=parseInt(t.count),(!Number.isInteger(t.count)||t.count<=0)&&(t.count=33)):t.count=33,c+="&count="+t.count,"min_id"in t&&(c+="&min_id="+t.min_id),"max_id"in t&&(c+="&max_id="+t.max_id)),jQuery.ajax({type:"POST",dataType:"jsonp",url:c,success:function(e){void 0===e.data&&(e.data=[]),i&&("object"==typeof t.success&&2==t.success.length?void 0!==window[t.success[0]]&&"function"==typeof window[t.success[0]][t.success[1]]&&(n&&(e=n(e,s.filterArguments,t.args)),window[t.success[0]][t.success[1]](e)):"string"==typeof t.success?"function"==typeof window[t.success]&&(n&&(e=n(e,s.filterArguments,t.args)),window[t.success](e)):"function"==typeof t.success&&(n&&(e=n(e,s.filterArguments,t.args)),t.success(e)))},error:function(e){o&&("object"==typeof t.error&&2==t.error.length?"function"==typeof window[t.error[0]][t.error[1]]&&window[t.error[0]][t.error[1]](e):"string"==typeof t.error?"function"==typeof window[t.error]&&window[t.error](e):"function"==typeof t.error&&t.error(e))},statusCode:r})},this.getUserMedia=function(t){var s=this,i=!1,r=this.statusCode,o=!1,n=this.getFilter("getUserMedia"),u="https://graph.instagram.com/v1.0/"+t.user_id+"/media?access_token="+d();void 0===t||0===t.length||("success"in t&&(i=!0),"error"in t&&(o=!0),"statusCode"in t&&(r=t.statusCode),"args"in t||(t.args={}),"count"in t?(t.count=parseInt(t.count),(!Number.isInteger(t.count)||t.count<=0)&&(t.count=20)):t.count=20,u+="&count="+t.count,"min_id"in t&&(u+="&min_id="+t.min_id),"max_id"in t&&(u+="&max_id="+t.max_id));w.getDataFromCache(function(e){function a(e){i&&("object"==typeof t.success&&2==t.success.length?void 0!==window[t.success[0]]&&"function"==typeof window[t.success[0]][t.success[1]]&&(n&&(e=n(e,s.filterArguments,t)),window[t.success[0]][t.success[1]](e)):"string"==typeof t.success?"function"==typeof window[t.success]&&(n&&(e=n(e,s.filterArguments,t)),window[t.success](e)):"function"==typeof t.success&&(n&&(e=n(e,s.filterArguments,t)),t.success(e)))}!1===e?jQuery.ajax({type:"POST",dataType:"jsonp",url:u,success:function(e){if(e.data&&0<e.data.length)for(var t=[],s=0;s<e.data.length;s++){var i=e.data[s].id;jQuery.ajax({type:"GET",dataType:"json",url:"https://graph.instagram.com/v1.0/"+i+"/?fields=id,media_type,media_url,permalink,thumbnail_url,username,caption,timestamp&access_token="+d(),statusCode:r,async:!1,success:function(e){t.push(e)},error:function(e){}})}e.data=t,e=w.convertPersonalData(e),0<c.length?function r(o,n,c){jQuery.when(w.getMediaChildren(n[c].media_id)).done(function(){if(0<f.length){var e=o.data[c];e.children={},e.children.data=f;var t,s=n[c].index;for(var i in o.data[s].carousel_media=[],e.children.data){t="IMAGE"===e.children.data[i].media_type?{images:{thumbnail:{width:150,height:150,url:e.children.data[i].media_url+"media?size=t"},low_resolution:{width:320,height:320,url:e.children.data[i].permalink+"media?size=m"},standard_resolution:{width:640,height:640,url:e.children.data[i].media_url}},users_in_photo:[],type:"image"}:{videos:{standard_resolution:{width:640,height:800,url:e.children.data[i].media_url,id:e.children.data[i].id},low_bandwidth:{width:480,height:600,url:e.children.data[i].media_url,id:e.children.data[i].id},low_resolution:{width:480,height:600,url:e.children.data[i].media_url,id:e.children.data[i].id}},users_in_photo:[],type:"video"},o.data[s].carousel_media.push(t)}}c<n.length-1?r(o,n,++c):(o.meta={code:200},w.setDataToCache(u,o),a(o))})}(e,c,0):(e.meta={code:200},w.setDataToCache(u,e),a(e))},error:function(e){o&&("object"==typeof t.error&&2==t.error.length?"function"==typeof window[t.error[0]][t.error[1]]&&window[t.error[0]][t.error[1]](e):"string"==typeof t.error?"function"==typeof window[t.error]&&window[t.error](e):"function"==typeof t.error&&t.error(e))},statusCode:r}):a(e)},u)},this.getUserInfo=function(e,t){var s=this,i=!1,r=this.statusCode,o=!1,n=this.getFilter("getUserInfo");void 0===t||0===t.length||("success"in t&&(i=!0),"error"in t&&(o=!0),"statusCode"in t&&(r=t.statusCode)),jQuery.ajax({type:"POST",dataType:"jsonp",url:"https://api.instagram.com/v1/users/"+e+"/?access_token="+d(),success:function(e){i&&("object"==typeof t.success&&2==t.success.length?void 0!==window[t.success[0]]&&"function"==typeof window[t.success[0]][t.success[1]]&&(n&&(e=n(e,s.filterArguments)),window[t.success[0]][t.success[1]](e)):"string"==typeof t.success?"function"==typeof window[t.success]&&(n&&(e=n(e,s.filterArguments)),window[t.success](e)):"function"==typeof t.success&&(n&&(e=n(e,s.filterArguments)),t.success(e)))},error:function(e){o&&("object"==typeof t.error&&2==t.error.length?"function"==typeof window[t.error[0]][t.error[1]]&&window[t.error[0]][t.error[1]](e):"string"==typeof t.error?"function"==typeof window[t.error]&&window[t.error](e):"function"==typeof t.error&&t.error(e))},statusCode:r})},this.getSelfInfo=function(s){var i=this,r=!1,o=this.statusCode,n=!1,c=this.getFilter("getSelfInfo");void 0===s||0===s.length||("success"in s&&(r=!0),"error"in s&&(n=!0),"statusCode"in s&&(o=s.statusCode));var a="https://api.instagram.com/v1/users/self/?access_token="+d();w.getDataFromCache(function(e){var t;!1===e?jQuery.ajax({type:"POST",dataType:"jsonp",url:a,success:function(e){w.setDataToCache(a,e),r&&("object"==typeof s.success&&2==s.success.length?void 0!==window[s.success[0]]&&"function"==typeof window[s.success[0]][s.success[1]]&&(c&&(e=c(e,i.filterArguments)),window[s.success[0]][s.success[1]](e)):"string"==typeof s.success?"function"==typeof window[s.success]&&(c&&(e=c(e,i.filterArguments)),window[s.success](e)):"function"==typeof s.success&&(c&&(e=c(e,i.filterArguments)),s.success(e)))},error:function(e){n&&("object"==typeof s.error&&2==s.error.length?"function"==typeof window[s.error[0]][s.error[1]]&&window[s.error[0]][s.error[1]](e):"string"==typeof s.error?"function"==typeof window[s.error]&&window[s.error](e):"function"==typeof s.error&&s.error(e))},statusCode:o}):(t=e,r&&("object"==typeof s.success&&2==s.success.length?void 0!==window[s.success[0]]&&"function"==typeof window[s.success[0]][s.success[1]]&&(c&&(t=c(t,i.filterArguments)),window[s.success[0]][s.success[1]](t)):"string"==typeof s.success?"function"==typeof window[s.success]&&(c&&(t=c(t,i.filterArguments)),window[s.success](t)):"function"==typeof s.success&&(c&&(t=c(t,i.filterArguments)),s.success(t))))},a)},this.getRecentMediaComments=function(e,s){var i=this,r=!1,o=this.statusCode,n=!1,c=this.getFilter("getRecentMediaComments");void 0===s||0===s.length||("success"in s&&(r=!0),"error"in s&&(n=!0),"statusCode"in s&&(o=s.statusCode));var a="https://api.instagram.com/v1/media/"+e+"/comments?access_token="+d();w.getDataFromCache(function(e){function t(e){r&&("object"==typeof s.success&&2==s.success.length?void 0!==window[s.success[0]]&&"function"==typeof window[s.success[0]][s.success[1]]&&(c&&(e=c(e,i.filterArguments)),window[s.success[0]][s.success[1]](e)):"string"==typeof s.success?"function"==typeof window[s.success]&&(c&&(e=c(e,i.filterArguments)),window[s.success](e)):"function"==typeof s.success&&(c&&(e=c(e,i.filterArguments)),s.success(e)))}!1===e?jQuery.ajax({type:"POST",dataType:"jsonp",url:a,success:function(e){w.setDataToCache(a,e),t(e)},error:function(e){n&&("object"==typeof s.error&&2==s.error.length?"function"==typeof window[s.error[0]][s.error[1]]&&window[s.error[0]][s.error[1]](e):"string"==typeof s.error?"function"==typeof window[s.error]&&window[s.error](e):"function"==typeof s.error&&s.error(e))},statusCode:o}):t(e)},a)},this.getRecentMediaLikes=function(e,t){var s=this,i=!1,r=this.statusCode,o=!1,n=this.getFilter("getRecentMediaLikes");void 0===t||0===t.length||("success"in t&&(i=!0),"error"in t&&(o=!0),"statusCode"in t&&(r=t.statusCode)),jQuery.ajax({type:"POST",dataType:"jsonp",url:"https://api.instagram.com/v1/media/"+e+"/likes?access_token="+d(),success:function(e){i&&("object"==typeof t.success&&2==t.success.length?void 0!==window[t.success[0]]&&"function"==typeof window[t.success[0]][t.success[1]]&&(n&&(e=n(e,s.filterArguments)),window[t.success[0]][t.success[1]](e)):"string"==typeof t.success?"function"==typeof window[t.success]&&(n&&(e=n(e,s.filterArguments)),window[t.success](e)):"function"==typeof t.success&&(n&&(e=n(e,s.filterArguments)),t.success(e)))},error:function(e){o&&("object"==typeof t.error&&2==t.error.length?"function"==typeof window[t.error[0]][t.error[1]]&&window[t.error[0]][t.error[1]](e):"string"==typeof t.error?"function"==typeof window[t.error]&&window[t.error](e):"function"==typeof t.error&&t.error(e))},statusCode:r})},this.requestByUrl=function(s,i){for(var r=this,o=!1,n=!1,c=this.statusCode,a=this.getFilter("requestByUrl"),e=s.split("?")[1].split("&"),t=0;t<e.length;t++)e[t]=e[t].split("="),"access_token"==e[t][0]&&(e[t][1]=d()),e[t]=e[t].join("=");e=e.join("&"),s=s.split("?")[0]+"?"+e,void 0===i||0===i.length||("success"in i&&(o=!0),"args"in i||(i.args={}),"error"in i&&(n=!0),"statusCode"in i&&(c=i.statusCode));w.getDataFromCache(function(e){var t;!1===e?jQuery.ajax({type:"POST",dataType:"jsonp",url:s,success:function(e){w.setDataToCache(s,e),o&&("object"==typeof i.success&&2==i.success.length?void 0!==window[i.success[0]]&&"function"==typeof window[i.success[0]][i.success[1]]&&(a&&(e=a(e,r.filterArguments,i.args)),window[i.success[0]][i.success[1]](e)):"string"==typeof i.success?"function"==typeof window[i.success]&&(a&&(e=a(e,r.filterArguments,i.args)),window[i.success](e)):"function"==typeof i.success&&(a&&(e=a(e,r.filterArguments,i.args)),i.success(e)))},error:function(e){n&&("object"==typeof i.error&&2==i.error.length?"function"==typeof window[i.error[0]][i.error[1]]&&window[i.error[0]][i.error[1]](e):"string"==typeof i.error?"function"==typeof window[i.error]&&window[i.error](e):"function"==typeof i.error&&i.error(e))},statusCode:c}):(t=e,o&&("object"==typeof i.success&&2==i.success.length?void 0!==window[i.success[0]]&&"function"==typeof window[i.success[0]][i.success[1]]&&(a&&(t=a(t,r.filterArguments,i.args)),window[i.success[0]][i.success[1]](t)):"string"==typeof i.success?"function"==typeof window[i.success]&&(a&&(t=a(t,r.filterArguments,i.args)),window[i.success](t)):"function"==typeof i.success&&(a&&(t=a(t,r.filterArguments,i.args)),i.success(t))))},s)},this.getDataFromCache=function(s,e,t){void 0===t&&(t=!0),jQuery.ajax({type:"POST",async:t,url:wdi_ajax.ajax_url,dataType:"json",data:{wdi_cache_name:e,wdi_nonce:wdi_ajax.wdi_nonce,WDI_MINIFY:wdi_ajax.WDI_MINIFY,action:"wdi_get_cache_data"},success:function(e){var t;e.success&&void 0!==e.cache_data&&null!==e.cache_data?(t=JSON.parse(e.cache_data),s(t)):s(!1)}})},this.setDataToCache=function(e,t){jQuery.ajax({type:"POST",url:wdi_ajax.ajax_url,dataType:"json",data:{wdi_cache_name:e,wdi_cache_response:JSON.stringify(t),wdi_nonce:wdi_ajax.wdi_nonce,action:"wdi_set_cache_data"},success:function(e){}})}}
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Tags: custom instagram feed, feed, instagram, hashtag, Instagram feed, instagram
|
|
| 4 |
Requires at least: 3.9
|
| 5 |
Requires PHP: 5.2
|
| 6 |
Tested up to: 5.5
|
| 7 |
-
Stable tag: 1.4.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -505,6 +505,12 @@ Please make sure you don't have any important information before you proceed.
|
|
| 505 |
10Web Social Photo Feed for Instagram plugin uses Instagram API on website front end. You have to authorize the plugin via sign in to get data from Instagram on your behalf. The plugin does not send any user’s data to Instagram. All the data received from Instagram via API is cached in WordPress database for some short customizable period to provide front end optimization. You can delete or update cached data. Instagram saves some cookies in browsers of website visitors via API data. These cookies are mostly used for security purposes. They are regulated under terms of Instagram’s privacy policy https://instagram.com/legal/privacy. The plugin asks for your consent to collect site administrator’s email address and site URL to offer customer support, deals and discounts on premium products and more.
|
| 506 |
|
| 507 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 508 |
= 1.4.4 =
|
| 509 |
Fixed: Decreased feed load time.
|
| 510 |
Fixed: Business account.
|
| 4 |
Requires at least: 3.9
|
| 5 |
Requires PHP: 5.2
|
| 6 |
Tested up to: 5.5
|
| 7 |
+
Stable tag: 1.4.5
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 505 |
10Web Social Photo Feed for Instagram plugin uses Instagram API on website front end. You have to authorize the plugin via sign in to get data from Instagram on your behalf. The plugin does not send any user’s data to Instagram. All the data received from Instagram via API is cached in WordPress database for some short customizable period to provide front end optimization. You can delete or update cached data. Instagram saves some cookies in browsers of website visitors via API data. These cookies are mostly used for security purposes. They are regulated under terms of Instagram’s privacy policy https://instagram.com/legal/privacy. The plugin asks for your consent to collect site administrator’s email address and site URL to offer customer support, deals and discounts on premium products and more.
|
| 506 |
|
| 507 |
== Changelog ==
|
| 508 |
+
= 1.4.5 =
|
| 509 |
+
Fixed: Missing images from post with multiple images.
|
| 510 |
+
Fixed: Conflict with WP5.5.
|
| 511 |
+
Fixed: Number of comments and likes.
|
| 512 |
+
Fixed: Images ordering on Firefox.
|
| 513 |
+
|
| 514 |
= 1.4.4 =
|
| 515 |
Fixed: Decreased feed load time.
|
| 516 |
Fixed: Business account.
|
templates/default-themes.php
CHANGED
|
@@ -125,7 +125,7 @@ function wdi_get_default_themes(){
|
|
| 125 |
'lightbox_description_font_weight'=>'normal',
|
| 126 |
'lightbox_description_font_size'=>'14',
|
| 127 |
'lightbox_info_height'=>'30',
|
| 128 |
-
'lightbox_comment_width'=>'
|
| 129 |
'lightbox_comment_pos'=>'right',
|
| 130 |
'lightbox_comment_bg_color'=>'#ffffff',
|
| 131 |
'lightbox_comment_font_size'=>'12',
|
|
@@ -372,7 +372,7 @@ function wdi_get_default_themes(){
|
|
| 372 |
'lightbox_description_font_weight'=>'normal',
|
| 373 |
'lightbox_description_font_size'=>'14',
|
| 374 |
'lightbox_info_height'=>'30',
|
| 375 |
-
'lightbox_comment_width'=>'
|
| 376 |
'lightbox_comment_pos'=>'right',
|
| 377 |
'lightbox_comment_bg_color'=>'#000000',
|
| 378 |
'lightbox_comment_font_size'=>'12',
|
| 125 |
'lightbox_description_font_weight'=>'normal',
|
| 126 |
'lightbox_description_font_size'=>'14',
|
| 127 |
'lightbox_info_height'=>'30',
|
| 128 |
+
'lightbox_comment_width'=>'250',
|
| 129 |
'lightbox_comment_pos'=>'right',
|
| 130 |
'lightbox_comment_bg_color'=>'#ffffff',
|
| 131 |
'lightbox_comment_font_size'=>'12',
|
| 372 |
'lightbox_description_font_weight'=>'normal',
|
| 373 |
'lightbox_description_font_size'=>'14',
|
| 374 |
'lightbox_info_height'=>'30',
|
| 375 |
+
'lightbox_comment_width'=>'250',
|
| 376 |
'lightbox_comment_pos'=>'right',
|
| 377 |
'lightbox_comment_bg_color'=>'#000000',
|
| 378 |
'lightbox_comment_font_size'=>'12',
|
wd-instagram-feed.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
Plugin Name: 10Web Social Photo Feed
|
| 4 |
Plugin URI: https://10web.io/plugins/wordpress-instagram-feed/?utm_source=instagram_feed&utm_medium=free_plugin
|
| 5 |
Description: 10Web Social Photo Feed is a user-friendly tool for displaying user or hashtag-based feeds on your website. You can create feeds with one of the available layouts. It allows displaying image metadata, open up images in lightbox, download them and even share in social networking websites.
|
| 6 |
-
Version: 1.4.
|
| 7 |
Author: 10Web
|
| 8 |
Author URI: https://10Web.io/plugins/?utm_source=instagram_feed&utm_medium=free_plugin
|
| 9 |
License: GPLv2 or later
|
|
@@ -20,7 +20,7 @@ define("WDI_TSN", 'wdi_theme_settings');
|
|
| 20 |
define("WDI_META", '_' . WDI_VAR . '_meta');
|
| 21 |
define('WDI_FEED_TABLE', 'wdi_feeds');
|
| 22 |
define('WDI_THEME_TABLE', 'wdi_themes');
|
| 23 |
-
define('WDI_VERSION', '1.4.
|
| 24 |
define('WD_WDI_PREFIX', 'wdi' );
|
| 25 |
define('WDI_IS_PRO', false );
|
| 26 |
$wdi_minify = (isset($_GET['wdi_no_minify']) && $_GET['wdi_no_minify'] == 'true') ? FALSE : TRUE;
|
| 3 |
Plugin Name: 10Web Social Photo Feed
|
| 4 |
Plugin URI: https://10web.io/plugins/wordpress-instagram-feed/?utm_source=instagram_feed&utm_medium=free_plugin
|
| 5 |
Description: 10Web Social Photo Feed is a user-friendly tool for displaying user or hashtag-based feeds on your website. You can create feeds with one of the available layouts. It allows displaying image metadata, open up images in lightbox, download them and even share in social networking websites.
|
| 6 |
+
Version: 1.4.5
|
| 7 |
Author: 10Web
|
| 8 |
Author URI: https://10Web.io/plugins/?utm_source=instagram_feed&utm_medium=free_plugin
|
| 9 |
License: GPLv2 or later
|
| 20 |
define("WDI_META", '_' . WDI_VAR . '_meta');
|
| 21 |
define('WDI_FEED_TABLE', 'wdi_feeds');
|
| 22 |
define('WDI_THEME_TABLE', 'wdi_themes');
|
| 23 |
+
define('WDI_VERSION', '1.4.5');
|
| 24 |
define('WD_WDI_PREFIX', 'wdi' );
|
| 25 |
define('WDI_IS_PRO', false );
|
| 26 |
$wdi_minify = (isset($_GET['wdi_no_minify']) && $_GET['wdi_no_minify'] == 'true') ? FALSE : TRUE;
|
