Google Reviews Widget - Version 2.1.8

Version Description

  • Improve: new slider button text 'review us on G'
  • Improve: separate slider and common options in widget builder
  • Improve: slider active dots blue color
  • Bugfix: slider dots round
Download this release

Release Info

Developer richplugins
Plugin Icon 128x128 Google Reviews Widget
Version 2.1.8
Comparing to
See all releases

Code changes from version 2.1.7 to 2.1.8

assets/css/public-main.css CHANGED
@@ -1 +1 @@
1
- .wpac,.wpac h1,.wpac h2,.wpac h3,.wpac h4,.wpac h5,.wpac h6,.wpac p,.wpac td,.wpac dl,.wpac tr,.wpac dt,.wpac ol,.wpac form,.wpac select,.wpac option,.wpac pre,.wpac div,.wpac table,.wpac th,.wpac tbody,.wpac tfoot,.wpac caption,.wpac thead,.wpac ul,.wpac li,.wpac address,.wpac blockquote,.wpac dd,.wpac fieldset,.wpac li,.wpac strong,.wpac legend,.wpac em,.wpac s,.wpac cite,.wpac span,.wpac input,.wpac sup,.wpac label,.wpac dfn,.wpac object,.wpac big,.wpac q,.wpac font,.wpac samp,.wpac acronym,.wpac small,.wpac img,.wpac strike,.wpac code,.wpac sub,.wpac ins,.wpac textarea,.wpac var,.wpac a,.wpac abbr,.wpac applet,.wpac del,.wpac kbd,.wpac tt,.wpac b,.wpac i,.wpac hr{background-attachment:scroll!important;background-color:transparent!important;background-image:none!important;background-position:0 0!important;background-repeat:repeat!important;border-color:black!important;border-color:currentColor!important;border-radius:0!important;border-style:none!important;border-width:medium!important;bottom:auto!important;clear:none!important;clip:auto!important;color:inherit!important;counter-increment:none!important;counter-reset:none!important;cursor:auto!important;direction:inherit!important;display:inline;float:none!important;font-family:inherit!important;font-size:inherit!important;font-style:inherit!important;font-variant:normal!important;font-weight:inherit!important;height:auto;left:auto!important;letter-spacing:normal!important;line-height:inherit!important;list-style-type:inherit!important;list-style-position:outside!important;list-style-image:none!important;margin:0!important;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:1;outline:invert none medium!important;overflow:visible!important;padding:0!important;position:static!important;quotes:"" ""!important;right:auto!important;table-layout:auto!important;text-align:inherit!important;text-decoration:inherit!important;text-indent:0!important;text-transform:none!important;top:auto!important;unicode-bidi:normal!important;vertical-align:baseline!important;visibility:inherit!important;white-space:normal!important;width:auto!important;word-spacing:normal!important;z-index:auto!important;-moz-border-radius:0!important;-webkit-border-radius:0!important;-moz-box-sizing:border-box!important;-webkit-box-sizing:border-box!important;box-sizing:border-box!important;text-shadow:none!important;-webkit-transition:none!important;transition:none!important;-webkit-box-shadow:none!important;box-shadow:none!important}.wpac,.wpac h3,.wpac h5,.wpac p,.wpac h1,.wpac dl,.wpac dt,.wpac h6,.wpac ol,.wpac form,.wpac select,.wpac option,.wpac pre,.wpac div,.wpac h2,.wpac caption,.wpac h4,.wpac ul,.wpac address,.wpac blockquote,.wpac dd,.wpac fieldset,.wpac textarea,.wpac hr{display:block}.wpac table{display:table}.wpac tbody{display:table-row-group}.wpac tr{display:table-row}.wpac td{display:table-cell}.wpac ul{list-style-type:none!important}.wpac li{display:list-item;min-height:auto!important;min-width:auto!important}.wpac a,.wpac a *,.wpac input[type=submit],.wpac input[type=radio],.wpac input[type=checkbox],.wpac select{cursor:pointer!important}.wpac a:hover{text-decoration:none!important}.wpac button,.wpac input[type=submit]{height:auto!important;text-align:center!important}.wpac input[type=hidden]{display:none}.wpac select{-webkit-appearance:menulist!important;-moz-appearance:menulist!important;appearance:menulist!important}.wpac input[type=checkbox]{-webkit-appearance:checkbox!important;-moz-appearance:checkbox!important;appearance:checkbox!important}.wpac input[type="checkbox"]:before,.wpac input[type="checkbox"]:after{content:none!important;border:0!important}.wpac input[type=radio]{-webkit-appearance:radio!important;-moz-appearance:radio!important;appearance:radio!important}.wpac input[type="radio"]:before,.wpac input[type="radio"]:after{content:none!important;border:0!important}.wpac li:before,.wpac li:after{content:""!important}.wpac input,.wpac select{vertical-align:middle!important}.wpac select,.wpac textarea,.wpac input{border:1px solid #ccc!important}.wpac table{border-collapse:collapse!important;border-spacing:0!important}.wpac *[dir=rtl]{direction:rtl!important}.wpac img{border:0!important}.wpac svg{vertical-align:middle!important;-moz-box-sizing:content-box!important;-webkit-box-sizing:content-box!important;box-sizing:content-box!important}.wpac{font-size:14px!important;line-height:20px!important;direction:inherit!important;text-align:inherit!important;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif!important;color:#333!important;font-style:normal!important;font-weight:normal!important;text-decoration:none!important;list-style-type:disc!important}.wp-gr .wp-google-badge{display:inline-block;font-family:Helvetica Neue,Helvetica,Arial,sans-serif!important;box-shadow:0 2px 5px 0 rgba(0,0,0,.26)!important}.wp-gr .wp-google-badge-fixed{position:fixed!important;right:30px!important;bottom:30px!important;max-width:none!important;z-index:2147482999!important;box-shadow:0 2px 5px 0 rgba(0,0,0,.26)!important}.wp-gr .wp-google-badge_left-fixed{position:fixed!important;left:30px!important;bottom:30px!important;max-width:none!important;z-index:2147482999!important}.wp-gr .wp-google-badge *{cursor:pointer!important}.wp-gr .wp-google-border{width:100%!important;height:6px!important;background:#4fce6a!important;border-radius:2px 2px 0 0!important}.wp-gr .wp-google-badge-btn{position:relative!important;padding:10px!important;background:#fff!important;transition:all .2s ease-in-out!important;border-radius:2px!important}.wp-gr .wp-google-badge-btn:hover{background:#f3f3f5!important}.wp-gr .wp-google-badge-score{display:inline-block;margin:0 0 0 4px!important;vertical-align:middle!important}.wp-gr .wp-google-rating{color:#e7711b!important;font-size:20px!important;font-weight:600!important;margin:0 6px 0 0!important;vertical-align:middle!important}.wp-gr .wp-google-stars .wp-star{padding:0 4px 0 0!important;line-height:22px!important}.wp-gr .wp-google-powered{color:#777!important;margin:6px 0 0!important}.wp-gr .wp-google-powered img{max-width:144px!important}.wp-gr .wp-google-form .wp-google-reviews{padding:16px 16px 0!important}.wp-gr .wp-google-review{margin-top:15px!important}.wp-gr .wp-google-left{display:table-cell!important;vertical-align:top!important}[dir="ltr"] .wp-google-left{padding-right:10px!important}[dir="rtl"] .wp-google-left{padding-left:10px!important}.wp-gr .wp-google-left img{border:none!important;float:left!important;height:50px!important;width:50px!important;margin-right:5px!important;border-radius:50%!important;box-shadow:0 0 2px rgba(0,0,0,.12),0 2px 4px rgba(0,0,0,.24)!important}.wp-gr .wp-google-reviews img{border-radius:50%!important}.wp-gr .wp-google-right{display:table-cell!important;vertical-align:top!important;width:10000px!important}.wp-gr .wp-google-place .wp-star svg{width:20px!important;height:20px!important;vertical-align:middle!important}.wp-gr .wp-star svg{display:inline-block!important}.wp-gr .wp-google-review .wp-star svg{width:18px!important;height:18px!important;vertical-align:middle!important}.wp-gr .wp-google-name{color:black!important;font-size:100%!important;font-weight:bold!important;margin:0 0 2px!important;padding-right:6px!important;text-decoration:none!important}.wp-gr a.wp-google-name{color:#427fed!important;text-decoration:none!important}.wp-gr .wp-google-time{color:#999!important;font-size:13px!important}.wp-gr .wp-google-text{color:#222!important;font-size:13px!important;line-height:18px!important;max-width:100%!important;overflow:hidden!important;white-space:pre-wrap!important;word-break:break-word!important}.wp-gr .wp-google-text .wp-google-stars{padding-right:7px!important}.wp-gr .wp-more{display:none}.wp-gr .wp-more-toggle{color:#136aaf!important;cursor:pointer!important;text-decoration:none!important}.wp-gr .wp-google-url{display:block;margin:10px 0!important;color:#2c7cff!important;text-align:center!important}.wp-gr .wp-google-form{position:fixed!important;bottom:0!important;right:0!important;height:100%!important;width:368px!important;z-index:2147483000!important}.wp-gr .wp-google-form.wp-google-form-left{left:0!important}@media(max-width:460px){.wp-gr .wp-google-form{width:100%!important}}.wp-gr .wp-google-head{position:absolute!important;top:0!important;right:0!important;width:100%!important;height:80px!important;background:#fff!important;padding:10px 16px!important;overflow:hidden!important;box-shadow:0 1px 2px 0 rgba(0,0,0,.12)!important;z-index:2147483002!important}.wp-gr .wp-google-head-inner{z-index:2147483000!important;position:absolute!important;left:20px!important;top:20px!important;width:100%!important;height:100%!important;pointer-events:none!important}.wp-gr .wp-google-close{padding:0!important;cursor:pointer!important;outline:0!important;border:0!important;background:0 0!important;min-height:0!important;width:auto!important;float:right!important;font-size:32px!important;font-weight:500!important;line-height:.6!important;color:#999!important;-webkit-appearance:none!important}.wp-gr .wp-google-close:hover{color:#555!important}.wp-gr .wp-google-body{position:absolute!important;top:0!important;right:0!important;bottom:0!important;width:100%!important;background:rgba(250,250,251,.98)!important;border-left:1px solid #dadee2!important;box-shadow:0 0 4px 1px rgba(0,0,0,.08)!important;z-index:2147483000!important}.wp-gr .wp-google-content{position:absolute!important;top:0!important;right:0!important;bottom:0!important;width:100%!important;overflow-y:auto!important;z-index:2147483001!important;-webkit-transform:translateZ(0)!important}.wp-gr .wp-google-content{top:80px!important;bottom:48px!important}.wp-gr .wp-google-content-inner{position:relative!important;min-height:100%!important;margin:0 auto!important}.wp-gr .wp-google-footer{position:absolute!important;bottom:0!important;right:0!important;width:100%!important;height:48px!important;text-align:center!important;z-index:2147483002!important;background:#fff!important;box-shadow:0 -1px 2px 0 rgba(0,0,0,.06)!important;-moz-text-align-last:center!important;text-align-last:center!important}.wp-gr .wp-google-footer img{float:right!important;padding:16px!important}.wp-gr .wp-dark .wp-google-name{color:#eee!important}.wp-gr .wp-dark .wp-google-time{color:#bbb!important}.wp-gr .wp-dark .wp-google-text{color:#ececec!important}.wp-gr.wpac .wp-google-name{font-size:100%!important}.wp-gr.wpac .wp-google-hide{display:none}.wp-gr.wpac .wp-google-name a{color:#333!important;font-size:100%!important;text-decoration:none!important}.wp-gr.wpac .wp-google-left img{width:50px!important;height:50px!important;border-radius:50%!important}.wp-gr.wpac a.wp-google-name{color:#427fed!important;text-decoration:none!important;white-space:nowrap!important;text-overflow:ellipsis!important}.wp-gr.wpac .wp-google-place .wp-star svg{width:20px;height:20px}.wp-gr.wpac .wp-google-review .wp-google-stars{display:inline-block;margin-right:4px!important}.wp-gr.wpac .wp-google-review .wp-star svg{width:18px;height:18px}.wp-gr.wpac .wp-dark .wp-google-name a{color:#eee!important}@media(max-width:480px){.wp-google-badge.wp-google-badge-fixed.wp-google-badge-hide{display:none!important}}@media(max-width:480px){.wp-google-badge.wp-google-badge_left-fixed.wp-google-badge-hide{display:none!important}}.wp-gr .grw-slider{display:block!important;width:100%!important;padding-bottom:20px!important;text-align:left!important;direction:ltr!important;box-sizing:border-box!important}.wp-gr .grw-slider .grw-row{display:-ms-flexbox!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;-ms-flex-wrap:nowrap!important;-ms-flex-align:center!important}.wp-gr .grw-slider .grw-row-xs{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.wp-gr .grw-row-xs .grw-slider-header,.wp-gr .grw-row-xs .grw-slider-content,.wp-gr .grw-row-xs .grw-slider-review{-ms-flex:0 0 100%!important;flex:0 0 100%!important;max-width:100%!important}.wp-gr .grw-row-x .grw-slider-header,.wp-gr .grw-row-x .grw-slider-header+.grw-slider-content{-ms-flex:0 0 50%!important;flex:0 0 50%!important;max-width:50%!important}.wp-gr .grw-row-x .grw-slider-review{-ms-flex:0 0 100%!important;flex:0 0 100%!important;max-width:100%!important}.wp-gr .grw-row-s .grw-slider-header{-ms-flex:0 0 33.333333%!important;flex:0 0 33.333333%!important;max-width:33.333333%!important}.wp-gr .grw-row-s .grw-slider-header+.grw-slider-content{-ms-flex:0 0 66.666666%!important;flex:0 0 66.666666%!important;max-width:66.666666%!important}.wp-gr .grw-row-s .grw-slider-review{-ms-flex:0 0 50%!important;flex:0 0 50%!important;max-width:50%!important}.wp-gr .grw-row-m .grw-slider-header{-ms-flex:0 0 25%!important;flex:0 0 25%!important;max-width:25%!important}.wp-gr .grw-row-m .grw-slider-header+.grw-slider-content{-ms-flex:0 0 75%!important;flex:0 0 75%!important;max-width:75%!important}.wp-gr .grw-row-m .grw-slider-review{-ms-flex:0 0 33.333333%!important;flex:0 0 33.333333%!important;max-width:33.333333%!important}.wp-gr .grw-row-l .grw-slider-header{-ms-flex:0 0 20%!important;flex:0 0 20%!important;max-width:20%!important}.wp-gr .grw-row-l .grw-slider-header+.grw-slider-content{-ms-flex:0 0 80%!important;flex:0 0 80%!important;max-width:80%!important}.wp-gr .grw-row-l .grw-slider-review{-ms-flex:0 0 25%!important;flex:0 0 25%!important;max-width:25%!important}.wp-gr .grw-row-xl .grw-slider-header{-ms-flex:0 0 16.666666%!important;flex:0 0 16.666666%!important;max-width:16.666666%!important}.wp-gr .grw-row-xl .grw-slider-header+.grw-slider-content{-ms-flex:0 0 83.333333%!important;flex:0 0 83.333333%!important;max-width:83.333333%!important}.wp-gr .grw-row-xl .grw-slider-review{-ms-flex:0 0 20%!important;flex:0 0 20%!important;max-width:20%!important}.wp-gr .grw-slider .grw-slider-content{position:relative!important}.wp-gr .grw-slider .grw-slider-content-inner{position:relative!important}.wp-gr .grw-slider .grw-slider-header-inner,.wp-gr .grw-slider .grw-slider-review-inner{position:relative!important;margin:0 10px!important;padding:15px!important;width:100%!important}.wp-gr .grw-slider:not(.wp-dark) .grw-slider-review-inner.grw-slider-review-border{background:#fafafa!important;border-radius:4px!important;box-shadow:0 0 2px rgba(0,0,0,.12),0 2px 4px rgba(0,0,0,.24)!important}.wp-gr .grw-slider .grw-slider-review-inner>svg{position:absolute!important;top:10px!important;right:10px!important;width:18px!important;height:18px!important}.wp-gr .grw-slider .grw-slider-reviews{display:flex!important;display:-ms-flexbox!important;overflow:hidden!important;overflow-x:scroll!important;margin:0 20px!important;padding:10px 0 15px!important;flex-wrap:nowrap!important;-ms-flex-wrap:nowrap!important;scroll-snap-type:x mandatory!important;scroll-behavior:smooth!important;-webkit-overflow-scrolling:touch!important}.wp-gr .grw-slider .grw-slider-reviews::-webkit-scrollbar{display:none!important}.wp-gr .grw-slider .grw-slider-review{display:flex!important;position:relative!important;justify-content:center!important;align-items:center!important;flex-shrink:0!important;scroll-snap-align:start!important;transform-origin:center center!important;transform:scale(1)!important;transition:transform .5s!important}.wp-gr .grw-slider .grw-slider-controls{position:absolute!important;top:50%!important;width:100%!important}.wp-gr .grw-slider .grw-slider-btns{position:absolute!important;color:#ccc!important;height:28px!important;width:28px!important;font-size:45px!important;line-height:22px!important;text-align:center!important;cursor:pointer!important;border-radius:50%!important;user-select:none!important;transition:all .2s ease-in-out!important}.wp-gr .grw-slider .grw-slider-btns:hover{color:#999!important}.wp-gr .grw-slider .grw-slider-btns.grw-slider-prev{left:0!important;margin-left:-3px!important}.wp-gr .grw-slider .grw-slider-btns.grw-slider-next{right:0!important;margin-right:-3px!important}.wp-gr .grw-slider .grw-slider-dots{position:absolute!important;left:50%!important;transform:translate(-50%,0)!important;text-align:center!important}.wp-gr .grw-slider .grw-slider-dot.active,.wp-gr .grw-slider .grw-slider-dot:hover{opacity:1!important}.wp-gr .grw-slider .grw-slider-dot{display:inline-block!important;width:10px!important;height:10px!important;margin:3px!important;background:#ccc!important;border-radius:20px!important;cursor:pointer!important;opacity:.4!important;transition:all .2s ease-in-out!important}.wp-gr .grw-slider-review .wp-google-left{display:block!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}.wp-gr .grw-slider .wp-google-review{margin:0!important}.wp-gr .grw-slider .wp-google-stars{margin:15px 0 5px!important}.wp-gr .grw-slider .wp-google-feedback{height:100px!important;overflow-y:auto!important;padding-right:10px!important}.wp-gr .grw-slider .wp-google-feedback::-webkit-scrollbar{width:4px!important}.wp-gr .grw-slider .wp-google-feedback::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,0.3)!important;-webkit-border-radius:4px!important;border-radius:4px!important}.wp-gr .grw-slider .wp-google-feedback::-webkit-scrollbar-thumb{-webkit-border-radius:10px!important;border-radius:10px!important;background:#ccc!important;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,0.5)!important}.wp-gr .grw-slider .wp-google-feedback::-webkit-scrollbar-thumb:window-inactive{background:#ccc!important}.wp-gr .wp-google-wr{margin:15px auto 0 -6px!important}.wp-gr .wp-google-wr a{color:#fff!important;padding:8px 20px!important;border-radius:27px!important;background:#427fed!important;white-space:nowrap!important;text-shadow:1px 1px 0 #888!important;box-shadow:0 0 2px rgba(0,0,0,.12),0 2px 4px rgba(0,0,0,.24)!important;user-select:none!important;transition:all .2s ease-in-out!important}.wp-gr .wp-google-wr a:hover{background:#1f67e7!important}
1
+ .wpac,.wpac h1,.wpac h2,.wpac h3,.wpac h4,.wpac h5,.wpac h6,.wpac p,.wpac td,.wpac dl,.wpac tr,.wpac dt,.wpac ol,.wpac form,.wpac select,.wpac option,.wpac pre,.wpac div,.wpac table,.wpac th,.wpac tbody,.wpac tfoot,.wpac caption,.wpac thead,.wpac ul,.wpac li,.wpac address,.wpac blockquote,.wpac dd,.wpac fieldset,.wpac li,.wpac strong,.wpac legend,.wpac em,.wpac s,.wpac cite,.wpac span,.wpac input,.wpac sup,.wpac label,.wpac dfn,.wpac object,.wpac big,.wpac q,.wpac font,.wpac samp,.wpac acronym,.wpac small,.wpac img,.wpac strike,.wpac code,.wpac sub,.wpac ins,.wpac textarea,.wpac var,.wpac a,.wpac abbr,.wpac applet,.wpac del,.wpac kbd,.wpac tt,.wpac b,.wpac i,.wpac hr{background-attachment:scroll!important;background-color:transparent!important;background-image:none!important;background-position:0 0!important;background-repeat:repeat!important;border-color:black!important;border-color:currentColor!important;border-radius:0!important;border-style:none!important;border-width:medium!important;bottom:auto!important;clear:none!important;clip:auto!important;color:inherit!important;counter-increment:none!important;counter-reset:none!important;cursor:auto!important;direction:inherit!important;display:inline;float:none!important;font-family:inherit!important;font-size:inherit!important;font-style:inherit!important;font-variant:normal!important;font-weight:inherit!important;height:auto;left:auto!important;letter-spacing:normal!important;line-height:inherit!important;list-style-type:inherit!important;list-style-position:outside!important;list-style-image:none!important;margin:0!important;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:1;outline:invert none medium!important;overflow:visible!important;padding:0!important;position:static!important;quotes:"" ""!important;right:auto!important;table-layout:auto!important;text-align:inherit!important;text-decoration:inherit!important;text-indent:0!important;text-transform:none!important;top:auto!important;unicode-bidi:normal!important;vertical-align:baseline!important;visibility:inherit!important;white-space:normal!important;width:auto!important;word-spacing:normal!important;z-index:auto!important;-moz-border-radius:0!important;-webkit-border-radius:0!important;-moz-box-sizing:border-box!important;-webkit-box-sizing:border-box!important;box-sizing:border-box!important;text-shadow:none!important;-webkit-transition:none!important;transition:none!important;-webkit-box-shadow:none!important;box-shadow:none!important}.wpac,.wpac h3,.wpac h5,.wpac p,.wpac h1,.wpac dl,.wpac dt,.wpac h6,.wpac ol,.wpac form,.wpac select,.wpac option,.wpac pre,.wpac div,.wpac h2,.wpac caption,.wpac h4,.wpac ul,.wpac address,.wpac blockquote,.wpac dd,.wpac fieldset,.wpac textarea,.wpac hr{display:block}.wpac table{display:table}.wpac tbody{display:table-row-group}.wpac tr{display:table-row}.wpac td{display:table-cell}.wpac ul{list-style-type:none!important}.wpac li{display:list-item;min-height:auto!important;min-width:auto!important}.wpac a,.wpac a *,.wpac input[type=submit],.wpac input[type=radio],.wpac input[type=checkbox],.wpac select{cursor:pointer!important}.wpac a:hover{text-decoration:none!important}.wpac button,.wpac input[type=submit]{height:auto!important;text-align:center!important}.wpac input[type=hidden]{display:none}.wpac select{-webkit-appearance:menulist!important;-moz-appearance:menulist!important;appearance:menulist!important}.wpac input[type=checkbox]{-webkit-appearance:checkbox!important;-moz-appearance:checkbox!important;appearance:checkbox!important}.wpac input[type="checkbox"]:before,.wpac input[type="checkbox"]:after{content:none!important;border:0!important}.wpac input[type=radio]{-webkit-appearance:radio!important;-moz-appearance:radio!important;appearance:radio!important}.wpac input[type="radio"]:before,.wpac input[type="radio"]:after{content:none!important;border:0!important}.wpac li:before,.wpac li:after{content:""!important}.wpac input,.wpac select{vertical-align:middle!important}.wpac select,.wpac textarea,.wpac input{border:1px solid #ccc!important}.wpac table{border-collapse:collapse!important;border-spacing:0!important}.wpac *[dir=rtl]{direction:rtl!important}.wpac img{border:0!important}.wpac svg{vertical-align:middle!important;-moz-box-sizing:content-box!important;-webkit-box-sizing:content-box!important;box-sizing:content-box!important}.wpac{font-size:14px!important;line-height:20px!important;direction:inherit!important;text-align:inherit!important;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif!important;color:#333!important;font-style:normal!important;font-weight:normal!important;text-decoration:none!important;list-style-type:disc!important}.wp-gr .wp-google-badge{display:inline-block;font-family:Helvetica Neue,Helvetica,Arial,sans-serif!important;box-shadow:0 2px 5px 0 rgba(0,0,0,.26)!important}.wp-gr .wp-google-badge-fixed{position:fixed!important;right:30px!important;bottom:30px!important;max-width:none!important;z-index:2147482999!important;box-shadow:0 2px 5px 0 rgba(0,0,0,.26)!important}.wp-gr .wp-google-badge_left-fixed{position:fixed!important;left:30px!important;bottom:30px!important;max-width:none!important;z-index:2147482999!important}.wp-gr .wp-google-badge *{cursor:pointer!important}.wp-gr .wp-google-border{width:100%!important;height:6px!important;background:#4fce6a!important;border-radius:2px 2px 0 0!important}.wp-gr .wp-google-badge-btn{position:relative!important;padding:10px!important;background:#fff!important;transition:all .2s ease-in-out!important;border-radius:2px!important}.wp-gr .wp-google-badge-btn:hover{background:#f3f3f5!important}.wp-gr .wp-google-badge-score{display:inline-block;margin:0 0 0 4px!important;vertical-align:middle!important}.wp-gr .wp-google-rating{color:#e7711b!important;font-size:20px!important;font-weight:600!important;margin:0 6px 0 0!important;vertical-align:middle!important}.wp-gr .wp-google-stars .wp-star{padding:0 4px 0 0!important;line-height:22px!important}.wp-gr .wp-google-powered{color:#777!important;margin:6px 0 0!important}.wp-gr .wp-google-powered img{max-width:144px!important}.wp-gr .wp-google-form .wp-google-reviews{padding:16px 16px 0!important}.wp-gr .wp-google-review{margin-top:15px!important}.wp-gr .wp-google-left{display:table-cell!important;vertical-align:top!important}[dir="ltr"] .wp-google-left{padding-right:10px!important}[dir="rtl"] .wp-google-left{padding-left:10px!important}.wp-gr .wp-google-left img{border:none!important;float:left!important;height:50px!important;width:50px!important;margin-right:5px!important;border-radius:50%!important;box-shadow:0 0 2px rgba(0,0,0,.12),0 2px 4px rgba(0,0,0,.24)!important}.wp-gr .wp-google-reviews img{border-radius:50%!important}.wp-gr .wp-google-right{display:table-cell!important;vertical-align:top!important;width:10000px!important}.wp-gr .wp-google-place .wp-star svg{width:20px!important;height:20px!important;vertical-align:middle!important}.wp-gr .wp-star svg{display:inline-block!important}.wp-gr .wp-google-review .wp-star svg{width:18px!important;height:18px!important;vertical-align:middle!important}.wp-gr .wp-google-name{color:black!important;font-size:100%!important;font-weight:bold!important;margin:0 0 2px!important;padding-right:6px!important;text-decoration:none!important}.wp-gr a.wp-google-name{color:#427fed!important;text-decoration:none!important}.wp-gr .wp-google-time{color:#999!important;font-size:13px!important}.wp-gr .wp-google-text{color:#222!important;font-size:13px!important;line-height:18px!important;max-width:100%!important;overflow:hidden!important;white-space:pre-wrap!important;word-break:break-word!important}.wp-gr .wp-google-text .wp-google-stars{padding-right:7px!important}.wp-gr .wp-more{display:none}.wp-gr .wp-more-toggle{color:#136aaf!important;cursor:pointer!important;text-decoration:none!important}.wp-gr .wp-google-url{display:block;margin:10px 0!important;color:#2c7cff!important;text-align:center!important}.wp-gr .wp-google-form{position:fixed!important;bottom:0!important;right:0!important;height:100%!important;width:368px!important;z-index:2147483000!important}.wp-gr .wp-google-form.wp-google-form-left{left:0!important}@media(max-width:460px){.wp-gr .wp-google-form{width:100%!important}}.wp-gr .wp-google-head{position:absolute!important;top:0!important;right:0!important;width:100%!important;height:80px!important;background:#fff!important;padding:10px 16px!important;overflow:hidden!important;box-shadow:0 1px 2px 0 rgba(0,0,0,.12)!important;z-index:2147483002!important}.wp-gr .wp-google-head-inner{z-index:2147483000!important;position:absolute!important;left:20px!important;top:20px!important;width:100%!important;height:100%!important;pointer-events:none!important}.wp-gr .wp-google-close{padding:0!important;cursor:pointer!important;outline:0!important;border:0!important;background:0 0!important;min-height:0!important;width:auto!important;float:right!important;font-size:32px!important;font-weight:500!important;line-height:.6!important;color:#999!important;-webkit-appearance:none!important}.wp-gr .wp-google-close:hover{color:#555!important}.wp-gr .wp-google-body{position:absolute!important;top:0!important;right:0!important;bottom:0!important;width:100%!important;background:rgba(250,250,251,.98)!important;border-left:1px solid #dadee2!important;box-shadow:0 0 4px 1px rgba(0,0,0,.08)!important;z-index:2147483000!important}.wp-gr .wp-google-content{position:absolute!important;top:0!important;right:0!important;bottom:0!important;width:100%!important;overflow-y:auto!important;z-index:2147483001!important;-webkit-transform:translateZ(0)!important}.wp-gr .wp-google-content{top:80px!important;bottom:48px!important}.wp-gr .wp-google-content-inner{position:relative!important;min-height:100%!important;margin:0 auto!important}.wp-gr .wp-google-footer{position:absolute!important;bottom:0!important;right:0!important;width:100%!important;height:48px!important;text-align:center!important;z-index:2147483002!important;background:#fff!important;box-shadow:0 -1px 2px 0 rgba(0,0,0,.06)!important;-moz-text-align-last:center!important;text-align-last:center!important}.wp-gr .wp-google-footer img{float:right!important;padding:16px!important}.wp-gr .wp-dark .wp-google-name{color:#eee!important}.wp-gr .wp-dark .wp-google-time{color:#bbb!important}.wp-gr .wp-dark .wp-google-text{color:#ececec!important}.wp-gr.wpac .wp-google-name{font-size:100%!important}.wp-gr.wpac .wp-google-hide{display:none}.wp-gr.wpac .wp-google-name a{color:#333!important;font-size:100%!important;text-decoration:none!important}.wp-gr.wpac .wp-google-left img{width:50px!important;height:50px!important;border-radius:50%!important}.wp-gr.wpac a.wp-google-name{color:#427fed!important;text-decoration:none!important;white-space:nowrap!important;text-overflow:ellipsis!important}.wp-gr.wpac .wp-google-place .wp-star svg{width:20px;height:20px}.wp-gr.wpac .wp-google-review .wp-google-stars{display:inline-block;margin-right:4px!important}.wp-gr.wpac .wp-google-review .wp-star svg{width:18px;height:18px}.wp-gr.wpac .wp-dark .wp-google-name a{color:#eee!important}@media(max-width:480px){.wp-google-badge.wp-google-badge-fixed.wp-google-badge-hide{display:none!important}}@media(max-width:480px){.wp-google-badge.wp-google-badge_left-fixed.wp-google-badge-hide{display:none!important}}.wp-gr .grw-slider{display:block!important;width:100%!important;padding-bottom:20px!important;text-align:left!important;direction:ltr!important;box-sizing:border-box!important}.wp-gr .grw-slider .grw-row{display:-ms-flexbox!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;-ms-flex-wrap:nowrap!important;-ms-flex-align:center!important}.wp-gr .grw-slider .grw-row-xs{-ms-flex-wrap:wrap!important;flex-wrap:wrap!important}.wp-gr .grw-row-xs .grw-slider-header,.wp-gr .grw-row-xs .grw-slider-content,.wp-gr .grw-row-xs .grw-slider-review{-ms-flex:0 0 100%!important;flex:0 0 100%!important;max-width:100%!important}.wp-gr .grw-row-x .grw-slider-header,.wp-gr .grw-row-x .grw-slider-header+.grw-slider-content{-ms-flex:0 0 50%!important;flex:0 0 50%!important;max-width:50%!important}.wp-gr .grw-row-x .grw-slider-review{-ms-flex:0 0 100%!important;flex:0 0 100%!important;max-width:100%!important}.wp-gr .grw-row-s .grw-slider-header{-ms-flex:0 0 33.333333%!important;flex:0 0 33.333333%!important;max-width:33.333333%!important}.wp-gr .grw-row-s .grw-slider-header+.grw-slider-content{-ms-flex:0 0 66.666666%!important;flex:0 0 66.666666%!important;max-width:66.666666%!important}.wp-gr .grw-row-s .grw-slider-review{-ms-flex:0 0 50%!important;flex:0 0 50%!important;max-width:50%!important}.wp-gr .grw-row-m .grw-slider-header{-ms-flex:0 0 25%!important;flex:0 0 25%!important;max-width:25%!important}.wp-gr .grw-row-m .grw-slider-header+.grw-slider-content{-ms-flex:0 0 75%!important;flex:0 0 75%!important;max-width:75%!important}.wp-gr .grw-row-m .grw-slider-review{-ms-flex:0 0 33.333333%!important;flex:0 0 33.333333%!important;max-width:33.333333%!important}.wp-gr .grw-row-l .grw-slider-header{-ms-flex:0 0 20%!important;flex:0 0 20%!important;max-width:20%!important}.wp-gr .grw-row-l .grw-slider-header+.grw-slider-content{-ms-flex:0 0 80%!important;flex:0 0 80%!important;max-width:80%!important}.wp-gr .grw-row-l .grw-slider-review{-ms-flex:0 0 25%!important;flex:0 0 25%!important;max-width:25%!important}.wp-gr .grw-row-xl .grw-slider-header{-ms-flex:0 0 16.666666%!important;flex:0 0 16.666666%!important;max-width:16.666666%!important}.wp-gr .grw-row-xl .grw-slider-header+.grw-slider-content{-ms-flex:0 0 83.333333%!important;flex:0 0 83.333333%!important;max-width:83.333333%!important}.wp-gr .grw-row-xl .grw-slider-review{-ms-flex:0 0 20%!important;flex:0 0 20%!important;max-width:20%!important}.wp-gr .grw-slider .grw-slider-content{position:relative!important}.wp-gr .grw-slider .grw-slider-content-inner{position:relative!important}.wp-gr .grw-slider .grw-slider-header-inner,.wp-gr .grw-slider .grw-slider-review-inner{position:relative!important;margin:0 10px!important;padding:15px!important;width:100%!important}.wp-gr .grw-slider:not(.wp-dark) .grw-slider-review-inner.grw-slider-review-border{background:#fafafa!important;border-radius:4px!important;box-shadow:0 0 2px rgba(0,0,0,.12),0 2px 4px rgba(0,0,0,.24)!important}.wp-gr .grw-slider .grw-slider-review-inner>svg{position:absolute!important;top:10px!important;right:10px!important;width:18px!important;height:18px!important}.wp-gr .grw-slider .grw-slider-reviews{display:flex!important;display:-ms-flexbox!important;overflow:hidden!important;overflow-x:scroll!important;margin:0 20px!important;padding:10px 0 15px!important;flex-wrap:nowrap!important;-ms-flex-wrap:nowrap!important;scroll-snap-type:x mandatory!important;scroll-behavior:smooth!important;-webkit-overflow-scrolling:touch!important}.wp-gr .grw-slider .grw-slider-reviews::-webkit-scrollbar{display:none!important}.wp-gr .grw-slider .grw-slider-review{display:flex!important;position:relative!important;justify-content:center!important;align-items:center!important;flex-shrink:0!important;scroll-snap-align:start!important;transform-origin:center center!important;transform:scale(1)!important;transition:transform .5s!important}.wp-gr .grw-slider .grw-slider-controls{position:absolute!important;top:50%!important;width:100%!important}.wp-gr .grw-slider .grw-slider-btns{position:absolute!important;color:#ccc!important;height:28px!important;width:28px!important;font-size:45px!important;line-height:22px!important;text-align:center!important;cursor:pointer!important;border-radius:50%!important;user-select:none!important;transition:all .2s ease-in-out!important}.wp-gr .grw-slider .grw-slider-btns:hover{color:#999!important}.wp-gr .grw-slider .grw-slider-btns.grw-slider-prev{left:0!important;margin-left:-3px!important}.wp-gr .grw-slider .grw-slider-btns.grw-slider-next{right:0!important;margin-right:-3px!important}.wp-gr .grw-slider .grw-slider-dots{position:absolute!important;left:50%!important;transform:translate(-50%,0)!important;text-align:center!important}.wp-gr .grw-slider .grw-slider-dot{display:inline-block!important;width:9px!important;height:9px!important;margin:3px!important;background:#ccc!important;border-radius:20px!important;cursor:pointer!important;opacity:.4!important;transition:all .2s ease-in-out!important}.wp-gr .grw-slider .grw-slider-dot:hover{opacity:1!important}.wp-gr .grw-slider .grw-slider-dot.active{opacity:1!important;background:#427fed!important}.wp-gr .grw-slider-review .wp-google-left{display:block!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}.wp-gr .grw-slider .wp-google-review{margin:0!important}.wp-gr .grw-slider .wp-google-stars{margin:15px 0 5px!important}.wp-gr .grw-slider .wp-google-feedback{height:100px!important;overflow-y:auto!important;padding-right:10px!important}.wp-gr .grw-slider .wp-google-feedback::-webkit-scrollbar{width:4px!important}.wp-gr .grw-slider .wp-google-feedback::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,0.3)!important;-webkit-border-radius:4px!important;border-radius:4px!important}.wp-gr .grw-slider .wp-google-feedback::-webkit-scrollbar-thumb{-webkit-border-radius:10px!important;border-radius:10px!important;background:#ccc!important;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,0.5)!important}.wp-gr .grw-slider .wp-google-feedback::-webkit-scrollbar-thumb:window-inactive{background:#ccc!important}.wp-gr .wp-google-wr{margin:15px auto 0 -6px!important}.wp-gr .wp-google-wr a{color:#fff!important;padding:8px 20px 10px!important;border-radius:27px!important;background:#427fed!important;white-space:nowrap!important;text-shadow:1px 1px 0 #888!important;box-shadow:0 0 2px rgba(0,0,0,.12),0 2px 4px rgba(0,0,0,.24)!important;user-select:none!important;transition:all .2s ease-in-out!important}.wp-gr .wp-google-wr a:hover{background:#1f67e7!important}.wp-gr .wp-google-wr a svg{padding:1px;margin:0 0 0 4px;background:#fff;border-radius:50%}
assets/js/admin-main.js CHANGED
@@ -1,6 +1,6 @@
1
  jQuery(document).ready(function(a){a(".grw-admin-page a.nav-tab").on("click",function(c){var b=a(this),d=b.attr("href");a(d).show().siblings(".tab-content").hide();b.addClass("nav-tab-active").siblings().removeClass("nav-tab-active");c.preventDefault()})});
2
  var GRW_HTML_CONTENT='<div class="grw-builder-platforms grw-builder-inside"><div class="grw-toggle grw-builder-connect grw-connect-google">Connect Google</div><div class="grw-connect-google-inside" style="display:none"><div class="grw-builder-option"><input type="text" class="grw-connect-id" value="" placeholder="Place ID" /><span class="grw-quest grw-toggle" title="Click to help">?</span><div class="grw-quest-help">The standard way to find your Google Place ID is to go to <a href="https://developers.google.com/places/place-id" target="_blank">https://developers.google.com/places/place-id</a> and search for your company name.<br><br>But sometimes it may not work, in this case please see <a href="'+GRW_VARS.supportUrl+
3
- '&grw_tab=fig#place_id" target="_blank">how to find any Google Place ID</a>.</div></div><div class="grw-builder-option"><select class="grw-connect-lang"><option value="" selected="selected">Choose language if required</option><option value="ar">Arabic</option><option value="bg">Bulgarian</option><option value="bn">Bengali</option><option value="ca">Catalan</option><option value="cs">Czech</option><option value="da">Danish</option><option value="de">German</option><option value="el">Greek</option><option value="en">English</option><option value="es">Spanish</option><option value="eu">Basque</option><option value="eu">Basque</option><option value="fa">Farsi</option><option value="fi">Finnish</option><option value="fil">Filipino</option><option value="fr">French</option><option value="gl">Galician</option><option value="gu">Gujarati</option><option value="hi">Hindi</option><option value="hr">Croatian</option><option value="hu">Hungarian</option><option value="id">Indonesian</option><option value="it">Italian</option><option value="iw">Hebrew</option><option value="ja">Japanese</option><option value="kn">Kannada</option><option value="ko">Korean</option><option value="lt">Lithuanian</option><option value="lv">Latvian</option><option value="ml">Malayalam</option><option value="mr">Marathi</option><option value="nl">Dutch</option><option value="no">Norwegian</option><option value="pl">Polish</option><option value="pt">Portuguese</option><option value="pt-BR">Portuguese (Brazil)</option><option value="pt-PT">Portuguese (Portugal)</option><option value="ro">Romanian</option><option value="ru">Russian</option><option value="sk">Slovak</option><option value="sl">Slovenian</option><option value="sr">Serbian</option><option value="sv">Swedish</option><option value="ta">Tamil</option><option value="te">Telugu</option><option value="th">Thai</option><option value="tl">Tagalog</option><option value="tr">Turkish</option><option value="uk">Ukrainian</option><option value="vi">Vietnamese</option><option value="zh">Chinese (Simplified)</option><option value="zh-Hant">Chinese (Traditional)</option></select></div><div class="grw-builder-option"><button class="grw-connect-btn">Connect Google</button><small class="grw-connect-error"></small></div></div><div class="grw-connections"></div></div><div class="grw-connect-options"><div class="grw-builder-inside"><div class="grw-builder-option">Layout<select id="view_mode" name="view_mode"><option value="slider" selected="selected">Slider</option><option value="list">List</option></select></div><div class="grw-builder-option">Slider speed<input type="text" name="slider_speed" value="" placeholder="5 seconds"></div><div class="grw-builder-option">Slider: text height<input type="text" name="slider_text_height" value="" placeholder="100px"></div><div class="grw-builder-option">Pagination<input type="text" name="pagination" value=""></div><div class="grw-builder-option">Maximum characters before \'read more\' link<input type="text" name="text_size" value=""></div><div class="grw-builder-option">Maximum width<input type="text" name="max_width" value="" placeholder="for instance: 300px"></div><div class="grw-builder-option">Maximum height<input type="text" name="max_height" value="" placeholder="for instance: 500px"></div><div class="grw-builder-option"><label><input type="checkbox" name="header_hide_social" value="">Hide headers</label></div><div class="grw-builder-option"><label><input type="checkbox" name="hide_based_on" value="">Hide \'Based on ... reviews\'</label></div><div class="grw-builder-option"><label><input type="checkbox" name="hide_reviews" value="">Hide reviews, leave only rating header</label></div><div class="grw-builder-option"><label><input type="checkbox" name="slider_hide_border" value="">Slider: hide border</label></div><div class="grw-builder-option"><label><input type="checkbox" name="slider_hide_prevnext" value="">Slider: hide prev & next buttons</label></div><div class="grw-builder-option"><label><input type="checkbox" name="slider_hide_dots" value="">Slider: hide dots</label></div><div class="grw-builder-option"><label><input type="checkbox" name="centered" value="">Place by center (only if Width is set)</label></div><div class="grw-builder-option"><label><input type="checkbox" name="dark_theme">Dark background</label></div></div><div class="grw-builder-top grw-toggle">Advance Options</div><div class="grw-builder-inside" style="display:none"><div class="grw-builder-option"><label><input type="checkbox" name="lazy_load_img" checked>Lazy load images</label></div><div class="grw-builder-option"><label><input type="checkbox" name="google_def_rev_link">Use default Google reviews link</label><span class="grw-quest grw-quest-top grw-toggle" title="Click to help">?</span><div class="grw-quest-help" style="display:none;">If the direct link to all reviews <b>https://search.google.com/local/reviews?placeid=&lt;PLACE_ID&gt;</b> does not work with your Google place (leads to 404), please use this option to use the default reviews link to Google map.</div></div><div class="grw-builder-option"><label><input type="checkbox" name="open_link" checked>Open links in new Window</label></div><div class="grw-builder-option"><label><input type="checkbox" name="nofollow_link" checked>Use no follow links</label></div><div class="grw-builder-option">Reviewer avatar size<select name="reviewer_avatar_size"><option value="56" selected="selected">Small: 56px</option><option value="128">Medium: 128px</option><option value="256">Large: 256px</option></select></div><div class="grw-builder-option">Cache data<select name="cache"><option value="1">1 Hour</option><option value="3">3 Hours</option><option value="6">6 Hours</option><option value="12" selected="selected">12 Hours</option><option value="24">1 Day</option><option value="48">2 Days</option><option value="168">1 Week</option><option value="">Disable (NOT recommended)</option></select></div><div class="grw-builder-option">Reviews limit<input type="text" name="reviews_limit" value=""></div></div></div>';
4
  function grw_builder_init(a,c){var b=document.querySelector(c.el);if(b){b.innerHTML=GRW_HTML_CONTENT;c.conns&&grw_deserialize_connections(a,b,c.conns,c.opts);var d=b.querySelector(".grw-connect-google-inside");grw_connection(a,d,"google",c.authcode);a('.grw-connect-options input[type="text"],.grw-connect-options textarea').keyup(function(){grw_serialize_connections()});a('.grw-connect-options input[type="checkbox"],.grw-connect-options select').change(function(){grw_serialize_connections()});a(".grw-toggle",
5
  b).unbind("click").click(function(){a(this).toggleClass("toggled");a(this).next().slideToggle()});a(".grw-connections").sortable&&(a(".grw-connections").sortable({stop:function(a,b){grw_serialize_connections()}}),a(".grw-connections").disableSelection());a(".wp-review-hide").click(function(){grw_review_hide(a(this));return!1});a("#grw_save").click(function(){grw_feed_save_ajax();return!1})}}
6
  function grw_feed_save_ajax(a){if(!window.grw_title.value)return window.grw_title.focus(),!1;window.grw_save.innerText="Auto save, wait";window.grw_save.disabled=!0;jQuery.post(ajaxurl,{post_id:window.grw_post_id.value,title:window.grw_title.value,content:document.getElementById("grw-builder-connection").value,action:"grw_feed_save_ajax"},function(a){for(var b=document.querySelectorAll(".wp-gr"),c=0;c<b.length;c++)b[c].parentNode.removeChild(b[c]);window.grw_collection_preview.innerHTML=a;jQuery(".wp-review-hide").unbind("click").click(function(){grw_review_hide(jQuery(this));
1
  jQuery(document).ready(function(a){a(".grw-admin-page a.nav-tab").on("click",function(c){var b=a(this),d=b.attr("href");a(d).show().siblings(".tab-content").hide();b.addClass("nav-tab-active").siblings().removeClass("nav-tab-active");c.preventDefault()})});
2
  var GRW_HTML_CONTENT='<div class="grw-builder-platforms grw-builder-inside"><div class="grw-toggle grw-builder-connect grw-connect-google">Connect Google</div><div class="grw-connect-google-inside" style="display:none"><div class="grw-builder-option"><input type="text" class="grw-connect-id" value="" placeholder="Place ID" /><span class="grw-quest grw-toggle" title="Click to help">?</span><div class="grw-quest-help">The standard way to find your Google Place ID is to go to <a href="https://developers.google.com/places/place-id" target="_blank">https://developers.google.com/places/place-id</a> and search for your company name.<br><br>But sometimes it may not work, in this case please see <a href="'+GRW_VARS.supportUrl+
3
+ '&grw_tab=fig#place_id" target="_blank">how to find any Google Place ID</a>.</div></div><div class="grw-builder-option"><select class="grw-connect-lang"><option value="" selected="selected">Choose language if required</option><option value="ar">Arabic</option><option value="bg">Bulgarian</option><option value="bn">Bengali</option><option value="ca">Catalan</option><option value="cs">Czech</option><option value="da">Danish</option><option value="de">German</option><option value="el">Greek</option><option value="en">English</option><option value="es">Spanish</option><option value="eu">Basque</option><option value="eu">Basque</option><option value="fa">Farsi</option><option value="fi">Finnish</option><option value="fil">Filipino</option><option value="fr">French</option><option value="gl">Galician</option><option value="gu">Gujarati</option><option value="hi">Hindi</option><option value="hr">Croatian</option><option value="hu">Hungarian</option><option value="id">Indonesian</option><option value="it">Italian</option><option value="iw">Hebrew</option><option value="ja">Japanese</option><option value="kn">Kannada</option><option value="ko">Korean</option><option value="lt">Lithuanian</option><option value="lv">Latvian</option><option value="ml">Malayalam</option><option value="mr">Marathi</option><option value="nl">Dutch</option><option value="no">Norwegian</option><option value="pl">Polish</option><option value="pt">Portuguese</option><option value="pt-BR">Portuguese (Brazil)</option><option value="pt-PT">Portuguese (Portugal)</option><option value="ro">Romanian</option><option value="ru">Russian</option><option value="sk">Slovak</option><option value="sl">Slovenian</option><option value="sr">Serbian</option><option value="sv">Swedish</option><option value="ta">Tamil</option><option value="te">Telugu</option><option value="th">Thai</option><option value="tl">Tagalog</option><option value="tr">Turkish</option><option value="uk">Ukrainian</option><option value="vi">Vietnamese</option><option value="zh">Chinese (Simplified)</option><option value="zh-Hant">Chinese (Traditional)</option></select></div><div class="grw-builder-option"><button class="grw-connect-btn">Connect Google</button><small class="grw-connect-error"></small></div></div><div class="grw-connections"></div></div><div class="grw-connect-options"><div class="grw-builder-inside"><div class="grw-builder-option">Layout<select id="view_mode" name="view_mode"><option value="slider" selected="selected">Slider</option><option value="list">List</option></select></div></div><div class="grw-builder-top grw-toggle">Common Options</div><div class="grw-builder-inside" style="display:none"><div class="grw-builder-option">Pagination<input type="text" name="pagination" value=""></div><div class="grw-builder-option">Maximum characters before \'read more\' link<input type="text" name="text_size" value=""></div><div class="grw-builder-option"><label><input type="checkbox" name="hide_based_on" value="">Hide \'Based on ... reviews\'</label></div><div class="grw-builder-option"><label><input type="checkbox" name="header_hide_social" value="">Hide rating header, leave only reviews</label></div><div class="grw-builder-option"><label><input type="checkbox" name="hide_reviews" value="">Hide reviews, leave only rating header</label></div></div><div class="grw-builder-top grw-toggle">Slider Options</div><div class="grw-builder-inside" style="display:none"><div class="grw-builder-option">Speed in second<input type="text" name="slider_speed" value="" placeholder="Default: 5"></div><div class="grw-builder-option">Text height<input type="text" name="slider_text_height" value="" placeholder="Default: 100px"></div><div class="grw-builder-option"><label><input type="checkbox" name="slider_hide_border" value="">Hide background</label></div><div class="grw-builder-option"><label><input type="checkbox" name="slider_hide_prevnext" value="">Hide prev & next buttons</label></div><div class="grw-builder-option"><label><input type="checkbox" name="slider_hide_dots" value="">Hide dots</label></div></div><div class="grw-builder-top grw-toggle">Style Options</div><div class="grw-builder-inside" style="display:none"><div class="grw-builder-option">Container max-width<input type="text" name="max_width" value="" placeholder="for instance: 300px"></div><div class="grw-builder-option">Container max-height<input type="text" name="max_height" value="" placeholder="for instance: 500px"></div><div class="grw-builder-option"><label><input type="checkbox" name="centered" value="">Place by center (only if max-width is set)</label></div><div class="grw-builder-option"><label><input type="checkbox" name="dark_theme">Dark background</label></div></div><div class="grw-builder-top grw-toggle">Advance Options</div><div class="grw-builder-inside" style="display:none"><div class="grw-builder-option"><label><input type="checkbox" name="lazy_load_img" checked>Lazy load images</label></div><div class="grw-builder-option"><label><input type="checkbox" name="google_def_rev_link">Use default Google reviews link</label><span class="grw-quest grw-quest-top grw-toggle" title="Click to help">?</span><div class="grw-quest-help" style="display:none;">If the direct link to all reviews <b>https://search.google.com/local/reviews?placeid=&lt;PLACE_ID&gt;</b> does not work with your Google place (leads to 404), please use this option to use the default reviews link to Google map.</div></div><div class="grw-builder-option"><label><input type="checkbox" name="open_link" checked>Open links in new Window</label></div><div class="grw-builder-option"><label><input type="checkbox" name="nofollow_link" checked>Use no follow links</label></div><div class="grw-builder-option">Reviewer avatar size<select name="reviewer_avatar_size"><option value="56" selected="selected">Small: 56px</option><option value="128">Medium: 128px</option><option value="256">Large: 256px</option></select></div><div class="grw-builder-option">Cache data<select name="cache"><option value="1">1 Hour</option><option value="3">3 Hours</option><option value="6">6 Hours</option><option value="12" selected="selected">12 Hours</option><option value="24">1 Day</option><option value="48">2 Days</option><option value="168">1 Week</option><option value="">Disable (NOT recommended)</option></select></div><div class="grw-builder-option">Reviews limit<input type="text" name="reviews_limit" value=""></div></div></div>';
4
  function grw_builder_init(a,c){var b=document.querySelector(c.el);if(b){b.innerHTML=GRW_HTML_CONTENT;c.conns&&grw_deserialize_connections(a,b,c.conns,c.opts);var d=b.querySelector(".grw-connect-google-inside");grw_connection(a,d,"google",c.authcode);a('.grw-connect-options input[type="text"],.grw-connect-options textarea').keyup(function(){grw_serialize_connections()});a('.grw-connect-options input[type="checkbox"],.grw-connect-options select').change(function(){grw_serialize_connections()});a(".grw-toggle",
5
  b).unbind("click").click(function(){a(this).toggleClass("toggled");a(this).next().slideToggle()});a(".grw-connections").sortable&&(a(".grw-connections").sortable({stop:function(a,b){grw_serialize_connections()}}),a(".grw-connections").disableSelection());a(".wp-review-hide").click(function(){grw_review_hide(a(this));return!1});a("#grw_save").click(function(){grw_feed_save_ajax();return!1})}}
6
  function grw_feed_save_ajax(a){if(!window.grw_title.value)return window.grw_title.focus(),!1;window.grw_save.innerText="Auto save, wait";window.grw_save.disabled=!0;jQuery.post(ajaxurl,{post_id:window.grw_post_id.value,title:window.grw_title.value,content:document.getElementById("grw-builder-connection").value,action:"grw_feed_save_ajax"},function(a){for(var b=document.querySelectorAll(".wp-gr"),c=0;c<b.length;c++)b[c].parentNode.removeChild(b[c]);window.grw_collection_preview.innerHTML=a;jQuery(".wp-review-hide").unbind("click").click(function(){grw_review_hide(jQuery(this));
assets/js/public-main.js CHANGED
@@ -69,8 +69,8 @@ function _rplg_lang(){var a=navigator;return(a.language||a.systemLanguage||a.use
69
  function _rplg_timeago(a){for(var b=0;b<a.length;b++){var d=a[b].className;-1<d.indexOf("google")?(d=parseInt(a[b].getAttribute("data-time")),d*=1E3):d=-1<d.indexOf("facebook")?(new Date(a[b].getAttribute("data-time").replace(/\+\d+$/,""))).getTime():(new Date(a[b].getAttribute("data-time").replace(/ /,"T"))).getTime();a[b].innerHTML=WPacTime.getTime(d,_rplg_lang(),"ago")}}
70
  function _rplg_init_blazy(a){window.Blazy?window.rplg_blazy=new Blazy({selector:"img.rplg-blazy"}):0<a&&setTimeout(function(){_rplg_init_blazy(a-1)},200)}function _rplg_read_more(){for(var a=document.querySelectorAll(".wp-more-toggle"),b=0;b<a.length;b++)(function(a){a.onclick=function(){a.parentNode.removeChild(a.previousSibling.previousSibling);a.previousSibling.className="";a.textContent=""}})(a[b])}
71
  function _rplg_get_parent(a,b){b=b||"rplg";if(0>a.className.split(" ").indexOf(b))for(;(a=a.parentElement)&&0>a.className.split(" ").indexOf(b););return a}
72
- function _grw_init_slider(a){function b(){var b=a.querySelector(".grw-slider .grw-row");b.className=510>b.offsetWidth?"grw-row grw-row-xs":750>b.offsetWidth?"grw-row grw-row-x":1100>b.offsetWidth?"grw-row grw-row-s":1450>b.offsetWidth?"grw-row grw-row-m":1800>b.offsetWidth?"grw-row grw-row-l":"grw-row grw-row-xl";n.length&&setTimeout(d,200)}function d(){var b=a.querySelector(".grw-slider-reviews"),d=a.querySelectorAll(".grw-slider-review"),f=b.offsetWidth/d[0].offsetWidth,h=Math.ceil(d.length/f),
73
- l=a.querySelector(".grw-slider-dots");if(l){l.innerHTML="";for(var g=0;g<h;g++){var k=document.createElement("div");k.className="grw-slider-dot";x=Math.ceil((b.scrollLeft+(b.scrollLeft+d[0].offsetWidth*f))/2*h/b.scrollWidth);x==g+1&&(k.className="grw-slider-dot active");k.setAttribute("data-index",g+1);k.setAttribute("data-visible",f);l.appendChild(k);k.onclick=function(){var b=a.querySelector(".grw-slider-dot.active");b=parseInt(b.getAttribute("data-index"));var d=parseInt(this.getAttribute("data-index")),
74
  f=parseInt(this.getAttribute("data-visible"));b<d?e(f*Math.abs(d-b)):t.scrollBy(-n[0].offsetWidth*f*Math.abs(d-b),0);a.querySelector(".grw-slider-dot.active").className="grw-slider-dot";this.className="grw-slider-dot active";m&&clearInterval(m)}}}}function e(a){t.scrollBy(n[0].offsetWidth*a,0)}function f(){var b=a.querySelector(".grw-slider-review:last-child"),d=b.getBoundingClientRect();b=b.parentNode.getBoundingClientRect();(2>Math.abs(b.left-d.left)||b.left<=d.left)&&d.left<b.right&&(2>Math.abs(b.right-
75
  d.right)||b.right>=d.right)&&d.right>b.left?t.scrollBy(-t.scrollWidth,0):e(1);m=setTimeout(f,1E3*u.speed)}var h=a.querySelector(".grw-slider"),u=JSON.parse(h.getAttribute("data-options")),t=a.querySelector(".grw-slider-reviews"),n=a.querySelectorAll(".grw-slider-review"),v=null,m=null,k=function(){(h.offsetWidth||h.offsetHeight||h.getClientRects().length)&&"hidden"!==window.getComputedStyle(h).visibility?(b(),_rplg_init_blazy(10),n.length&&setTimeout(f,300)):setTimeout(k,300)};k();window.addEventListener("resize",
76
  function(){clearTimeout(v);v=setTimeout(function(){b()},150)});t.addEventListener("scroll",function(){setTimeout(d,200);window.rplg_blazy&&window.rplg_blazy.revalidate()});var l=a.querySelector(".grw-slider-prev");l&&(l.onclick=function(){t.scrollBy(-n[0].offsetWidth,0);m&&clearInterval(m)});if(l=a.querySelector(".grw-slider-next"))l.onclick=function(){e(1);m&&clearInterval(m)}}
69
  function _rplg_timeago(a){for(var b=0;b<a.length;b++){var d=a[b].className;-1<d.indexOf("google")?(d=parseInt(a[b].getAttribute("data-time")),d*=1E3):d=-1<d.indexOf("facebook")?(new Date(a[b].getAttribute("data-time").replace(/\+\d+$/,""))).getTime():(new Date(a[b].getAttribute("data-time").replace(/ /,"T"))).getTime();a[b].innerHTML=WPacTime.getTime(d,_rplg_lang(),"ago")}}
70
  function _rplg_init_blazy(a){window.Blazy?window.rplg_blazy=new Blazy({selector:"img.rplg-blazy"}):0<a&&setTimeout(function(){_rplg_init_blazy(a-1)},200)}function _rplg_read_more(){for(var a=document.querySelectorAll(".wp-more-toggle"),b=0;b<a.length;b++)(function(a){a.onclick=function(){a.parentNode.removeChild(a.previousSibling.previousSibling);a.previousSibling.className="";a.textContent=""}})(a[b])}
71
  function _rplg_get_parent(a,b){b=b||"rplg";if(0>a.className.split(" ").indexOf(b))for(;(a=a.parentElement)&&0>a.className.split(" ").indexOf(b););return a}
72
+ function _grw_init_slider(a){function b(){var b=a.querySelector(".grw-slider .grw-row");b.className=510>b.offsetWidth?"grw-row grw-row-xs":750>b.offsetWidth?"grw-row grw-row-x":1100>b.offsetWidth?"grw-row grw-row-s":1450>b.offsetWidth?"grw-row grw-row-m":1800>b.offsetWidth?"grw-row grw-row-l":"grw-row grw-row-xl";n.length&&setTimeout(d,200)}function d(){var b=a.querySelector(".grw-slider-reviews"),d=a.querySelectorAll(".grw-slider-review"),f=Math.round(b.offsetWidth/d[0].offsetWidth),h=Math.ceil(d.length/
73
+ f),l=a.querySelector(".grw-slider-dots");if(l){l.innerHTML="";for(var g=0;g<h;g++){var k=document.createElement("div");k.className="grw-slider-dot";x=Math.ceil((b.scrollLeft+(b.scrollLeft+d[0].offsetWidth*f))/2*h/b.scrollWidth);x==g+1&&(k.className="grw-slider-dot active");k.setAttribute("data-index",g+1);k.setAttribute("data-visible",f);l.appendChild(k);k.onclick=function(){var b=a.querySelector(".grw-slider-dot.active");b=parseInt(b.getAttribute("data-index"));var d=parseInt(this.getAttribute("data-index")),
74
  f=parseInt(this.getAttribute("data-visible"));b<d?e(f*Math.abs(d-b)):t.scrollBy(-n[0].offsetWidth*f*Math.abs(d-b),0);a.querySelector(".grw-slider-dot.active").className="grw-slider-dot";this.className="grw-slider-dot active";m&&clearInterval(m)}}}}function e(a){t.scrollBy(n[0].offsetWidth*a,0)}function f(){var b=a.querySelector(".grw-slider-review:last-child"),d=b.getBoundingClientRect();b=b.parentNode.getBoundingClientRect();(2>Math.abs(b.left-d.left)||b.left<=d.left)&&d.left<b.right&&(2>Math.abs(b.right-
75
  d.right)||b.right>=d.right)&&d.right>b.left?t.scrollBy(-t.scrollWidth,0):e(1);m=setTimeout(f,1E3*u.speed)}var h=a.querySelector(".grw-slider"),u=JSON.parse(h.getAttribute("data-options")),t=a.querySelector(".grw-slider-reviews"),n=a.querySelectorAll(".grw-slider-review"),v=null,m=null,k=function(){(h.offsetWidth||h.offsetHeight||h.getClientRects().length)&&"hidden"!==window.getComputedStyle(h).visibility?(b(),_rplg_init_blazy(10),n.length&&setTimeout(f,300)):setTimeout(k,300)};k();window.addEventListener("resize",
76
  function(){clearTimeout(v);v=setTimeout(function(){b()},150)});t.addEventListener("scroll",function(){setTimeout(d,200);window.rplg_blazy&&window.rplg_blazy.revalidate()});var l=a.querySelector(".grw-slider-prev");l&&(l.onclick=function(){t.scrollBy(-n[0].offsetWidth,0);m&&clearInterval(m)});if(l=a.querySelector(".grw-slider-next"))l.onclick=function(){e(1);m&&clearInterval(m)}}
assets/src/css/public-main.css CHANGED
@@ -568,14 +568,11 @@
568
  transform: translate(-50%, 0)!important;
569
  text-align: center!important;
570
  }
571
- .wp-gr .grw-slider .grw-slider-dot.active,
572
- .wp-gr .grw-slider .grw-slider-dot:hover {
573
- opacity: 1!important;
574
- }
575
  .wp-gr .grw-slider .grw-slider-dot {
576
  display: inline-block!important;
577
- width: 10px!important;
578
- height: 10px!important;
579
  margin: 3px!important;
580
  background: #cccccc!important;
581
  border-radius: 20px!important;
@@ -584,6 +581,15 @@
584
  transition: all .2s ease-in-out!important;
585
  }
586
 
 
 
 
 
 
 
 
 
 
587
  /*-------------------------------- slider overrides --------------------------------*/
588
  .wp-gr .grw-slider-review .wp-google-left {
589
  display: block!important;
@@ -633,7 +639,7 @@
633
 
634
  .wp-gr .wp-google-wr a {
635
  color: #fff!important;
636
- padding: 8px 20px!important;
637
  border-radius: 27px!important;
638
  background: #427fed!important;
639
  white-space: nowrap!important;
@@ -645,4 +651,11 @@
645
 
646
  .wp-gr .wp-google-wr a:hover {
647
  background: #1f67e7!important;
 
 
 
 
 
 
 
648
  }
568
  transform: translate(-50%, 0)!important;
569
  text-align: center!important;
570
  }
571
+
 
 
 
572
  .wp-gr .grw-slider .grw-slider-dot {
573
  display: inline-block!important;
574
+ width: 9px!important;
575
+ height: 9px!important;
576
  margin: 3px!important;
577
  background: #cccccc!important;
578
  border-radius: 20px!important;
581
  transition: all .2s ease-in-out!important;
582
  }
583
 
584
+ .wp-gr .grw-slider .grw-slider-dot:hover {
585
+ opacity: 1!important;
586
+ }
587
+
588
+ .wp-gr .grw-slider .grw-slider-dot.active {
589
+ opacity: 1!important;
590
+ background: #427fed !important;
591
+ }
592
+
593
  /*-------------------------------- slider overrides --------------------------------*/
594
  .wp-gr .grw-slider-review .wp-google-left {
595
  display: block!important;
639
 
640
  .wp-gr .wp-google-wr a {
641
  color: #fff!important;
642
+ padding: 8px 20px 10px!important;
643
  border-radius: 27px!important;
644
  background: #427fed!important;
645
  white-space: nowrap!important;
651
 
652
  .wp-gr .wp-google-wr a:hover {
653
  background: #1f67e7!important;
654
+ }
655
+
656
+ .wp-gr .wp-google-wr a svg {
657
+ padding: 1px;
658
+ margin: 0 0 0 4px;
659
+ background: #fff;
660
+ border-radius: 50%;
661
  }
assets/src/js/admin-builder.js CHANGED
@@ -100,94 +100,96 @@ var GRW_HTML_CONTENT = '' +
100
  '</select>' +
101
  '</div>' +
102
 
103
- '<div class="grw-builder-option">' +
104
- 'Slider speed' +
105
- '<input type="text" name="slider_speed" value="" placeholder="5 seconds">' +
106
- '</div>' +
107
-
108
- '<div class="grw-builder-option">' +
109
- 'Slider: text height' +
110
- '<input type="text" name="slider_text_height" value="" placeholder="100px">' +
111
- '</div>' +
112
 
 
 
 
113
  '<div class="grw-builder-option">' +
114
  'Pagination' +
115
  '<input type="text" name="pagination" value="">' +
116
  '</div>' +
117
-
118
  '<div class="grw-builder-option">' +
119
  'Maximum characters before \'read more\' link' +
120
  '<input type="text" name="text_size" value="">' +
121
  '</div>' +
122
-
123
- '<div class="grw-builder-option">' +
124
- 'Maximum width' +
125
- '<input type="text" name="max_width" value="" placeholder="for instance: 300px">' +
126
- '</div>' +
127
-
128
- '<div class="grw-builder-option">' +
129
- 'Maximum height' +
130
- '<input type="text" name="max_height" value="" placeholder="for instance: 500px">' +
131
- '</div>' +
132
-
133
  '<div class="grw-builder-option">' +
134
  '<label>' +
135
- '<input type="checkbox" name="header_hide_social" value="">' +
136
- 'Hide headers' +
137
  '</label>' +
138
  '</div>' +
139
-
140
  '<div class="grw-builder-option">' +
141
  '<label>' +
142
- '<input type="checkbox" name="hide_based_on" value="">' +
143
- 'Hide \'Based on ... reviews\'' +
144
  '</label>' +
145
  '</div>' +
146
-
147
  '<div class="grw-builder-option">' +
148
  '<label>' +
149
  '<input type="checkbox" name="hide_reviews" value="">' +
150
  'Hide reviews, leave only rating header' +
151
  '</label>' +
152
  '</div>' +
 
153
 
 
 
 
 
 
 
 
 
 
 
 
154
  '<div class="grw-builder-option">' +
155
  '<label>' +
156
  '<input type="checkbox" name="slider_hide_border" value="">' +
157
- 'Slider: hide border' +
158
  '</label>' +
159
  '</div>' +
160
-
161
  '<div class="grw-builder-option">' +
162
  '<label>' +
163
  '<input type="checkbox" name="slider_hide_prevnext" value="">' +
164
- 'Slider: hide prev & next buttons' +
165
  '</label>' +
166
  '</div>' +
167
-
168
  '<div class="grw-builder-option">' +
169
  '<label>' +
170
  '<input type="checkbox" name="slider_hide_dots" value="">' +
171
- 'Slider: hide dots' +
172
  '</label>' +
173
  '</div>' +
 
174
 
 
 
 
 
 
 
 
 
 
 
 
175
  '<div class="grw-builder-option">' +
176
  '<label>' +
177
  '<input type="checkbox" name="centered" value="">' +
178
- 'Place by center (only if Width is set)' +
179
  '</label>' +
180
  '</div>' +
181
-
182
  '<div class="grw-builder-option">' +
183
  '<label>' +
184
  '<input type="checkbox" name="dark_theme">' +
185
  'Dark background' +
186
  '</label>' +
187
  '</div>' +
188
-
189
  '</div>' +
190
 
 
191
  '<div class="grw-builder-top grw-toggle">Advance Options</div>' +
192
  '<div class="grw-builder-inside" style="display:none">' +
193
  '<div class="grw-builder-option">' +
100
  '</select>' +
101
  '</div>' +
102
 
103
+ '</div>' +
 
 
 
 
 
 
 
 
104
 
105
+ /* Common Options */
106
+ '<div class="grw-builder-top grw-toggle">Common Options</div>' +
107
+ '<div class="grw-builder-inside" style="display:none">' +
108
  '<div class="grw-builder-option">' +
109
  'Pagination' +
110
  '<input type="text" name="pagination" value="">' +
111
  '</div>' +
 
112
  '<div class="grw-builder-option">' +
113
  'Maximum characters before \'read more\' link' +
114
  '<input type="text" name="text_size" value="">' +
115
  '</div>' +
 
 
 
 
 
 
 
 
 
 
 
116
  '<div class="grw-builder-option">' +
117
  '<label>' +
118
+ '<input type="checkbox" name="hide_based_on" value="">' +
119
+ 'Hide \'Based on ... reviews\'' +
120
  '</label>' +
121
  '</div>' +
 
122
  '<div class="grw-builder-option">' +
123
  '<label>' +
124
+ '<input type="checkbox" name="header_hide_social" value="">' +
125
+ 'Hide rating header, leave only reviews' +
126
  '</label>' +
127
  '</div>' +
 
128
  '<div class="grw-builder-option">' +
129
  '<label>' +
130
  '<input type="checkbox" name="hide_reviews" value="">' +
131
  'Hide reviews, leave only rating header' +
132
  '</label>' +
133
  '</div>' +
134
+ '</div>' +
135
 
136
+ /* Slider Options */
137
+ '<div class="grw-builder-top grw-toggle">Slider Options</div>' +
138
+ '<div class="grw-builder-inside" style="display:none">' +
139
+ '<div class="grw-builder-option">' +
140
+ 'Speed in second' +
141
+ '<input type="text" name="slider_speed" value="" placeholder="Default: 5">' +
142
+ '</div>' +
143
+ '<div class="grw-builder-option">' +
144
+ 'Text height' +
145
+ '<input type="text" name="slider_text_height" value="" placeholder="Default: 100px">' +
146
+ '</div>' +
147
  '<div class="grw-builder-option">' +
148
  '<label>' +
149
  '<input type="checkbox" name="slider_hide_border" value="">' +
150
+ 'Hide background' +
151
  '</label>' +
152
  '</div>' +
 
153
  '<div class="grw-builder-option">' +
154
  '<label>' +
155
  '<input type="checkbox" name="slider_hide_prevnext" value="">' +
156
+ 'Hide prev & next buttons' +
157
  '</label>' +
158
  '</div>' +
 
159
  '<div class="grw-builder-option">' +
160
  '<label>' +
161
  '<input type="checkbox" name="slider_hide_dots" value="">' +
162
+ 'Hide dots' +
163
  '</label>' +
164
  '</div>' +
165
+ '</div>' +
166
 
167
+ /* Style Options */
168
+ '<div class="grw-builder-top grw-toggle">Style Options</div>' +
169
+ '<div class="grw-builder-inside" style="display:none">' +
170
+ '<div class="grw-builder-option">' +
171
+ 'Container max-width' +
172
+ '<input type="text" name="max_width" value="" placeholder="for instance: 300px">' +
173
+ '</div>' +
174
+ '<div class="grw-builder-option">' +
175
+ 'Container max-height' +
176
+ '<input type="text" name="max_height" value="" placeholder="for instance: 500px">' +
177
+ '</div>' +
178
  '<div class="grw-builder-option">' +
179
  '<label>' +
180
  '<input type="checkbox" name="centered" value="">' +
181
+ 'Place by center (only if max-width is set)' +
182
  '</label>' +
183
  '</div>' +
 
184
  '<div class="grw-builder-option">' +
185
  '<label>' +
186
  '<input type="checkbox" name="dark_theme">' +
187
  'Dark background' +
188
  '</label>' +
189
  '</div>' +
 
190
  '</div>' +
191
 
192
+ /* Advance Options */
193
  '<div class="grw-builder-top grw-toggle">Advance Options</div>' +
194
  '<div class="grw-builder-inside" style="display:none">' +
195
  '<div class="grw-builder-option">' +
assets/src/js/public-main.js CHANGED
@@ -167,7 +167,7 @@ function _grw_init_slider(el) {
167
  var reviews_elem = el.querySelector('.grw-slider-reviews'),
168
  review_elems = el.querySelectorAll('.grw-slider-review'),
169
  t = review_elems.length,
170
- v = reviews_elem.offsetWidth / review_elems[0].offsetWidth;
171
 
172
  var dots = Math.ceil(t/v),
173
  dotscnt = el.querySelector('.grw-slider-dots');
167
  var reviews_elem = el.querySelector('.grw-slider-reviews'),
168
  review_elems = el.querySelectorAll('.grw-slider-review'),
169
  t = review_elems.length,
170
+ v = Math.round(reviews_elem.offsetWidth / review_elems[0].offsetWidth);
171
 
172
  var dots = Math.ceil(t/v),
173
  dotscnt = el.querySelector('.grw-slider-dots');
grw.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Widget for Google Reviews
4
  Plugin URI: https://richplugins.com/business-reviews-bundle-wordpress-plugin
5
  Description: Instantly Google Places Reviews on your website to increase user confidence and SEO.
6
- Version: 2.1.7
7
  Author: RichPlugins <support@richplugins.com>
8
  Author URI: https://richplugins.com
9
  Text Domain: widget-google-reviews
@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
18
 
19
  require(ABSPATH . 'wp-includes/version.php');
20
 
21
- define('GRW_VERSION' , '2.1.7');
22
  define('GRW_PLUGIN_FILE' , __FILE__);
23
  define('GRW_PLUGIN_URL' , plugins_url(basename(plugin_dir_path(__FILE__ )), basename(__FILE__)));
24
  define('GRW_ASSETS_URL' , GRW_PLUGIN_URL . '/assets/');
3
  Plugin Name: Widget for Google Reviews
4
  Plugin URI: https://richplugins.com/business-reviews-bundle-wordpress-plugin
5
  Description: Instantly Google Places Reviews on your website to increase user confidence and SEO.
6
+ Version: 2.1.8
7
  Author: RichPlugins <support@richplugins.com>
8
  Author URI: https://richplugins.com
9
  Text Domain: widget-google-reviews
18
 
19
  require(ABSPATH . 'wp-includes/version.php');
20
 
21
+ define('GRW_VERSION' , '2.1.8');
22
  define('GRW_PLUGIN_FILE' , __FILE__);
23
  define('GRW_PLUGIN_URL' , plugins_url(basename(plugin_dir_path(__FILE__ )), basename(__FILE__)));
24
  define('GRW_ASSETS_URL' , GRW_PLUGIN_URL . '/assets/');
includes/class-view.php CHANGED
@@ -217,7 +217,7 @@ class View {
217
 
218
  <?php if ($show_writereview) { ?>
219
  <div class="wp-google-wr">
220
- <a href="https://search.google.com/local/writereview?placeid=<?php echo $place->id; ?>" onclick="return rplg_leave_review_window.call(this)"><?php echo __('Ready to review?', 'widget-google-reviews'); ?></a>
221
  </div>
222
  <?php } ?>
223
  </div>
217
 
218
  <?php if ($show_writereview) { ?>
219
  <div class="wp-google-wr">
220
+ <a href="https://search.google.com/local/writereview?placeid=<?php echo $place->id; ?>" onclick="return rplg_leave_review_window.call(this)"><?php echo __('review us on', 'widget-google-reviews'); ?><svg viewBox="0 0 512 512" height="18" width="18"><g fill="none" fill-rule="evenodd"><path d="M482.56 261.36c0-16.73-1.5-32.83-4.29-48.27H256v91.29h127.01c-5.47 29.5-22.1 54.49-47.09 71.23v59.21h76.27c44.63-41.09 70.37-101.59 70.37-173.46z" fill="#4285f4"/><path d="M256 492c63.72 0 117.14-21.13 156.19-57.18l-76.27-59.21c-21.13 14.16-48.17 22.53-79.92 22.53-61.47 0-113.49-41.51-132.05-97.3H45.1v61.15c38.83 77.13 118.64 130.01 210.9 130.01z" fill="#34a853"/><path d="M123.95 300.84c-4.72-14.16-7.4-29.29-7.4-44.84s2.68-30.68 7.4-44.84V150.01H45.1C29.12 181.87 20 217.92 20 256c0 38.08 9.12 74.13 25.1 105.99l78.85-61.15z" fill="#fbbc05"/><path d="M256 113.86c34.65 0 65.76 11.91 90.22 35.29l67.69-67.69C373.03 43.39 319.61 20 256 20c-92.25 0-172.07 52.89-210.9 130.01l78.85 61.15c18.56-55.78 70.59-97.3 132.05-97.3z" fill="#ea4335"/><path d="M20 20h472v472H20V20z"/></g></svg></a>
221
  </div>
222
  <?php } ?>
223
  </div>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://richplugins.com/business-reviews-bundle-wordpress-plugin
4
  Tags: google reviews, google, reviews, rating, widget, google business, testimonial, testimonials, google places reviews, map reviews, google my business
5
  Requires at least: 2.8
6
  Tested up to: 5.9
7
- Stable tag: 2.1.7
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -98,6 +98,12 @@ To find out more about who we are and what we do, here are some useful links:
98
 
99
  == Changelog ==
100
 
 
 
 
 
 
 
101
  = 2.1.7 =
102
  * Improve: slider hide prev & next buttons option
103
  * Improve: slider hide dots option
4
  Tags: google reviews, google, reviews, rating, widget, google business, testimonial, testimonials, google places reviews, map reviews, google my business
5
  Requires at least: 2.8
6
  Tested up to: 5.9
7
+ Stable tag: 2.1.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
98
 
99
  == Changelog ==
100
 
101
+ = 2.1.8 =
102
+ * Improve: new slider button text 'review us on G'
103
+ * Improve: separate slider and common options in widget builder
104
+ * Improve: slider active dots blue color
105
+ * Bugfix: slider dots round
106
+
107
  = 2.1.7 =
108
  * Improve: slider hide prev & next buttons option
109
  * Improve: slider hide dots option