WordPress.org

Plugin Directory

Changeset 1731690


Ignore:
Timestamp:
09/18/17 14:05:14 (3 months ago)
Author:
sormano
Message:

Reviewer 1.0.5

Location:
wpreviewer
Files:
16 added
2 deleted
19 edited
39 copied

Legend:

Unmodified
Added
Removed
  • wpreviewer/tags/1.0.5/assets/admin/css/reviewer.min.css

    r1706281 r1731690  
    1 #review_details{overflow:hidden}#review_details .inside{padding:0;margin:0 !important;display:block;position:relative}#review_details .tabs-panels-wrap>.tabs{width:22.5%;min-width:100px;min-height:200px;float:left;box-sizing:border-box;background:#f9f9f9;border-right:1px solid #eee;position:relative}#review_details .tabs-panels-wrap>.tabs:after{content:"";position:absolute;background-color:#f9f9f9;height:9999vw;width:100%;border-right:1px solid #eee;bottom:-9999vw;float:left;left:0;display:block}#review_details .tabs-panels-wrap>.tabs ul{margin:0}#review_details .tabs-panels-wrap>.tabs ul li{border-bottom:1px solid #eee;margin:0}#review_details .tabs-panels-wrap>.tabs ul li.active{background:#fff;margin-right:-1px}#review_details .tabs-panels-wrap>.tabs ul li.active a{color:#666665}#review_details .tabs-panels-wrap>.tabs ul li:hover{background:#fff;margin-right:-1px}#review_details .tabs-panels-wrap>.tabs ul li a{padding:10px;display:block;text-decoration:none}#review_details .tabs-panels-wrap>.tabs ul li a:focus,#review_details .tabs-panels-wrap>.tabs ul li a:active{outline:none;box-shadow:none}#review_details .panels{width:77.5%;float:left;box-sizing:border-box;padding:10px 20px;background:#fff}#review_details .panels .repeater-header{font-weight:bold}#review_details .panels .repeater-row{padding:5px 0}#review_details .panels .repeater-row:first-child .delete-repeater-row{display:none}#review_details .panels .repeater-row .delete-repeater-row{cursor:pointer}#review_details .panels .add-repeat-row{margin-top:5px}#review_details .panels input[type="text"],#review_details .panels input[type="password"],#review_details .panels select,#review_details .panels textarea{max-width:100%;width:100%}#review_details .panels img.help_tip{margin:0}.reviewer-panels .input-field-wrap{padding:5px 20px 5px 162px !important;margin:9px 0}.reviewer-panels .input-field-wrap:after{content:".";display:block;height:0;clear:both;visibility:hidden}.reviewer-panels .input-field-wrap label{float:left;width:150px;padding:3px 0;margin:1px 0 1px -150px;height:20px;line-height:20px}.reviewer-panels .input-field-wrap input[type="text"],.reviewer-panels .input-field-wrap input[type="number"],.reviewer-panels .input-field-wrap textarea{margin:0;float:left;width:100%}#review-detail-panel-attributes .attribute-input,#review-detail-panel-attributes .attribute-actions{display:inline-block;width:44%}#review-detail-panel-attributes .attribute-actions{width:10%;vertical-align:top}#review-detail-panel-attributes .attribute-row-add .attribute-actions{vertical-align:bottom}#review-detail-panel-attributes .attribute-row{margin-top:7px}#review_details #review_categorydiv,#review_details #tagsdiv-review_tag{margin:-10px -20px;border:none;box-shadow:none;-webkit-box-shadow:none;display:block !important}#review_details #review_categorydiv h2,#review_details #review_categorydiv .handlediv,#review_details #review_categorydiv .taxonomy-add-new,#review_details #tagsdiv-review_tag h2,#review_details #tagsdiv-review_tag .handlediv,#review_details #tagsdiv-review_tag .taxonomy-add-new{display:none}#review_details #review_categorydiv .inside,#review_details #tagsdiv-review_tag .inside{padding:10px 20px}#review_details #review_categorydiv .category-add,#review_details #review_categorydiv .tag-add,#review_details #tagsdiv-review_tag .category-add,#review_details #tagsdiv-review_tag .tag-add{display:block}#review_details #review_categorydiv .category-add .form-required,#review_details #review_categorydiv .category-add .postform,#review_details #review_categorydiv .tag-add .form-required,#review_details #review_categorydiv .tag-add .postform,#review_details #tagsdiv-review_tag .category-add .form-required,#review_details #tagsdiv-review_tag .category-add .postform,#review_details #tagsdiv-review_tag .tag-add .form-required,#review_details #tagsdiv-review_tag .tag-add .postform{width:40% !important;width:calc((100% - 160px) / 2) !important;margin-right:5px}#review_details #review_categorydiv .tagsdiv .newtag,#review_details #tagsdiv-review_tag .tagsdiv .newtag{width:180px}#review_details .categorydiv div.tabs-panel{max-height:400px}#side-sortables #tagsdiv-review_tag{display:none}.reviewer-settings.wrap input[type="text"],.reviewer-settings.wrap input[type="number"],.reviewer-settings.wrap select,.reviewer-settings.wrap textarea{min-width:250px}.reviewer-settings.wrap .input-image-size-number{min-width:60px !important;width:60px !important}.reviewer-settings.wrap a.nav-tab:focus{-webkit-box-shadow:none;box-shadow:none}.extensor-box{background:#fff;border:1px solid #ccc;border-radius:2px;padding:10px;float:left;margin:0 20px 20px 0;width:300px;position:relative;overflow:hidden}.extensor-box .ribbon{float:right;text-align:center;color:white;font-weight:bold;padding:5px 10px;right:-40px;top:30px;position:absolute;width:205px;background:#e74c3c;-webkit-transform:rotate(30deg);-moz-transform:rotate(30deg);-ms-transform:rotate(30deg);-o-transform:rotate(30deg);transform:rotate(30deg)}.extensor-box img{max-width:100%;height:auto;margin-bottom:10px}.extensor-box .extensor-header{margin:-10px}.extensor-box .extensor-content{height:60px}.extensor-box .extensor-title{padding:8px 0 !important;margin:0}.extensor-box .extensor-footer .pull-left{float:left}.extensor-box .extensor-footer .pull-right{float:right}.extensor-box .extensor-footer .bold{font-weight:bold}.extensor-box .extensor-footer .notify{line-height:28px}.extensor-box .extensor-footer .notify:focus{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.extensor-box .extensor-footer .notify .dashicons{text-decoration:none;color:#444;margin-right:15px;font-size:30px;line-height:28px}.extensor-box .extensor-footer .notify .dashicons-heart{color:#ff5e52}.extensor-box .will-be-notified{width:100%;height:100%;position:absolute;background:rgba(255,255,255,0.95);top:0;left:0;padding:10px;box-sizing:border-box}.extensor-box .will-be-notified .notified-close{float:right;color:#bbb;cursor:pointer}.extensor-box .will-be-notified .notified-text{text-align:center;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%);margin-top:50%}.extensor-box .will-be-notified .extensor-update-email{text-decoration:none}.extensor-box .animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.extensor-box .animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}@-webkit-keyframes bounce{from, 20%, 53%, 80%, to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}40%, 43%{-webkit-animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);-webkit-transform:translate3d(0, -30px, 0);transform:translate3d(0, -30px, 0)}70%{-webkit-animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);-webkit-transform:translate3d(0, -15px, 0);transform:translate3d(0, -15px, 0)}90%{-webkit-transform:translate3d(0, -4px, 0);transform:translate3d(0, -4px, 0)}}@keyframes bounce{from, 20%, 53%, 80%, to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}40%, 43%{-webkit-animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);-webkit-transform:translate3d(0, -30px, 0);transform:translate3d(0, -30px, 0)}70%{-webkit-animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);-webkit-transform:translate3d(0, -15px, 0);transform:translate3d(0, -15px, 0)}90%{-webkit-transform:translate3d(0, -4px, 0);transform:translate3d(0, -4px, 0)}}.extensor-box .bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes pulse{from{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.25);transform:scale(1.25)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes pulse{from{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.25);transform:scale(1.25)}to{-webkit-transform:scale(1);transform:scale(1)}}.extensor-box .pulse{-webkit-animation-name:pulse;animation-name:pulse}.post-type-review th.column-thumbnail{width:60px;text-align:center}.post-type-review td.column-thumbnail{text-align:center}.post-type-review td.column-thumbnail img{max-width:45px;max-height:45px;width:auto;height:auto}@media screen and (max-width: 782px){.post-type-review th.column-thumbnail{display:none}.post-type-review td:not(.hidden).column-thumbnail{display:inline-block !important}.post-type-review .wp-list-table tr:not(.inline-edit-row) td:not(.check-column).column-title{display:inline-block !important;width:calc( 100% - 130px ) !important}}.modal-container{z-index:99999;position:relative}.reviewer-collapsible.ui-sortable-helper{opacity:0.8}.reviewer-collapsible-placeholder{border:1px dashed #b4b9be;margin:0 auto 10px;height:45px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reviewer-collapsible{margin:0 auto 10px;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reviewer-collapsible-top{font-size:13px;font-weight:600;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.04);box-shadow:0 1px 1px rgba(0,0,0,0.04);background:#fafafa;color:#23282d;cursor:move}.reviewer-collapsible-top:hover .reviewer-collapsible-action-remove{opacity:1}.reviewer-collapsible-top .reviewer-collapsible-action{color:#555d66}.reviewer-collapsible-top a.reviewer-collapsible-action,.reviewer-collapsible-top a.reviewer-collapsible-action:hover{-webkit-box-shadow:none;box-shadow:none;outline:none;text-decoration:none;float:right}.reviewer-collapsible-top a.reviewer-collapsible-action:after{margin-top:10px;margin-right:10px;-webkit-border-radius:50%;border-radius:50%;right:0;content:"\f140";border:none;background:none;cursor:auto;font:normal 20px/1 dashicons;speak:none;display:block;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.reviewer-collapsible-top .reviewer-collapsible-action-remove{line-height:20px;vertical-align:middle;font-size:13px;color:#a00;height:20px;margin:10px 1em 5px 0;display:inline-block;font-weight:normal;float:right;opacity:0}.reviewer-collapsible-top .reviewer-collapsible-action-remove:hover{color:#f00;text-decoration:none}.reviewer-collapsible-top h3,.reviewer-collapsible-top h4{margin:0;padding:15px;font-size:1em;line-height:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.reviewer-collapsible-top .in-reviewer-collapsible-title{color:#665}.reviewer-collapsible-top .reviewer-collapsible-title-action{float:right;position:relative}.reviewer-collapsible.open .reviewer-collapsible-top a.reviewer-collapsible-action:after{content:"\f142"}.reviewer-collapsibles .reviewer-collapsible-inside{padding:1px 15px 15px 15px;line-height:16px;background:#fff;border:1px solid #e5e5e5;border-top:none;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.04);box-shadow:0 1px 1px rgba(0,0,0,0.04)}.reviewer-collapsibles .reviewer-collapsible-inside p{margin:1em 0} 
     1.review-rating-wrap{position:relative;display:inline-block}.review-rating-wrap .star svg{width:30px;height:30px}.review-rating-wrap .review-rating-color{position:absolute;top:0;overflow:hidden;white-space:nowrap}.review-rating-wrap .star:not(.star-colored) svg{fill:#ddd}.review-rating-wrap .star-colored svg{fill:#FFDF88}.review-rating-wrap{float:left;line-height:1.7;margin-right:10px}.review-rating-wrap .star svg{width:18px;height:18px;vertical-align:sub}.review-rating-text-wrap{display:inline-block}.review-rating-text-wrap .rating-text-left{float:left;line-height:1.7;margin-right:5px}.review-rating-text-wrap .rating-text-right{float:right;line-height:1.7}.bounce-spinner{margin-left:auto;margin-right:auto;text-align:center}.bounce-spinner>div{width:18px;height:18px;background-color:#333;border-radius:100%;display:inline-block;-webkit-animation:sk-bouncedelay 1.4s infinite ease-in-out both;animation:sk-bouncedelay 1.4s infinite ease-in-out both}.bounce-spinner .bounce1{-webkit-animation-delay:-0.32s;animation-delay:-0.32s}.bounce-spinner .bounce2{-webkit-animation-delay:-0.16s;animation-delay:-0.16s}@-webkit-keyframes sk-bouncedelay{0%, 80%, 100%{-webkit-transform:scale(0)}40%{-webkit-transform:scale(1)}}@keyframes sk-bouncedelay{0%, 80%, 100%{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}#review_details{overflow:hidden}#review_details .inside{padding:0;margin:0 !important;display:block;position:relative}#review_details .tabs-panels-wrap>.tabs{width:22.5%;min-width:100px;min-height:200px;float:left;box-sizing:border-box;background:#f9f9f9;border-right:1px solid #eee;position:relative}#review_details .tabs-panels-wrap>.tabs:after{content:"";position:absolute;background-color:#f9f9f9;height:9999vw;width:100%;border-right:1px solid #eee;bottom:-9999vw;float:left;left:0;display:block}#review_details .tabs-panels-wrap>.tabs ul{margin:0}#review_details .tabs-panels-wrap>.tabs ul li{border-bottom:1px solid #eee;margin:0}#review_details .tabs-panels-wrap>.tabs ul li.active{background:#fff;margin-right:-1px}#review_details .tabs-panels-wrap>.tabs ul li.active a{color:#666665}#review_details .tabs-panels-wrap>.tabs ul li:hover{background:#fff;margin-right:-1px}#review_details .tabs-panels-wrap>.tabs ul li a{padding:10px;display:block;text-decoration:none}#review_details .tabs-panels-wrap>.tabs ul li a:focus,#review_details .tabs-panels-wrap>.tabs ul li a:active{outline:none;box-shadow:none}#review_details .panels{width:77.5%;float:left;box-sizing:border-box;padding:10px 20px;background:#fff}#review_details .panels .repeater-header{font-weight:bold}#review_details .panels .repeater-row{padding:5px 0}#review_details .panels .repeater-row:first-child .delete-repeater-row{display:none}#review_details .panels .repeater-row .delete-repeater-row{cursor:pointer}#review_details .panels .add-repeat-row{margin-top:5px}#review_details .panels input[type="text"],#review_details .panels input[type="password"],#review_details .panels select,#review_details .panels textarea{max-width:100%;width:100%}#review_details .panels img.help_tip{margin:0}.reviewer-panels .input-field-wrap{padding:5px 20px 5px 162px !important;margin:9px 0}.reviewer-panels .input-field-wrap:after{content:".";display:block;height:0;clear:both;visibility:hidden}.reviewer-panels .input-field-wrap label{float:left;width:150px;padding:3px 0;margin:1px 0 1px -150px;height:20px;line-height:20px}.reviewer-panels .input-field-wrap input[type="text"],.reviewer-panels .input-field-wrap input[type="number"],.reviewer-panels .input-field-wrap textarea{margin:0;float:left;width:100%}#review-detail-panel-attributes .attribute-input,#review-detail-panel-attributes .attribute-actions{display:inline-block;width:44%}#review-detail-panel-attributes .attribute-actions{width:10%;vertical-align:top}#review-detail-panel-attributes .attribute-row-add .attribute-actions{vertical-align:bottom}#review-detail-panel-attributes .attribute-row{margin-top:7px}#review_details #review_categorydiv,#review_details #tagsdiv-review_tag{margin:-10px -20px;border:none;box-shadow:none;-webkit-box-shadow:none;display:block !important}#review_details #review_categorydiv h2,#review_details #review_categorydiv .handlediv,#review_details #review_categorydiv .taxonomy-add-new,#review_details #tagsdiv-review_tag h2,#review_details #tagsdiv-review_tag .handlediv,#review_details #tagsdiv-review_tag .taxonomy-add-new{display:none}#review_details #review_categorydiv .inside,#review_details #tagsdiv-review_tag .inside{padding:10px 20px}#review_details #review_categorydiv .category-add,#review_details #review_categorydiv .tag-add,#review_details #tagsdiv-review_tag .category-add,#review_details #tagsdiv-review_tag .tag-add{display:block}#review_details #review_categorydiv .category-add .form-required,#review_details #review_categorydiv .category-add .postform,#review_details #review_categorydiv .tag-add .form-required,#review_details #review_categorydiv .tag-add .postform,#review_details #tagsdiv-review_tag .category-add .form-required,#review_details #tagsdiv-review_tag .category-add .postform,#review_details #tagsdiv-review_tag .tag-add .form-required,#review_details #tagsdiv-review_tag .tag-add .postform{width:40% !important;width:calc((100% - 160px) / 2) !important;margin-right:5px}#review_details #review_categorydiv .tagsdiv .newtag,#review_details #tagsdiv-review_tag .tagsdiv .newtag{width:180px}#review_details .categorydiv div.tabs-panel{max-height:400px}#side-sortables #tagsdiv-review_tag{display:none}.reviewer-settings.wrap input[type="text"],.reviewer-settings.wrap input[type="number"],.reviewer-settings.wrap select,.reviewer-settings.wrap textarea{min-width:250px}.reviewer-settings.wrap .input-image-size-number{min-width:60px !important;width:60px !important}.reviewer-settings.wrap a.nav-tab:focus{-webkit-box-shadow:none;box-shadow:none}.extensor-box{background:#fff;border:1px solid #ccc;border-radius:2px;padding:10px;float:left;margin:0 20px 20px 0;width:300px;position:relative;overflow:hidden}.extensor-box .ribbon{float:right;text-align:center;color:white;font-weight:bold;padding:5px 10px;right:-40px;top:30px;position:absolute;width:205px;background:#e74c3c;-webkit-transform:rotate(30deg);-moz-transform:rotate(30deg);-ms-transform:rotate(30deg);-o-transform:rotate(30deg);transform:rotate(30deg)}.extensor-box img{max-width:100%;height:auto;margin-bottom:10px}.extensor-box .extensor-header{margin:-10px}.extensor-box .extensor-content{height:60px}.extensor-box .extensor-title{padding:8px 0 !important;margin:0}.extensor-box .extensor-footer .pull-left{float:left}.extensor-box .extensor-footer .pull-right{float:right}.extensor-box .extensor-footer .bold{font-weight:bold}.extensor-box .extensor-footer .notify{line-height:28px}.extensor-box .extensor-footer .notify:focus{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.extensor-box .extensor-footer .notify .dashicons{text-decoration:none;color:#444;margin-right:15px;font-size:30px;line-height:28px}.extensor-box .extensor-footer .notify .dashicons-heart{color:#ff5e52}.extensor-box .will-be-notified{width:100%;height:100%;position:absolute;background:rgba(255,255,255,0.95);top:0;left:0;padding:10px;box-sizing:border-box}.extensor-box .will-be-notified .notified-close{float:right;color:#bbb;cursor:pointer}.extensor-box .will-be-notified .notified-text{text-align:center;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%);margin-top:50%}.extensor-box .will-be-notified .extensor-update-email{text-decoration:none}.extensor-box .animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.extensor-box .animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}@-webkit-keyframes bounce{from, 20%, 53%, 80%, to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}40%, 43%{-webkit-animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);-webkit-transform:translate3d(0, -30px, 0);transform:translate3d(0, -30px, 0)}70%{-webkit-animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);-webkit-transform:translate3d(0, -15px, 0);transform:translate3d(0, -15px, 0)}90%{-webkit-transform:translate3d(0, -4px, 0);transform:translate3d(0, -4px, 0)}}@keyframes bounce{from, 20%, 53%, 80%, to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}40%, 43%{-webkit-animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);-webkit-transform:translate3d(0, -30px, 0);transform:translate3d(0, -30px, 0)}70%{-webkit-animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);-webkit-transform:translate3d(0, -15px, 0);transform:translate3d(0, -15px, 0)}90%{-webkit-transform:translate3d(0, -4px, 0);transform:translate3d(0, -4px, 0)}}.extensor-box .bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes pulse{from{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.25);transform:scale(1.25)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes pulse{from{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.25);transform:scale(1.25)}to{-webkit-transform:scale(1);transform:scale(1)}}.extensor-box .pulse{-webkit-animation-name:pulse;animation-name:pulse}.post-type-review th.column-thumbnail{width:60px;text-align:center}.post-type-review td.column-thumbnail{text-align:center}.post-type-review td.column-thumbnail img{max-width:45px;max-height:45px;width:auto;height:auto}@media screen and (max-width: 782px){.post-type-review th.column-thumbnail{display:none}.post-type-review td:not(.hidden).column-thumbnail{display:inline-block !important}.post-type-review .wp-list-table tr:not(.inline-edit-row) td:not(.check-column).column-title{display:inline-block !important;width:calc( 100% - 130px ) !important}}.modal-container{z-index:99999;position:relative}.reviewer-collapsible.ui-sortable-helper{opacity:0.8}.reviewer-collapsible-placeholder{border:1px dashed #b4b9be;margin:0 auto 10px;height:45px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reviewer-collapsible{margin:0 auto 10px;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reviewer-collapsible-top{font-size:13px;font-weight:600;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.04);box-shadow:0 1px 1px rgba(0,0,0,0.04);background:#fafafa;color:#23282d;cursor:move}.reviewer-collapsible-top:hover .reviewer-collapsible-action-remove{opacity:1}.reviewer-collapsible-top .reviewer-collapsible-action{color:#555d66}.reviewer-collapsible-top a.reviewer-collapsible-action,.reviewer-collapsible-top a.reviewer-collapsible-action:hover{-webkit-box-shadow:none;box-shadow:none;outline:none;text-decoration:none;float:right}.reviewer-collapsible-top a.reviewer-collapsible-action:after{margin-top:10px;margin-right:10px;-webkit-border-radius:50%;border-radius:50%;right:0;content:"\f140";border:none;background:none;cursor:auto;font:normal 20px/1 dashicons;speak:none;display:block;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.reviewer-collapsible-top .reviewer-collapsible-action-remove{line-height:20px;vertical-align:middle;font-size:13px;color:#a00;height:20px;margin:10px 1em 5px 0;display:inline-block;font-weight:normal;float:right;opacity:0}.reviewer-collapsible-top .reviewer-collapsible-action-remove:hover{color:#f00;text-decoration:none}.reviewer-collapsible-top h3,.reviewer-collapsible-top h4{margin:0;padding:15px;font-size:1em;line-height:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.reviewer-collapsible-top .in-reviewer-collapsible-title{color:#665}.reviewer-collapsible-top .reviewer-collapsible-title-action{float:right;position:relative}.reviewer-collapsible.open .reviewer-collapsible-top a.reviewer-collapsible-action:after{content:"\f142"}.reviewer-collapsibles .reviewer-collapsible-inside{padding:1px 15px 15px 15px;line-height:16px;background:#fff;border:1px solid #e5e5e5;border-top:none;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.04);box-shadow:0 1px 1px rgba(0,0,0,0.04)}.reviewer-collapsibles .reviewer-collapsible-inside p{margin:1em 0} 
  • wpreviewer/tags/1.0.5/assets/admin/css/reviewer.scss

    r1590644 r1731690  
    88 * 7. Modals 
    99 * 8. Collapsibles 
    10  *************************************************************/ 
     10 * 9. 
     11 *************************************************************/ 
     12 
     13@import "../../parts/rating"; 
     14@import '../../parts/spinner'; 
    1115 
    1216 
     
    428432    } 
    429433} 
    430  
  • wpreviewer/tags/1.0.5/assets/front-end/css/reviewer.min.css

    r1706281 r1731690  
    1 .clearfix:after,.reviewer-pagination ul:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.clearfix,.reviewer-pagination ul:after{display:inline-block}.review-attributes-wrap{margin:20px 0}.review-attributes{padding:10px 10px 10px 0}.review-attributes .review-attribute{margin-bottom:7px}.review-attributes .review-attribute-name{font-weight:bold;min-width:150px;display:inline-block}.review-rating-wrap{position:relative;display:inline-block}.review-rating-wrap .star svg{width:30px;height:30px}.review-rating-wrap .review-rating-color{position:absolute;top:0;overflow:hidden;white-space:nowrap}.review-rating-wrap .star-colored svg{fill:#FFDF88}.review-featured-image{margin-bottom:1.714285714rem}.single-review .review-meta{border-top:1px solid #999;border-bottom:1px solid #999;padding:7px 0;color:#999;font-size:11px;margin-top:7px}.single-review .review-meta .review-meta-part{white-space:nowrap;display:inline-block}.single-review .review-tags{margin:20px 0;padding:7px 0;border-top:1px solid #999;border-bottom:1px solid #999}.post-type-archive-review .archive-posts,.tax-review_category .archive-posts,.tax-review_tag .archive-posts,.widget_review_list .archive-posts{min-height:50px}.post-type-archive-review .review-intro,.tax-review_category .review-intro,.tax-review_tag .review-intro,.widget_review_list .review-intro{margin:0 0 0 200px;clear:none}.post-type-archive-review .review-featured-image,.tax-review_category .review-featured-image,.tax-review_tag .review-featured-image,.widget_review_list .review-featured-image{display:inline-block;float:left}.post-type-archive-review .review-meta,.tax-review_category .review-meta,.tax-review_tag .review-meta,.widget_review_list .review-meta{color:#999;font-size:11px;margin-top:5px}.post-type-archive-review .review-meta-part,.tax-review_category .review-meta-part,.tax-review_tag .review-meta-part,.widget_review_list .review-meta-part{white-space:nowrap;display:inline-block;line-height:1.4}.post-type-archive-review .entry-header,.tax-review_category .entry-header,.tax-review_tag .entry-header,.widget_review_list .entry-header{margin-bottom:15px}.post-type-archive-review .entry-header .comments-link,.tax-review_category .entry-header .comments-link,.tax-review_tag .entry-header .comments-link,.widget_review_list .entry-header .comments-link{margin-top:0;line-height:1.4}.post-type-archive-review .review-rating-wrap,.tax-review_category .review-rating-wrap,.tax-review_tag .review-rating-wrap,.widget_review_list .review-rating-wrap{float:left;line-height:1.7;margin-right:10px}.post-type-archive-review .review-rating-wrap .star svg,.tax-review_category .review-rating-wrap .star svg,.tax-review_tag .review-rating-wrap .star svg,.widget_review_list .review-rating-wrap .star svg{width:18px;height:18px;vertical-align:sub}.reviewer-pagination{margin-top:25px;text-align:center}.reviewer-pagination ul{display:inline-block}.reviewer-pagination ul li{display:inline-block;border:1px solid #ccc;border-right-width:0;min-width:25px;text-align:center;float:left;margin:0}.reviewer-pagination ul li .page-numbers{display:block;text-decoration:none}.reviewer-pagination ul li a:hover{background:#f5f5f5}.reviewer-pagination ul li .current{background:#f1f1f1}.reviewer-pagination ul li:last-child{border-right-width:1px}.bounce-spinner{margin-left:auto;margin-right:auto;text-align:center}.bounce-spinner>div{width:18px;height:18px;background-color:#333;border-radius:100%;display:inline-block;-webkit-animation:sk-bouncedelay 1.4s infinite ease-in-out both;animation:sk-bouncedelay 1.4s infinite ease-in-out both}.bounce-spinner .bounce1{-webkit-animation-delay:-0.32s;animation-delay:-0.32s}.bounce-spinner .bounce2{-webkit-animation-delay:-0.16s;animation-delay:-0.16s}@-webkit-keyframes sk-bouncedelay{0%, 80%, 100%{-webkit-transform:scale(0)}40%{-webkit-transform:scale(1)}}@keyframes sk-bouncedelay{0%, 80%, 100%{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}.widget_review_categories li{list-style:none}.widget_review_categories li ul.children{margin-left:12px}.widget_review_list li{margin-bottom:15px}.widget_review_list .review-thumbnail{float:left}.widget_review_list .review-thumbnail img{display:block}.widget_review_list .body{margin-left:65px} 
     1.reviewer-notice{background:#f6f6f6;padding:1em 2em;border-left:3px solid #3d84a8;margin-bottom:1.7em;box-shadow:1px 1px 1px rgba(0,0,0,0.1)}.reviewer-notice.success{border-color:#00AD7C}.reviewer-notice.error{border-color:#CB0101}.reviewer-notice.warning{border-color:#F6C90E}.reviewer-notice.info{border-color:#3d84a8}.clearfix:after,.reviewer-pagination ul:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.clearfix,.reviewer-pagination ul:after{display:inline-block}.review-attributes-wrap{margin:20px 0}.review-attributes{padding:10px 10px 10px 0}.review-attributes .review-attribute{margin-bottom:7px}.review-attributes .review-attribute-name{font-weight:bold;min-width:150px;display:inline-block}.review-rating-wrap{position:relative;display:inline-block}.review-rating-wrap .star svg{width:30px;height:30px}.review-rating-wrap .review-rating-color{position:absolute;top:0;overflow:hidden;white-space:nowrap}.review-rating-wrap .star:not(.star-colored) svg{fill:#ddd}.review-rating-wrap .star-colored svg{fill:#FFDF88}.review-rating-wrap{float:left;line-height:1.7;margin-right:10px}.review-rating-wrap .star svg{width:18px;height:18px;vertical-align:sub}.review-rating-text-wrap{display:inline-block}.review-rating-text-wrap .rating-text-left{float:left;line-height:1.7;margin-right:5px}.review-rating-text-wrap .rating-text-right{float:right;line-height:1.7}.review-featured-image{margin-bottom:1.714285714rem}.single-review .review-meta{border-top:1px solid #999;border-bottom:1px solid #999;padding:7px 0;color:#999;font-size:11px;margin-top:7px}.single-review .review-meta .review-meta-part{white-space:nowrap;display:inline-block}.single-review .review-tags{margin:20px 0;padding:7px 0;border-top:1px solid #999;border-bottom:1px solid #999}.post-type-archive-review .archive-posts,.tax-review_category .archive-posts,.tax-review_tag .archive-posts,.widget_review_list .archive-posts{min-height:50px}.post-type-archive-review .review-intro,.tax-review_category .review-intro,.tax-review_tag .review-intro,.widget_review_list .review-intro{margin:0 0 0 200px;clear:none}.post-type-archive-review .review-featured-image,.tax-review_category .review-featured-image,.tax-review_tag .review-featured-image,.widget_review_list .review-featured-image{display:inline-block;float:left}.post-type-archive-review .review-meta,.tax-review_category .review-meta,.tax-review_tag .review-meta,.widget_review_list .review-meta{color:#999;font-size:11px;margin-top:5px}.post-type-archive-review .review-meta-part,.tax-review_category .review-meta-part,.tax-review_tag .review-meta-part,.widget_review_list .review-meta-part{white-space:nowrap;display:inline-block;line-height:1.4}.post-type-archive-review .entry-header,.tax-review_category .entry-header,.tax-review_tag .entry-header,.widget_review_list .entry-header{margin-bottom:15px}.post-type-archive-review .entry-header .comments-link,.tax-review_category .entry-header .comments-link,.tax-review_tag .entry-header .comments-link,.widget_review_list .entry-header .comments-link{margin-top:0;line-height:1.4}.post-type-archive-review .review-rating-wrap,.tax-review_category .review-rating-wrap,.tax-review_tag .review-rating-wrap,.widget_review_list .review-rating-wrap{position:relative;display:inline-block}.post-type-archive-review .review-rating-wrap .star svg,.tax-review_category .review-rating-wrap .star svg,.tax-review_tag .review-rating-wrap .star svg,.widget_review_list .review-rating-wrap .star svg{width:30px;height:30px}.post-type-archive-review .review-rating-wrap .review-rating-color,.tax-review_category .review-rating-wrap .review-rating-color,.tax-review_tag .review-rating-wrap .review-rating-color,.widget_review_list .review-rating-wrap .review-rating-color{position:absolute;top:0;overflow:hidden;white-space:nowrap}.post-type-archive-review .review-rating-wrap .star:not(.star-colored) svg,.tax-review_category .review-rating-wrap .star:not(.star-colored) svg,.tax-review_tag .review-rating-wrap .star:not(.star-colored) svg,.widget_review_list .review-rating-wrap .star:not(.star-colored) svg{fill:#ddd}.post-type-archive-review .review-rating-wrap .star-colored svg,.tax-review_category .review-rating-wrap .star-colored svg,.tax-review_tag .review-rating-wrap .star-colored svg,.widget_review_list .review-rating-wrap .star-colored svg{fill:#FFDF88}.post-type-archive-review .review-rating-wrap,.tax-review_category .review-rating-wrap,.tax-review_tag .review-rating-wrap,.widget_review_list .review-rating-wrap{float:left;line-height:1.7;margin-right:10px}.post-type-archive-review .review-rating-wrap .star svg,.tax-review_category .review-rating-wrap .star svg,.tax-review_tag .review-rating-wrap .star svg,.widget_review_list .review-rating-wrap .star svg{width:18px;height:18px;vertical-align:sub}.post-type-archive-review .review-rating-text-wrap,.tax-review_category .review-rating-text-wrap,.tax-review_tag .review-rating-text-wrap,.widget_review_list .review-rating-text-wrap{display:inline-block}.post-type-archive-review .review-rating-text-wrap .rating-text-left,.tax-review_category .review-rating-text-wrap .rating-text-left,.tax-review_tag .review-rating-text-wrap .rating-text-left,.widget_review_list .review-rating-text-wrap .rating-text-left{float:left;line-height:1.7;margin-right:5px}.post-type-archive-review .review-rating-text-wrap .rating-text-right,.tax-review_category .review-rating-text-wrap .rating-text-right,.tax-review_tag .review-rating-text-wrap .rating-text-right,.widget_review_list .review-rating-text-wrap .rating-text-right{float:right;line-height:1.7}.reviewer-pagination{margin-top:25px;text-align:center}.reviewer-pagination ul{display:inline-block}.reviewer-pagination ul li{display:inline-block;border:1px solid #ccc;border-right-width:0;min-width:25px;text-align:center;float:left;margin:0}.reviewer-pagination ul li .page-numbers{display:block;text-decoration:none}.reviewer-pagination ul li a:hover{background:#f5f5f5}.reviewer-pagination ul li .current{background:#f1f1f1}.reviewer-pagination ul li:last-child{border-right-width:1px}.bounce-spinner{margin-left:auto;margin-right:auto;text-align:center}.bounce-spinner>div{width:18px;height:18px;background-color:#333;border-radius:100%;display:inline-block;-webkit-animation:sk-bouncedelay 1.4s infinite ease-in-out both;animation:sk-bouncedelay 1.4s infinite ease-in-out both}.bounce-spinner .bounce1{-webkit-animation-delay:-0.32s;animation-delay:-0.32s}.bounce-spinner .bounce2{-webkit-animation-delay:-0.16s;animation-delay:-0.16s}@-webkit-keyframes sk-bouncedelay{0%, 80%, 100%{-webkit-transform:scale(0)}40%{-webkit-transform:scale(1)}}@keyframes sk-bouncedelay{0%, 80%, 100%{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}.widget_review_categories li{list-style:none}.widget_review_categories li ul.children{margin-left:12px}.widget_review_list li{margin-bottom:15px}.widget_review_list .review-thumbnail{float:left}.widget_review_list .review-thumbnail img{display:block}.widget_review_list .body{margin-left:65px} 
  • wpreviewer/tags/1.0.5/assets/front-end/css/reviewer.scss

    r1706281 r1731690  
    99 *************************************************************/ 
    1010 
     11@import "./parts/notices"; 
    1112 
    1213/************************************************************** 
     
    5051 
    5152// 2.2 Ratings 
    52 .review-rating-wrap { 
    53     position: relative; 
    54     display: inline-block; 
     53@import "../../parts/rating"; 
    5554 
    56     .star svg { 
    57         width: 30px; 
    58         height: 30px; 
    59     } 
    60     .review-rating-color { 
    61         position: absolute; 
    62         top: 0; 
    63         overflow: hidden; 
    64         white-space: nowrap; 
    65     } 
    66     .star-colored svg { 
    67         fill: #FFDF88; 
    68     } 
    69 } 
    7055 
    7156// 2.3 Image 
     
    133118        line-height: 1.4; 
    134119    } 
    135     .review-rating-wrap { 
    136         float: left; 
    137         line-height: 1.7; 
    138         margin-right: 10px; 
    139120 
    140         .star svg { 
    141             width: 18px; 
    142             height: 18px; 
    143             vertical-align: sub; 
    144         } 
    145     } 
     121    @import "../../parts/rating"; 
    146122} 
    147123 
     
    187163 * 4. Spinner / loading 
    188164 *************************************************************/ 
    189 .bounce-spinner { 
    190     margin-left: auto; 
    191     margin-right: auto; 
    192     //width: 70px; 
    193     text-align: center; 
    194 } 
    195  
    196 .bounce-spinner > div { 
    197     width: 18px; 
    198     height: 18px; 
    199     background-color: #333; 
    200     border-radius: 100%; 
    201     display: inline-block; 
    202     -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both; 
    203     animation: sk-bouncedelay 1.4s infinite ease-in-out both; 
    204 } 
    205  
    206 .bounce-spinner .bounce1 { 
    207     -webkit-animation-delay: -0.32s; 
    208     animation-delay: -0.32s; 
    209 } 
    210  
    211 .bounce-spinner .bounce2 { 
    212     -webkit-animation-delay: -0.16s; 
    213     animation-delay: -0.16s; 
    214 } 
    215  
    216 @-webkit-keyframes sk-bouncedelay { 
    217     0%, 80%, 100% { -webkit-transform: scale(0) } 
    218     40% { -webkit-transform: scale(1.0) } 
    219 } 
    220  
    221 @keyframes sk-bouncedelay { 
    222     0%, 80%, 100% { 
    223         -webkit-transform: scale(0); 
    224         transform: scale(0); 
    225     } 40% { 
    226           -webkit-transform: scale(1.0); 
    227           transform: scale(1.0); 
    228       } 
    229 } 
     165@import '../../parts/spinner'; 
    230166 
    231167/************************************************************** 
  • wpreviewer/tags/1.0.5/class-reviewer.php

    r1706281 r1731690  
    143143 
    144144            // Classes 
     145            require_once 'includes/integration.php'; 
    145146            require_once 'includes/post-types/review.php'; 
    146147            require_once 'includes/review.php'; 
     
    154155 
    155156            // Functions 
     157            require_once 'includes/helper-functions.php'; 
    156158            require_once 'includes/core-functions.php'; 
    157159            require_once 'includes/template-functions.php'; 
  • wpreviewer/tags/1.0.5/includes/admin/admin-functions.php

    r1706281 r1731690  
    3333 
    3434/** 
     35 * Add help tab content. 
     36 * 
     37 * Add content to the help tab on the Reviewer admin pages. 
     38 * 
     39 * @since 1.0.5 
     40 */ 
     41function add_help_tab() { 
     42 
     43    if ( is_reviewer_admin_page() ) { 
     44        $screen = get_current_screen(); 
     45 
     46        if ( ! $screen ) return; 
     47 
     48        ob_start(); 
     49            ?><h2>Reviewer support</h2> 
     50            <p>Looking for support? Feel free to reach out through the <a href="https://wpreviewer.com/support/?utm_source=helptab&utm_medium=wordpressadmin&utm_campaign=reviewer-plugin" target="_blank">support form on https://wpreviewr.com</a></p> 
     51            <p>We'll do our best to respond to each message within 24 hours on business days.</p> 
     52            <h2>Documentation</h2> 
     53            <p>We've already documented a lot of frequent cases, you can take a look through the <a href="https://wpreviewer.com/documentation/?utm_source=helptab&utm_medium=wordpressadmin&utm_campaign=reviewer-plugin" target="_blank">documentation</a> to see if the answer you're looking for is already there.</p> 
     54        <?php 
     55        $support_tab_content = ob_get_clean(); 
     56 
     57        ob_start(); 
     58            ?><h2>Customizing Reviewer</h2> 
     59            <p>Reviewer can very easily be customized. Below are some resources where you can read more on how to do this.</p> 
     60            <ul> 
     61                <li><a href="https://wpreviewer.com/documentation/using-template-files/?utm_source=helptab&utm_medium=wordpressadmin&utm_campaign=reviewer-plugin" target="_blank">Changing the page templates</a></li> 
     62                <li><a href="https://wpreviewer.com/documentation/review-images/?utm_source=helptab&utm_medium=wordpressadmin&utm_campaign=reviewer-plugin" target="_blank">Review images</a></li> 
     63                <li><a href="https://wpreviewer.com/documentation/changing-star-rating/?utm_source=helptab&utm_medium=wordpressadmin&utm_campaign=reviewer-plugin" target="_blank">Changing the star rating</a></li> 
     64            </ul> 
     65            <?php 
     66        $customizing_tab_content = ob_get_clean(); 
     67 
     68        $screen->add_help_tab( array( 
     69            'id' => 'reviewer-support', 
     70            'title' => 'Support', 
     71            'content' => $support_tab_content, 
     72        ) ); 
     73        $screen->add_help_tab( array( 
     74            'id' => 'reviewer-customizing', 
     75            'title' => 'Customizing', 
     76            'content' => $customizing_tab_content, 
     77        ) ); 
     78    } 
     79 
     80} 
     81add_action( 'current_screen', '\Reviewer\Admin\add_help_tab' ); 
     82 
     83 
     84/** 
    3585 * Enqueue scripts. 
    3686 * 
     
    4494 
    4595    // Scripts 
     96    wp_register_script( 'blockit', plugins_url( 'assets/plugins/blockit/blockit' . $min . '.js', Reviewer()->file ), array( 'jquery' ), '0.1.0', true ); 
    4697    wp_register_script( 'jquery-repeater', plugins_url( 'assets/plugins/repeater/jquery.repeater' . $min . '.js', Reviewer()->file ), array( 'jquery' ), '0.1.0', true ); 
    4798    wp_register_script( 'reviewer', plugins_url( 'assets/admin/js/reviewer' . $min . '.js', Reviewer()->file ), array( 'jquery', 'jquery-ui-sortable' ), Reviewer()->version, true ); 
  • wpreviewer/tags/1.0.5/includes/admin/meta-boxes/views/review-details-tab-general.php

    r1706281 r1731690  
    2626            <label for="excerpt"><?php _e( 'Summary', 'reviewer' ); ?></label> 
    2727            <small><?php _e( 'The summary is used on the archive page', 'reviewer' ); ?></small><?php 
    28             wp_editor( $post->post_excerpt, 'excerpt', array( 
     28            wp_editor( $review->post_excerpt, 'excerpt', array( 
    2929                'textarea_rows' => 5, 
    3030            ) ); 
  • wpreviewer/tags/1.0.5/includes/admin/plugin-page-functions.php

    r1653509 r1731690  
    2121        $links[] = '<a href="https://wpreviewer.com/documentation/" target="_blank">' . __( 'Documentation', 'reviewer' ) . '</a>'; 
    2222        $links[] = '<a href="https://wpreviewer.com/extensions/" target="_blank">' . __( 'Extensions', 'reviewer' ) . '</a>'; 
     23        $links[] = '<a href="https://wpreviewer.com/support/" target="_blank">' . __( 'Support', 'reviewer' ) . '</a>'; 
    2324    endif; 
    2425 
  • wpreviewer/tags/1.0.5/includes/core-functions.php

    r1706281 r1731690  
    44if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 
    55 
     6 
     7/** 
     8 * Get reviews. 
     9 * 
     10 * Get Review objects based on the passed arguments. 
     11 * 
     12 * @since 1.0.5 
     13 * 
     14 * @param array $args List of args. 
     15 * @return Review[] List of reviews. 
     16 */ 
     17function get_reviews( $args = array() ) { 
     18 
     19    $query_args = wp_parse_args( $args, array( 
     20        'post_type' => 'review', 
     21    ) ); 
     22    $post_query = new \WP_Query( $query_args ); 
     23    $posts = $post_query->posts; 
     24 
     25    $reviews = array(); 
     26    foreach ( $posts as $post ) { 
     27        $reviews[] = rv_get_review( $post->ID ); 
     28    } 
     29 
     30    return $reviews; 
     31 
     32} 
    633 
    734/** 
  • wpreviewer/tags/1.0.5/includes/post-types/review.php

    r1590644 r1731690  
    193193    public function custom_column_contents( $column, $post_id ) { 
    194194 
    195         $review = new \Reviewer\Review( $post_id ); 
     195        $review = rv_get_review( $post_id ); 
    196196        switch ( $column ) : 
    197197 
  • wpreviewer/tags/1.0.5/includes/review.php

    r1706281 r1731690  
    244244     */ 
    245245    public function get_rating_html() { 
    246         global $review; 
    247         $review = $this; 
    248         return \Reviewer\view_review_rating(); 
     246        return \Reviewer\view_review_rating( $this ); 
    249247    } 
    250248 
  • wpreviewer/tags/1.0.5/includes/template-functions.php

    r1620259 r1731690  
    187187 
    188188    // Fix for verbose page rules 
    189     if ( $GLOBALS['wp_rewrite']->use_verbose_page_rules && isset( $q->queried_object->ID ) && $q->queried_object->ID == get_option( 'reviewer_review_archive_page_id' ) ) { 
     189    if ( isset( $q->queried_object->ID ) && $q->queried_object->ID == get_option( 'reviewer_review_archive_page_id' ) ) { 
    190190        $q->set( 'post_type', 'review' ); 
    191191        $q->set( 'page', '' ); 
     
    299299function setup_review_global( $post ) { 
    300300 
    301     if ( $post->post_type != 'review' ) { 
     301    if ( ! in_array( $post->post_type, array_keys( Reviewer()->post_types ) ) ) { 
    302302        return; 
    303303    } 
     
    305305    global $review; 
    306306 
    307     $review = new Review( $post->ID ); 
     307    $review = rv_get_review( $post->ID ); 
    308308 
    309309} 
     
    337337 
    338338 
    339 function view_review_rating() { 
    340  
    341     get_template( 'single-review/rating.php' ); 
     339function view_review_rating( $review = null ) { 
     340 
     341    if ( ! is_a( $review, '\Reviewer\Review' ) ) { 
     342        global $review; 
     343    } 
     344 
     345    $rating      = $review->get_rating(); 
     346    $max_rating  = $review->get_max_rating(); 
     347    $color_width = 100 / $max_rating * $rating; 
     348 
     349    if ( empty( $rating ) ) { 
     350        return; 
     351    } 
     352 
     353    get_template( 'global/rating.php', compact( 'review', 'rating', 'max_rating', 'color_width' ) ); 
    342354 
    343355} 
  • wpreviewer/tags/1.0.5/readme.txt

    r1706281 r1731690  
    33Tags: review, reviews, rating, ratings, reviewer, product review, product reviews, rich snippets, wp review, wp rating, star rating, rating platform 
    44Requires at least: 4.2 
    5 Tested up to: 4.8 
    6 Stable tag: 1.0.4 
     5Tested up to: 4.8.1 
     6Stable tag: 1.0.5 
    77License: GPLv3 or later 
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html 
     
    6868= 1.0.4 - 2017/08/01 = 
    6969 
     70* [Fix] - Excerpts being escaped on every save 
     71* [Fix] - Error when using reviews as homepage AND using 'default' permalinks setting 
     72* [Add] - Help tab in the top right corner with helpful text / links 
     73* [Add] - Integration helper class for extensions 
     74 
     75= 1.0.4 - 2017/08/01 = 
     76 
    7077* [Add] - New review List widget to list top rated, most recent reviews. + taking suggestions. 
    7178* [Fix] - 'I want this' links on the 'Extensions' page were not working - Sorry! - Please re-submit if interested. 
  • wpreviewer/tags/1.0.5/templates/content-single-review.php

    r1592362 r1731690  
    6464/** 
    6565 * @hooked \Reviewer\view_review_tags - 25 
    66  * @hooked \Reviewer\view_review_comment - 30 
     66 * @hooked \Reviewer\view_review_comments - 30 
    6767 */ 
    6868do_action( 'reviewer\review\after' ); 
  • wpreviewer/tags/1.0.5/templates/single-review/meta.php

    r1620259 r1731690  
    2323$author = sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s" rel="author">%3$s</a></span>', 
    2424    esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), 
    25     esc_attr( sprintf( __( 'Reviewed by %s', 'reviewer' ), get_the_author() ) ), 
    26     get_the_author() 
     25    esc_attr( sprintf( __( 'Reviewed by %s', 'reviewer' ), $review->get_author_name() ) ), 
     26    $review->get_author_name() 
    2727); 
    2828 
  • wpreviewer/tags/1.0.5/templates/widgets/list.php

    r1706281 r1731690  
    2222 
    2323        while ( $reviews->have_posts() ) : $reviews->the_post(); 
    24             $review = new \Reviewer\Review( get_the_ID() ); 
     24            $review = rv_get_review( get_the_ID() ); 
    2525 
    2626            ?><li class="clear"><?php 
  • wpreviewer/trunk/assets/admin/css/reviewer.min.css

    r1706281 r1731690  
    1 #review_details{overflow:hidden}#review_details .inside{padding:0;margin:0 !important;display:block;position:relative}#review_details .tabs-panels-wrap>.tabs{width:22.5%;min-width:100px;min-height:200px;float:left;box-sizing:border-box;background:#f9f9f9;border-right:1px solid #eee;position:relative}#review_details .tabs-panels-wrap>.tabs:after{content:"";position:absolute;background-color:#f9f9f9;height:9999vw;width:100%;border-right:1px solid #eee;bottom:-9999vw;float:left;left:0;display:block}#review_details .tabs-panels-wrap>.tabs ul{margin:0}#review_details .tabs-panels-wrap>.tabs ul li{border-bottom:1px solid #eee;margin:0}#review_details .tabs-panels-wrap>.tabs ul li.active{background:#fff;margin-right:-1px}#review_details .tabs-panels-wrap>.tabs ul li.active a{color:#666665}#review_details .tabs-panels-wrap>.tabs ul li:hover{background:#fff;margin-right:-1px}#review_details .tabs-panels-wrap>.tabs ul li a{padding:10px;display:block;text-decoration:none}#review_details .tabs-panels-wrap>.tabs ul li a:focus,#review_details .tabs-panels-wrap>.tabs ul li a:active{outline:none;box-shadow:none}#review_details .panels{width:77.5%;float:left;box-sizing:border-box;padding:10px 20px;background:#fff}#review_details .panels .repeater-header{font-weight:bold}#review_details .panels .repeater-row{padding:5px 0}#review_details .panels .repeater-row:first-child .delete-repeater-row{display:none}#review_details .panels .repeater-row .delete-repeater-row{cursor:pointer}#review_details .panels .add-repeat-row{margin-top:5px}#review_details .panels input[type="text"],#review_details .panels input[type="password"],#review_details .panels select,#review_details .panels textarea{max-width:100%;width:100%}#review_details .panels img.help_tip{margin:0}.reviewer-panels .input-field-wrap{padding:5px 20px 5px 162px !important;margin:9px 0}.reviewer-panels .input-field-wrap:after{content:".";display:block;height:0;clear:both;visibility:hidden}.reviewer-panels .input-field-wrap label{float:left;width:150px;padding:3px 0;margin:1px 0 1px -150px;height:20px;line-height:20px}.reviewer-panels .input-field-wrap input[type="text"],.reviewer-panels .input-field-wrap input[type="number"],.reviewer-panels .input-field-wrap textarea{margin:0;float:left;width:100%}#review-detail-panel-attributes .attribute-input,#review-detail-panel-attributes .attribute-actions{display:inline-block;width:44%}#review-detail-panel-attributes .attribute-actions{width:10%;vertical-align:top}#review-detail-panel-attributes .attribute-row-add .attribute-actions{vertical-align:bottom}#review-detail-panel-attributes .attribute-row{margin-top:7px}#review_details #review_categorydiv,#review_details #tagsdiv-review_tag{margin:-10px -20px;border:none;box-shadow:none;-webkit-box-shadow:none;display:block !important}#review_details #review_categorydiv h2,#review_details #review_categorydiv .handlediv,#review_details #review_categorydiv .taxonomy-add-new,#review_details #tagsdiv-review_tag h2,#review_details #tagsdiv-review_tag .handlediv,#review_details #tagsdiv-review_tag .taxonomy-add-new{display:none}#review_details #review_categorydiv .inside,#review_details #tagsdiv-review_tag .inside{padding:10px 20px}#review_details #review_categorydiv .category-add,#review_details #review_categorydiv .tag-add,#review_details #tagsdiv-review_tag .category-add,#review_details #tagsdiv-review_tag .tag-add{display:block}#review_details #review_categorydiv .category-add .form-required,#review_details #review_categorydiv .category-add .postform,#review_details #review_categorydiv .tag-add .form-required,#review_details #review_categorydiv .tag-add .postform,#review_details #tagsdiv-review_tag .category-add .form-required,#review_details #tagsdiv-review_tag .category-add .postform,#review_details #tagsdiv-review_tag .tag-add .form-required,#review_details #tagsdiv-review_tag .tag-add .postform{width:40% !important;width:calc((100% - 160px) / 2) !important;margin-right:5px}#review_details #review_categorydiv .tagsdiv .newtag,#review_details #tagsdiv-review_tag .tagsdiv .newtag{width:180px}#review_details .categorydiv div.tabs-panel{max-height:400px}#side-sortables #tagsdiv-review_tag{display:none}.reviewer-settings.wrap input[type="text"],.reviewer-settings.wrap input[type="number"],.reviewer-settings.wrap select,.reviewer-settings.wrap textarea{min-width:250px}.reviewer-settings.wrap .input-image-size-number{min-width:60px !important;width:60px !important}.reviewer-settings.wrap a.nav-tab:focus{-webkit-box-shadow:none;box-shadow:none}.extensor-box{background:#fff;border:1px solid #ccc;border-radius:2px;padding:10px;float:left;margin:0 20px 20px 0;width:300px;position:relative;overflow:hidden}.extensor-box .ribbon{float:right;text-align:center;color:white;font-weight:bold;padding:5px 10px;right:-40px;top:30px;position:absolute;width:205px;background:#e74c3c;-webkit-transform:rotate(30deg);-moz-transform:rotate(30deg);-ms-transform:rotate(30deg);-o-transform:rotate(30deg);transform:rotate(30deg)}.extensor-box img{max-width:100%;height:auto;margin-bottom:10px}.extensor-box .extensor-header{margin:-10px}.extensor-box .extensor-content{height:60px}.extensor-box .extensor-title{padding:8px 0 !important;margin:0}.extensor-box .extensor-footer .pull-left{float:left}.extensor-box .extensor-footer .pull-right{float:right}.extensor-box .extensor-footer .bold{font-weight:bold}.extensor-box .extensor-footer .notify{line-height:28px}.extensor-box .extensor-footer .notify:focus{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.extensor-box .extensor-footer .notify .dashicons{text-decoration:none;color:#444;margin-right:15px;font-size:30px;line-height:28px}.extensor-box .extensor-footer .notify .dashicons-heart{color:#ff5e52}.extensor-box .will-be-notified{width:100%;height:100%;position:absolute;background:rgba(255,255,255,0.95);top:0;left:0;padding:10px;box-sizing:border-box}.extensor-box .will-be-notified .notified-close{float:right;color:#bbb;cursor:pointer}.extensor-box .will-be-notified .notified-text{text-align:center;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%);margin-top:50%}.extensor-box .will-be-notified .extensor-update-email{text-decoration:none}.extensor-box .animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.extensor-box .animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}@-webkit-keyframes bounce{from, 20%, 53%, 80%, to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}40%, 43%{-webkit-animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);-webkit-transform:translate3d(0, -30px, 0);transform:translate3d(0, -30px, 0)}70%{-webkit-animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);-webkit-transform:translate3d(0, -15px, 0);transform:translate3d(0, -15px, 0)}90%{-webkit-transform:translate3d(0, -4px, 0);transform:translate3d(0, -4px, 0)}}@keyframes bounce{from, 20%, 53%, 80%, to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}40%, 43%{-webkit-animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);-webkit-transform:translate3d(0, -30px, 0);transform:translate3d(0, -30px, 0)}70%{-webkit-animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);-webkit-transform:translate3d(0, -15px, 0);transform:translate3d(0, -15px, 0)}90%{-webkit-transform:translate3d(0, -4px, 0);transform:translate3d(0, -4px, 0)}}.extensor-box .bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes pulse{from{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.25);transform:scale(1.25)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes pulse{from{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.25);transform:scale(1.25)}to{-webkit-transform:scale(1);transform:scale(1)}}.extensor-box .pulse{-webkit-animation-name:pulse;animation-name:pulse}.post-type-review th.column-thumbnail{width:60px;text-align:center}.post-type-review td.column-thumbnail{text-align:center}.post-type-review td.column-thumbnail img{max-width:45px;max-height:45px;width:auto;height:auto}@media screen and (max-width: 782px){.post-type-review th.column-thumbnail{display:none}.post-type-review td:not(.hidden).column-thumbnail{display:inline-block !important}.post-type-review .wp-list-table tr:not(.inline-edit-row) td:not(.check-column).column-title{display:inline-block !important;width:calc( 100% - 130px ) !important}}.modal-container{z-index:99999;position:relative}.reviewer-collapsible.ui-sortable-helper{opacity:0.8}.reviewer-collapsible-placeholder{border:1px dashed #b4b9be;margin:0 auto 10px;height:45px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reviewer-collapsible{margin:0 auto 10px;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reviewer-collapsible-top{font-size:13px;font-weight:600;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.04);box-shadow:0 1px 1px rgba(0,0,0,0.04);background:#fafafa;color:#23282d;cursor:move}.reviewer-collapsible-top:hover .reviewer-collapsible-action-remove{opacity:1}.reviewer-collapsible-top .reviewer-collapsible-action{color:#555d66}.reviewer-collapsible-top a.reviewer-collapsible-action,.reviewer-collapsible-top a.reviewer-collapsible-action:hover{-webkit-box-shadow:none;box-shadow:none;outline:none;text-decoration:none;float:right}.reviewer-collapsible-top a.reviewer-collapsible-action:after{margin-top:10px;margin-right:10px;-webkit-border-radius:50%;border-radius:50%;right:0;content:"\f140";border:none;background:none;cursor:auto;font:normal 20px/1 dashicons;speak:none;display:block;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.reviewer-collapsible-top .reviewer-collapsible-action-remove{line-height:20px;vertical-align:middle;font-size:13px;color:#a00;height:20px;margin:10px 1em 5px 0;display:inline-block;font-weight:normal;float:right;opacity:0}.reviewer-collapsible-top .reviewer-collapsible-action-remove:hover{color:#f00;text-decoration:none}.reviewer-collapsible-top h3,.reviewer-collapsible-top h4{margin:0;padding:15px;font-size:1em;line-height:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.reviewer-collapsible-top .in-reviewer-collapsible-title{color:#665}.reviewer-collapsible-top .reviewer-collapsible-title-action{float:right;position:relative}.reviewer-collapsible.open .reviewer-collapsible-top a.reviewer-collapsible-action:after{content:"\f142"}.reviewer-collapsibles .reviewer-collapsible-inside{padding:1px 15px 15px 15px;line-height:16px;background:#fff;border:1px solid #e5e5e5;border-top:none;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.04);box-shadow:0 1px 1px rgba(0,0,0,0.04)}.reviewer-collapsibles .reviewer-collapsible-inside p{margin:1em 0} 
     1.review-rating-wrap{position:relative;display:inline-block}.review-rating-wrap .star svg{width:30px;height:30px}.review-rating-wrap .review-rating-color{position:absolute;top:0;overflow:hidden;white-space:nowrap}.review-rating-wrap .star:not(.star-colored) svg{fill:#ddd}.review-rating-wrap .star-colored svg{fill:#FFDF88}.review-rating-wrap{float:left;line-height:1.7;margin-right:10px}.review-rating-wrap .star svg{width:18px;height:18px;vertical-align:sub}.review-rating-text-wrap{display:inline-block}.review-rating-text-wrap .rating-text-left{float:left;line-height:1.7;margin-right:5px}.review-rating-text-wrap .rating-text-right{float:right;line-height:1.7}.bounce-spinner{margin-left:auto;margin-right:auto;text-align:center}.bounce-spinner>div{width:18px;height:18px;background-color:#333;border-radius:100%;display:inline-block;-webkit-animation:sk-bouncedelay 1.4s infinite ease-in-out both;animation:sk-bouncedelay 1.4s infinite ease-in-out both}.bounce-spinner .bounce1{-webkit-animation-delay:-0.32s;animation-delay:-0.32s}.bounce-spinner .bounce2{-webkit-animation-delay:-0.16s;animation-delay:-0.16s}@-webkit-keyframes sk-bouncedelay{0%, 80%, 100%{-webkit-transform:scale(0)}40%{-webkit-transform:scale(1)}}@keyframes sk-bouncedelay{0%, 80%, 100%{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}#review_details{overflow:hidden}#review_details .inside{padding:0;margin:0 !important;display:block;position:relative}#review_details .tabs-panels-wrap>.tabs{width:22.5%;min-width:100px;min-height:200px;float:left;box-sizing:border-box;background:#f9f9f9;border-right:1px solid #eee;position:relative}#review_details .tabs-panels-wrap>.tabs:after{content:"";position:absolute;background-color:#f9f9f9;height:9999vw;width:100%;border-right:1px solid #eee;bottom:-9999vw;float:left;left:0;display:block}#review_details .tabs-panels-wrap>.tabs ul{margin:0}#review_details .tabs-panels-wrap>.tabs ul li{border-bottom:1px solid #eee;margin:0}#review_details .tabs-panels-wrap>.tabs ul li.active{background:#fff;margin-right:-1px}#review_details .tabs-panels-wrap>.tabs ul li.active a{color:#666665}#review_details .tabs-panels-wrap>.tabs ul li:hover{background:#fff;margin-right:-1px}#review_details .tabs-panels-wrap>.tabs ul li a{padding:10px;display:block;text-decoration:none}#review_details .tabs-panels-wrap>.tabs ul li a:focus,#review_details .tabs-panels-wrap>.tabs ul li a:active{outline:none;box-shadow:none}#review_details .panels{width:77.5%;float:left;box-sizing:border-box;padding:10px 20px;background:#fff}#review_details .panels .repeater-header{font-weight:bold}#review_details .panels .repeater-row{padding:5px 0}#review_details .panels .repeater-row:first-child .delete-repeater-row{display:none}#review_details .panels .repeater-row .delete-repeater-row{cursor:pointer}#review_details .panels .add-repeat-row{margin-top:5px}#review_details .panels input[type="text"],#review_details .panels input[type="password"],#review_details .panels select,#review_details .panels textarea{max-width:100%;width:100%}#review_details .panels img.help_tip{margin:0}.reviewer-panels .input-field-wrap{padding:5px 20px 5px 162px !important;margin:9px 0}.reviewer-panels .input-field-wrap:after{content:".";display:block;height:0;clear:both;visibility:hidden}.reviewer-panels .input-field-wrap label{float:left;width:150px;padding:3px 0;margin:1px 0 1px -150px;height:20px;line-height:20px}.reviewer-panels .input-field-wrap input[type="text"],.reviewer-panels .input-field-wrap input[type="number"],.reviewer-panels .input-field-wrap textarea{margin:0;float:left;width:100%}#review-detail-panel-attributes .attribute-input,#review-detail-panel-attributes .attribute-actions{display:inline-block;width:44%}#review-detail-panel-attributes .attribute-actions{width:10%;vertical-align:top}#review-detail-panel-attributes .attribute-row-add .attribute-actions{vertical-align:bottom}#review-detail-panel-attributes .attribute-row{margin-top:7px}#review_details #review_categorydiv,#review_details #tagsdiv-review_tag{margin:-10px -20px;border:none;box-shadow:none;-webkit-box-shadow:none;display:block !important}#review_details #review_categorydiv h2,#review_details #review_categorydiv .handlediv,#review_details #review_categorydiv .taxonomy-add-new,#review_details #tagsdiv-review_tag h2,#review_details #tagsdiv-review_tag .handlediv,#review_details #tagsdiv-review_tag .taxonomy-add-new{display:none}#review_details #review_categorydiv .inside,#review_details #tagsdiv-review_tag .inside{padding:10px 20px}#review_details #review_categorydiv .category-add,#review_details #review_categorydiv .tag-add,#review_details #tagsdiv-review_tag .category-add,#review_details #tagsdiv-review_tag .tag-add{display:block}#review_details #review_categorydiv .category-add .form-required,#review_details #review_categorydiv .category-add .postform,#review_details #review_categorydiv .tag-add .form-required,#review_details #review_categorydiv .tag-add .postform,#review_details #tagsdiv-review_tag .category-add .form-required,#review_details #tagsdiv-review_tag .category-add .postform,#review_details #tagsdiv-review_tag .tag-add .form-required,#review_details #tagsdiv-review_tag .tag-add .postform{width:40% !important;width:calc((100% - 160px) / 2) !important;margin-right:5px}#review_details #review_categorydiv .tagsdiv .newtag,#review_details #tagsdiv-review_tag .tagsdiv .newtag{width:180px}#review_details .categorydiv div.tabs-panel{max-height:400px}#side-sortables #tagsdiv-review_tag{display:none}.reviewer-settings.wrap input[type="text"],.reviewer-settings.wrap input[type="number"],.reviewer-settings.wrap select,.reviewer-settings.wrap textarea{min-width:250px}.reviewer-settings.wrap .input-image-size-number{min-width:60px !important;width:60px !important}.reviewer-settings.wrap a.nav-tab:focus{-webkit-box-shadow:none;box-shadow:none}.extensor-box{background:#fff;border:1px solid #ccc;border-radius:2px;padding:10px;float:left;margin:0 20px 20px 0;width:300px;position:relative;overflow:hidden}.extensor-box .ribbon{float:right;text-align:center;color:white;font-weight:bold;padding:5px 10px;right:-40px;top:30px;position:absolute;width:205px;background:#e74c3c;-webkit-transform:rotate(30deg);-moz-transform:rotate(30deg);-ms-transform:rotate(30deg);-o-transform:rotate(30deg);transform:rotate(30deg)}.extensor-box img{max-width:100%;height:auto;margin-bottom:10px}.extensor-box .extensor-header{margin:-10px}.extensor-box .extensor-content{height:60px}.extensor-box .extensor-title{padding:8px 0 !important;margin:0}.extensor-box .extensor-footer .pull-left{float:left}.extensor-box .extensor-footer .pull-right{float:right}.extensor-box .extensor-footer .bold{font-weight:bold}.extensor-box .extensor-footer .notify{line-height:28px}.extensor-box .extensor-footer .notify:focus{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.extensor-box .extensor-footer .notify .dashicons{text-decoration:none;color:#444;margin-right:15px;font-size:30px;line-height:28px}.extensor-box .extensor-footer .notify .dashicons-heart{color:#ff5e52}.extensor-box .will-be-notified{width:100%;height:100%;position:absolute;background:rgba(255,255,255,0.95);top:0;left:0;padding:10px;box-sizing:border-box}.extensor-box .will-be-notified .notified-close{float:right;color:#bbb;cursor:pointer}.extensor-box .will-be-notified .notified-text{text-align:center;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-ms-transform:translateY(-50%);-o-transform:translateY(-50%);transform:translateY(-50%);margin-top:50%}.extensor-box .will-be-notified .extensor-update-email{text-decoration:none}.extensor-box .animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.extensor-box .animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}@-webkit-keyframes bounce{from, 20%, 53%, 80%, to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}40%, 43%{-webkit-animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);-webkit-transform:translate3d(0, -30px, 0);transform:translate3d(0, -30px, 0)}70%{-webkit-animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);-webkit-transform:translate3d(0, -15px, 0);transform:translate3d(0, -15px, 0)}90%{-webkit-transform:translate3d(0, -4px, 0);transform:translate3d(0, -4px, 0)}}@keyframes bounce{from, 20%, 53%, 80%, to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}40%, 43%{-webkit-animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);-webkit-transform:translate3d(0, -30px, 0);transform:translate3d(0, -30px, 0)}70%{-webkit-animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06);-webkit-transform:translate3d(0, -15px, 0);transform:translate3d(0, -15px, 0)}90%{-webkit-transform:translate3d(0, -4px, 0);transform:translate3d(0, -4px, 0)}}.extensor-box .bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes pulse{from{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.25);transform:scale(1.25)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes pulse{from{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.25);transform:scale(1.25)}to{-webkit-transform:scale(1);transform:scale(1)}}.extensor-box .pulse{-webkit-animation-name:pulse;animation-name:pulse}.post-type-review th.column-thumbnail{width:60px;text-align:center}.post-type-review td.column-thumbnail{text-align:center}.post-type-review td.column-thumbnail img{max-width:45px;max-height:45px;width:auto;height:auto}@media screen and (max-width: 782px){.post-type-review th.column-thumbnail{display:none}.post-type-review td:not(.hidden).column-thumbnail{display:inline-block !important}.post-type-review .wp-list-table tr:not(.inline-edit-row) td:not(.check-column).column-title{display:inline-block !important;width:calc( 100% - 130px ) !important}}.modal-container{z-index:99999;position:relative}.reviewer-collapsible.ui-sortable-helper{opacity:0.8}.reviewer-collapsible-placeholder{border:1px dashed #b4b9be;margin:0 auto 10px;height:45px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reviewer-collapsible{margin:0 auto 10px;position:relative;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.reviewer-collapsible-top{font-size:13px;font-weight:600;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.04);box-shadow:0 1px 1px rgba(0,0,0,0.04);background:#fafafa;color:#23282d;cursor:move}.reviewer-collapsible-top:hover .reviewer-collapsible-action-remove{opacity:1}.reviewer-collapsible-top .reviewer-collapsible-action{color:#555d66}.reviewer-collapsible-top a.reviewer-collapsible-action,.reviewer-collapsible-top a.reviewer-collapsible-action:hover{-webkit-box-shadow:none;box-shadow:none;outline:none;text-decoration:none;float:right}.reviewer-collapsible-top a.reviewer-collapsible-action:after{margin-top:10px;margin-right:10px;-webkit-border-radius:50%;border-radius:50%;right:0;content:"\f140";border:none;background:none;cursor:auto;font:normal 20px/1 dashicons;speak:none;display:block;padding:0;text-indent:0;text-align:center;position:relative;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.reviewer-collapsible-top .reviewer-collapsible-action-remove{line-height:20px;vertical-align:middle;font-size:13px;color:#a00;height:20px;margin:10px 1em 5px 0;display:inline-block;font-weight:normal;float:right;opacity:0}.reviewer-collapsible-top .reviewer-collapsible-action-remove:hover{color:#f00;text-decoration:none}.reviewer-collapsible-top h3,.reviewer-collapsible-top h4{margin:0;padding:15px;font-size:1em;line-height:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.reviewer-collapsible-top .in-reviewer-collapsible-title{color:#665}.reviewer-collapsible-top .reviewer-collapsible-title-action{float:right;position:relative}.reviewer-collapsible.open .reviewer-collapsible-top a.reviewer-collapsible-action:after{content:"\f142"}.reviewer-collapsibles .reviewer-collapsible-inside{padding:1px 15px 15px 15px;line-height:16px;background:#fff;border:1px solid #e5e5e5;border-top:none;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.04);box-shadow:0 1px 1px rgba(0,0,0,0.04)}.reviewer-collapsibles .reviewer-collapsible-inside p{margin:1em 0} 
  • wpreviewer/trunk/assets/admin/css/reviewer.scss

    r1590644 r1731690  
    88 * 7. Modals 
    99 * 8. Collapsibles 
    10  *************************************************************/ 
     10 * 9. 
     11 *************************************************************/ 
     12 
     13@import "../../parts/rating"; 
     14@import '../../parts/spinner'; 
    1115 
    1216 
     
    428432    } 
    429433} 
    430  
  • wpreviewer/trunk/assets/front-end/css/reviewer.min.css

    r1706281 r1731690  
    1 .clearfix:after,.reviewer-pagination ul:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.clearfix,.reviewer-pagination ul:after{display:inline-block}.review-attributes-wrap{margin:20px 0}.review-attributes{padding:10px 10px 10px 0}.review-attributes .review-attribute{margin-bottom:7px}.review-attributes .review-attribute-name{font-weight:bold;min-width:150px;display:inline-block}.review-rating-wrap{position:relative;display:inline-block}.review-rating-wrap .star svg{width:30px;height:30px}.review-rating-wrap .review-rating-color{position:absolute;top:0;overflow:hidden;white-space:nowrap}.review-rating-wrap .star-colored svg{fill:#FFDF88}.review-featured-image{margin-bottom:1.714285714rem}.single-review .review-meta{border-top:1px solid #999;border-bottom:1px solid #999;padding:7px 0;color:#999;font-size:11px;margin-top:7px}.single-review .review-meta .review-meta-part{white-space:nowrap;display:inline-block}.single-review .review-tags{margin:20px 0;padding:7px 0;border-top:1px solid #999;border-bottom:1px solid #999}.post-type-archive-review .archive-posts,.tax-review_category .archive-posts,.tax-review_tag .archive-posts,.widget_review_list .archive-posts{min-height:50px}.post-type-archive-review .review-intro,.tax-review_category .review-intro,.tax-review_tag .review-intro,.widget_review_list .review-intro{margin:0 0 0 200px;clear:none}.post-type-archive-review .review-featured-image,.tax-review_category .review-featured-image,.tax-review_tag .review-featured-image,.widget_review_list .review-featured-image{display:inline-block;float:left}.post-type-archive-review .review-meta,.tax-review_category .review-meta,.tax-review_tag .review-meta,.widget_review_list .review-meta{color:#999;font-size:11px;margin-top:5px}.post-type-archive-review .review-meta-part,.tax-review_category .review-meta-part,.tax-review_tag .review-meta-part,.widget_review_list .review-meta-part{white-space:nowrap;display:inline-block;line-height:1.4}.post-type-archive-review .entry-header,.tax-review_category .entry-header,.tax-review_tag .entry-header,.widget_review_list .entry-header{margin-bottom:15px}.post-type-archive-review .entry-header .comments-link,.tax-review_category .entry-header .comments-link,.tax-review_tag .entry-header .comments-link,.widget_review_list .entry-header .comments-link{margin-top:0;line-height:1.4}.post-type-archive-review .review-rating-wrap,.tax-review_category .review-rating-wrap,.tax-review_tag .review-rating-wrap,.widget_review_list .review-rating-wrap{float:left;line-height:1.7;margin-right:10px}.post-type-archive-review .review-rating-wrap .star svg,.tax-review_category .review-rating-wrap .star svg,.tax-review_tag .review-rating-wrap .star svg,.widget_review_list .review-rating-wrap .star svg{width:18px;height:18px;vertical-align:sub}.reviewer-pagination{margin-top:25px;text-align:center}.reviewer-pagination ul{display:inline-block}.reviewer-pagination ul li{display:inline-block;border:1px solid #ccc;border-right-width:0;min-width:25px;text-align:center;float:left;margin:0}.reviewer-pagination ul li .page-numbers{display:block;text-decoration:none}.reviewer-pagination ul li a:hover{background:#f5f5f5}.reviewer-pagination ul li .current{background:#f1f1f1}.reviewer-pagination ul li:last-child{border-right-width:1px}.bounce-spinner{margin-left:auto;margin-right:auto;text-align:center}.bounce-spinner>div{width:18px;height:18px;background-color:#333;border-radius:100%;display:inline-block;-webkit-animation:sk-bouncedelay 1.4s infinite ease-in-out both;animation:sk-bouncedelay 1.4s infinite ease-in-out both}.bounce-spinner .bounce1{-webkit-animation-delay:-0.32s;animation-delay:-0.32s}.bounce-spinner .bounce2{-webkit-animation-delay:-0.16s;animation-delay:-0.16s}@-webkit-keyframes sk-bouncedelay{0%, 80%, 100%{-webkit-transform:scale(0)}40%{-webkit-transform:scale(1)}}@keyframes sk-bouncedelay{0%, 80%, 100%{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}.widget_review_categories li{list-style:none}.widget_review_categories li ul.children{margin-left:12px}.widget_review_list li{margin-bottom:15px}.widget_review_list .review-thumbnail{float:left}.widget_review_list .review-thumbnail img{display:block}.widget_review_list .body{margin-left:65px} 
     1.reviewer-notice{background:#f6f6f6;padding:1em 2em;border-left:3px solid #3d84a8;margin-bottom:1.7em;box-shadow:1px 1px 1px rgba(0,0,0,0.1)}.reviewer-notice.success{border-color:#00AD7C}.reviewer-notice.error{border-color:#CB0101}.reviewer-notice.warning{border-color:#F6C90E}.reviewer-notice.info{border-color:#3d84a8}.clearfix:after,.reviewer-pagination ul:after{visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0}.clearfix,.reviewer-pagination ul:after{display:inline-block}.review-attributes-wrap{margin:20px 0}.review-attributes{padding:10px 10px 10px 0}.review-attributes .review-attribute{margin-bottom:7px}.review-attributes .review-attribute-name{font-weight:bold;min-width:150px;display:inline-block}.review-rating-wrap{position:relative;display:inline-block}.review-rating-wrap .star svg{width:30px;height:30px}.review-rating-wrap .review-rating-color{position:absolute;top:0;overflow:hidden;white-space:nowrap}.review-rating-wrap .star:not(.star-colored) svg{fill:#ddd}.review-rating-wrap .star-colored svg{fill:#FFDF88}.review-rating-wrap{float:left;line-height:1.7;margin-right:10px}.review-rating-wrap .star svg{width:18px;height:18px;vertical-align:sub}.review-rating-text-wrap{display:inline-block}.review-rating-text-wrap .rating-text-left{float:left;line-height:1.7;margin-right:5px}.review-rating-text-wrap .rating-text-right{float:right;line-height:1.7}.review-featured-image{margin-bottom:1.714285714rem}.single-review .review-meta{border-top:1px solid #999;border-bottom:1px solid #999;padding:7px 0;color:#999;font-size:11px;margin-top:7px}.single-review .review-meta .review-meta-part{white-space:nowrap;display:inline-block}.single-review .review-tags{margin:20px 0;padding:7px 0;border-top:1px solid #999;border-bottom:1px solid #999}.post-type-archive-review .archive-posts,.tax-review_category .archive-posts,.tax-review_tag .archive-posts,.widget_review_list .archive-posts{min-height:50px}.post-type-archive-review .review-intro,.tax-review_category .review-intro,.tax-review_tag .review-intro,.widget_review_list .review-intro{margin:0 0 0 200px;clear:none}.post-type-archive-review .review-featured-image,.tax-review_category .review-featured-image,.tax-review_tag .review-featured-image,.widget_review_list .review-featured-image{display:inline-block;float:left}.post-type-archive-review .review-meta,.tax-review_category .review-meta,.tax-review_tag .review-meta,.widget_review_list .review-meta{color:#999;font-size:11px;margin-top:5px}.post-type-archive-review .review-meta-part,.tax-review_category .review-meta-part,.tax-review_tag .review-meta-part,.widget_review_list .review-meta-part{white-space:nowrap;display:inline-block;line-height:1.4}.post-type-archive-review .entry-header,.tax-review_category .entry-header,.tax-review_tag .entry-header,.widget_review_list .entry-header{margin-bottom:15px}.post-type-archive-review .entry-header .comments-link,.tax-review_category .entry-header .comments-link,.tax-review_tag .entry-header .comments-link,.widget_review_list .entry-header .comments-link{margin-top:0;line-height:1.4}.post-type-archive-review .review-rating-wrap,.tax-review_category .review-rating-wrap,.tax-review_tag .review-rating-wrap,.widget_review_list .review-rating-wrap{position:relative;display:inline-block}.post-type-archive-review .review-rating-wrap .star svg,.tax-review_category .review-rating-wrap .star svg,.tax-review_tag .review-rating-wrap .star svg,.widget_review_list .review-rating-wrap .star svg{width:30px;height:30px}.post-type-archive-review .review-rating-wrap .review-rating-color,.tax-review_category .review-rating-wrap .review-rating-color,.tax-review_tag .review-rating-wrap .review-rating-color,.widget_review_list .review-rating-wrap .review-rating-color{position:absolute;top:0;overflow:hidden;white-space:nowrap}.post-type-archive-review .review-rating-wrap .star:not(.star-colored) svg,.tax-review_category .review-rating-wrap .star:not(.star-colored) svg,.tax-review_tag .review-rating-wrap .star:not(.star-colored) svg,.widget_review_list .review-rating-wrap .star:not(.star-colored) svg{fill:#ddd}.post-type-archive-review .review-rating-wrap .star-colored svg,.tax-review_category .review-rating-wrap .star-colored svg,.tax-review_tag .review-rating-wrap .star-colored svg,.widget_review_list .review-rating-wrap .star-colored svg{fill:#FFDF88}.post-type-archive-review .review-rating-wrap,.tax-review_category .review-rating-wrap,.tax-review_tag .review-rating-wrap,.widget_review_list .review-rating-wrap{float:left;line-height:1.7;margin-right:10px}.post-type-archive-review .review-rating-wrap .star svg,.tax-review_category .review-rating-wrap .star svg,.tax-review_tag .review-rating-wrap .star svg,.widget_review_list .review-rating-wrap .star svg{width:18px;height:18px;vertical-align:sub}.post-type-archive-review .review-rating-text-wrap,.tax-review_category .review-rating-text-wrap,.tax-review_tag .review-rating-text-wrap,.widget_review_list .review-rating-text-wrap{display:inline-block}.post-type-archive-review .review-rating-text-wrap .rating-text-left,.tax-review_category .review-rating-text-wrap .rating-text-left,.tax-review_tag .review-rating-text-wrap .rating-text-left,.widget_review_list .review-rating-text-wrap .rating-text-left{float:left;line-height:1.7;margin-right:5px}.post-type-archive-review .review-rating-text-wrap .rating-text-right,.tax-review_category .review-rating-text-wrap .rating-text-right,.tax-review_tag .review-rating-text-wrap .rating-text-right,.widget_review_list .review-rating-text-wrap .rating-text-right{float:right;line-height:1.7}.reviewer-pagination{margin-top:25px;text-align:center}.reviewer-pagination ul{display:inline-block}.reviewer-pagination ul li{display:inline-block;border:1px solid #ccc;border-right-width:0;min-width:25px;text-align:center;float:left;margin:0}.reviewer-pagination ul li .page-numbers{display:block;text-decoration:none}.reviewer-pagination ul li a:hover{background:#f5f5f5}.reviewer-pagination ul li .current{background:#f1f1f1}.reviewer-pagination ul li:last-child{border-right-width:1px}.bounce-spinner{margin-left:auto;margin-right:auto;text-align:center}.bounce-spinner>div{width:18px;height:18px;background-color:#333;border-radius:100%;display:inline-block;-webkit-animation:sk-bouncedelay 1.4s infinite ease-in-out both;animation:sk-bouncedelay 1.4s infinite ease-in-out both}.bounce-spinner .bounce1{-webkit-animation-delay:-0.32s;animation-delay:-0.32s}.bounce-spinner .bounce2{-webkit-animation-delay:-0.16s;animation-delay:-0.16s}@-webkit-keyframes sk-bouncedelay{0%, 80%, 100%{-webkit-transform:scale(0)}40%{-webkit-transform:scale(1)}}@keyframes sk-bouncedelay{0%, 80%, 100%{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}.widget_review_categories li{list-style:none}.widget_review_categories li ul.children{margin-left:12px}.widget_review_list li{margin-bottom:15px}.widget_review_list .review-thumbnail{float:left}.widget_review_list .review-thumbnail img{display:block}.widget_review_list .body{margin-left:65px} 
  • wpreviewer/trunk/assets/front-end/css/reviewer.scss

    r1706281 r1731690  
    99 *************************************************************/ 
    1010 
     11@import "./parts/notices"; 
    1112 
    1213/************************************************************** 
     
    5051 
    5152// 2.2 Ratings 
    52 .review-rating-wrap { 
    53     position: relative; 
    54     display: inline-block; 
     53@import "../../parts/rating"; 
    5554 
    56     .star svg { 
    57         width: 30px; 
    58         height: 30px; 
    59     } 
    60     .review-rating-color { 
    61         position: absolute; 
    62         top: 0; 
    63         overflow: hidden; 
    64         white-space: nowrap; 
    65     } 
    66     .star-colored svg { 
    67         fill: #FFDF88; 
    68     } 
    69 } 
    7055 
    7156// 2.3 Image 
     
    133118        line-height: 1.4; 
    134119    } 
    135     .review-rating-wrap { 
    136         float: left; 
    137         line-height: 1.7; 
    138         margin-right: 10px; 
    139120 
    140         .star svg { 
    141             width: 18px; 
    142             height: 18px; 
    143             vertical-align: sub; 
    144         } 
    145     } 
     121    @import "../../parts/rating"; 
    146122} 
    147123 
     
    187163 * 4. Spinner / loading 
    188164 *************************************************************/ 
    189 .bounce-spinner { 
    190     margin-left: auto; 
    191     margin-right: auto; 
    192     //width: 70px; 
    193     text-align: center; 
    194 } 
    195  
    196 .bounce-spinner > div { 
    197     width: 18px; 
    198     height: 18px; 
    199     background-color: #333; 
    200     border-radius: 100%; 
    201     display: inline-block; 
    202     -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both; 
    203     animation: sk-bouncedelay 1.4s infinite ease-in-out both; 
    204 } 
    205  
    206 .bounce-spinner .bounce1 { 
    207     -webkit-animation-delay: -0.32s; 
    208     animation-delay: -0.32s; 
    209 } 
    210  
    211 .bounce-spinner .bounce2 { 
    212     -webkit-animation-delay: -0.16s; 
    213     animation-delay: -0.16s; 
    214 } 
    215  
    216 @-webkit-keyframes sk-bouncedelay { 
    217     0%, 80%, 100% { -webkit-transform: scale(0) } 
    218     40% { -webkit-transform: scale(1.0) } 
    219 } 
    220  
    221 @keyframes sk-bouncedelay { 
    222     0%, 80%, 100% { 
    223         -webkit-transform: scale(0); 
    224         transform: scale(0); 
    225     } 40% { 
    226           -webkit-transform: scale(1.0); 
    227           transform: scale(1.0); 
    228       } 
    229 } 
     165@import '../../parts/spinner'; 
    230166 
    231167/************************************************************** 
  • wpreviewer/trunk/class-reviewer.php

    r1706281 r1731690  
    143143 
    144144            // Classes 
     145            require_once 'includes/integration.php'; 
    145146            require_once 'includes/post-types/review.php'; 
    146147            require_once 'includes/review.php'; 
     
    154155 
    155156            // Functions 
     157            require_once 'includes/helper-functions.php'; 
    156158            require_once 'includes/core-functions.php'; 
    157159            require_once 'includes/template-functions.php'; 
  • wpreviewer/trunk/includes/admin/admin-functions.php

    r1706281 r1731690  
    3333 
    3434/** 
     35 * Add help tab content. 
     36 * 
     37 * Add content to the help tab on the Reviewer admin pages. 
     38 * 
     39 * @since 1.0.5 
     40 */ 
     41function add_help_tab() { 
     42 
     43    if ( is_reviewer_admin_page() ) { 
     44        $screen = get_current_screen(); 
     45 
     46        if ( ! $screen ) return; 
     47 
     48        ob_start(); 
     49            ?><h2>Reviewer support</h2> 
     50            <p>Looking for support? Feel free to reach out through the <a href="https://wpreviewer.com/support/?utm_source=helptab&utm_medium=wordpressadmin&utm_campaign=reviewer-plugin" target="_blank">support form on https://wpreviewr.com</a></p> 
     51            <p>We'll do our best to respond to each message within 24 hours on business days.</p> 
     52            <h2>Documentation</h2> 
     53            <p>We've already documented a lot of frequent cases, you can take a look through the <a href="https://wpreviewer.com/documentation/?utm_source=helptab&utm_medium=wordpressadmin&utm_campaign=reviewer-plugin" target="_blank">documentation</a> to see if the answer you're looking for is already there.</p> 
     54        <?php 
     55        $support_tab_content = ob_get_clean(); 
     56 
     57        ob_start(); 
     58            ?><h2>Customizing Reviewer</h2> 
     59            <p>Reviewer can very easily be customized. Below are some resources where you can read more on how to do this.</p> 
     60            <ul> 
     61                <li><a href="https://wpreviewer.com/documentation/using-template-files/?utm_source=helptab&utm_medium=wordpressadmin&utm_campaign=reviewer-plugin" target="_blank">Changing the page templates</a></li> 
     62                <li><a href="https://wpreviewer.com/documentation/review-images/?utm_source=helptab&utm_medium=wordpressadmin&utm_campaign=reviewer-plugin" target="_blank">Review images</a></li> 
     63                <li><a href="https://wpreviewer.com/documentation/changing-star-rating/?utm_source=helptab&utm_medium=wordpressadmin&utm_campaign=reviewer-plugin" target="_blank">Changing the star rating</a></li> 
     64            </ul> 
     65            <?php 
     66        $customizing_tab_content = ob_get_clean(); 
     67 
     68        $screen->add_help_tab( array( 
     69            'id' => 'reviewer-support', 
     70            'title' => 'Support', 
     71            'content' => $support_tab_content, 
     72        ) ); 
     73        $screen->add_help_tab( array( 
     74            'id' => 'reviewer-customizing', 
     75            'title' => 'Customizing', 
     76            'content' => $customizing_tab_content, 
     77        ) ); 
     78    } 
     79 
     80} 
     81add_action( 'current_screen', '\Reviewer\Admin\add_help_tab' ); 
     82 
     83 
     84/** 
    3585 * Enqueue scripts. 
    3686 * 
     
    4494 
    4595    // Scripts 
     96    wp_register_script( 'blockit', plugins_url( 'assets/plugins/blockit/blockit' . $min . '.js', Reviewer()->file ), array( 'jquery' ), '0.1.0', true ); 
    4697    wp_register_script( 'jquery-repeater', plugins_url( 'assets/plugins/repeater/jquery.repeater' . $min . '.js', Reviewer()->file ), array( 'jquery' ), '0.1.0', true ); 
    4798    wp_register_script( 'reviewer', plugins_url( 'assets/admin/js/reviewer' . $min . '.js', Reviewer()->file ), array( 'jquery', 'jquery-ui-sortable' ), Reviewer()->version, true ); 
  • wpreviewer/trunk/includes/admin/meta-boxes/views/review-details-tab-general.php

    r1706281 r1731690  
    2626            <label for="excerpt"><?php _e( 'Summary', 'reviewer' ); ?></label> 
    2727            <small><?php _e( 'The summary is used on the archive page', 'reviewer' ); ?></small><?php 
    28             wp_editor( $post->post_excerpt, 'excerpt', array( 
     28            wp_editor( $review->post_excerpt, 'excerpt', array( 
    2929                'textarea_rows' => 5, 
    3030            ) ); 
  • wpreviewer/trunk/includes/admin/plugin-page-functions.php

    r1653509 r1731690  
    2121        $links[] = '<a href="https://wpreviewer.com/documentation/" target="_blank">' . __( 'Documentation', 'reviewer' ) . '</a>'; 
    2222        $links[] = '<a href="https://wpreviewer.com/extensions/" target="_blank">' . __( 'Extensions', 'reviewer' ) . '</a>'; 
     23        $links[] = '<a href="https://wpreviewer.com/support/" target="_blank">' . __( 'Support', 'reviewer' ) . '</a>'; 
    2324    endif; 
    2425 
  • wpreviewer/trunk/includes/core-functions.php

    r1706281 r1731690  
    44if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 
    55 
     6 
     7/** 
     8 * Get reviews. 
     9 * 
     10 * Get Review objects based on the passed arguments. 
     11 * 
     12 * @since 1.0.5 
     13 * 
     14 * @param array $args List of args. 
     15 * @return Review[] List of reviews. 
     16 */ 
     17function get_reviews( $args = array() ) { 
     18 
     19    $query_args = wp_parse_args( $args, array( 
     20        'post_type' => 'review', 
     21    ) ); 
     22    $post_query = new \WP_Query( $query_args ); 
     23    $posts = $post_query->posts; 
     24 
     25    $reviews = array(); 
     26    foreach ( $posts as $post ) { 
     27        $reviews[] = rv_get_review( $post->ID ); 
     28    } 
     29 
     30    return $reviews; 
     31 
     32} 
    633 
    734/** 
  • wpreviewer/trunk/includes/post-types/review.php

    r1590644 r1731690  
    193193    public function custom_column_contents( $column, $post_id ) { 
    194194 
    195         $review = new \Reviewer\Review( $post_id ); 
     195        $review = rv_get_review( $post_id ); 
    196196        switch ( $column ) : 
    197197 
  • wpreviewer/trunk/includes/review.php

    r1706281 r1731690  
    244244     */ 
    245245    public function get_rating_html() { 
    246         global $review; 
    247         $review = $this; 
    248         return \Reviewer\view_review_rating(); 
     246        return \Reviewer\view_review_rating( $this ); 
    249247    } 
    250248 
  • wpreviewer/trunk/includes/template-functions.php

    r1620259 r1731690  
    187187 
    188188    // Fix for verbose page rules 
    189     if ( $GLOBALS['wp_rewrite']->use_verbose_page_rules && isset( $q->queried_object->ID ) && $q->queried_object->ID == get_option( 'reviewer_review_archive_page_id' ) ) { 
     189    if ( isset( $q->queried_object->ID ) && $q->queried_object->ID == get_option( 'reviewer_review_archive_page_id' ) ) { 
    190190        $q->set( 'post_type', 'review' ); 
    191191        $q->set( 'page', '' ); 
     
    299299function setup_review_global( $post ) { 
    300300 
    301     if ( $post->post_type != 'review' ) { 
     301    if ( ! in_array( $post->post_type, array_keys( Reviewer()->post_types ) ) ) { 
    302302        return; 
    303303    } 
     
    305305    global $review; 
    306306 
    307     $review = new Review( $post->ID ); 
     307    $review = rv_get_review( $post->ID ); 
    308308 
    309309} 
     
    337337 
    338338 
    339 function view_review_rating() { 
    340  
    341     get_template( 'single-review/rating.php' ); 
     339function view_review_rating( $review = null ) { 
     340 
     341    if ( ! is_a( $review, '\Reviewer\Review' ) ) { 
     342        global $review; 
     343    } 
     344 
     345    $rating      = $review->get_rating(); 
     346    $max_rating  = $review->get_max_rating(); 
     347    $color_width = 100 / $max_rating * $rating; 
     348 
     349    if ( empty( $rating ) ) { 
     350        return; 
     351    } 
     352 
     353    get_template( 'global/rating.php', compact( 'review', 'rating', 'max_rating', 'color_width' ) ); 
    342354 
    343355} 
  • wpreviewer/trunk/readme.txt

    r1706281 r1731690  
    33Tags: review, reviews, rating, ratings, reviewer, product review, product reviews, rich snippets, wp review, wp rating, star rating, rating platform 
    44Requires at least: 4.2 
    5 Tested up to: 4.8 
    6 Stable tag: 1.0.4 
     5Tested up to: 4.8.1 
     6Stable tag: 1.0.5 
    77License: GPLv3 or later 
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html 
     
    6868= 1.0.4 - 2017/08/01 = 
    6969 
     70* [Fix] - Excerpts being escaped on every save 
     71* [Fix] - Error when using reviews as homepage AND using 'default' permalinks setting 
     72* [Add] - Help tab in the top right corner with helpful text / links 
     73* [Add] - Integration helper class for extensions 
     74 
     75= 1.0.4 - 2017/08/01 = 
     76 
    7077* [Add] - New review List widget to list top rated, most recent reviews. + taking suggestions. 
    7178* [Fix] - 'I want this' links on the 'Extensions' page were not working - Sorry! - Please re-submit if interested. 
  • wpreviewer/trunk/templates/content-single-review.php

    r1592362 r1731690  
    6464/** 
    6565 * @hooked \Reviewer\view_review_tags - 25 
    66  * @hooked \Reviewer\view_review_comment - 30 
     66 * @hooked \Reviewer\view_review_comments - 30 
    6767 */ 
    6868do_action( 'reviewer\review\after' ); 
  • wpreviewer/trunk/templates/single-review/meta.php

    r1620259 r1731690  
    2323$author = sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s" rel="author">%3$s</a></span>', 
    2424    esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), 
    25     esc_attr( sprintf( __( 'Reviewed by %s', 'reviewer' ), get_the_author() ) ), 
    26     get_the_author() 
     25    esc_attr( sprintf( __( 'Reviewed by %s', 'reviewer' ), $review->get_author_name() ) ), 
     26    $review->get_author_name() 
    2727); 
    2828 
  • wpreviewer/trunk/templates/widgets/list.php

    r1706281 r1731690  
    2222 
    2323        while ( $reviews->have_posts() ) : $reviews->the_post(); 
    24             $review = new \Reviewer\Review( get_the_ID() ); 
     24            $review = rv_get_review( get_the_ID() ); 
    2525 
    2626            ?><li class="clear"><?php 
Note: See TracChangeset for help on using the changeset viewer.