Version Description
(09 Jun 2021) =
- Added: freelancer.com review platform. #1342
- Added: Upwork review platform. #1189
- Added: Airbnb Experiences review platform. #824
- Added: solarquotes.com.au review platform. #1207
- Added: serviceseeking.com.au review platform. #1208
- Added: productreview.com.au review platform. #1183
- Added: styleseat.com review platform. #1231
- Added: mariage.net review platform. #1196
- Added: zankyou.com review platform. #1196
- Added: oneflare.com.au review platform. #1209
- Added: hipages.com.au review platform. #1210
- Added: Shopper Approved (product) review platform. #1079
- Added: Carousel feature for the grid layout of the collection #1345
- Added: Pagejumps to FAQ questions #1058
- Added: Feature support for polylang extension with schema #1431
- Fixed: PHP Fatal error: when "Data types for Adventure Tours theme" plugin activated. #1437
- Fixed: Additional properties are not rendering for a simple product type #1433
Download this release
Release Info
Developer | magazine3 |
Plugin | Schema & Structured Data for WP & AMP |
Version | 1.9.78 |
Comparing to | |
See all releases |
Code changes from version 1.9.77 to 1.9.78
- admin_section/css/collection-front.css +3 -0
- admin_section/css/collection-front.min.css +1 -1
- admin_section/fields-generator.php +36 -2
- admin_section/images/reviews_platform_icon/airbnb-experiences-img.png +0 -0
- admin_section/images/reviews_platform_icon/freelancer-img.png +0 -0
- admin_section/images/reviews_platform_icon/hipages-img.png +0 -0
- admin_section/images/reviews_platform_icon/mariages-net-img.png +0 -0
- admin_section/images/reviews_platform_icon/oneflare-img.png +0 -0
- admin_section/images/reviews_platform_icon/productreview-img.png +0 -0
- admin_section/images/reviews_platform_icon/serviceseeking-img.png +0 -0
- admin_section/images/reviews_platform_icon/solarquotes-img.png +0 -0
- admin_section/images/reviews_platform_icon/styleseat-img.png +0 -0
- admin_section/images/reviews_platform_icon/upwork-img.png +0 -0
- admin_section/images/reviews_platform_icon/zankyou-img.png +0 -0
- admin_section/js/collection-front.js +17 -1
- admin_section/js/collection-front.min.js +1 -1
- admin_section/structure_admin.php +3 -0
- modules/gutenberg/assets/blocks/faq.js +27 -1
- modules/gutenberg/assets/css/editor.css +3 -0
- modules/gutenberg/includes/class-gutenberg.php +5 -1
- modules/reviews/comments.php +1 -1
- modules/reviews/reviews_collection.php +11 -2
- modules/reviews/reviews_service.php +50 -9
- modules/reviews/reviews_setup.php +21 -10
- output/output.php +10 -3
- readme.txt +21 -1
- structured-data-for-wp.php +2 -2
admin_section/css/collection-front.css
CHANGED
@@ -921,6 +921,9 @@ span.saswp-mines{
|
|
921 |
.saswp-dp-dsg.saswp_hide{
|
922 |
display: none;
|
923 |
}
|
|
|
|
|
|
|
924 |
.entry .entry-content a {
|
925 |
text-decoration: none !important;
|
926 |
}
|
921 |
.saswp-dp-dsg.saswp_hide{
|
922 |
display: none;
|
923 |
}
|
924 |
+
.saswp_grid_dp_none{
|
925 |
+
display: none;
|
926 |
+
}
|
927 |
.entry .entry-content a {
|
928 |
text-decoration: none !important;
|
929 |
}
|
admin_section/css/collection-front.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.saswp-pc-wrap{background-color:#004f74;padding:15px 15px 15px 30px;color:#fff;display:inline-flex;width:100%;flex-wrap:wrap;margin-bottom:20px}.saswp-pc-wrap .saswp-lst span{font-size:18px;font-weight:500;margin-bottom:10px;display:inline-block;line-height:1.3}.saswp-pc-wrap .saswp-lst{flex:1 0 42%}.saswp-pc-wrap .saswp-lst ul{margin:0}.saswp-pc-wrap .saswp-lst p{list-style-type:none;font-size:15px;font-weight:lighter;line-height:1.2;margin-bottom:10px;position:relative;padding-left:20px;color:#eee}.saswp-pc-wrap .saswp-lst p:before{content:'';position:absolute;width:8px;height:8px;background-color:#ccc;left:0;top:6px;border-radius:10px}.sgl .saswp-rvw{width:100%;margin-bottom:34px;font-size:13px;border-bottom:1px solid #ededed}.saswp-rvw-hd span,.saswp-rvw-sm span{background-color:#222;color:#fff;display:inline-block;font-size:15px}.saswp-rvw-hd span{line-height:1.4;padding:8px 12px 6px;margin:26px 0}.saswp-rvw td{padding:7px 14px}.saswp-rvw td,.sgl table td{border:1px solid #ededed}.saswp-rvw tbody{width:100%}.saswp-rvw-sm span{padding:8px 12px 6px;margin-bottom:13px;position:relative;line-height:1.2}.saswp-rvw-fs{line-height:1.5;font-size:48px;font-weight:600;margin-bottom:5px}.saswp-rvw-ov .ovs{font-size:11px;font-weight:600}.sgl .saswp-rvw tr td{background:#fff;width:100%}.sgl .saswp-rvw tr:hover td{background-color:#fcfcfc}.saswp-rvw .saswp-rvw-sm{padding:21px 14px}.str-ic{font-size:18px;line-height:1.2}.saswp-rvw-str{display:inline-flex;width:100%}.saswp-rvw-str .df-clr,.saswp-rvw-str .half-str,.saswp-rvw-str .str-ic{display:inline-block;width:20px;height:16px;background-repeat:no-repeat}.saswp-rvw-ov{text-align:center}.saswp-rvw-str .half-str{background-image:url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCA0ODIuMjA3IDQ4Mi4yMDciIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ4Mi4yMDcgNDgyLjIwNzsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE2cHgiPgo8cGF0aCBkPSJNNDgyLjIwNywxODYuOTczbC0xNTkuNjk5LTMzLjcwNUwyNDEuMTA0LDExLjgwM2wtODEuNDA0LDE0MS40NjVMMCwxODYuOTczbDEwOS4zODgsMTIxLjEzNEw5Mi4wOTQsNDcwLjQwNGwxNDkuMDEtNjYuNiAgbDE0OS4wMSw2Ni42bC0xNy4yOTQtMTYyLjI5Nkw0ODIuMjA3LDE4Ni45NzN6IE0yNDEuMTA0LDM3MC45NDNWNzEuOTUzbDYyLjA5LDEwNy45TDQyNSwyMDUuNTYxbC04My40MzMsOTIuMzkzbDEzLjE5MSwxMjMuNzg4ICBMMjQxLjEwNCwzNzAuOTQzeiIgZmlsbD0iI2ZmZDcwMCIvPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K)}.saswp-rvw-str .str-ic{background-image:url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCA0ODIuMjA3IDQ4Mi4yMDciIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ4Mi4yMDcgNDgyLjIwNzsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE2cHgiPgo8cG9seWdvbiBwb2ludHM9IjQ4Mi4yMDcsMTg2Ljk3MyAzMjIuNTA4LDE1My4yNjkgMjQxLjEwNCwxMS44MDMgMTU5LjY5OSwxNTMuMjY5IDAsMTg2Ljk3MyAxMDkuMzg4LDMwOC4xMDggOTIuMDk0LDQ3MC40MDQgICAyNDEuMTA0LDQwMy44MDMgMzkwLjExMyw0NzAuNDA0IDM3Mi44MTgsMzA4LjEwOCAiIGZpbGw9IiNmZmQ3MDAiLz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==)}.saswp-rvw-str .df-clr{background-image:url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCA0ODIuMjA3IDQ4Mi4yMDciIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ4Mi4yMDcgNDgyLjIwNzsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE2cHgiPgo8cG9seWdvbiBwb2ludHM9IjQ4Mi4yMDcsMTg2Ljk3MyAzMjIuNTA4LDE1My4yNjkgMjQxLjEwNCwxMS44MDMgMTU5LjY5OSwxNTMuMjY5IDAsMTg2Ljk3MyAxMDkuMzg4LDMwOC4xMDggOTIuMDk0LDQ3MC40MDQgICAyNDEuMTA0LDQwMy44MDMgMzkwLjExMyw0NzAuNDA0IDM3Mi44MTgsMzA4LjEwOCAiIGZpbGw9IiM2MzVlNjMiLz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==)}.saswp-r{font-family:sans-serif;margin-top:30px}.saswp-grid-pagination{display:inline-block;padding:20px}.saswp-grid-pagination a{color:#000;float:left;padding:8px 16px;text-decoration:none;box-shadow:0 0}.saswp-grid-pagination a.active{background-color:#4caf50;color:#fff}.saswp-grid-pagination a:hover:not(.active){background-color:#ddd}.widget .saswp-glg-review-body{display:inline-block;width:100%}.widget .saswp-rv-img{margin-bottom:12px}.widget .saswp-rv-img img{max-width:50px}.saswp-collection-body{width:100%;display:flex;flex-wrap:wrap;margin-top:40px}.saswp-collection-preview{flex:1 0 70%;margin-right:20px}.saswp-collection-settings{flex:1 0 25%;background:#fff;padding-bottom:12px;height:100%}.saswp-collection-container{margin-top:60px;width:100%;display:inline-block;padding-right:20px;box-sizing:border-box}.saswp-collection-preview-table{width:100%}.saswp-collection-preview-table td{width:30%}.saswp-platform-added-list{display:block;width:100%}body .saswp-r,body .saswp-r p{font-family:sans-serif}.saswp-r1{margin-bottom:50px}.saswp-r1 ul{padding:0;list-style-type:none;display:grid;width:100%;grid-template-columns:1fr 1fr 1fr;grid-gap:15px;margin:0}.saswp-r1 li{padding:20px;position:relative;color:#777;border:1px solid #ededed;background-color:#fafafa;border-radius:4px;margin:0}.saswp-rc{display:flex;width:100%;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;position:relative;font-family:sans-serif}.saswp-rc .saswp-rc-lg{position:absolute;right:0}.saswp-r1-aimg img{float:left;max-width:56px;min-height:56px;max-height:56px;margin-right:10px;border-radius:100px}.saswp-rc-lg img{width:25px;height:25px;border-radius:100px}.saswp-rc-nm a{text-decoration:none;color:#427fed;font-size:16px;font-weight:600;display:inline-block;line-height:1.1;letter-spacing:0;width:80%}.saswp-rc-dt{margin-top:5px;font-size:12px;line-height:1.2;color:#999;display:block}.saswp-rc-a{flex:1 0 85%;display:flex;justify-content:flex-start}.saswp-rc-nm{width:100%;line-height:1.2}.saswp-rc-cnt{position:static;height:80px;overflow-y:auto;font-size:14px;line-height:1.6;text-align:left;padding:0 2px 0 0;margin:10px 0 0}.saswp-rc-cnt p{margin:0}.saswp-rc-cnt::-webkit-scrollbar{width:4px;display:inline-block}.saswp-rc-cnt::-webkit-scrollbar-thumb{-webkit-border-radius:10px;border-radius:10px;background:#ccc;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.5)}.saswp-rc-cnt::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);-webkit-border-radius:4px;border-radius:4px}.saswp-collection-settings ul{margin:0;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04)}.saswp-collection-settings ul li{border-bottom:1px solid #ddd;margin:0;position:relative}.saswp-dp-dsg{display:inline-grid;grid-template-columns:1fr 2fr;width:100%;grid-gap:0 5px;align-items:center;color:#666}.saswp-dp-dtm{margin-top:13px}.saswp-slider-display{margin-top:15px}.wp-admin .saswp-collection-settings select{margin:0;min-height:30px}.saswp-slider-display span{width:30%;display:inline-block}.saswp-collection-settings ul li a{padding:12px 15px;background:#fff;color:#23282d;cursor:pointer;width:100%;border:none;text-align:left;font-size:14px;line-height:1.5;font-weight:600;transition:all .5s ease-in-out 0s;display:block;box-sizing:border-box;position:relative}.saswp-collection-settings ul li input{width:100%}.saswp-collection-settings ul li input[type=checkbox]{width:16px}.saswp-collection-settings ul li a.active,.saswp-collection-settings ul li a:hover{background:#f5f5f5}.saswp-accordion.active+.saswp-accordion-panel{border-top:1px solid #ddd}.saswp-plf-lst-rv-cnt{display:inline-grid;width:100%;flex-wrap:wrap;grid-template-columns:100px 100px 1fr;grid-gap:5px}.saswp-accordion-panel{padding:15px 18px;display:none;background-color:#fff;overflow:hidden}.saswp-collection-settings a.saswp-add-to-collection{text-align:center}.wp-core-ui a.button.saswp-remove-platform{background:#ccc;border:none;line-height:22px;width:22px;padding:0;font-family:sans-serif;border-radius:100px;min-height:22px;max-height:22px;text-align:center;font-size:10px;margin-left:10px}.cancel-btn{align-items:center;display:flex;justify-content:flex-end;width:100%;margin-top:8px}.wp-admin .saswp-accordion-panel select.saswp-collection-desing{width:100%}.saswp-slider-display.saswp-desing-options{margin-top:10px}.saswp-slider-display.saswp-desing-options span{margin-right:10px;display:inline-block}.saswp-collection-settings li a.saswp-accordion:after{content:"\f140";font:normal 20px/1 dashicons;speak:none;display:block;position:absolute;right:0;top:13px;right:18px}.saswp-collection-settings li a.saswp-accordion.active:after{content:"\f142";top:13px}.saswp-collection-settings .button-primary{width:120px;text-align:center;margin:10px auto 0 auto;display:inherit}.saswp-collection-shortcode{color:#555;margin-top:10px;text-align:center}.saswp-r3{margin-bottom:20px}.saswp-r3 ul{padding:0;display:grid;grid-template-columns:1fr 1fr 1fr 1fr;grid-gap:30px;list-style-type:none;margin:0;justify-content:center}.saswp-r3 li{box-shadow:0 1px 12px rgba(0,0,0,.2);margin:0;border-radius:3px;font-family:sans-serif}.saswp-r3 li a{text-decoration:none}.saswp-r3-lg{background:#f8f8f8;display:flex;border-bottom:1px solid #e8e8e8;align-items:center;justify-content:center;width:100%;padding:6px 8px;box-sizing:border-box;border-radius:3px 3px 0 0}.saswp-r3-lg span img{width:18px;height:18px;margin-right:6px;border-radius:100px}.saswp-r3-lg span{line-height:0}.saswp-r3-lg .saswp-r3-tlt{font-size:12px;line-height:1.4;text-transform:uppercase;color:#555;font-weight:400}.saswp-lg{line-height:0;margin-right:10px}.saswp-r3-rtng{padding:13px 10px 10px 10px;background:#fff;border-radius:0 0 3px 3px;text-align:center}.saswp-r3-rtxt{display:flex;align-items:center;line-height:0;width:100%;margin-bottom:4px;justify-content:center}.saswp-r3-rtxt .saswp-r3-num{color:#23282d;margin-right:5px;font-size:22px;font-weight:500;position:relative;top:2px;word-break:normal}.saswp-r3-brv{color:#666;font-size:13px;line-height:1}.saswp-r3 .saswp-rvw-str .df-clr,.saswp-r3 .saswp-rvw-str .half-str,.saswp-r3 .saswp-rvw-str .str-ic{display:inline-block;width:22px;height:22px;background-repeat:no-repeat;background-size:22px;margin-right:3px}.saswp-r5{position:fixed;bottom:20px;left:20px;width:calc(100% - 20px);max-width:325px;border-radius:12px;background:#fff;border:1px solid #e6e6e6;box-shadow:0 0 8px 0 rgba(0,0,0,.05);transition:all .3s ease-in;height:80px}.saswp-r5-r .saswp-str-rtng .saswp-rvw-str{padding-left:0;margin-bottom:6px;line-height:0;display:block}.saswp-r5 .saswp-rvw-str .df-clr,.saswp-r5 .saswp-rvw-str .half-str,.saswp-r5 .saswp-rvw-str .str-ic{display:inline-block;width:23px;height:20px;background-repeat:no-repeat;background-size:20px}.saswp-r5-r{display:flex;flex-wrap:wrap;width:100%;align-items:center;height:80px;border-radius:12px}.saswp-r5-r .saswp-r5-lg span{border-radius:10px 0 0 10px}.saswp-r5-r .saswp-r5-lg img{position:relative;max-width:40px;left:20PX;border-radius:10px 0 0 10px;top:0}.saswp-r5-r .saswp-r5-lg{width:80px;height:100%;border-right:1px solid #ddd;box-sizing:border-box;background:linear-gradient(to bottom,#fefefe 0,#f2f2f2 100%);position:relative;display:flex;align-items:center;border-radius:12px 0 0 12px}.saswp-r5-r .saswp-r5-rng{flex:1 0 60%;padding-left:15px}.saswp-r5-txrng{font-size:12px;line-height:1.2;color:#444;display:flex;margin-bottom:3px}.saswp-r5-txrng span{font-weight:600;color:#666;margin-right:5px}.saswp-r5-dt{display:block;font-size:11px;color:#ababab;font-weight:400}.saswp-r5 a{text-decoration:none}.saswp-popup-btn{position:fixed;top:auto;bottom:0;font-family:Arial,sans-serif;z-index:9;box-shadow:0 20px 40px 8px rgba(0,0,0,.25);width:300px;background:#fff;border:none;padding:0;left:20px}.saswp-open-class.saswp-popup-btn{width:300px}#saswp-reviews-cntn{display:none}#saswp-sticky-review .saswp-open-class #saswp-reviews-cntn{width:100%}.saswp-opn-cls-btn{display:flex;height:50px;justify-content:space-between;align-items:center;background:#fba306;width:100%;padding:0 15px;border-radius:4px 4px 0 0;cursor:pointer;box-sizing:border-box}.saswp-opn-cls-btn svg path{fill:#fff}.saswp-opn-cls-btn span{font-size:15px;font-weight:600;color:#fff}.saswp-onclick-hide,.saswp-onclick-show{display:flex;justify-content:space-between;width:100%}.saswp-r4-info ul{list-style-type:none;padding:0;margin:0;text-align:left;height:350px;overflow-y:scroll}.saswp-r4-info ul li{border-bottom:1px solid #e4e4e4;padding:20px;margin:0;font-family:sans-serif}.saswp-r4-info ul li.saswp-r4-r{display:flex;width:100%;align-items:center;text-align:center;justify-content:center;box-sizing:border-box}.saswp-r4-b{display:flex;align-items:center;justify-content:flex-start;width:100%}.saswp-r4-b .saswp-r4-str{margin-right:10px}.saswp-r4-b span.saswp-r4-tx{font-size:14px;color:#444}.saswp-r4-b span.saswp-r4-nm:after{content:"-";display:inline-block;margin:0 10px}.saswp-r4-cnt h3{margin:10px 0 8px 0!important;font-size:18px;color:#333;font-weight:500}.saswp-rvw-str{position:relative;top:3px}.saswp-r4-info .saswp-rvw-str .df-clr,.saswp-r4-info .saswp-rvw-str .half-str,.saswp-r4-info .saswp-rvw-str .str-ic{display:inline-block;width:22px;height:20px;background-repeat:no-repeat;background-size:18px}.saswp-r4-cnt p{font-size:13px;line-height:1.5;margin:0;color:#333}.saswp-r4-info ul li.saswp-ttl-rvw{display:flex;width:100%;align-items:center;text-align:center;justify-content:center;box-sizing:border-box}.saswp-r4-info ul li.saswp-ttl-rvw span{font-size:20px;color:#666}.saswp-ttl-rvw svg{width:22px;height:22px;margin:0 5px 0 0}.saswp-r4-info ul li span.saswp-r4-rnm{margin-left:10px;font-size:18px}.btn .saswp-onclick-hide,.btn.saswp-open-class .saswp-onclick-show{display:flex;justify-content:space-between;width:100%}.btn .saswp-onclick-show,.btn.saswp-open-class .saswp-onclick-hide{display:none}span.saswp-mines{line-height:0}.saswp-mines:before{content:"";display:inline-block;width:20px;height:4px;background:#fff;position:relative;top:10px}.saswp-rd2-warp{width:100%;display:inline-block;margin-bottom:50px}.saswp-rd2-warp div{width:350px;margin-right:25px}.saswp-rc-a img{float:left;margin-right:10px;border-radius:100px;width:56px;height:56px}.saswp-rd2-warp .saswp-rc-cnt{white-space:initial}.saswp-rd2-warp .saswp-r2-b{position:relative;color:#777;border:1px solid #ededed;background-color:#fafafa;border-radius:4px}.saswp-rd2-warp .saswp-rc-cnt{height:150px;margin:20px 20px 20px 40px}.saswp-rd2-warp .saswp-rc{padding:20px}.saswp-r2-b .saswp-r2-s{display:inline-block}.saswp-r2-b .saswp-rc-cnt p{display:inline}.saswp-r2-strs{text-align:center}.saswp-r2-b .saswp-rc-lg{line-height:0;position:absolute;right:13px;top:13px;background:#fafafa}.saswp-r2-q svg{width:20px;fill:#bbb;position:absolute;height:30px;top:15px;left:12px}.saswp-rd2-warp .saswp-r2-b:before{position:absolute;bottom:-8px;left:35px;display:block;width:14px;height:14px;border:1px solid #ededed;border-top:none;border-left:none;background-color:#fafafa;content:"";-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.carousel-preview{text-align:center}.carousel-preview button{width:12px;height:12px;border-radius:100px;border:none;margin:0 5px;cursor:pointer}.carousel-preview button.saswp-active{background:#427fed}.saswp-cst .saswp-cs{width:100%;max-width:640px;margin:0 auto;overflow:hidden;position:relative;height:280px}.saswp-r2-b{padding:20px 40px 20px 40px;background-color:#fafafa;position:relative;color:#777;border:1px solid #ededed;border-radius:4px;box-sizing:border-box}.saswp-cst .saswp-rc{padding:20px;box-sizing:border-box}.saswp-si .saswp-r2-b:before{position:absolute;bottom:-8px;left:35px;display:block;width:14px;height:14px;border:1px solid #ededed;border-top:none;border-left:none;background-color:#fafafa;content:"";-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.saswp-si .saswp-rc-cnt{margin:0}.saswp-cs .saswp-slider-controls{width:100%;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;z-index:9;position:relative;top:10px}.saswp-slider-controls a.saswp-slider-prev-btn{position:absolute;left:10px;bottom:0;background:rgba(0,0,0,.5);line-height:0;border-radius:100px;width:30px;height:30px}.saswp-slider-controls a.saswp-slider-prev-btn:before{content:"";display:inline-block;width:7px;height:7px;border:2px solid #fff;border-top:none;border-left:none;transform:rotate(135deg);position:relative;top:12px;left:12px}.saswp-slider-controls a.saswp-slider-next-btn{position:absolute;right:10px;bottom:0;background:rgba(0,0,0,.5);line-height:0;border-radius:100px;width:30px;height:30px}.saswp-slider-controls a.saswp-slider-next-btn:after{content:"";display:inline-block;width:7px;height:7px;border:2px solid #fff;border-top:none;border-left:none;transform:rotate(135deg);transform:rotate(-45deg);position:relative;top:11px;right:-10px}.saswp-si .saswp-rc-lg img{width:25px;height:25px}.saswp-cs .saswp-sd .saswp-dots{width:10px;height:10px;background:#ccc;transition:.15s ease-in-out;border-radius:8px;cursor:pointer;margin:0 12px}.saswp-cs .saswp-sd .saswp-dot{width:10px;height:10px;background:#ccc;transition:.15s ease-in-out;border-radius:8px;cursor:pointer;margin:0 12px}.saswp-cs .saswp-sd .saswp-dot.saswp-active{background:#0071a1}.saswp-cst .saswp-sic .saswp-si{width:100vw;max-width:640px;display:block}.spinner.saswp-spinner{float:none;margin:0 auto;display:block}.saswp-cct .saswp-cs{width:100%;max-width:800px;margin:0 auto;overflow:hidden;position:relative}.saswp-cct .saswp-sic .saswp-si{width:100%;max-width:800px;display:flex}.saswp-cct .saswp-r2-sli{width:100%;margin-right:20px;max-width:300px;margin-bottom:40px}.saswp-cct .saswp-rc{padding:20px 10px;box-sizing:border-box}.saswp-cct .saswp-rc-cnt{height:120px}.saswp-cs .saswp-sic{display:flex;flex-wrap:wrap;height:auto;transition:transform .35s ease-in-out}.saswp-cs .saswp-slider-controls a{color:#333;text-decoration:none;transition:.15s ease-in-out}.saswp-cs .saswp-slider-controls a:hover{color:#888}.saswp-cs .saswp-sd{width:100%;display:flex;justify-content:center;margin:0 auto;position:relative;top:-10px}.saswp-onclick-show{display:none}.saswp-dp-dsg.saswp_hide{display:none}.entry .entry-content a{text-decoration:none!important}@media(max-width:1200px){.saswp-plf-lst-rv-cnt{grid-template-columns:1fr}}@media(max-width:767px){.saswp-collection-lp{flex:1 0 100%;margin-right:0;width:100%}.saswp-collection-settings{flex:1 0 100%;padding-bottom:0;height:100%;width:100%}.wp-admin .saswp-collection-settings select{max-width:100%}.saswp-r1 ul{grid-template-columns:1fr!important}.saswp-r3 ul{grid-template-columns:190px 190px!important}.saswp-rc-nm{margin:0}.saswp-cst .saswp-cs,.saswp-cst .saswp-sic .saswp-si{max-width:500px}.saswp-rc .saswp-rc-lg{right:0}}@media(max-width:550px){.saswp-cst .saswp-cs,.saswp-cst .saswp-sic .saswp-si{max-width:320px}.saswp-r3 ul{grid-template-columns:190px!important}.saswp-open-class.saswp-popup-btn{width:93vw!important}}@media(max-width:320px){.saswp-cst .saswp-cs,.saswp-cst .saswp-sic .saswp-si{max-width:295px}.saswp-r5{left:10px}}
|
1 |
+
.saswp-pc-wrap{background-color:#004f74;padding:15px 15px 15px 30px;color:#fff;display:inline-flex;width:100%;flex-wrap:wrap;margin-bottom:20px}.saswp-pc-wrap .saswp-lst span{font-size:18px;font-weight:500;margin-bottom:10px;display:inline-block;line-height:1.3}.saswp-pc-wrap .saswp-lst{flex:1 0 42%}.saswp-pc-wrap .saswp-lst ul{margin:0}.saswp-pc-wrap .saswp-lst p{list-style-type:none;font-size:15px;font-weight:lighter;line-height:1.2;margin-bottom:10px;position:relative;padding-left:20px;color:#eee}.saswp-pc-wrap .saswp-lst p:before{content:'';position:absolute;width:8px;height:8px;background-color:#ccc;left:0;top:6px;border-radius:10px}.sgl .saswp-rvw{width:100%;margin-bottom:34px;font-size:13px;border-bottom:1px solid #ededed}.saswp-rvw-hd span,.saswp-rvw-sm span{background-color:#222;color:#fff;display:inline-block;font-size:15px}.saswp-rvw-hd span{line-height:1.4;padding:8px 12px 6px;margin:26px 0}.saswp-rvw td{padding:7px 14px}.saswp-rvw td,.sgl table td{border:1px solid #ededed}.saswp-rvw tbody{width:100%}.saswp-rvw-sm span{padding:8px 12px 6px;margin-bottom:13px;position:relative;line-height:1.2}.saswp-rvw-fs{line-height:1.5;font-size:48px;font-weight:600;margin-bottom:5px}.saswp-rvw-ov .ovs{font-size:11px;font-weight:600}.sgl .saswp-rvw tr td{background:#fff;width:100%}.sgl .saswp-rvw tr:hover td{background-color:#fcfcfc}.saswp-rvw .saswp-rvw-sm{padding:21px 14px}.str-ic{font-size:18px;line-height:1.2}.saswp-rvw-str{display:inline-flex;width:100%}.saswp-rvw-str .df-clr,.saswp-rvw-str .half-str,.saswp-rvw-str .str-ic{display:inline-block;width:20px;height:16px;background-repeat:no-repeat}.saswp-rvw-ov{text-align:center}.saswp-rvw-str .half-str{background-image:url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCA0ODIuMjA3IDQ4Mi4yMDciIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ4Mi4yMDcgNDgyLjIwNzsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE2cHgiPgo8cGF0aCBkPSJNNDgyLjIwNywxODYuOTczbC0xNTkuNjk5LTMzLjcwNUwyNDEuMTA0LDExLjgwM2wtODEuNDA0LDE0MS40NjVMMCwxODYuOTczbDEwOS4zODgsMTIxLjEzNEw5Mi4wOTQsNDcwLjQwNGwxNDkuMDEtNjYuNiAgbDE0OS4wMSw2Ni42bC0xNy4yOTQtMTYyLjI5Nkw0ODIuMjA3LDE4Ni45NzN6IE0yNDEuMTA0LDM3MC45NDNWNzEuOTUzbDYyLjA5LDEwNy45TDQyNSwyMDUuNTYxbC04My40MzMsOTIuMzkzbDEzLjE5MSwxMjMuNzg4ICBMMjQxLjEwNCwzNzAuOTQzeiIgZmlsbD0iI2ZmZDcwMCIvPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K)}.saswp-rvw-str .str-ic{background-image:url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCA0ODIuMjA3IDQ4Mi4yMDciIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ4Mi4yMDcgNDgyLjIwNzsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE2cHgiPgo8cG9seWdvbiBwb2ludHM9IjQ4Mi4yMDcsMTg2Ljk3MyAzMjIuNTA4LDE1My4yNjkgMjQxLjEwNCwxMS44MDMgMTU5LjY5OSwxNTMuMjY5IDAsMTg2Ljk3MyAxMDkuMzg4LDMwOC4xMDggOTIuMDk0LDQ3MC40MDQgICAyNDEuMTA0LDQwMy44MDMgMzkwLjExMyw0NzAuNDA0IDM3Mi44MTgsMzA4LjEwOCAiIGZpbGw9IiNmZmQ3MDAiLz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==)}.saswp-rvw-str .df-clr{background-image:url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCA0ODIuMjA3IDQ4Mi4yMDciIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQ4Mi4yMDcgNDgyLjIwNzsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE2cHgiPgo8cG9seWdvbiBwb2ludHM9IjQ4Mi4yMDcsMTg2Ljk3MyAzMjIuNTA4LDE1My4yNjkgMjQxLjEwNCwxMS44MDMgMTU5LjY5OSwxNTMuMjY5IDAsMTg2Ljk3MyAxMDkuMzg4LDMwOC4xMDggOTIuMDk0LDQ3MC40MDQgICAyNDEuMTA0LDQwMy44MDMgMzkwLjExMyw0NzAuNDA0IDM3Mi44MTgsMzA4LjEwOCAiIGZpbGw9IiM2MzVlNjMiLz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==)}.saswp-r{font-family:sans-serif;margin-top:30px}.saswp-grid-pagination{display:inline-block;padding:20px}.saswp-grid-pagination a{color:#000;float:left;padding:8px 16px;text-decoration:none;box-shadow:0 0}.saswp-grid-pagination a.active{background-color:#4caf50;color:#fff}.saswp-grid-pagination a:hover:not(.active){background-color:#ddd}.widget .saswp-glg-review-body{display:inline-block;width:100%}.widget .saswp-rv-img{margin-bottom:12px}.widget .saswp-rv-img img{max-width:50px}.saswp-collection-body{width:100%;display:flex;flex-wrap:wrap;margin-top:40px}.saswp-collection-preview{flex:1 0 70%;margin-right:20px}.saswp-collection-settings{flex:1 0 25%;background:#fff;padding-bottom:12px;height:100%}.saswp-collection-container{margin-top:60px;width:100%;display:inline-block;padding-right:20px;box-sizing:border-box}.saswp-collection-preview-table{width:100%}.saswp-collection-preview-table td{width:30%}.saswp-platform-added-list{display:block;width:100%}body .saswp-r,body .saswp-r p{font-family:sans-serif}.saswp-r1{margin-bottom:50px}.saswp-r1 ul{padding:0;list-style-type:none;display:grid;width:100%;grid-template-columns:1fr 1fr 1fr;grid-gap:15px;margin:0}.saswp-r1 li{padding:20px;position:relative;color:#777;border:1px solid #ededed;background-color:#fafafa;border-radius:4px;margin:0}.saswp-rc{display:flex;width:100%;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;position:relative;font-family:sans-serif}.saswp-rc .saswp-rc-lg{position:absolute;right:0}.saswp-r1-aimg img{float:left;max-width:56px;min-height:56px;max-height:56px;margin-right:10px;border-radius:100px}.saswp-rc-lg img{width:25px;height:25px;border-radius:100px}.saswp-rc-nm a{text-decoration:none;color:#427fed;font-size:16px;font-weight:600;display:inline-block;line-height:1.1;letter-spacing:0;width:80%}.saswp-rc-dt{margin-top:5px;font-size:12px;line-height:1.2;color:#999;display:block}.saswp-rc-a{flex:1 0 85%;display:flex;justify-content:flex-start}.saswp-rc-nm{width:100%;line-height:1.2}.saswp-rc-cnt{position:static;height:80px;overflow-y:auto;font-size:14px;line-height:1.6;text-align:left;padding:0 2px 0 0;margin:10px 0 0}.saswp-rc-cnt p{margin:0}.saswp-rc-cnt::-webkit-scrollbar{width:4px;display:inline-block}.saswp-rc-cnt::-webkit-scrollbar-thumb{-webkit-border-radius:10px;border-radius:10px;background:#ccc;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.5)}.saswp-rc-cnt::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);-webkit-border-radius:4px;border-radius:4px}.saswp-collection-settings ul{margin:0;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04)}.saswp-collection-settings ul li{border-bottom:1px solid #ddd;margin:0;position:relative}.saswp-dp-dsg{display:inline-grid;grid-template-columns:1fr 2fr;width:100%;grid-gap:0 5px;align-items:center;color:#666}.saswp-dp-dtm{margin-top:13px}.saswp-slider-display{margin-top:15px}.wp-admin .saswp-collection-settings select{margin:0;min-height:30px}.saswp-slider-display span{width:30%;display:inline-block}.saswp-collection-settings ul li a{padding:12px 15px;background:#fff;color:#23282d;cursor:pointer;width:100%;border:none;text-align:left;font-size:14px;line-height:1.5;font-weight:600;transition:all .5s ease-in-out 0s;display:block;box-sizing:border-box;position:relative}.saswp-collection-settings ul li input{width:100%}.saswp-collection-settings ul li input[type=checkbox]{width:16px}.saswp-collection-settings ul li a.active,.saswp-collection-settings ul li a:hover{background:#f5f5f5}.saswp-accordion.active+.saswp-accordion-panel{border-top:1px solid #ddd}.saswp-plf-lst-rv-cnt{display:inline-grid;width:100%;flex-wrap:wrap;grid-template-columns:100px 100px 1fr;grid-gap:5px}.saswp-accordion-panel{padding:15px 18px;display:none;background-color:#fff;overflow:hidden}.saswp-collection-settings a.saswp-add-to-collection{text-align:center}.wp-core-ui a.button.saswp-remove-platform{background:#ccc;border:none;line-height:22px;width:22px;padding:0;font-family:sans-serif;border-radius:100px;min-height:22px;max-height:22px;text-align:center;font-size:10px;margin-left:10px}.cancel-btn{align-items:center;display:flex;justify-content:flex-end;width:100%;margin-top:8px}.wp-admin .saswp-accordion-panel select.saswp-collection-desing{width:100%}.saswp-slider-display.saswp-desing-options{margin-top:10px}.saswp-slider-display.saswp-desing-options span{margin-right:10px;display:inline-block}.saswp-collection-settings li a.saswp-accordion:after{content:"\f140";font:normal 20px/1 dashicons;speak:none;display:block;position:absolute;right:0;top:13px;right:18px}.saswp-collection-settings li a.saswp-accordion.active:after{content:"\f142";top:13px}.saswp-collection-settings .button-primary{width:120px;text-align:center;margin:10px auto 0 auto;display:inherit}.saswp-collection-shortcode{color:#555;margin-top:10px;text-align:center}.saswp-r3{margin-bottom:20px}.saswp-r3 ul{padding:0;display:grid;grid-template-columns:1fr 1fr 1fr 1fr;grid-gap:30px;list-style-type:none;margin:0;justify-content:center}.saswp-r3 li{box-shadow:0 1px 12px rgba(0,0,0,.2);margin:0;border-radius:3px;font-family:sans-serif}.saswp-r3 li a{text-decoration:none}.saswp-r3-lg{background:#f8f8f8;display:flex;border-bottom:1px solid #e8e8e8;align-items:center;justify-content:center;width:100%;padding:6px 8px;box-sizing:border-box;border-radius:3px 3px 0 0}.saswp-r3-lg span img{width:18px;height:18px;margin-right:6px;border-radius:100px}.saswp-r3-lg span{line-height:0}.saswp-r3-lg .saswp-r3-tlt{font-size:12px;line-height:1.4;text-transform:uppercase;color:#555;font-weight:400}.saswp-lg{line-height:0;margin-right:10px}.saswp-r3-rtng{padding:13px 10px 10px 10px;background:#fff;border-radius:0 0 3px 3px;text-align:center}.saswp-r3-rtxt{display:flex;align-items:center;line-height:0;width:100%;margin-bottom:4px;justify-content:center}.saswp-r3-rtxt .saswp-r3-num{color:#23282d;margin-right:5px;font-size:22px;font-weight:500;position:relative;top:2px;word-break:normal}.saswp-r3-brv{color:#666;font-size:13px;line-height:1}.saswp-r3 .saswp-rvw-str .df-clr,.saswp-r3 .saswp-rvw-str .half-str,.saswp-r3 .saswp-rvw-str .str-ic{display:inline-block;width:22px;height:22px;background-repeat:no-repeat;background-size:22px;margin-right:3px}.saswp-r5{position:fixed;bottom:20px;left:20px;width:calc(100% - 20px);max-width:325px;border-radius:12px;background:#fff;border:1px solid #e6e6e6;box-shadow:0 0 8px 0 rgba(0,0,0,.05);transition:all .3s ease-in;height:80px}.saswp-r5-r .saswp-str-rtng .saswp-rvw-str{padding-left:0;margin-bottom:6px;line-height:0;display:block}.saswp-r5 .saswp-rvw-str .df-clr,.saswp-r5 .saswp-rvw-str .half-str,.saswp-r5 .saswp-rvw-str .str-ic{display:inline-block;width:23px;height:20px;background-repeat:no-repeat;background-size:20px}.saswp-r5-r{display:flex;flex-wrap:wrap;width:100%;align-items:center;height:80px;border-radius:12px}.saswp-r5-r .saswp-r5-lg span{border-radius:10px 0 0 10px}.saswp-r5-r .saswp-r5-lg img{position:relative;max-width:40px;left:20PX;border-radius:10px 0 0 10px;top:0}.saswp-r5-r .saswp-r5-lg{width:80px;height:100%;border-right:1px solid #ddd;box-sizing:border-box;background:linear-gradient(to bottom,#fefefe 0,#f2f2f2 100%);position:relative;display:flex;align-items:center;border-radius:12px 0 0 12px}.saswp-r5-r .saswp-r5-rng{flex:1 0 60%;padding-left:15px}.saswp-r5-txrng{font-size:12px;line-height:1.2;color:#444;display:flex;margin-bottom:3px}.saswp-r5-txrng span{font-weight:600;color:#666;margin-right:5px}.saswp-r5-dt{display:block;font-size:11px;color:#ababab;font-weight:400}.saswp-r5 a{text-decoration:none}.saswp-popup-btn{position:fixed;top:auto;bottom:0;font-family:Arial,sans-serif;z-index:9;box-shadow:0 20px 40px 8px rgba(0,0,0,.25);width:300px;background:#fff;border:none;padding:0;left:20px}.saswp-open-class.saswp-popup-btn{width:300px}#saswp-reviews-cntn{display:none}#saswp-sticky-review .saswp-open-class #saswp-reviews-cntn{width:100%}.saswp-opn-cls-btn{display:flex;height:50px;justify-content:space-between;align-items:center;background:#fba306;width:100%;padding:0 15px;border-radius:4px 4px 0 0;cursor:pointer;box-sizing:border-box}.saswp-opn-cls-btn svg path{fill:#fff}.saswp-opn-cls-btn span{font-size:15px;font-weight:600;color:#fff}.saswp-onclick-hide,.saswp-onclick-show{display:flex;justify-content:space-between;width:100%}.saswp-r4-info ul{list-style-type:none;padding:0;margin:0;text-align:left;height:350px;overflow-y:scroll}.saswp-r4-info ul li{border-bottom:1px solid #e4e4e4;padding:20px;margin:0;font-family:sans-serif}.saswp-r4-info ul li.saswp-r4-r{display:flex;width:100%;align-items:center;text-align:center;justify-content:center;box-sizing:border-box}.saswp-r4-b{display:flex;align-items:center;justify-content:flex-start;width:100%}.saswp-r4-b .saswp-r4-str{margin-right:10px}.saswp-r4-b span.saswp-r4-tx{font-size:14px;color:#444}.saswp-r4-b span.saswp-r4-nm:after{content:"-";display:inline-block;margin:0 10px}.saswp-r4-cnt h3{margin:10px 0 8px 0!important;font-size:18px;color:#333;font-weight:500}.saswp-rvw-str{position:relative;top:3px}.saswp-r4-info .saswp-rvw-str .df-clr,.saswp-r4-info .saswp-rvw-str .half-str,.saswp-r4-info .saswp-rvw-str .str-ic{display:inline-block;width:22px;height:20px;background-repeat:no-repeat;background-size:18px}.saswp-r4-cnt p{font-size:13px;line-height:1.5;margin:0;color:#333}.saswp-r4-info ul li.saswp-ttl-rvw{display:flex;width:100%;align-items:center;text-align:center;justify-content:center;box-sizing:border-box}.saswp-r4-info ul li.saswp-ttl-rvw span{font-size:20px;color:#666}.saswp-ttl-rvw svg{width:22px;height:22px;margin:0 5px 0 0}.saswp-r4-info ul li span.saswp-r4-rnm{margin-left:10px;font-size:18px}.btn .saswp-onclick-hide,.btn.saswp-open-class .saswp-onclick-show{display:flex;justify-content:space-between;width:100%}.btn .saswp-onclick-show,.btn.saswp-open-class .saswp-onclick-hide{display:none}span.saswp-mines{line-height:0}.saswp-mines:before{content:"";display:inline-block;width:20px;height:4px;background:#fff;position:relative;top:10px}.saswp-rd2-warp{width:100%;display:inline-block;margin-bottom:50px}.saswp-rd2-warp div{width:350px;margin-right:25px}.saswp-rc-a img{float:left;margin-right:10px;border-radius:100px;width:56px;height:56px}.saswp-rd2-warp .saswp-rc-cnt{white-space:initial}.saswp-rd2-warp .saswp-r2-b{position:relative;color:#777;border:1px solid #ededed;background-color:#fafafa;border-radius:4px}.saswp-rd2-warp .saswp-rc-cnt{height:150px;margin:20px 20px 20px 40px}.saswp-rd2-warp .saswp-rc{padding:20px}.saswp-r2-b .saswp-r2-s{display:inline-block}.saswp-r2-b .saswp-rc-cnt p{display:inline}.saswp-r2-strs{text-align:center}.saswp-r2-b .saswp-rc-lg{line-height:0;position:absolute;right:13px;top:13px;background:#fafafa}.saswp-r2-q svg{width:20px;fill:#bbb;position:absolute;height:30px;top:15px;left:12px}.saswp-rd2-warp .saswp-r2-b:before{position:absolute;bottom:-8px;left:35px;display:block;width:14px;height:14px;border:1px solid #ededed;border-top:none;border-left:none;background-color:#fafafa;content:"";-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.carousel-preview{text-align:center}.carousel-preview button{width:12px;height:12px;border-radius:100px;border:none;margin:0 5px;cursor:pointer}.carousel-preview button.saswp-active{background:#427fed}.saswp-cst .saswp-cs{width:100%;max-width:640px;margin:0 auto;overflow:hidden;position:relative;height:280px}.saswp-r2-b{padding:20px 40px 20px 40px;background-color:#fafafa;position:relative;color:#777;border:1px solid #ededed;border-radius:4px;box-sizing:border-box}.saswp-cst .saswp-rc{padding:20px;box-sizing:border-box}.saswp-si .saswp-r2-b:before{position:absolute;bottom:-8px;left:35px;display:block;width:14px;height:14px;border:1px solid #ededed;border-top:none;border-left:none;background-color:#fafafa;content:"";-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.saswp-si .saswp-rc-cnt{margin:0}.saswp-cs .saswp-slider-controls{width:100%;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;z-index:9;position:relative;top:10px}.saswp-slider-controls a.saswp-slider-prev-btn{position:absolute;left:10px;bottom:0;background:rgba(0,0,0,.5);line-height:0;border-radius:100px;width:30px;height:30px}.saswp-slider-controls a.saswp-slider-prev-btn:before{content:"";display:inline-block;width:7px;height:7px;border:2px solid #fff;border-top:none;border-left:none;transform:rotate(135deg);position:relative;top:12px;left:12px}.saswp-slider-controls a.saswp-slider-next-btn{position:absolute;right:10px;bottom:0;background:rgba(0,0,0,.5);line-height:0;border-radius:100px;width:30px;height:30px}.saswp-slider-controls a.saswp-slider-next-btn:after{content:"";display:inline-block;width:7px;height:7px;border:2px solid #fff;border-top:none;border-left:none;transform:rotate(135deg);transform:rotate(-45deg);position:relative;top:11px;right:-10px}.saswp-si .saswp-rc-lg img{width:25px;height:25px}.saswp-cs .saswp-sd .saswp-dots{width:10px;height:10px;background:#ccc;transition:.15s ease-in-out;border-radius:8px;cursor:pointer;margin:0 12px}.saswp-cs .saswp-sd .saswp-dot{width:10px;height:10px;background:#ccc;transition:.15s ease-in-out;border-radius:8px;cursor:pointer;margin:0 12px}.saswp-cs .saswp-sd .saswp-dot.saswp-active{background:#0071a1}.saswp-cst .saswp-sic .saswp-si{width:100vw;max-width:640px;display:block}.spinner.saswp-spinner{float:none;margin:0 auto;display:block}.saswp-cct .saswp-cs{width:100%;max-width:800px;margin:0 auto;overflow:hidden;position:relative}.saswp-cct .saswp-sic .saswp-si{width:100%;max-width:800px;display:flex}.saswp-cct .saswp-r2-sli{width:100%;margin-right:20px;max-width:300px;margin-bottom:40px}.saswp-cct .saswp-rc{padding:20px 10px;box-sizing:border-box}.saswp-cct .saswp-rc-cnt{height:120px}.saswp-cs .saswp-sic{display:flex;flex-wrap:wrap;height:auto;transition:transform .35s ease-in-out}.saswp-cs .saswp-slider-controls a{color:#333;text-decoration:none;transition:.15s ease-in-out}.saswp-cs .saswp-slider-controls a:hover{color:#888}.saswp-cs .saswp-sd{width:100%;display:flex;justify-content:center;margin:0 auto;position:relative;top:-10px}.saswp-onclick-show{display:none}.saswp-dp-dsg.saswp_hide{display:none}.saswp_grid_dp_none{display:none}.entry .entry-content a{text-decoration:none!important}@media(max-width:1200px){.saswp-plf-lst-rv-cnt{grid-template-columns:1fr}}@media(max-width:767px){.saswp-collection-lp{flex:1 0 100%;margin-right:0;width:100%}.saswp-collection-settings{flex:1 0 100%;padding-bottom:0;height:100%;width:100%}.wp-admin .saswp-collection-settings select{max-width:100%}.saswp-r1 ul{grid-template-columns:1fr!important}.saswp-r3 ul{grid-template-columns:190px 190px!important}.saswp-rc-nm{margin:0}.saswp-cst .saswp-cs,.saswp-cst .saswp-sic .saswp-si{max-width:500px}.saswp-rc .saswp-rc-lg{right:0}}@media(max-width:550px){.saswp-cst .saswp-cs,.saswp-cst .saswp-sic .saswp-si{max-width:320px}.saswp-r3 ul{grid-template-columns:190px!important}.saswp-open-class.saswp-popup-btn{width:93vw!important}}@media(max-width:320px){.saswp-cst .saswp-cs,.saswp-cst .saswp-sic .saswp-si{max-width:295px}.saswp-r5{left:10px}}
|
admin_section/fields-generator.php
CHANGED
@@ -258,8 +258,42 @@ class saswp_fields_generator {
|
|
258 |
"name" => "bidvine"),
|
259 |
array(
|
260 |
"image" => "/admin_section/images/reviews_platform_icon/podcasts-img.png",
|
261 |
-
"name" => "Podcasts")
|
262 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
263 |
|
264 |
public function saswp_tooltip_message($meta_field_id){
|
265 |
|
258 |
"name" => "bidvine"),
|
259 |
array(
|
260 |
"image" => "/admin_section/images/reviews_platform_icon/podcasts-img.png",
|
261 |
+
"name" => "Podcasts"),
|
262 |
+
array(
|
263 |
+
"image" => "/admin_section/images/reviews_platform_icon/productreview-img.png",
|
264 |
+
"name" => "productreview.com.au"),
|
265 |
+
array(
|
266 |
+
"image" => "/admin_section/images/reviews_platform_icon/styleseat-img.png",
|
267 |
+
"name" => "styleseat.com"),
|
268 |
+
array(
|
269 |
+
"image" => "/admin_section/images/reviews_platform_icon/mariages-net-img.png",
|
270 |
+
"name" => "mariages.net"),
|
271 |
+
array(
|
272 |
+
"image" => "/admin_section/images/reviews_platform_icon/zankyou-img.png",
|
273 |
+
"name" => "zankyou"),
|
274 |
+
array(
|
275 |
+
"image" => "/admin_section/images/reviews_platform_icon/serviceseeking-img.png",
|
276 |
+
"name" => "serviceseeking.com.au"),
|
277 |
+
array(
|
278 |
+
"image" => "/admin_section/images/reviews_platform_icon/solarquotes-img.png",
|
279 |
+
"name" => "solarquotes.com.au"),
|
280 |
+
array(
|
281 |
+
"image" => "/admin_section/images/reviews_platform_icon/oneflare-img.png",
|
282 |
+
"name" => "oneflare.com.au"),
|
283 |
+
array(
|
284 |
+
"image" => "/admin_section/images/reviews_platform_icon/airbnb-experiences-img.png",
|
285 |
+
"name" => "Airbnb Experiences"),
|
286 |
+
array(
|
287 |
+
"image" => "/admin_section/images/reviews_platform_icon/hipages-img.png",
|
288 |
+
"name" => "Hipages"),
|
289 |
+
array(
|
290 |
+
"image" => "/admin_section/images/reviews_platform_icon/upwork-img.png",
|
291 |
+
"name" => "Upwork"),
|
292 |
+
array(
|
293 |
+
"image" => "/admin_section/images/reviews_platform_icon/freelancer-img.png",
|
294 |
+
"name" => "freelancer.com")
|
295 |
+
|
296 |
+
);
|
297 |
|
298 |
public function saswp_tooltip_message($meta_field_id){
|
299 |
|
admin_section/images/reviews_platform_icon/airbnb-experiences-img.png
ADDED
Binary file
|
admin_section/images/reviews_platform_icon/freelancer-img.png
ADDED
Binary file
|
admin_section/images/reviews_platform_icon/hipages-img.png
ADDED
Binary file
|
admin_section/images/reviews_platform_icon/mariages-net-img.png
ADDED
Binary file
|
admin_section/images/reviews_platform_icon/oneflare-img.png
ADDED
Binary file
|
admin_section/images/reviews_platform_icon/productreview-img.png
ADDED
Binary file
|
admin_section/images/reviews_platform_icon/serviceseeking-img.png
ADDED
Binary file
|
admin_section/images/reviews_platform_icon/solarquotes-img.png
ADDED
Binary file
|
admin_section/images/reviews_platform_icon/styleseat-img.png
ADDED
Binary file
|
admin_section/images/reviews_platform_icon/upwork-img.png
ADDED
Binary file
|
admin_section/images/reviews_platform_icon/zankyou-img.png
ADDED
Binary file
|
admin_section/js/collection-front.js
CHANGED
@@ -173,6 +173,22 @@ jQuery(document).ready(function($){
|
|
173 |
$(".saswp-open-class").css('width', '300px');
|
174 |
}
|
175 |
|
176 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
|
178 |
});
|
173 |
$(".saswp-open-class").css('width', '300px');
|
174 |
}
|
175 |
|
176 |
+
});
|
177 |
+
|
178 |
+
$(".saswp-grid-wpr .saswp-grid-page").on("click", function(e){
|
179 |
+
e.preventDefault();
|
180 |
+
|
181 |
+
$(".saswp-grid-page").removeClass('active');
|
182 |
+
|
183 |
+
if(!$(this).hasClass('active')){
|
184 |
+
$(this).addClass('active');
|
185 |
+
}
|
186 |
+
|
187 |
+
var data_id = $(this).attr('data-id');
|
188 |
+
|
189 |
+
$('.saswp-r1 li').addClass('saswp_grid_dp_none');
|
190 |
+
$('.saswp-r1 li[data-id="'+data_id+'"]').removeClass('saswp_grid_dp_none');
|
191 |
+
|
192 |
+
});
|
193 |
|
194 |
});
|
admin_section/js/collection-front.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
function saswpCollectionSlider(){jQuery(".saswp-cs").each(function(){var s=jQuery(this),a=s.find(".saswp-sic");function e(){var s=0;jQuery(a).find(".saswp-si").each(function(){s+=jQuery(this).outerWidth()}),a.width(s)}function n(){if(jQuery(".saswp-si.saswp-active").length>0){var s=a.find(".saswp-si.saswp-active").offset().left-a.offset().left;a.css({transform:"translate( -"+s+"px, 0px)"})}}0==a.find(".saswp-si.saswp-active").length&&a.find(".saswp-si").first().addClass("saswp-active"),e(),n(),function(){var e=a.find(".saswp-si.saswp-active").index(),n=a.find(".saswp-si").length;for(i=0;i<n;i++)s.find(".saswp-sd").append("<div class='saswp-dot'></div>");s.find(".saswp-sd").find(".saswp-dot").eq(e).addClass("saswp-active")}(),jQuery(window).load(function(){e(),n()}),jQuery(window).resize(function(){e(),n()});var t=s.find(".saswp-slider-controls").find(".saswp-slider-next-btn"),d=s.find(".saswp-slider-controls").find(".saswp-slider-prev-btn");t.on("click",function(i){i.preventDefault(),function(){var i=a.find(".saswp-si.saswp-active").index(),e=0;e=i+1>a.find(".saswp-si").length-1?0:i+1;var n=a.find(".saswp-si").eq(e),t=a.offset().left,d=n.offset().left-t;a.find(".saswp-si.saswp-active").removeClass("saswp-active"),n.addClass("saswp-active"),s.find(".saswp-sd").find(".saswp-dot").removeClass("saswp-active"),s.find(".saswp-sd").find(".saswp-dot").eq(e).addClass("saswp-active"),a.css({transform:"translate( -"+d+"px, 0px)"})}()}),d.on("click",function(i){i.preventDefault(),function(){var i=a.find(".saswp-si.saswp-active").index(),e=a.find(".saswp-si").length,n=0;n=i-1<0?e-1:i-1;var t=a.find(".saswp-si").eq(n),d=a.offset().left,p=t.offset().left-d;a.find(".saswp-si.saswp-active").removeClass("saswp-active"),t.addClass("saswp-active"),s.find(".saswp-sd").find(".saswp-dot").removeClass("saswp-active"),s.find(".saswp-sd").find(".saswp-dot").eq(n).addClass("saswp-active"),a.css({transform:"translate( -"+p+"px, 0px)"})}()}),s.find(".saswp-sd").find(".saswp-dot").on("click",function(i){var e=jQuery(this).index(),n=a.find(".saswp-si").eq(e).offset().left-a.offset().left;a.find(".saswp-si.saswp-active").removeClass("saswp-active"),a.find(".saswp-si").eq(e).addClass("saswp-active"),s.find(".saswp-sd").find(".saswp-dot").removeClass("saswp-active"),jQuery(this).addClass("saswp-active"),a.css({transform:"translate( -"+n+"px, 0px)"})})})}jQuery(document).ready(function(s){saswpCollectionSlider();var a=jQuery("#saswp_fomo_interval").val(),i=s(".saswp-r5"),e=1;!function n(t){e>i.length-1&&(e=0);s(t).fadeIn(300).delay(1e3*a).fadeOut(300,function(){n(i[e++])})}(i[0]),s(document).on("click",".saswp-opn-cls-btn",function(){s("#saswp-reviews-cntn").toggle(),s("#saswp-reviews-cntn").is(":visible")?(s(".saswp-onclick-show").css("display","flex"),s(".saswp-onclick-hide").hide(),s(".saswp-open-class").css("width","500px")):(s(".saswp-onclick-show").hide(),s(".saswp-onclick-hide").css("display","flex"),s(".saswp-open-class").css("width","300px"))})});
|
1 |
+
function saswpCollectionSlider(){jQuery(".saswp-cs").each(function(){var s=jQuery(this),a=s.find(".saswp-sic");function e(){var s=0;jQuery(a).find(".saswp-si").each(function(){s+=jQuery(this).outerWidth()}),a.width(s)}function n(){if(jQuery(".saswp-si.saswp-active").length>0){var s=a.find(".saswp-si.saswp-active").offset().left-a.offset().left;a.css({transform:"translate( -"+s+"px, 0px)"})}}0==a.find(".saswp-si.saswp-active").length&&a.find(".saswp-si").first().addClass("saswp-active"),e(),n(),function(){var e=a.find(".saswp-si.saswp-active").index(),n=a.find(".saswp-si").length;for(i=0;i<n;i++)s.find(".saswp-sd").append("<div class='saswp-dot'></div>");s.find(".saswp-sd").find(".saswp-dot").eq(e).addClass("saswp-active")}(),jQuery(window).load(function(){e(),n()}),jQuery(window).resize(function(){e(),n()});var t=s.find(".saswp-slider-controls").find(".saswp-slider-next-btn"),d=s.find(".saswp-slider-controls").find(".saswp-slider-prev-btn");t.on("click",function(i){i.preventDefault(),function(){var i=a.find(".saswp-si.saswp-active").index(),e=0;e=i+1>a.find(".saswp-si").length-1?0:i+1;var n=a.find(".saswp-si").eq(e),t=a.offset().left,d=n.offset().left-t;a.find(".saswp-si.saswp-active").removeClass("saswp-active"),n.addClass("saswp-active"),s.find(".saswp-sd").find(".saswp-dot").removeClass("saswp-active"),s.find(".saswp-sd").find(".saswp-dot").eq(e).addClass("saswp-active"),a.css({transform:"translate( -"+d+"px, 0px)"})}()}),d.on("click",function(i){i.preventDefault(),function(){var i=a.find(".saswp-si.saswp-active").index(),e=a.find(".saswp-si").length,n=0;n=i-1<0?e-1:i-1;var t=a.find(".saswp-si").eq(n),d=a.offset().left,p=t.offset().left-d;a.find(".saswp-si.saswp-active").removeClass("saswp-active"),t.addClass("saswp-active"),s.find(".saswp-sd").find(".saswp-dot").removeClass("saswp-active"),s.find(".saswp-sd").find(".saswp-dot").eq(n).addClass("saswp-active"),a.css({transform:"translate( -"+p+"px, 0px)"})}()}),s.find(".saswp-sd").find(".saswp-dot").on("click",function(i){var e=jQuery(this).index(),n=a.find(".saswp-si").eq(e).offset().left-a.offset().left;a.find(".saswp-si.saswp-active").removeClass("saswp-active"),a.find(".saswp-si").eq(e).addClass("saswp-active"),s.find(".saswp-sd").find(".saswp-dot").removeClass("saswp-active"),jQuery(this).addClass("saswp-active"),a.css({transform:"translate( -"+n+"px, 0px)"})})})}jQuery(document).ready(function(s){saswpCollectionSlider();var a=jQuery("#saswp_fomo_interval").val(),i=s(".saswp-r5"),e=1;!function n(t){e>i.length-1&&(e=0);s(t).fadeIn(300).delay(1e3*a).fadeOut(300,function(){n(i[e++])})}(i[0]),s(document).on("click",".saswp-opn-cls-btn",function(){s("#saswp-reviews-cntn").toggle(),s("#saswp-reviews-cntn").is(":visible")?(s(".saswp-onclick-show").css("display","flex"),s(".saswp-onclick-hide").hide(),s(".saswp-open-class").css("width","500px")):(s(".saswp-onclick-show").hide(),s(".saswp-onclick-hide").css("display","flex"),s(".saswp-open-class").css("width","300px"))}),s(".saswp-grid-wpr .saswp-grid-page").on("click",function(a){a.preventDefault(),s(".saswp-grid-page").removeClass("active"),s(this).hasClass("active")||s(this).addClass("active");var i=s(this).attr("data-id");s(".saswp-r1 li").addClass("saswp_grid_dp_none"),s('.saswp-r1 li[data-id="'+i+'"]').removeClass("saswp_grid_dp_none")})});
|
admin_section/structure_admin.php
CHANGED
@@ -687,10 +687,13 @@ function saswp_comparison_logic_checker($input, $post){
|
|
687 |
}
|
688 |
|
689 |
if ( $comparison == 'not_equal') {
|
|
|
690 |
$checker = in_array($data, $taxonomy_names);
|
691 |
if ( ! $checker ) {
|
692 |
$result = true;
|
693 |
}
|
|
|
|
|
694 |
}
|
695 |
|
696 |
}
|
687 |
}
|
688 |
|
689 |
if ( $comparison == 'not_equal') {
|
690 |
+
if(is_array($taxonomy_names)){
|
691 |
$checker = in_array($data, $taxonomy_names);
|
692 |
if ( ! $checker ) {
|
693 |
$result = true;
|
694 |
}
|
695 |
+
}
|
696 |
+
|
697 |
}
|
698 |
|
699 |
}
|
modules/gutenberg/assets/blocks/faq.js
CHANGED
@@ -13,6 +13,7 @@
|
|
13 |
var ToggleControl = components.ToggleControl;
|
14 |
var PanelBody = components.PanelBody;
|
15 |
var SelectControl = components.SelectControl;
|
|
|
16 |
|
17 |
|
18 |
blocks.registerBlockType( 'saswp/faq-block', {
|
@@ -50,6 +51,9 @@
|
|
50 |
type: 'string',
|
51 |
selector: '.description'
|
52 |
},
|
|
|
|
|
|
|
53 |
imageId: {
|
54 |
type: 'integer'
|
55 |
},
|
@@ -367,7 +371,8 @@
|
|
367 |
style: { textAlign: alignment },
|
368 |
value: item.description,
|
369 |
autoFocus: true,
|
370 |
-
onChange: function( value ) {
|
|
|
371 |
var newObject = Object.assign({}, item, {
|
372 |
description: value
|
373 |
});
|
@@ -376,10 +381,31 @@
|
|
376 |
return itemFilter.index != item.index;
|
377 |
})), [newObject])
|
378 |
});
|
|
|
379 |
}
|
380 |
}
|
381 |
),
|
382 |
el('div', {className:'saswp-faq-step-controls-container'},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
383 |
saswpGetMover(item),
|
384 |
saswpGetButtons(item)
|
385 |
)
|
13 |
var ToggleControl = components.ToggleControl;
|
14 |
var PanelBody = components.PanelBody;
|
15 |
var SelectControl = components.SelectControl;
|
16 |
+
var TextControl = components.TextControl;
|
17 |
|
18 |
|
19 |
blocks.registerBlockType( 'saswp/faq-block', {
|
51 |
type: 'string',
|
52 |
selector: '.description'
|
53 |
},
|
54 |
+
questionID: {
|
55 |
+
type: 'string',
|
56 |
+
},
|
57 |
imageId: {
|
58 |
type: 'integer'
|
59 |
},
|
371 |
style: { textAlign: alignment },
|
372 |
value: item.description,
|
373 |
autoFocus: true,
|
374 |
+
onChange: function( value ) {
|
375 |
+
|
376 |
var newObject = Object.assign({}, item, {
|
377 |
description: value
|
378 |
});
|
381 |
return itemFilter.index != item.index;
|
382 |
})), [newObject])
|
383 |
});
|
384 |
+
|
385 |
}
|
386 |
}
|
387 |
),
|
388 |
el('div', {className:'saswp-faq-step-controls-container'},
|
389 |
+
item.isSelected ?
|
390 |
+
el(TextControl,
|
391 |
+
{
|
392 |
+
className:'saswp-faq-question-id',
|
393 |
+
value: item.questionID,
|
394 |
+
placeholder: __('Question ID (Optional)', 'schema-and-structured-data-for-wp'),
|
395 |
+
onChange: function(value){
|
396 |
+
|
397 |
+
var newObject = Object.assign({}, item, {
|
398 |
+
questionID: value
|
399 |
+
});
|
400 |
+
return props.setAttributes({
|
401 |
+
items: [].concat(_cloneArray(props.attributes.items.filter(function (itemFilter) {
|
402 |
+
return itemFilter.index != item.index;
|
403 |
+
})), [newObject])
|
404 |
+
});
|
405 |
+
}
|
406 |
+
}
|
407 |
+
)
|
408 |
+
: '',
|
409 |
saswpGetMover(item),
|
410 |
saswpGetButtons(item)
|
411 |
)
|
modules/gutenberg/assets/css/editor.css
CHANGED
@@ -8,6 +8,9 @@ and open the template in the editor.
|
|
8 |
Author : acer
|
9 |
*/
|
10 |
|
|
|
|
|
|
|
11 |
.saswp-how-to-step-button:hover{
|
12 |
color: #0085ba !important;
|
13 |
box-shadow: none !important;
|
8 |
Author : acer
|
9 |
*/
|
10 |
|
11 |
+
.saswp-faq-question-id .components-base-control__field{
|
12 |
+
margin-bottom: auto;
|
13 |
+
}
|
14 |
.saswp-how-to-step-button:hover{
|
15 |
color: #0085ba !important;
|
16 |
box-shadow: none !important;
|
modules/gutenberg/includes/class-gutenberg.php
CHANGED
@@ -394,8 +394,12 @@ class SASWP_Gutenberg {
|
|
394 |
foreach($attributes['items'] as $item){
|
395 |
|
396 |
if($item['title'] || $item['description']){
|
397 |
-
echo '<li>';
|
398 |
|
|
|
|
|
|
|
|
|
|
|
399 |
if(isset($attributes['headingTag'])){
|
400 |
|
401 |
switch ($attributes['headingTag']) {
|
394 |
foreach($attributes['items'] as $item){
|
395 |
|
396 |
if($item['title'] || $item['description']){
|
|
|
397 |
|
398 |
+
if(!empty($item['questionID'])){
|
399 |
+
echo '<li id="'.esc_attr($item['questionID']).'">';
|
400 |
+
}else{
|
401 |
+
echo '<li>';
|
402 |
+
}
|
403 |
if(isset($attributes['headingTag'])){
|
404 |
|
405 |
switch ($attributes['headingTag']) {
|
modules/reviews/comments.php
CHANGED
@@ -150,7 +150,7 @@ function saswp_comment_rating_save_comment_rating( $comment_id ) {
|
|
150 |
//Display the rating on a submitted comment.
|
151 |
add_filter( 'comment_text', 'saswp_comment_rating_display_rating', 10, 2);
|
152 |
|
153 |
-
function saswp_comment_rating_display_rating( $comment_text, $comment ){
|
154 |
|
155 |
if ( saswp_check_stars_rating() && '0' == $comment->comment_parent ) {
|
156 |
$stars_rating_moved = get_option('saswp_imported_starsrating');
|
150 |
//Display the rating on a submitted comment.
|
151 |
add_filter( 'comment_text', 'saswp_comment_rating_display_rating', 10, 2);
|
152 |
|
153 |
+
function saswp_comment_rating_display_rating( $comment_text = null, $comment = null ){
|
154 |
|
155 |
if ( saswp_check_stars_rating() && '0' == $comment->comment_parent ) {
|
156 |
$stars_rating_moved = get_option('saswp_imported_starsrating');
|
modules/reviews/reviews_collection.php
CHANGED
@@ -344,6 +344,7 @@ class SASWP_Reviews_Collection {
|
|
344 |
$collection = array();
|
345 |
$platform_id = array();
|
346 |
$pagination = null;
|
|
|
347 |
$perpage = null;
|
348 |
$data_id = null;
|
349 |
$dots = $f_interval = $f_visibility = $arrow = 1;
|
@@ -409,6 +410,9 @@ class SASWP_Reviews_Collection {
|
|
409 |
if(isset($collection_data['saswp_collection_pagination'][0])){
|
410 |
$pagination = $collection_data['saswp_collection_pagination'][0];
|
411 |
}
|
|
|
|
|
|
|
412 |
if(isset($collection_data['saswp_platform_ids'][0])){
|
413 |
$perpage = $collection_data['saswp_collection_per_page'][0];
|
414 |
}
|
@@ -426,7 +430,7 @@ class SASWP_Reviews_Collection {
|
|
426 |
$nextpage = $perpage;
|
427 |
$offset = 0;
|
428 |
|
429 |
-
if($pagination){
|
430 |
|
431 |
$data_id = 1;
|
432 |
|
@@ -481,7 +485,7 @@ class SASWP_Reviews_Collection {
|
|
481 |
|
482 |
case "grid":
|
483 |
|
484 |
-
$html = $this->_service->saswp_create_collection_grid($cols, $collection, $total_reviews, $pagination, $perpage, $offset, $nextpage, $data_id, $total_reviews_count, $date_format);
|
485 |
|
486 |
break;
|
487 |
|
@@ -683,6 +687,10 @@ class SASWP_Reviews_Collection {
|
|
683 |
<span><?php echo saswp_t_string( 'Pagination' ); ?></span>
|
684 |
<span><input name="saswp_collection_pagination" type="checkbox" id="saswp-coll-pagination" class="saswp-coll-settings-options" value="1" <?php echo (isset($post_meta['saswp_collection_pagination'][0]) && $post_meta['saswp_collection_pagination'][0] == 1 ? 'checked' : '' ); ?>></span>
|
685 |
</div>
|
|
|
|
|
|
|
|
|
686 |
|
687 |
<div class="saswp-dp-dsg saswp-coll-options saswp-grid-options saswp-dp-dtm saswp_hide_imp">
|
688 |
<label><?php echo saswp_t_string( 'Per Page' ); ?></label>
|
@@ -896,6 +904,7 @@ class SASWP_Reviews_Collection {
|
|
896 |
$post_meta['saswp_gallery_arrow'] = isset($_POST['saswp_gallery_arrow']) ? intval($_POST['saswp_gallery_arrow']) : '';
|
897 |
$post_meta['saswp_gallery_dots'] = isset($_POST['saswp_gallery_dots']) ? intval($_POST['saswp_gallery_dots']) : '';
|
898 |
$post_meta['saswp_collection_pagination'] = isset($_POST['saswp_collection_pagination']) ? intval($_POST['saswp_collection_pagination']) : '';
|
|
|
899 |
$post_meta['saswp_collection_per_page'] = isset($_POST['saswp_collection_per_page']) ? intval($_POST['saswp_collection_per_page']) : '';
|
900 |
$post_meta['saswp_fomo_interval'] = isset($_POST['saswp_fomo_interval']) ? intval($_POST['saswp_fomo_interval']) : '';
|
901 |
$post_meta['saswp_fomo_visibility'] = isset($_POST['saswp_fomo_visibility']) ? intval($_POST['saswp_fomo_visibility']) : '';
|
344 |
$collection = array();
|
345 |
$platform_id = array();
|
346 |
$pagination = null;
|
347 |
+
$pagination_wpr = null;
|
348 |
$perpage = null;
|
349 |
$data_id = null;
|
350 |
$dots = $f_interval = $f_visibility = $arrow = 1;
|
410 |
if(isset($collection_data['saswp_collection_pagination'][0])){
|
411 |
$pagination = $collection_data['saswp_collection_pagination'][0];
|
412 |
}
|
413 |
+
if(isset($collection_data['saswp_collection_pagination_wpr'][0])){
|
414 |
+
$pagination_wpr = $collection_data['saswp_collection_pagination_wpr'][0];
|
415 |
+
}
|
416 |
if(isset($collection_data['saswp_platform_ids'][0])){
|
417 |
$perpage = $collection_data['saswp_collection_per_page'][0];
|
418 |
}
|
430 |
$nextpage = $perpage;
|
431 |
$offset = 0;
|
432 |
|
433 |
+
if($pagination && !$pagination_wpr){
|
434 |
|
435 |
$data_id = 1;
|
436 |
|
485 |
|
486 |
case "grid":
|
487 |
|
488 |
+
$html = $this->_service->saswp_create_collection_grid($cols, $collection, $total_reviews, $pagination, $perpage, $offset, $nextpage, $data_id, $total_reviews_count, $date_format, $pagination_wpr );
|
489 |
|
490 |
break;
|
491 |
|
687 |
<span><?php echo saswp_t_string( 'Pagination' ); ?></span>
|
688 |
<span><input name="saswp_collection_pagination" type="checkbox" id="saswp-coll-pagination" class="saswp-coll-settings-options" value="1" <?php echo (isset($post_meta['saswp_collection_pagination'][0]) && $post_meta['saswp_collection_pagination'][0] == 1 ? 'checked' : '' ); ?>></span>
|
689 |
</div>
|
690 |
+
<div class="saswp-dp-dsg saswp-coll-options saswp-grid-options saswp-dp-dtm">
|
691 |
+
<span><?php echo saswp_t_string( 'Without Page Reload' ); ?></span>
|
692 |
+
<span><input name="saswp_collection_pagination_wpr" type="checkbox" id="saswp-coll-pagination-wpr" class="saswp-coll-settings-options" value="1" <?php echo (isset($post_meta['saswp_collection_pagination_wpr'][0]) && $post_meta['saswp_collection_pagination_wpr'][0] == 1 ? 'checked' : '' ); ?>></span>
|
693 |
+
</div>
|
694 |
|
695 |
<div class="saswp-dp-dsg saswp-coll-options saswp-grid-options saswp-dp-dtm saswp_hide_imp">
|
696 |
<label><?php echo saswp_t_string( 'Per Page' ); ?></label>
|
904 |
$post_meta['saswp_gallery_arrow'] = isset($_POST['saswp_gallery_arrow']) ? intval($_POST['saswp_gallery_arrow']) : '';
|
905 |
$post_meta['saswp_gallery_dots'] = isset($_POST['saswp_gallery_dots']) ? intval($_POST['saswp_gallery_dots']) : '';
|
906 |
$post_meta['saswp_collection_pagination'] = isset($_POST['saswp_collection_pagination']) ? intval($_POST['saswp_collection_pagination']) : '';
|
907 |
+
$post_meta['saswp_collection_pagination_wpr'] = isset($_POST['saswp_collection_pagination_wpr']) ? intval($_POST['saswp_collection_pagination_wpr']) : '';
|
908 |
$post_meta['saswp_collection_per_page'] = isset($_POST['saswp_collection_per_page']) ? intval($_POST['saswp_collection_per_page']) : '';
|
909 |
$post_meta['saswp_fomo_interval'] = isset($_POST['saswp_fomo_interval']) ? intval($_POST['saswp_fomo_interval']) : '';
|
910 |
$post_meta['saswp_fomo_visibility'] = isset($_POST['saswp_fomo_visibility']) ? intval($_POST['saswp_fomo_visibility']) : '';
|
modules/reviews/reviews_service.php
CHANGED
@@ -839,11 +839,11 @@ class saswp_reviews_service {
|
|
839 |
|
840 |
}
|
841 |
|
842 |
-
public function saswp_create_collection_grid($cols, $collection, $total_reviews, $pagination, $perpage, $offset, $nextpage, $data_id, $total_reviews_count, $date_format){
|
843 |
|
844 |
$html = '';
|
845 |
$grid_cols = '';
|
846 |
-
|
847 |
if($collection){
|
848 |
|
849 |
$page_count = ceil($total_reviews_count / $perpage);
|
@@ -859,7 +859,10 @@ class saswp_reviews_service {
|
|
859 |
}else{
|
860 |
$html .= '<ul style="grid-template-columns:'.esc_attr($grid_cols).';overflow-x:hidden;">';
|
861 |
}
|
862 |
-
|
|
|
|
|
|
|
863 |
foreach ($collection as $value){
|
864 |
|
865 |
$date_str = $this->saswp_convert_datetostring($value['saswp_review_date'], $date_format );
|
@@ -872,8 +875,25 @@ class saswp_reviews_service {
|
|
872 |
|
873 |
}
|
874 |
|
875 |
-
|
876 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
877 |
$html .= '<div class="saswp-rc">';
|
878 |
$html .= '<div class="saswp-rc-a">';
|
879 |
$html .= '<div class="saswp-r1-aimg">';
|
@@ -900,7 +920,7 @@ class saswp_reviews_service {
|
|
900 |
|
901 |
$html .= '</ul>';
|
902 |
|
903 |
-
if($page_count > 0 && $pagination){
|
904 |
|
905 |
$current_url = saswp_get_current_url();
|
906 |
|
@@ -913,9 +933,9 @@ class saswp_reviews_service {
|
|
913 |
for($i=1; $i <= $page_count; $i++){
|
914 |
|
915 |
if($i == $data_id){
|
916 |
-
$html .= '<a class="active saswp-grid-page" href="'.esc_url($current_url.'?rv_page='.$i).'">'
|
917 |
}else{
|
918 |
-
$html .= '<a class="saswp-grid-page" href="'.esc_url($current_url.'?rv_page='.$i).'">'
|
919 |
}
|
920 |
|
921 |
}
|
@@ -924,7 +944,28 @@ class saswp_reviews_service {
|
|
924 |
|
925 |
$html .= '</div>';
|
926 |
|
927 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
928 |
|
929 |
$html .= '</div>';
|
930 |
|
839 |
|
840 |
}
|
841 |
|
842 |
+
public function saswp_create_collection_grid($cols, $collection, $total_reviews, $pagination, $perpage, $offset, $nextpage, $data_id, $total_reviews_count, $date_format, $pagination_wpr = null){
|
843 |
|
844 |
$html = '';
|
845 |
$grid_cols = '';
|
846 |
+
$perpage_break = $perpage;
|
847 |
if($collection){
|
848 |
|
849 |
$page_count = ceil($total_reviews_count / $perpage);
|
859 |
}else{
|
860 |
$html .= '<ul style="grid-template-columns:'.esc_attr($grid_cols).';overflow-x:hidden;">';
|
861 |
}
|
862 |
+
|
863 |
+
$k = 1;
|
864 |
+
$break = 1;
|
865 |
+
|
866 |
foreach ($collection as $value){
|
867 |
|
868 |
$date_str = $this->saswp_convert_datetostring($value['saswp_review_date'], $date_format );
|
875 |
|
876 |
}
|
877 |
|
878 |
+
if($pagination_wpr && $pagination){
|
879 |
+
|
880 |
+
if($break == 1){
|
881 |
+
$html .= '<li data-id="'.esc_attr($break).'">';
|
882 |
+
}else{
|
883 |
+
$html .= '<li data-id="'.esc_attr($break).'" class="saswp_grid_dp_none">';
|
884 |
+
}
|
885 |
+
|
886 |
+
if($perpage == $k){
|
887 |
+
$break++;
|
888 |
+
$perpage += $perpage_break;
|
889 |
+
}
|
890 |
+
|
891 |
+
$k++;
|
892 |
+
|
893 |
+
}else{
|
894 |
+
$html .= '<li>';
|
895 |
+
}
|
896 |
+
|
897 |
$html .= '<div class="saswp-rc">';
|
898 |
$html .= '<div class="saswp-rc-a">';
|
899 |
$html .= '<div class="saswp-r1-aimg">';
|
920 |
|
921 |
$html .= '</ul>';
|
922 |
|
923 |
+
if(($page_count > 0 && $pagination ) && !$pagination_wpr){
|
924 |
|
925 |
$current_url = saswp_get_current_url();
|
926 |
|
933 |
for($i=1; $i <= $page_count; $i++){
|
934 |
|
935 |
if($i == $data_id){
|
936 |
+
$html .= '<a class="active saswp-grid-page" href="'.esc_url($current_url.'?rv_page='.$i).'">'.esc_attr($i).'</a>';
|
937 |
}else{
|
938 |
+
$html .= '<a class="saswp-grid-page" href="'.esc_url($current_url.'?rv_page='.$i).'">'.esc_attr($i).'</a>';
|
939 |
}
|
940 |
|
941 |
}
|
944 |
|
945 |
$html .= '</div>';
|
946 |
|
947 |
+
}
|
948 |
+
|
949 |
+
if(($page_count > 0 && $pagination ) && $pagination_wpr){
|
950 |
+
|
951 |
+
$html .= '<div class="saswp-grid-pagination saswp-grid-wpr">';
|
952 |
+
$html .= '<a data-id="1" class="saswp-grid-page" href="#">«</a>';
|
953 |
+
|
954 |
+
for($i=1; $i <= $page_count; $i++){
|
955 |
+
|
956 |
+
if($i == 1){
|
957 |
+
$html .= '<a data-id="'.esc_attr($i).'" class="saswp-grid-page active" href="#">'.esc_attr($i).'</a>';
|
958 |
+
}else{
|
959 |
+
$html .= '<a data-id="'.esc_attr($i).'" class="saswp-grid-page" href="#">'.esc_attr($i).'</a>';
|
960 |
+
}
|
961 |
+
|
962 |
+
}
|
963 |
+
|
964 |
+
$html .= '<a data-id="'.esc_attr($page_count).'" class="saswp-grid-page" href="#">»</a>';
|
965 |
+
|
966 |
+
$html .= '</div>';
|
967 |
+
|
968 |
+
}
|
969 |
|
970 |
$html .= '</div>';
|
971 |
|
modules/reviews/reviews_setup.php
CHANGED
@@ -354,11 +354,11 @@ function saswp_create_platform_custom_taxonomy() {
|
|
354 |
function saswp_insert_platform_terms(){
|
355 |
|
356 |
$term_ids = array();
|
357 |
-
|
358 |
$platform_inserted = get_transient('saswp_platform_inserted');
|
359 |
|
360 |
-
if($platform_inserted !=
|
361 |
-
|
362 |
$term_array = array(
|
363 |
'Self',
|
364 |
'Agoda',
|
@@ -373,7 +373,8 @@ function saswp_insert_platform_terms(){
|
|
373 |
'Yelp',
|
374 |
'Zillow',
|
375 |
'Zomato',
|
376 |
-
'Airbnb',
|
|
|
377 |
'AliExpress',
|
378 |
'AlternativeTo',
|
379 |
'Amazon',
|
@@ -399,6 +400,7 @@ function saswp_insert_platform_terms(){
|
|
399 |
'Etsy',
|
400 |
'Foursquare',
|
401 |
'Flipkart',
|
|
|
402 |
'G2Crowd',
|
403 |
'Gearbest',
|
404 |
'Gartner',
|
@@ -407,7 +409,8 @@ function saswp_insert_platform_terms(){
|
|
407 |
'HomeAdvisor',
|
408 |
'Homestars',
|
409 |
'Houzz',
|
410 |
-
'Hotels.com',
|
|
|
411 |
'HungerStation',
|
412 |
'Indeed',
|
413 |
'IMDB',
|
@@ -416,11 +419,14 @@ function saswp_insert_platform_terms(){
|
|
416 |
'Judge.me',
|
417 |
'Lawyers.com',
|
418 |
'Lending Tree',
|
419 |
-
'Martindale',
|
|
|
420 |
'Newegg',
|
421 |
'OpenRice',
|
422 |
-
'Opentable',
|
|
|
423 |
'ProductHunt',
|
|
|
424 |
'Playstore',
|
425 |
'Podcasts',
|
426 |
'RateMDs',
|
@@ -429,9 +435,12 @@ function saswp_insert_platform_terms(){
|
|
429 |
'Sitejabber',
|
430 |
'Siftery',
|
431 |
'Steam',
|
|
|
432 |
'SoftwareAdvice',
|
433 |
'Shopify App Store',
|
434 |
'Shopper Approved',
|
|
|
|
|
435 |
'Talabat',
|
436 |
'The Knot',
|
437 |
'Thumbtack',
|
@@ -439,13 +448,15 @@ function saswp_insert_platform_terms(){
|
|
439 |
'TrustedShops',
|
440 |
'Trustpilot',
|
441 |
'TrustRadius',
|
|
|
442 |
'Vitals',
|
443 |
'Walmart',
|
444 |
'WeddingWire',
|
445 |
'Wish',
|
446 |
'Yell',
|
447 |
'YellowPages',
|
448 |
-
'ZocDoc'
|
|
|
449 |
);
|
450 |
|
451 |
foreach($term_array as $term){
|
@@ -470,8 +481,8 @@ function saswp_insert_platform_terms(){
|
|
470 |
|
471 |
}
|
472 |
|
473 |
-
if(count($term_ids) ==
|
474 |
-
set_transient('saswp_platform_inserted',
|
475 |
}
|
476 |
|
477 |
}
|
354 |
function saswp_insert_platform_terms(){
|
355 |
|
356 |
$term_ids = array();
|
357 |
+
|
358 |
$platform_inserted = get_transient('saswp_platform_inserted');
|
359 |
|
360 |
+
if( $platform_inserted != 97 ){
|
361 |
+
|
362 |
$term_array = array(
|
363 |
'Self',
|
364 |
'Agoda',
|
373 |
'Yelp',
|
374 |
'Zillow',
|
375 |
'Zomato',
|
376 |
+
'Airbnb',
|
377 |
+
'Airbnb Experiences',
|
378 |
'AliExpress',
|
379 |
'AlternativeTo',
|
380 |
'Amazon',
|
400 |
'Etsy',
|
401 |
'Foursquare',
|
402 |
'Flipkart',
|
403 |
+
'Freelancer',
|
404 |
'G2Crowd',
|
405 |
'Gearbest',
|
406 |
'Gartner',
|
409 |
'HomeAdvisor',
|
410 |
'Homestars',
|
411 |
'Houzz',
|
412 |
+
'Hotels.com',
|
413 |
+
'Hipages',
|
414 |
'HungerStation',
|
415 |
'Indeed',
|
416 |
'IMDB',
|
419 |
'Judge.me',
|
420 |
'Lawyers.com',
|
421 |
'Lending Tree',
|
422 |
+
'Martindale',
|
423 |
+
'mariages.net',
|
424 |
'Newegg',
|
425 |
'OpenRice',
|
426 |
+
'Opentable',
|
427 |
+
'Oneflare',
|
428 |
'ProductHunt',
|
429 |
+
'ProductReview',
|
430 |
'Playstore',
|
431 |
'Podcasts',
|
432 |
'RateMDs',
|
435 |
'Sitejabber',
|
436 |
'Siftery',
|
437 |
'Steam',
|
438 |
+
'StyleSeat',
|
439 |
'SoftwareAdvice',
|
440 |
'Shopify App Store',
|
441 |
'Shopper Approved',
|
442 |
+
'Serviceseeking',
|
443 |
+
'solarquotes',
|
444 |
'Talabat',
|
445 |
'The Knot',
|
446 |
'Thumbtack',
|
448 |
'TrustedShops',
|
449 |
'Trustpilot',
|
450 |
'TrustRadius',
|
451 |
+
'Upwork',
|
452 |
'Vitals',
|
453 |
'Walmart',
|
454 |
'WeddingWire',
|
455 |
'Wish',
|
456 |
'Yell',
|
457 |
'YellowPages',
|
458 |
+
'ZocDoc',
|
459 |
+
'zankyou'
|
460 |
);
|
461 |
|
462 |
foreach($term_array as $term){
|
481 |
|
482 |
}
|
483 |
|
484 |
+
if(count($term_ids) == 97){
|
485 |
+
set_transient('saswp_platform_inserted', 97, 24*7*HOUR_IN_SECONDS );
|
486 |
}
|
487 |
|
488 |
}
|
output/output.php
CHANGED
@@ -2663,11 +2663,15 @@ function saswp_author_output(){
|
|
2663 |
*/
|
2664 |
function saswp_about_page_output(){
|
2665 |
|
2666 |
-
|
2667 |
$feature_image = array();
|
2668 |
$publisher = array();
|
|
|
|
|
|
|
2669 |
|
2670 |
-
|
|
|
2671 |
|
2672 |
$service_object = new saswp_output_service();
|
2673 |
$feature_image = $service_object->saswp_get_fetaure_image();
|
@@ -2710,8 +2714,11 @@ function saswp_contact_page_output(){
|
|
2710 |
global $sd_data;
|
2711 |
$feature_image = array();
|
2712 |
$publisher = array();
|
|
|
|
|
|
|
2713 |
|
2714 |
-
if(isset($sd_data['sd_contact_page']) && $sd_data['sd_contact_page']
|
2715 |
|
2716 |
$service_object = new saswp_output_service();
|
2717 |
$feature_image = $service_object->saswp_get_fetaure_image();
|
2663 |
*/
|
2664 |
function saswp_about_page_output(){
|
2665 |
|
2666 |
+
global $sd_data;
|
2667 |
$feature_image = array();
|
2668 |
$publisher = array();
|
2669 |
+
$page_ids = array();
|
2670 |
+
$page_ids[] = get_the_ID();
|
2671 |
+
$page_ids = apply_filters( 'saswp_modify_about_page_ids', $page_ids);
|
2672 |
|
2673 |
+
|
2674 |
+
if((isset($sd_data['sd_about_page'])) && in_array($sd_data['sd_about_page'], $page_ids) ){
|
2675 |
|
2676 |
$service_object = new saswp_output_service();
|
2677 |
$feature_image = $service_object->saswp_get_fetaure_image();
|
2714 |
global $sd_data;
|
2715 |
$feature_image = array();
|
2716 |
$publisher = array();
|
2717 |
+
$page_ids = array();
|
2718 |
+
$page_ids[] = get_the_ID();
|
2719 |
+
$page_ids = apply_filters( 'saswp_modify_contact_page_ids', $page_ids);
|
2720 |
|
2721 |
+
if(isset($sd_data['sd_contact_page']) && in_array($sd_data['sd_contact_page'], $page_ids)){
|
2722 |
|
2723 |
$service_object = new saswp_output_service();
|
2724 |
$feature_image = $service_object->saswp_get_fetaure_image();
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: magazine3
|
|
3 |
Tags: Schema, Structured Data, Google Snippets, Rich Snippets, Schema.org, SEO, AMP
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 5.7
|
6 |
-
Stable tag: 1.9.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -120,6 +120,26 @@ You can contact us from [here](http://structured-data-for-wp.com/contact-us/)
|
|
120 |
|
121 |
== Changelog ==
|
122 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
= 1.9.77 (29 May 2021) =
|
124 |
|
125 |
* Added: Created an option to add schema for a selected language. [Polylang addon] #1425
|
3 |
Tags: Schema, Structured Data, Google Snippets, Rich Snippets, Schema.org, SEO, AMP
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 5.7
|
6 |
+
Stable tag: 1.9.78
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
120 |
|
121 |
== Changelog ==
|
122 |
|
123 |
+
= 1.9.78 (09 Jun 2021) =
|
124 |
+
|
125 |
+
* Added: freelancer.com review platform. #1342
|
126 |
+
* Added: Upwork review platform. #1189
|
127 |
+
* Added: Airbnb Experiences review platform. #824
|
128 |
+
* Added: solarquotes.com.au review platform. #1207
|
129 |
+
* Added: serviceseeking.com.au review platform. #1208
|
130 |
+
* Added: productreview.com.au review platform. #1183
|
131 |
+
* Added: styleseat.com review platform. #1231
|
132 |
+
* Added: mariage.net review platform. #1196
|
133 |
+
* Added: zankyou.com review platform. #1196
|
134 |
+
* Added: oneflare.com.au review platform. #1209
|
135 |
+
* Added: hipages.com.au review platform. #1210
|
136 |
+
* Added: Shopper Approved (product) review platform. #1079
|
137 |
+
* Added: Carousel feature for the grid layout of the collection #1345
|
138 |
+
* Added: Pagejumps to FAQ questions #1058
|
139 |
+
* Added: Feature support for polylang extension with schema #1431
|
140 |
+
* Fixed: PHP Fatal error: when "Data types for Adventure Tours theme" plugin activated. #1437
|
141 |
+
* Fixed: Additional properties are not rendering for a simple product type #1433
|
142 |
+
|
143 |
= 1.9.77 (29 May 2021) =
|
144 |
|
145 |
* Added: Created an option to add schema for a selected language. [Polylang addon] #1425
|
structured-data-for-wp.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Schema & Structured Data for WP & AMP
|
4 |
Description: Schema & Structured Data adds Google Rich Snippets markup according to Schema.org guidelines to structure your site for SEO. (AMP Compatible)
|
5 |
-
Version: 1.9.
|
6 |
Text Domain: schema-and-structured-data-for-wp
|
7 |
Domain Path: /languages
|
8 |
Author: Magazine3
|
@@ -13,7 +13,7 @@ License: GPL2
|
|
13 |
// Exit if accessed directly.
|
14 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
15 |
|
16 |
-
define('SASWP_VERSION', '1.9.
|
17 |
define('SASWP_DIR_NAME_FILE', __FILE__ );
|
18 |
define('SASWP_DIR_NAME', dirname( __FILE__ ));
|
19 |
define('SASWP_DIR_URI', plugin_dir_url(__FILE__));
|
2 |
/*
|
3 |
Plugin Name: Schema & Structured Data for WP & AMP
|
4 |
Description: Schema & Structured Data adds Google Rich Snippets markup according to Schema.org guidelines to structure your site for SEO. (AMP Compatible)
|
5 |
+
Version: 1.9.78
|
6 |
Text Domain: schema-and-structured-data-for-wp
|
7 |
Domain Path: /languages
|
8 |
Author: Magazine3
|
13 |
// Exit if accessed directly.
|
14 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
15 |
|
16 |
+
define('SASWP_VERSION', '1.9.78');
|
17 |
define('SASWP_DIR_NAME_FILE', __FILE__ );
|
18 |
define('SASWP_DIR_NAME', dirname( __FILE__ ));
|
19 |
define('SASWP_DIR_URI', plugin_dir_url(__FILE__));
|