Version Description
(2020-11-17) =
- Fixed shortcode examples in documentation; Copy/pasting a shortcode example into the classic editor will now paste as plain text instead of as HTML code.
- Fixed System Info details to always be in English
Download this release
Release Info
Developer | geminilabs |
Plugin | Site Reviews |
Version | 5.2.2 |
Comparing to | |
See all releases |
Code changes from version 5.2.1 to 5.2.2
- assets/styles/admin/admin.css +1 -1
- languages/site-reviews-en_US.po +7 -7
- languages/site-reviews.pot +7 -7
- plugin/Controllers/TranslationController.php +11 -0
- plugin/Database/Cache.php +17 -0
- plugin/Modules/SystemInfo.php +1 -1
- readme.txt +6 -1
- site-reviews.php +1 -1
- uninstall.php +3 -2
- views/pages/documentation/faq/add-review-pagination.php +4 -1
- views/pages/documentation/shortcodes/site_reviews.php +48 -12
- views/pages/documentation/shortcodes/site_reviews_form.php +28 -7
- views/pages/documentation/shortcodes/site_reviews_summary.php +40 -10
assets/styles/admin/admin.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
@charset "UTF-8";.glsr-addons{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));width:100%}@media only screen and (min-width:783px){.glsr-addons{gap:20px;margin:12px 0}}.glsr-addon{border:1px solid #ccd0d4;box-shadow:0 1px 1px -1px rgba(0,0,0,.1);display:flex;flex-direction:column;position:relative}.glsr-addon-description{background-color:#fff;padding:20px;flex:auto}.glsr-addon-description p{margin:0}.glsr-addon-name{font-size:15px;margin-top:0;text-overflow:ellipsis;white-space:nowrap}.glsr-addon-footer{height:48px;background:hsla(0,0%,100%,.65);box-shadow:inset 0 1px 0 rgba(0,0,0,.1);box-sizing:border-box;padding:15px;margin:0;overflow:hidden}@media screen and (max-width:782px){.glsr-addon-footer{height:58px}}.glsr-addon-screenshot{display:block;background-position:50% 50%;background-repeat:no-repeat;background-size:cover;border-bottom:1px solid #ccd0d4;padding-top:66.67%;margin:-1px}@media screen and (min-width:514px){.glsr-addon-screenshot{padding-top:100%}}.glsr-addon-screenshot[data-slug=images]{background-color:#6b46c1;background-image:url(../../images/addon-images.svg)}.glsr-addon-screenshot[data-slug=filters]{background-color:#319796;background-image:url(../../images/addon-filters.svg)}.glsr-addon-screenshot[data-slug=trustalyze]{background-color:#4282d6;background-image:url(../../images/addon-trustalyze.svg)}.glsr-addon-link{position:absolute;right:15px;bottom:10px}@media screen and (max-width:782px){.glsr-addon-link{bottom:6px}}.glsr-addon-link.glsr-external:after{content:"\A0\F504";font-family:dashicons;line-height:1.2;vertical-align:text-bottom;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@-webkit-keyframes glsr-loader{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes glsr-loader{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.wp-admin .glsr-button{position:relative;white-space:nowrap}.wp-admin .glsr-button:after,.wp-admin .glsr-button:before{display:inline-block;position:absolute;top:50%;height:1em;width:1em;border:.2em solid;border-radius:100%;box-sizing:border-box;margin:-.5em auto 0;-webkit-animation:glsr-loader .5s linear infinite;animation:glsr-loader .5s linear infinite}.wp-admin .glsr-button:before{border-top-color:transparent;opacity:.5}.wp-admin .glsr-button:after{border-color:currentColor transparent transparent}.wp-admin .glsr-button[disabled]{padding-left:calc(1em + 15px)}.wp-admin .glsr-button[disabled]:after,.wp-admin .glsr-button[disabled]:before{content:"";left:10px}.wp-admin .glsr-button[disabled] span{visibility:hidden;font-size:0}.wp-admin .glsr-button[disabled] span:after{visibility:visible;content:attr(data-loading);font-size:13px}.wp-admin .glsr-button:not([disabled]) span[data-alt-text].alt{visibility:hidden;font-size:0}.wp-admin .glsr-button:not([disabled]) span[data-alt-text].alt:after{visibility:visible;content:attr(data-alt-text);font-size:13px}#dashboard_right_now li>span.glsr-review-count:before,#dashboard_right_now li a.glsr-review-count:before{content:"\F459";top:-2px}.post-type-site-review #titlediv #title{margin-bottom:20px}.post-type-site-review #contentdiv textarea,.post-type-site-review .wp-editor-area{display:block;width:100%;height:320px;font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-size:16px;line-height:1.5;padding:10px;resize:vertical;-webkit-font-smoothing:antialiased!important;overflow-wrap:break-word}.post-type-site-review .misc-pub-pinned:before{display:inline-block;position:relative;content:"\F537";font:normal 20px/1 dashicons;speak:none;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;top:0;left:-1px;color:#82878c;padding:0 2px 0 0}.post-type-site-review .misc-pub-pinned .pinned-status-text{font-weight:600}.post-type-site-review .misc-pub-pinned .pinned-status-select{margin-top:3px}.wp-admin .glsr-response{display:block;height:6em;width:100%;margin:12px 0 0}.glsr-mce{position:relative;display:inline-block;margin-right:1px}.glsr-mce-menu.mce-menu{display:none;position:absolute;top:100%;left:0;min-width:100%;background:#fff;padding:5px 0;margin:-2px 0 0}.glsr-mce-menu-item.mce-menu-item{cursor:pointer;font-size:14px;white-space:nowrap;padding:6px 12px;margin-bottom:2px}.mce-glsr-mce-popup a{text-decoration:underline}.mce-glsr-mce-popup p{margin-bottom:1em}.mce-glsr-mce-popup p.strong{font-weight:600}.mce-glsr-mce-popup p.no-margin{margin-bottom:0}.mce-glsr-mce-popup p.margin-top{margin-top:1em}.mce-glsr-btn.mce-btn button{box-sizing:border-box;padding:0 8px}.wp-media-buttons button.glsr-mce-button{outline:none;padding-left:5px;margin-right:0}button.glsr-mce-button:after{display:inline-block;position:relative;top:-1px;left:-1px;width:0;height:0;content:"";border-top:6px solid;border-right:4px solid transparent;border-left:4px solid transparent}button.glsr-mce-button.active:after{top:-2px;border-top:0;border-bottom:6px solid}button.glsr-mce-button:active{margin-bottom:5px}button.glsr-mce-button .wp-media-buttons-icon:before{content:"\F459";font:normal 18px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media screen and (max-width:782px){button.glsr-mce-button .wp-media-buttons-icon:before{font-size:20px!important}}div.sc-wrap{margin-right:1px}#site-review-detailsdiv.postbox .inside{padding:0;margin:0}.glsr-response-postbox{margin-top:20px;margin-bottom:0}.js .glsr-response-postbox .hndle{cursor:default}.js .glsr-response-postbox .toggle-indicator:before{content:"\F142";display:inline-block;font:normal 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.js .glsr-response-postbox.closed .toggle-indicator:before{content:"\F140"}.glsr-metabox-table{width:auto;padding:0 12px 12px;margin-top:12px}.glsr-metabox-table td{line-height:1.5;vertical-align:top;padding:0 14px 8px 0}.glsr-metabox-table td:first-child{font-weight:600}.glsr-metabox-table td:last-child{padding-bottom:0}.glsr-metabox-actions{border-top:1px solid #ccd0d4;background:#f5f5f5;padding:10px;clear:both}.glsr-revert-action{text-align:right;float:right;line-height:1.9}.glsr-revert-action .spinner{float:left}.glsr-search-box .description{display:block}.glsr-assigned-entry{display:block;margin-left:20px}.glsr-remove-button{position:absolute;left:-4px;width:20px;height:20px;border:none;margin:0;padding:0;background:0 0;cursor:pointer;text-indent:0}.glsr-remove-button:focus .glsr-remove-icon:before,.glsr-remove-button:hover .glsr-remove-icon:before{color:#c00}.glsr-remove-icon:before{margin-left:0;border-radius:50%;color:#007cba;color:var(--wp-admin-theme-color);line-height:1.28;background:0 0;content:"\F153";display:block;font:400 16px/20px dashicons;speak:none;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glsr-metabox-field select:focus{border-color:#007cba;border-color:var(--wp-admin-theme-color);color:#016087;color:var(--wp-admin-theme-color-darker-20);box-shadow:0 0 0 1px #007cba;box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.glsr-metabox-field{box-sizing:border-box;position:relative}.glsr-metabox-field:first-child{margin-top:12px}.glsr-metabox-field .glsr-label{box-sizing:border-box;width:100%;padding:0 12px;position:relative;margin:0;line-height:1.5}.glsr-metabox-field .glsr-label label{display:block;margin:0;padding:0;font-size:14px}.glsr-metabox-field .glsr-input{box-sizing:border-box;width:100%;position:relative;padding:12px;margin:0}.glsr-metabox-field .glsr-input>img{border-radius:3px;margin-top:12px}.glsr-metabox-field input[type=date],.glsr-metabox-field input[type=datetime-local],.glsr-metabox-field input[type=datetime],.glsr-metabox-field input[type=email],.glsr-metabox-field input[type=month],.glsr-metabox-field input[type=number],.glsr-metabox-field input[type=password],.glsr-metabox-field input[type=search],.glsr-metabox-field input[type=tel],.glsr-metabox-field input[type=text],.glsr-metabox-field input[type=time],.glsr-metabox-field input[type=url],.glsr-metabox-field input[type=week],.glsr-metabox-field select,.glsr-metabox-field textarea{margin:0;width:100%}.glsr-input-value:disabled{color:#32373c!important;background-color:#eee!important;border-color:#7e8993!important;cursor:default;opacity:1}@media screen and (min-width:641px){.glsr-metabox-field{display:flex;flex:1 auto}.glsr-metabox-field:first-child{margin-top:0}.glsr-metabox-field:first-child .glsr-input,.glsr-metabox-field:first-child .glsr-label{padding-top:12px}.glsr-metabox-field:last-child .glsr-input,.glsr-metabox-field:last-child .glsr-label{padding-bottom:12px}.glsr-metabox-field .glsr-label{align-items:flex-start;display:flex;background:#f9f9f9;border-right:1px solid #ddd;padding:6px 12px;min-width:128px;width:20%;line-height:40px}.glsr-metabox-field .glsr-label label{font-weight:600}.glsr-metabox-field .glsr-input{flex-direction:column;justify-content:center;display:flex;padding:6px 12px;vertical-align:top}}@media screen and (min-width:783px){.glsr-metabox-field .glsr-label{line-height:30px}}.glsr-toggle-field{display:flex;line-height:normal;height:40px}@media screen and (min-width:641px){.glsr-toggle-field{align-items:center}}@media screen and (min-width:783px){.glsr-toggle-field{height:30px}}.glsr-toggle{position:relative;display:inline-block}.glsr-toggle .glsr-toggle__track{content:"";display:inline-block;box-sizing:border-box;vertical-align:top;background-color:#fff;border:1px solid #1e1e1e;width:36px;height:18px;border-radius:9px;transition:background .2s ease}@media (prefers-reduced-motion:reduce){.glsr-toggle .glsr-toggle__track{transition-duration:0s}}.glsr-toggle .glsr-toggle__thumb{display:block;position:absolute;box-sizing:border-box;top:3px;left:3px;width:12px;height:12px;border-radius:50%;transition:transform .1s ease;background-color:#1e1e1e;border:5px solid #1e1e1e}@media (prefers-reduced-motion:reduce){.glsr-toggle .glsr-toggle__thumb{transition-duration:0s}}.glsr-toggle .glsr-toggle__input[type=checkbox]:checked~.glsr-toggle__track{background-color:#007cba;background-color:var(--wp-admin-theme-color);border:9px solid transparent}.glsr-toggle .glsr-toggle__input:focus+.glsr-toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 3.5px #007cba;box-shadow:0 0 0 2px #fff,0 0 0 3.5px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:2px}.glsr-toggle .glsr-toggle__input[type=checkbox]:checked~.glsr-toggle__thumb{background-color:#fff;border-width:0;transform:translateX(18px)}.glsr-toggle input.glsr-toggle__input[type=checkbox]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;margin:0;padding:0;z-index:1;border:none}.glsr-toggle input.glsr-toggle__input[type=checkbox]:checked{background:none}.glsr-toggle input.glsr-toggle__input[type=checkbox]:before{content:""}.glsr-metabox-field .gl-star-rating[data-star-rating]>select{-webkit-clip-path:circle(1px at 0 0);clip-path:circle(1px at 0 0);clip:rect(1px,1px,1px,1px);overflow:hidden!important;padding-left:0;padding-right:0;position:absolute!important;top:0;visibility:visible!important;white-space:nowrap;width:1px!important}.glsr-metabox-field .gl-star-rating[data-star-rating]>select:after,.glsr-metabox-field .gl-star-rating[data-star-rating]>select:before{display:none}.glsr-metabox-field .gl-star-rating-stars{align-items:center;color:#555d66;cursor:pointer;display:flex;float:left;position:relative;white-space:nowrap}.glsr-metabox-field .gl-star-rating[data-star-rating]>select[disabled]+.gl-star-rating-stars{color:#72777c;cursor:default}.glsr-metabox-field .gl-star-rating-stars>span{-webkit-font-smoothing:antialiased;font-family:dashicons;font-size:30px;letter-spacing:1px;line-height:1;text-align:center;transition:color .1s ease-in}@media screen and (min-width:783px){.glsr-metabox-field .gl-star-rating-stars>span{font-size:24px}}.glsr-metabox-field .gl-star-rating-stars>span:before{content:"\F154"}.glsr-metabox-field .gl-star-rating-stars.s10>span:first-child:before,.glsr-metabox-field .gl-star-rating-stars.s20>span:nth-child(-1n+2):before,.glsr-metabox-field .gl-star-rating-stars.s30>span:nth-child(-1n+3):before,.glsr-metabox-field .gl-star-rating-stars.s40>span:nth-child(-1n+4):before,.glsr-metabox-field .gl-star-rating-stars.s50>span:nth-child(-1n+5):before,.glsr-metabox-field .gl-star-rating-stars.s60>span:nth-child(-1n+6):before,.glsr-metabox-field .gl-star-rating-stars.s70>span:nth-child(-1n+7):before,.glsr-metabox-field .gl-star-rating-stars.s80>span:nth-child(-1n+8):before,.glsr-metabox-field .gl-star-rating-stars.s90>span:nth-child(-1n+9):before,.glsr-metabox-field .gl-star-rating-stars.s100>span:before{content:"\F155"}.glsr-metabox-field .gl-star-rating[data-star-rating]>select:focus+.gl-star-rating-stars:before{border-radius:3px;border:1px solid #007cba;border:1px solid var(--wp-admin-theme-color);box-shadow:0 0 0 1px #007cba;box-shadow:0 0 0 1px var(--wp-admin-theme-color);box-sizing:border-box;content:"";display:block;height:40px;pointer-events:none;position:absolute;width:100%}@media screen and (min-width:783px){.glsr-metabox-field .gl-star-rating[data-star-rating]>select:focus+.gl-star-rating-stars:before{height:30px}}.glsr-notice-branded{border-left-color:#f6e05e!important;padding-left:98px}.glsr-notice-branded-image{align-items:center;background-color:#faf089;border-right:1px solid #ccd0d4;bottom:0;display:flex;justify-content:center;left:0;padding:0 5px;position:absolute;top:0;width:75px}.glsr-notice:not(.notice-error):not(.notice-info):not(.notice-warning):not(.glsr-notice-branded){display:flex;border-left-color:#32373c}.glsr-notice-icon{display:flex;align-items:flex-start;margin-left:6px;margin-top:18px;margin-right:18px}.glsr-notice-icon img{width:80px;height:80px}@media only screen and (min-width:601px){.glsr-notice-icon img{width:96px;height:96px}}.glsr-notice-content{margin:6px 0}.glsr-notice-content h3{line-height:1.25;margin-top:12px;margin-bottom:12px}.glsr-notice-content .button,.glsr-notice-content p{margin-top:0;margin-bottom:12px}:root{--base00:#2b303b;--base01:#343d46;--base02:#4f5b66;--base03:#65737e;--base04:#a7adba;--base05:#c0c5ce;--base06:#dfe1e8;--base07:#eff1f5;--base08:#bf616a;--base09:#d08770;--base0A:#ebcb8b;--base0B:#a3be8c;--base0C:#96b5b4;--base0D:#8fa1b3;--base0E:#b48ead;--base0F:#ab7967}.syntax-shortcode,code[class*=language-],pre[class*=language-]{background-color:#181818;background-color:var(--base00);color:#d8d8d8;color:var(--base05);font-family:"Operator Mono Lig","Fira Code",monospace;font-size:13px;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;text-align:left;white-space:pre;word-break:normal;word-spacing:normal;word-wrap:normal;border-radius:2px}.syntax-shortcode,pre[class*=language-]{display:block;padding:1em;margin:.5em 0;overflow:auto}pre[class*=language-]>code{margin:0;padding:0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.bold{font-weight:bold}.token.italic{font-style:italic}.syntax-shortcode .tag{color:#ab4642;color:var(--base08)}.syntax-shortcode .attr-name{color:#ba8baf;color:var(--base0E)}.syntax-shortcode .attr-value{color:#a1b56c;color:var(--base0B)}.language-css .comment{color:#585858;color:var(--base03)}.language-css .important,.language-css .selector{color:#ba8baf;color:var(--base0E)}.language-css .function,.language-css .property,.language-css .url .function{color:#7cafc2;color:var(--base0D)}.language-css .string,.language-css .url{color:#a1b56c;color:var(--base0B)}.language-css .atrule,.language-css .atrule .punctuation,.language-css .url .punctuation{color:#d8d8d8;color:var(--base05)}.language-css .atrule .rule{color:#f7ca88;color:var(--base0A)}.language-css .atrule .keyword,.language-html .tag{color:#ab4642;color:var(--base08)}.language-html .attr-name{color:#ba8baf;color:var(--base0E)}.language-html .attr-value{color:#a1b56c;color:var(--base0B)}.language-html .attr-equals,.language-php .attr-value,.language-php .char,.language-php .constant,.language-php .package .punctuation,.language-php .property,.language-php .punctuation,.language-php .regex,.language-php .variable{color:#d8d8d8;color:var(--base05)}.language-php .block-comment,.language-php .cdata,.language-php .comment,.language-php .doctype,.language-php .prolog{color:#585858;color:var(--base03)}.language-php .string{color:#a1b56c;color:var(--base0B)}.language-php .important,.language-php .keyword,.language-php .selector{color:#ba8baf;color:var(--base0E)}.language-php .number,.language-php .operator{color:#ab4642;color:var(--base08)}.language-php .boolean,.language-php .class-name,.language-php .function,.language-php .package{color:#7cafc2;color:var(--base0D)}.glsr-progress{position:relative;display:block;height:28px;opacity:.65;text-align:center;font-size:14px}@media screen and (max-width:782px){.glsr-progress{height:31px}}.glsr-progress.active{opacity:1}.glsr-progress *{box-sizing:border-box}.glsr-progress-background,.glsr-progress-bar{height:100%;background-size:40px 40px}.glsr-progress.active .glsr-progress-background,.glsr-progress.active .glsr-progress-bar{transition:width 2.5s linear;-webkit-animation:glsr-progress-bar 1s linear infinite;animation:glsr-progress-bar 1s linear infinite}.glsr-progress-bar{position:relative;width:0;color:#fff;background-color:#616b75;background-image:linear-gradient(-45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);border:1px solid #4a5259;border-top-color:#616b75;border-radius:3px 0 0 3px;overflow:hidden;z-index:1}.glsr-progress-bar[style="width: 0%;"]{border-width:0}.glsr-progress-bar[style="width: 100%;"]{border-radius:3px}.glsr-progress-background{position:absolute;top:0;left:0;width:100%;height:28px;background-color:#f7f7f7;background-image:linear-gradient(-45deg,#fff 25%,transparent 0,transparent 50%,#fff 0,#fff 75%,transparent 0,transparent);border-radius:3px;box-shadow:inset 0 1px 2px #ccd0d4;border:1px solid #ccc}@media screen and (max-width:782px){.glsr-progress-background{height:31px}}.glsr-progress span{position:absolute;left:0;top:0;line-height:26px;color:#555;padding:0 6px}@media screen and (max-width:782px){.glsr-progress span{line-height:29px}}.glsr-progress-bar>span{color:#fff;text-shadow:0 -1px 1px #4a5259,1px 0 1px #4a5259,0 1px 1px #4a5259,-1px 0 1px #4a5259}@-webkit-keyframes glsr-progress-bar{0%{background-position:0 0}to{background-position:40px 0}}@keyframes glsr-progress-bar{0%{background-position:0 0}to{background-position:40px 0}}.glsr-progress .glsr-progress-bar{background-color:#681b98;border-color:#681b98 #591782 #591782}.glsr-progress .glsr-progress-bar>span{text-shadow:0 -1px 1px #591782,1px 0 1px #591782,0 1px 1px #591782,-1px 0 1px #591782}.star-rating .glsr-star{width:16px;font-size:16px;line-height:20px;color:#555}select[data-glsr-track=minimal]{border-color:#ffb900!important;color:#e6a700!important}select[data-glsr-track=minimal]:focus{box-shadow:0 0 0 1px #ffb900}select[data-glsr-track=all]{border-color:#dc3232!important;color:#dc3232!important}select[data-glsr-track=all]:focus{box-shadow:0 0 0 1px #dc3232}td.glsr-string-td1{position:relative;padding-bottom:2em}td.glsr-string-td1 .row-actions{position:absolute;bottom:10px;z-index:1}td.glsr-string-td2 input[type=text]:last-of-type{margin-bottom:0}td.glsr-string-td2 .description{display:block;padding-top:.5em}.is-invalid td.glsr-string-td2 .description{color:#dc3232}.mobile td.glsr-string-td1 .row-actions,.no-js td.glsr-string-td1 .row-actions,td.glsr-string-td1 .row-actions.visible,tr:hover td.glsr-string-td1 .row-actions{left:10px}.is-invalid td.glsr-string-td1,.is-invalid td.glsr-string-td1>div,.is-invalid td.glsr-string-td2,.is-invalid td.glsr-string-td2>div{position:relative}.is-invalid td.glsr-string-td1>button,.is-invalid td.glsr-string-td1>div,.is-invalid td.glsr-string-td2>button,.is-invalid td.glsr-string-td2>div{z-index:1}.is-invalid td.glsr-string-td1:after,.is-invalid td.glsr-string-td2:after{display:block;position:absolute;content:"";top:-1px;right:-1px;bottom:-1px;left:-1px;background:rgba(220,50,50,.06);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0}.is-invalid td.glsr-string-td1:after{background:rgba(220,50,50,.08)}.is-invalid td.glsr-string-td2 input[type=text],.is-invalid td.glsr-string-td2 textarea{border-color:#e2cbcb}@media screen and (max-width:782px){.post-type-site-review .wp-list-table .is-expanded.is-invalid td:not(.hidden){overflow:unset}}@media screen and (max-width:720px){h2 a.glsr-nav-tab,h2 a.glsr-nav-tab.nav-tab-active:hover{transition-property:background,color;border-bottom:1px solid #ccc;margin:10px 10px 0 0}.wrap h2.glsr-nav-tab-wrapper{border-bottom:0}}.glsr-card{max-width:800px;box-sizing:border-box}.glsr-card-result{border:1px solid #ccd0d4;background-color:#f6fbfd;padding:0 1em;margin:1em 0}.glsr-card ol{list-style:decimal;margin-left:1.5em}.glsr-card ul{list-style:disc;margin-left:1.5em}.glsr-card h2{margin-top:0;text-align:left}.glsr-heading{color:#000;font-size:14px;font-weight:600}.glsr-card.postbox{padding:0;margin-bottom:0}.glsr-card.postbox:not(:last-child){border-bottom:none}.glsr-card.postbox.closed:last-child{border-bottom:1px solid #ccd0d4}.glsr-card .components-notice{margin:0}.glsr-card .components-notice.is-info{background-color:rgba(231,245,254,.75)}.glsr-card h3.glsr-card-heading{border-top:1px solid #ccd0d4;color:inherit;font-size:inherit;font-weight:600;line-height:inherit;margin:0}.glsr-card h3.glsr-card-heading:first-child{border-top:none}.glsr-accordion-trigger{background:#fff;border:0;color:#32373c;cursor:pointer;display:flex;font-weight:400;margin:0;padding:1em 3.5em 1em 1.5em;min-height:46px;position:relative;text-align:left;width:100%;align-items:center;justify-content:space-between;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.glsr-accordion-trigger:active,.glsr-accordion-trigger:hover{background:#f8f9f9}.glsr-accordion-trigger:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-1px;outline:2px solid #0071a1;background-color:#f8f9f9;z-index:1}.glsr-accordion-trigger .title{pointer-events:none;font-weight:600;font-size:16px;flex-grow:1}.glsr-accordion-trigger .icon{border:solid #555d66;border-width:0 2px 2px 0;height:.5rem;pointer-events:none;position:absolute;right:1.5em;top:50%;transform:translateY(-70%) rotate(45deg);width:.5rem}.glsr-accordion-trigger[aria-expanded=true] .icon{transform:translateY(-30%) rotate(-135deg)}.glsr-accordion-trigger .badge{padding:.1rem .5rem .15rem;color:#32373c;font-weight:500;margin-left:.5rem;border:1px solid #bfe7f3}.glsr-accordion-trigger .badge.important{border:1px solid #dc3232}@media screen and (max-width:782px){.glsr-accordion-trigger{align-items:flex-start;flex-direction:column}.glsr-accordion-trigger .badge{margin:1em 0 0}}.glsr-card.postbox .inside{border-bottom:none;border-top:1px solid #ccd0d4;margin:0;padding:1em 1.5em}.glsr-card.postbox .inside>:not(h2):first-child{margin-top:.5em}.glsr-card.postbox .inside>:last-child{margin-bottom:.5em!important}.glsr-card p.submit{margin:0}.glsr-card code,.glsr-card pre{word-spacing:normal;word-break:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}.glsr-card dd{margin:1em 0}.glsr-card dt{font-weight:600;margin:1em 0}.glsr-card code a{text-decoration:none}.glsr-float-left{float:left;padding-right:.25em}.glsr-code[readonly]{width:100%;font-family:"Operator Mono","Fira Code",monaco,monospace;font-weight:300;white-space:pre;-webkit-font-smoothing:antialiased!important}.glsr-code-large{min-height:60vh}@media only screen and (max-width:782px){.glsr-card{max-width:inherit}}tr.glsr-setting-field td .inline br{display:none}tr.glsr-setting-field td label:after{content:"";margin-right:1em}.glsr-setting-field .button{margin-top:6px}.glsr-notice-inline{background:hsla(0,0%,100%,.65);color:#555;padding:4px 10px 10px;margin:10px 0 0!important}.glsr-notice-inline p{padding:0!important}.glsr-setting-field{margin:1em 0;line-height:1.5}.glsr-setting-field small code{font-size:inherit;padding:0 3px 1px}.glsr-setting-field>label{margin-right:3px}@media screen and (max-width:782px){.glsr-setting-field>label+input.small-text{margin-left:0}}.glsr-setting-field>ul{margin:0}.glsr-setting-field>ul li{margin-bottom:2px}.glsr-setting-field textarea.code,.post-type-site-review .code,.post-type-site-review code{font-family:"Operator Mono","Fira Code",monaco,monospace}.glsr-hidden{display:none}.glsr-search-box,.glsr-strings-table{position:relative;max-width:800px}.glsr-search-box *,.glsr-strings-table *{box-sizing:border-box}.glsr-search-box,.glsr-search-multibox{position:relative;margin:1em 0}.glsr-search-box.is-active .spinner,.glsr-search-multibox.is-active .spinner{visibility:visible}.glsr-search-box.is-active input[type=search]::-webkit-search-cancel-button,.glsr-search-multibox.is-active input[type=search]::-webkit-search-cancel-button{display:none!important}.glsr-spinner{visibility:hidden;position:absolute;top:5px;right:5px;height:20px;width:20px;background-color:#fff;z-index:5}.glsr-spinner .spinner{margin:0}.loading-content .glsr-spinner{visibility:visible}.glsr-search-input{position:relative;width:100%;font-weight:300;line-height:1.5;padding:3px 5px;margin:0;z-index:2}.site-review_page_settings .glsr-search-input{height:32px;font-size:16px}.glsr-search-input:focus{z-index:20}.glsr-search-results{position:absolute;top:calc(100% - 4px);padding-top:4px;left:0;width:100%;max-height:315px;overflow-x:scroll;-webkit-overflow-scrolling:touch;border:1px solid #7e8993;border-top:none;box-shadow:0 1px 1px rgba(0,0,0,.04);background-color:#fff;box-sizing:border-box;border-radius:0 0 4px 4px;z-index:3}.glsr-search-results:not(.is-active){display:none}.glsr-search-results:before{display:block;background:#fff;border-left:1px solid #7e8993;border-right:1px solid #7e8993;box-sizing:border-box;content:"";height:4px;position:absolute;top:0;left:-1px;right:-1px}.glsr-search-results>div,.glsr-search-results>span{position:relative;display:block;box-sizing:border-box;height:32px;line-height:32px;text-overflow:ellipsis;white-space:nowrap;padding:0 10px;margin-top:-1px;overflow:hidden}.glsr-search-results>div{background-color:#f6fbfd}.glsr-search-results>span:active,.glsr-search-results>span:focus,.glsr-search-results>span:hover{color:#fff;background-color:#00a0d2;cursor:pointer;outline:none}.glsr-search-box-wrap{position:relative}.glsr-strings-table{transition:opacity .2s linear}.glsr-focus .glsr-strings-table{opacity:.2;pointer-events:none}.glsr-string-td1,.glsr-string-td2{border-top:none;padding:13px 15px}.glsr-string-td1{max-width:375px;border-right:1px solid #ccd0d4;vertical-align:top}.glsr-string-td2{width:60%;max-width:375px}.glsr-strings-table p:not(.row-actions){font-size:14px;font-weight:400;line-height:1.3;color:#000}.glsr-strings-table p.row-actions{margin:0}.glsr-strings-table textarea{display:block;width:100%;margin:0}.glsr-strings-table input[type=text]{display:block;width:100%;margin:0 0 5px}.glsr-strings-table input[type=text]:active,.glsr-strings-table input[type=text]:focus{position:relative}.glsr-string-tr:last-child .glsr-string-td2,.glsr-string-tr:not(.is-expanded):last-child .glsr-string-td1{border-bottom:none}@media screen and (max-width:782px){.glsr-search-results>span{padding:0 10px}.glsr-string-td1{max-width:none;border-right:none}.glsr-string-td2{max-width:none;padding:13px 15px!important}.glsr-spinner{right:10px}}.glsr-string-tr.ui-sortable-helper{opacity:.8;display:table;box-shadow:0 1px 2px rgba(0,0,0,.1)}.ui-sortable .glsr-string-tr:hover{cursor:move}@media screen and (min-width:783px){.ui-sortable-placeholder+.glsr-string-tr .glsr-string-td2{border-top:1px solid #f1f1f1}}.ui-sortable-helper .glsr-string-td1{border-left:1px solid #999}.ui-sortable-helper .glsr-string-td1,.ui-sortable-helper .glsr-string-td2{border-top:1px solid #999!important;border-bottom:1px solid #999!important}.ui-sortable-helper .glsr-string-td2{border-right:1px solid #999}@media screen and (max-width:782px){.ui-sortable-helper .glsr-string-td1{border:1px solid #999}.ui-sortable-helper.is-expanded .glsr-string-td1{border-bottom:none!important}.ui-sortable-helper.is-expanded .glsr-string-td2{border:1px solid #999;border-top-color:#f1f1f1!important}}.glsr-search-multibox,.glsr-search-multibox-entries{display:flex;margin:0;position:relative}.glsr-search-multibox-entries{background-color:#fff;border-radius:4px;border:1px solid #7e8993;box-shadow:0 0 0 transparent;color:#32373c;flex-direction:column;width:100%;z-index:2}.glsr-search-multibox-entries:focus-within{border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent;z-index:20}.glsr-search-multibox .glsr-selected-entries{display:flex;flex-wrap:wrap;padding-right:6px}.glsr-search-multibox .glsr-selected-entries>span{align-items:center;background:#f3f5f6;border-radius:3px;box-sizing:border-box;display:flex;font-size:11px;font-style:normal;height:24px;line-height:1;margin:6px 0 0 6px;padding:0 10px 0 30px;position:relative}.glsr-search-multibox .glsr-selected-entries a{color:inherit;pointer-events:none}.glsr-search-multibox .glsr-remove-button{left:5px}.glsr-search-multibox .glsr-remove-icon:before{color:#72777c}.glsr-search-multibox input[type=search].glsr-search-input{border:none;margin:0;background:transparent;width:auto;flex-grow:1}.glsr-search-multibox input[type=search].glsr-search-input:focus{outline:none;box-shadow:none}.glsr-search-multibox .glsr-spinner{top:auto;bottom:5px;right:7px}@media screen and (max-width:782px){.glsr-search-multibox .glsr-selected-entries>span{margin:8px 0 0 8px;font-size:14px;height:32px;padding:8px 10px 8px 30px}.glsr-search-multibox .glsr-spinner{bottom:10px;right:10px}}.glsr-status{max-width:750px}.glsr-status th.column-primary{width:50%}.glsr-status td.column-primary{position:relative;font-size:14px!important;font-weight:600}.glsr-status td.column-primary span{font-weight:400}.glsr-status .toggle-row{top:0}.glsr-status .toggle-row:before{top:6px}.glsr-status tfoot td.glsr-radio-column,.glsr-status thead td.glsr-radio-column{color:#82878c;text-align:center;padding-left:4px}@media screen and (max-width:782px){.glsr-status th input[type=radio]{margin-bottom:8px}.glsr-status tfoot td.glsr-radio-column,.glsr-status thead td.glsr-radio-column{padding-top:4px;padding-left:9px}}.wrap h2.glsr-nav-tab-wrapper{padding-top:0;margin-top:9px}.glsr-nav-view{margin-top:20px}.glsr-subsubsub{float:none;text-align:left}.glsr-screenshot{border:1px solid #ccd0d4;box-shadow:0 1px 1px rgba(0,0,0,.04);box-sizing:border-box}.glsr-welcome .badge{position:absolute;top:1em;right:0;padding:.25rem .5rem;font-weight:500;font-size:16px;text-rendering:optimizeLegibility;background-color:#72777c;color:#fff;border-radius:5px}@media only screen and (max-width:500px){.glsr-welcome .badge{display:inline-block;position:relative;top:auto}}.glsr-welcome.about-wrap{margin-top:40px}.glsr-welcome.about-wrap .inside li,.glsr-welcome.about-wrap .inside p{font-size:16px}.glsr-welcome .glsr-about-text{margin:1em 0}.glsr-welcome-banner{margin:2em 0 0}.glsr-welcome .about-buttons{display:flex;flex-wrap:wrap;margin:1.5em 0}.glsr-welcome .components-button{margin:0 .5em .5em 0}.glsr-welcome .dashicon:before{font:normal 18px dashicons;margin-right:6px;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glsr-welcome .glsr-nav-view{margin-top:0}.glsr-welcome ul:not(.glsr-flex-row){list-style:circle;padding-left:20px}.glsr-flex-row{display:flex;flex-direction:row;flex-wrap:wrap;margin-left:-20px;margin-right:-20px}.glsr-column{width:100%;max-width:100%;box-sizing:border-box;padding-left:20px;padding-right:20px}@media (min-width:601px){.glsr-has-2-columns .glsr-column,.glsr-has-3-columns .glsr-column{max-width:50%}}@media (min-width:783px){.glsr-has-3-columns .glsr-column{max-width:33.33%}}.glsr-metabox-table .star-rating .star,.post-type-site-review .star-rating .star{width:16px;font-size:16px;line-height:20px;color:#555}.post-type-site-review .star-rating .star{margin-top:-2px}.post-type-site-review .hide-column-tog+.pinned-icon+svg,.post-type-site-review .wp-list-table .approve,.post-type-site-review .wp-list-table .status-pending .unapprove{display:none}.post-type-site-review .wp-list-table .spam .approve,.post-type-site-review .wp-list-table .status-pending .approve,.post-type-site-review .wp-list-table .trash .approve{display:inline}.post-type-site-review .wp-list-table .approve a{color:#006505}.post-type-site-review .wp-list-table .approve a:hover{color:#007f06}.post-type-site-review .wp-list-table .unapprove a{color:#d98500}.post-type-site-review .wp-list-table .unapprove a:hover{color:#f39500}.post-type-site-review .wp-list-table th.column-rating{width:100px}.post-type-site-review .wp-list-table td.column-is_pinned i.pin-review{align-items:center;cursor:pointer;display:flex;float:none;justify-content:center;margin:0;transition:none}.post-type-site-review .wp-list-table td.column-is_pinned i{line-height:24px;text-indent:-3px}.post-type-site-review .wp-list-table td.column-is_pinned i:not(.pinned){color:rgba(85,85,85,.2)}.post-type-site-review .wp-list-table :not(.status-pending)+tr.status-pending th.check-column{box-shadow:inset 0 1px 0 rgba(0,0,0,.07),inset 0 -1px 0 rgba(0,0,0,.07)}.post-type-site-review .wp-list-table :not(.status-pending)+tr.status-pending td:nth-child(2){box-shadow:inset 0 1px 0 rgba(0,0,0,.07)}.post-type-site-review .wp-list-table :not(.status-pending)+tr.status-pending:not(.is-expanded) td:nth-child(2){box-shadow:inset 0 1px 0 rgba(0,0,0,.07),inset 0 -1px 0 rgba(0,0,0,.07)}.post-type-site-review .wp-list-table tr.status-pending.is-expanded td:last-child,.post-type-site-review .wp-list-table tr.status-pending:not(.is-expanded) td:nth-child(2),.post-type-site-review .wp-list-table tr.status-pending th.check-column{box-shadow:inset 0 -1px 0 rgba(0,0,0,.07)}.post-type-site-review .wp-list-table tr.status-pending td,.post-type-site-review .wp-list-table tr.status-pending th.check-column{background-color:#fef7f1}.post-type-site-review .wp-list-table tr.status-pending th.check-column{position:relative;border-left:4px solid #d54e21;z-index:1}.post-type-site-review .wp-list-table tr.status-pending th.check-column input{margin-left:4px}@media screen and (min-width:783px){.post-type-site-review .wp-list-table :not(.status-pending)+tr.status-pending td{box-shadow:inset 0 1px 0 rgba(0,0,0,.07),inset 0 -1px 0 rgba(0,0,0,.07)}.post-type-site-review .wp-list-table tr.status-pending td{box-shadow:inset 0 -1px 0 rgba(0,0,0,.07)}.post-type-site-review .wp-list-table th.column-assigned_posts,.post-type-site-review .wp-list-table th.column-assigned_users,.post-type-site-review .wp-list-table th.column-ip_address{white-space:nowrap}.post-type-site-review .wp-list-table th.column-assigned_posts,.post-type-site-review .wp-list-table th.column-assigned_users,.post-type-site-review .wp-list-table th.column-name,.post-type-site-review .wp-list-table th.column-taxonomy-site-review-category,.post-type-site-review .wp-list-table th.column-type{width:120px}.post-type-site-review .wp-list-table th.column-is_pinned{width:45px}.post-type-site-review .wp-list-table th.column-is_pinned span.pinned-icon span{display:none}.post-type-site-review .wp-list-table th.column-is_pinned span.pinned-icon:after{display:inline-block;position:relative;content:"\F537";font:normal 20px/1 dashicons;speak:none;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:16px;height:20px;line-height:22px;font-size:16px;text-align:center}.post-type-site-review .wp-list-table th.column-is_pinned .sorting-indicator{margin-left:3px}.post-type-site-review .wp-list-table td.column-is_pinned{padding:8px 6px}.post-type-site-review .wp-list-table td.column-is_pinned i{text-indent:0}}#available-widgets [class*=site-reviews] .widget-title:before{content:"\F459"}.glsr-no-margins{margin:0!important}::placeholder{color:#72777c!important;font-size:inherit!important;line-height:inherit!important;opacity:1}::-webkit-input-placeholder{color:#72777c!important;font-size:inherit!important;line-height:inherit!important;opacity:1}:-moz-placeholder,::-moz-placeholder{color:#72777c!important;font-size:inherit!important;line-height:inherit!important;opacity:1}:-ms-input-placeholder{color:#72777c!important;font-size:inherit!important;line-height:inherit!important;opacity:1}
|
1 |
+
@charset "UTF-8";.glsr-addons{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));width:100%}@media only screen and (min-width:783px){.glsr-addons{gap:20px;margin:12px 0}}.glsr-addon{border:1px solid #ccd0d4;box-shadow:0 1px 1px -1px rgba(0,0,0,.1);display:flex;flex-direction:column;position:relative}.glsr-addon-description{background-color:#fff;padding:20px;flex:auto}.glsr-addon-description p{margin:0}.glsr-addon-name{font-size:15px;margin-top:0;text-overflow:ellipsis;white-space:nowrap}.glsr-addon-footer{height:48px;background:hsla(0,0%,100%,.65);box-shadow:inset 0 1px 0 rgba(0,0,0,.1);box-sizing:border-box;padding:15px;margin:0;overflow:hidden}@media screen and (max-width:782px){.glsr-addon-footer{height:58px}}.glsr-addon-screenshot{display:block;background-position:50% 50%;background-repeat:no-repeat;background-size:cover;border-bottom:1px solid #ccd0d4;padding-top:66.67%;margin:-1px}@media screen and (min-width:514px){.glsr-addon-screenshot{padding-top:100%}}.glsr-addon-screenshot[data-slug=images]{background-color:#6b46c1;background-image:url(../../images/addon-images.svg)}.glsr-addon-screenshot[data-slug=filters]{background-color:#319796;background-image:url(../../images/addon-filters.svg)}.glsr-addon-screenshot[data-slug=trustalyze]{background-color:#4282d6;background-image:url(../../images/addon-trustalyze.svg)}.glsr-addon-link{position:absolute;right:15px;bottom:10px}@media screen and (max-width:782px){.glsr-addon-link{bottom:6px}}.glsr-addon-link.glsr-external:after{content:"\A0\F504";font-family:dashicons;line-height:1.2;vertical-align:text-bottom;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@-webkit-keyframes glsr-loader{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes glsr-loader{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.wp-admin .glsr-button{position:relative;white-space:nowrap}.wp-admin .glsr-button:after,.wp-admin .glsr-button:before{display:inline-block;position:absolute;top:50%;height:1em;width:1em;border:.2em solid;border-radius:100%;box-sizing:border-box;margin:-.5em auto 0;-webkit-animation:glsr-loader .5s linear infinite;animation:glsr-loader .5s linear infinite}.wp-admin .glsr-button:before{border-top-color:transparent;opacity:.5}.wp-admin .glsr-button:after{border-color:currentColor transparent transparent}.wp-admin .glsr-button[disabled]{padding-left:calc(1em + 15px)}.wp-admin .glsr-button[disabled]:after,.wp-admin .glsr-button[disabled]:before{content:"";left:10px}.wp-admin .glsr-button[disabled] span{visibility:hidden;font-size:0}.wp-admin .glsr-button[disabled] span:after{visibility:visible;content:attr(data-loading);font-size:13px}.wp-admin .glsr-button:not([disabled]) span[data-alt-text].alt{visibility:hidden;font-size:0}.wp-admin .glsr-button:not([disabled]) span[data-alt-text].alt:after{visibility:visible;content:attr(data-alt-text);font-size:13px}#dashboard_right_now li>span.glsr-review-count:before,#dashboard_right_now li a.glsr-review-count:before{content:"\F459";top:-2px}.post-type-site-review #titlediv #title{margin-bottom:20px}.post-type-site-review #contentdiv textarea,.post-type-site-review .wp-editor-area{display:block;width:100%;height:320px;font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-size:16px;line-height:1.5;padding:10px;resize:vertical;-webkit-font-smoothing:antialiased!important;overflow-wrap:break-word}.post-type-site-review .misc-pub-pinned:before{display:inline-block;position:relative;content:"\F537";font:normal 20px/1 dashicons;speak:none;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;top:0;left:-1px;color:#82878c;padding:0 2px 0 0}.post-type-site-review .misc-pub-pinned .pinned-status-text{font-weight:600}.post-type-site-review .misc-pub-pinned .pinned-status-select{margin-top:3px}.wp-admin .glsr-response{display:block;height:6em;width:100%;margin:12px 0 0}.glsr-mce{position:relative;display:inline-block;margin-right:1px}.glsr-mce-menu.mce-menu{display:none;position:absolute;top:100%;left:0;min-width:100%;background:#fff;padding:5px 0;margin:-2px 0 0}.glsr-mce-menu-item.mce-menu-item{cursor:pointer;font-size:14px;white-space:nowrap;padding:6px 12px;margin-bottom:2px}.mce-glsr-mce-popup a{text-decoration:underline}.mce-glsr-mce-popup p{margin-bottom:1em}.mce-glsr-mce-popup p.strong{font-weight:600}.mce-glsr-mce-popup p.no-margin{margin-bottom:0}.mce-glsr-mce-popup p.margin-top{margin-top:1em}.mce-glsr-btn.mce-btn button{box-sizing:border-box;padding:0 8px}.wp-media-buttons button.glsr-mce-button{outline:none;padding-left:5px;margin-right:0}button.glsr-mce-button:after{display:inline-block;position:relative;top:-1px;left:-1px;width:0;height:0;content:"";border-top:6px solid;border-right:4px solid transparent;border-left:4px solid transparent}button.glsr-mce-button.active:after{top:-2px;border-top:0;border-bottom:6px solid}button.glsr-mce-button:active{margin-bottom:5px}button.glsr-mce-button .wp-media-buttons-icon:before{content:"\F459";font:normal 18px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media screen and (max-width:782px){button.glsr-mce-button .wp-media-buttons-icon:before{font-size:20px!important}}div.sc-wrap{margin-right:1px}#site-review-detailsdiv.postbox .inside{padding:0;margin:0}.glsr-response-postbox{margin-top:20px;margin-bottom:0}.js .glsr-response-postbox .hndle{cursor:default}.js .glsr-response-postbox .toggle-indicator:before{content:"\F142";display:inline-block;font:normal 20px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.js .glsr-response-postbox.closed .toggle-indicator:before{content:"\F140"}.glsr-metabox-table{width:auto;padding:0 12px 12px;margin-top:12px}.glsr-metabox-table td{line-height:1.5;vertical-align:top;padding:0 14px 8px 0}.glsr-metabox-table td:first-child{font-weight:600}.glsr-metabox-table td:last-child{padding-bottom:0}.glsr-metabox-actions{border-top:1px solid #ccd0d4;background:#f5f5f5;padding:10px;clear:both}.glsr-revert-action{text-align:right;float:right;line-height:1.9}.glsr-revert-action .spinner{float:left}.glsr-search-box .description{display:block}.glsr-assigned-entry{display:block;margin-left:20px}.glsr-remove-button{position:absolute;left:-4px;width:20px;height:20px;border:none;margin:0;padding:0;background:0 0;cursor:pointer;text-indent:0}.glsr-remove-button:focus .glsr-remove-icon:before,.glsr-remove-button:hover .glsr-remove-icon:before{color:#c00}.glsr-remove-icon:before{margin-left:0;border-radius:50%;color:#007cba;color:var(--wp-admin-theme-color);line-height:1.28;background:0 0;content:"\F153";display:block;font:400 16px/20px dashicons;speak:none;height:20px;text-align:center;width:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glsr-metabox-field select:focus{border-color:#007cba;border-color:var(--wp-admin-theme-color);color:#016087;color:var(--wp-admin-theme-color-darker-20);box-shadow:0 0 0 1px #007cba;box-shadow:0 0 0 1px var(--wp-admin-theme-color)}.glsr-metabox-field{box-sizing:border-box;position:relative}.glsr-metabox-field:first-child{margin-top:12px}.glsr-metabox-field .glsr-label{box-sizing:border-box;width:100%;padding:0 12px;position:relative;margin:0;line-height:1.5}.glsr-metabox-field .glsr-label label{display:block;margin:0;padding:0;font-size:14px}.glsr-metabox-field .glsr-input{box-sizing:border-box;width:100%;position:relative;padding:12px;margin:0}.glsr-metabox-field .glsr-input>img{border-radius:3px;margin-top:12px}.glsr-metabox-field input[type=date],.glsr-metabox-field input[type=datetime-local],.glsr-metabox-field input[type=datetime],.glsr-metabox-field input[type=email],.glsr-metabox-field input[type=month],.glsr-metabox-field input[type=number],.glsr-metabox-field input[type=password],.glsr-metabox-field input[type=search],.glsr-metabox-field input[type=tel],.glsr-metabox-field input[type=text],.glsr-metabox-field input[type=time],.glsr-metabox-field input[type=url],.glsr-metabox-field input[type=week],.glsr-metabox-field select,.glsr-metabox-field textarea{margin:0;width:100%}.glsr-input-value:disabled{color:#32373c!important;background-color:#eee!important;border-color:#7e8993!important;cursor:default;opacity:1}@media screen and (min-width:641px){.glsr-metabox-field{display:flex;flex:1 auto}.glsr-metabox-field:first-child{margin-top:0}.glsr-metabox-field:first-child .glsr-input,.glsr-metabox-field:first-child .glsr-label{padding-top:12px}.glsr-metabox-field:last-child .glsr-input,.glsr-metabox-field:last-child .glsr-label{padding-bottom:12px}.glsr-metabox-field .glsr-label{align-items:flex-start;display:flex;background:#f9f9f9;border-right:1px solid #ddd;padding:6px 12px;min-width:128px;width:20%;line-height:40px}.glsr-metabox-field .glsr-label label{font-weight:600}.glsr-metabox-field .glsr-input{flex-direction:column;justify-content:center;display:flex;padding:6px 12px;vertical-align:top}}@media screen and (min-width:783px){.glsr-metabox-field .glsr-label{line-height:30px}}.glsr-toggle-field{display:flex;line-height:normal;height:40px}@media screen and (min-width:641px){.glsr-toggle-field{align-items:center}}@media screen and (min-width:783px){.glsr-toggle-field{height:30px}}.glsr-toggle{position:relative;display:inline-block}.glsr-toggle .glsr-toggle__track{content:"";display:inline-block;box-sizing:border-box;vertical-align:top;background-color:#fff;border:1px solid #1e1e1e;width:36px;height:18px;border-radius:9px;transition:background .2s ease}@media (prefers-reduced-motion:reduce){.glsr-toggle .glsr-toggle__track{transition-duration:0s}}.glsr-toggle .glsr-toggle__thumb{display:block;position:absolute;box-sizing:border-box;top:3px;left:3px;width:12px;height:12px;border-radius:50%;transition:transform .1s ease;background-color:#1e1e1e;border:5px solid #1e1e1e}@media (prefers-reduced-motion:reduce){.glsr-toggle .glsr-toggle__thumb{transition-duration:0s}}.glsr-toggle .glsr-toggle__input[type=checkbox]:checked~.glsr-toggle__track{background-color:#007cba;background-color:var(--wp-admin-theme-color);border:9px solid transparent}.glsr-toggle .glsr-toggle__input:focus+.glsr-toggle__track{box-shadow:0 0 0 2px #fff,0 0 0 3.5px #007cba;box-shadow:0 0 0 2px #fff,0 0 0 3.5px var(--wp-admin-theme-color);outline:2px solid transparent;outline-offset:2px}.glsr-toggle .glsr-toggle__input[type=checkbox]:checked~.glsr-toggle__thumb{background-color:#fff;border-width:0;transform:translateX(18px)}.glsr-toggle input.glsr-toggle__input[type=checkbox]{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;margin:0;padding:0;z-index:1;border:none}.glsr-toggle input.glsr-toggle__input[type=checkbox]:checked{background:none}.glsr-toggle input.glsr-toggle__input[type=checkbox]:before{content:""}.glsr-metabox-field .gl-star-rating[data-star-rating]>select{-webkit-clip-path:circle(1px at 0 0);clip-path:circle(1px at 0 0);clip:rect(1px,1px,1px,1px);overflow:hidden!important;padding-left:0;padding-right:0;position:absolute!important;top:0;visibility:visible!important;white-space:nowrap;width:1px!important}.glsr-metabox-field .gl-star-rating[data-star-rating]>select:after,.glsr-metabox-field .gl-star-rating[data-star-rating]>select:before{display:none}.glsr-metabox-field .gl-star-rating-stars{align-items:center;color:#555d66;cursor:pointer;display:flex;float:left;position:relative;white-space:nowrap}.glsr-metabox-field .gl-star-rating[data-star-rating]>select[disabled]+.gl-star-rating-stars{color:#72777c;cursor:default}.glsr-metabox-field .gl-star-rating-stars>span{-webkit-font-smoothing:antialiased;font-family:dashicons;font-size:30px;letter-spacing:1px;line-height:1;text-align:center;transition:color .1s ease-in}@media screen and (min-width:783px){.glsr-metabox-field .gl-star-rating-stars>span{font-size:24px}}.glsr-metabox-field .gl-star-rating-stars>span:before{content:"\F154"}.glsr-metabox-field .gl-star-rating-stars.s10>span:first-child:before,.glsr-metabox-field .gl-star-rating-stars.s20>span:nth-child(-1n+2):before,.glsr-metabox-field .gl-star-rating-stars.s30>span:nth-child(-1n+3):before,.glsr-metabox-field .gl-star-rating-stars.s40>span:nth-child(-1n+4):before,.glsr-metabox-field .gl-star-rating-stars.s50>span:nth-child(-1n+5):before,.glsr-metabox-field .gl-star-rating-stars.s60>span:nth-child(-1n+6):before,.glsr-metabox-field .gl-star-rating-stars.s70>span:nth-child(-1n+7):before,.glsr-metabox-field .gl-star-rating-stars.s80>span:nth-child(-1n+8):before,.glsr-metabox-field .gl-star-rating-stars.s90>span:nth-child(-1n+9):before,.glsr-metabox-field .gl-star-rating-stars.s100>span:before{content:"\F155"}.glsr-metabox-field .gl-star-rating[data-star-rating]>select:focus+.gl-star-rating-stars:before{border-radius:3px;border:1px solid #007cba;border:1px solid var(--wp-admin-theme-color);box-shadow:0 0 0 1px #007cba;box-shadow:0 0 0 1px var(--wp-admin-theme-color);box-sizing:border-box;content:"";display:block;height:40px;pointer-events:none;position:absolute;width:100%}@media screen and (min-width:783px){.glsr-metabox-field .gl-star-rating[data-star-rating]>select:focus+.gl-star-rating-stars:before{height:30px}}.glsr-notice-branded{border-left-color:#f6e05e!important;padding-left:98px}.glsr-notice-branded-image{align-items:center;background-color:#faf089;border-right:1px solid #ccd0d4;bottom:0;display:flex;justify-content:center;left:0;padding:0 5px;position:absolute;top:0;width:75px}.glsr-notice:not(.notice-error):not(.notice-info):not(.notice-warning):not(.glsr-notice-branded){display:flex;border-left-color:#32373c}.glsr-notice-icon{display:flex;align-items:flex-start;margin-left:6px;margin-top:18px;margin-right:18px}.glsr-notice-icon img{width:80px;height:80px}@media only screen and (min-width:601px){.glsr-notice-icon img{width:96px;height:96px}}.glsr-notice-content{margin:6px 0}.glsr-notice-content h3{line-height:1.25;margin-top:12px;margin-bottom:12px}.glsr-notice-content .button,.glsr-notice-content p{margin-top:0;margin-bottom:12px}:root{--base00:#2b303b;--base01:#343d46;--base02:#4f5b66;--base03:#65737e;--base04:#a7adba;--base05:#c0c5ce;--base06:#dfe1e8;--base07:#eff1f5;--base08:#bf616a;--base09:#d08770;--base0A:#ebcb8b;--base0B:#a3be8c;--base0C:#96b5b4;--base0D:#8fa1b3;--base0E:#b48ead;--base0F:#ab7967}.syntax-shortcode,code[class*=language-],pre[class*=language-]{background-color:#181818;background-color:var(--base00);color:#d8d8d8;color:var(--base05);font-family:"Operator Mono Lig","Fira Code",monospace;font-size:13px;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;text-align:left;white-space:pre;word-break:normal;word-spacing:normal;word-wrap:normal;border-radius:2px}.syntax-shortcode,pre[class*=language-]{display:block;padding:1em;margin:.5em 0;overflow:auto}pre[class*=language-]>code{margin:0;padding:0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.bold{font-weight:bold}.token.italic{font-style:italic}.syntax-shortcode .tag{color:#ab4642;color:var(--base08)}.syntax-shortcode .attr-name{color:#ba8baf;color:var(--base0E)}.syntax-shortcode .attr-value{color:#a1b56c;color:var(--base0B)}.language-css .comment{color:#585858;color:var(--base03)}.language-css .important,.language-css .selector{color:#ba8baf;color:var(--base0E)}.language-css .function,.language-css .property,.language-css .url .function{color:#7cafc2;color:var(--base0D)}.language-css .string,.language-css .url{color:#a1b56c;color:var(--base0B)}.language-css .atrule,.language-css .atrule .punctuation,.language-css .url .punctuation{color:#d8d8d8;color:var(--base05)}.language-css .atrule .rule{color:#f7ca88;color:var(--base0A)}.language-css .atrule .keyword,.language-html .tag{color:#ab4642;color:var(--base08)}.language-html .attr-name{color:#ba8baf;color:var(--base0E)}.language-html .attr-value{color:#a1b56c;color:var(--base0B)}.language-html .attr-equals,.language-php .attr-value,.language-php .char,.language-php .constant,.language-php .package .punctuation,.language-php .property,.language-php .punctuation,.language-php .regex,.language-php .variable{color:#d8d8d8;color:var(--base05)}.language-php .block-comment,.language-php .cdata,.language-php .comment,.language-php .doctype,.language-php .prolog{color:#585858;color:var(--base03)}.language-php .string{color:#a1b56c;color:var(--base0B)}.language-php .important,.language-php .keyword,.language-php .selector{color:#ba8baf;color:var(--base0E)}.language-php .number,.language-php .operator{color:#ab4642;color:var(--base08)}.language-php .boolean,.language-php .class-name,.language-php .function,.language-php .package{color:#7cafc2;color:var(--base0D)}.shortcode-example{position:relative}.shortcode-example>input{margin:0;opacity:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#181818;background-color:var(--base00);border-radius:2px;border:0;color:#d8d8d8;color:var(--base05);display:block;font-family:"Operator Mono","Fira Code",monaco,monospace;font-size:13px;line-height:1.5;padding:1em;position:absolute;width:100%}.shortcode-example>input:active,.shortcode-example>input:focus{border:0;box-shadow:none;opacity:1!important}.glsr-progress{position:relative;display:block;height:28px;opacity:.65;text-align:center;font-size:14px}@media screen and (max-width:782px){.glsr-progress{height:31px}}.glsr-progress.active{opacity:1}.glsr-progress *{box-sizing:border-box}.glsr-progress-background,.glsr-progress-bar{height:100%;background-size:40px 40px}.glsr-progress.active .glsr-progress-background,.glsr-progress.active .glsr-progress-bar{transition:width 2.5s linear;-webkit-animation:glsr-progress-bar 1s linear infinite;animation:glsr-progress-bar 1s linear infinite}.glsr-progress-bar{position:relative;width:0;color:#fff;background-color:#616b75;background-image:linear-gradient(-45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent);border:1px solid #4a5259;border-top-color:#616b75;border-radius:3px 0 0 3px;overflow:hidden;z-index:1}.glsr-progress-bar[style="width: 0%;"]{border-width:0}.glsr-progress-bar[style="width: 100%;"]{border-radius:3px}.glsr-progress-background{position:absolute;top:0;left:0;width:100%;height:28px;background-color:#f7f7f7;background-image:linear-gradient(-45deg,#fff 25%,transparent 0,transparent 50%,#fff 0,#fff 75%,transparent 0,transparent);border-radius:3px;box-shadow:inset 0 1px 2px #ccd0d4;border:1px solid #ccc}@media screen and (max-width:782px){.glsr-progress-background{height:31px}}.glsr-progress span{position:absolute;left:0;top:0;line-height:26px;color:#555;padding:0 6px}@media screen and (max-width:782px){.glsr-progress span{line-height:29px}}.glsr-progress-bar>span{color:#fff;text-shadow:0 -1px 1px #4a5259,1px 0 1px #4a5259,0 1px 1px #4a5259,-1px 0 1px #4a5259}@-webkit-keyframes glsr-progress-bar{0%{background-position:0 0}to{background-position:40px 0}}@keyframes glsr-progress-bar{0%{background-position:0 0}to{background-position:40px 0}}.glsr-progress .glsr-progress-bar{background-color:#681b98;border-color:#681b98 #591782 #591782}.glsr-progress .glsr-progress-bar>span{text-shadow:0 -1px 1px #591782,1px 0 1px #591782,0 1px 1px #591782,-1px 0 1px #591782}.star-rating .glsr-star{width:16px;font-size:16px;line-height:20px;color:#555}select[data-glsr-track=minimal]{border-color:#ffb900!important;color:#e6a700!important}select[data-glsr-track=minimal]:focus{box-shadow:0 0 0 1px #ffb900}select[data-glsr-track=all]{border-color:#dc3232!important;color:#dc3232!important}select[data-glsr-track=all]:focus{box-shadow:0 0 0 1px #dc3232}td.glsr-string-td1{position:relative;padding-bottom:2em}td.glsr-string-td1 .row-actions{position:absolute;bottom:10px;z-index:1}td.glsr-string-td2 input[type=text]:last-of-type{margin-bottom:0}td.glsr-string-td2 .description{display:block;padding-top:.5em}.is-invalid td.glsr-string-td2 .description{color:#dc3232}.mobile td.glsr-string-td1 .row-actions,.no-js td.glsr-string-td1 .row-actions,td.glsr-string-td1 .row-actions.visible,tr:hover td.glsr-string-td1 .row-actions{left:10px}.is-invalid td.glsr-string-td1,.is-invalid td.glsr-string-td1>div,.is-invalid td.glsr-string-td2,.is-invalid td.glsr-string-td2>div{position:relative}.is-invalid td.glsr-string-td1>button,.is-invalid td.glsr-string-td1>div,.is-invalid td.glsr-string-td2>button,.is-invalid td.glsr-string-td2>div{z-index:1}.is-invalid td.glsr-string-td1:after,.is-invalid td.glsr-string-td2:after{display:block;position:absolute;content:"";top:-1px;right:-1px;bottom:-1px;left:-1px;background:rgba(220,50,50,.06);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0}.is-invalid td.glsr-string-td1:after{background:rgba(220,50,50,.08)}.is-invalid td.glsr-string-td2 input[type=text],.is-invalid td.glsr-string-td2 textarea{border-color:#e2cbcb}@media screen and (max-width:782px){.post-type-site-review .wp-list-table .is-expanded.is-invalid td:not(.hidden){overflow:unset}}@media screen and (max-width:720px){h2 a.glsr-nav-tab,h2 a.glsr-nav-tab.nav-tab-active:hover{transition-property:background,color;border-bottom:1px solid #ccc;margin:10px 10px 0 0}.wrap h2.glsr-nav-tab-wrapper{border-bottom:0}}.glsr-card{max-width:800px;box-sizing:border-box}.glsr-card-result{border:1px solid #ccd0d4;background-color:#f6fbfd;padding:0 1em;margin:1em 0}.glsr-card ol{list-style:decimal;margin-left:1.5em}.glsr-card ul{list-style:disc;margin-left:1.5em}.glsr-card h2{margin-top:0;text-align:left}.glsr-heading{color:#000;font-size:14px;font-weight:600}.glsr-card.postbox{padding:0;margin-bottom:0}.glsr-card.postbox:not(:last-child){border-bottom:none}.glsr-card.postbox.closed:last-child{border-bottom:1px solid #ccd0d4}.glsr-card .components-notice{margin:0}.glsr-card .components-notice.is-info{background-color:rgba(231,245,254,.75)}.glsr-card h3.glsr-card-heading{border-top:1px solid #ccd0d4;color:inherit;font-size:inherit;font-weight:600;line-height:inherit;margin:0}.glsr-card h3.glsr-card-heading:first-child{border-top:none}.glsr-accordion-trigger{background:#fff;border:0;color:#32373c;cursor:pointer;display:flex;font-weight:400;margin:0;padding:1em 3.5em 1em 1.5em;min-height:46px;position:relative;text-align:left;width:100%;align-items:center;justify-content:space-between;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.glsr-accordion-trigger:active,.glsr-accordion-trigger:hover{background:#f8f9f9}.glsr-accordion-trigger:focus{color:#191e23;border:none;box-shadow:none;outline-offset:-1px;outline:2px solid #0071a1;background-color:#f8f9f9;z-index:1}.glsr-accordion-trigger .title{pointer-events:none;font-weight:600;font-size:16px;flex-grow:1}.glsr-accordion-trigger .icon{border:solid #555d66;border-width:0 2px 2px 0;height:.5rem;pointer-events:none;position:absolute;right:1.5em;top:50%;transform:translateY(-70%) rotate(45deg);width:.5rem}.glsr-accordion-trigger[aria-expanded=true] .icon{transform:translateY(-30%) rotate(-135deg)}.glsr-accordion-trigger .badge{padding:.1rem .5rem .15rem;color:#32373c;font-weight:500;margin-left:.5rem;border:1px solid #bfe7f3}.glsr-accordion-trigger .badge.important{border:1px solid #dc3232}@media screen and (max-width:782px){.glsr-accordion-trigger{align-items:flex-start;flex-direction:column}.glsr-accordion-trigger .badge{margin:1em 0 0}}.glsr-card.postbox .inside{border-bottom:none;border-top:1px solid #ccd0d4;margin:0;padding:1em 1.5em}.glsr-card.postbox .inside>:not(h2):first-child{margin-top:.5em}.glsr-card.postbox .inside>:last-child{margin-bottom:.5em!important}.glsr-card p.submit{margin:0}.glsr-card code,.glsr-card pre{word-spacing:normal;word-break:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}.glsr-card dd{margin:1em 0}.glsr-card dt{font-weight:600;margin:1em 0}.glsr-card code a{text-decoration:none}.glsr-float-left{float:left;padding-right:.25em}.glsr-code[readonly]{width:100%;font-family:"Operator Mono","Fira Code",monaco,monospace;font-weight:300;white-space:pre;-webkit-font-smoothing:antialiased!important}.glsr-code-large{min-height:60vh}@media only screen and (max-width:782px){.glsr-card{max-width:inherit}}tr.glsr-setting-field td .inline br{display:none}tr.glsr-setting-field td label:after{content:"";margin-right:1em}.glsr-setting-field .button{margin-top:6px}.glsr-notice-inline{background:hsla(0,0%,100%,.65);color:#555;padding:4px 10px 10px;margin:10px 0 0!important}.glsr-notice-inline p{padding:0!important}.glsr-setting-field{margin:1em 0;line-height:1.5}.glsr-setting-field small code{font-size:inherit;padding:0 3px 1px}.glsr-setting-field>label{margin-right:3px}@media screen and (max-width:782px){.glsr-setting-field>label+input.small-text{margin-left:0}}.glsr-setting-field>ul{margin:0}.glsr-setting-field>ul li{margin-bottom:2px}.glsr-setting-field textarea.code,.post-type-site-review .code,.post-type-site-review code{font-family:"Operator Mono","Fira Code",monaco,monospace}.glsr-hidden{display:none}.glsr-search-box,.glsr-strings-table{position:relative;max-width:800px}.glsr-search-box *,.glsr-strings-table *{box-sizing:border-box}.glsr-search-box,.glsr-search-multibox{position:relative;margin:1em 0}.glsr-search-box.is-active .spinner,.glsr-search-multibox.is-active .spinner{visibility:visible}.glsr-search-box.is-active input[type=search]::-webkit-search-cancel-button,.glsr-search-multibox.is-active input[type=search]::-webkit-search-cancel-button{display:none!important}.glsr-spinner{visibility:hidden;position:absolute;top:5px;right:5px;height:20px;width:20px;background-color:#fff;z-index:5}.glsr-spinner .spinner{margin:0}.loading-content .glsr-spinner{visibility:visible}.glsr-search-input{position:relative;width:100%;font-weight:300;line-height:1.5;padding:3px 5px;margin:0;z-index:2}.site-review_page_settings .glsr-search-input{height:32px;font-size:16px}.glsr-search-input:focus{z-index:20}.glsr-search-results{position:absolute;top:calc(100% - 4px);padding-top:4px;left:0;width:100%;max-height:315px;overflow-x:scroll;-webkit-overflow-scrolling:touch;border:1px solid #7e8993;border-top:none;box-shadow:0 1px 1px rgba(0,0,0,.04);background-color:#fff;box-sizing:border-box;border-radius:0 0 4px 4px;z-index:3}.glsr-search-results:not(.is-active){display:none}.glsr-search-results:before{display:block;background:#fff;border-left:1px solid #7e8993;border-right:1px solid #7e8993;box-sizing:border-box;content:"";height:4px;position:absolute;top:0;left:-1px;right:-1px}.glsr-search-results>div,.glsr-search-results>span{position:relative;display:block;box-sizing:border-box;height:32px;line-height:32px;text-overflow:ellipsis;white-space:nowrap;padding:0 10px;margin-top:-1px;overflow:hidden}.glsr-search-results>div{background-color:#f6fbfd}.glsr-search-results>span:active,.glsr-search-results>span:focus,.glsr-search-results>span:hover{color:#fff;background-color:#00a0d2;cursor:pointer;outline:none}.glsr-search-box-wrap{position:relative}.glsr-strings-table{transition:opacity .2s linear}.glsr-focus .glsr-strings-table{opacity:.2;pointer-events:none}.glsr-string-td1,.glsr-string-td2{border-top:none;padding:13px 15px}.glsr-string-td1{max-width:375px;border-right:1px solid #ccd0d4;vertical-align:top}.glsr-string-td2{width:60%;max-width:375px}.glsr-strings-table p:not(.row-actions){font-size:14px;font-weight:400;line-height:1.3;color:#000}.glsr-strings-table p.row-actions{margin:0}.glsr-strings-table textarea{display:block;width:100%;margin:0}.glsr-strings-table input[type=text]{display:block;width:100%;margin:0 0 5px}.glsr-strings-table input[type=text]:active,.glsr-strings-table input[type=text]:focus{position:relative}.glsr-string-tr:last-child .glsr-string-td2,.glsr-string-tr:not(.is-expanded):last-child .glsr-string-td1{border-bottom:none}@media screen and (max-width:782px){.glsr-search-results>span{padding:0 10px}.glsr-string-td1{max-width:none;border-right:none}.glsr-string-td2{max-width:none;padding:13px 15px!important}.glsr-spinner{right:10px}}.glsr-string-tr.ui-sortable-helper{opacity:.8;display:table;box-shadow:0 1px 2px rgba(0,0,0,.1)}.ui-sortable .glsr-string-tr:hover{cursor:move}@media screen and (min-width:783px){.ui-sortable-placeholder+.glsr-string-tr .glsr-string-td2{border-top:1px solid #f1f1f1}}.ui-sortable-helper .glsr-string-td1{border-left:1px solid #999}.ui-sortable-helper .glsr-string-td1,.ui-sortable-helper .glsr-string-td2{border-top:1px solid #999!important;border-bottom:1px solid #999!important}.ui-sortable-helper .glsr-string-td2{border-right:1px solid #999}@media screen and (max-width:782px){.ui-sortable-helper .glsr-string-td1{border:1px solid #999}.ui-sortable-helper.is-expanded .glsr-string-td1{border-bottom:none!important}.ui-sortable-helper.is-expanded .glsr-string-td2{border:1px solid #999;border-top-color:#f1f1f1!important}}.glsr-search-multibox,.glsr-search-multibox-entries{display:flex;margin:0;position:relative}.glsr-search-multibox-entries{background-color:#fff;border-radius:4px;border:1px solid #7e8993;box-shadow:0 0 0 transparent;color:#32373c;flex-direction:column;width:100%;z-index:2}.glsr-search-multibox-entries:focus-within{border-color:#007cba;box-shadow:0 0 0 1px #007cba;outline:2px solid transparent;z-index:20}.glsr-search-multibox .glsr-selected-entries{display:flex;flex-wrap:wrap;padding-right:6px}.glsr-search-multibox .glsr-selected-entries>span{align-items:center;background:#f3f5f6;border-radius:3px;box-sizing:border-box;display:flex;font-size:11px;font-style:normal;height:24px;line-height:1;margin:6px 0 0 6px;padding:0 10px 0 30px;position:relative}.glsr-search-multibox .glsr-selected-entries a{color:inherit;pointer-events:none}.glsr-search-multibox .glsr-remove-button{left:5px}.glsr-search-multibox .glsr-remove-icon:before{color:#72777c}.glsr-search-multibox input[type=search].glsr-search-input{border:none;margin:0;background:transparent;width:auto;flex-grow:1}.glsr-search-multibox input[type=search].glsr-search-input:focus{outline:none;box-shadow:none}.glsr-search-multibox .glsr-spinner{top:auto;bottom:5px;right:7px}@media screen and (max-width:782px){.glsr-search-multibox .glsr-selected-entries>span{margin:8px 0 0 8px;font-size:14px;height:32px;padding:8px 10px 8px 30px}.glsr-search-multibox .glsr-spinner{bottom:10px;right:10px}}.glsr-status{max-width:750px}.glsr-status th.column-primary{width:50%}.glsr-status td.column-primary{position:relative;font-size:14px!important;font-weight:600}.glsr-status td.column-primary span{font-weight:400}.glsr-status .toggle-row{top:0}.glsr-status .toggle-row:before{top:6px}.glsr-status tfoot td.glsr-radio-column,.glsr-status thead td.glsr-radio-column{color:#82878c;text-align:center;padding-left:4px}@media screen and (max-width:782px){.glsr-status th input[type=radio]{margin-bottom:8px}.glsr-status tfoot td.glsr-radio-column,.glsr-status thead td.glsr-radio-column{padding-top:4px;padding-left:9px}}.wrap h2.glsr-nav-tab-wrapper{padding-top:0;margin-top:9px}.glsr-nav-view{margin-top:20px}.glsr-subsubsub{float:none;text-align:left}.glsr-screenshot{border:1px solid #ccd0d4;box-shadow:0 1px 1px rgba(0,0,0,.04);box-sizing:border-box}.glsr-welcome .badge{position:absolute;top:1em;right:0;padding:.25rem .5rem;font-weight:500;font-size:16px;text-rendering:optimizeLegibility;background-color:#72777c;color:#fff;border-radius:5px}@media only screen and (max-width:500px){.glsr-welcome .badge{display:inline-block;position:relative;top:auto}}.glsr-welcome.about-wrap{margin-top:40px}.glsr-welcome.about-wrap .inside li,.glsr-welcome.about-wrap .inside p{font-size:16px}.glsr-welcome .glsr-about-text{margin:1em 0}.glsr-welcome-banner{margin:2em 0 0}.glsr-welcome .about-buttons{display:flex;flex-wrap:wrap;margin:1.5em 0}.glsr-welcome .components-button{margin:0 .5em .5em 0}.glsr-welcome .dashicon:before{font:normal 18px dashicons;margin-right:6px;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glsr-welcome .glsr-nav-view{margin-top:0}.glsr-welcome ul:not(.glsr-flex-row){list-style:circle;padding-left:20px}.glsr-flex-row{display:flex;flex-direction:row;flex-wrap:wrap;margin-left:-20px;margin-right:-20px}.glsr-column{width:100%;max-width:100%;box-sizing:border-box;padding-left:20px;padding-right:20px}@media (min-width:601px){.glsr-has-2-columns .glsr-column,.glsr-has-3-columns .glsr-column{max-width:50%}}@media (min-width:783px){.glsr-has-3-columns .glsr-column{max-width:33.33%}}.glsr-metabox-table .star-rating .star,.post-type-site-review .star-rating .star{width:16px;font-size:16px;line-height:20px;color:#555}.post-type-site-review .star-rating .star{margin-top:-2px}.post-type-site-review .hide-column-tog+.pinned-icon+svg,.post-type-site-review .wp-list-table .approve,.post-type-site-review .wp-list-table .status-pending .unapprove{display:none}.post-type-site-review .wp-list-table .spam .approve,.post-type-site-review .wp-list-table .status-pending .approve,.post-type-site-review .wp-list-table .trash .approve{display:inline}.post-type-site-review .wp-list-table .approve a{color:#006505}.post-type-site-review .wp-list-table .approve a:hover{color:#007f06}.post-type-site-review .wp-list-table .unapprove a{color:#d98500}.post-type-site-review .wp-list-table .unapprove a:hover{color:#f39500}.post-type-site-review .wp-list-table th.column-rating{width:100px}.post-type-site-review .wp-list-table td.column-is_pinned i.pin-review{align-items:center;cursor:pointer;display:flex;float:none;justify-content:center;margin:0;transition:none}.post-type-site-review .wp-list-table td.column-is_pinned i{line-height:24px;text-indent:-3px}.post-type-site-review .wp-list-table td.column-is_pinned i:not(.pinned){color:rgba(85,85,85,.2)}.post-type-site-review .wp-list-table :not(.status-pending)+tr.status-pending th.check-column{box-shadow:inset 0 1px 0 rgba(0,0,0,.07),inset 0 -1px 0 rgba(0,0,0,.07)}.post-type-site-review .wp-list-table :not(.status-pending)+tr.status-pending td:nth-child(2){box-shadow:inset 0 1px 0 rgba(0,0,0,.07)}.post-type-site-review .wp-list-table :not(.status-pending)+tr.status-pending:not(.is-expanded) td:nth-child(2){box-shadow:inset 0 1px 0 rgba(0,0,0,.07),inset 0 -1px 0 rgba(0,0,0,.07)}.post-type-site-review .wp-list-table tr.status-pending.is-expanded td:last-child,.post-type-site-review .wp-list-table tr.status-pending:not(.is-expanded) td:nth-child(2),.post-type-site-review .wp-list-table tr.status-pending th.check-column{box-shadow:inset 0 -1px 0 rgba(0,0,0,.07)}.post-type-site-review .wp-list-table tr.status-pending td,.post-type-site-review .wp-list-table tr.status-pending th.check-column{background-color:#fef7f1}.post-type-site-review .wp-list-table tr.status-pending th.check-column{position:relative;border-left:4px solid #d54e21;z-index:1}.post-type-site-review .wp-list-table tr.status-pending th.check-column input{margin-left:4px}@media screen and (min-width:783px){.post-type-site-review .wp-list-table :not(.status-pending)+tr.status-pending td{box-shadow:inset 0 1px 0 rgba(0,0,0,.07),inset 0 -1px 0 rgba(0,0,0,.07)}.post-type-site-review .wp-list-table tr.status-pending td{box-shadow:inset 0 -1px 0 rgba(0,0,0,.07)}.post-type-site-review .wp-list-table th.column-assigned_posts,.post-type-site-review .wp-list-table th.column-assigned_users,.post-type-site-review .wp-list-table th.column-ip_address{white-space:nowrap}.post-type-site-review .wp-list-table th.column-assigned_posts,.post-type-site-review .wp-list-table th.column-assigned_users,.post-type-site-review .wp-list-table th.column-name,.post-type-site-review .wp-list-table th.column-taxonomy-site-review-category,.post-type-site-review .wp-list-table th.column-type{width:120px}.post-type-site-review .wp-list-table th.column-is_pinned{width:45px}.post-type-site-review .wp-list-table th.column-is_pinned span.pinned-icon span{display:none}.post-type-site-review .wp-list-table th.column-is_pinned span.pinned-icon:after{display:inline-block;position:relative;content:"\F537";font:normal 20px/1 dashicons;speak:none;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:16px;height:20px;line-height:22px;font-size:16px;text-align:center}.post-type-site-review .wp-list-table th.column-is_pinned .sorting-indicator{margin-left:3px}.post-type-site-review .wp-list-table td.column-is_pinned{padding:8px 6px}.post-type-site-review .wp-list-table td.column-is_pinned i{text-indent:0}}#available-widgets [class*=site-reviews] .widget-title:before{content:"\F459"}.glsr-no-margins{margin:0!important}::placeholder{color:#72777c!important;font-size:inherit!important;line-height:inherit!important;opacity:1}::-webkit-input-placeholder{color:#72777c!important;font-size:inherit!important;line-height:inherit!important;opacity:1}:-moz-placeholder,::-moz-placeholder{color:#72777c!important;font-size:inherit!important;line-height:inherit!important;opacity:1}:-ms-input-placeholder{color:#72777c!important;font-size:inherit!important;line-height:inherit!important;opacity:1}
|
languages/site-reviews-en_US.po
CHANGED
@@ -1576,7 +1576,7 @@ msgctxt "admin-text"
|
|
1576 |
msgid "Submitted"
|
1577 |
msgstr "Submitted"
|
1578 |
|
1579 |
-
#: plugin/Controllers/ListTableController.php:101, plugin/Controllers/TranslationController.php:
|
1580 |
msgctxt "admin-text"
|
1581 |
msgid "Approve"
|
1582 |
msgstr "Approve"
|
@@ -1869,32 +1869,32 @@ msgid_plural "%s reviews restored from the Trash."
|
|
1869 |
msgstr[0] "%s review restored from the Trash."
|
1870 |
msgstr[1] "%s reviews restored from the Trash."
|
1871 |
|
1872 |
-
#: plugin/Controllers/TranslationController.php:
|
1873 |
msgctxt "admin-text"
|
1874 |
msgid "Unapproved"
|
1875 |
msgstr "Unapproved"
|
1876 |
|
1877 |
-
#: plugin/Controllers/TranslationController.php:
|
1878 |
msgctxt "admin-text"
|
1879 |
msgid "Approved"
|
1880 |
msgstr "Approved"
|
1881 |
|
1882 |
-
#: plugin/Controllers/TranslationController.php:
|
1883 |
msgctxt "admin-text"
|
1884 |
msgid "Privately Approved"
|
1885 |
msgstr "Privately Approved"
|
1886 |
|
1887 |
-
#: plugin/Controllers/TranslationController.php:
|
1888 |
msgctxt "admin-text"
|
1889 |
msgid "Approve on:"
|
1890 |
msgstr "Approve on:"
|
1891 |
|
1892 |
-
#: plugin/Controllers/TranslationController.php:
|
1893 |
msgctxt "admin-text"
|
1894 |
msgid "Approved on:"
|
1895 |
msgstr "Approved on:"
|
1896 |
|
1897 |
-
#: plugin/Controllers/TranslationController.php:
|
1898 |
msgctxt "admin-text"
|
1899 |
msgid "Save as Unapproved"
|
1900 |
msgstr "Save as Unapproved"
|
1576 |
msgid "Submitted"
|
1577 |
msgstr "Submitted"
|
1578 |
|
1579 |
+
#: plugin/Controllers/ListTableController.php:101, plugin/Controllers/TranslationController.php:197, plugin/Defaults/PostStatusLabelsDefaults.php:18
|
1580 |
msgctxt "admin-text"
|
1581 |
msgid "Approve"
|
1582 |
msgstr "Approve"
|
1869 |
msgstr[0] "%s review restored from the Trash."
|
1870 |
msgstr[1] "%s reviews restored from the Trash."
|
1871 |
|
1872 |
+
#: plugin/Controllers/TranslationController.php:132, plugin/Controllers/TranslationController.php:167, plugin/Defaults/PostStatusLabelsDefaults.php:15, plugin/Defaults/PostStatusLabelsDefaults.php:16
|
1873 |
msgctxt "admin-text"
|
1874 |
msgid "Unapproved"
|
1875 |
msgstr "Unapproved"
|
1876 |
|
1877 |
+
#: plugin/Controllers/TranslationController.php:166, plugin/Controllers/TranslationController.php:198, plugin/Defaults/PostStatusLabelsDefaults.php:19
|
1878 |
msgctxt "admin-text"
|
1879 |
msgid "Approved"
|
1880 |
msgstr "Approved"
|
1881 |
|
1882 |
+
#: plugin/Controllers/TranslationController.php:196, plugin/Defaults/PostStatusLabelsDefaults.php:17
|
1883 |
msgctxt "admin-text"
|
1884 |
msgid "Privately Approved"
|
1885 |
msgstr "Privately Approved"
|
1886 |
|
1887 |
+
#: plugin/Controllers/TranslationController.php:199
|
1888 |
msgctxt "admin-text"
|
1889 |
msgid "Approve on:"
|
1890 |
msgstr "Approve on:"
|
1891 |
|
1892 |
+
#: plugin/Controllers/TranslationController.php:200
|
1893 |
msgctxt "admin-text"
|
1894 |
msgid "Approved on:"
|
1895 |
msgstr "Approved on:"
|
1896 |
|
1897 |
+
#: plugin/Controllers/TranslationController.php:201, plugin/Defaults/PostStatusLabelsDefaults.php:20
|
1898 |
msgctxt "admin-text"
|
1899 |
msgid "Save as Unapproved"
|
1900 |
msgstr "Save as Unapproved"
|
languages/site-reviews.pot
CHANGED
@@ -1209,7 +1209,7 @@ msgctxt "admin-text"
|
|
1209 |
msgid "Submitted"
|
1210 |
msgstr ""
|
1211 |
|
1212 |
-
#: plugin/Controllers/ListTableController.php:101, plugin/Controllers/TranslationController.php:
|
1213 |
msgctxt "admin-text"
|
1214 |
msgid "Approve"
|
1215 |
msgstr ""
|
@@ -1499,32 +1499,32 @@ msgid_plural "%s reviews restored from the Trash."
|
|
1499 |
msgstr[0] ""
|
1500 |
msgstr[1] ""
|
1501 |
|
1502 |
-
#: plugin/Controllers/TranslationController.php:
|
1503 |
msgctxt "admin-text"
|
1504 |
msgid "Unapproved"
|
1505 |
msgstr ""
|
1506 |
|
1507 |
-
#: plugin/Controllers/TranslationController.php:
|
1508 |
msgctxt "admin-text"
|
1509 |
msgid "Approved"
|
1510 |
msgstr ""
|
1511 |
|
1512 |
-
#: plugin/Controllers/TranslationController.php:
|
1513 |
msgctxt "admin-text"
|
1514 |
msgid "Privately Approved"
|
1515 |
msgstr ""
|
1516 |
|
1517 |
-
#: plugin/Controllers/TranslationController.php:
|
1518 |
msgctxt "admin-text"
|
1519 |
msgid "Approve on:"
|
1520 |
msgstr ""
|
1521 |
|
1522 |
-
#: plugin/Controllers/TranslationController.php:
|
1523 |
msgctxt "admin-text"
|
1524 |
msgid "Approved on:"
|
1525 |
msgstr ""
|
1526 |
|
1527 |
-
#: plugin/Controllers/TranslationController.php:
|
1528 |
msgctxt "admin-text"
|
1529 |
msgid "Save as Unapproved"
|
1530 |
msgstr ""
|
1209 |
msgid "Submitted"
|
1210 |
msgstr ""
|
1211 |
|
1212 |
+
#: plugin/Controllers/ListTableController.php:101, plugin/Controllers/TranslationController.php:197, plugin/Defaults/PostStatusLabelsDefaults.php:18
|
1213 |
msgctxt "admin-text"
|
1214 |
msgid "Approve"
|
1215 |
msgstr ""
|
1499 |
msgstr[0] ""
|
1500 |
msgstr[1] ""
|
1501 |
|
1502 |
+
#: plugin/Controllers/TranslationController.php:132, plugin/Controllers/TranslationController.php:167, plugin/Defaults/PostStatusLabelsDefaults.php:15, plugin/Defaults/PostStatusLabelsDefaults.php:16
|
1503 |
msgctxt "admin-text"
|
1504 |
msgid "Unapproved"
|
1505 |
msgstr ""
|
1506 |
|
1507 |
+
#: plugin/Controllers/TranslationController.php:166, plugin/Controllers/TranslationController.php:198, plugin/Defaults/PostStatusLabelsDefaults.php:19
|
1508 |
msgctxt "admin-text"
|
1509 |
msgid "Approved"
|
1510 |
msgstr ""
|
1511 |
|
1512 |
+
#: plugin/Controllers/TranslationController.php:196, plugin/Defaults/PostStatusLabelsDefaults.php:17
|
1513 |
msgctxt "admin-text"
|
1514 |
msgid "Privately Approved"
|
1515 |
msgstr ""
|
1516 |
|
1517 |
+
#: plugin/Controllers/TranslationController.php:199
|
1518 |
msgctxt "admin-text"
|
1519 |
msgid "Approve on:"
|
1520 |
msgstr ""
|
1521 |
|
1522 |
+
#: plugin/Controllers/TranslationController.php:200
|
1523 |
msgctxt "admin-text"
|
1524 |
msgid "Approved on:"
|
1525 |
msgstr ""
|
1526 |
|
1527 |
+
#: plugin/Controllers/TranslationController.php:201, plugin/Defaults/PostStatusLabelsDefaults.php:20
|
1528 |
msgctxt "admin-text"
|
1529 |
msgid "Save as Unapproved"
|
1530 |
msgstr ""
|
plugin/Controllers/TranslationController.php
CHANGED
@@ -38,6 +38,17 @@ class TranslationController
|
|
38 |
return $messages;
|
39 |
}
|
40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
/**
|
42 |
* @param string $translation
|
43 |
* @param string $text
|
38 |
return $messages;
|
39 |
}
|
40 |
|
41 |
+
/**
|
42 |
+
* @param string $translation
|
43 |
+
* @param string $text
|
44 |
+
* @return string
|
45 |
+
* @filter gettext_default
|
46 |
+
*/
|
47 |
+
public function filterEnglishTranslation($translation, $text)
|
48 |
+
{
|
49 |
+
return $text;
|
50 |
+
}
|
51 |
+
|
52 |
/**
|
53 |
* @param string $translation
|
54 |
* @param string $text
|
plugin/Database/Cache.php
CHANGED
@@ -2,6 +2,8 @@
|
|
2 |
|
3 |
namespace GeminiLabs\SiteReviews\Database;
|
4 |
|
|
|
|
|
5 |
class Cache
|
6 |
{
|
7 |
/**
|
@@ -78,6 +80,21 @@ class Cache
|
|
78 |
return $test;
|
79 |
}
|
80 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
/**
|
82 |
* @param string $key
|
83 |
* @param string $group
|
2 |
|
3 |
namespace GeminiLabs\SiteReviews\Database;
|
4 |
|
5 |
+
use GeminiLabs\SiteReviews\Controllers\TranslationController;
|
6 |
+
|
7 |
class Cache
|
8 |
{
|
9 |
/**
|
80 |
return $test;
|
81 |
}
|
82 |
|
83 |
+
|
84 |
+
/**
|
85 |
+
* @return array
|
86 |
+
*/
|
87 |
+
public function getSystemInfo()
|
88 |
+
{
|
89 |
+
if (false === ($data = get_transient(glsr()->prefix.'system_info'))) {
|
90 |
+
add_filter('gettext_default', [glsr(TranslationController::class), 'filterEnglishTranslation'], 10, 2);
|
91 |
+
$data = \WP_Debug_Data::debug_data(); // get the WordPress debug data in English
|
92 |
+
remove_filter('gettext_default', [glsr(TranslationController::class), 'filterEnglishTranslation'], 10);
|
93 |
+
set_transient(glsr()->prefix.'system_info', $data, 12 * HOUR_IN_SECONDS);
|
94 |
+
}
|
95 |
+
return $data;
|
96 |
+
}
|
97 |
+
|
98 |
/**
|
99 |
* @param string $key
|
100 |
* @param string $group
|
plugin/Modules/SystemInfo.php
CHANGED
@@ -321,7 +321,7 @@ class SystemInfo
|
|
321 |
*/
|
322 |
public function data()
|
323 |
{
|
324 |
-
$data =
|
325 |
array_walk($data, function (&$section) {
|
326 |
$fields = Arr::consolidate(Arr::get($section, 'fields'));
|
327 |
array_walk($fields, function (&$values) {
|
321 |
*/
|
322 |
public function data()
|
323 |
{
|
324 |
+
$data = glsr(Cache::class)->getSystemInfo();
|
325 |
array_walk($data, function (&$section) {
|
326 |
$fields = Arr::consolidate(Arr::get($section, 'fields'));
|
327 |
array_walk($fields, function (&$values) {
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: reviews, ratings, testimonials, business reviews, product reviews, stars,
|
|
5 |
Tested up to: 5.5
|
6 |
Requires at least: 5.5
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 5.2.
|
9 |
License: GPLv3
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -113,6 +113,11 @@ All documentation can be found in the "Help" page of the plugin. If your questio
|
|
113 |
|
114 |
== Changelog ==
|
115 |
|
|
|
|
|
|
|
|
|
|
|
116 |
= 5.2.1 (2020-11-15) =
|
117 |
|
118 |
- Fixed MariaDB support (removed subqueries from the SQL)
|
5 |
Tested up to: 5.5
|
6 |
Requires at least: 5.5
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 5.2.2
|
9 |
License: GPLv3
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
113 |
|
114 |
== Changelog ==
|
115 |
|
116 |
+
= 5.2.2 (2020-11-17) =
|
117 |
+
|
118 |
+
- Fixed shortcode examples in documentation; Copy/pasting a shortcode example into the classic editor will now paste as plain text instead of as HTML code.
|
119 |
+
- Fixed System Info details to always be in English
|
120 |
+
|
121 |
= 5.2.1 (2020-11-15) =
|
122 |
|
123 |
- Fixed MariaDB support (removed subqueries from the SQL)
|
site-reviews.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
* Plugin Name: Site Reviews
|
8 |
* Plugin URI: https://wordpress.org/plugins/site-reviews
|
9 |
* Description: Receive and display reviews on your website
|
10 |
-
* Version: 5.2.
|
11 |
* Author: Paul Ryley
|
12 |
* Author URI: https://geminilabs.io
|
13 |
* License: GPL2
|
7 |
* Plugin Name: Site Reviews
|
8 |
* Plugin URI: https://wordpress.org/plugins/site-reviews
|
9 |
* Description: Receive and display reviews on your website
|
10 |
+
* Version: 5.2.2
|
11 |
* Author: Paul Ryley
|
12 |
* Author URI: https://geminilabs.io
|
13 |
* License: GPL2
|
uninstall.php
CHANGED
@@ -15,6 +15,9 @@ function glsr_uninstall() {
|
|
15 |
glsr_uninstall_minimal_drop_foreign_keys();
|
16 |
}
|
17 |
delete_option('glsr_activated');
|
|
|
|
|
|
|
18 |
}
|
19 |
|
20 |
function glsr_uninstall_all() {
|
@@ -102,9 +105,7 @@ function glsr_uninstall_minimal() {
|
|
102 |
foreach ($options as $option) {
|
103 |
delete_option($option);
|
104 |
}
|
105 |
-
delete_transient('glsr_cloudflare_ips');
|
106 |
delete_transient('glsr_migrations');
|
107 |
-
delete_transient('glsr_remote_post_test');
|
108 |
$wpdb->query("DELETE FROM {$wpdb->usermeta} WHERE meta_key = '_glsr_notices'");
|
109 |
}
|
110 |
|
15 |
glsr_uninstall_minimal_drop_foreign_keys();
|
16 |
}
|
17 |
delete_option('glsr_activated');
|
18 |
+
delete_transient('glsr_cloudflare_ips');
|
19 |
+
delete_transient('glsr_remote_post_test');
|
20 |
+
delete_transient('glsr_system_info');
|
21 |
}
|
22 |
|
23 |
function glsr_uninstall_all() {
|
105 |
foreach ($options as $option) {
|
106 |
delete_option($option);
|
107 |
}
|
|
|
108 |
delete_transient('glsr_migrations');
|
|
|
109 |
$wpdb->query("DELETE FROM {$wpdb->usermeta} WHERE meta_key = '_glsr_notices'");
|
110 |
}
|
111 |
|
views/pages/documentation/faq/add-review-pagination.php
CHANGED
@@ -9,7 +9,10 @@
|
|
9 |
<p>To paginate your reviews (i.e. split them up into multiple pages), simply use the "Pagination" setting together with the "Review Count" setting in the Editor Block.</p>
|
10 |
<p>If you are using the shortcodes, then use the <code>pagination</code> and <code>count</code> options.</p>
|
11 |
<p>For example, this will paginate reviews to 10 reviews per-page:</p>
|
12 |
-
<
|
|
|
|
|
|
|
13 |
<p>To lean more about the available shortcode options and how to use them, please see the <code><a href="<?= admin_url('edit.php?post_type='.glsr()->post_type.'&page=documentation#tab-shortcodes'); ?>">Documentation > Shortcodes</a></code> page.</p>
|
14 |
</div>
|
15 |
</div>
|
9 |
<p>To paginate your reviews (i.e. split them up into multiple pages), simply use the "Pagination" setting together with the "Review Count" setting in the Editor Block.</p>
|
10 |
<p>If you are using the shortcodes, then use the <code>pagination</code> and <code>count</code> options.</p>
|
11 |
<p>For example, this will paginate reviews to 10 reviews per-page:</p>
|
12 |
+
<div class="shortcode-example">
|
13 |
+
<input type="text" readonly class="code" value='[site_reviews pagination="ajax" count="10"]'>
|
14 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews</span> <span class="attr-name">pagination</span>=<span class="attr-value">"ajax"</span> <span class="attr-name">count</span>=<span class="attr-value">"10"</span><span class="tag">]</span></code></pre>
|
15 |
+
</div>
|
16 |
<p>To lean more about the available shortcode options and how to use them, please see the <code><a href="<?= admin_url('edit.php?post_type='.glsr()->post_type.'&page=documentation#tab-shortcodes'); ?>">Documentation > Shortcodes</a></code> page.</p>
|
17 |
</div>
|
18 |
</div>
|
views/pages/documentation/shortcodes/site_reviews.php
CHANGED
@@ -16,65 +16,101 @@
|
|
16 |
<p>Include the "assigned_posts" option to limit reviews to those assigned posts, pages, or other public post types. Accepted values are a numerical <a href="https://pagely.com/blog/find-post-id-wordpress/">WordPress Post ID</a>, <code>post_id</code> which automatically uses the ID of the current page, or <code>parent_id</code> which automatically uses the ID of the parent page. Separate multiple values with a comma.</p>
|
17 |
<p><span class="required">Important:</span> If you are using this shortcode together with the [site_reviews_summary] shortcode, make sure to set the same option value for both shortcodes.</p>
|
18 |
<p>The default assigned_posts value is: <code>""</code></p>
|
19 |
-
<
|
|
|
|
|
|
|
20 |
|
21 |
<p class="glsr-heading">assigned_terms</p>
|
22 |
<p>Include the "assigned_terms" option to limit reviews to those assigned categories. Accepted values are either a category ID or slug. Separate multiple values with a comma.</p>
|
23 |
<p><span class="required">Important:</span> If you are using this shortcode together with the [site_reviews_summary] shortcode, make sure to set the same option value for both shortcodes.</p>
|
24 |
<p>The default assigned_terms value is: <code>""</code></p>
|
25 |
-
<
|
|
|
|
|
|
|
26 |
|
27 |
<p class="glsr-heading">assigned_users</p>
|
28 |
<p>Include the "assigned_users" option to limit reviews to those assigned users. Accepted values are either a user ID or username. Separate multiple values with a comma.</p>
|
29 |
<p><span class="required">Important:</span> If you are using this shortcode together with the [site_reviews_summary] shortcode, make sure to set the same option value for both shortcodes.</p>
|
30 |
<p>The default assigned_users value is: <code>""</code></p>
|
31 |
-
<
|
|
|
|
|
|
|
32 |
|
33 |
<p class="glsr-heading">class</p>
|
34 |
<p>Include the "class" option to add custom CSS classes to the shortcode.</p>
|
35 |
<p>The default class value is: <code>""</code></p>
|
36 |
-
<
|
|
|
|
|
|
|
37 |
|
38 |
<p class="glsr-heading">display</p>
|
39 |
<p>Include the "display" option to change the number of reviews that are displayed.</p>
|
40 |
<p>The default display value is: <code>"5"</code></p>
|
41 |
-
<
|
|
|
|
|
|
|
42 |
|
43 |
<p class="glsr-heading">fallback</p>
|
44 |
<p>Include the "fallback" option to change the text that is shown when there are no reviews to display. This option will override the default fallback text if the option is enabled in the plugin settings.</p>
|
45 |
<p>The default fallback value is: <code>""</code></p>
|
46 |
-
<
|
|
|
|
|
|
|
47 |
|
48 |
<p class="glsr-heading">hide</p>
|
49 |
<p>Include the "hide" option to hide any specific fields you don't want to show. If all fields are hidden, the shortcode will not be displayed.</p>
|
50 |
<p>The default hide value is: <code>""</code></p>
|
51 |
-
<
|
|
|
|
|
|
|
52 |
|
53 |
<p class="glsr-heading">id</p>
|
54 |
<p>Include the "id" option to add a custom HTML id attribute to the shortcode. This may be useful when using pagination with the ajax option.</p>
|
55 |
<p>The default id value is: <code>""</code></p>
|
56 |
-
<
|
|
|
|
|
|
|
57 |
|
58 |
<p class="glsr-heading">offset</p>
|
59 |
<p>Include the "offset" option to displace or pass over a number of reviews. For example, [site_reviews display=5 offset=2] will show 5 reviews, skipping the first two. It is NOT recommended to use this option with pagination enabled.</p>
|
60 |
<p>The default offset value is: <code>"0"</code></p>
|
61 |
-
<
|
|
|
|
|
|
|
62 |
|
63 |
<p class="glsr-heading">pagination</p>
|
64 |
<p>Include the "pagination" option to display reviews in multiple pages (i.e. Page 1, Page 2, etc.). The value can be "true", "ajax", or "false". The "ajax" value allows you to load the next page of reviews without loading a new page. When using pagination, only one [site_reviews] shortcode can be used on a page at a time.</p>
|
65 |
<p>The default pagination value is: <code>"false"</code></p>
|
66 |
-
<
|
|
|
|
|
|
|
67 |
|
68 |
<p class="glsr-heading">rating</p>
|
69 |
<p>Include the "rating" option to set the <em>minimum</em> star-rating of reviews to display. By default, the shortcode displays all 1-5 star reviews.</p>
|
70 |
<p><span class="required">Important:</span> If you are using this shortcode together with the [site_reviews_summary] shortcode, make sure to set the same option value for both shortcodes.</p>
|
71 |
<p>The default rating value is: <code>"1"</code></p>
|
72 |
-
<
|
|
|
|
|
|
|
73 |
|
74 |
<p class="glsr-heading">schema</p>
|
75 |
<p>Include the "schema" option to enable the aggregate rating and review schema for your reviews in Google. The difference between this and the schema option in the [site_reviews_summary] shortcode is that this one generates both the aggregate ratings schema and the review schema for each individual review that is visible on the page, while the other only generates the aggregate ratings schema.</p>
|
76 |
<p><span class="required">Important:</span> This option should only be used once on a page to avoid duplicate schemas; keep this in mind if you are using more than one [site_reviews] and/or [site_reviews_summary] shortcodes on the same page.</p>
|
77 |
<p>The default schema value is: <code>"false"</code></p>
|
78 |
-
<
|
|
|
|
|
|
|
79 |
</div>
|
80 |
</div>
|
16 |
<p>Include the "assigned_posts" option to limit reviews to those assigned posts, pages, or other public post types. Accepted values are a numerical <a href="https://pagely.com/blog/find-post-id-wordpress/">WordPress Post ID</a>, <code>post_id</code> which automatically uses the ID of the current page, or <code>parent_id</code> which automatically uses the ID of the parent page. Separate multiple values with a comma.</p>
|
17 |
<p><span class="required">Important:</span> If you are using this shortcode together with the [site_reviews_summary] shortcode, make sure to set the same option value for both shortcodes.</p>
|
18 |
<p>The default assigned_posts value is: <code>""</code></p>
|
19 |
+
<div class="shortcode-example">
|
20 |
+
<input type="text" readonly class="code" value='[site_reviews assigned_posts="post_id"]'>
|
21 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews <span class="attr-name">assigned_posts</span>=<span class="attr-value">"post_id"</span><span class="tag">]</span></code></pre>
|
22 |
+
</div>
|
23 |
|
24 |
<p class="glsr-heading">assigned_terms</p>
|
25 |
<p>Include the "assigned_terms" option to limit reviews to those assigned categories. Accepted values are either a category ID or slug. Separate multiple values with a comma.</p>
|
26 |
<p><span class="required">Important:</span> If you are using this shortcode together with the [site_reviews_summary] shortcode, make sure to set the same option value for both shortcodes.</p>
|
27 |
<p>The default assigned_terms value is: <code>""</code></p>
|
28 |
+
<div class="shortcode-example">
|
29 |
+
<input type="text" readonly class="code" value='[site_reviews assigned_terms="13,14"]'>
|
30 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews</span> <span class="attr-name">assigned_terms</span>=<span class="attr-value">"13,14"</span><span class="tag">]</span></code></pre>
|
31 |
+
</div>
|
32 |
|
33 |
<p class="glsr-heading">assigned_users</p>
|
34 |
<p>Include the "assigned_users" option to limit reviews to those assigned users. Accepted values are either a user ID or username. Separate multiple values with a comma.</p>
|
35 |
<p><span class="required">Important:</span> If you are using this shortcode together with the [site_reviews_summary] shortcode, make sure to set the same option value for both shortcodes.</p>
|
36 |
<p>The default assigned_users value is: <code>""</code></p>
|
37 |
+
<div class="shortcode-example">
|
38 |
+
<input type="text" readonly class="code" value='[site_reviews assigned_users="1,2"]'>
|
39 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews</span> <span class="attr-name">assigned_users</span>=<span class="attr-value">"1,2"</span><span class="tag">]</span></code></pre>
|
40 |
+
</div>
|
41 |
|
42 |
<p class="glsr-heading">class</p>
|
43 |
<p>Include the "class" option to add custom CSS classes to the shortcode.</p>
|
44 |
<p>The default class value is: <code>""</code></p>
|
45 |
+
<div class="shortcode-example">
|
46 |
+
<input type="text" readonly class="code" value='[site_reviews class="my-reviews full-width"]'>
|
47 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews</span> <span class="attr-name">class</span>=<span class="attr-value">"my-reviews full-width"</span><span class="tag">]</span></code></pre>
|
48 |
+
</div>
|
49 |
|
50 |
<p class="glsr-heading">display</p>
|
51 |
<p>Include the "display" option to change the number of reviews that are displayed.</p>
|
52 |
<p>The default display value is: <code>"5"</code></p>
|
53 |
+
<div class="shortcode-example">
|
54 |
+
<input type="text" readonly class="code" value='[site_reviews display="20"]'>
|
55 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews</span> <span class="attr-name">display</span>=<span class="attr-value">"20"</span><span class="tag">]</span></code></pre>
|
56 |
+
</div>
|
57 |
|
58 |
<p class="glsr-heading">fallback</p>
|
59 |
<p>Include the "fallback" option to change the text that is shown when there are no reviews to display. This option will override the default fallback text if the option is enabled in the plugin settings.</p>
|
60 |
<p>The default fallback value is: <code>""</code></p>
|
61 |
+
<div class="shortcode-example">
|
62 |
+
<input type="text" readonly class="code" value='[site_reviews fallback="No reviews found."]'>
|
63 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews</span> <span class="attr-name">fallback</span>=<span class="attr-value">"No reviews found."</span><span class="tag">]</span></code></pre>
|
64 |
+
</div>
|
65 |
|
66 |
<p class="glsr-heading">hide</p>
|
67 |
<p>Include the "hide" option to hide any specific fields you don't want to show. If all fields are hidden, the shortcode will not be displayed.</p>
|
68 |
<p>The default hide value is: <code>""</code></p>
|
69 |
+
<div class="shortcode-example">
|
70 |
+
<input type="text" readonly class="code" value='[site_reviews hide="assigned_links,author,avatar,content,date,rating,response,title"]'>
|
71 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews</span> <span class="attr-name">hide</span>=<span class="attr-value">"assigned_links,author,avatar,content,date,rating,response,title"</span><span class="tag">]</span></code></pre>
|
72 |
+
</div>
|
73 |
|
74 |
<p class="glsr-heading">id</p>
|
75 |
<p>Include the "id" option to add a custom HTML id attribute to the shortcode. This may be useful when using pagination with the ajax option.</p>
|
76 |
<p>The default id value is: <code>""</code></p>
|
77 |
+
<div class="shortcode-example">
|
78 |
+
<input type="text" readonly class="code" value='[site_reviews id="type-some-random-text-here"]'>
|
79 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews</span> <span class="attr-name">id</span>=<span class="attr-value">"type-some-random-text-here"</span><span class="tag">]</span></code></pre>
|
80 |
+
</div>
|
81 |
|
82 |
<p class="glsr-heading">offset</p>
|
83 |
<p>Include the "offset" option to displace or pass over a number of reviews. For example, [site_reviews display=5 offset=2] will show 5 reviews, skipping the first two. It is NOT recommended to use this option with pagination enabled.</p>
|
84 |
<p>The default offset value is: <code>"0"</code></p>
|
85 |
+
<div class="shortcode-example">
|
86 |
+
<input type="text" readonly class="code" value='[site_reviews offset="1"]'>
|
87 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews</span> <span class="attr-name">offset</span>=<span class="attr-value">"1"</span><span class="tag">]</span></code></pre>
|
88 |
+
</div>
|
89 |
|
90 |
<p class="glsr-heading">pagination</p>
|
91 |
<p>Include the "pagination" option to display reviews in multiple pages (i.e. Page 1, Page 2, etc.). The value can be "true", "ajax", or "false". The "ajax" value allows you to load the next page of reviews without loading a new page. When using pagination, only one [site_reviews] shortcode can be used on a page at a time.</p>
|
92 |
<p>The default pagination value is: <code>"false"</code></p>
|
93 |
+
<div class="shortcode-example">
|
94 |
+
<input type="text" readonly class="code" value='[site_reviews pagination="ajax"]'>
|
95 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews</span> <span class="attr-name">pagination</span>=<span class="attr-value">"ajax"</span><span class="tag">]</span></code></pre>
|
96 |
+
</div>
|
97 |
|
98 |
<p class="glsr-heading">rating</p>
|
99 |
<p>Include the "rating" option to set the <em>minimum</em> star-rating of reviews to display. By default, the shortcode displays all 1-5 star reviews.</p>
|
100 |
<p><span class="required">Important:</span> If you are using this shortcode together with the [site_reviews_summary] shortcode, make sure to set the same option value for both shortcodes.</p>
|
101 |
<p>The default rating value is: <code>"1"</code></p>
|
102 |
+
<div class="shortcode-example">
|
103 |
+
<input type="text" readonly class="code" value='[site_reviews rating="4"]'>
|
104 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews</span> <span class="attr-name">rating</span>=<span class="attr-value">"4"</span><span class="tag">]</span></code></pre>
|
105 |
+
</div>
|
106 |
|
107 |
<p class="glsr-heading">schema</p>
|
108 |
<p>Include the "schema" option to enable the aggregate rating and review schema for your reviews in Google. The difference between this and the schema option in the [site_reviews_summary] shortcode is that this one generates both the aggregate ratings schema and the review schema for each individual review that is visible on the page, while the other only generates the aggregate ratings schema.</p>
|
109 |
<p><span class="required">Important:</span> This option should only be used once on a page to avoid duplicate schemas; keep this in mind if you are using more than one [site_reviews] and/or [site_reviews_summary] shortcodes on the same page.</p>
|
110 |
<p>The default schema value is: <code>"false"</code></p>
|
111 |
+
<div class="shortcode-example">
|
112 |
+
<input type="text" readonly class="code" value='[site_reviews schema="true"]'>
|
113 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews</span> <span class="attr-name">schema</span>=<span class="attr-value">"true"</span><span class="tag">]</span></code></pre>
|
114 |
+
</div>
|
115 |
</div>
|
116 |
</div>
|
views/pages/documentation/shortcodes/site_reviews_form.php
CHANGED
@@ -15,36 +15,57 @@
|
|
15 |
<p class="glsr-heading">assigned_posts</p>
|
16 |
<p>Include the "assigned_posts" option to automatically assign submitted reviews to those assigned posts, pages, or other public post types. Accepted values are a numerical <a href="https://pagely.com/blog/find-post-id-wordpress/">WordPress Post ID</a>, <code>post_id</code> which automatically uses the ID of the current page, or <code>parent_id</code> which automatically uses the ID of the parent page. Separate multiple values with a comma.</p>
|
17 |
<p>The default assigned_posts value is: <code>""</code></p>
|
18 |
-
<
|
|
|
|
|
|
|
19 |
|
20 |
<p class="glsr-heading">assigned_terms</p>
|
21 |
<p>Include the "assigned_terms" option to automatically assign submitted reviews to those assigned categories. Accepted values are either a category ID or slug. Separate multiple values with a comma.</p>
|
22 |
<p>The default assigned_terms value is: <code>""</code></p>
|
23 |
-
<
|
|
|
|
|
|
|
24 |
|
25 |
<p class="glsr-heading">assigned_users</p>
|
26 |
<p>Include the "assigned_users" option to automatically assign submitted reviews to those assigned users. Accepted values are either a user ID or username. Separate multiple values with a comma.</p>
|
27 |
<p>The default assigned_users value is: <code>""</code></p>
|
28 |
-
<
|
|
|
|
|
|
|
29 |
|
30 |
<p class="glsr-heading">class</p>
|
31 |
<p>Include the "class" option to add custom CSS classes to the shortcode form.</p>
|
32 |
<p>The default class value is: <code>""</code></p>
|
33 |
-
<
|
|
|
|
|
|
|
34 |
|
35 |
<p class="glsr-heading">description</p>
|
36 |
<p>Include the "description" option to display a custom shortcode description.</p>
|
37 |
<p>The default description value is: <code>""</code></p>
|
38 |
-
<
|
|
|
|
|
|
|
39 |
|
40 |
<p class="glsr-heading">hide</p>
|
41 |
<p>Include the "hide" option to exclude certain fields in the form. If all fields are hidden, the shortcode will not be displayed.</p>
|
42 |
<p>The default hide value is: <code>""</code></p>
|
43 |
-
<
|
|
|
|
|
|
|
44 |
|
45 |
<p class="glsr-heading">id</p>
|
46 |
<p>This shortcode should only be used on a page once. However, if you need to include more than one on a page, use the "id" option to add a custom HTML id attribute to the shortcode to make it a unique shortcode form.</p>
|
47 |
<p>The default id value is: <code>""</code></p>
|
48 |
-
<
|
|
|
|
|
|
|
49 |
</div>
|
50 |
</div>
|
15 |
<p class="glsr-heading">assigned_posts</p>
|
16 |
<p>Include the "assigned_posts" option to automatically assign submitted reviews to those assigned posts, pages, or other public post types. Accepted values are a numerical <a href="https://pagely.com/blog/find-post-id-wordpress/">WordPress Post ID</a>, <code>post_id</code> which automatically uses the ID of the current page, or <code>parent_id</code> which automatically uses the ID of the parent page. Separate multiple values with a comma.</p>
|
17 |
<p>The default assigned_posts value is: <code>""</code></p>
|
18 |
+
<div class="shortcode-example">
|
19 |
+
<input type="text" readonly class="code" value='[site_reviews_form assigned_posts="post_id"]'>
|
20 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews_form</span> <span class="attr-name">assigned_posts</span>=<span class="attr-value">"post_id"</span><span class="tag">]</span></code></pre>
|
21 |
+
</div>
|
22 |
|
23 |
<p class="glsr-heading">assigned_terms</p>
|
24 |
<p>Include the "assigned_terms" option to automatically assign submitted reviews to those assigned categories. Accepted values are either a category ID or slug. Separate multiple values with a comma.</p>
|
25 |
<p>The default assigned_terms value is: <code>""</code></p>
|
26 |
+
<div class="shortcode-example">
|
27 |
+
<input type="text" readonly class="code" value='[site_reviews_form assigned_terms="13,14"]'>
|
28 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews_form</span> <span class="attr-name">assigned_terms</span>=<span class="attr-value">"13,14"</span><span class="tag">]</span></code></pre>
|
29 |
+
</div>
|
30 |
|
31 |
<p class="glsr-heading">assigned_users</p>
|
32 |
<p>Include the "assigned_users" option to automatically assign submitted reviews to those assigned users. Accepted values are either a user ID or username. Separate multiple values with a comma.</p>
|
33 |
<p>The default assigned_users value is: <code>""</code></p>
|
34 |
+
<div class="shortcode-example">
|
35 |
+
<input type="text" readonly class="code" value='[site_reviews_form assigned_users="1,2"]'>
|
36 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews_form</span> <span class="attr-name">assigned_users</span>=<span class="attr-value">"1,2"</span><span class="tag">]</span></code></pre>
|
37 |
+
</div>
|
38 |
|
39 |
<p class="glsr-heading">class</p>
|
40 |
<p>Include the "class" option to add custom CSS classes to the shortcode form.</p>
|
41 |
<p>The default class value is: <code>""</code></p>
|
42 |
+
<div class="shortcode-example">
|
43 |
+
<input type="text" readonly class="code" value='[site_reviews_form class="my-reviews-form full-width"]'>
|
44 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews_form</span> <span class="attr-name">class</span>=<span class="attr-value">"my-reviews-form full-width"</span><span class="tag">]</span></code></pre>
|
45 |
+
</div>
|
46 |
|
47 |
<p class="glsr-heading">description</p>
|
48 |
<p>Include the "description" option to display a custom shortcode description.</p>
|
49 |
<p>The default description value is: <code>""</code></p>
|
50 |
+
<div class="shortcode-example">
|
51 |
+
<input type="text" readonly class="code" value='[site_reviews_form description="Required fields are marked with an asterisk (*)"]'>
|
52 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews_form</span> <span class="attr-name">description</span>=<span class="attr-value">"Required fields are marked with an asterisk (*)"</span><span class="tag">]</span></code></pre>
|
53 |
+
</div>
|
54 |
|
55 |
<p class="glsr-heading">hide</p>
|
56 |
<p>Include the "hide" option to exclude certain fields in the form. If all fields are hidden, the shortcode will not be displayed.</p>
|
57 |
<p>The default hide value is: <code>""</code></p>
|
58 |
+
<div class="shortcode-example">
|
59 |
+
<input type="text" readonly class="code" value='[site_reviews_form hide="content,email,name,rating,terms,title"]'>
|
60 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews_form</span> <span class="attr-name">hide</span>=<span class="attr-value">"content,email,name,rating,terms,title"</span><span class="tag">]</span></code></pre>
|
61 |
+
</div>
|
62 |
|
63 |
<p class="glsr-heading">id</p>
|
64 |
<p>This shortcode should only be used on a page once. However, if you need to include more than one on a page, use the "id" option to add a custom HTML id attribute to the shortcode to make it a unique shortcode form.</p>
|
65 |
<p>The default id value is: <code>""</code></p>
|
66 |
+
<div class="shortcode-example">
|
67 |
+
<input type="text" readonly class="code" value='[site_reviews_form id="type-some-random-text-here"]'>
|
68 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews_form</span> <span class="attr-name">id</span>=<span class="attr-value">"type-some-random-text-here"</span><span class="tag">]</span></code></pre>
|
69 |
+
</div>
|
70 |
</div>
|
71 |
</div>
|
views/pages/documentation/shortcodes/site_reviews_summary.php
CHANGED
@@ -16,55 +16,85 @@
|
|
16 |
<p>Include the "assigned_posts" option to limit reviews to those assigned posts, pages, or other public post types. Accepted values are a numerical <a href="https://pagely.com/blog/find-post-id-wordpress/">WordPress Post ID</a>, <code>post_id</code> which automatically uses the ID of the current page, or <code>parent_id</code> which automatically uses the ID of the parent page. Separate multiple values with a comma.</p>
|
17 |
<p><span class="required">Important:</span> If you are using this shortcode together with the [site_reviews] shortcode, make sure to set the same option value for both shortcodes.</p>
|
18 |
<p>The default assigned_posts value is: <code>""</code></p>
|
19 |
-
<
|
|
|
|
|
|
|
20 |
|
21 |
<p class="glsr-heading">assigned_terms</p>
|
22 |
<p>Include the "assigned_terms" option to limit reviews to those assigned categories. Accepted values are either a category ID or slug. Separate multiple values with a comma.</p>
|
23 |
<p><span class="required">Important:</span> If you are using this shortcode together with the [site_reviews] shortcode, make sure to set the same option value for both shortcodes.</p>
|
24 |
<p>The default assigned_terms value is: <code>""</code></p>
|
25 |
-
<
|
|
|
|
|
|
|
26 |
|
27 |
<p class="glsr-heading">assigned_users</p>
|
28 |
<p>Include the "assigned_users" option to limit reviews to those assigned users. Accepted values are either a user ID or username. Separate multiple values with a comma.</p>
|
29 |
<p><span class="required">Important:</span> If you are using this shortcode together with the [site_reviews] shortcode, make sure to set the same option value for both shortcodes.</p>
|
30 |
<p>The default assigned_users value is: <code>""</code></p>
|
31 |
-
<
|
|
|
|
|
|
|
32 |
|
33 |
<p class="glsr-heading">class</p>
|
34 |
<p>Include the "class" option to add custom CSS classes to the shortcode.</p>
|
35 |
<p>The default class value is: <code>""</code></p>
|
36 |
-
<
|
|
|
|
|
|
|
37 |
|
38 |
<p class="glsr-heading">hide</p>
|
39 |
<p>By default the shortcode displays all fields. Use the "hide" option to hide any specific fields you don't want to show. Include the "if_empty" value to hide the shortcode when there are no reviews to summarise. If all fields are hidden, the shortcode will not be displayed.</p>
|
40 |
<p>The default hide value is: <code>""</code></p>
|
41 |
-
<
|
|
|
|
|
|
|
42 |
|
43 |
<p class="glsr-heading">id</p>
|
44 |
<p>Include the "id" option to add a custom HTML id attribute to the shortcode.</p>
|
45 |
<p>The default id value is: <code>""</code></p>
|
46 |
-
<
|
|
|
|
|
|
|
47 |
|
48 |
<p class="glsr-heading">labels</p>
|
49 |
<p>The "labels" option allows you to enter custom labels for the percentage bar levels (from high to low), each level should be separated with a comma. However, rather than using this option to change the labels it's recommended to instead create a custom translation for them in the <code><a href="<?= admin_url('edit.php?post_type='.glsr()->post_type.'&page=settings#tab-translations'); ?>">Settings → Translations</a></code> page.</p>
|
50 |
<p>The default labels value is: <code>"Excellent,Very good,Average,Poor,Terrible"</code></p>
|
51 |
-
<
|
|
|
|
|
|
|
52 |
|
53 |
<p class="glsr-heading">rating</p>
|
54 |
<p>Include the "rating" option to set the <em>minimum</em> star-rating of reviews to use.</p>
|
55 |
<p><span class="required">Important:</span> If you are using this shortcode together with the [site_reviews] shortcode, make sure to set the same option value for both shortcodes.</p>
|
56 |
<p>The default rating value is: <code>"1"</code></p>
|
57 |
-
<
|
|
|
|
|
|
|
58 |
|
59 |
<p class="glsr-heading">schema</p>
|
60 |
<p>Include the "schema" option to enable the aggregate rating schema for your reviews in Google. The difference between this and the schema option in the [site_reviews] shortcode is that this one only generates the aggregate ratings schema, while the other generates both the aggregate ratings schema and the review schema for each individual review that is visible on the page. If you have the choice, enable this option on the [site_reviews] shortcode instead.</p>
|
61 |
<p><span class="required">Important:</span> This option should only be used once on a page to avoid duplicate schemas; keep this in mind if you are using more than one [site_reviews] and/or [site_reviews_summary] shortcodes on the same page.</p>
|
62 |
<p>The default schema value is: <code>"false"</code></p>
|
63 |
-
<
|
|
|
|
|
|
|
64 |
|
65 |
<p class="glsr-heading">text</p>
|
66 |
<p>The "text" option allows you to change the summary text. Available template tags to use are, "{rating}" which represents the calculated average rating, "{max}" which represents the maximum star rating available, and "{num}" which represents the total number of reviews. However, rather than using this option to change the summary text it's recommended to instead create a custom translation for it in the <code><a href="<?= admin_url('edit.php?post_type='.glsr()->post_type.'&page=settings#tab-translations'); ?>">Settings → Translations</a></code> page. That way, you will be able to customize both the singular (1 review) and plural (2 reviews) summary texts.</p>
|
67 |
<p>The default text value is: <code>"{rating} out of {max} stars (based on {num} reviews)"</code></p>
|
68 |
-
<
|
|
|
|
|
|
|
69 |
</div>
|
70 |
</div>
|
16 |
<p>Include the "assigned_posts" option to limit reviews to those assigned posts, pages, or other public post types. Accepted values are a numerical <a href="https://pagely.com/blog/find-post-id-wordpress/">WordPress Post ID</a>, <code>post_id</code> which automatically uses the ID of the current page, or <code>parent_id</code> which automatically uses the ID of the parent page. Separate multiple values with a comma.</p>
|
17 |
<p><span class="required">Important:</span> If you are using this shortcode together with the [site_reviews] shortcode, make sure to set the same option value for both shortcodes.</p>
|
18 |
<p>The default assigned_posts value is: <code>""</code></p>
|
19 |
+
<div class="shortcode-example">
|
20 |
+
<input type="text" readonly class="code" value='[site_reviews_summary assigned_posts="post_id"]'>
|
21 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews_summary</span> <span class="attr-name">assigned_posts</span>=<span class="attr-value">"post_id"</span><span class="tag">]</span></code></pre>
|
22 |
+
</div>
|
23 |
|
24 |
<p class="glsr-heading">assigned_terms</p>
|
25 |
<p>Include the "assigned_terms" option to limit reviews to those assigned categories. Accepted values are either a category ID or slug. Separate multiple values with a comma.</p>
|
26 |
<p><span class="required">Important:</span> If you are using this shortcode together with the [site_reviews] shortcode, make sure to set the same option value for both shortcodes.</p>
|
27 |
<p>The default assigned_terms value is: <code>""</code></p>
|
28 |
+
<div class="shortcode-example">
|
29 |
+
<input type="text" readonly class="code" value='[site_reviews_summary assigned_terms="13,14"]'>
|
30 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews_summary</span> <span class="attr-name">assigned_terms</span>=<span class="attr-value">"13,14"</span><span class="tag">]</span></code></pre>
|
31 |
+
</div>
|
32 |
|
33 |
<p class="glsr-heading">assigned_users</p>
|
34 |
<p>Include the "assigned_users" option to limit reviews to those assigned users. Accepted values are either a user ID or username. Separate multiple values with a comma.</p>
|
35 |
<p><span class="required">Important:</span> If you are using this shortcode together with the [site_reviews] shortcode, make sure to set the same option value for both shortcodes.</p>
|
36 |
<p>The default assigned_users value is: <code>""</code></p>
|
37 |
+
<div class="shortcode-example">
|
38 |
+
<input type="text" readonly class="code" value='[site_reviews_summary assigned_users="1,2"]'>
|
39 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews_summary</span> <span class="attr-name">assigned_users</span>=<span class="attr-value">"1,2"</span><span class="tag">]</span></code></pre>
|
40 |
+
</div>
|
41 |
|
42 |
<p class="glsr-heading">class</p>
|
43 |
<p>Include the "class" option to add custom CSS classes to the shortcode.</p>
|
44 |
<p>The default class value is: <code>""</code></p>
|
45 |
+
<div class="shortcode-example">
|
46 |
+
<input type="text" readonly class="code" value='[site_reviews_summary class="my-reviews-summary full-width"]'>
|
47 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews_summary</span> <span class="attr-name">class</span>=<span class="attr-value">"my-reviews-summary full-width"</span><span class="tag">]</span></code></pre>
|
48 |
+
</div>
|
49 |
|
50 |
<p class="glsr-heading">hide</p>
|
51 |
<p>By default the shortcode displays all fields. Use the "hide" option to hide any specific fields you don't want to show. Include the "if_empty" value to hide the shortcode when there are no reviews to summarise. If all fields are hidden, the shortcode will not be displayed.</p>
|
52 |
<p>The default hide value is: <code>""</code></p>
|
53 |
+
<div class="shortcode-example">
|
54 |
+
<input type="text" readonly class="code" value='[site_reviews_summary hide="bars,if_empty,rating,stars,summary"]'>
|
55 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews_summary</span> <span class="attr-name">hide</span>=<span class="attr-value">"bars,if_empty,rating,stars,summary"</span><span class="tag">]</span></code></pre>
|
56 |
+
</div>
|
57 |
|
58 |
<p class="glsr-heading">id</p>
|
59 |
<p>Include the "id" option to add a custom HTML id attribute to the shortcode.</p>
|
60 |
<p>The default id value is: <code>""</code></p>
|
61 |
+
<div class="shortcode-example">
|
62 |
+
<input type="text" readonly class="code" value='[site_reviews_summary id="type-some-random-text-here"]'>
|
63 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews_summary</span> <span class="attr-name">id</span>=<span class="attr-value">"type-some-random-text-here"</span><span class="tag">]</span></code></pre>
|
64 |
+
</div>
|
65 |
|
66 |
<p class="glsr-heading">labels</p>
|
67 |
<p>The "labels" option allows you to enter custom labels for the percentage bar levels (from high to low), each level should be separated with a comma. However, rather than using this option to change the labels it's recommended to instead create a custom translation for them in the <code><a href="<?= admin_url('edit.php?post_type='.glsr()->post_type.'&page=settings#tab-translations'); ?>">Settings → Translations</a></code> page.</p>
|
68 |
<p>The default labels value is: <code>"Excellent,Very good,Average,Poor,Terrible"</code></p>
|
69 |
+
<div class="shortcode-example">
|
70 |
+
<input type="text" readonly class="code" value='[site_reviews_summary labels="5 star,4 star,3 star,2 star,1 star"]'>
|
71 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews_summary</span> <span class="attr-name">labels</span>=<span class="attr-value">"5 star,4 star,3 star,2 star,1 star"</span><span class="tag">]</span></code></pre>
|
72 |
+
</div>
|
73 |
|
74 |
<p class="glsr-heading">rating</p>
|
75 |
<p>Include the "rating" option to set the <em>minimum</em> star-rating of reviews to use.</p>
|
76 |
<p><span class="required">Important:</span> If you are using this shortcode together with the [site_reviews] shortcode, make sure to set the same option value for both shortcodes.</p>
|
77 |
<p>The default rating value is: <code>"1"</code></p>
|
78 |
+
<div class="shortcode-example">
|
79 |
+
<input type="text" readonly class="code" value='[site_reviews_summary rating="3"]'>
|
80 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews_summary</span> <span class="attr-name">rating</span>=<span class="attr-value">"3"</span><span class="tag">]</span></code></pre>
|
81 |
+
</div>
|
82 |
|
83 |
<p class="glsr-heading">schema</p>
|
84 |
<p>Include the "schema" option to enable the aggregate rating schema for your reviews in Google. The difference between this and the schema option in the [site_reviews] shortcode is that this one only generates the aggregate ratings schema, while the other generates both the aggregate ratings schema and the review schema for each individual review that is visible on the page. If you have the choice, enable this option on the [site_reviews] shortcode instead.</p>
|
85 |
<p><span class="required">Important:</span> This option should only be used once on a page to avoid duplicate schemas; keep this in mind if you are using more than one [site_reviews] and/or [site_reviews_summary] shortcodes on the same page.</p>
|
86 |
<p>The default schema value is: <code>"false"</code></p>
|
87 |
+
<div class="shortcode-example">
|
88 |
+
<input type="text" readonly class="code" value='[site_reviews_summary schema="true"]'>
|
89 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews_summary</span> <span class="attr-name">schema</span>=<span class="attr-value">"true"</span><span class="tag">]</span></code></pre>
|
90 |
+
</div>
|
91 |
|
92 |
<p class="glsr-heading">text</p>
|
93 |
<p>The "text" option allows you to change the summary text. Available template tags to use are, "{rating}" which represents the calculated average rating, "{max}" which represents the maximum star rating available, and "{num}" which represents the total number of reviews. However, rather than using this option to change the summary text it's recommended to instead create a custom translation for it in the <code><a href="<?= admin_url('edit.php?post_type='.glsr()->post_type.'&page=settings#tab-translations'); ?>">Settings → Translations</a></code> page. That way, you will be able to customize both the singular (1 review) and plural (2 reviews) summary texts.</p>
|
94 |
<p>The default text value is: <code>"{rating} out of {max} stars (based on {num} reviews)"</code></p>
|
95 |
+
<div class="shortcode-example">
|
96 |
+
<input type="text" readonly class="code" value='[site_reviews_summary text="{num} customer reviews"]'>
|
97 |
+
<pre><code class="syntax-shortcode"><span class="tag">[site_reviews_summary</span> <span class="attr-name">text</span>=<span class="attr-value">"{num} customer reviews"</span><span class="tag">]</span></code></pre>
|
98 |
+
</div>
|
99 |
</div>
|
100 |
</div>
|