Import legacy nurinda.co.id website

This commit is contained in:
dirga committed 2026-10-01 14:27:19 +07:00
1 parent 3f59bb9038
commit 6e21646ac4
13389 files changed
+3246690

No files matched your search

@@ -0,0 +1,213 @@
/*CSS for Components*/
.woo_grid, .woo_grid > .wpb_element_wrapper{
background-image: url(../img/icon-woo-grid.png) !important;
}
.woo_list, .woo_list > .wpb_element_wrapper{
background-image: url(../img/icon-woo-list.png) !important;
}
.woo_carousel, .woo_carousel > .wpb_element_wrapper{
background-image: url(../img/icon-woo-carousel.png) !important;
}
.woo_product, .woo_product > .wpb_element_wrapper{
background-image: url(../img/icon-woo-product.png) !important;
}
select#display_type,
input#per_page,
input#columns,
select#orderby,
select#order,
select#cat {
width: 180px;
float:right;
}
#s2id_products {
width: 180px;
}
#s2id_cat {
width: 180px;
float: right;
display: inline-block !important;
z-index: 999;
}
select#cat.multiple {
max-height: 48px;
padding-bottom: 3px;
padding-top: 3px;
}
.edit_form_line .display_type,
.edit_form_line .per_page,
.edit_form_line .columns,
.edit_form_line .orderby,
.edit_form_line .order,
.edit_form_line .cat {
width: 48%;
float: left;
margin: 1%;
min-height: 40px;
}
/*Front End*/
#vc-properties-panel.ui-draggable .display_type,
#vc-properties-panel.ui-draggable .per_page,
#vc-properties-panel.ui-draggable .columns,
#vc-properties-panel.ui-draggable .orderby,
#vc-properties-panel.ui-draggable .order,
#vc-properties-panel.ui-draggable .cat {
width: 100%;
clear: both;
margin: 5px 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
/*Label Height*/
div.display_type > label,
div.per_page > label,
div.columns > label,
div.orderby > label,
div.order > label,
div.cat > label{
height: 40px;
line-height: 40px;
margin: 0;
}
/*Query Builder Design*/
[data-title="Edit List View [Beta]"] .wpb_el_type_woocomposer,
[data-title="Edit Grid View [Beta]"] .wpb_el_type_woocomposer,
[data-title="Edit Product Carousel [Beta]"] .wpb_el_type_woocomposer {
background: #FAFAFA;
padding: 15px;
margin: 15px 0 30px !important;
box-sizing: border-box;
border: 1px solid #ECECEC;
border-radius: 5px;
}
/*Query Builder Front Design*/
.vc-editor [data-title="Edit List View [Beta]"] .wpb_el_type_woocomposer,
.vc-editor [data-title="Edit Grid View [Beta]"] .wpb_el_type_woocomposer,
.vc-editor [data-title="Edit Product Carousel [Beta]"] .wpb_el_type_woocomposer {
width: 94%;
margin-left: 3% !important;
margin-right: 3% !important;
}
/*Select Box Designs*/
/*
[data-title="Edit List View [Beta]"] .wpb_el_type_dropdown select,
[data-title="Edit List View [Beta]"] .wpb_el_type_number input {
width: auto !important;
min-width: 150px;
max-width: 100%;
}
*/
@media (max-width: 767px) {
select#display_type, input#per_page, input#columns, select#orderby, select#order, select#cat {
width:60%;
float:right;
margin:0px;
margin-bottom:10px;
}
.edit_form_line label{
width: 30%;
float: left;
height: 39px;
line-height: 45px;
margin-bottom:10px;
}
}
/*On Off Checkbox Switch*/
.onoffswitch {
position: relative;
width: 95px;
display: inline-block;
float: left;
margin-right: 15px;
-webkit-user-select:none;
-moz-user-select:none;
-ms-user-select: none;
}
.onoffswitch-checkbox {
display: none !important;
}
.onoffswitch-label {
display: block;
overflow: hidden;
cursor: pointer;
border: 0px solid #999999;
border-radius: 0px;
}
.onoffswitch-inner {
width: 200%;
margin-left: -100%;
-moz-transition: margin 0.3s ease-in 0s;
-webkit-transition: margin 0.3s ease-in 0s;
-o-transition: margin 0.3s ease-in 0s;
transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner > div {
float: left;
position: relative;
width: 50%;
height: 24px;
padding: 0;
line-height: 24px;
font-size: 12px;
color: white;
font-weight: bold;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.onoffswitch-inner .onoffswitch-active {
padding-left: 15px;
background-color: #CCCCCC;
color: #FFFFFF;
}
.onoffswitch-inner .onoffswitch-inactive {
padding-right: 15px;
background-color: #CCCCCC;
color: #FFFFFF;
text-align: right;
}
.onoffswitch-switch {
/*width: 50px;*/
width:35px;
margin: 0px;
text-align: center;
border: 0px solid #999999;
border-radius: 0px;
position: absolute;
top: 0;
bottom: 0;
}
.onoffswitch-active .onoffswitch-switch {
background: #3F9CC7;
left: 0;
}
.onoffswitch-inactive .onoffswitch-switch {
background: #7D7D7D;
right: 0;
}
.onoffswitch-active .onoffswitch-switch:before {
content: " ";
position: absolute;
top: 0;
/*left: 50px;*/
left:35px;
border-style: solid;
border-color: #3F9CC7 transparent transparent #3F9CC7;
/*border-width: 12px 8px;*/
border-width: 15px;
}
.onoffswitch-inactive .onoffswitch-switch:before {
content: " ";
position: absolute;
top: 0;
/*right: 50px;*/
right:35px;
border-style: solid;
border-color: transparent #7D7D7D #7D7D7D transparent;
/*border-width: 12px 8px;*/
border-width: 50px;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
margin-left: 0;
}
@@ -0,0 +1 @@
.gfont span.variants { display:none; } .font-delete { position: absolute; right: 0; top: 0; cursor: pointer; padding: 8px 5px; } .font-delete:hover { color: #e14d43; } .font-delete i { height: 100%; } .font-delete i:before { vertical-align: sub; } .selected-font-top { position: relative; } .selected-font-top.have-variants { cursor:pointer; } .selected-font-top { padding: 5px 10px; background: #F7F7F7; background: -webkit-linear-gradient(#FAFAFA, #F3F3F3); background: -o-linear-gradient(#FAFAFA, #F3F3F3); background: -moz-linear-gradient(#FAFAFA, #F3F3F3); background: linear-gradient(#FAFAFA, #F3F3F3); } .selected-font-top.fopened { border-bottom: 1px solid #ECECEC; } .selected-font-content { display: none; padding: 15px 10px; background: #FDFDFD; position: relative; } .selected-font-content .spinner.fspinner { bottom: 23px; right: 10px; position: absolute; float: right !important; } .fspinner-show { float: left; display: block; } /*Fixed*/ .wrap { position: relative; } .nav { background: #fff; border: 1px solid #e9e9e9; padding: 8px 12px; margin: 15px 0 17px; display: block; width: 100%; box-sizing: border-box; } .fonts-list { width: 65%; float: left; } .gfont { border: 1px solid #dcdcdc; margin: 0 3px 10px 0; background: #fff; position: relative; -moz-box-shadow: 0 1px 1px #e1e1e1; -webkit-box-shadow: 0 1px 1px #eee; -o-box-shadow: 0 1px 1px #eee; box-shadow: 0 1px 1px #eee; padding: 8px 10px; } .gfont div.font-header, .fonts-selected-list div.font-header { margin: 0; float: left; font-size: 17px; line-height: 34px; } .fonts-selected-list { position: absolute; top: 45px; right: 0; margin: 0; padding:0; width: 360px; margin-top: 6em; background: #fff; border: 1px solid #dcdcdc; -moz-box-shadow: 0px 3px 3px #D6D6D6; -webkit-box-shadow: 0px 3px 3px #D6D6D6; -o-box-shadow: 0px 3px 3px #D6D6D6; box-shadow: 0px 3px 3px #D6D6D6; } #fonts-selected-wrapper { margin-top: 0.5em; border-top: 1px solid #F0F0F0; overflow:auto; padding: 10px; } #fonts-selected-wrapper .selected-font { background: #F1F1F1; margin-bottom: 7px; position: relative; border: 1px solid #ECECEC; } .fonts-selected-list h3 { margin:5px; padding: 8px 10px; } .font-variant input { vertical-align: bottom; margin-right: 8px; } input.button.update-google-font-button { float: left; display: block; width: 100%; margin: 10px 0 0; padding: 3px 0; clear: both; -mox-box-sizing: content-box; box-sizing: content-box; -webkit-transition: all 0.218s linear; -moz-transition: all 0.218s linear; transition: all 0.218s linear; background: #04a4cc; border-color: #037c9a; color: #fff; -webkit-box-shadow: inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15); box-shadow: inset 0 1px 0 #22cffb,0 1px 0 rgba(0,0,0,.15); } input.button.update-google-font-button:focus, input.button.update-google-font-button:hover, input.button.update-google-font-button:active { outline: none; background: #0490b3; border-color: #036881; color: #fff; -webkit-box-shadow: inset 0 1px 0 #09cafa,0 1px 0 rgba(0,0,0,.15); box-shadow: inset 0 1px 0 #09cafa,0 1px 0 rgba(0,0,0,.15); } .font-variant { display: inline-block; font-size: 14px; margin: 0 0 6px; min-width: 96px; } .uagffixed { position: fixed; top: 50px; right: 20px; z-index: 999999999; margin: 0 !important; } @media all and (max-width: 1200px) { .fonts-selected-list, .uagffixed { width: 23%; } } /*Customizations*/ .wrap.uavc-gfont .add-new-h2, .wrap.uavc-gfont .add-new-h2:active { padding: 6px 10px; color: #0074a2; } .wrap.uavc-gfont .add-new-h2:hover{ background: #2ea2cc; color: #fff; } .wrap.uavc-gfont input#refresh-google-fonts:focus { outline: none; cursor: pointer; } .wrap.uavc-gfont .nav { position: relative; min-width: 255px; border: 1px solid #e5e5e5; -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.04); box-shadow: 0 1px 1px rgba(0,0,0,.04); background: #fff; margin-top: 10px; } .wrap.uavc-gfont input#search_gfont { max-width: 50%; width: 320px; padding: 5px 7px !important; font-size: 13px; line-height: 1.5em !important; font-weight: 600; } /*buttons*/ .wrap.uavc-gfont .add-google-font, .google-font-message-buttons { cursor: pointer; padding: 8px 12px; text-align: center; font-size: 12px; min-width: 111px; text-align: center; background: #2ea2cc; color: #fff; border: 1px solid #0074a2; border-radius: 3px; -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15); box-shadow: inset 0 1px 0 rgba(120,200,230,.5),0 1px 0 rgba(0,0,0,.15); text-decoration: none; -webkit-transition: all 0.218s; -moz-transition: all 0.218s; transition: all 0.218s; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; } .wrap.uavc-gfont .add-google-font:hover, .wrap.uavc-gfont .add-google-font:active, .wrap.uavc-gfont .add-google-font:focus, .google-font-message-buttons:hover, .google-font-message-buttons:active, .google-font-message-buttons:focus { background: #Line truncated
@@ -0,0 +1,74 @@
.form-control .select2-choice {
border: 0;
border-radius: 2px;
}
.form-control .select2-choice .select2-arrow {
border-radius: 0 2px 2px 0;
}
.form-control.select2-container {
height: auto !important;
padding: 0;
}
.form-control.select2-container.select2-dropdown-open {
border-color: #5897FB;
border-radius: 3px 3px 0 0;
}
.form-control .select2-container.select2-dropdown-open .select2-choices {
border-radius: 3px 3px 0 0;
}
.form-control.select2-container .select2-choices {
border: 0 !important;
border-radius: 3px;
}
.control-group.warning .select2-container .select2-choice,
.control-group.warning .select2-container .select2-choices,
.control-group.warning .select2-container-active .select2-choice,
.control-group.warning .select2-container-active .select2-choices,
.control-group.warning .select2-dropdown-open.select2-drop-above .select2-choice,
.control-group.warning .select2-dropdown-open.select2-drop-above .select2-choices,
.control-group.warning .select2-container-multi.select2-container-active .select2-choices {
border: 1px solid #C09853 !important;
}
.control-group.warning .select2-container .select2-choice div {
border-left: 1px solid #C09853 !important;
background: #FCF8E3 !important;
}
.control-group.error .select2-container .select2-choice,
.control-group.error .select2-container .select2-choices,
.control-group.error .select2-container-active .select2-choice,
.control-group.error .select2-container-active .select2-choices,
.control-group.error .select2-dropdown-open.select2-drop-above .select2-choice,
.control-group.error .select2-dropdown-open.select2-drop-above .select2-choices,
.control-group.error .select2-container-multi.select2-container-active .select2-choices {
border: 1px solid #B94A48 !important;
}
.control-group.error .select2-container .select2-choice div {
border-left: 1px solid #B94A48 !important;
background: #F2DEDE !important;
}
.control-group.info .select2-container .select2-choice,
.control-group.info .select2-container .select2-choices,
.control-group.info .select2-container-active .select2-choice,
.control-group.info .select2-container-active .select2-choices,
.control-group.info .select2-dropdown-open.select2-drop-above .select2-choice,
.control-group.info .select2-dropdown-open.select2-drop-above .select2-choices,
.control-group.info .select2-container-multi.select2-container-active .select2-choices {
border: 1px solid #3A87AD !important;
}
.control-group.info .select2-container .select2-choice div {
border-left: 1px solid #3A87AD !important;
background: #D9EDF7 !important;
}
.control-group.success .select2-container .select2-choice,
.control-group.success .select2-container .select2-choices,
.control-group.success .select2-container-active .select2-choice,
.control-group.success .select2-container-active .select2-choices,
.control-group.success .select2-dropdown-open.select2-drop-above .select2-choice,
.control-group.success .select2-dropdown-open.select2-drop-above .select2-choices,
.control-group.success .select2-container-multi.select2-container-active .select2-choices {
border: 1px solid #468847 !important;
}
.control-group.success .select2-container .select2-choice div {
border-left: 1px solid #468847 !important;
background: #DFF0D8 !important;
}
@@ -0,0 +1,582 @@
.select2-container {
box-sizing: border-box;
display: inline-block;
margin: 0;
position: relative;
vertical-align: middle; }
.select2-container .select2-selection--single {
box-sizing: border-box;
cursor: pointer;
display: block;
height: 28px;
user-select: none;
-webkit-user-select: none; }
.select2-container .select2-selection--single .select2-selection__rendered {
display: block;
padding-left: 8px;
padding-right: 20px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap; }
.select2-container .select2-selection--single .select2-selection__clear {
position: relative; }
.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
padding-right: 8px;
padding-left: 20px; }
.select2-container .select2-selection--multiple {
box-sizing: border-box;
cursor: pointer;
display: block;
min-height: 32px;
user-select: none;
-webkit-user-select: none; }
.select2-container .select2-selection--multiple .select2-selection__rendered {
display: inline-block;
overflow: hidden;
padding-left: 8px;
text-overflow: ellipsis;
white-space: nowrap; }
.select2-container .select2-search--inline {
float: left; }
.select2-container .select2-search--inline .select2-search__field {
box-sizing: border-box;
border: none;
font-size: 100%;
margin-top: 5px;
padding: 0; }
.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
-webkit-appearance: none; }
.select2-dropdown {
background-color: white;
border: 1px solid #aaa;
border-radius: 4px;
box-sizing: border-box;
display: block;
position: absolute;
left: -100000px;
width: 100%;
z-index: 1051; }
.select2-results {
display: block; }
.select2-results__options {
list-style: none;
margin: 0;
padding: 0; }
.select2-results__option {
padding: 6px;
user-select: none;
-webkit-user-select: none; }
.select2-results__option[aria-selected] {
cursor: pointer; }
.select2-container--open .select2-dropdown {
left: 0; }
.select2-container--open .select2-dropdown--above {
border-bottom: none;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0; }
.select2-container--open .select2-dropdown--below {
border-top: none;
border-top-left-radius: 0;
border-top-right-radius: 0; }
.select2-search--dropdown {
display: block;
padding: 4px; }
.select2-search--dropdown .select2-search__field {
padding: 4px;
width: 100%;
box-sizing: border-box; }
.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
-webkit-appearance: none; }
.select2-search--dropdown.select2-search--hide {
display: none; }
.select2-close-mask {
border: 0;
margin: 0;
padding: 0;
display: block;
position: fixed;
left: 0;
top: 0;
min-height: 100%;
min-width: 100%;
height: auto;
width: auto;
opacity: 0;
z-index: 99;
background-color: #fff;
filter: alpha(opacity=0); }
.select2-hidden-accessible {
border: 0 !important;
clip: rect(0 0 0 0) !important;
height: 1px !important;
margin: -1px !important;
overflow: hidden !important;
padding: 0 !important;
position: absolute !important;
width: 1px !important; }
.select2-container--default .select2-selection--single {
background-color: #fff;
border: 1px solid #aaa;
border-radius: 4px; }
.select2-container--default .select2-selection--single .select2-selection__rendered {
color: #444;
line-height: 28px; }
.select2-container--default .select2-selection--single .select2-selection__clear {
cursor: pointer;
float: right;
font-weight: bold; }
.select2-container--default .select2-selection--single .select2-selection__placeholder {
color: #999; }
.select2-container--default .select2-selection--single .select2-selection__arrow {
height: 26px;
position: absolute;
top: 1px;
right: 1px;
width: 20px; }
.select2-container--default .select2-selection--single .select2-selection__arrow b {
border-color: #888 transparent transparent transparent;
border-style: solid;
border-width: 5px 4px 0 4px;
height: 0;
left: 50%;
margin-left: -4px;
margin-top: -2px;
position: absolute;
top: 50%;
width: 0; }
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
float: left; }
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
left: 1px;
right: auto; }
.select2-container--default.select2-container--disabled .select2-selection--single {
background-color: #eee;
cursor: default; }
.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
display: none; }
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
border-color: transparent transparent #888 transparent;
border-width: 0 4px 5px 4px; }
.select2-container--default .select2-selection--multiple {
background-color: white;
border: 1px solid #aaa;
border-radius: 4px;
cursor: text; }
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
box-sizing: border-box;
list-style: none;
margin: 0;
padding: 0 5px;
width: 100%; }
.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
list-style: none; }
.select2-container--default .select2-selection--multiple .select2-selection__placeholder {
color: #999;
margin-top: 5px;
float: left; }
.select2-container--default .select2-selection--multiple .select2-selection__clear {
cursor: pointer;
float: right;
font-weight: bold;
margin-top: 5px;
margin-right: 10px; }
.select2-container--default .select2-selection--multiple .select2-selection__choice {
background-color: #e4e4e4;
border: 1px solid #aaa;
border-radius: 4px;
cursor: default;
float: left;
margin-right: 5px;
margin-top: 5px;
padding: 0 5px; }
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
color: #999;
cursor: pointer;
display: inline-block;
font-weight: bold;
margin-right: 2px; }
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
color: #333; }
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline {
float: right; }
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
margin-left: 5px;
margin-right: auto; }
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
margin-left: 2px;
margin-right: auto; }
.select2-container--default.select2-container--focus .select2-selection--multiple {
border: solid black 1px;
outline: 0; }
.select2-container--default.select2-container--disabled .select2-selection--multiple {
background-color: #eee;
cursor: default; }
.select2-container--default.select2-container--disabled .select2-selection__choice__remove {
display: none; }
.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
border-top-left-radius: 0;
border-top-right-radius: 0; }
.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0; }
.select2-container--default .select2-search--dropdown .select2-search__field {
border: 1px solid #aaa; }
.select2-container--default .select2-search--inline .select2-search__field {
background: transparent;
border: none;
outline: 0;
box-shadow: none;
-webkit-appearance: textfield; }
.select2-container--default .select2-results > .select2-results__options {
max-height: 200px;
overflow-y: auto; }
.select2-container--default .select2-results__option[role=group] {
padding: 0; }
.select2-container--default .select2-results__option[aria-disabled=true] {
color: #999; }
.select2-container--default .select2-results__option[aria-selected=true] {
background-color: #ddd; }
.select2-container--default .select2-results__option .select2-results__option {
padding-left: 1em; }
.select2-container--default .select2-results__option .select2-results__option .select2-results__group {
padding-left: 0; }
.select2-container--default .select2-results__option .select2-results__option .select2-results__option {
margin-left: -1em;
padding-left: 2em; }
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
margin-left: -2em;
padding-left: 3em; }
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
margin-left: -3em;
padding-left: 4em; }
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
margin-left: -4em;
padding-left: 5em; }
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
margin-left: -5em;
padding-left: 6em; }
.select2-container--default .select2-results__option--highlighted[aria-selected] {
background-color: #5897fb;
color: white; }
.select2-container--default .select2-results__group {
cursor: default;
display: block;
padding: 6px; }
.select2-container--classic .select2-selection--single {
background-color: #f7f7f7;
border: 1px solid #aaa;
border-radius: 4px;
outline: 0;
background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%);
background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%);
background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
.select2-container--classic .select2-selection--single:focus {
border: 1px solid #5897fb; }
.select2-container--classic .select2-selection--single .select2-selection__rendered {
color: #444;
line-height: 28px; }
.select2-container--classic .select2-selection--single .select2-selection__clear {
cursor: pointer;
float: right;
font-weight: bold;
margin-right: 10px; }
.select2-container--classic .select2-selection--single .select2-selection__placeholder {
color: #999; }
.select2-container--classic .select2-selection--single .select2-selection__arrow {
background-color: #ddd;
border: none;
border-left: 1px solid #aaa;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
height: 26px;
position: absolute;
top: 1px;
right: 1px;
width: 20px;
background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0); }
.select2-container--classic .select2-selection--single .select2-selection__arrow b {
border-color: #888 transparent transparent transparent;
border-style: solid;
border-width: 5px 4px 0 4px;
height: 0;
left: 50%;
margin-left: -4px;
margin-top: -2px;
position: absolute;
top: 50%;
width: 0; }
.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear {
float: left; }
.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {
border: none;
border-right: 1px solid #aaa;
border-radius: 0;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
left: 1px;
right: auto; }
.select2-container--classic.select2-container--open .select2-selection--single {
border: 1px solid #5897fb; }
.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
background: transparent;
border: none; }
.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
border-color: transparent transparent #888 transparent;
border-width: 0 4px 5px 4px; }
.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
border-top: none;
border-top-left-radius: 0;
border-top-right-radius: 0;
background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);
background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);
background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
border-bottom: none;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);
background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);
background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);
background-repeat: repeat-x;
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0); }
.select2-container--classic .select2-selection--multiple {
background-color: white;
border: 1px solid #aaa;
border-radius: 4px;
cursor: text;
outline: 0; }
.select2-container--classic .select2-selection--multiple:focus {
border: 1px solid #5897fb; }
.select2-container--classic .select2-selection--multiple .select2-selection__rendered {
list-style: none;
margin: 0;
padding: 0 5px; }
.select2-container--classic .select2-selection--multiple .select2-selection__clear {
display: none; }
.select2-container--classic .select2-selection--multiple .select2-selection__choice {
background-color: #e4e4e4;
border: 1px solid #aaa;
border-radius: 4px;
cursor: default;
float: left;
margin-right: 5px;
margin-top: 5px;
padding: 0 5px; }
.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
color: #888;
cursor: pointer;
display: inline-block;
font-weight: bold;
margin-right: 2px; }
.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
color: #555; }
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
float: right; }
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
margin-left: 5px;
margin-right: auto; }
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
margin-left: 2px;
margin-right: auto; }
.select2-container--classic.select2-container--open .select2-selection--multiple {
border: 1px solid #5897fb; }
.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
border-top: none;
border-top-left-radius: 0;
border-top-right-radius: 0; }
.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
border-bottom: none;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0; }
.select2-container--classic .select2-search--dropdown .select2-search__field {
border: 1px solid #aaa;
outline: 0; }
.select2-container--classic .select2-search--inline .select2-search__field {
outline: 0;
box-shadow: none; }
.select2-container--classic .select2-dropdown {
background-color: white;
border: 1px solid transparent; }
.select2-container--classic .select2-dropdown--above {
border-bottom: none; }
.select2-container--classic .select2-dropdown--below {
border-top: none; }
.select2-container--classic .select2-results > .select2-results__options {
max-height: 200px;
overflow-y: auto; }
.select2-container--classic .select2-results__option[role=group] {
padding: 0; }
.select2-container--classic .select2-results__option[aria-disabled=true] {
color: grey; }
.select2-container--classic .select2-results__option--highlighted[aria-selected] {
background-color: #3875d7;
color: white; }
.select2-container--classic .select2-results__group {
cursor: default;
display: block;
padding: 6px; }
.select2-container--classic.select2-container--open .select2-dropdown {
border-color: #5897fb; }
html[dir="rtl"] .select2-container-multi .select2-choices .select2-search-choice
{
margin-left: 0;
margin-right: 5px;
}
.select2-container-multi .select2-choices .select2-search-choice .select2-chosen {
cursor: default;
}
.select2-container-multi .select2-choices .select2-search-choice-focus {
background: #d4d4d4;
}
.wpb_vc_param_value .select2-search-choice-close {
display: block;
width: 12px;
height: 13px;
position: absolute;
right: 3px;
top: 3px;
left: 4px;
font-size: 1px;
outline: none;
background: url('../img/select2.png') right top no-repeat;
}
html[dir="rtl"] .wpb_vc_param_value .select2-search-choice-close {
right: auto;
left: 3px;
}
/*
.select2-container-multi .select2-search-choice-close {
left: 4px;
}
.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover {
background-position: right -12px;
}
*/
.wpb_vc_param_value .select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close {
background-position: right -12px;
}
/* disabled styles */
.wpb_vc_param_value .select2-container-multi.select2-container-disabled .select2-choices {
background-color: #f4f4f4;
background-image: none;
border: 1px solid #ddd;
cursor: default;
}
.wpb_vc_param_value .select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice {
padding: 3px 5px 3px 5px;
border: 1px solid #ddd;
background-image: none;
background-color: #f4f4f4;
}
.wpb_vc_param_value .select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close { display: none;
background: none;
}
/* end multiselect */
.wpb_vc_param_value .select2-result-selectable .select2-match,
.wpb_vc_param_value .select2-result-unselectable .select2-match {
text-decoration: underline;
}
.wpb_vc_param_value .select2-offscreen, .wpb_vc_param_value .select2-offscreen:focus {
clip: rect(0 0 0 0) !important;
width: 1px !important;
height: 1px !important;
border: 0 !important;
margin: 0 !important;
padding: 0 !important;
overflow: hidden !important;
position: absolute !important;
outline: 0 !important;
left: 0px !important;
top: 0px !important;
}
.wpb_vc_param_value .select2-display-none {
display: none;
}
.wpb_vc_param_value .select2-measure-scrollbar {
position: absolute;
top: -10000px;
left: -10000px;
width: 100px;
height: 100px;
overflow: scroll;
}
/* Retina-ize icons */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 2dppx) {
.wpb_vc_param_value .select2-search input,
.wpb_vc_param_value .select2-search-choice-close,
.wpb_vc_param_value .select2-container .select2-choice abbr,
.wpb_vc_param_value .select2-container .select2-choice .select2-arrow b {
background-image: url('../img/select2x2.png') !important;
background-repeat: no-repeat !important;
background-size: 60px 40px !important;
}
.wpb_vc_param_value .select2-search input {
background-position: 100% -21px !important;
}
}
@@ -0,0 +1 @@
.woo_grid,.woo_grid>.wpb_element_wrapper{background-image:url(../img/icon-woo-grid.png)!important}.woo_list,.woo_list>.wpb_element_wrapper{background-image:url(../img/icon-woo-list.png)!important}.woo_carousel,.woo_carousel>.wpb_element_wrapper{background-image:url(../img/icon-woo-carousel.png)!important}.woo_product,.woo_product>.wpb_element_wrapper{background-image:url(../img/icon-woo-product.png)!important}input#columns,input#per_page,select#cat,select#display_type,select#order,select#orderby{width:180px;float:right}#s2id_products{width:180px}#s2id_cat{width:180px;float:right;display:inline-block!important;z-index:999}select#cat.multiple{max-height:48px;padding-bottom:3px;padding-top:3px}.edit_form_line .cat,.edit_form_line .columns,.edit_form_line .display_type,.edit_form_line .order,.edit_form_line .orderby,.edit_form_line .per_page{width:48%;float:left;margin:1%;min-height:40px}#vc-properties-panel.ui-draggable .cat,#vc-properties-panel.ui-draggable .columns,#vc-properties-panel.ui-draggable .display_type,#vc-properties-panel.ui-draggable .order,#vc-properties-panel.ui-draggable .orderby,#vc-properties-panel.ui-draggable .per_page{width:100%;clear:both;margin:5px 0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}div.cat>label,div.columns>label,div.display_type>label,div.order>label,div.orderby>label,div.per_page>label{height:40px;line-height:40px;margin:0}[data-title="Edit Grid View [Beta]"] .wpb_el_type_woocomposer,[data-title="Edit List View [Beta]"] .wpb_el_type_woocomposer,[data-title="Edit Product Carousel [Beta]"] .wpb_el_type_woocomposer{background:#fafafa;padding:15px;margin:15px 0 30px!important;box-sizing:border-box;border:1px solid #ececec;border-radius:5px}.vc-editor [data-title="Edit Grid View [Beta]"] .wpb_el_type_woocomposer,.vc-editor [data-title="Edit List View [Beta]"] .wpb_el_type_woocomposer,.vc-editor [data-title="Edit Product Carousel [Beta]"] .wpb_el_type_woocomposer{width:94%;margin-left:3%!important;margin-right:3%!important}@media (max-width:767px){input#columns,input#per_page,select#cat,select#display_type,select#order,select#orderby{width:60%;float:right;margin:0;margin-bottom:10px}.edit_form_line label{width:30%;float:left;height:39px;line-height:45px;margin-bottom:10px}}.onoffswitch{position:relative;width:95px;display:inline-block;float:left;margin-right:15px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.onoffswitch-checkbox{display:none!important}.onoffswitch-label{display:block;overflow:hidden;cursor:pointer;border:0 solid #999;border-radius:0}.onoffswitch-inner{width:200%;margin-left:-100%;-moz-transition:margin .3s ease-in 0s;-webkit-transition:margin .3s ease-in 0s;-o-transition:margin .3s ease-in 0s;transition:margin .3s ease-in 0s}.onoffswitch-inner>div{float:left;position:relative;width:50%;height:24px;padding:0;line-height:24px;font-size:12px;color:#fff;font-weight:700;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.onoffswitch-inner .onoffswitch-active{padding-left:15px;background-color:#ccc;color:#fff}.onoffswitch-inner .onoffswitch-inactive{padding-right:15px;background-color:#ccc;color:#fff;text-align:right}.onoffswitch-switch{width:35px;margin:0;text-align:center;border:0 solid #999;border-radius:0;position:absolute;top:0;bottom:0}.onoffswitch-active .onoffswitch-switch{background:#3f9cc7;left:0}.onoffswitch-inactive .onoffswitch-switch{background:#7d7d7d;right:0}.onoffswitch-active .onoffswitch-switch:before{content:" ";position:absolute;top:0;left:35px;border-style:solid;border-color:#3f9cc7 transparent transparent #3f9cc7;border-width:15px}.onoffswitch-inactive .onoffswitch-switch:before{content:" ";position:absolute;top:0;right:35px;border-style:solid;border-color:transparent #7d7d7d #7d7d7d transparent;border-width:50px}.onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-inner{margin-left:0}.form-control .select2-choice{border:0;border-radius:2px}.form-control .select2-choice .select2-arrow{border-radius:0 2px 2px 0}.form-control.select2-container{height:auto!important;padding:0}.form-control.select2-container.select2-dropdown-open{border-color:#5897fb;border-radius:3px 3px 0 0}.form-control .select2-container.select2-dropdown-open .select2-choices{border-radius:3px 3px 0 0}.form-control.select2-container .select2-choices{border:0!important;border-radius:3px}.control-group.warning .select2-container .select2-choice,.control-group.warning .select2-container .select2-choices,.control-group.warning .select2-container-active .select2-choice,.control-group.warning .select2-container-active .select2-choices,.control-group.warning .select2-container-multi.select2-container-active .select2-choices,.control-group.warning .select2-dropdown-open.select2-drop-above .select2-choice,.control-group.warning .select2-dropdown-open.select2-drop-above .select2-choices{border:1px solid #c09853!important}.control-group.warning .select2-container .select2-choice div{border-left:Line truncated
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 845 B

@@ -0,0 +1 @@
<?php /*Silence is Golden*/ ?>
@@ -0,0 +1 @@
$gf = jQuery.noConflict(); $gf(document).ready(function () { $gf('body').on('click', '#refresh-google-fonts', function () { $gf(this).next('.spinner').css({'display':'inline-block','float':'none','vertical-align': 'middle'}); var data = { action: 'ultimate_google_fonts_refresh', security: uavc.google_font_nonce, }; // since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php $gf.post(ajaxurl, data, function(response) { var object = jQuery.parseJSON(response); var count = object.count; var msg = object.message; if(count == 0) { var dmsg = msg; } else { var dmsg = msg+' Please wait, Page is reloading.'; window.location.reload(true); } $gf('#vc-gf-msg').html('<div class="updated">'+dmsg+'</div>').hide(); $gf('#vc-gf-msg').slideDown(300); $gf('#refresh-google-fonts').next('.spinner').css({'display':'none'}); setTimeout(function(){ $gf('#vc-gf-msg').slideUp(300); },4000); }); }); $gf('body').on('click', '.add-google-font', function () { var button = $gf(this); var font_family = $gf(this).attr('data-font_family'); var font_name = $gf(this).attr('data-font_name'); if(!button.hasClass('font-added')) { var variants_array = new Array(); button.parent().find('.variants').find('.font-variant').each(function (iv, variant) { $v = $gf(variant); var temp_arr = {}; var variant_value = $v.find('.font-variant-inputs').val(); temp_arr['variant_value'] = variant_value; if ($v.find('.font-variant-inputs').is(':checked')) { temp_arr['variant_selected'] = true; } else { temp_arr['variant_selected'] = false; } variants_array.push(temp_arr); }); var data = { action: 'add_google_font', font_family: font_family, font_name: font_name, variants: variants_array, security: uavc.add_google_fonts }; $gf.post(ajaxurl, data, function(response) { //console.log(response); button.val('Added in collection'); button.addClass('font-added'); //if(variants_array.length > 0) if(variants_array.length > 0) var xclass = 'have-variants'; else var xclass = ''; var gshtml = '<div class="selected-font"><div class="selected-font-top fopened '+xclass+'"><div class="font-header" style="font-family:\''+font_name+'\'">'+font_name+'</div>'; if(variants_array.length > 0) gshtml += '<i class="dashicons dashicons-arrow-down"></i>'; gshtml += '<div class="clear"></div></div><span class="font-delete" data-font_name="'+font_name+'"><i class="dashicons dashicons-no-alt"></i></span>'; if(variants_array.length > 0) { if(temp = font_name.split(' ')) { var ctemp = temp.length; var temp_id = ''; $gf.each(temp,function (i, val) { temp_id += val; if ((ctemp-1) != i) temp_id += '-'; }) } else var temp_id = font_name; gshtml += '<div class="selected-font-content" style="display:block">'; $gf.each(variants_array, function(index, variant){ var lid = temp_id+'-dynamic-'+variant.variant_value+'-'+index; var font_style = 'font-family:\''+font_name+'\';'; if(/italic/i.test(variant.variant_value)) { font_style += 'font-style:italic;'; } var weight = 'normal'; if (weight = variant.variant_value.match(/\d+/)) { font_style += 'font-weight:'+weight+';'; } gshtml += '<span class="font-variant"><input type="checkbox" id="'+lid+'" value="'+variant.variant_value+'" class="selected-variant-checkbox" /><label style="'+font_style+'" for="'+lid+'">'+variant.variant_value+'</label></span>'; }); gshtml += '<input type="button" class="button alignleft update-google-font-button" value="Update font" data-font_name="'+font_name+'" /><span class="spinner fspinner"></span><div class="clear"></div></div>'; } gshtml += '</div>'; $gf('#fonts-selected-wrapper').prepend(gshtml); }); } }); $gf('body').on('click', '.font-delete', function () { $gf('.google-font-overlay').remove(); $gf('.google-font-confirmation').remove(); var button = $gf(this); var font_name = $gf(this).attr('data-font_name'); $gf('body').append('<div class="google-font-overlay"></div>'); $gf('body').append('<div class="google-font-confirmation"><div class="google-font-confirmation-header"><h3>Are you sure?</h3></div><div class="google-font-message"><input type="button" id="" data-gfont_name="'+font_name+'" class="google-font-message-buttons google-font-message-delete gfont-buttons" value="Yes, Please delete font"/><input type="button" id="" class="google-font-message-buttons google-font-message-no-delete gfont-buttons" value="No, Keep it"/></div><a href="javacript:void(0)" class="gfont-anchor-buttons gfont-buttons google-font-message-no-delete"><i class="dashicons dashicons-no-alt"></i></a></div>'); $gf('.google-font-oveLine truncated
@@ -0,0 +1,116 @@
jQuery(document).ready(function(){
var inline_form = jQuery(".edit_form_line");
var shortcode = jQuery("#shortcode");
var display_type = jQuery("#display_type"),
per_page = jQuery("#per_page"),
columns = jQuery("#columns"),
orderby = jQuery("#orderby"),
order = jQuery("#order"),
cat = jQuery("#cat");
cat_lbl = jQuery("#cat").prev("label");
cat_div = jQuery(".cat");
var obj = [display_type, per_page, columns, orderby, order, cat, cat_lbl, cat_div];
jQuery.each(obj,function(index,item){
item.bind("change",function(){
generateShortcode();
});
});
if(display_type.val() != "product_category" && display_type.val() != "product_categories"){
cat.hide();
cat_lbl.hide();
cat_div.hide();
cat.addClass("none");
}
if(display_type.val() == "product_categories"){
cat.attr("multiple","true");
cat.addClass("multiple");
} else {
cat.removeAttr("multiple");
cat.removeClass("multiple");
}
if(jQuery("#shortcode").val() == ""){
generateShortcode();
}
display_type.bind("change",function(){
if(jQuery(this).val() == "product_category" || jQuery(this).val() == "product_categories"){
cat.show();
cat.removeClass("none");
cat_lbl.show();
cat_div.show();
} else {
cat.hide();
cat.addClass("none");
cat_lbl.hide();
cat_div.hide();
};
if(jQuery(this).val() == "product_categories"){
cat.attr("multiple","true");
cat.addClass("multiple");
cat.select2({
placeholder: "Select a Category",
allowClear: true,
});
cat_lbl.show();
cat_div.show();
} else if(jQuery(this).val() == "product_category"){
cat.removeAttr("multiple");
cat.removeClass("multiple");
cat.select2({
placeholder: "Select a Category",
allowClear: true
});
cat_lbl.show();
cat_div.show();
} else {
cat_lbl.hide();
cat_div.hide();
}
});
inline_form.click(function(){
generateShortcode();
});
});
function generateShortcode(){
var inline_form = jQuery(".edit_form_line");
var shortcode = jQuery("#shortcode");
var display_type = jQuery("#display_type"),
per_page = jQuery("#per_page"),
columns = jQuery("#columns"),
orderby = jQuery("#orderby"),
order = jQuery("#order"),
cat = jQuery("#cat");
cat_lbl = jQuery("#cat").prev("label");
cat_div = jQuery(".cat"),
data = "[";
if(!display_type.hasClass("none")){
data += display_type.val()+" ";
}
if(!per_page.hasClass("none")){
if(display_type.val() == "product_categories"){
data += ' number="'+per_page.val()+'"';
} else {
data += ' per_page="'+per_page.val()+'"';
}
}
//if($module == "grid"){
if(!columns.hasClass("none")){
data += ' columns="'+columns.val()+'"';
}
//}
if(!orderby.hasClass("none")){
data += ' orderby="'+orderby.val()+'"';
}
if(!order.hasClass("none")){
data += ' order="'+order.val()+'"';
}
if(!cat.hasClass("none")){
if(display_type.val() == "product_categories"){
data += ' ids="'+cat.val()+'"';
} else {
data += ' category="'+cat.children("option:selected").text().toLowerCase()+'"';
}
}
data += "]";
shortcode.val(base64_encode(rawurlencode(data)));
//shortcode.val(data);
}
File diff suppressed because it is too large. Load diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

@@ -0,0 +1,8 @@
@charset "UTF-8";/*!
Animate.css - http://daneden.me/animate
Licensed under the MIT license
Copyright (c) 2013 Daniel Eden
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.hinge{-webkit-animation-duration:2s;animation-duration:2s}@-webkit-keyframes bounce{0%,100%,20%,50%,80%{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-30px);transform:translateY(-30px)}60%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}}@keyframes bounce{0%,100%,20%,50%,80%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-30px);-ms-transform:translateY(-30px);transform:translateY(-30px)}60%{-webkit-transform:translateY(-15px);-ms-transform:translateY(-15px);transform:translateY(-15px)}}.bounce{-webkit-animation-name:bounce;animation-name:bounce}@-webkit-keyframes flash{0%,100%,50%{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,100%,50%{opacity:1}25%,75%{opacity:0}}.flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.1);transform:scale(1.1)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes pulse{0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}100%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}}.pulse{-webkit-animation-name:pulse;animation-name:pulse}@-webkit-keyframes rubberBand{0%{-webkit-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scaleX(1.25) scaleY(0.75);transform:scaleX(1.25) scaleY(0.75)}40%{-webkit-transform:scaleX(0.75) scaleY(1.25);transform:scaleX(0.75) scaleY(1.25)}60%{-webkit-transform:scaleX(1.15) scaleY(0.85);transform:scaleX(1.15) scaleY(0.85)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes rubberBand{0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scaleX(1.25) scaleY(0.75);-ms-transform:scaleX(1.25) scaleY(0.75);transform:scaleX(1.25) scaleY(0.75)}40%{-webkit-transform:scaleX(0.75) scaleY(1.25);-ms-transform:scaleX(0.75) scaleY(1.25);transform:scaleX(0.75) scaleY(1.25)}60%{-webkit-transform:scaleX(1.15) scaleY(0.85);-ms-transform:scaleX(1.15) scaleY(0.85);transform:scaleX(1.15) scaleY(0.85)}100%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}}.rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shake{0%,100%{-webkit-transform:translateX(0);transform:translateX(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);transform:translateX(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);transform:translateX(10px)}}@keyframes shake{0%,100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);-ms-transform:translateX(-10px);transform:translateX(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);-ms-transform:translateX(10px);transform:translateX(10px)}}.shake{-webkit-animation-name:shake;animation-name:shake}@-webkit-keyframes swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}100%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}}@keyframes swing{20%{-webkit-transform:rotate(15deg);-ms-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);-ms-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);-ms-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);-ms-transform:rotate(-5deg);transform:rotate(-5deg)}100%{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}}.swing{-webkit-transform-origin:top center;-ms-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scale(1);transform:scale(1)}10%,20%{-webkit-transform:scale(0.9) rotate(-3deg);transform:scale(0.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale(1.1) rotate(3deg);transform:scale(1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale(1.1) rotate(-3deg);transform:scale(1.1) rotate(-3deg)}100%{-webkit-transform:scale(1) rotate(0);transform:scale(1) rotate(0)}}@keyframes tada{0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}10%,20%{-webkit-transform:scale(0.9) rotate(-3deg);-ms-transform:scale(0.9) rotate(-3deg);transform:scale(0.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale(1.1) rotate(3deg);-ms-transform:scale(1.1) rotate(3deg);transform:scale(1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale(1.1) rotate(-3deg);-ms-transform:scale(1.1) rotate(-3deg);transform:scale(1.1) rotate(-3deg)}100%{-webkit-transform:scale(1) rotate(0);-ms-transform:scale(1) roLine truncated
@@ -0,0 +1,155 @@
body {
padding: 0;
margin: 0;
font-family: sans-serif;
font-size: 1em;
line-height: 1.5;
color: #555;
background: #fff;
}
h1 {
font-size: 1.5em;
font-weight: normal;
}
small {
font-size: .66666667em;
}
a {
color: #e74c3c;
text-decoration: none;
}
a:hover, a:focus {
box-shadow: 0 1px #e74c3c;
}
.bshadow0, input {
box-shadow: inset 0 -2px #e7e7e7;
}
input:hover {
box-shadow: inset 0 -2px #ccc;
}
input, fieldset {
font-size: 1em;
margin: 0;
padding: 0;
border: 0;
}
input {
color: inherit;
line-height: 1.5;
height: 1.5em;
padding: .25em 0;
}
input:focus {
outline: none;
box-shadow: inset 0 -2px #449fdb;
}
.glyph {
font-size: 16px;
width: 15em;
padding-bottom: 1em;
margin-right: 4em;
margin-bottom: 1em;
float: left;
overflow: hidden;
}
.liga {
width: 80%;
width: calc(100% - 2.5em);
}
.talign-right {
text-align: right;
}
.talign-center {
text-align: center;
}
.bgc1 {
background: #f1f1f1;
}
.fgc1 {
color: #999;
}
.fgc0 {
color: #000;
}
p {
margin-top: 1em;
margin-bottom: 1em;
}
.mvm {
margin-top: .75em;
margin-bottom: .75em;
}
.mtn {
margin-top: 0;
}
.mtl, .mal {
margin-top: 1.5em;
}
.mbl, .mal {
margin-bottom: 1.5em;
}
.mal, .mhl {
margin-left: 1.5em;
margin-right: 1.5em;
}
.mhmm {
margin-left: 1em;
margin-right: 1em;
}
.mls {
margin-left: .25em;
}
.ptl {
padding-top: 1.5em;
}
.pbs, .pvs {
padding-bottom: .25em;
}
.pvs, .pts {
padding-top: .25em;
}
.clearfix {
zoom: 1;
}
.unit {
float: left;
}
.unitRight {
float: right;
}
.size1of2 {
width: 50%;
}
.size1of1 {
width: 100%;
}
.clearfix:before, .clearfix:after {
content: " ";
display: table;
}
.clearfix:after {
clear: both;
}
.hidden-true {
display: none;
}
.textbox0 {
width: 3em;
background: #f1f1f1;
padding: .25em .5em;
line-height: 1.5;
height: 1.5em;
}
#testDrive {
padding-top: 24px;
line-height: 1.5;
}
.fs0 {
font-size: 16px;
}
.fs1 {
font-size: 28px;
}
.fs2 {
font-size: 20px;
}
@@ -0,0 +1,30 @@
if (!('boxShadow' in document.body.style)) {
document.body.setAttribute('class', 'noBoxShadow');
}
document.body.addEventListener("click", function(e) {
var target = e.target;
if (target.tagName === "INPUT" &&
target.getAttribute('class').indexOf('liga') === -1) {
target.select();
}
});
(function() {
var fontSize = document.getElementById('fontSize'),
testDrive = document.getElementById('testDrive'),
testText = document.getElementById('testText');
function updateTest() {
testDrive.innerHTML = testText.value || String.fromCharCode(160);
if (window.icomoonLiga) {
window.icomoonLiga(testDrive);
}
}
function updateSize() {
testDrive.style.fontSize = fontSize.value + 'px';
}
fontSize.addEventListener('change', updateSize, false);
testText.addEventListener('input', updateTest, false);
testText.addEventListener('change', updateTest, false);
updateSize();
}());
@@ -0,0 +1,553 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>IcoMoon Demo</title>
<meta name="description" content="An Icon Font Generated By IcoMoon.io">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="demo-files/demo.css">
<link rel="stylesheet" href="wooicon.css">
<!--[if lt IE 8]><!-->
<link rel="stylesheet" href="ie7/ie7.css">
<!--<![endif]-->
</head>
<body>
<div class="bgc1 clearfix">
<h1 class="mhmm mvm"><span class="fgc1">Font Name:</span> WooComposer <small class="fgc1">(Glyphs:&nbsp;39)</small></h1>
</div>
<div class="clearfix mhl ptl">
<h1 class="mvm mtn bshadow fgc1">Grid Size: 14</h1>
<div class="glyph fs1">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-uniE612"></span><span class="mls"> wooicon-uniE612</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e612" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe612;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
</div>
<div class="clearfix mhl ptl">
<h1 class="mvm mtn bshadow fgc1">Grid Size: 20</h1>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-paperplane"></span><span class="mls"> wooicon-paperplane</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e60f" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe60f;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-reply"></span><span class="mls"> wooicon-reply</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e615" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe615;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-reply-all"></span><span class="mls"> wooicon-reply-all</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e616" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe616;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-forward"></span><span class="mls"> wooicon-forward</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e603" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe603;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-export"></span><span class="mls"> wooicon-export</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e610" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe610;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-heart"></span><span class="mls"> wooicon-heart</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e617" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe617;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-heart2"></span><span class="mls"> wooicon-heart2</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e618" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe618;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-star"></span><span class="mls"> wooicon-star</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e600" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe600;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-star2"></span><span class="mls"> wooicon-star2</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e601" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe601;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-thumbsup"></span><span class="mls"> wooicon-thumbsup</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e602" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe602;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-thumbsdown"></span><span class="mls"> wooicon-thumbsdown</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e60c" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe60c;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-flag"></span><span class="mls"> wooicon-flag</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e60d" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe60d;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-tag"></span><span class="mls"> wooicon-tag</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e60e" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe60e;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-bag"></span><span class="mls"> wooicon-bag</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e604" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe604;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-cart4"></span><span class="mls"> wooicon-cart4</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e605" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe605;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-cross"></span><span class="mls"> wooicon-cross</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e606" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe606;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-plus3"></span><span class="mls"> wooicon-plus3</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e607" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe607;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-cross2"></span><span class="mls"> wooicon-cross2</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e608" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe608;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-plus22"></span><span class="mls"> wooicon-plus22</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e609" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe609;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-cross3"></span><span class="mls"> wooicon-cross3</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e60a" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe60a;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-plus32"></span><span class="mls"> wooicon-plus32</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e60b" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe60b;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-cycle"></span><span class="mls"> wooicon-cycle</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e611" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe611;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-play"></span><span class="mls"> wooicon-play</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e613" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe613;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-pause"></span><span class="mls"> wooicon-pause</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e614" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe614;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-arrow-left4"></span><span class="mls"> wooicon-arrow-left4</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e619" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe619;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-arrow-right5"></span><span class="mls"> wooicon-arrow-right5</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e61a" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe61a;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-arrow-left5"></span><span class="mls"> wooicon-arrow-left5</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e61b" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe61b;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-arrow-right6"></span><span class="mls"> wooicon-arrow-right6</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e61c" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe61c;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-arrow-left6"></span><span class="mls"> wooicon-arrow-left6</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e61d" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe61d;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-arrow-right7"></span><span class="mls"> wooicon-arrow-right7</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e61e" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe61e;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-arrow-left7"></span><span class="mls"> wooicon-arrow-left7</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e61f" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe61f;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-arrow-right8"></span><span class="mls"> wooicon-arrow-right8</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e620" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe620;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-arrow-left8"></span><span class="mls"> wooicon-arrow-left8</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e621" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe621;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-arrow-right9"></span><span class="mls"> wooicon-arrow-right9</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e622" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe622;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-arrow-left9"></span><span class="mls"> wooicon-arrow-left9</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e623" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe623;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-arrow-right10"></span><span class="mls"> wooicon-arrow-right10</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e624" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe624;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-arrow-left10"></span><span class="mls"> wooicon-arrow-left10</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e625" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe625;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
<div class="glyph fs2">
<div class="clearfix bshadow0 pbs">
<span class="wooicon-uniE626"></span><span class="mls"> wooicon-uniE626</span>
</div>
<fieldset class="fs0 size1of1 clearfix hidden-false">
<input type="text" readonly value="e626" class="unit size1of2" />
<input type="text" maxlength="1" readonly value="&#xe626;" class="unitRight size1of2 talign-right" />
</fieldset>
<div class="fs0 bshadow0 clearfix hidden-false">
<span class="unit pvs fgc1">liga: </span>
<input type="text" readonly value="" class="liga unitRight" />
</div>
</div>
</div>
<!--[if gt IE 8]><!-->
<div class="mhl clearfix mbl">
<h1>Font Test Drive</h1>
<label>
Font Size: <input id="fontSize" type="number" class="textbox0 mbm"
min="8" value="48" />
px
</label>
<input id="testText" type="text" class="phl size1of1 mvl"
placeholder="Type some text to test..." value=""/>
</label>
<div id="testDrive" class="wooicon-">&nbsp;
</div>
</div>
<!--<![endif]-->
<div class="bgc1 clearfix">
<p class="mhl">Generated by <a href="http://icomoon.io/app">IcoMoon</a></p>
</div>
<script src="demo-files/demo.js"></script>
</body>
</html>
@@ -0,0 +1,49 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>Generated by IcoMoon</metadata>
<defs>
<font id="WooComposer" horiz-adv-x="512">
<font-face units-per-em="512" ascent="480" descent="-32" />
<missing-glyph horiz-adv-x="512" />
<glyph unicode="&#x20;" d="" horiz-adv-x="256" />
<glyph unicode="&#xe600;" d="M256 455.68l61.133-172.083h164.147l-133.939-101.069 47.872-177.408-139.213 106.342-139.213-106.342 47.872 177.408-133.939 101.069h164.147z" />
<glyph unicode="&#xe601;" d="M481.28 283.597h-164.173l-61.133 172.083-61.107-172.083h-164.147l133.913-101.069-47.872-177.408 139.213 106.342 139.213-106.342-47.872 177.408 133.965 101.069zM255.975 161.689l-77.107-64.025 31.795 91.187-72.986 58.88 90.137-2.56 28.135 103.424 28.16-103.424 90.137 2.56-72.986-58.88 31.821-91.187-77.107 64.025z" />
<glyph unicode="&#xe602;" d="M349.389 297.907c-3.379 9.088 90.624 93.056 35.789 161.075-12.851 15.898-56.346-76.185-118.144-117.862-34.073-22.989-113.433-71.936-113.433-98.995v-175.13c0-32.538 125.798-66.995 221.414-66.995 35.046 0 85.786 219.52 85.786 254.413 0 34.995-108.032 34.381-111.411 43.495zM128 295.475c-16.819 0-76.8-10.24-76.8-79.923v-124.109c0-69.683 59.981-77.337 76.8-77.337s-25.6 14.643-25.6 57.831v163.149c0 45.261 42.419 60.391 25.6 60.391z" />
<glyph unicode="&#xe603;" d="M301.44 179.507v-111.539l184.96 171.264-184.96 165.248v-98.969c-224.64 0-275.84-249.191-275.84-249.191 63.565 112.384 153.907 123.187 275.84 123.187z" />
<glyph unicode="&#xe604;" d="M463.923 392.525c-7.577 6.553-48.793 37.76-56.499 44.391s-19.738 8.525-28.237 8.525h-246.375c-8.474 0-20.531-1.869-28.211-8.525-7.706-6.656-48.922-37.863-56.499-44.391s-13.901-16.409-11.879-30.489c2.023-14.080 49.587-332.109 49.587-332.109 2.662-8.013 11.776-14.567 20.275-14.567h299.853c8.499 0 17.613 6.579 20.275 14.567 0 0 47.539 318.029 49.587 332.109 1.997 14.080-4.301 23.936-11.878 30.489zM256 169.779c-83.149 0-100.941 117.683-104.627 141.927h47.027c7.091-35.379 23.194-95.847 57.6-95.847s50.535 60.467 57.626 95.847h47.002c-3.687-24.243-21.478-141.927-104.627-141.927zM75.853 358.4l56.474 58.88h247.347l56.474-58.88h-360.295z" />
<glyph unicode="&#xe605;" d="M102.4 51.2c0-28.262 22.938-51.2 51.2-51.2 28.288 0 51.2 22.938 51.2 51.2s-22.912 51.2-51.2 51.2c-28.263 0-51.2-22.938-51.2-51.2zM358.4 51.2c0-28.262 22.938-51.2 51.2-51.2 28.288 0 51.2 22.938 51.2 51.2s-22.912 51.2-51.2 51.2c-28.262 0-51.2-22.938-51.2-51.2zM193.203 172.237l283.366 80.947c5.401 1.561 9.831 7.424 9.831 13.056v140.8h-360.96v43.52c0 5.632-4.582 10.24-10.24 10.24h-79.36c-5.632 0-10.24-4.608-10.24-10.24v-40.96h49.741l50.381-231.859 4.864-24.141v-38.4c0-5.632 4.608-10.24 10.214-10.24h335.386c5.606 0 10.214 4.608 10.214 10.24v38.4h-287.949c-29.415 0-30.029 11.52-5.248 18.637z" />
<glyph unicode="&#xe606;" d="M367.334 149.709l-70.605 80.691 70.605 80.691c12.007 12.007 12.007 31.463 0 43.443s-31.462 11.981-43.443 0l-67.891-77.593-67.865 77.568c-12.006 12.006-31.463 12.006-43.443 0s-11.981-31.463 0-43.443l70.579-80.666-70.605-80.691c-11.981-12.007-11.981-31.411 0-43.392 12.006-12.007 31.463-12.007 43.443 0l67.891 77.543 67.865-77.543c12.007-12.007 31.462-12.007 43.443 0s12.007 31.385 0.026 43.392z" />
<glyph unicode="&#xe607;" d="M409.6 435.2h-307.2c-28.16 0-51.2-23.040-51.2-51.2v-307.2c0-28.16 23.040-51.2 51.2-51.2h307.2c28.16 0 51.2 23.040 51.2 51.2v307.2c0 28.16-23.040 51.2-51.2 51.2zM384 204.8h-102.4v-102.4h-51.2v102.4h-102.4v51.2h102.4v102.4h51.2v-102.4h102.4v-51.2z" />
<glyph unicode="&#xe608;" d="M409.6 435.2h-307.2c-28.16 0-51.2-23.040-51.2-51.2v-307.2c0-28.16 23.040-51.2 51.2-51.2h307.2c28.16 0 51.2 23.040 51.2 51.2v307.2c0 28.16-23.040 51.2-51.2 51.2zM334.361 107.801l-78.362 78.336-78.362-78.362-44.237 44.262 78.336 78.362-78.336 78.336 44.237 44.263 78.362-78.336 78.336 78.336 44.262-44.237-78.336-78.362 78.361-78.362-44.262-44.237z" />
<glyph unicode="&#xe609;" d="M256 445.44c-118.784 0-215.040-96.307-215.040-215.040 0-118.784 96.281-215.040 215.040-215.040s215.040 96.281 215.040 215.040c0 118.758-96.281 215.040-215.040 215.040zM282.163 204.237v-103.091h-52.327v103.091h-103.117v52.327h103.091v103.117h52.352v-103.091h103.091v-52.352h-103.091z" />
<glyph unicode="&#xe60a;" d="M256 445.44c-118.784 0-215.040-96.307-215.040-215.040 0-118.784 96.281-215.040 215.040-215.040s215.040 96.281 215.040 215.040c0 118.758-96.281 215.040-215.040 215.040zM300.262 230.4l78.362-78.362-44.262-44.262-78.362 78.362-78.362-78.361-44.237 44.262 78.336 78.362-78.336 78.336 44.237 44.262 78.362-78.336 78.361 78.336 44.262-44.237-78.362-78.362z" />
<glyph unicode="&#xe60b;" d="M389.094 256h-107.52v107.52c0 14.131-11.443 15.36-25.6 15.36-14.131 0-25.6-1.203-25.6-15.36v-107.52h-107.495c-14.157 0-15.36-11.469-15.36-25.6s1.203-25.6 15.36-25.6h107.495v-107.52c0-14.131 11.469-15.36 25.6-15.36 14.157 0 25.6 1.229 25.6 15.36v107.52h107.52c14.157 0 15.385 11.469 15.385 25.6s-1.229 25.6-15.385 25.6z" />
<glyph unicode="&#xe60c;" d="M162.637 162.867c3.353-9.088-90.624-93.031-35.789-161.049 12.851-15.923 56.346 76.16 118.144 117.863 34.074 22.989 113.408 71.962 113.408 98.995v175.104c0 32.563-125.773 67.021-221.389 67.021-35.047 0-85.811-219.52-85.811-254.413 0-34.995 108.058-34.381 111.437-43.52zM384 165.325c16.845 0 76.8 10.214 76.8 79.923v124.083c0 69.683-59.955 77.363-76.8 77.363-16.819 0 25.6-14.669 25.6-57.83v-163.149c0-45.261-42.419-60.391-25.6-60.391z" />
<glyph unicode="&#xe60d;" d="M473.241 366.592c-292.045-116.915-173.747 197.76-400.256 32.103l-47.386-16.998 93.85-368.896h51.686l-45.952 180.685c202.086 169.421 120.269-184.601 359.322 162.739 5.555 8.064-1.869 14.131-11.264 10.368z" />
<glyph unicode="&#xe60e;" d="M493.849 476.007c-2.765 8.064-11.495 12.313-19.481 9.523s-12.185-11.623-9.395-19.712c23.552-68.352-23.194-119.399-58.803-146.714l-14.413 20.839c-4.813 6.963-15.667 12.774-24.064 12.903l-80.768-0.384c-8.397 0.128-20.889-3.763-27.801-8.627l-237.977-168.653c-11.52-8.166-14.361-24.243-6.272-35.917l108.186-156.339c8.064-11.674 21.043-10.266 32.563-2.125l237.978 168.679c6.912 4.864 14.771 15.462 17.562 23.501l25.293 80.538c2.739 8.038 1.075 20.327-3.738 27.289l-8.806 12.697c47.846 36.992 97.51 102.451 69.939 182.502zM383.13 236.493c-18.457-13.082-43.879-8.525-56.807 10.137-12.902 18.663-8.423 44.39 10.035 57.472 14.643 10.394 33.664 9.625 47.36-0.461-6.912-4.198-11.623-6.605-12.519-7.040-7.629-3.635-10.906-12.851-7.296-20.582 2.611-5.607 8.089-8.909 13.849-8.909 2.176 0 4.403 0.486 6.502 1.485 4.889 2.329 10.189 5.171 15.693 8.473 2.457-15.181-3.533-31.155-16.819-40.576z" />
<glyph unicode="&#xe60f;" d="M478.567 418.944c-8.781-3.098-443.418-156.237-451.968-159.257-7.27-2.56-8.909-8.832-0.256-12.263 10.266-4.121 97.177-38.938 97.177-38.938h-0.025l57.626-23.091c0 0 277.427 203.75 281.19 206.49 3.763 2.765 8.141-2.432 5.401-5.401-2.739-2.995-201.498-217.959-201.498-217.959-0.026 0-0.026 0-0.026 0l-11.571-12.902 15.335-8.243c0 0 119.040-64.077 127.514-68.659 7.424-3.993 17.101-0.666 19.251 8.576 2.534 10.906 72.832 313.907 74.394 320.615 2.048 8.781-3.738 14.131-12.544 11.034zM180.608 47.053c0-6.323 3.559-8.064 8.474-3.61 6.4 5.837 72.935 65.536 72.935 65.536l-81.408 42.137v-104.064z" />
<glyph unicode="&#xe610;" d="M384 81.92h-332.8v230.4h66.432c0 0 17.639 22.938 55.552 51.2h-147.584c-14.131 0-25.6-11.469-25.6-25.6v-281.6c0-14.157 11.469-25.6 25.6-25.6h384c14.157 0 25.6 11.443 25.6 25.6v95.897l-51.2-42.112v-28.185zM342.067 259.84v-90.88l169.933 133.146-169.933 127.974v-80.128c-206.387-0.025-206.387-204.032-206.387-204.032 58.419 95.949 94.362 113.92 206.387 113.92z" />
<glyph unicode="&#xe611;" d="M141.209 122.265c-57.907 62.285-56.883 159.872 3.251 220.442 24.627 24.781 55.398 39.577 87.398 44.442l-1.767 53.171c-44.903-5.453-88.371-25.497-122.803-60.16-80.615-81.203-81.561-212.224-3.149-295.219l-44.569-44.877 141.056-7.705-0.384 149.351-59.034-59.443zM311.347 428.416l0.384-149.351 59.059 59.469c57.907-62.285 56.909-159.872-3.251-220.442-24.627-24.807-55.399-39.577-87.424-44.442l1.767-53.145c44.928 5.453 88.397 25.498 122.829 60.185 80.589 81.178 81.587 212.224 3.123 295.194l44.57 44.877-141.056 7.655z" />
<glyph unicode="&#xe612;" d="M475.428 290.572q0-6.286-7.428-13.714l-103.714-101.143 24.572-142.857q0.286-2 0.286-5.714 0-6-3-10.143t-8.714-4.143q-5.428 0-11.428 3.428l-128.286 67.428-128.286-67.428q-6.285-3.428-11.428-3.428-6 0-9 4.143t-3 10.143q0 1.714 0.572 5.714l24.572 142.857-104 101.143q-7.143 7.714-7.143 13.714 0 10.572 16 13.143l143.428 20.857 64.286 130q5.428 11.714 14 11.714t14-11.714l64.286-130 143.429-20.857q16-2.572 16-13.143z" horiz-adv-x="476" />
<glyph unicode="&#xe613;" d="M427.469 243.533l-219.161 135.783c-15.975 10.47-29.030 2.739-29.030-17.152v-263.577c0-19.891 13.082-27.597 29.030-17.127l219.187 135.782c0 0 7.783 5.478 7.783 13.159-0.026 7.655-7.808 13.133-7.808 13.133z" />
<glyph unicode="&#xe614;" d="M345.6 409.6c-25.447 0-46.080-7.834-46.080-33.28v-291.84c0-25.447 20.634-33.28 46.080-33.28s46.080 7.834 46.080 33.28v291.84c0 25.446-20.634 33.28-46.080 33.28zM166.4 409.6c-25.446 0-46.080-7.834-46.080-33.28v-291.84c0-25.447 20.634-33.28 46.080-33.28s46.080 7.834 46.080 33.28v291.84c0 25.446-20.633 33.28-46.080 33.28z" />
<glyph unicode="&#xe615;" d="M486.4 56.32c0 0-51.2 249.165-275.84 249.165v98.995l-184.96-165.248 184.96-171.29v111.565c121.933 0 212.275-10.803 275.84-123.187z" />
<glyph unicode="&#xe616;" d="M184.96 335.872v68.608l-184.96-165.248 184.96-171.29v71.142l-108.16 100.147 108.16 96.64zM312.96 305.51v98.97l-184.96-165.248 184.96-171.29v111.565c84.301 0 135.475-10.803 199.040-123.187 0 0-9.395 249.19-199.040 249.19z" />
<glyph unicode="&#xe617;" d="M440.038 380.135c-42.803 39.296-112.205 39.296-155.008 0l-29.030-26.675-29.056 26.675c-42.803 39.296-112.179 39.296-154.982 0-48.154-44.186-48.154-115.815 0-160.026l184.038-168.909 184.039 168.909c48.154 44.211 48.154 115.84 0 160.026z" />
<glyph unicode="&#xe618;" d="M440.038 380.16c-42.803 39.271-112.205 39.271-155.008 0l-29.030-26.675-29.056 26.675c-42.803 39.271-112.179 39.271-154.982 0-48.154-44.211-48.154-115.814 0-160.025l184.038-168.935 184.039 168.935c48.154 44.186 48.154 115.815 0 160.026zM412.8 246.4l-156.8-146.279-156.774 146.279c-15.821 14.489-21.939 33.587-21.939 53.76 0 20.122 3.533 36.659 19.353 51.175 13.952 12.825 32.717 19.865 52.787 19.865 20.096 0 38.861-12.185 52.813-25.011l53.76-46.745 53.76 46.745c13.952 12.826 32.691 25.011 52.787 25.011s38.861-7.040 52.839-19.865c15.795-14.515 19.303-31.053 19.353-51.175 0-20.147-6.144-39.27-21.939-53.76z" />
<glyph unicode="&#xe619;" d="M255.616 424.96v-97.997l179.635 0.026v-193.331h-179.635v-97.817l-194.125 194.56z" />
<glyph unicode="&#xe61a;" d="M256.384 424.96v-97.997l-179.635 0.026v-193.331h179.635v-97.817l194.125 194.56z" />
<glyph unicode="&#xe61b;" d="M255.616 61.44v97.997l179.635-0.026v142.131h-179.635v97.817l-194.125-168.985z" />
<glyph unicode="&#xe61c;" d="M256.384 399.36v-97.997l-179.635 0.026v-142.131h179.635v-97.817l194.125 168.986z" />
<glyph unicode="&#xe61d;" d="M491.52 230.4c0 130.073-105.447 235.52-235.52 235.52s-235.52-105.447-235.52-235.52c0-130.099 105.447-235.546 235.52-235.546s235.52 105.472 235.52 235.546zM71.68 230.4c0 101.786 82.534 184.32 184.32 184.32s184.32-82.534 184.32-184.32c0-101.811-82.534-184.346-184.32-184.346s-184.32 82.534-184.32 184.346zM354.56 184.32v92.16h-104.704v57.6l-97.536-103.68 97.536-103.68v57.6h104.704z" />
<glyph unicode="&#xe61e;" d="M20.48 230.4c0-130.073 105.472-235.52 235.52-235.52 130.073 0 235.52 105.447 235.52 235.52s-105.447 235.52-235.52 235.52c-130.073 0-235.52-105.446-235.52-235.52zM440.32 230.4c0-101.786-82.534-184.32-184.32-184.32s-184.32 82.509-184.32 184.32c0 101.811 82.509 184.32 184.32 184.32s184.32-82.509 184.32-184.32zM157.44 276.48v-92.16h104.704v-57.6l97.536 103.68-97.536 103.68v-57.6h-104.704z" />
<glyph unicode="&#xe61f;" d="M358.375 348.16l0.026-235.52-204.8 117.76z" />
<glyph unicode="&#xe620;" d="M153.625 348.16l-0.025-235.52 204.8 117.76z" />
<glyph unicode="&#xe621;" d="M292.787 370.791c-10.701-10.445-115.251-120.218-115.251-120.218-5.709-5.581-8.55-12.877-8.55-20.173s2.841-14.592 8.55-20.173c0 0 104.551-109.773 115.251-120.192 10.701-10.445 29.952-11.161 41.37 0 11.392 11.136 12.288 26.675-0.026 40.32l-95.923 100.045 95.923 100.045c12.313 13.67 11.418 29.209 0.026 40.345-11.443 11.136-30.695 10.445-41.37 0z" />
<glyph unicode="&#xe622;" d="M219.213 370.791c10.701-10.445 115.251-120.218 115.251-120.218 5.735-5.581 8.576-12.877 8.576-20.173s-2.841-14.592-8.576-20.173c0 0-104.55-109.773-115.251-120.192-10.701-10.445-29.927-11.161-41.369 0-11.417 11.136-12.314 26.675 0 40.32l95.949 100.045-95.923 100.045c-12.314 13.67-11.417 29.209 0 40.345s30.669 10.445 41.344 0z" />
<glyph unicode="&#xe623;" d="M317.414 142.899c6.861-6.938 6.861-18.151 0-25.063-6.861-6.938-17.945-6.938-24.807 0l-98.048 100.019c-6.861 6.938-6.861 18.151 0 25.063l98.048 100.045c6.861 6.938 17.945 6.938 24.807 0s6.861-18.125 0-25.063l-80.384-87.501 80.384-87.501z" />
<glyph unicode="&#xe624;" d="M194.585 142.899c-6.861-6.938-6.861-18.151 0-25.063 6.835-6.938 17.946-6.938 24.806 0l98.048 100.019c6.861 6.938 6.861 18.151 0 25.063l-98.048 100.045c-6.861 6.938-17.946 6.938-24.806 0s-6.861-18.125-0.025-25.037l80.409-87.527-80.384-87.501z" />
<glyph unicode="&#xe625;" d="M368.615 40.499c6.861-6.938 6.861-18.125 0-25.063s-17.945-6.938-24.807 0l-200.448 202.419c-6.861 6.938-6.861 18.151 0 25.063l200.448 202.445c6.861 6.938 17.945 6.938 24.807 0s6.861-18.125 0-25.063l-182.784-189.901 182.784-189.901z" />
<glyph unicode="&#xe626;" d="M143.352 40.499c-6.861-6.938-6.861-18.125 0-25.063s17.946-6.938 24.806 0l200.448 202.419c6.861 6.938 6.861 18.151 0 25.063l-200.448 202.445c-6.861 6.938-17.946 6.938-24.806 0s-6.861-18.125 0-25.063l182.784-189.901-182.784-189.901z" />
</font></defs></svg>

After

Width:  |  Height:  |  Size: 14 KiB

@@ -0,0 +1,14 @@
<?xml version="1.0" standalone="no"?>␍␍␍␍␍␍
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">␍␍␍␍␍␍
<svg xmlns="http://www.w3.org/2000/svg">␍␍␍␍␍␍
<metadata>Generated by Fontastic.me</metadata>␍␍␍␍␍␍
<defs>␍␍␍␍␍␍
<font id="slick" horiz-adv-x="512">␍␍␍␍␍␍
<font-face font-family="slick" units-per-em="512" ascent="480" descent="-32"/>␍␍␍␍␍␍
<missing-glyph horiz-adv-x="512" />␍␍␍␍␍␍
␍␍␍␍␍␍
<glyph unicode="&#8594;" d="M241 113l130 130c4 4 6 8 6 13 0 5-2 9-6 13l-130 130c-3 3-7 5-12 5-5 0-10-2-13-5l-29-30c-4-3-6-7-6-12 0-5 2-10 6-13l87-88-87-88c-4-3-6-8-6-13 0-5 2-9 6-12l29-30c3-3 8-5 13-5 5 0 9 2 12 5z m234 143c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/>␍␍␍␍␍␍
<glyph unicode="&#8592;" d="M296 113l29 30c4 3 6 7 6 12 0 5-2 10-6 13l-87 88 87 88c4 3 6 8 6 13 0 5-2 9-6 12l-29 30c-3 3-8 5-13 5-5 0-9-2-12-5l-130-130c-4-4-6-8-6-13 0-5 2-9 6-13l130-130c3-3 7-5 12-5 5 0 10 2 13 5z m179 143c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/>␍␍␍␍␍␍
<glyph unicode="&#8226;" d="M475 256c0-40-9-77-29-110-20-34-46-60-80-80-33-20-70-29-110-29-40 0-77 9-110 29-34 20-60 46-80 80-20 33-29 70-29 110 0 40 9 77 29 110 20 34 46 60 80 80 33 20 70 29 110 29 40 0 77-9 110-29 34-20 60-46 80-80 20-33 29-70 29-110z"/>␍␍␍␍␍␍
<glyph unicode="&#97;" d="M475 439l0-128c0-5-1-9-5-13-4-4-8-5-13-5l-128 0c-8 0-13 3-17 11-3 7-2 14 4 20l40 39c-28 26-62 39-100 39-20 0-39-4-57-11-18-8-33-18-46-32-14-13-24-28-32-46-7-18-11-37-11-57 0-20 4-39 11-57 8-18 18-33 32-46 13-14 28-24 46-32 18-7 37-11 57-11 23 0 44 5 64 15 20 9 38 23 51 42 2 1 4 3 7 3 3 0 5-1 7-3l39-39c2-2 3-3 3-6 0-2-1-4-2-6-21-25-46-45-76-59-29-14-60-20-93-20-30 0-58 5-85 17-27 12-51 27-70 47-20 19-35 43-47 70-12 27-17 55-17 85 0 30 5 58 17 85 12 27 27 51 47 70 19 20 43 35 70 47 27 12 55 17 85 17 28 0 55-5 81-15 26-11 50-26 70-45l37 37c6 6 12 7 20 4 8-4 11-9 11-17z"/>␍␍␍␍␍␍
</font></defs></svg>␍␍␍␍␍␍

After

Width:  |  Height:  |  Size: 2.2 KiB

@@ -0,0 +1,117 @@
.wooicon-uniE612 {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe612;');
}
.wooicon-paperplane {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe60f;');
}
.wooicon-reply {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe615;');
}
.wooicon-reply-all {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe616;');
}
.wooicon-forward {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe603;');
}
.wooicon-export {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe610;');
}
.wooicon-heart {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe617;');
}
.wooicon-heart2 {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe618;');
}
.wooicon-star {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe600;');
}
.wooicon-star2 {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe601;');
}
.wooicon-thumbsup {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe602;');
}
.wooicon-thumbsdown {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe60c;');
}
.wooicon-flag {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe60d;');
}
.wooicon-tag {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe60e;');
}
.wooicon-bag {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe604;');
}
.wooicon-cart4 {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe605;');
}
.wooicon-cross {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe606;');
}
.wooicon-plus3 {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe607;');
}
.wooicon-cross2 {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe608;');
}
.wooicon-plus22 {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe609;');
}
.wooicon-cross3 {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe60a;');
}
.wooicon-plus32 {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe60b;');
}
.wooicon-cycle {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe611;');
}
.wooicon-play {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe613;');
}
.wooicon-pause {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe614;');
}
.wooicon-arrow-left4 {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe619;');
}
.wooicon-arrow-right5 {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe61a;');
}
.wooicon-arrow-left5 {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe61b;');
}
.wooicon-arrow-right6 {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe61c;');
}
.wooicon-arrow-left6 {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe61d;');
}
.wooicon-arrow-right7 {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe61e;');
}
.wooicon-arrow-left7 {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe61f;');
}
.wooicon-arrow-right8 {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe620;');
}
.wooicon-arrow-left8 {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe621;');
}
.wooicon-arrow-right9 {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe622;');
}
.wooicon-arrow-left9 {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe623;');
}
.wooicon-arrow-right10 {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe624;');
}
.wooicon-arrow-left10 {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe625;');
}
.wooicon-uniE626 {
*zoom: expression(this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xe626;');
}
@@ -0,0 +1,70 @@
/* To avoid CSS expressions while still supporting IE 7 and IE 6, use this script */
/* The script tag referring to this file must be placed before the ending body tag. */
/* Use conditional comments in order to target IE 7 and older:
<!--[if lt IE 8]><!-->
<script src="ie7/ie7.js"></script>
<!--<![endif]-->
*/
(function() {
function addIcon(el, entity) {
var html = el.innerHTML;
el.innerHTML = '<span style="font-family: \'WooComposer\'">' + entity + '</span>' + html;
}
var icons = {
'wooicon-uniE612': '&#xe612;',
'wooicon-paperplane': '&#xe60f;',
'wooicon-reply': '&#xe615;',
'wooicon-reply-all': '&#xe616;',
'wooicon-forward': '&#xe603;',
'wooicon-export': '&#xe610;',
'wooicon-heart': '&#xe617;',
'wooicon-heart2': '&#xe618;',
'wooicon-star': '&#xe600;',
'wooicon-star2': '&#xe601;',
'wooicon-thumbsup': '&#xe602;',
'wooicon-thumbsdown': '&#xe60c;',
'wooicon-flag': '&#xe60d;',
'wooicon-tag': '&#xe60e;',
'wooicon-bag': '&#xe604;',
'wooicon-cart4': '&#xe605;',
'wooicon-cross': '&#xe606;',
'wooicon-plus3': '&#xe607;',
'wooicon-cross2': '&#xe608;',
'wooicon-plus22': '&#xe609;',
'wooicon-cross3': '&#xe60a;',
'wooicon-plus32': '&#xe60b;',
'wooicon-cycle': '&#xe611;',
'wooicon-play': '&#xe613;',
'wooicon-pause': '&#xe614;',
'wooicon-arrow-left4': '&#xe619;',
'wooicon-arrow-right5': '&#xe61a;',
'wooicon-arrow-left5': '&#xe61b;',
'wooicon-arrow-right6': '&#xe61c;',
'wooicon-arrow-left6': '&#xe61d;',
'wooicon-arrow-right7': '&#xe61e;',
'wooicon-arrow-left7': '&#xe61f;',
'wooicon-arrow-right8': '&#xe620;',
'wooicon-arrow-left8': '&#xe621;',
'wooicon-arrow-right9': '&#xe622;',
'wooicon-arrow-left9': '&#xe623;',
'wooicon-arrow-right10': '&#xe624;',
'wooicon-arrow-left10': '&#xe625;',
'wooicon-uniE626': '&#xe626;',
'0': 0
},
els = document.getElementsByTagName('*'),
i, c, el;
for (i = 0; ; i += 1) {
el = els[i];
if(!el) {
break;
}
c = el.className;
c = c.match(/wooicon-[^\s'"]+/);
if (c && icons[c[0]]) {
addIcon(el, icons[c[0]]);
}
}
}());
@@ -0,0 +1,960 @@
{
"IcoMoonType": "selection",
"icons": [
{
"icon": {
"paths": [
"M950.857 369.714q0 12.571-14.857 27.429l-207.429 202.286 49.143 285.714q0.571 4 0.571 11.429 0 12-6 20.286t-17.429 8.286q-10.857 0-22.857-6.857l-256.571-134.857-256.571 134.857q-12.571 6.857-22.857 6.857-12 0-18-8.286t-6-20.286q0-3.429 1.143-11.429l49.143-285.714-208-202.286q-14.286-15.429-14.286-27.429 0-21.143 32-26.286l286.857-41.714 128.571-260q10.857-23.429 28-23.429t28 23.429l128.571 260 286.857 41.714q32 5.143 32 26.286z"
],
"width": 951,
"grid": 14
},
"properties": {
"order": 1,
"id": 1,
"prevSize": 28,
"code": 58898,
"name": "uniE612",
"ligatures": ""
},
"setIdx": 0,
"iconIdx": 0
},
{
"icon": {
"paths": [
"M957.133 134.912c-17.562 6.195-886.835 312.474-903.936 318.515-14.541 5.12-17.818 17.664-0.512 24.525 20.531 8.243 194.355 77.875 194.355 77.875h-0.051l115.251 46.182c0 0 554.854-407.501 562.381-412.979 7.526-5.53 16.282 4.864 10.803 10.803-5.478 5.99-402.995 435.917-402.995 435.917-0.051 0-0.051 0-0.051 0l-23.142 25.805 30.669 16.486c0 0 238.080 128.154 255.027 137.318 14.848 7.987 34.202 1.331 38.502-17.152 5.069-21.811 145.664-627.814 148.787-641.229 4.096-17.562-7.475-28.262-25.088-22.067zM361.216 878.694c0 12.646 7.117 16.128 16.947 7.219 12.8-11.674 145.869-131.072 145.869-131.072l-162.816-84.275v208.128z"
],
"tags": [
"paperplane",
"travel",
"plane",
"airplane"
],
"grid": 20
},
"properties": {
"id": 5,
"order": 25,
"prevSize": 20,
"code": 58895,
"name": "paperplane",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 5
},
{
"icon": {
"paths": [
"M972.8 860.16c0 0-102.4-498.33-551.68-498.33v-197.99l-369.92 330.496 369.92 342.579v-223.13c243.866 0 424.55 21.606 551.68 246.374z"
],
"tags": [
"reply",
"undo",
"arrow",
"left",
"back",
"previous"
],
"grid": 20
},
"properties": {
"id": 10,
"order": 12,
"prevSize": 20,
"code": 58901,
"name": "reply",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 10
},
{
"icon": {
"paths": [
"M369.92 301.056v-137.216l-369.92 330.496 369.92 342.579v-142.285l-216.32-200.294 216.32-193.28zM625.92 361.779v-197.939l-369.92 330.496 369.92 342.579v-223.13c168.602 0 270.95 21.606 398.080 246.374 0 0-18.79-498.381-398.080-498.381z"
],
"tags": [
"reply-all",
"first",
"arrow",
"left"
],
"grid": 20
},
"properties": {
"id": 11,
"order": 13,
"prevSize": 20,
"code": 58902,
"name": "reply-all",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 11
},
{
"icon": {
"paths": [
"M602.88 613.786v223.078l369.92-342.528-369.92-330.496v197.939c-449.28 0-551.68 498.381-551.68 498.381 127.13-224.768 307.814-246.374 551.68-246.374z"
],
"tags": [
"forward",
"arrow",
"right"
],
"grid": 20
},
"properties": {
"id": 12,
"order": 30,
"prevSize": 20,
"code": 58883,
"name": "forward",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 12
},
{
"icon": {
"paths": [
"M768 808.96h-665.6v-460.8h132.864c0 0 35.277-45.875 111.104-102.4h-295.168c-28.262 0-51.2 22.938-51.2 51.2v563.2c0 28.314 22.938 51.2 51.2 51.2h768c28.314 0 51.2-22.886 51.2-51.2v-191.795l-102.4 84.224v56.371zM684.134 453.12v181.76l339.866-266.291-339.866-255.949v160.256c-412.774 0.051-412.774 408.064-412.774 408.064 116.838-191.898 188.723-227.84 412.774-227.84z"
],
"tags": [
"export",
"share",
"outside"
],
"grid": 20
},
"properties": {
"id": 17,
"order": 29,
"prevSize": 20,
"code": 58896,
"name": "export",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 17
},
{
"icon": {
"paths": [
"M880.077 212.531c-85.606-78.592-224.41-78.592-310.016 0l-58.061 53.35-58.112-53.35c-85.606-78.592-224.358-78.592-309.965 0-96.307 88.371-96.307 231.629 0 320.051l368.077 337.818 368.077-337.818c96.307-88.422 96.307-231.68 0-320.051z"
],
"tags": [
"heart",
"love",
"like",
"favorite"
],
"grid": 20
},
"properties": {
"id": 25,
"order": 27,
"prevSize": 20,
"code": 58903,
"name": "heart",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 25
},
{
"icon": {
"paths": [
"M880.077 212.48c-85.606-78.541-224.41-78.541-310.016 0l-58.061 53.35-58.112-53.35c-85.606-78.541-224.358-78.541-309.965 0-96.307 88.422-96.307 231.629 0 320.051l368.077 337.869 368.077-337.869c96.307-88.371 96.307-231.629 0-320.051zM825.6 480l-313.6 292.557-313.549-292.557c-31.642-28.979-43.878-67.174-43.878-107.52 0-40.243 7.066-73.318 38.707-102.349 27.904-25.651 65.434-39.731 105.574-39.731 40.192 0 77.722 24.371 105.626 50.022l107.52 93.491 107.52-93.491c27.904-25.651 65.382-50.022 105.574-50.022s77.722 14.080 105.677 39.731c31.59 29.030 38.605 62.106 38.707 102.349 0 40.294-12.288 78.541-43.878 107.52z"
],
"tags": [
"heart",
"love",
"like",
"favorite"
],
"grid": 20
},
"properties": {
"id": 26,
"order": 26,
"prevSize": 20,
"code": 58904,
"name": "heart2",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 26
},
{
"icon": {
"paths": [
"M512 61.44l122.266 344.166h328.294l-267.878 202.138 95.744 354.816-278.426-212.685-278.426 212.685 95.744-354.816-267.878-202.138h328.294z"
],
"tags": [
"star",
"favorite",
"rate",
"bookmark"
],
"grid": 20
},
"properties": {
"id": 27,
"order": 32,
"prevSize": 20,
"code": 58880,
"name": "star",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 27
},
{
"icon": {
"paths": [
"M962.56 405.606h-328.346l-122.266-344.166-122.214 344.166h-328.294l267.827 202.138-95.744 354.816 278.426-212.685 278.426 212.685-95.744-354.816 267.93-202.138zM511.949 649.421l-154.214 128.051 63.59-182.374-145.971-117.76 180.275 5.12 56.269-206.848 56.32 206.848 180.275-5.12-145.971 117.76 63.642 182.374-154.214-128.051z"
],
"tags": [
"star",
"favorite",
"rate",
"bookmark"
],
"grid": 20
},
"properties": {
"id": 28,
"order": 31,
"prevSize": 20,
"code": 58881,
"name": "star2",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 28
},
{
"icon": {
"paths": [
"M698.778 376.986c-6.758-18.176 181.248-186.112 71.578-322.15-25.702-31.795-112.691 152.371-236.288 235.725-68.147 45.978-226.867 143.872-226.867 197.99v350.259c0 65.075 251.597 133.99 442.829 133.99 70.093 0 171.571-439.040 171.571-508.826 0-69.99-216.064-68.762-222.822-86.989zM256 381.85c-33.638 0-153.6 20.48-153.6 159.846v248.218c0 139.366 119.962 154.675 153.6 154.675s-51.2-29.286-51.2-115.661v-326.298c0-90.522 84.838-120.781 51.2-120.781z"
],
"tags": [
"thumbs up",
"like",
"rate",
"agree",
"approve"
],
"grid": 20
},
"properties": {
"id": 29,
"order": 33,
"prevSize": 20,
"code": 58882,
"name": "thumbsup",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 29
},
{
"icon": {
"paths": [
"M325.274 647.066c6.707 18.176-181.248 186.061-71.578 322.099 25.702 31.846 112.691-152.32 236.288-235.725 68.147-45.978 226.816-143.923 226.816-197.99v-350.208c0-65.126-251.546-134.042-442.778-134.042-70.093 0-171.622 439.040-171.622 508.826 0 69.99 216.115 68.762 222.874 87.040zM768 642.15c33.69 0 153.6-20.429 153.6-159.846v-248.166c0-139.366-119.91-154.726-153.6-154.726-33.638 0 51.2 29.338 51.2 115.661v326.298c0 90.522-84.838 120.781-51.2 120.781z"
],
"tags": [
"thumbs down",
"dislike",
"disagree",
"rate"
],
"grid": 20
},
"properties": {
"id": 30,
"order": 34,
"prevSize": 20,
"code": 58892,
"name": "thumbsdown",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 30
},
{
"icon": {
"paths": [
"M946.483 239.616c-584.090 233.83-347.494-395.52-800.512-64.205l-94.771 33.997 187.699 737.792h103.373l-91.904-361.37c404.173-338.842 240.538 369.203 718.643-325.478 11.11-16.128-3.738-28.262-22.528-20.736z"
],
"tags": [
"flag",
"report"
],
"grid": 20
},
"properties": {
"id": 41,
"order": 35,
"prevSize": 20,
"code": 58893,
"name": "flag",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 41
},
{
"icon": {
"paths": [
"M987.699 20.787c-5.53-16.128-22.989-24.627-38.963-19.046s-24.371 23.245-18.79 39.424c47.104 136.704-46.387 238.797-117.606 293.427l-28.826-41.677c-9.626-13.926-31.334-25.549-48.128-25.805l-161.536 0.768c-16.794-0.256-41.779 7.526-55.603 17.254l-475.955 337.306c-23.040 16.333-28.723 48.486-12.544 71.834l216.371 312.678c16.128 23.347 42.086 20.531 65.126 4.25l475.955-337.357c13.824-9.728 29.542-30.925 35.123-47.002l50.586-161.075c5.478-16.077 2.15-40.653-7.475-54.579l-17.613-25.395c95.693-73.984 195.021-204.902 139.878-365.005zM766.259 499.814c-36.915 26.163-87.757 17.050-113.613-20.275-25.805-37.325-16.845-88.781 20.070-114.944 29.286-20.787 67.328-19.251 94.72 0.922-13.824 8.397-23.245 13.21-25.037 14.080-15.258 7.27-21.811 25.702-14.592 41.165 5.222 11.213 16.179 17.818 27.699 17.818 4.352 0 8.806-0.973 13.005-2.97 9.779-4.659 20.378-10.342 31.386-16.947 4.915 30.362-7.066 62.31-33.638 81.152z"
],
"tags": [
"tag",
"price"
],
"grid": 20
},
"properties": {
"id": 45,
"order": 36,
"prevSize": 20,
"code": 58894,
"name": "tag",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 45
},
{
"icon": {
"paths": [
"M927.846 187.75c-15.155-13.107-97.587-75.52-112.998-88.781s-39.475-17.050-56.474-17.050h-492.749c-16.947 0-41.062 3.738-56.422 17.050-15.411 13.312-97.843 75.725-112.998 88.781s-27.802 32.819-23.757 60.979c4.045 28.16 99.174 664.218 99.174 664.218 5.325 16.026 23.552 29.133 40.55 29.133h599.706c16.998 0 35.226-13.158 40.55-29.133 0 0 95.078-636.058 99.174-664.218 3.994-28.16-8.602-47.872-23.757-60.979zM512 633.242c-166.298 0-201.882-235.366-209.254-283.853h94.054c14.182 70.758 46.387 191.693 115.2 191.693s101.069-120.934 115.251-191.693h94.003c-7.373 48.486-42.957 283.853-209.254 283.853zM151.706 256l112.947-117.76h494.694l112.947 117.76h-720.589z"
],
"tags": [
"bag",
"shop",
"cart",
"ecommerce",
"buy",
"purchase"
],
"grid": 20
},
"properties": {
"id": 57,
"order": 18,
"prevSize": 20,
"code": 58884,
"name": "bag",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 57
},
{
"icon": {
"paths": [
"M204.8 870.4c0 56.525 45.875 102.4 102.4 102.4 56.576 0 102.4-45.875 102.4-102.4s-45.824-102.4-102.4-102.4c-56.525 0-102.4 45.875-102.4 102.4zM716.8 870.4c0 56.525 45.875 102.4 102.4 102.4 56.576 0 102.4-45.875 102.4-102.4s-45.824-102.4-102.4-102.4c-56.525 0-102.4 45.875-102.4 102.4zM386.406 628.326l566.733-161.894c10.803-3.123 19.661-14.848 19.661-26.112v-281.6h-721.92v-87.040c0-11.264-9.165-20.48-20.48-20.48h-158.72c-11.264 0-20.48 9.216-20.48 20.48v81.92h99.482l100.762 463.718 9.728 48.282v76.8c0 11.264 9.216 20.48 20.429 20.48h25.6 645.171c11.213 0 20.429-9.216 20.429-20.48v-76.8h-575.898c-58.829 0-60.058-23.040-10.496-37.274z"
],
"tags": [
"cart",
"shop",
"buy",
"purchase",
"ecommerce"
],
"grid": 20
},
"properties": {
"id": 103,
"order": 17,
"prevSize": 20,
"code": 58885,
"name": "cart4",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 103
},
{
"icon": {
"paths": [
"M734.669 673.382l-141.21-161.382 141.21-161.382c24.013-24.013 24.013-62.925 0-86.886-24.013-23.962-62.925-23.962-86.886 0l-135.782 155.187-135.731-155.136c-24.013-24.013-62.925-24.013-86.886 0-23.962 24.013-23.962 62.925 0 86.886l141.158 161.331-141.21 161.382c-23.962 24.013-23.962 62.822 0 86.784 24.013 24.013 62.925 24.013 86.886 0l135.782-155.085 135.731 155.085c24.013 24.013 62.925 24.013 86.886 0s24.013-62.771 0.051-86.784z"
],
"tags": [
"cross",
"cancel",
"close",
"remove",
"delete"
],
"grid": 20
},
"properties": {
"id": 120,
"order": 22,
"prevSize": 20,
"code": 58886,
"name": "cross",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 120
},
{
"icon": {
"paths": [
"M819.2 102.4h-614.4c-56.32 0-102.4 46.080-102.4 102.4v614.4c0 56.32 46.080 102.4 102.4 102.4h614.4c56.32 0 102.4-46.080 102.4-102.4v-614.4c0-56.32-46.080-102.4-102.4-102.4zM768 563.2h-204.8v204.8h-102.4v-204.8h-204.8v-102.4h204.8v-204.8h102.4v204.8h204.8v102.4z"
],
"tags": [
"plus",
"add",
"sum"
],
"grid": 20
},
"properties": {
"id": 122,
"order": 21,
"prevSize": 20,
"code": 58887,
"name": "plus3",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 122
},
{
"icon": {
"paths": [
"M819.2 102.4h-614.4c-56.32 0-102.4 46.080-102.4 102.4v614.4c0 56.32 46.080 102.4 102.4 102.4h614.4c56.32 0 102.4-46.080 102.4-102.4v-614.4c0-56.32-46.080-102.4-102.4-102.4zM668.723 757.197l-156.723-156.672-156.723 156.723-88.474-88.525 156.672-156.723-156.672-156.672 88.474-88.525 156.723 156.672 156.672-156.672 88.525 88.474-156.672 156.723 156.723 156.723-88.525 88.474z"
],
"tags": [
"cross",
"cancel",
"close",
"remove",
"delete"
],
"grid": 20
},
"properties": {
"id": 123,
"order": 23,
"prevSize": 20,
"code": 58888,
"name": "cross2",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 123
},
{
"icon": {
"paths": [
"M512 81.92c-237.568 0-430.080 192.614-430.080 430.080 0 237.568 192.563 430.080 430.080 430.080 237.517 0 430.080-192.563 430.080-430.080 0-237.517-192.563-430.080-430.080-430.080zM564.326 564.326v206.182h-104.653v-206.182h-206.234v-104.653h206.182v-206.234h104.704v206.182h206.182v104.704h-206.182z"
],
"tags": [
"plus",
"add",
"sum"
],
"grid": 20
},
"properties": {
"id": 125,
"order": 20,
"prevSize": 20,
"code": 58889,
"name": "plus22",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 125
},
{
"icon": {
"paths": [
"M512 81.92c-237.568 0-430.080 192.614-430.080 430.080 0 237.568 192.563 430.080 430.080 430.080 237.517 0 430.080-192.563 430.080-430.080 0-237.517-192.563-430.080-430.080-430.080zM600.525 512l156.723 156.723-88.525 88.525-156.723-156.723-156.723 156.723-88.474-88.525 156.672-156.723-156.672-156.672 88.474-88.525 156.723 156.672 156.723-156.672 88.525 88.474-156.723 156.723z"
],
"tags": [
"cross",
"cancel",
"close",
"remove",
"delete"
],
"grid": 20
},
"properties": {
"id": 126,
"order": 24,
"prevSize": 20,
"code": 58890,
"name": "cross3",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 126
},
{
"icon": {
"paths": [
"M778.189 460.8h-215.040v-215.040c0-28.262-22.886-30.72-51.2-30.72-28.262 0-51.2 2.406-51.2 30.72l-0 215.040h-214.989c-28.314 0-30.72 22.938-30.72 51.2s2.406 51.2 30.72 51.2h214.989v215.040c0 28.262 22.938 30.72 51.2 30.72 28.314 0 51.2-2.458 51.2-30.72v-215.040h215.040c28.314 0 30.771-22.938 30.771-51.2s-2.458-51.2-30.771-51.2z"
],
"tags": [
"plus",
"add",
"sum"
],
"grid": 20
},
"properties": {
"id": 128,
"order": 19,
"prevSize": 20,
"code": 58891,
"name": "plus32",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 128
},
{
"icon": {
"paths": [
"M282.419 728.269c-115.814-124.57-113.766-319.744 6.502-440.883 49.254-49.562 110.797-79.155 174.797-88.883l-3.533-106.342c-89.805 10.906-176.742 50.995-245.606 120.32-161.229 162.406-163.123 424.448-6.298 590.438l-89.139 89.754 282.112 15.411-0.768-298.701-118.067 118.886zM622.694 115.968l0.768 298.701 118.118-118.938c115.814 124.57 113.818 319.744-6.502 440.883-49.254 49.613-110.797 79.155-174.848 88.883l3.533 106.291c89.856-10.906 176.794-50.995 245.658-120.371 161.178-162.355 163.174-424.448 6.246-590.387l89.139-89.754-282.112-15.309z"
],
"tags": [
"cycle",
"refresh",
"synchronize",
"reload"
],
"grid": 20
},
"properties": {
"id": 136,
"order": 37,
"prevSize": 20,
"code": 58897,
"name": "cycle",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 136
},
{
"icon": {
"paths": [
"M854.938 485.734l-438.323-271.565c-31.949-20.941-58.061-5.478-58.061 34.304v527.155c0 39.782 26.163 55.194 58.061 34.253l438.374-271.565c0 0 15.565-10.957 15.565-26.317-0.051-15.309-15.616-26.266-15.616-26.266z"
],
"tags": [
"play",
"media control"
],
"grid": 20
},
"properties": {
"id": 171,
"order": 38,
"prevSize": 20,
"code": 58899,
"name": "play",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 171
},
{
"icon": {
"paths": [
"M691.2 153.6c-50.893 0-92.16 15.667-92.16 66.56v583.68c0 50.893 41.267 66.56 92.16 66.56s92.16-15.667 92.16-66.56v-583.68c0-50.893-41.267-66.56-92.16-66.56zM332.8 153.6c-50.893 0-92.16 15.667-92.16 66.56v583.68c0 50.893 41.267 66.56 92.16 66.56s92.16-15.667 92.16-66.56v-583.68c0-50.893-41.267-66.56-92.16-66.56z"
],
"tags": [
"pause",
"media control"
],
"grid": 20
},
"properties": {
"id": 172,
"order": 39,
"prevSize": 20,
"code": 58900,
"name": "pause",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 172
},
{
"icon": {
"paths": [
"M511.232 122.88v195.994l359.27-0.051v386.662h-359.27v195.635l-388.25-389.12z"
],
"tags": [
"arrow-left",
"left",
"previous"
],
"grid": 20
},
"properties": {
"id": 189,
"order": 11,
"prevSize": 20,
"code": 58905,
"name": "arrow-left4",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 189
},
{
"icon": {
"paths": [
"M512.768 122.88v195.994l-359.27-0.051v386.662h359.27v195.635l388.25-389.12z"
],
"tags": [
"arrow-right",
"right",
"next"
],
"grid": 20
},
"properties": {
"id": 192,
"order": 14,
"prevSize": 20,
"code": 58906,
"name": "arrow-right5",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 192
},
{
"icon": {
"paths": [
"M511.232 849.92v-195.994l359.27 0.051v-284.262h-359.27v-195.635l-388.25 337.971z"
],
"tags": [
"arrow-left",
"left",
"previous"
],
"grid": 20
},
"properties": {
"id": 193,
"order": 10,
"prevSize": 20,
"code": 58907,
"name": "arrow-left5",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 193
},
{
"icon": {
"paths": [
"M512.768 174.080v195.994l-359.27-0.051v284.262h359.27v195.635l388.25-337.971z"
],
"tags": [
"arrow-right",
"right",
"next"
],
"grid": 20
},
"properties": {
"id": 196,
"order": 15,
"prevSize": 20,
"code": 58908,
"name": "arrow-right6",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 196
},
{
"icon": {
"paths": [
"M983.040 512c0-260.147-210.893-471.040-471.040-471.040s-471.040 210.893-471.040 471.040c0 260.198 210.893 471.091 471.040 471.091s471.040-210.944 471.040-471.091zM143.36 512c0-203.571 165.069-368.64 368.64-368.64s368.64 165.069 368.64 368.64c0 203.622-165.069 368.691-368.64 368.691s-368.64-165.069-368.64-368.691zM709.12 604.16v-184.32h-209.408v-115.2l-195.072 207.36 195.072 207.36v-115.2h209.408z"
],
"tags": [
"arrow-left",
"left",
"previous"
],
"grid": 20
},
"properties": {
"id": 197,
"order": 9,
"prevSize": 20,
"code": 58909,
"name": "arrow-left6",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 197
},
{
"icon": {
"paths": [
"M40.96 512c0 260.147 210.944 471.040 471.040 471.040 260.147 0 471.040-210.893 471.040-471.040 0-260.147-210.893-471.040-471.040-471.040-260.147 0-471.040 210.893-471.040 471.040zM880.64 512c0 203.571-165.069 368.64-368.64 368.64s-368.64-165.018-368.64-368.64c0-203.622 165.018-368.64 368.64-368.64s368.64 165.018 368.64 368.64zM314.88 419.84v184.32h209.408v115.2l195.072-207.36-195.072-207.36v115.2h-209.408z"
],
"tags": [
"arrow-right",
"right",
"next"
],
"grid": 20
},
"properties": {
"id": 200,
"order": 16,
"prevSize": 20,
"code": 58910,
"name": "arrow-right7",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 200
},
{
"icon": {
"paths": [
"M716.749 276.48l0.051 471.040-409.6-235.52z"
],
"tags": [
"arrow-left",
"left",
"triangle",
"previous"
],
"grid": 20
},
"properties": {
"id": 201,
"order": 3,
"prevSize": 20,
"code": 58911,
"name": "arrow-left7",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 201
},
{
"icon": {
"paths": [
"M307.251 276.48l-0.051 471.040 409.6-235.52z"
],
"tags": [
"arrow-right",
"triangle",
"right",
"next"
],
"grid": 20
},
"properties": {
"id": 204,
"order": 2,
"prevSize": 20,
"code": 58912,
"name": "arrow-right8",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 204
},
{
"icon": {
"paths": [
"M585.574 231.219c-21.402 20.89-230.502 240.435-230.502 240.435-11.418 11.162-17.101 25.754-17.101 40.346s5.683 29.184 17.101 40.346c0 0 209.101 219.546 230.502 240.384 21.402 20.89 59.904 22.323 82.739 0 22.784-22.272 24.576-53.35-0.051-80.64l-191.846-200.090 191.846-200.090c24.627-27.341 22.835-58.419 0.051-80.691-22.886-22.272-61.389-20.89-82.739-0z"
],
"tags": [
"arrow-left",
"left",
"previous"
],
"grid": 20
},
"properties": {
"id": 205,
"order": 7,
"prevSize": 20,
"code": 58913,
"name": "arrow-left8",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 205
},
{
"icon": {
"paths": [
"M438.426 231.219c21.402 20.89 230.502 240.435 230.502 240.435 11.469 11.162 17.152 25.754 17.152 40.346s-5.683 29.184-17.152 40.346c0 0-209.101 219.546-230.502 240.384-21.402 20.89-59.853 22.323-82.739 0-22.835-22.272-24.627-53.35 0-80.64l191.898-200.090-191.846-200.090c-24.627-27.341-22.835-58.419 0-80.691 22.835-22.272 61.338-20.89 82.688-0z"
],
"tags": [
"arrow-right",
"right",
"next"
],
"grid": 20
},
"properties": {
"id": 208,
"order": 6,
"prevSize": 20,
"code": 58914,
"name": "arrow-right9",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 208
},
{
"icon": {
"paths": [
"M634.829 687.002c13.722 13.875 13.722 36.301 0 50.125-13.722 13.875-35.891 13.875-49.613 0l-196.096-200.038c-13.722-13.875-13.722-36.301 0-50.125l196.096-200.090c13.722-13.875 35.891-13.875 49.613 0s13.722 36.25 0 50.125l-160.768 175.002 160.768 175.002z"
],
"tags": [
"arrow-left",
"left",
"previous"
],
"grid": 20
},
"properties": {
"id": 209,
"order": 5,
"prevSize": 20,
"code": 58915,
"name": "arrow-left9",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 209
},
{
"icon": {
"paths": [
"M389.171 687.002c-13.722 13.875-13.722 36.301 0 50.125 13.67 13.875 35.891 13.875 49.613 0l196.096-200.038c13.722-13.875 13.722-36.301 0-50.125l-196.096-200.090c-13.722-13.875-35.891-13.875-49.613 0s-13.722 36.25-0.051 50.074l160.819 175.053-160.768 175.002z"
],
"tags": [
"arrow-right",
"right",
"next"
],
"grid": 20
},
"properties": {
"id": 212,
"order": 4,
"prevSize": 20,
"code": 58916,
"name": "arrow-right10",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 212
},
{
"icon": {
"paths": [
"M737.229 891.802c13.722 13.875 13.722 36.25 0 50.125s-35.891 13.875-49.613 0l-400.896-404.838c-13.722-13.875-13.722-36.301 0-50.125l400.896-404.89c13.722-13.875 35.891-13.875 49.613 0s13.722 36.25 0 50.125l-365.568 379.802 365.568 379.802z"
],
"tags": [
"arrow-left",
"previous",
"left"
],
"grid": 20
},
"properties": {
"id": 213,
"order": 8,
"prevSize": 20,
"code": 58917,
"name": "arrow-left10",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 213
},
{
"icon": {
"paths": [
"M286.704 891.802c-13.722 13.875-13.722 36.25 0 50.125s35.891 13.875 49.613 0l400.896-404.838c13.722-13.875 13.722-36.301 0-50.125l-400.896-404.89c-13.722-13.875-35.891-13.875-49.613 0s-13.722 36.25 0 50.125l365.568 379.802-365.568 379.802z"
],
"grid": 20
},
"properties": {
"id": 216,
"order": 28,
"prevSize": 20,
"code": 58918,
"name": "uniE626",
"ligatures": ""
},
"setIdx": 1,
"iconIdx": 216
}
],
"height": 1024,
"metadata": {
"name": "WooComposer"
},
"preferences": {
"fontPref": {
"prefix": "wooicon-",
"metadata": {
"fontFamily": "WooComposer",
"majorVersion": 1,
"minorVersion": 0
},
"showGlyphs": true,
"metrics": {
"emSize": 512,
"baseline": 6.25,
"whitespace": 50
},
"resetPoint": 58880,
"showQuickUse": true,
"quickUsageToken": false,
"showMetrics": false,
"showMetadata": false,
"ie7": true,
"useClassSelector": false,
"classSelector": ".icon",
"showVersion": false
},
"imagePref": {
"color": 0,
"height": 32,
"columns": 16,
"margin": 16,
"png": false,
"sprites": true
},
"historySize": 100,
"showCodes": true,
"gridSize": 16,
"showLiga": true,
"showGrid": true,
"showGlyphs": true,
"showQuickUse": true,
"search": ""
}
}
@@ -0,0 +1,57 @@
/* Slider */
.slick-slider { position: relative; display: block; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -ms-touch-action: none; touch-action: none; -webkit-tap-highlight-color: transparent; }
.slick-list { position: relative; overflow: hidden; display: block; margin: 0; padding: 0; }
.slick-list:focus { outline: none; }
.slick-loading .slick-list { background: white url(./ajax-loader.gif) center center no-repeat; }
.slick-list.dragging { cursor: pointer; cursor: hand; }
.slick-slider .slick-list, .slick-track, .slick-slide, .slick-slide img { -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); -ms-transform: translate3d(0, 0, 0); -o-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
.slick-track { position: relative; left: 0; top: 0; display: block; zoom: 1; }
.slick-track:before, .slick-track:after { content: ""; display: table; }
.slick-track:after { clear: both; }
.slick-loading .slick-track { visibility: hidden; }
.slick-slide { float: left; height: 100%; min-height: 1px; display: none; }
.slick-slide img { display: block; width: 100%; }
.slick-slide.slick-loading img { display: none; }
.slick-slide.dragging img { pointer-events: none; }
/*Fixed issue of image overlap*/
.slick-initialized .slick-slide { display: block; position: relative; z-index: 1;}
.slick-initialized .slick-slide.slick-active { z-index: 9;}
.slick-loading .slick-slide { visibility: hidden; }
.slick-vertical .slick-slide { display: block; height: auto; border: 1px solid transparent; }
/* Icons */
@font-face { font-family: "slick"; src: url("./fonts/slick.eot"); src: url("./fonts/slick.eot?#iefix") format("embedded-opentype"), url("./fonts/slick.woff") format("woff"), url("./fonts/slick.ttf") format("truetype"), url("./fonts/slick.svg#slick") format("svg"); font-weight: normal; font-style: normal; }
/* Arrows */
button.slick-next.slick-disabled, button.slick-prev.slick-disabled { cursor: auto; display: none !important; }
/*Arrows*/
.slick-slider button.slick-next,
.slick-slider button.slick-prev {
position: absolute;
display: block;
font-size: 30px;
font-weight: normal;
height: 1em;
width: 1em;
line-height: 1em;
padding: 0;
margin: 0;
top: 50%;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
transform: translateY(-50%);
border-radius: 100%;
background: rgba(0,0,0,0);
color: #666;
box-shadow: none;
border: 0;
outline: none;
-webkit-transition: all 300ms linear;
-moz-transition: all 300ms linear;
transition: all 300ms linear;
cursor: pointer;
}
.slick-slider button.slick-prev {
left: -1em;
}
.slick-slider button.slick-next {
right: -1em;
}
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,8 @@
@charset "UTF-8";.woocomposer_grid{width:calc(100% + 30px);margin:0 0 0 -15px;display:block;float:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.woocomposer_grid .woocomposer .wooproduct.wooproduct-first{clear:both}.woocomposer_list,.wpb_row .wpb_column .wpb_wrapper .woocomposer_list{display:block;width:100%;position:relative;margin-bottom:30px;box-sizing:border-box;overflow:hidden}.woocomposer_list ul.wcmp-product-list{list-style:none outside;margin:0;padding:0;float:left;width:100%}.woocomposer_list ul.wcmp-product-list li{border-bottom:1px solid #ddd;font-size:12px;zoom:1;list-style:none;margin:0;padding:4px 0;float:left;display:block;width:100%}.woocomposer_list ul.wcmp-product-list li:last-child{border-bottom:none}.woocomposer_list ul.wcmp-product-list li:before{content:" ";display:table}.woocomposer_list ul.wcmp-product-list li:after{clear:both}.woocomposer_list ul.wcmp-product-list li a{font-size:inherit;font-weight:700;line-height:1.5em;color:inherit;text-decoration:none;display:block}.woocomposer_list ul.wcmp-product-list li a span{line-height:1em}.woocomposer_list ul.wcmp-product-list li a img{margin-top:0;margin-bottom:0;width:60px;box-shadow:none;border-radius:0;box-sizing:content-box}.wpb_row .wpb_column .wpb_wrapper .woocomposer_list ul.wcmp-product-list li a img{margin-bottom:0;box-sizing:content-box}.woocomposer_list ul.wcmp-product-list.wcmp-img-left li a img{float:left;margin-left:0;margin-right:10px}.woocomposer_list ul.wcmp-product-list.wcmp-img-right li a img{float:right;margin-left:10px;margin-right:0}.woocomposer_list ul.wcmp-product-list li ins{font-size:1em;font-weight:400;color:inherit;background:0 0}.woocomposer_list ul.wcmp-product-list li del{font-size:.85em;font-weight:400;color:inherit;background:0 0}.woocommerce .wcmp-product-list .star-rating{float:none;display:block;margin:2px 0}.clearout{clear:both}.woocomposer_grid .wcmp-product-image .carousel-in-loop{max-width:325px}.wpb_row .wpb_column .wpb_wrapper .woocomposer_carousel{margin-bottom:40px}.woocommerce.woocomposer_carousel{padding-bottom:40px}.woocomposer_carousel .slick-slide .wcmp-carousel-item{margin:10px;display:block!important;position:relative!important}.woocomposer_carousel .wcmp-product,.wpb_row .wpb_column .wpb_wrapper .woocomposer_carousel .wcmp-product{margin-bottom:0;position:initial}.slick-slider .slick-dots{width:100%;position:absolute;text-align:center;left:0;margin:0;padding:0;clear:both;list-style:none outside;bottom:-40px;z-index:2000;-moz-user-select:none;-webkit-user-select:none}.slick-slider .slick-dots li{display:inline-block;list-style:none outside;position:relative;width:12px;height:12px;border-radius:50%;background:#c3c3c3;margin:3px;padding:0;cursor:pointer;border:none;box-shadow:1px 1px 1px rgba(0,0,0,.1) inset,1px 1px 1px rgba(255,255,255,.1)}.slick-slider .slick-dots li.slick-active:after{content:'';width:8px;height:8px;position:absolute;top:2px;left:2px;border-radius:50%;background:#fff;background:-moz-linear-gradient(top,rgba(255,255,255,1) 0,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,rgba(255,255,255,1)),color-stop(47%,rgba(246,246,246,1)),color-stop(100%,rgba(237,237,237,1)));background:-webkit-linear-gradient(top,rgba(255,255,255,1) 0,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%);background:-o-linear-gradient(top,rgba(255,255,255,1) 0,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%);background:-ms-linear-gradient(top,rgba(255,255,255,1) 0,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%);background:linear-gradient(top,rgba(255,255,255,1) 0,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%)}.slick-slider .slick-dots button,.slick-slider .slick-dots button:active,.slick-slider .slick-dots button:focus,.slick-slider .slick-dots button:hover,.slick-slider .slick-dots button:visited{background:0 0;display:block;height:12px;width:12px;border:none;outline:0;box-shadow:none;line-height:0;font-size:0;color:transparent;padding:0;cursor:pointer;outline:0}.woocomposer_grid .wcmp-paginate{margin-left:15px;clear:both;display:block}.wcmp-paginate .wcmp-pagination{clear:both;padding:20px 0;position:relative;font-size:11px;line-height:13px}.wcmp-pagination a,.wcmp-pagination a:visited,.wcmp-pagination span{display:block;float:left;margin:2px 2px 2px 0;padding:6px 9px 5px 9px;text-decoration:none;width:auto;color:#fff;background:#555}.wcmp-paginate .wcmp-pagination a:hover{color:#fff;background:#3279bb}.wcmp-paginate .wcmp-pagination .current{padding:6px 9px 5px 9px;background:#3279bb;color:#fff}.wcmp-product,.wpb_row .wpb_column .wpb_wrapper .wcmp-product{display:block;width:100%;position:relative;margin-bottom:30px;box-sizing:border-box;border:1px solid #e2e2e2;overflow:hidden}.wcmp-product a,.wcmp-product a:hover{text-decoration:none!important;text-decoration:none!important}.wcmp-product .wcmp-product-desc a,.wcmp-product .wcmp-product-desc a:hover,.wcmp-product .wcmp-product-desc a:vLine truncated
Animate.css - http://daneden.me/animate
Licensed under the MIT license
Copyright (c) 2013 Daniel Eden
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.hinge{-webkit-animation-duration:2s;animation-duration:2s}@-webkit-keyframes bounce{0%,100%,20%,50%,80%{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-30px);transform:translateY(-30px)}60%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}}@keyframes bounce{0%,100%,20%,50%,80%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-30px);-ms-transform:translateY(-30px);transform:translateY(-30px)}60%{-webkit-transform:translateY(-15px);-ms-transform:translateY(-15px);transform:translateY(-15px)}}.bounce{-webkit-animation-name:bounce;animation-name:bounce}@-webkit-keyframes flash{0%,100%,50%{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,100%,50%{opacity:1}25%,75%{opacity:0}}.flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.1);transform:scale(1.1)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes pulse{0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}100%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}}.pulse{-webkit-animation-name:pulse;animation-name:pulse}@-webkit-keyframes rubberBand{0%{-webkit-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scaleX(1.25) scaleY(.75);transform:scaleX(1.25) scaleY(.75)}40%{-webkit-transform:scaleX(.75) scaleY(1.25);transform:scaleX(.75) scaleY(1.25)}60%{-webkit-transform:scaleX(1.15) scaleY(.85);transform:scaleX(1.15) scaleY(.85)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes rubberBand{0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scaleX(1.25) scaleY(.75);-ms-transform:scaleX(1.25) scaleY(.75);transform:scaleX(1.25) scaleY(.75)}40%{-webkit-transform:scaleX(.75) scaleY(1.25);-ms-transform:scaleX(.75) scaleY(1.25);transform:scaleX(.75) scaleY(1.25)}60%{-webkit-transform:scaleX(1.15) scaleY(.85);-ms-transform:scaleX(1.15) scaleY(.85);transform:scaleX(1.15) scaleY(.85)}100%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}}.rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shake{0%,100%{-webkit-transform:translateX(0);transform:translateX(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);transform:translateX(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);transform:translateX(10px)}}@keyframes shake{0%,100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);-ms-transform:translateX(-10px);transform:translateX(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);-ms-transform:translateX(10px);transform:translateX(10px)}}.shake{-webkit-animation-name:shake;animation-name:shake}@-webkit-keyframes swing{20%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}100%{-webkit-transform:rotate(0);transform:rotate(0)}}@keyframes swing{20%{-webkit-transform:rotate(15deg);-ms-transform:rotate(15deg);transform:rotate(15deg)}40%{-webkit-transform:rotate(-10deg);-ms-transform:rotate(-10deg);transform:rotate(-10deg)}60%{-webkit-transform:rotate(5deg);-ms-transform:rotate(5deg);transform:rotate(5deg)}80%{-webkit-transform:rotate(-5deg);-ms-transform:rotate(-5deg);transform:rotate(-5deg)}100%{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}}.swing{-webkit-transform-origin:top center;-ms-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scale(1);transform:scale(1)}10%,20%{-webkit-transform:scale(.9) rotate(-3deg);transform:scale(.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale(1.1) rotate(3deg);transform:scale(1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale(1.1) rotate(-3deg);transform:scale(1.1) rotate(-3deg)}100%{-webkit-transform:scale(1) rotate(0);transform:scale(1) rotate(0)}}@keyframes tada{0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}10%,20%{-webkit-transform:scale(.9) rotate(-3deg);-ms-transform:scale(.9) rotate(-3deg);transform:scale(.9) rotate(-3deg)}30%,50%,70%,90%{-webkit-transform:scale(1.1) rotate(3deg);-ms-transform:scale(1.1) rotate(3deg);transform:scale(1.1) rotate(3deg)}40%,60%,80%{-webkit-transform:scale(1.1) rotate(-3deg);-ms-transform:scale(1.1) rotate(-3deg);transform:scale(1.1) rotate(-3deg)}100%{-webkit-transform:scale(1) rotate(0);-ms-transform:scale(1) rotate(0);transform:scale(1) rotate(0Line truncated
@@ -0,0 +1,142 @@
@font-face {
font-family: 'WooComposer';
src:url('fonts/WooComposer.eot?-16rqpf');
src:url('fonts/WooComposer.eot?#iefix-16rqpf') format('embedded-opentype'),
url('fonts/WooComposer.woff?-16rqpf') format('woff'),
url('fonts/WooComposer.ttf?-16rqpf') format('truetype'),
url('fonts/WooComposer.svg?-16rqpf#WooComposer') format('svg');
font-weight: normal;
font-style: normal;
}
[class^="wooicon-"], [class*=" wooicon-"] {
font-family: 'WooComposer';
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.wooicon-uniE612:before {
content: "\e612";
}
.wooicon-paperplane:before {
content: "\e60f";
}
.wooicon-reply:before {
content: "\e615";
}
.wooicon-reply-all:before {
content: "\e616";
}
.wooicon-forward:before {
content: "\e603";
}
.wooicon-export:before {
content: "\e610";
}
.wooicon-heart:before {
content: "\e617";
}
.wooicon-heart2:before {
content: "\e618";
}
.wooicon-star:before {
content: "\e600";
}
.wooicon-star2:before {
content: "\e601";
}
.wooicon-thumbsup:before {
content: "\e602";
}
.wooicon-thumbsdown:before {
content: "\e60c";
}
.wooicon-flag:before {
content: "\e60d";
}
.wooicon-tag:before {
content: "\e60e";
}
.wooicon-bag:before {
content: "\e604";
}
.wooicon-cart4:before {
content: "\e605";
}
.wooicon-cross:before {
content: "\e606";
}
.wooicon-plus3:before {
content: "\e607";
}
.wooicon-cross2:before {
content: "\e608";
}
.wooicon-plus22:before {
content: "\e609";
}
.wooicon-cross3:before {
content: "\e60a";
}
.wooicon-plus32:before {
content: "\e60b";
}
.wooicon-cycle:before {
content: "\e611";
}
.wooicon-play:before {
content: "\e613";
}
.wooicon-pause:before {
content: "\e614";
}
.wooicon-arrow-left4:before {
content: "\e619";
}
.wooicon-arrow-right5:before {
content: "\e61a";
}
.wooicon-arrow-left5:before {
content: "\e61b";
}
.wooicon-arrow-right6:before {
content: "\e61c";
}
.wooicon-arrow-left6:before {
content: "\e61d";
}
.wooicon-arrow-right7:before {
content: "\e61e";
}
.wooicon-arrow-left7:before {
content: "\e61f";
}
.wooicon-arrow-right8:before {
content: "\e620";
}
.wooicon-arrow-left8:before {
content: "\e621";
}
.wooicon-arrow-right9:before {
content: "\e622";
}
.wooicon-arrow-left9:before {
content: "\e623";
}
.wooicon-arrow-right10:before {
content: "\e624";
}
.wooicon-arrow-left10:before {
content: "\e625";
}
.wooicon-uniE626:before {
content: "\e626";
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 808 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

@@ -0,0 +1,16 @@
(function($) {
"use strict";
jQuery(document).ready(function(e) {
var display_type = jQuery("#display_type"),
per_page = jQuery("#per_page"),
columns = jQuery("#columns"),
orderby = jQuery("#orderby"),
order = jQuery("#order"),
cat = jQuery("#cat").prev('label');
alert(display_type.val());
display_type.bind("change",function(){
alert(jQuery(this).val());
});
cat.hasClass('none')
});
})(jQuery);;
@@ -0,0 +1,346 @@
jQuery(document).ready(function(e) {
// Do animation of animation block if present
if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) )
{
jQuery('.wcmp-product').addClass('wcmp-mobile');
}
/* product advanced note fix */
jQuery('.wcmp-sale-circle').each(function(index, element) {
var $span = jQuery('.wcmp-sale-circle').find('span');
var span_width = $span.outerWidth();
$span.css({'height':span_width+'px','line-height':span_width+'px'});
});
jQuery('body').append('<div class="quick-view-single-product"></div>');
var container = jQuery('.woocomposer_grid > .woocomposer');
var oldWrapPos = 0;
var row = 0;
jQuery('body').on('click', '.quick-view-loop', function(e){
e.preventDefault();
var parentProduct = jQuery(this).parent().parent().parent();
var parentProduct = jQuery(this).closest('.wooproduct');
var cls = parentProduct.find('selected').length;
if(cls >=1 ){
parentProduct.removeClass('selected');
jQuery('.wcmp-view-wrap').slideUp( function() { jQuery(this).remove(); });
} else {
jQuery('.wcmp-view-wrap').remove();
var elements = container.children();
container.children().removeClass('selected'); // reset selected element
parentProduct.addClass('selected'); // mark new selected element
//parentProduct.next('.wcmp-quick-view-wrapper').slideUp( function() { jQuery(this).remove(); });
jQuery('.wcmp-view-wrap').slideUp( function() { jQuery(this).remove(); });
var elementHeight = parentProduct.height()-3;
var elementWidth = parentProduct.outerWidth(true);
var selectedPos = parentProduct.index()+1; // get selected position
// find wrap element:
//var containerWidth = container.width();
//var elementsInRow = Math.floor(containerWidth / 100 );
var elementsInRow = jQuery(".wcmp-quick-view-wrapper").data('columns'); // use this if container's width is fixed
var calculatedRow = selectedPos / elementsInRow;
var wrapPos = '';
if( Math.floor(calculatedRow) == calculatedRow && jQuery.isNumeric(calculatedRow)){
row = calculatedRow;
wrapPos = (row * elementsInRow)-1;
} else {
row = Math.floor(selectedPos / elementsInRow)+1;
wrapPos = (row * elementsInRow)-1;
}
// if selected is on last row, use as wrap the last element:
var size = elements.length;
if (wrapPos >= size){wrapPos = size-1;}
//wrapPos = wrapPos - 1;
var pointerPos = (elementWidth/2 - 5) + (((selectedPos-1) % elementsInRow) * elementWidth)
//var pointerPos = 30 + (((selectedPos+1) * elementWidth)-(elementWidth/2));
/*
console.log(selectedPos);
console.log(elementsInRow);
console.log(selectedPos % elementsInRow);
console.log((selectedPos % elementsInRow) * 110);
console.log('left: '+pointerPos);
*/
//console.log(elementWidth);
elements.removeClass('edge');
jQuery(elements[wrapPos]).addClass('edge');
var quickView = parentProduct.children('.wcmp-quick-view-wrapper').html();
jQuery('.edge').after('<div class="wcmp-view-wrap vc_span12 wpb_column column_container woocommerce" style="height:0px; margin-top: -20px; width:100%;"><div class="info-pc" style="left:'+pointerPos+'px; float:right; top:-10px;"></div><div class="wcmp-view-content product">'+quickView+'</div><div class="wcmp-close"><i class="wooicon-cross2"></i></div></div>');
var contentHeight = jQuery('.wcmp-view-content').height();
jQuery('.wcmp-view-wrap').animate(
{
height:contentHeight
},{
duration: 500,
complete: function(){
jQuery( this ).css('overflow','visible');
jQuery(this).trigger('viewLoaded');
}
}
);
}
}
);
jQuery('body').click( function (e) {
if ( e.target == this ){
if(jQuery('.woocomposer_grid').find(".wcmp-view-wrap").length > 0)
{
jQuery(".wcmp-view-wrap").addClass('animated fadeInOut');
setTimeout(function(){
var contentHeightNew = jQuery('.wcmp-view-content').height();
var wHeight = (jQuery(window).innerHeight() + (contentHeightNew)) / 2;
var topMargin = jQuery(".wcmp-view-wrap").offset().top - wHeight;
jQuery('.wcmp-view-wrap').slideUp( function() { jQuery(this).remove(); });
jQuery('html, body').animate(
{
scrollTop:topMargin
},
{
duration: 500,
complete:function(){
//jQuery(this).trigger('viewLoaded');
}
});
},500);
container.children().removeClass('selected');
}
}
});
jQuery(document).ready(function($) {
// script to woocomposer grid layput
$('.woocomposer_grid').each(function(index, element){
var woo_col = $(this).find('.woocomposer').attr('data-columns');
$(this).find('.wooproduct').each(function(pindex,product){
var mod = pindex%woo_col;
if(mod == 0)
$(product).addClass('wooproduct-first');
if(mod == (woo_col-1))
$(product).addClass('wooproduct-last');
});
});
//jQuery(".woocomposer_grid").eqHeight(".wooproduct", {equalize_interval: 500});
$(".wcmp-img").unveil();
var inline_vc = jQuery('.woocomposer_carousel').find('.wcmp_vc_inline').length;
if(inline_vc == 1){
var woo_carousel = jQuery(".woocomposer_carousel");
woo_carousel.each(function(index, element) {
var id = jQuery(this).attr('id');
var carousel_opts = jQuery(this).attr('data-slick');
jQuery("#"+id+" > .woocomposer").slick(carousel_opts);
//console.log(id);
});
}
});
/**/
jQuery('body').on('click', '.wcmp-close', function(e){
e.preventDefault();
var childs = jQuery('.woocomposer_grid').children('.wooproduct');
childs.removeClass('selected');
var contentHeightNew = jQuery('.wcmp-view-content').height();
var wHeight = (jQuery(window).innerHeight() + (contentHeightNew)) / 2;
var topMargin = jQuery(".wcmp-view-wrap").offset().top - wHeight;
jQuery('.wcmp-view-wrap').slideUp( function() { jQuery(this).remove(); });
jQuery('html, body').animate(
{
scrollTop:topMargin
},
{
duration: 500,
complete:function(){
//jQuery(this).trigger('viewLoaded');
}
});
});
/* Custom JS for Swatches Plugin*/
jQuery('body').on('click','a.swatch-anchor',function(e){
e.preventDefault();
var variation = '';
var attr_name = jQuery(this).parent().parent().data('attribute-name');
var attr_value = jQuery(this).parent().data('value');
var variations = jQuery(this).closest('.variations_form').data('product_variations');
var variations_form = jQuery(this).closest('.variations_form');
var img_source = jQuery(this).closest('.product').find('.wcmp-quickview-img');
for (var p = 0; p < variations.length; p++) {
var result = true;
for (attribute in variations[p].attributes) {
if (attr_name == attribute) {
var v = variations[p].attributes[attribute];
if (v != attr_value) {
result = false;
}
}
}
if (result) {
variation = variations[p];
}
}
var img = variation.image_src;
//img_source.attr('href',img);
variations_form.find('.single_variation').html(variation.price_html + variation.availability_html);
console.log(variation);
img_source.find("img").attr('src',img);
jQuery(this).parent().parent().find("#"+attr_name).val(attr_value);
jQuery(this).parent().siblings('.swatch-wrapper').removeClass('selected');
jQuery(this).parent().addClass('selected');
jQuery('form input[name=variation_id]').val(variation.variation_id).change();
});
/* Single Product Quick View */
jQuery(".woo-msg").css({'position':'fixed','width':'100%','left':'0','right':'0','z-index':'9999999','top':'0px'});
jQuery(".woo-msg > .woocommerce-message").append('<a href="#" class="button wc-backward wcmp-continue" style="margin-right: 15px;">Continue Shopping</a>');
jQuery(".wcmp-continue").click(function(){
jQuery(".woocommerce-message").slideUp(500,function() { jQuery(this).remove(); });
});
jQuery(".quick-view-single").click(function(e){
e.preventDefault();
var single_container = jQuery(this).parent().parent().find('.wcmp-quick-view-wrapper');
var html = single_container.html();
jQuery(".quick-view-single-product").html(html);
jQuery(".quick-view-single-product").fadeIn('fast');
jQuery(".quick-view-single-product .wcmp-image-carousel").slick({
arrows: true,
infinite: true,
speed: 500,
slidesToShow: 1,
slidesToScroll: 1,
});
var is_variation = jQuery(".quick-view-single-product").find('.variations_form').length;
if(is_variation != 0)
{
jQuery( '.variations_form' ).wc_variation_form();
jQuery( '.variations_form .variations select' ).change();
}
add_woocomposer_popupclass();
});
jQuery(".quick-view-loop-popup").click(function(e){
e.preventDefault();
// var single_container = jQuery(this).parent().parent().parent().find('.wcmp-quick-view-wrapper');
var single_container = jQuery(this).closest('.wooproduct').find('.wcmp-quick-view-wrapper');
var html = single_container.html();
jQuery(".quick-view-single-product").html(html);
jQuery(".quick-view-single-product").fadeIn('fast');
jQuery(".quick-view-single-product .wcmp-image-carousel").slick({
arrows: true,
infinite: true,
speed: 500,
slidesToShow: 1,
slidesToScroll: 1,
});
var is_variation = jQuery(".quick-view-single-product").find('.variations_form').length;
if(is_variation != 0)
{
jQuery( '.variations_form' ).wc_variation_form();
jQuery( '.variations_form .variations select' ).change();
}
add_woocomposer_popupclass();
});
jQuery('body').on('click','.wcmp-close-single',function(){
jQuery(".quick-view-single-product").fadeOut(500);
jQuery('html').removeClass('woocomposer-popup');
});
jQuery(".wcmp-single-image-carousel").slick({
arrows: true,
infinite: true,
draggable: false,
speed: 500,
slidesToShow: 1,
slidesToScroll: 1,
});
});
jQuery(document).on('viewLoaded',function(){
jQuery(".wcmp-view-wrap .wcmp-image-carousel").slick({
arrows: true,
infinite: true,
speed: 500,
slidesToShow: 1,
slidesToScroll: 1,
});
var contentHeightNew = jQuery('.wcmp-view-content').height();
jQuery(".wcmp-view-wrap").animate({height:contentHeightNew},{duration:500,complete:function(){
var wHeight = (jQuery(window).innerHeight() - contentHeightNew) / 2;
var topMargin = jQuery(".wcmp-view-wrap").offset().top - wHeight;
jQuery('html, body').animate(
{
scrollTop:topMargin
},
{
duration: 500,
complete:function(){
//jQuery(this).trigger('viewLoaded');
}
});
}});
var is_variation = jQuery(".wcmp-view-wrap").find('.variations_form').length;
if(is_variation != 0)
{
jQuery( '.variations_form' ).wc_variation_form();
jQuery( '.variations_form .variations select' ).change();
}
});
jQuery(window).scroll(function(){
animate_products();
});
jQuery(window).load(function(){
animate_products();
var inline_vc = jQuery('.woocomposer_carousel').find('.wcmp_vc_inline').length;
if(inline_vc >= 1){
var woo_carousel = jQuery(".woocomposer_carousel");
woo_carousel.each(function(index, element) {
var id = jQuery(this).attr('id');
var carousel_opts = jQuery(this).attr('data-slick');
jQuery("#"+id+" > .woocomposer").slick(carousel_opts);
var products = jQuery("#"+id+" > .woocomposer").find(".wooproduct").length;
jQuery("#"+id+" > .woocomposer").find("slick-track").css('width',300 * products);
jQuery("#"+id+" > .woocomposer").find(".wooproduct").each(function(index, element) {
jQuery(this).css('width',300+'px');
});
console.log(inline_vc);
});
jQuery(".quick-view-single-product .wcmp-image-carousel, .wcmp-single-image-carousel").each(function(index, element) {
jQuery(this).slick({
arrows: true,
infinite: true,
draggable: false,
speed: 500,
slidesToShow: 1,
slidesToScroll: 1,
});
});
}
});
jQuery(window).resize(function(e) {
add_woocomposer_popupclass();
});
function animate_products(){
jQuery(".wooproduct").each(function(index, element) {
var id = jQuery(this).attr('id');
var animate = jQuery(this).data('animation');
if(animate !== "animated no-animation"){
// if(isOnScreen("#"+id)){
jQuery("#"+id).addClass(animate);
// }
}
});
}
function isOnScreen(id){
var win = jQuery(window);
var viewport = {
top : win.scrollTop(),
left : win.scrollLeft()
};
var productHeight = jQuery(id).outerHeight()-80;
viewport.right = viewport.left + win.width();
viewport.bottom = viewport.top + win.height() - productHeight;
var bounds = jQuery(id).offset();
bounds.right = bounds.left + jQuery(id).outerWidth();
bounds.bottom = bounds.top + jQuery(id).outerHeight();
return (!(viewport.right < bounds.left || viewport.left > bounds.right || viewport.bottom < bounds.top || viewport.top > bounds.bottom));
};
function add_woocomposer_popupclass()
{
var xheight = jQuery('.quick-view-single-product > div').height();
var wheight = jQuery(window).height();
if(xheight >= wheight)
jQuery('html').addClass('woocomposer-popup');
else
jQuery('html').removeClass('woocomposer-popup');
}
@@ -0,0 +1 @@
/* _ _ _ _ ___| (_) ___| | __ (_)___ / __| | |/ __| |/ / | / __| \__ \ | | (__| < _ | \__ \ |___/_|_|\___|_|\_(_)/ |___/ |__/ Author: Ken Wheeler Website: http://kenwheeler.github.io Docs: http://kenwheeler.github.io/slick Repo: http://github.com/kenwheeler/slick Issues: http://github.com/kenwheeler/slick/issues */ /* global window, document, define, jQuery, setInterval, clearInterval */ (function(factory) { 'use strict'; if (typeof define === 'function' && define.amd) { define(['jquery'], factory); } else { factory(jQuery); } }(function($) { 'use strict'; var Slick = window.Slick || {}; Slick = (function() { var instanceUid = 0; function Slick(element, settings) { var _ = this, responsiveSettings, breakpoint; _.defaults = { accessibility: true, arrows: true, autoplay: false, autoplaySpeed: 3000, centerMode: false, centerPadding: '50px', cssEase: 'ease', customPaging: function(slider, i) { return '<button type="button">' + (i + 1) + '</button>'; }, dots: false, draggable: true, easing: 'linear', fade: false, infinite: true, lazyLoad: 'ondemand', onBeforeChange: null, onAfterChange: null, onInit: null, onReInit: null, pauseOnHover: true, responsive: null, slide: 'div', slidesToShow: 1, slidesToScroll: 1, speed: 300, swipe: true, touchMove: true, touchThreshold: 5, useCSS: true, vertical: false }; _.initials = { animating: false, autoPlayTimer: null, currentSlide: 0, currentLeft: null, direction: 1, $dots: null, listWidth: null, listHeight: null, loadIndex: 0, $nextArrow: null, $prevArrow: null, slideCount: null, slideWidth: null, $slideTrack: null, $slides: null, sliding: false, slideOffset: 0, swipeLeft: null, $list: null, touchObject: {}, transformsEnabled: false }; $.extend(_, _.initials); _.activeBreakpoint = null; _.animType = null; _.animProp = null; _.breakpoints = []; _.breakpointSettings = []; _.cssTransitions = false; _.paused = false; _.positionProp = null; _.$slider = $(element); _.$slidesCache = null; _.transformType = null; _.transitionType = null; _.windowWidth = 0; _.windowTimer = null; _.options = $.extend({}, _.defaults, settings); _.originalSettings = _.options; responsiveSettings = _.options.responsive || null; if (responsiveSettings && responsiveSettings.length > -1) { for (breakpoint in responsiveSettings) { if (responsiveSettings.hasOwnProperty(breakpoint)) { _.breakpoints.push(responsiveSettings[ breakpoint].breakpoint); _.breakpointSettings[responsiveSettings[ breakpoint].breakpoint] = responsiveSettings[breakpoint].settings; } } _.breakpoints.sort(function(a, b) { return b - a; }); } _.autoPlay = $.proxy(_.autoPlay, _); _.autoPlayClear = $.proxy(_.autoPlayClear, _); _.changeSlide = $.proxy(_.changeSlide, _); _.setPosition = $.proxy(_.setPosition, _); _.swipeHandler = $.proxy(_.swipeHandler, _); _.dragHandler = $.proxy(_.dragHandler, _); _.keyHandler = $.proxy(_.keyHandler, _); _.autoPlayIterator = $.proxy(_.autoPlayIterator, _); _.instanceUid = instanceUid++; _.init(); } return Slick; }()); Slick.prototype.addSlide = function(markup, index, addBefore) { var _ = this; if (typeof(index) === 'boolean') { addBefore = index; index = null; } else if (index < 0 || (index >= _.slideCount)) { return false; } _.unload(); if (typeof(index) === 'number') { if (indexLine truncated
@@ -0,0 +1 @@
;(function($){$.fn.unveil=function(threshold,callback){var $w=$(window),th=threshold||0,retina=window.devicePixelRatio>1,attrib=retina?"data-src-retina":"data-src",images=this,loaded;this.one("unveil",function(){var source=this.getAttribute(attrib);source=source||this.getAttribute("data-src");if(source){this.setAttribute("src",source);if(typeof callback==="function")callback.call(this);}});function unveil(){var inview=images.filter(function(){var $e=$(this),wt=$w.scrollTop(),wb=wt+$w.height(),et=$e.offset().top,eb=et+$e.height();return eb>=wt-th&&et<=wb+th;});loaded=inview.trigger("unveil");images=images.not(loaded);}$w.scroll(unveil);$w.resize(unveil);unveil();return this;};})(window.jQuery||window.Zepto);
@@ -0,0 +1 @@
function animate_products(){jQuery(".wooproduct").each(function(i,e){var t=jQuery(this).attr("id"),o=jQuery(this).data("animation");"animated no-animation"!==o&&jQuery("#"+t).addClass(o)})}function isOnScreen(i){var e=jQuery(window),t={top:e.scrollTop(),left:e.scrollLeft()},o=jQuery(i).outerHeight()-80;t.right=t.left+e.width(),t.bottom=t.top+e.height()-o;var s=jQuery(i).offset();return s.right=s.left+jQuery(i).outerWidth(),s.bottom=s.top+jQuery(i).outerHeight(),!(t.right<s.left||t.left>s.right||t.bottom<s.top||t.top>s.bottom)}function add_woocomposer_popupclass(){var i=jQuery(".quick-view-single-product > div").height();jQuery(window).height()<=i?jQuery("html").addClass("woocomposer-popup"):jQuery("html").removeClass("woocomposer-popup")}!function(a){a.fn.unveil=function(i,e){var t,n=a(window),r=i||0,o=1<window.devicePixelRatio?"data-src-retina":"data-src",s=this;function l(){var i=s.filter(function(){var i=a(this),e=n.scrollTop(),t=e+n.height(),o=i.offset().top,s=o+i.height();return e-r<=s&&o<=t+r});t=i.trigger("unveil"),s=s.not(t)}return this.one("unveil",function(){var i=this.getAttribute(o);(i=i||this.getAttribute("data-src"))&&(this.setAttribute("src",i),"function"==typeof e&&e.call(this))}),n.scroll(l),n.resize(l),l(),this}}(window.jQuery||window.Zepto),function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):i(jQuery)}(function(n){"use strict";var r,o=window.Slick||{};r=0,(o=function(i,e){var t,o,s=this;if(s.defaults={accessibility:!0,arrows:!0,autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(i,e){return'<button type="button">'+(e+1)+"</button>"},dots:!1,draggable:!0,easing:"linear",fade:!1,infinite:!0,lazyLoad:"ondemand",onBeforeChange:null,onAfterChange:null,onInit:null,onReInit:null,pauseOnHover:!0,responsive:null,slide:"div",slidesToShow:1,slidesToScroll:1,speed:300,swipe:!0,touchMove:!0,touchThreshold:5,useCSS:!0,vertical:!1},s.initials={animating:!1,autoPlayTimer:null,currentSlide:0,currentLeft:null,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1},n.extend(s,s.initials),s.activeBreakpoint=null,s.animType=null,s.animProp=null,s.breakpoints=[],s.breakpointSettings=[],s.cssTransitions=!1,s.paused=!1,s.positionProp=null,s.$slider=n(i),s.$slidesCache=null,s.transformType=null,s.transitionType=null,s.windowWidth=0,s.windowTimer=null,s.options=n.extend({},s.defaults,e),s.originalSettings=s.options,(t=s.options.responsive||null)&&-1<t.length){for(o in t)t.hasOwnProperty(o)&&(s.breakpoints.push(t[o].breakpoint),s.breakpointSettings[t[o].breakpoint]=t[o].settings);s.breakpoints.sort(function(i,e){return e-i})}s.autoPlay=n.proxy(s.autoPlay,s),s.autoPlayClear=n.proxy(s.autoPlayClear,s),s.changeSlide=n.proxy(s.changeSlide,s),s.setPosition=n.proxy(s.setPosition,s),s.swipeHandler=n.proxy(s.swipeHandler,s),s.dragHandler=n.proxy(s.dragHandler,s),s.keyHandler=n.proxy(s.keyHandler,s),s.autoPlayIterator=n.proxy(s.autoPlayIterator,s),s.instanceUid=r++,s.init()}).prototype.addSlide=function(i,e,t){var o=this;if("boolean"==typeof e)t=e,e=null;else if(e<0||e>=o.slideCount)return!1;o.unload(),"number"==typeof e?0===e&&0===o.$slides.length?n(i).appendTo(o.$slideTrack):t?n(i).insertBefore(o.$slides.eq(e)):n(i).insertAfter(o.$slides.eq(e)):!0===t?n(i).prependTo(o.$slideTrack):n(i).appendTo(o.$slideTrack),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).remove(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,o.reinit()},o.prototype.animateSlide=function(i,e){var t={},o=this;!1===o.transformsEnabled?!1===o.options.vertical?o.$slideTrack.animate({left:i},o.options.speed,o.options.easing,e):o.$slideTrack.animate({top:i},o.options.speed,o.options.easing,e):!1===o.cssTransitions?n({animStart:o.currentLeft}).animate({animStart:i},{duration:o.options.speed,easing:o.options.easing,step:function(i){!1===o.options.vertical?t[o.animType]="translate("+i+"px, 0px)":t[o.animType]="translate(0px,"+i+"px)",o.$slideTrack.css(t)},complete:function(){e&&e.call()}}):(o.applyTransition(),!1===o.options.vertical?t[o.animType]="translate3d("+i+"px, 0px, 0px)":t[o.animType]="translate3d(0px,"+i+"px, 0px)",o.$slideTrack.css(t),e&&setTimeout(function(){o.disableTransition(),e.call()},o.options.speed))},o.prototype.applyTransition=function(i){var e=this,t={};!1===e.options.fade?t[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:t[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},o.prototype.autoPlay=function(){var i=this;i.autoPlayTimer&&clearInterval(i.autoPlayTimer),i.slideCount>i.options.slidesToShow&&!0!==i.paused&&(i.autoPlayTimer=setInterval(i.autoPlayIterator,i.options.autoplaySpeed))},o.prototype.autLine truncated
@@ -0,0 +1,55 @@
[08-Nov-2025 01:43:33 UTC] PHP Fatal error: Uncaught Error: Call to undefined function plugin_dir_path() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php:10
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php(277): WooComposer->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php on line 10
[15-Nov-2025 02:56:13 UTC] PHP Fatal error: Uncaught Error: Call to undefined function plugin_dir_path() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php:10
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php(277): WooComposer->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php on line 10
[11-Dec-2025 17:24:30 UTC] PHP Fatal error: Uncaught Error: Call to undefined function plugin_dir_path() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php:10
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php(277): WooComposer->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php on line 10
[22-Feb-2026 00:18:23 UTC] PHP Fatal error: Uncaught Error: Call to undefined function plugin_dir_path() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php:10
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php(277): WooComposer->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php on line 10
[20-May-2026 08:04:21 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function plugin_dir_path() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php:10
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php(277): WooComposer->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php on line 10
[15-Jul-2026 14:28:29 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function plugin_dir_path() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php:10
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php(277): WooComposer->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php on line 10
[16-Jul-2026 13:38:11 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function plugin_dir_path() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php:10
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php(277): WooComposer->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php on line 10
[21-Aug-2026 12:43:53 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function plugin_dir_path() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php:10
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php(277): WooComposer->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php on line 10
[22-Aug-2026 01:25:38 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function plugin_dir_path() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php:10
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php(277): WooComposer->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php on line 10
[24-Aug-2026 19:02:17 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function plugin_dir_path() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php:10
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php(277): WooComposer->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php on line 10
[25-Aug-2026 11:17:19 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function plugin_dir_path() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php:10
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php(277): WooComposer->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/woocomposer.php on line 10
@@ -0,0 +1,384 @@
<?php
function WooComposer_Loop_style01($atts,$element){
global $woocommerce;
$product_style = $display_elements = $quick_view_style = $img_animate = $text_align = $color_heading = $color_categories = $color_price = '';
$color_rating = $color_rating_bg = $color_quick_bg = $color_quick = $color_cart_bg = $color_cart = $color_product_desc = $advanced_opts = '';
$color_product_desc_bg = $size_title = $size_cat = $size_price = $color_on_sale = $color_on_sale_bg = $label_on_sale = $product_animation = '';
$disp_type = $category = $output = $product_style = $border_style = $border_color = $border_size = $border_radius = $lazy_images = $pagination = '';
$sale_price = $shortcode = $on_sale_alignment = $on_sale_style = $product_img_disp = '';
extract(shortcode_atts(array(
"disp_type" => "",
"category" => "",
"shortcode" => "",
"product_style" => "style01",
"display_elements" => "",
"quick_view_style" => "expandable",
"label_on_sale" => "Sale!",
"text_align" => "left",
"img_animate" => "rotate-clock",
"pagination" => "",
"color_heading" => "",
"color_categories" => "",
"color_price" => "",
"color_rating" => "",
"color_rating_bg" => "",
"color_quick_bg" => "",
"color_quick" => "",
"color_cart_bg" => "",
"color_on_sale_bg" => "",
"color_on_sale" => "",
"color_cart" => "",
"color_product_desc" => "",
"color_product_desc_bg" => "",
"size_title" => "",
"size_cat" => "",
"size_price" => "",
"border_style" => "",
"border_color" => "",
"border_size" => "",
"border_radius" => "",
"product_animation" => "",
"lazy_images" => "",
"advanced_opts" => "",
"sale_price" => "",
"on_sale_style" => "wcmp-sale-circle",
"on_sale_alignment" => "wcmp-sale-right",
"product_img_disp" => "single",
),$atts));
$output = $heading_style = $cat_style = $price_style = $cart_style = $cart_bg_style = $view_style = $view_bg_style = $rating_style = '';
$desc_style = $label_style = $on_sale = $class = $style = $border = $desc_style = $sale_price_size = $text_align_style = '';
$image_size = apply_filters( 'single_product_large_thumbnail_size', 'shop_single' );
$img_animate = 'wcmp-img-'.$img_animate;
if($sale_price !== ''){
$sale_price_size = 'font-size:'.$sale_price.'px;';
}
if($border_style !== ''){
$border .= 'border:'.$border_size.'px '.$border_style.' '.$border_color.';';
$border .= 'border-radius:'.$border_radius.'px;';
}
if($color_product_desc_bg !== ''){
$desc_style .= 'background:'.$color_product_desc_bg.';';
}
if($color_product_desc !== ''){
$desc_style .= 'color:'.$color_product_desc.';';
}
$columns = 3;
$display_type = $disp_type;
if($color_heading !== ""){
$heading_style = 'color:'.$color_heading.';';
}
if($size_title !== ""){
$heading_style .= 'font-size:'.$size_title.'px;';
}
if($color_categories !== ""){
$cat_style = 'color:'.$color_categories.';';
}
if($size_cat !== ""){
$cat_style .= 'font-size:'.$size_cat.'px;';
}
if($color_price !== ""){
$price_style = 'color:'.$color_price.';';
}
if($size_price !== ""){
$price_style .= 'font-size:'.$size_price.'px;';
}
if($color_rating !== ""){
$rating_style .= 'color:'.$color_rating.';';
}
if($color_rating_bg !== ""){
$rating_style .= 'background:'.$color_rating_bg.';';
}
if($color_quick_bg !== ""){
$view_bg_style = 'background:'.$color_quick_bg.';';
}
if($color_quick !== ""){
$view_style = 'color:'.$color_quick.';';
}
if($color_cart_bg !== ""){
$cart_bg_style = 'background:'.$color_cart_bg.';';
}
if($color_cart !== ""){
$cart_style = 'color:'.$color_cart.';';
}
if($color_on_sale_bg !== ""){
$label_style = 'background:'.$color_on_sale_bg.';';
}
if($color_on_sale !== ""){
$label_style .= 'color:'.$color_on_sale.';';
}
$elemets = explode(",",$display_elements);
if($element == "grid"){
$paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1;
} else {
$paged = 1;
}
$post_count = '12';
/* $output .= do_shortcode($content); */
if($shortcode !== ''){
$new_shortcode = rawurldecode( base64_decode( strip_tags( $shortcode ) ) );
}
$pattern = get_shortcode_regex();
$shortcode_str = $short_atts = '';
preg_match_all("/".$pattern."/",$new_shortcode,$matches);
$shortcode_str = str_replace('"','',str_replace(" ","&",trim($matches[3][0])));
parse_str($shortcode_str, $short_atts);//explode("&",$shortcode_str);
if(isset($matches[2][0])): $display_type = $matches[2][0]; else: $display_type = ''; endif;
if(!isset($columns)): $columns = '4'; endif;
if(isset($per_page)): $post_count = $per_page; endif;
if(isset($number)): $post_count = $number; endif;
if(!isset($order)): $order = 'asc'; endif;
if(!isset($orderby)): $orderby = 'date'; endif;
if(!isset($category)): $category = ''; endif;
if(!isset($ids)): $ids = ''; endif;
if($ids){
$ids = explode( ',', $ids );
$ids = array_map( 'trim', $ids );
}
$col = $columns;
if($columns == "2") $columns = 6;
elseif($columns == "3") $columns = 4;
elseif($columns == "4") $columns = 3;
$meta_query = '';
if($display_type == "recent_products"){
$meta_query = WC()->query->get_meta_query();
}
if($display_type == "featured_products"){
$meta_query = array(
array(
'key' => '_visibility',
'value' => array('catalog', 'visible'),
'compare' => 'IN'
),
array(
'key' => '_featured',
'value' => 'yes'
)
);
}
if($display_type == "top_rated_products"){
add_filter( 'posts_clauses', array( WC()->query, 'order_by_rating_post_clauses' ) );
$meta_query = WC()->query->get_meta_query();
}
$args = array(
'post_type' => 'product',
'post_status' => 'publish',
'ignore_sticky_posts' => 1,
'posts_per_page' => $post_count,
'orderby' => $orderby,
'order' => $order,
'paged' => $paged,
'meta_query' => $meta_query
);
if($display_type == "sale_products"){
$product_ids_on_sale = woocommerce_get_product_ids_on_sale();
$meta_query = array();
$meta_query[] = $woocommerce->query->visibility_meta_query();
$meta_query[] = $woocommerce->query->stock_status_meta_query();
$args['meta_query'] = $meta_query;
$args['post__in'] = $product_ids_on_sale;
}
if($display_type == "best_selling_products"){
$args['meta_key'] = 'total_sales';
$args['orderby'] = 'meta_value_num';
$args['meta_query'] = array(
array(
'key' => '_visibility',
'value' => array( 'catalog', 'visible' ),
'compare' => 'IN'
)
);
}
if($display_type == "product_category"){
$args['tax_query'] = array(
array(
'taxonomy' => 'product_cat',
'terms' => array( esc_attr( $category ) ),
'field' => 'slug',
'operator' => 'IN'
)
);
}
if($display_type == "product_categories"){
$args['tax_query'] = array(
array(
'taxonomy' => 'product_cat',
'terms' => $ids,
'field' => 'term_id',
'operator' => 'IN'
)
);
}
$test = '';
if(vc_is_inline()){
$test = "wcmp_vc_inline";
}
if($product_animation == ''){
$product_animation = 'no-animation';
} else {
$style .= 'opacity:1;';
}
if($element == "grid"){
$class = 'vc_span'.$columns.' ';
}
$output .= '<div class="woocomposer '.$test.'" data-columns="'.$col.'">';
$query = new WP_Query( $args );
if($query->have_posts()):
while ( $query->have_posts() ) : $query->the_post();
$product_id = get_the_ID();
$uid = uniqid();
$output .= '<div id="product-'.$uid.'" style="'.$style.'" class="'.$class.' wpb_column column_container wooproduct" data-animation="animated '.$product_animation.'">';
if($element == 'carousel'){
$output .= '<div class="wcmp-carousel-item">';
}
$product_title = get_the_title($product_id);
$post = get_post($product_id);
$product_desc = get_post($product_id)->post_excerpt;
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
$product = new WC_Product( $product_id );
$attachment_ids = $product->get_gallery_attachment_ids();
$price = $product->get_price_html();
$rating = $product->get_rating_html();
$attributes = $product->get_attributes();
$stock = $product->is_in_stock() ? 'InStock' : 'OutOfStock';
if ( $product->is_on_sale() ) :
$on_sale = apply_filters( 'woocommerce_sale_flash', $label_on_sale , $post, $product );
else:
$on_sale = '';
endif;
if($quick_view_style == "expandable"){
$quick_view_class = 'quick-view-loop';
} else {
$quick_view_class = 'quick-view-loop-popup';
}
$cat_count = sizeof( get_the_terms( $product_id, 'product_cat' ) );
$tag_count = sizeof( get_the_terms( $product_id, 'product_tag' ) );
$categories = $product->get_categories(', ','<span class="posted_in">'._n('','',$cat_count,'woocommerce').' ','.</span>');
$tags = $product->get_tags( ', ','<span class="tagged_as">'._n('', '',$tag_count, 'woocommerce').' ', '.</span>' );
$output .= "\n".'<div class="wcmp-product woocommerce wcmp-'.$product_style.' '.$img_animate.'" style="'.$border.' '.$desc_style.'">';
$output .= "\n\t".'<div class="wcmp-product-image">';
if(empty($attachment_ids) && count($attachment_ids) > 1 && $product_img_disp == "carousel"){
$uniqid = uniqid();
$output .= '<div class="wcmp-single-image-carousel carousel-in-loop">';
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
if($lazy_images == "enable"){
$src = UAVC_URL.'assets/img/loader.gif';
} else {
$src = $product_img[0];
}
$output .= '<div><div class="wcmp-image"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></div></div>';
foreach($attachment_ids as $attachment_id){
$product_img = wp_get_attachment_image_src( $attachment_id,$image_size);
if($lazy_images == "enable"){
$src = UAVC_URL.'assets/img/loader.gif';
} else {
$src = $product_img[0];
}
$output .= '<div><div class="wcmp-image"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></div></div>';
}
$output .= '</div>';
} else {
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
if($lazy_images == "enable"){
$src = UAVC_URL.'assets/img/loader.gif';
} else {
$src = $product_img[0];
}
$output .= '<a href="'.get_permalink($product_id).'"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></a>';
}
if($stock == 'OutOfStock'){
$output .= "\n".'<span class="wcmp-out-stock">'.__('Out Of Stock!','woocomposer').'</span>';
}
if($on_sale !== ''){
$output .= "\n".'<div class="wcmp-onsale '.$on_sale_alignment.' '.$on_sale_style.'"><span class="onsale" style="'.$label_style.' '.$sale_price_size.'">'.$on_sale.'</span></div>';
}
$output .= '<div class="wcmp-add-to-cart" style="'.$cart_bg_style.'"><a style="'.$cart_style.'" title="Add to Cart" href="?add-to-cart='.$product_id.'" rel="nofollow" data-product_id="'.$product_id.'" data-product_sku="" class="add_to_cart_button product_type_simple"><i class="wooicon-cart4"></i></a></div>';
if(in_array("quick",$elemets)){
$output .= '<div class="wcmp-quick-view '.$quick_view_class.'" style="'.$view_bg_style.'"><a style="'.$view_style.'" title="Quick View" href="'.get_permalink($product_id).'"><i class="wooicon-plus32"></i></a></div>';
}
if(in_array("reviews",$elemets)){
$output .= "\n".'<div class="wcmp-star-ratings" style="'.$rating_style.'">'.$rating.'</div>';
}
$output .= '</div>';
if($text_align !== ''){
$text_align_style = 'text-align:'.$text_align.';';
}
$output .= "\n\t".'<div class="wcmp-product-desc" style="'.$text_align_style.'">';
$output .= '<a href="'.get_permalink($product_id).'">';
$output .= "\n\t\t".'<h2 style="'.$heading_style.'">'.$product_title.'</h2>';
$output .= '</a>';
if(in_array("category",$elemets)){
$output .= '<h5 style="'.$cat_style.'">';
if($categories !== ''){
$output .= $categories;
$output .= $tags;
}
$output .= '</h5>';
}
$output .= "\n\t\t".'<div class="wcmp-price"><span class="price" style="'.$price_style.'">'.$price.'</span></div>';
if(in_array("description",$elemets)){
$output .= "\n\t\t".'<div class="wcmp-product-content" style="'.$desc_style.'">'.$product_desc.'</div>';
}
$output .= "\n\t".'</div>';
$output .= "\n\t".'</div>';
if(in_array("quick",$elemets)){
$output .= '<div class="wcmp-quick-view-wrapper" data-columns="'.$col.'">';
if($quick_view_style !== "expandable"){
$output .= '<div class="wcmp-quick-view-wrapper woocommerce product">';
$output .= '<div class="wcmp-close-single"><i class="wooicon-cross2"></i></div>';
}
if(!empty($attachment_ids) && count($attachment_ids) > 1){
$uniqid = uniqid();
$output .= '<div class="slider wcmp-image-carousel wcmp-carousel-'.$uniqid.'" data-class="wcmp-carousel-'.$uniqid.'">';
foreach($attachment_ids as $attachment_id){
$product_img = wp_get_attachment_image_src( $attachment_id,$image_size);
if($lazy_images == "enable"){
$src = UAVC_URL.'assets/img/loader.gif';
} else {
$src = $product_img[0];
}
$output .= '<div><div class="wcmp-image"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></div></div>';
}
$output .= '</div>';
} else {
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
if($lazy_images == "enable"){
$src = UAVC_URL.'assets/img/loader.gif';
} else {
$src = $product_img[0];
}
$output .= '<div class="wcmp-single-image wcmp-quickview-img images"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></div>';
}
if($quick_view_style !== "expandable"){
$output .= '<div class="wcmp-product-content-single">';
} else {
$output .= '<div class="wcmp-product-content">';
}
ob_start();
do_action( 'woocommerce_single_product_summary' );
$output .= ob_get_clean();
$output .= '</div>';
$output .= '<div class="clear"></div>';
if($quick_view_style !== "expandable"){
$output .= '</div>';
}
$output .= '</div>';
}
$output .= "\n".'</div>';
if($element == 'carousel'){
$output .= "\n\t".'</div>';
}
endwhile;
endif;
if($pagination == "enable"){
$output .= '<div class="wcmp-paginate">';
$output .= woocomposer_pagination($query->max_num_pages);
$output .= '</div>';
}
$output .= '</div>';
if($display_type == "top_rated_products"){
remove_filter( 'posts_clauses', array( WC()->query, 'order_by_rating_post_clauses' ) );
}
wp_reset_postdata();
return $output;
}
@@ -0,0 +1,396 @@
<?php
function WooComposer_Loop_style02($atts,$element){
$product_style = $display_elements = $quick_view_style = $img_animate = $text_align = $color_heading = $color_categories = $color_price = '';
$color_rating = $color_rating_bg = $color_quick_bg = $color_quick = $color_cart_bg = $color_cart = $color_product_desc = $advanced_opts = '';
$color_product_desc_bg = $size_title = $size_cat = $size_price = $color_on_sale = $color_on_sale_bg = $label_on_sale = $product_animation = '';
$disp_type = $category = $output = $product_style = $border_style = $border_color = $border_size = $border_radius = $lazy_images = $pagination = '';
$sale_price = $shortcode = $on_sale_alignment = $on_sale_style = $product_img_disp = '';
extract(shortcode_atts(array(
"disp_type" => "",
"category" => "",
"shortcode" => "",
"product_style" => "style01",
"display_elements" => "",
"quick_view_style" => "expandable",
"label_on_sale" => "Sale!",
"text_align" => "left",
"img_animate" => "rotate-clock",
"pagination" => "",
"color_heading" => "",
"color_categories" => "",
"color_price" => "",
"color_rating" => "",
"color_rating_bg" => "",
"color_quick_bg" => "",
"color_quick" => "",
"color_cart_bg" => "",
"color_on_sale_bg" => "",
"color_on_sale" => "",
"color_cart" => "",
"color_product_desc" => "",
"color_product_desc_bg" => "",
"size_title" => "",
"size_cat" => "",
"size_price" => "",
"border_style" => "",
"border_color" => "",
"border_size" => "",
"border_radius" => "",
"product_animation" => "",
"lazy_images" => "",
"advanced_opts" => "",
"sale_price" => "",
"on_sale_style" => "wcmp-sale-circle",
"on_sale_alignment" => "wcmp-sale-right",
"product_img_disp" => "single",
),$atts));
$output = $heading_style = $cat_style = $price_style = $cart_style = $cart_bg_style = $view_style = $view_bg_style = $rating_style = '';
$desc_style = $label_style = $on_sale = $class = $style = $border = $desc_style = $sale_price_size = '';
$infinite = $autoplay = $dots = 'false';
$image_size = apply_filters( 'single_product_large_thumbnail_size', 'shop_single' );
if($sale_price !== ''){
$sale_price_size = 'font-size:'.$sale_price.'px;';
}
if($border_style !== ''){
$border .= 'border:'.$border_size.'px '.$border_style.' '.$border_color.';';
$border .= 'border-radius:'.$border_radius.'px;';
}
if($color_product_desc_bg !== ''){
$desc_style .= 'background:'.$color_product_desc_bg.';';
}
if($color_product_desc !== ''){
$desc_style .= 'color:'.$color_product_desc.';';
}
$img_animate = 'wcmp-img-'.$img_animate;
$advanced_opts = explode(",", $advanced_opts);
if(in_array("infinite",$advanced_opts)){
$infinite = 'true';
}
if(in_array("autoplay",$advanced_opts)){
$autoplay = 'true';
}
if(in_array("dots",$advanced_opts)){
$dots = 'true';
}
$display_type = $disp_type;
$columns = 3;
if($color_heading !== ""){
$heading_style = 'color:'.$color_heading.';';
}
if($size_title !== ""){
$heading_style .= 'font-size:'.$size_title.'px;';
}
if($color_categories !== ""){
$cat_style = 'color:'.$color_categories.';';
}
if($size_cat !== ""){
$cat_style .= 'font-size:'.$size_cat.'px;';
}
if($color_price !== ""){
$price_style = 'color:'.$color_price.';';
}
if($size_price !== ""){
$price_style .= 'font-size:'.$size_price.'px;';
}
if($color_rating !== ""){
$rating_style .= 'color:'.$color_rating.';';
}
if($color_rating_bg !== ""){
$rating_style .= 'background:'.$color_rating_bg.';';
}
if($color_quick_bg !== ""){
$view_bg_style = 'background:'.$color_quick_bg.';';
}
if($color_quick !== ""){
$view_style = 'color:'.$color_quick.';';
}
if($color_cart_bg !== ""){
$cart_bg_style = 'background:'.$color_cart_bg.';';
}
if($color_cart !== ""){
$cart_style = 'color:'.$color_cart.';';
}
if($color_on_sale_bg !== ""){
$label_style = 'background:'.$color_on_sale_bg.';';
}
if($color_on_sale !== ""){
$label_style .= 'color:'.$color_on_sale.';';
}
$elemets = explode(",",$display_elements);
$paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1;
$post_count = '12';
/* $output .= do_shortcode($content); */
if($shortcode !== ''){
$new_shortcode = rawurldecode( base64_decode( strip_tags( $shortcode ) ) );
}
$pattern = get_shortcode_regex();
$shortcode_str = $short_atts = $text_align_style = '';
preg_match_all("/".$pattern."/",$new_shortcode,$matches);
$shortcode_str = str_replace('"','',str_replace(" ","&",trim($matches[3][0])));
parse_str($shortcode_str, $short_atts);//explode("&",$shortcode_str);
if(isset($matches[2][0])): $display_type = $matches[2][0]; else: $display_type = ''; endif;
if(!isset($columns)): $columns = '4'; endif;
if(isset($per_page)): $post_count = $per_page; endif;
if(isset($number)): $post_count = $number; endif;
if(!isset($order)): $order = 'asc'; endif;
if(!isset($orderby)): $orderby = 'date'; endif;
if(!isset($category)): $category = ''; endif;
if(!isset($ids)): $ids = ''; endif;
if($ids){
$ids = explode( ',', $ids );
$ids = array_map( 'trim', $ids );
}
$col = $columns;
if($columns == "2") $columns = 6;
elseif($columns == "3") $columns = 4;
elseif($columns == "4") $columns = 3;
$meta_query = '';
if($display_type == "recent_products"){
$meta_query = WC()->query->get_meta_query();
}
if($display_type == "featured_products"){
$meta_query = array(
array(
'key' => '_visibility',
'value' => array('catalog', 'visible'),
'compare' => 'IN'
),
array(
'key' => '_featured',
'value' => 'yes'
)
);
}
if($display_type == "top_rated_products"){
add_filter( 'posts_clauses', array( WC()->query, 'order_by_rating_post_clauses' ) );
$meta_query = WC()->query->get_meta_query();
}
$args = array(
'post_type' => 'product',
'post_status' => 'publish',
'ignore_sticky_posts' => 1,
'posts_per_page' => $post_count,
'orderby' => $orderby,
'order' => $order,
'paged' => $paged,
'meta_query' => $meta_query
);
if($display_type == "sale_products"){
$product_ids_on_sale = woocommerce_get_product_ids_on_sale();
$meta_query = array();
$meta_query[] = $woocommerce->query->visibility_meta_query();
$meta_query[] = $woocommerce->query->stock_status_meta_query();
$args['meta_query'] = $meta_query;
$args['post__in'] = $product_ids_on_sale;
}
if($display_type == "best_selling_products"){
$args['meta_key'] = 'total_sales';
$args['orderby'] = 'meta_value_num';
$args['meta_query'] = array(
array(
'key' => '_visibility',
'value' => array( 'catalog', 'visible' ),
'compare' => 'IN'
)
);
}
if($display_type == "product_category"){
$args['tax_query'] = array(
array(
'taxonomy' => 'product_cat',
'terms' => array( esc_attr( $category ) ),
'field' => 'slug',
'operator' => 'IN'
)
);
}
if($display_type == "product_categories"){
$args['tax_query'] = array(
array(
'taxonomy' => 'product_cat',
'terms' => $ids,
'field' => 'term_id',
'operator' => 'IN'
)
);
}
if($product_animation == ''){
$product_animation = 'no-animation';
}
if($element == "grid"){
$class = 'vc_span'.$columns.' ';
}
$output .= '<div class="woocomposer" data-columns="'.$col.'">';
$query = new WP_Query( $args );
if($query->have_posts()):
while ( $query->have_posts() ) : $query->the_post();
$product_id = get_the_ID();
$uid = uniqid();
$output .= '<div id="product-'.$uid.'" class="'.$class.' wpb_column column_container wooproduct" data-animation="animated '.$product_animation.'">';
if($element == 'carousel'){
$output .= '<div class="wcmp-carousel-item">';
}
$product_title = get_the_title($product_id);
$post = get_post($product_id);
$product_desc = get_post($product_id)->post_excerpt;
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
$product = new WC_Product( $product_id );
$attachment_ids = $product->get_gallery_attachment_ids();
$price = $product->get_price_html();
$rating = $product->get_rating_html();
$attributes = $product->get_attributes();
$stock = $product->is_in_stock() ? 'InStock' : 'OutOfStock';
if ( $product->is_on_sale() ) :
$on_sale = apply_filters( 'woocommerce_sale_flash', $label_on_sale , $post, $product );
else:
$on_sale = '';
endif;
$cat_count = sizeof( get_the_terms( $product_id, 'product_cat' ) );
$tag_count = sizeof( get_the_terms( $product_id, 'product_tag' ) );
$categories = $product->get_categories(', ','<span class="posted_in">'._n('','',$cat_count,'woocommerce').' ','.</span>');
$tags = $product->get_tags( ', ','<span class="tagged_as">'._n('', '',$tag_count, 'woocommerce').' ', '.</span>' );
$output .= "\n".'<div class="wcmp-product woocommerce wcmp-'.$product_style.' '.$img_animate.'" style="'.$border.' '.$desc_style.'">';
$output .= "\n\t".'<div class="wcmp-product-image">';
if(empty($attachment_ids) && count($attachment_ids) > 1 && $product_img_disp == "carousel"){
$uniqid = uniqid();
$output .= '<div class="wcmp-single-image-carousel carousel-in-loop">';
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
if($lazy_images == "enable"){
$src = UAVC_URL.'assets/img/loader.gif';
} else {
$src = $product_img[0];
}
$output .= '<div><div class="wcmp-image"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></div></div>';
foreach($attachment_ids as $attachment_id){
$product_img = wp_get_attachment_image_src( $attachment_id,$image_size);
$output .= '<div><div class="wcmp-image"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></div></div>';
}
$output .= '</div>';
} else {
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
if($lazy_images == "enable"){
$src = UAVC_URL.'assets/img/loader.gif';
} else {
$src = $product_img[0];
}
$output .= '<a href="'.get_permalink($product_id).'"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></a>';
}
if($quick_view_style == "expandable"){
$quick_view_class = 'quick-view-loop';
} else {
$quick_view_class = 'quick-view-loop-popup';
}
if($on_sale !== ''){
$output .= "\n".'<div class="wcmp-onsale '.$on_sale_alignment.' '.$on_sale_style.'"><span class="onsale" style="'.$label_style.' '.$sale_price_size.'">'.$on_sale.'</span></div>';
}
if($stock == 'OutOfStock'){
$output .= "\n".'<span class="wcmp-out-stock">'.__('Out Of Stock!','woocomposer').'</span>';
}
$output .= '<div class="wcmp-add-to-cart" style="'.$cart_bg_style.'"><a style="'.$cart_style.'" title="Add to Cart" href="?add-to-cart='.$product_id.'" rel="nofollow" data-product_id="'.$product_id.'" data-product_sku="" class="add_to_cart_button product_type_simple"><i class="wooicon-cart4"></i></a></div>';
if(in_array("quick",$elemets)){
$output .= '<div class="wcmp-quick-view '.$quick_view_class.'" style="'.$view_bg_style.'"><a style="'.$view_style.'" title="Quick View" href="'.get_permalink($product_id).'"><i class="wooicon-plus32"></i></a></div>';
}
if(in_array("reviews",$elemets)){
$output .= "\n".'<div class="wcmp-star-ratings" style="'.$rating_style.'">'.$rating.'</div>';
}
$output .= '</div>';
if($text_align !== ''){
$text_align_style = 'text-align:'.$text_align.';';
}
$output .= "\n\t".'<div class="wcmp-product-desc" style="'.$text_align_style.'">';
$output .= '<a href="'.get_permalink($product_id).'">';
$output .= "\n\t\t".'<h2 style="'.$heading_style.'">'.$product_title.'</h2>';
$output .= '</a>';
if(in_array("category",$elemets)){
$output .= '<h5 style="'.$cat_style.'">';
if($categories !== ''){
$output .= $categories;
$output .= $tags;
}
$output .= '</h5>';
}
$output .= "\n\t\t".'<div class="wcmp-price"><span class="price" style="'.$price_style.'">'.$price.'</span></div>';
if(in_array("description",$elemets)){
$output .= "\n\t\t".'<div class="wcmp-product-content" style="'.$desc_style.'">'.$product_desc.'</div>';
}
$output .= "\n\t".'</div>';
$output .= "\n\t".'</div>';
if(in_array("quick",$elemets)){
$output .= '<div class="wcmp-quick-view-wrapper" data-columns="'.$col.'">';
if($quick_view_style !== "expandable"){
$output .= '<div class="wcmp-quick-view-wrapper woocommerce product">';
$output .= '<div class="wcmp-close-single"><i class="wooicon-cross2"></i></div>';
}
if(!empty($attachment_ids) && count($attachment_ids) > 1){
$uniqid = uniqid();
$output .= '<div class="slider wcmp-image-carousel wcmp-carousel-'.$uniqid.'" data-class="wcmp-carousel-'.$uniqid.'">';
foreach($attachment_ids as $attachment_id){
$product_img = wp_get_attachment_image_src( $attachment_id,$image_size);
if($lazy_images == "enable"){
$src = UAVC_URL.'assets/img/loader.gif';
} else {
$src = $product_img[0];
}
$output .= '<div><div class="wcmp-image"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></div></div>';
}
$output .= '</div>';
} else {
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
if($lazy_images == "enable"){
$src = UAVC_URL.'assets/img/loader.gif';
} else {
$src = $product_img[0];
}
$output .= '<div class="wcmp-single-image wcmp-quickview-img images"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></div>';
}
if($quick_view_style !== "expandable"){
$output .= '<div class="wcmp-product-content-single">';
} else {
$output .= '<div class="wcmp-product-content">';
}
ob_start();
do_action( 'woocommerce_single_product_summary' );
$output .= ob_get_clean();
$output .= '</div>';
$output .= '<div class="clear"></div>';
if($quick_view_style !== "expandable"){
$output .= '</div>';
}
$output .= '</div>';
}
$output .= "\n".'</div>';
if($element == 'carousel'){
$output .= "\n\t".'</div>';
}
endwhile;
endif;
if($pagination == "enable"){
$output .= '<div class="woocomposer-paginate">';
$output .= woocomposer_pagination($query->max_num_pages);
$output .= '</div>';
}
$output .= '</div>';
if($display_type == "top_rated_products"){
remove_filter( 'posts_clauses', array( WC()->query, 'order_by_rating_post_clauses' ) );
}
wp_reset_postdata();
return $output;
}
@@ -0,0 +1,405 @@
<?php
function WooComposer_Loop_style03($atts,$element){
$product_style = $display_elements = $quick_view_style = $img_animate = $text_align = $color_heading = $color_categories = $color_price = '';
$color_rating = $color_rating_bg = $color_quick_bg = $color_quick = $color_cart_bg = $color_cart = $color_product_desc = $advanced_opts = '';
$color_product_desc_bg = $size_title = $size_cat = $size_price = $color_on_sale = $color_on_sale_bg = $label_on_sale = $product_animation = '';
$disp_type = $category = $output = $product_style = $border_style = $border_color = $border_size = $border_radius = $lazy_images = $pagination = '';
$sale_price = $shortcode = $on_sale_alignment = $on_sale_style = $product_img_disp = '';
extract(shortcode_atts(array(
"disp_type" => "",
"category" => "",
"shortcode" => "",
"product_style" => "style01",
"display_elements" => "",
"quick_view_style" => "expandable",
"label_on_sale" => "Sale!",
"text_align" => "left",
"img_animate" => "rotate-clock",
"pagination" => "",
"color_heading" => "",
"color_categories" => "",
"color_price" => "",
"color_rating" => "",
"color_rating_bg" => "",
"color_quick_bg" => "",
"color_quick" => "",
"color_cart_bg" => "",
"color_on_sale_bg" => "",
"color_on_sale" => "",
"color_cart" => "",
"color_product_desc" => "",
"color_product_desc_bg" => "",
"size_title" => "",
"size_cat" => "",
"size_price" => "",
"border_style" => "",
"border_color" => "",
"border_size" => "",
"border_radius" => "",
"product_animation" => "",
"lazy_images" => "",
"advanced_opts" => "",
"sale_price" => "",
"on_sale_style" => "wcmp-sale-circle",
"on_sale_alignment" => "wcmp-sale-right",
"product_img_disp" => "single",
),$atts));
$output = $heading_style = $cat_style = $price_style = $cart_style = $cart_bg_style = $view_style = $view_bg_style = $rating_style = '';
$desc_style = $label_style = $on_sale = $class = $style = $border = $desc_style = $sale_price_size = $text_align_style = '';
$infinite = $autoplay = $dots = 'false';
$image_size = apply_filters( 'single_product_large_thumbnail_size', 'shop_single' );
if($sale_price !== ''){
$sale_price_size = 'font-size:'.$sale_price.'px;';
}
if($border_style !== ''){
$border .= 'border:'.$border_size.'px '.$border_style.' '.$border_color.';';
$border .= 'border-radius:'.$border_radius.'px;';
}
if($color_product_desc_bg !== ''){
$desc_style .= 'background:'.$color_product_desc_bg.';';
}
if($color_product_desc !== ''){
$desc_style .= 'color:'.$color_product_desc.';';
}
$img_animate = 'wcmp-img-'.$img_animate;
$advanced_opts = explode(",", $advanced_opts);
if(in_array("infinite",$advanced_opts)){
$infinite = 'true';
}
if(in_array("autoplay",$advanced_opts)){
$autoplay = 'true';
}
if(in_array("dots",$advanced_opts)){
$dots = 'true';
}
$display_type = $disp_type;
$columns = 3;
if($color_heading !== ""){
$heading_style = 'color:'.$color_heading.';';
}
if($size_title !== ""){
$heading_style .= 'font-size:'.$size_title.'px;';
}
if($color_categories !== ""){
$cat_style = 'color:'.$color_categories.';';
}
if($size_cat !== ""){
$cat_style .= 'font-size:'.$size_cat.'px;';
}
if($color_price !== ""){
$price_style = 'color:'.$color_price.';';
}
if($size_price !== ""){
$price_style .= 'font-size:'.$size_price.'px;';
}
if($color_rating !== ""){
$rating_style .= 'color:'.$color_rating.';';
}
if($color_rating_bg !== ""){
$rating_style .= 'background:'.$color_rating_bg.';';
}
if($color_quick_bg !== ""){
$view_bg_style = 'background:'.$color_quick_bg.';';
}
if($color_quick !== ""){
$view_style = 'color:'.$color_quick.';';
}
if($color_cart_bg !== ""){
$cart_bg_style = 'background:'.$color_cart_bg.';';
}
if($color_cart !== ""){
$cart_style = 'color:'.$color_cart.';';
}
if($color_on_sale_bg !== ""){
$label_style = 'background:'.$color_on_sale_bg.';';
}
if($color_on_sale !== ""){
$label_style .= 'color:'.$color_on_sale.';';
}
$elemets = explode(",",$display_elements);
$paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1;
$post_count = '12';
/* $output .= do_shortcode($content); */
if($shortcode !== ''){
$new_shortcode = rawurldecode( base64_decode( strip_tags( $shortcode ) ) );
}
$pattern = get_shortcode_regex();
$shortcode_str = $short_atts = '';
preg_match_all("/".$pattern."/",$new_shortcode,$matches);
$shortcode_str = str_replace('"','',str_replace(" ","&",trim($matches[3][0])));
parse_str($shortcode_str, $short_atts);//explode("&",$shortcode_str);
if(isset($matches[2][0])): $display_type = $matches[2][0]; else: $display_type = ''; endif;
if(!isset($columns)): $columns = '4'; endif;
if(isset($per_page)): $post_count = $per_page; endif;
if(isset($number)): $post_count = $number; endif;
if(!isset($order)): $order = 'asc'; endif;
if(!isset($orderby)): $orderby = 'date'; endif;
if(!isset($category)): $category = ''; endif;
if(!isset($ids)): $ids = ''; endif;
if($ids){
$ids = explode( ',', $ids );
$ids = array_map( 'trim', $ids );
}
$col = $columns;
if($columns == "2") $columns = 6;
elseif($columns == "3") $columns = 4;
elseif($columns == "4") $columns = 3;
$meta_query = '';
if($display_type == "recent_products"){
$meta_query = WC()->query->get_meta_query();
}
if($display_type == "featured_products"){
$meta_query = array(
array(
'key' => '_visibility',
'value' => array('catalog', 'visible'),
'compare' => 'IN'
),
array(
'key' => '_featured',
'value' => 'yes'
)
);
}
if($display_type == "top_rated_products"){
add_filter( 'posts_clauses', array( WC()->query, 'order_by_rating_post_clauses' ) );
$meta_query = WC()->query->get_meta_query();
}
$args = array(
'post_type' => 'product',
'post_status' => 'publish',
'ignore_sticky_posts' => 1,
'posts_per_page' => $post_count,
'orderby' => $orderby,
'order' => $order,
'paged' => $paged,
'meta_query' => $meta_query
);
if($display_type == "sale_products"){
$product_ids_on_sale = woocommerce_get_product_ids_on_sale();
$meta_query = array();
$meta_query[] = $woocommerce->query->visibility_meta_query();
$meta_query[] = $woocommerce->query->stock_status_meta_query();
$args['meta_query'] = $meta_query;
$args['post__in'] = $product_ids_on_sale;
}
if($display_type == "best_selling_products"){
$args['meta_key'] = 'total_sales';
$args['orderby'] = 'meta_value_num';
$args['meta_query'] = array(
array(
'key' => '_visibility',
'value' => array( 'catalog', 'visible' ),
'compare' => 'IN'
)
);
}
if($display_type == "product_category"){
$args['tax_query'] = array(
array(
'taxonomy' => 'product_cat',
'terms' => array( esc_attr( $category ) ),
'field' => 'slug',
'operator' => 'IN'
)
);
}
if($display_type == "product_categories"){
$args['tax_query'] = array(
array(
'taxonomy' => 'product_cat',
'terms' => $ids,
'field' => 'term_id',
'operator' => 'IN'
)
);
}
if($product_animation == ''){
$product_animation = 'no-animation';
}
if($element == "grid"){
$class = 'vc_span'.$columns.' ';
}
$output .= '<div class="woocomposer" data-columns="'.$col.'">';
$query = new WP_Query( $args );
if($query->have_posts()):
while ( $query->have_posts() ) : $query->the_post();
$product_id = get_the_ID();
$uid = uniqid();
$output .= '<div id="product-'.$uid.'" class="'.$class.' wpb_column column_container wooproduct" data-animation="animated '.$product_animation.'">';
if($element == 'carousel'){
$output .= '<div class="wcmp-carousel-item">';
}
$product_title = get_the_title($product_id);
$post = get_post($product_id);
$product_desc = get_post($product_id)->post_excerpt;
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
$product = new WC_Product( $product_id );
$attachment_ids = $product->get_gallery_attachment_ids();
$price = $product->get_price_html();
$rating = $product->get_rating_html();
$attributes = $product->get_attributes();
$stock = $product->is_in_stock() ? 'InStock' : 'OutOfStock';
if ( $product->is_on_sale() ) :
$on_sale = apply_filters( 'woocommerce_sale_flash', $label_on_sale , $post, $product );
else:
$on_sale = '';
endif;
$cat_count = sizeof( get_the_terms( $product_id, 'product_cat' ) );
$tag_count = sizeof( get_the_terms( $product_id, 'product_tag' ) );
if($quick_view_style == "expandable"){
$quick_view_class = 'quick-view-loop';
} else {
$quick_view_class = 'quick-view-loop-popup';
}
$categories = $product->get_categories(', ','<span class="posted_in">'._n('','',$cat_count,'woocommerce').' ','.</span>');
$tags = $product->get_tags( ', ','<span class="tagged_as">'._n('', '',$tag_count, 'woocommerce').' ', '.</span>' );
$output .= "\n".'<div class="wcmp-product woocommerce wcmp-'.$product_style.' '.$img_animate.'" style="'.$border.' '.$desc_style.'">';
$output .= "\n\t".'<div class="wcmp-product-image">';
if(empty($attachment_ids) && count($attachment_ids) > 1 && $product_img_disp == "carousel"){
$uniqid = uniqid();
$output .= '<div class="wcmp-single-image-carousel carousel-in-loop">';
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
if($lazy_images == "enable"){
$src = UAVC_URL.'assets/img/loader.gif';
} else {
$src = $product_img[0];
}
$output .= '<div><div class="wcmp-image"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></div></div>';
foreach($attachment_ids as $attachment_id){
$product_img = wp_get_attachment_image_src( $attachment_id,$image_size);
if($lazy_images == "enable"){
$src = UAVC_URL.'assets/img/loader.gif';
} else {
$src = $product_img[0];
}
$output .= '<div><div class="wcmp-image"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></div></div>';
}
$output .= '</div>';
} else {
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
if($lazy_images == "enable"){
$src = UAVC_URL.'assets/img/loader.gif';
} else {
$src = $product_img[0];
}
$output .= '<a href="'.get_permalink($product_id).'"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></a>';
}
if($on_sale !== ''){
$output .= "\n".'<div class="wcmp-onsale '.$on_sale_alignment.' '.$on_sale_style.'"><span class="onsale" style="'.$label_style.' '.$sale_price_size.'">'.$on_sale.'</span></div>';
}
if($stock == 'OutOfStock'){
$output .= "\n".'<span class="wcmp-out-stock">'.__('Out Of Stock!','woocomposer').'</span>';
}
$output .= '</div>';
if($text_align !== ''){
$text_align_style = 'text-align:'.$text_align.';';
}
$output .= "\n\t".'<div class="wcmp-product-desc" style="'.$text_align_style.'">';
$output .= '<a href="'.get_permalink($product_id).'">';
$output .= "\n\t\t".'<h2 style="'.$heading_style.'">'.$product_title.'</h2>';
$output .= '</a>';
if(in_array("category",$elemets)){
$output .= '<h5 style="'.$cat_style.'">';
if($categories !== ''){
$output .= $categories;
$output .= $tags;
}
$output .= '</h5>';
}
$output .= "\n\t\t".'<div class="wcmp-price"><span class="price" style="'.$price_style.'">'.$price.'</span></div>';
$output .= '<div class="wcmp-style3-cart-block">';/*Class Start wcmp-style3-cart-block*/
$output .= '<div class="wcmp-add-to-cart" style="'.$cart_bg_style.'"><a style="'.$cart_style.'" title="Add to Cart" href="?add-to-cart='.$product_id.'" rel="nofollow" data-product_id="'.$product_id.'" data-product_sku="" class="button add_to_cart_button product_type_simple">Add to Cart</a></div>';
if(in_array("reviews",$elemets)){
$output .= "\n".'<div class="wcmp-star-ratings" style="'.$rating_style.'">'.$rating.'</div>';
}
if(in_array("quick",$elemets)){
$output .= '<div class="wcmp-quick-view '.$quick_view_class.'" style="'.$view_bg_style.'"><a style="'.$view_style.'" title="Quick View" href="'.get_permalink($product_id).'"><i class="wooicon-plus32"></i></a></div>';
}
$output .= '</div>';/*Class End wcmp-style3-cart-block*/
if(in_array("description",$elemets)){
$output .= "\n\t\t".'<div class="wcmp-product-content" style="'.$desc_style.'">'.$product_desc.'</div>';
}
$output .= "\n\t".'</div>';
$output .= "\n\t".'</div>';
if(in_array("quick",$elemets)){
$output .= '<div class="wcmp-quick-view-wrapper" data-columns="'.$col.'">';
if($quick_view_style !== "expandable"){
$output .= '<div class="wcmp-quick-view-wrapper woocommerce product">';
$output .= '<div class="wcmp-close-single"><i class="wooicon-cross2"></i></div>';
}
if(!empty($attachment_ids) && count($attachment_ids) > 1){
$uniqid = uniqid();
$output .= '<div class="slider wcmp-image-carousel wcmp-carousel-'.$uniqid.'" data-class="wcmp-carousel-'.$uniqid.'">';
foreach($attachment_ids as $attachment_id){
$product_img = wp_get_attachment_image_src( $attachment_id,$image_size);
if($lazy_images == "enable"){
$src = UAVC_URL.'assets/img/loader.gif';
} else {
$src = $product_img[0];
}
$output .= '<div><div class="wcmp-image"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></div></div>';
}
$output .= '</div>';
} else {
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
if($lazy_images == "enable"){
$src = UAVC_URL.'assets/img/loader.gif';
} else {
$src = $product_img[0];
}
$output .= '<div class="wcmp-single-image wcmp-quickview-img images"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></div>';
}
if($quick_view_style !== "expandable"){
$output .= '<div class="wcmp-product-content-single">';
} else {
$output .= '<div class="wcmp-product-content">';
}
ob_start();
do_action( 'woocommerce_single_product_summary' );
$output .= ob_get_clean();
$output .= '</div>';
$output .= '<div class="clear"></div>';
if($quick_view_style !== "expandable"){
$output .= '</div>';
}
$output .= '</div>';
}
$output .= "\n".'</div>';
if($element == 'carousel'){
$output .= "\n\t".'</div>';
}
endwhile;
endif;
if($pagination == "enable"){
$output .= '<div class="woocomposer-paginate">';
$output .= woocomposer_pagination($query->max_num_pages);
$output .= '</div>';
}
$output .= '</div>';
if($display_type == "top_rated_products"){
remove_filter( 'posts_clauses', array( WC()->query, 'order_by_rating_post_clauses' ) );
}
wp_reset_postdata();
return $output;
}
@@ -0,0 +1,365 @@
<?php
function WooComposer_Loop_style04($atts,$element){
global $woocommerce;
$product_style = $display_elements = $quick_view_style = $img_animate = $text_align = $color_heading = $color_categories = $color_price = '';
$color_rating = $color_rating_bg = $color_quick_bg = $color_quick = $color_cart_bg = $color_cart = $color_product_desc = $advanced_opts = '';
$color_product_desc_bg = $size_title = $size_cat = $size_price = $color_on_sale = $color_on_sale_bg = $label_on_sale = $product_animation = '';
$disp_type = $category = $output = $product_style = $border_style = $border_color = $border_size = $border_radius = $lazy_images = $pagination = '';
$sale_price = $shortcode = $on_sale_alignment = $on_sale_style = $product_img_disp = '';
extract(shortcode_atts(array(
"disp_type" => "",
"category" => "",
"shortcode" => "",
"product_style" => "style01",
"display_elements" => "",
"quick_view_style" => "expandable",
"label_on_sale" => "Sale!",
"text_align" => "left",
"img_animate" => "rotate-clock",
"pagination" => "",
"color_heading" => "",
"color_categories" => "",
"color_price" => "",
"color_rating" => "",
"color_rating_bg" => "",
"color_quick_bg" => "",
"color_quick" => "",
"color_cart_bg" => "",
"color_on_sale_bg" => "",
"color_on_sale" => "",
"color_cart" => "",
"color_product_desc" => "",
"color_product_desc_bg" => "",
"size_title" => "",
"size_cat" => "",
"size_price" => "",
"border_style" => "",
"border_color" => "",
"border_size" => "",
"border_radius" => "",
"product_animation" => "",
"lazy_images" => "",
"advanced_opts" => "",
"sale_price" => "",
"on_sale_style" => "wcmp-sale-circle",
"on_sale_alignment" => "wcmp-sale-right",
"product_img_disp" => "single",
),$atts));
$output = $heading_style = $cat_style = $price_style = $cart_style = $cart_bg_style = $view_style = $view_bg_style = $rating_style = '';
$desc_style = $label_style = $on_sale = $class = $style = $border = $desc_style = $sale_price_size = '';
$image_size = apply_filters( 'single_product_large_thumbnail_size', 'shop_single' );
$img_animate = 'wcmp-img-'.$img_animate;
if($sale_price !== ''){
$sale_price_size = 'font-size:'.$sale_price.'px;';
}
if($border_style !== ''){
$border .= 'border:'.$border_size.'px '.$border_style.' '.$border_color.';';
$border .= 'border-radius:'.$border_radius.'px;';
}
if($color_product_desc_bg !== ''){
$desc_style .= 'background:'.$color_product_desc_bg.';';
}
if($color_product_desc !== ''){
$desc_style .= 'color:'.$color_product_desc.';';
}
$columns = 3;
$display_type = $disp_type;
if($color_heading !== ""){
$heading_style = 'color:'.$color_heading.';';
}
if($size_title !== ""){
$heading_style .= 'font-size:'.$size_title.'px;';
}
if($color_categories !== ""){
$cat_style = 'color:'.$color_categories.';';
}
if($size_cat !== ""){
$cat_style .= 'font-size:'.$size_cat.'px;';
}
if($color_price !== ""){
$price_style = 'color:'.$color_price.';';
}
if($size_price !== ""){
$price_style .= 'font-size:'.$size_price.'px;';
}
if($color_rating !== ""){
$rating_style .= 'color:'.$color_rating.';';
}
if($color_rating_bg !== ""){
$rating_style .= 'background:'.$color_rating_bg.';';
}
if($color_quick_bg !== ""){
$view_bg_style = 'background:'.$color_quick_bg.';';
}
if($color_quick !== ""){
$view_style = 'color:'.$color_quick.';';
}
if($color_cart_bg !== ""){
$cart_bg_style = 'background:'.$color_cart_bg.';';
}
if($color_cart !== ""){
$cart_style = 'color:'.$color_cart.';';
}
if($color_on_sale_bg !== ""){
$label_style = 'background:'.$color_on_sale_bg.';';
}
if($color_on_sale !== ""){
$label_style .= 'color:'.$color_on_sale.';';
}
$elemets = explode(",",$display_elements);
if($element == "grid"){
$paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1;
} else {
$paged = 1;
}
$post_count = '12';
/* $output .= do_shortcode($content); */
if($shortcode !== ''){
$new_shortcode = rawurldecode( base64_decode( strip_tags( $shortcode ) ) );
}
$pattern = get_shortcode_regex();
$shortcode_str = $short_atts = '';
preg_match_all("/".$pattern."/",$new_shortcode,$matches);
$shortcode_str = str_replace('"','',str_replace(" ","&",trim($matches[3][0])));
parse_str($shortcode_str, $short_atts);//explode("&",$shortcode_str);
if(isset($matches[2][0])): $display_type = $matches[2][0]; else: $display_type = ''; endif;
if(!isset($columns)): $columns = '4'; endif;
if(isset($per_page)): $post_count = $per_page; endif;
if(isset($number)): $post_count = $number; endif;
if(!isset($order)): $order = 'asc'; endif;
if(!isset($orderby)): $orderby = 'date'; endif;
if(!isset($category)): $category = ''; endif;
if(!isset($ids)): $ids = ''; endif;
if($ids){
$ids = explode( ',', $ids );
$ids = array_map( 'trim', $ids );
}
$col = $columns;
if($columns == "2") $columns = 6;
elseif($columns == "3") $columns = 4;
elseif($columns == "4") $columns = 3;
$meta_query = '';
if($display_type == "recent_products"){
$meta_query = WC()->query->get_meta_query();
}
if($display_type == "featured_products"){
$meta_query = array(
array(
'key' => '_visibility',
'value' => array('catalog', 'visible'),
'compare' => 'IN'
),
array(
'key' => '_featured',
'value' => 'yes'
)
);
}
if($display_type == "top_rated_products"){
add_filter( 'posts_clauses', array( WC()->query, 'order_by_rating_post_clauses' ) );
$meta_query = WC()->query->get_meta_query();
}
$args = array(
'post_type' => 'product',
'post_status' => 'publish',
'ignore_sticky_posts' => 1,
'posts_per_page' => $post_count,
'orderby' => $orderby,
'order' => $order,
'paged' => $paged,
'meta_query' => $meta_query
);
if($display_type == "sale_products"){
$product_ids_on_sale = woocommerce_get_product_ids_on_sale();
$meta_query = array();
$meta_query[] = $woocommerce->query->visibility_meta_query();
$meta_query[] = $woocommerce->query->stock_status_meta_query();
$args['meta_query'] = $meta_query;
$args['post__in'] = $product_ids_on_sale;
}
if($display_type == "best_selling_products"){
$args['meta_key'] = 'total_sales';
$args['orderby'] = 'meta_value_num';
$args['meta_query'] = array(
array(
'key' => '_visibility',
'value' => array( 'catalog', 'visible' ),
'compare' => 'IN'
)
);
}
if($display_type == "product_category"){
$args['tax_query'] = array(
array(
'taxonomy' => 'product_cat',
'terms' => array( esc_attr( $category ) ),
'field' => 'slug',
'operator' => 'IN'
)
);
}
if($display_type == "product_categories"){
$args['tax_query'] = array(
array(
'taxonomy' => 'product_cat',
'terms' => $ids,
'field' => 'term_id',
'operator' => 'IN'
)
);
}
$test = '';
if(vc_is_inline()){
$test = "wcmp_vc_inline";
}
if($product_animation == ''){
$product_animation = 'no-animation';
} else {
$style .= 'opacity:1;';
}
if($element == "grid"){
$class = 'vc_span'.$columns.' ';
}
$output .= '<div class="woocomposer '.$test.'" data-columns="'.$col.'">';
$query = new WP_Query( $args );
if($query->have_posts()):
while ( $query->have_posts() ) : $query->the_post();
$product_id = get_the_ID();
$uid = uniqid();
$output .= '<div id="product-'.$uid.'" style="'.$style.'" class="'.$class.' wpb_column column_container wooproduct" data-animation="animated '.$product_animation.'">';
if($element == 'carousel'){
$output .= '<div class="wcmp-carousel-item">';
}
$product_title = get_the_title($product_id);
$post = get_post($product_id);
$product_desc = get_post($product_id)->post_excerpt;
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
$product = new WC_Product( $product_id );
$attachment_ids = $product->get_gallery_attachment_ids();
$price = $product->get_price_html();
$rating = $product->get_rating_html();
$attributes = $product->get_attributes();
$stock = $product->is_in_stock() ? 'InStock' : 'OutOfStock';
if ( $product->is_on_sale() ) :
$on_sale = apply_filters( 'woocommerce_sale_flash', $label_on_sale , $post, $product );
else:
$on_sale = '';
endif;
if($quick_view_style == "expandable"){
$quick_view_class = 'quick-view-loop';
} else {
$quick_view_class = 'quick-view-loop-popup';
}
$cat_count = sizeof( get_the_terms( $product_id, 'product_cat' ) );
$tag_count = sizeof( get_the_terms( $product_id, 'product_tag' ) );
$categories = $product->get_categories(', ','<span class="posted_in">'._n('','',$cat_count,'woocommerce').' ','.</span>');
$tags = $product->get_tags( ', ','<span class="tagged_as">'._n('', '',$tag_count, 'woocommerce').' ', '.</span>' );
$output .= "\n".'<div class="wcmp-product woocommerce wcmp-'.$product_style.' '.$img_animate.'" style="'.$border.' '.$desc_style.'">';
$output .= "\n\t".'<div class="wcmp-product-image">';
if(empty($attachment_ids) && count($attachment_ids) > 1 && $product_img_disp == "carousel"){
$uniqid = uniqid();
$output .= '<div class="wcmp-single-image-carousel carousel-in-loop">';
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
if($lazy_images == "enable"){
$src = UAVC_URL.'assets/img/loader.gif';
} else {
$src = $product_img[0];
}
$output .= '<div><div class="wcmp-image"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></div></div>';
foreach($attachment_ids as $attachment_id){
$product_img = wp_get_attachment_image_src( $attachment_id,$image_size);
if($lazy_images == "enable"){
$src = UAVC_URL.'assets/img/loader.gif';
} else {
$src = $product_img[0];
}
$output .= '<div><div class="wcmp-image"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></div></div>';
}
$output .= '</div>';
} else {
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
if($lazy_images == "enable"){
$src = UAVC_URL.'assets/img/loader.gif';
} else {
$src = $product_img[0];
}
$output .= '<a href="'.get_permalink($product_id).'"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></a>';
}
if($stock == 'OutOfStock'){
$output .= "\n".'<span class="wcmp-out-stock">'.__('Out Of Stock!','woocomposer').'</span>';
}
if($on_sale !== ''){
$output .= "\n".'<div class="wcmp-onsale '.$on_sale_alignment.' '.$on_sale_style.'"><span class="onsale" style="'.$label_style.' '.$sale_price_size.'">'.$on_sale.'</span></div>';
}
$output .= '<div class="wcmp-add-to-cart" style="'.$cart_bg_style.'"><a style="'.$cart_style.'" title="Add to Cart" href="?add-to-cart='.$product_id.'" rel="nofollow" data-product_id="'.$product_id.'" data-product_sku="" class="add_to_cart_button product_type_simple"><i class="wooicon-cart4"></i></a></div>';
if(in_array("quick",$elemets)){
$output .= '<div class="wcmp-quick-view '.$quick_view_class.'" style="'.$view_bg_style.'"><a style="'.$view_style.'" title="Quick View" href="'.get_permalink($product_id).'"><i class="wooicon-plus32"></i></a></div>';
}
if(in_array("reviews",$elemets)){
$output .= "\n".'<div class="wcmp-star-ratings" style="'.$rating_style.'">'.$rating.'</div>';
}
$output .= '</div>';
$output .= "\n\t".'<div class="wcmp-product-desc">';
$output .= '<a href="'.get_permalink($product_id).'">';
$output .= "\n\t\t".'<h2 style="'.$heading_style.'">'.$product_title.'</h2>';
$output .= '</a>';
if(in_array("category",$elemets)){
$output .= '<h5 style="'.$cat_style.'">';
if($categories !== ''){
$output .= $categories;
$output .= $tags;
}
$output .= '</h5>';
}
$output .= "\n\t\t".'<div class="wcmp-price"><span class="price" style="'.$price_style.'">'.$price.'</span></div>';
if(in_array("description",$elemets)){
$output .= "\n\t\t".'<div class="wcmp-product-content" style="'.$desc_style.'">'.$product_desc.'</div>';
}
$output .= "\n\t".'</div>';
$output .= "\n\t".'</div>';
if(in_array("quick",$elemets)){
$output .= '<div class="wcmp-quick-view-wrapper woocommerce" data-columns="'.$col.'">';
if($quick_view_style !== "expandable"){
$output .= '<div class="wcmp-quick-view-wrapper woocommerce product">';
$output .= '<div class="wcmp-close-single"><i class="wooicon-cross2"></i></div>';
}
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
if($lazy_images == "enable"){
$src = UAVC_URL.'assets/img/loader.gif';
} else {
$src = $product_img[0];
}
$output .= '<div class="wcmp-single-image wcmp-quickview-img images"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></div>';
if($quick_view_style !== "expandable"){
$output .= '<div class="wcmp-product-content-single">';
} else {
$output .= '<div class="wcmp-product-content">';
}
ob_start();
do_action( 'woocommerce_single_product_summary' );
$output .= ob_get_clean();
$output .= '</div>';
$output .= '<div class="clear"></div>';
if($quick_view_style !== "expandable"){
$output .= '</div>';
}
$output .= '</div>';
}
$output .= "\n".'</div>';
if($element == 'carousel'){
$output .= "\n\t".'</div>';
}
endwhile;
endif;
if($pagination == "enable"){
$output .= '<div class="wcmp-paginate">';
$output .= woocomposer_pagination($query->max_num_pages);
$output .= '</div>';
}
$output .= '</div>';
if($display_type == "top_rated_products"){
remove_filter( 'posts_clauses', array( WC()->query, 'order_by_rating_post_clauses' ) );
}
wp_reset_postdata();
return $output;
}
@@ -0,0 +1,219 @@
<?php
function WooComposer_Single_style01($atts){
$product_id = $product_style = $display_elements = $img_animate = $text_align = $color_heading = $color_categories = $color_price = '';
$color_rating = $color_rating_bg = $color_quick_bg = $color_quick = $color_cart_bg = $color_cart = $color_product_desc = '';
$color_product_desc_bg = $size_title = $size_cat = $size_price = $color_on_sale = $color_on_sale_bg = $label_on_sale = $border_style = '';
$border_color = $border_size = $border_radius = $sale_price = $on_sale_alignment = $on_sale_style = $product_img_disp = '';
extract(shortcode_atts(array(
"product_id" => "",
"product_style" => "style01",
"display_elements" => "",
"label_on_sale" => "Sale!",
"text_align" => "left",
"img_animate" => "rotate-clock",
"color_heading" => "",
"color_categories" => "",
"color_price" => "",
"color_rating" => "",
"color_rating_bg" => "",
"color_quick_bg" => "",
"color_quick" => "",
"color_cart_bg" => "",
"color_on_sale_bg" => "",
"color_on_sale" => "",
"color_cart" => "",
"color_product_desc" => "",
"color_product_desc_bg" => "",
"size_title" => "",
"size_cat" => "",
"size_price" => "",
"border_style" => "",
"border_color" => "",
"border_size" => "",
"border_radius" => "",
"sale_price" => "",
"on_sale_style" => "wcmp-sale-circle",
"on_sale_alignment" => "wcmp-sale-right",
"product_img_disp" => "single",
),$atts));
$output = $heading_style = $cat_style = $price_style = $cart_style = $cart_bg_style = $view_style = $view_bg_style = $rating_style = '';
$desc_style = $label_style = $border = $desc_style = $sale_price_size = '';
$image_size = apply_filters( 'single_product_large_thumbnail_size', 'shop_single' );
if($sale_price !== ''){
$sale_price_size = 'font-size:'.$sale_price.'px;';
}
$img_animate = 'wcmp-img-'.$img_animate;
if($border_style !== ''){
$border .= 'border:'.$border_size.'px '.$border_style.' '.$border_color.';';
$border .= 'border-radius:'.$border_radius.'px;';
}
if($color_product_desc_bg !== ''){
$desc_style .= 'background:'.$color_product_desc_bg.';';
}
if($color_product_desc !== ''){
$desc_style .= 'color:'.$color_product_desc.';';
}
if($color_heading !== ""){
$heading_style = 'color:'.$color_heading.';';
}
if($size_title !== ""){
$heading_style .= 'font-size:'.$size_title.'px;';
}
if($color_categories !== ""){
$cat_style = 'color:'.$color_categories.';';
}
if($size_cat !== ""){
$cat_style .= 'font-size:'.$size_cat.'px;';
}
if($color_price !== ""){
$price_style = 'color:'.$color_price.';';
}
if($size_price !== ""){
$price_style .= 'font-size:'.$size_price.'px;';
}
if($color_rating !== ""){
$rating_style .= 'color:'.$color_rating.';';
}
if($color_rating_bg !== ""){
$rating_style .= 'background:'.$color_rating_bg.';';
}
if($color_quick_bg !== ""){
$view_bg_style = 'background:'.$color_quick_bg.';';
}
if($color_quick !== ""){
$view_style = 'color:'.$color_quick.';';
}
if($color_cart_bg !== ""){
$cart_bg_style = 'background:'.$color_cart_bg.';';
}
if($color_cart !== ""){
$cart_style = 'color:'.$color_cart.';';
}
if($color_on_sale_bg !== ""){
$label_style = 'background:'.$color_on_sale_bg.';';
}
if($color_on_sale !== ""){
$label_style .= 'color:'.$color_on_sale.';';
}
$elemets = explode(",",$display_elements);
$product_title = get_the_title($product_id);
$post = get_post($product_id);
$product_desc = get_post($product_id)->post_excerpt;
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
$product = new WC_Product( $product_id );
$attachment_ids = $product->get_gallery_attachment_ids();
$price = $product->get_price_html();
$rating = $product->get_rating_html();
$attributes = $product->get_attributes();
$stock = $product->is_in_stock() ? 'InStock' : 'OutOfStock';
if ( $product->is_on_sale() ) :
$on_sale = apply_filters( 'woocommerce_sale_flash', $label_on_sale , $post, $product );
else:
$on_sale = '';
endif;
$cat_count = sizeof( get_the_terms( $product_id, 'product_cat' ) );
$tag_count = sizeof( get_the_terms( $product_id, 'product_tag' ) );
$categories = $product->get_categories(', ','<span class="posted_in">'._n('','',$cat_count,'woocommerce').' ','.</span>');
$tags = $product->get_tags( ', ','<span class="tagged_as">'._n('', '',$tag_count, 'woocommerce').' ', '.</span>' );
$output .= "\n".'<div class="wcmp-product woocommerce wcmp-'.$product_style.' '.$img_animate.'" style="'.$border.' '.$desc_style.'">';
$output .= "\n\t".'<div class="wcmp-product-image">';
$output .= '<a href="'.get_permalink($product_id).'">';
if(!empty($attachment_ids) && count($attachment_ids) > 1 && $product_img_disp == "carousel"){
$uniqid = uniqid();
$output .= '<div class="wcmp-single-image-carousel">';
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
$src = $product_img[0];
$output .= '<div><div class="wcmp-image"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></div></div>';
foreach($attachment_ids as $attachment_id){
$product_img = wp_get_attachment_image_src( $attachment_id,$image_size);
if($lazy_images == "enable"){
$src = UAVC_URL.'assets/img/loader.gif';
} else {
$src = $product_img[0];
}
$output .= '<div><div class="wcmp-image"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></div></div>';
}
$output .= '</div>';
} else {
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
$src = $product_img[0];
$output .= '<a href="'.get_permalink($product_id).'"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></a>';
}
if($on_sale !== ''){
$output .= "\n".'<div class="wcmp-onsale '.$on_sale_alignment.' '.$on_sale_style.'"><span class="onsale" style="'.$label_style.' '.$sale_price_size.'">'.$on_sale.'</span></div>';
}
if($stock == 'OutOfStock'){
$output .= "\n".'<span class="wcmp-out-stock">'.__('Out Of Stock!','woocomposer').'</span>';
}
$output .= '<div class="wcmp-add-to-cart" style="'.$cart_bg_style.'">';
$output .= '<a style="'.$cart_style.'" title="Add to Cart" href="?add-to-cart='.$product_id.'" rel="nofollow" data-product_id="'.$product_id.'" data-product_sku="" class="add_to_cart_button product_type_simple"><i class="wooicon-cart4"></i></a></div>';
if(in_array("quick",$elemets)){
$output .= '<div class="wcmp-quick-view quick-view-single" style="'.$view_bg_style.'"><a style="'.$view_style.'" title="Quick View" href="'.get_permalink($product_id).'"><i class="wooicon-plus32"></i></a></div>';
}
if(in_array("reviews",$elemets)){
$output .= "\n".'<div class="wcmp-star-ratings" style="'.$rating_style.'">'.$rating.'</div>';
}
$output .= '</div>';
$output .= "\n\t".'<div class="wcmp-product-desc" style="text-align:'.$text_align.';">';
$output .= '<a href="'.get_permalink($product_id).'">';
$output .= "\n\t\t".'<h2 style="'.$heading_style.'">'.$product_title.'</h2>';
$output .= '</a>';
if(in_array("category",$elemets)){
$output .= '<h5 style="'.$cat_style.'">';
if($categories !== ''){
$output .= $categories;
$output .= $tags;
}
$output .= '</h5>';
}
$output .= "\n\t\t".'<div class="wcmp-price"><span class="price" style="'.$price_style.'">'.$price.'</span></div>';
if(in_array("description",$elemets)){
$output .= "\n\t\t".'<div class="wcmp-product-content" style="'.$desc_style.'">'.$product_desc.'</div>';
}
$output .= "\n\t".'</div>';
if(in_array("quick",$elemets)){
$query = new WP_Query( array( 'post_type' => 'product', 'post__in' => array( $product_id ) ) );
if($query->have_posts()):
while ( $query->have_posts() ) : $query->the_post();
$output .= '<div class="wcmp-quick-view-wrapper">';
$output .= '<div class="wcmp-quick-view-wrapper woocommerce">';
$output .= '<div class="wcmp-close-single"><i class="wooicon-cross2"></i></div>';
if(!empty($attachment_ids) && count($attachment_ids) > 1){
$uniqid = uniqid();
$output .= '<div class="wcmp-image-carousel wcmp-carousel-'.$uniqid.'" data-class="wcmp-carousel-'.$uniqid.'">';
foreach($attachment_ids as $attachment_id){
$product_img = wp_get_attachment_image_src( $attachment_id,$image_size);
$output .= '<div><div class="wcmp-image"><img src="'.$product_img[0].'"/></div></div>';
}
$output .= '</div>';
} else {
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
$output .= '<div class="wcmp-single-image"><img src="'.$product_img[0].'"/></div>';
}
$output .= '<div class="wcmp-product-content-single">';
ob_start();
do_action( 'woocommerce_single_product_summary' );
$output .= ob_get_clean();
$output .= '</div>';
$output .= '<div class="clear"></div>';
$output .= '</div>';
$output .= '</div>';
endwhile;
endif;
}
$output .= "\n\t".'</div>';
return $output;
}
@@ -0,0 +1,209 @@
<?php
function WooComposer_Single_style02($atts){
$product_id = $product_style = $display_elements = $img_animate = $text_align = $color_heading = $color_categories = $color_price = '';
$color_rating = $color_rating_bg = $color_quick_bg = $color_quick = $color_cart_bg = $color_cart = $color_product_desc = '';
$color_product_desc_bg = $size_title = $size_cat = $size_price = $color_on_sale = $color_on_sale_bg = $label_on_sale = $border_style = '';
$border_color = $border_size = $border_radius = $sale_price = $on_sale_alignment = $on_sale_style = $product_img_disp = '';
extract(shortcode_atts(array(
"product_id" => "",
"product_style" => "style01",
"display_elements" => "",
"label_on_sale" => "Sale!",
"text_align" => "left",
"img_animate" => "rotate-clock",
"color_heading" => "",
"color_categories" => "",
"color_price" => "",
"color_rating" => "",
"color_rating_bg" => "",
"color_quick_bg" => "",
"color_quick" => "",
"color_cart_bg" => "",
"color_on_sale_bg" => "",
"color_on_sale" => "",
"color_cart" => "",
"color_product_desc" => "",
"color_product_desc_bg" => "",
"size_title" => "",
"size_cat" => "",
"size_price" => "",
"border_style" => "",
"border_color" => "",
"border_size" => "",
"border_radius" => "",
"sale_price" => "",
"on_sale_style" => "wcmp-sale-circle",
"on_sale_alignment" => "wcmp-sale-right",
"product_img_disp" => "single",
),$atts));
$output = $heading_style = $cat_style = $price_style = $cart_style = $cart_bg_style = $view_style = $view_bg_style = $rating_style = '';
$desc_style = $label_style = $border = $desc_style = $sale_price_size = '';
$image_size = apply_filters( 'single_product_large_thumbnail_size', 'shop_single' );
if($sale_price !== ''){
$sale_price_size = 'font-size:'.$sale_price.'px;';
}
$img_animate = 'wcmp-img-'.$img_animate;
if($border_style !== ''){
$border .= 'border:'.$border_size.'px '.$border_style.' '.$border_color.';';
$border .= 'border-radius:'.$border_radius.'px;';
}
if($color_product_desc_bg !== ''){
$desc_style .= 'background:'.$color_product_desc_bg.';';
}
if($color_product_desc !== ''){
$desc_style .= 'color:'.$color_product_desc.';';
}
if($color_heading !== ""){
$heading_style = 'color:'.$color_heading.';';
}
if($size_title !== ""){
$heading_style .= 'font-size:'.$size_title.'px;';
}
if($color_categories !== ""){
$cat_style = 'color:'.$color_categories.';';
}
if($size_cat !== ""){
$cat_style .= 'font-size:'.$size_cat.'px;';
}
if($color_price !== ""){
$price_style = 'color:'.$color_price.';';
}
if($size_price !== ""){
$price_style .= 'font-size:'.$size_price.'px;';
}
if($color_rating !== ""){
$rating_style .= 'color:'.$color_rating.';';
}
if($color_rating_bg !== ""){
$rating_style .= 'background:'.$color_rating_bg.';';
}
if($color_quick_bg !== ""){
$view_bg_style = 'background:'.$color_quick_bg.';';
}
if($color_quick !== ""){
$view_style = 'color:'.$color_quick.';';
}
if($color_cart_bg !== ""){
$cart_bg_style = 'background:'.$color_cart_bg.';';
}
if($color_cart !== ""){
$cart_style = 'color:'.$color_cart.';';
}
if($color_on_sale_bg !== ""){
$label_style = 'background:'.$color_on_sale_bg.';';
}
if($color_on_sale !== ""){
$label_style .= 'color:'.$color_on_sale.';';
}
$elemets = explode(",",$display_elements);
$product_title = get_the_title($product_id);
$post = get_post($product_id);
$product_desc = get_post($product_id)->post_excerpt;
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
$product = new WC_Product( $product_id );
$attachment_ids = $product->get_gallery_attachment_ids();
$price = $product->get_price_html();
$rating = $product->get_rating_html();
$attributes = $product->get_attributes();
$stock = $product->is_in_stock() ? 'InStock' : 'OutOfStock';
if ( $product->is_on_sale() ) :
$on_sale = apply_filters( 'woocommerce_sale_flash', $label_on_sale , $post, $product );
else:
$on_sale = '';
endif;
$cat_count = sizeof( get_the_terms( $product_id, 'product_cat' ) );
$tag_count = sizeof( get_the_terms( $product_id, 'product_tag' ) );
$categories = $product->get_categories(', ','<span class="posted_in">'._n('','',$cat_count,'woocommerce').' ','.</span>');
$tags = $product->get_tags( ', ','<span class="tagged_as">'._n('', '',$tag_count, 'woocommerce').' ', '.</span>' );
$output .= "\n".'<div class="wcmp-product woocommerce wcmp-'.$product_style.' '.$img_animate.'" style="'.$border.' '.$desc_style.'">';
$output .= "\n\t".'<div class="wcmp-product-image">';
if(!empty($attachment_ids) && count($attachment_ids) > 1 && $product_img_disp == "carousel"){
$uniqid = uniqid();
$output .= '<div class="wcmp-single-image-carousel">';
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
$src = $product_img[0];
$output .= '<div><div class="wcmp-image"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></div></div>';
foreach($attachment_ids as $attachment_id){
$product_img = wp_get_attachment_image_src( $attachment_id,$image_size);
$output .= '<div><div class="wcmp-image"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></div></div>';
}
$output .= '</div>';
} else {
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
$src = $product_img[0];
$output .= '<a href="'.get_permalink($product_id).'"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></a>';
}
if($on_sale !== ''){
$output .= "\n".'<div class="wcmp-onsale '.$on_sale_alignment.' '.$on_sale_style.'"><span class="onsale" style="'.$label_style.' '.$sale_price_size.'">'.$on_sale.'</span></div>';
}
if($stock == 'OutOfStock'){
$output .= "\n".'<span class="wcmp-out-stock">'.__('Out Of Stock!','woocomposer').'</span>';
}
$output .= '<div class="wcmp-add-to-cart" style="'.$cart_bg_style.'"><a style="'.$cart_style.'" title="Add to Cart" href="?add-to-cart='.$product_id.'" rel="nofollow" data-product_id="'.$product_id.'" data-product_sku="" class="add_to_cart_button product_type_simple"><i class="wooicon-cart4"></i></a></div>';
if(in_array("quick",$elemets)){
$output .= '<div class="wcmp-quick-view quick-view-single" style="'.$view_bg_style.'"><a style="'.$view_style.'" title="Quick View" href="'.get_permalink($product_id).'"><i class="wooicon-plus32"></i></a></div>';
}
if(in_array("reviews",$elemets)){
$output .= "\n".'<div class="wcmp-star-ratings" style="'.$rating_style.'">'.$rating.'</div>';
}
$output .= '</div>';
$output .= "\n\t".'<div class="wcmp-product-desc" style="text-align:'.$text_align.';">';
$output .= '<a href="'.get_permalink($product_id).'">';
$output .= "\n\t\t".'<h2 style="'.$heading_style.'">'.$product_title.'</h2>';
$output .= '</a>';
if(in_array("category",$elemets)){
$output .= '<h5 style="'.$cat_style.'">';
if($categories !== ''){
$output .= $categories;
$output .= $tags;
}
$output .= '</h5>';
}
$output .= "\n\t\t".'<div class="wcmp-price"><span class="price" style="'.$price_style.'">'.$price.'</span></div>';
if(in_array("description",$elemets)){
$output .= "\n\t\t".'<div class="wcmp-product-content" style="'.$desc_style.'">'.$product_desc.'</div>';
}
$output .= "\n\t".'</div>';
if(in_array("quick",$elemets)){
$query = new WP_Query( array( 'post_type' => 'product', 'post__in' => array( $product_id ) ) );
if($query->have_posts()):
while ( $query->have_posts() ) : $query->the_post();
$output .= '<div class="wcmp-quick-view-wrapper">';
$output .= '<div class="wcmp-quick-view-wrapper woocommerce">';
$output .= '<div class="wcmp-close-single"><i class="wooicon-cross2"></i></div>';
if(!empty($attachment_ids) && count($attachment_ids) > 1){
$uniqid = uniqid();
$output .= '<div class="wcmp-image-carousel wcmp-carousel-'.$uniqid.'" data-class="wcmp-carousel-'.$uniqid.'">';
foreach($attachment_ids as $attachment_id){
$product_img = wp_get_attachment_image_src( $attachment_id,$image_size);
$output .= '<div><div class="wcmp-image"><img src="'.$product_img[0].'"/></div></div>';
}
$output .= '</div>';
} else {
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
$output .= '<div class="wcmp-single-image"><img src="'.$product_img[0].'"/></div>';
}
$output .= '<div class="wcmp-product-content-single">';
ob_start();
do_action( 'woocommerce_single_product_summary' );
$output .= ob_get_clean();
$output .= '</div>';
$output .= '<div class="clear"></div>';
$output .= '</div>';
$output .= '</div>';
endwhile;
endif;
}
$output .= "\n\t".'</div>';
return $output;
}
@@ -0,0 +1,216 @@
<?php
function WooComposer_Single_style03($atts){
$product_id = $product_style = $display_elements = $img_animate = $text_align = $color_heading = $color_categories = $color_price = '';
$color_rating = $color_rating_bg = $color_quick_bg = $color_quick = $color_cart_bg = $color_cart = $color_product_desc = '';
$color_product_desc_bg = $size_title = $size_cat = $size_price = $color_on_sale = $color_on_sale_bg = $label_on_sale = $border_style = '';
$border_color = $border_size = $border_radius = $sale_price = $on_sale_alignment = $on_sale_style = $product_img_disp = '';
extract(shortcode_atts(array(
"product_id" => "",
"product_style" => "style01",
"display_elements" => "",
"label_on_sale" => "Sale!",
"text_align" => "left",
"img_animate" => "rotate-clock",
"color_heading" => "",
"color_categories" => "",
"color_price" => "",
"color_rating" => "",
"color_rating_bg" => "",
"color_quick_bg" => "",
"color_quick" => "",
"color_cart_bg" => "",
"color_on_sale_bg" => "",
"color_on_sale" => "",
"color_cart" => "",
"color_product_desc" => "",
"color_product_desc_bg" => "",
"size_title" => "",
"size_cat" => "",
"size_price" => "",
"border_style" => "",
"border_color" => "",
"border_size" => "",
"border_radius" => "",
"sale_price" => "",
"on_sale_style" => "wcmp-sale-circle",
"on_sale_alignment" => "wcmp-sale-right",
"product_img_disp" => "single",
),$atts));
$output = $heading_style = $cat_style = $price_style = $cart_style = $cart_bg_style = $view_style = $view_bg_style = $rating_style = '';
$desc_style = $label_style = $border = $desc_style = $sale_price_size = '';
$image_size = apply_filters( 'single_product_large_thumbnail_size', 'shop_single' );
if($sale_price !== ''){
$sale_price_size = 'font-size:'.$sale_price.'px;';
}
$img_animate = 'wcmp-img-'.$img_animate;
if($border_style !== ''){
$border .= 'border:'.$border_size.'px '.$border_style.' '.$border_color.';';
$border .= 'border-radius:'.$border_radius.'px;';
}
if($color_product_desc_bg !== ''){
$desc_style .= 'background:'.$color_product_desc_bg.';';
}
if($color_product_desc !== ''){
$desc_style .= 'color:'.$color_product_desc.';';
}
if($color_heading !== ""){
$heading_style = 'color:'.$color_heading.';';
}
if($size_title !== ""){
$heading_style .= 'font-size:'.$size_title.'px;';
}
if($color_categories !== ""){
$cat_style = 'color:'.$color_categories.';';
}
if($size_cat !== ""){
$cat_style .= 'font-size:'.$size_cat.'px;';
}
if($color_price !== ""){
$price_style = 'color:'.$color_price.';';
}
if($size_price !== ""){
$price_style .= 'font-size:'.$size_price.'px;';
}
if($color_rating !== ""){
$rating_style .= 'color:'.$color_rating.';';
}
if($color_rating_bg !== ""){
$rating_style .= 'background:'.$color_rating_bg.';';
}
if($color_quick_bg !== ""){
$view_bg_style = 'background:'.$color_quick_bg.';';
}
if($color_quick !== ""){
$view_style = 'color:'.$color_quick.';';
}
if($color_cart_bg !== ""){
$cart_bg_style = 'background:'.$color_cart_bg.';';
}
if($color_cart !== ""){
$cart_style = 'color:'.$color_cart.';';
}
if($color_on_sale_bg !== ""){
$label_style = 'background:'.$color_on_sale_bg.';';
}
if($color_on_sale !== ""){
$label_style .= 'color:'.$color_on_sale.';';
}
$elemets = explode(",",$display_elements);
$product_title = get_the_title($product_id);
$post = get_post($product_id);
$product_desc = get_post($product_id)->post_excerpt;
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
$product = new WC_Product( $product_id );
$attachment_ids = $product->get_gallery_attachment_ids();
$price = $product->get_price_html();
$rating = $product->get_rating_html();
$attributes = $product->get_attributes();
$stock = $product->is_in_stock() ? 'InStock' : 'OutOfStock';
if ( $product->is_on_sale() ) :
$on_sale = apply_filters( 'woocommerce_sale_flash', $label_on_sale , $post, $product );
else:
$on_sale = '';
endif;
$cat_count = sizeof( get_the_terms( $product_id, 'product_cat' ) );
$tag_count = sizeof( get_the_terms( $product_id, 'product_tag' ) );
$categories = $product->get_categories(', ','<span class="posted_in">'._n('','',$cat_count,'woocommerce').' ','.</span>');
$tags = $product->get_tags( ', ','<span class="tagged_as">'._n('', '',$tag_count, 'woocommerce').' ', '.</span>' );
$output .= "\n".'<div class="wcmp-product woocommerce wcmp-'.$product_style.' '.$img_animate.'" style="'.$border.' '.$desc_style.'">';
$output .= "\n\t".'<div class="wcmp-product-image">';
if(!empty($attachment_ids) && count($attachment_ids) > 1 && $product_img_disp == "carousel"){
$uniqid = uniqid();
$output .= '<div class="wcmp-single-image-carousel">';
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
$src = $product_img[0];
$output .= '<div><div class="wcmp-image"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></div></div>';
foreach($attachment_ids as $attachment_id){
$product_img = wp_get_attachment_image_src( $attachment_id,$image_size);
$output .= '<div><div class="wcmp-image"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></div></div>';
}
$output .= '</div>';
} else {
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
$src = $product_img[0];
$output .= '<a href="'.get_permalink($product_id).'"><img class="wcmp-img" src="'.$src.'" data-src="'.$product_img[0].'"/></a>';
}
if($on_sale !== ''){
$output .= "\n".'<div class="wcmp-onsale '.$on_sale_alignment.' '.$on_sale_style.'"><span class="onsale" style="'.$label_style.' '.$sale_price_size.'">'.$on_sale.'</span></div>';
}
if($stock == 'OutOfStock'){
$output .= "\n".'<span class="wcmp-out-stock">'.__('Out Of Stock!','woocomposer').'</span>';
}
$output .= '</div>';
$output .= "\n\t".'<div class="wcmp-product-desc">';
$output .= '<a href="'.get_permalink($product_id).'">';
$output .= "\n\t\t".'<h2 style="'.$heading_style.'">'.$product_title.'</h2>';
$output .= '</a>';
if(in_array("category",$elemets)){
$output .= '<h5 style="'.$cat_style.'">';
if($categories !== ''){
$output .= $categories;
$output .= $tags;
}
$output .= '</h5>';
}
$output .= "\n\t\t".'<div class="wcmp-price"><span class="price" style="'.$price_style.'">'.$price.'</span></div>';
$output .= '<div class="wcmp-style3-cart-block">';/*Class Start wcmp-style3-cart-block*/
$output .= '<div class="wcmp-add-to-cart" style="'.$cart_bg_style.'"><a style="'.$cart_style.'" title="Add to Cart" href="?add-to-cart='.$product_id.'" rel="nofollow" data-product_id="'.$product_id.'" data-product_sku="" class="button add_to_cart_button product_type_simple">Add to Cart</a></div>';
if(in_array("reviews",$elemets)){
$output .= "\n".'<div class="wcmp-star-ratings" style="'.$rating_style.'">'.$rating.'</div>';
}
if(in_array("quick",$elemets)){
$output .= '<div class="wcmp-quick-view quick-view-single" style="'.$view_bg_style.'"><a style="'.$view_style.'" title="Quick View" href="'.get_permalink($product_id).'"><i class="wooicon-plus32"></i></a></div>';
}
$output .= '</div>';/*Class End wcmp-style3-cart-block*/
if(in_array("description",$elemets)){
$output .= "\n\t\t".'<div class="wcmp-product-content" style="'.$desc_style.'">'.$product_desc.'</div>';
}
if(in_array("quick",$elemets)){
$query = new WP_Query( array( 'post_type' => 'product', 'post__in' => array( $product_id ) ) );
if($query->have_posts()):
while ( $query->have_posts() ) : $query->the_post();
$output .= '<div class="wcmp-quick-view-wrapper">';
$output .= '<div class="wcmp-quick-view-wrapper woocommerce">';
$output .= '<div class="wcmp-close-single"><i class="wooicon-cross2"></i></div>';
if(!empty($attachment_ids) && count($attachment_ids) > 1){
$uniqid = uniqid();
$output .= '<div class="wcmp-image-carousel wcmp-carousel-'.$uniqid.'" data-class="wcmp-carousel-'.$uniqid.'">';
foreach($attachment_ids as $attachment_id){
$product_img = wp_get_attachment_image_src( $attachment_id,$image_size);
$output .= '<div><div class="wcmp-image"><img src="'.$product_img[0].'"/></div></div>';
}
$output .= '</div>';
} else {
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),$image_size);
$output .= '<div class="wcmp-single-image"><img src="'.$product_img[0].'"/></div>';
}
$output .= '<div class="wcmp-product-content-single">';
ob_start();
do_action( 'woocommerce_single_product_summary' );
$output .= ob_get_clean();
$output .= '</div>';
$output .= '<div class="clear"></div>';
$output .= '</div>';
$output .= '</div>';
endwhile;
endif;
}
$output .= "\n\t".'</div>';
$output .= "\n\t".'</div>';
return $output;
}
@@ -0,0 +1,300 @@
[08-Nov-2025 01:44:41 UTC] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php(566): WooComposer_ViewCarousel->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php on line 11
[08-Nov-2025 01:44:41 UTC] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php(626): WooComposer_Cat_Carousel->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php on line 11
[08-Nov-2025 01:44:42 UTC] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php(454): WooComposer_Cat_Grid->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php on line 11
[08-Nov-2025 01:44:42 UTC] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php(498): WooComposer_GridView->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php on line 11
[08-Nov-2025 01:44:42 UTC] PHP Fatal error: Uncaught Error: Call to undefined function add_shortcode() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php(369): WooComposer_ViewList->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php on line 11
[08-Nov-2025 01:44:42 UTC] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php(410): WooComposer_ViewProduct->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php on line 11
[15-Nov-2025 02:56:15 UTC] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php(566): WooComposer_ViewCarousel->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php on line 11
[15-Nov-2025 02:56:16 UTC] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php(626): WooComposer_Cat_Carousel->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php on line 11
[15-Nov-2025 02:56:16 UTC] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php(454): WooComposer_Cat_Grid->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php on line 11
[15-Nov-2025 02:56:16 UTC] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php(498): WooComposer_GridView->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php on line 11
[15-Nov-2025 02:56:16 UTC] PHP Fatal error: Uncaught Error: Call to undefined function add_shortcode() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php(369): WooComposer_ViewList->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php on line 11
[15-Nov-2025 02:56:16 UTC] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php(410): WooComposer_ViewProduct->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php on line 11
[11-Dec-2025 17:25:31 UTC] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php(566): WooComposer_ViewCarousel->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php on line 11
[11-Dec-2025 17:25:31 UTC] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php(626): WooComposer_Cat_Carousel->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php on line 11
[11-Dec-2025 17:25:31 UTC] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php(454): WooComposer_Cat_Grid->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php on line 11
[11-Dec-2025 17:25:31 UTC] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php(498): WooComposer_GridView->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php on line 11
[11-Dec-2025 17:25:32 UTC] PHP Fatal error: Uncaught Error: Call to undefined function add_shortcode() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php(369): WooComposer_ViewList->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php on line 11
[11-Dec-2025 17:25:32 UTC] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php(410): WooComposer_ViewProduct->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php on line 11
[22-Feb-2026 00:44:19 UTC] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php(566): WooComposer_ViewCarousel->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php on line 11
[22-Feb-2026 00:44:34 UTC] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php(626): WooComposer_Cat_Carousel->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php on line 11
[22-Feb-2026 00:44:40 UTC] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php(454): WooComposer_Cat_Grid->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php on line 11
[22-Feb-2026 00:44:49 UTC] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php(498): WooComposer_GridView->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php on line 11
[22-Feb-2026 00:44:57 UTC] PHP Fatal error: Uncaught Error: Call to undefined function add_shortcode() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php(369): WooComposer_ViewList->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php on line 11
[22-Feb-2026 00:45:10 UTC] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php(410): WooComposer_ViewProduct->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php on line 11
[20-May-2026 08:04:31 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php(566): WooComposer_ViewCarousel->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php on line 11
[20-May-2026 08:04:31 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php(626): WooComposer_Cat_Carousel->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php on line 11
[20-May-2026 08:04:31 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php(454): WooComposer_Cat_Grid->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php on line 11
[20-May-2026 08:04:31 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php(498): WooComposer_GridView->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php on line 11
[20-May-2026 08:04:31 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_shortcode() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php(369): WooComposer_ViewList->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php on line 11
[20-May-2026 08:04:31 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php(410): WooComposer_ViewProduct->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php on line 11
[15-Jul-2026 14:30:20 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php(566): WooComposer_ViewCarousel->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php on line 11
[15-Jul-2026 14:30:21 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php(626): WooComposer_Cat_Carousel->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php on line 11
[15-Jul-2026 14:30:21 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php(454): WooComposer_Cat_Grid->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php on line 11
[15-Jul-2026 14:30:22 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php(498): WooComposer_GridView->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php on line 11
[15-Jul-2026 14:30:22 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_shortcode() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php(369): WooComposer_ViewList->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php on line 11
[15-Jul-2026 14:30:23 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php(410): WooComposer_ViewProduct->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php on line 11
[16-Jul-2026 13:44:48 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php(566): WooComposer_ViewCarousel->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php on line 11
[16-Jul-2026 13:44:49 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php(626): WooComposer_Cat_Carousel->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php on line 11
[16-Jul-2026 13:44:50 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php(454): WooComposer_Cat_Grid->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php on line 11
[16-Jul-2026 13:44:51 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php(498): WooComposer_GridView->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php on line 11
[16-Jul-2026 13:44:52 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_shortcode() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php(369): WooComposer_ViewList->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php on line 11
[16-Jul-2026 13:44:53 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php(410): WooComposer_ViewProduct->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php on line 11
[21-Aug-2026 12:44:43 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php(566): WooComposer_ViewCarousel->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php on line 11
[21-Aug-2026 12:44:43 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php(626): WooComposer_Cat_Carousel->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php on line 11
[21-Aug-2026 12:44:43 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php(454): WooComposer_Cat_Grid->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php on line 11
[21-Aug-2026 12:44:43 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php(498): WooComposer_GridView->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php on line 11
[21-Aug-2026 12:44:43 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_shortcode() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php(369): WooComposer_ViewList->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php on line 11
[21-Aug-2026 12:44:44 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php(410): WooComposer_ViewProduct->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php on line 11
[22-Aug-2026 01:26:21 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php(566): WooComposer_ViewCarousel->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php on line 11
[22-Aug-2026 01:26:21 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php(626): WooComposer_Cat_Carousel->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php on line 11
[22-Aug-2026 01:26:22 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php(454): WooComposer_Cat_Grid->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php on line 11
[22-Aug-2026 01:26:22 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php(498): WooComposer_GridView->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php on line 11
[22-Aug-2026 01:26:22 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_shortcode() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php(369): WooComposer_ViewList->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php on line 11
[22-Aug-2026 01:26:22 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php(410): WooComposer_ViewProduct->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php on line 11
[24-Aug-2026 19:02:52 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php(566): WooComposer_ViewCarousel->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel.php on line 11
[24-Aug-2026 19:02:52 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php(626): WooComposer_Cat_Carousel->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_carousel_cat.php on line 11
[24-Aug-2026 19:02:52 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php(454): WooComposer_Cat_Grid->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_cat_grid.php on line 11
[24-Aug-2026 19:02:52 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php(498): WooComposer_GridView->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_grid.php on line 11
[24-Aug-2026 19:02:52 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_shortcode() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php(369): WooComposer_ViewList->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_list.php on line 11
[24-Aug-2026 19:02:52 Asia/Jakarta] PHP Fatal error: Uncaught Error: Call to undefined function add_action() in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php:11
Stack trace:
#0 /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php(410): WooComposer_ViewProduct->__construct()
#1 {main}
thrown in /home/nurm6544/public_html/wp-content/plugins/Ultimate_VC_Addons/woocomposer/modules/shortcode_product.php on line 11
@@ -0,0 +1,567 @@
<?php
/*
@Module: List view
@Since: 1.0
@Package: WooComposer
*/
if(!class_exists('WooComposer_ViewCarousel')){
class WooComposer_ViewCarousel
{
function __construct(){
add_action('admin_init',array($this,'WooComposer_Init_Carousel'));
add_shortcode('woocomposer_carousel',array($this,'WooComposer_Carousel'));
} // end constructor
function WooComposer_Init_Carousel(){
if(function_exists('vc_map')){
$categories = get_terms( 'product_cat', array(
'orderby' => 'count',
'hide_empty' => 0,
) );
$cat_arr = array();
if(is_array($categories)){
foreach($categories as $cats){
$cat_arr[$cats->name] = $cats->slug;
}
}
vc_map(
array(
"name" => __("Products Carousel", "ultimate_vc"),
"base" => "woocomposer_carousel",
"icon" => "woo_carousel",
"class" => "woo_carousel",
"category" => __("WooComposer [ Beta ]", "ultimate_vc"),
"description" => __("Display products in carousel slider","ultimate_vc"),
"controls" => "full",
"show_settings_on_create" => true,
"deprecated" => "3.13.5",
"params" => array(
array(
"type" => "woocomposer",
"class" => "",
"heading" => __("Query Builder", "ultimate_vc"),
"param_name" => "shortcode",
"value" => "",
"module" => "grid",
"labels" => array(
"products_from" => __("Display:","ultimate_vc"),
"per_page" => __("How Many:","ultimate_vc"),
"columns" => __("Columns:","ultimate_vc"),
"order_by" => __("Order By:","ultimate_vc"),
"order" => __("Display Order:","ultimate_vc"),
"category" => __("Category:","ultimate_vc"),
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Display Style", "ultimate_vc"),
"param_name" => "product_style",
"admin_label" => true,
"value" => array(
__("Style 01","ultimate_vc") => "style01",
__("Style 02","ultimate_vc") => "style02",
__("Style 03","ultimate_vc") => "style03",
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "ult_switch",
"class" => "",
"heading" => __("Select options to display", "ultimate_vc"),
"param_name" => "display_elements",
"value" => "",
"options" => array(
"category" => array(
"label" => __("Category","ultimate_vc"),
"on" => __("Yes","ultimate_vc"),
"off" => __("No","ultimate_vc"),
),
"reviews" => array(
"label" => __("Reviews","ultimate_vc"),
"on" => __("Yes","ultimate_vc"),
"off" => __("No","ultimate_vc"),
),
"quick" => array(
"label" => __("Quick View","ultimate_vc"),
"on" => __("Yes","ultimate_vc"),
"off" => __("No","ultimate_vc"),
),
"description" => array(
"label" => __("Description","ultimate_vc"),
"on" => __("Yes","ultimate_vc"),
"off" => __("No","ultimate_vc"),
),
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Product Text Alignment", "ultimate_vc"),
"param_name" => "text_align",
"value" => array(
__("Left","ultimate_vc")=> "left",
__("Center","ultimate_vc")=> "center",
__("Right","ultimate_vc") => "right",
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "textfield",
"class" => "",
"heading" => __("Sale Notification Label", "ultimate_vc"),
"param_name" => "label_on_sale",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Sale Notification Style", "ultimate_vc"),
"param_name" => "on_sale_style",
"admin_label" => true,
"value" => array(
__("Circle","ultimate_vc") => "wcmp-sale-circle",
__("Square","ultimate_vc") => "wcmp-sale-rectangle",
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Sale Notification Alignment", "ultimate_vc"),
"param_name" => "on_sale_alignment",
"admin_label" => true,
"value" => array(
__("Right","ultimate_vc") => "wcmp-sale-right",
__("Left","ultimate_vc") => "wcmp-sale-left",
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Product Image Setting", "ultimate_vc"),
"param_name" => "product_img_disp",
"value" => array(
__("Display product featured image","ultimate_vc") => "single",
__("Display product gallery in carousel slider","ultimate_vc") => "carousel",
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Image Hover Animation", "ultimate_vc"),
"param_name" => "img_animate",
"value" => array(
__("Rotate Clock","ultimate_vc")=> "rotate-clock",
__("Rotate Anti-clock","ultimate_vc")=> "rotate-anticlock",
__("Zoom-In","ultimate_vc") => "zoomin",
__("Zoom-Out","ultimate_vc") => "zoomout",
__("Fade","ultimate_vc") => "fade",
__("Gray Scale","ultimate_vc") => "grayscale",
__("Shadow","ultimate_vc") => "imgshadow",
__("Blur","ultimate_vc") => "blur",
__("Anti Grayscale","ultimate_vc") => "antigrayscale",
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Animation","ultimate_vc"),
"param_name" => "product_animation",
"value" => array(
__("No Animation","ultimate_vc") => "",
__("Swing","ultimate_vc") => "swing",
__("Pulse","ultimate_vc") => "pulse",
__("Fade In","ultimate_vc") => "fadeIn",
__("Fade In Up","ultimate_vc") => "fadeInUp",
__("Fade In Down","ultimate_vc") => "fadeInDown",
__("Fade In Left","ultimate_vc") => "fadeInLeft",
__("Fade In Right","ultimate_vc") => "fadeInRight",
__("Fade In Up Long","ultimate_vc") => "fadeInUpBig",
__("Fade In Down Long","ultimate_vc") => "fadeInDownBig",
__("Fade In Left Long","ultimate_vc") => "fadeInLeftBig",
__("Fade In Right Long","ultimate_vc") => "fadeInRightBig",
__("Slide In Down","ultimate_vc") => "slideInDown",
__("Slide In Left","ultimate_vc") => "slideInLeft",
__("Slide In Left","ultimate_vc") => "slideInLeft",
__("Bounce In","ultimate_vc") => "bounceIn",
__("Bounce In Up","ultimate_vc") => "bounceInUp",
__("Bounce In Down","ultimate_vc") => "bounceInDown",
__("Bounce In Left","ultimate_vc") => "bounceInLeft",
__("Bounce In Right","ultimate_vc") => "bounceInRight",
__("Rotate In","ultimate_vc") => "rotateIn",
__("Light Speed In","ultimate_vc") => "lightSpeedIn",
__("Roll In","ultimate_vc") => "rollIn",
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Product Title Color", "ultimate_vc"),
"param_name" => "color_heading",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Categories Color", "ultimate_vc"),
"param_name" => "color_categories",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Price Color", "ultimate_vc"),
"param_name" => "color_price",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Star Ratings Color", "ultimate_vc"),
"param_name" => "color_rating",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Star Rating Background Color", "ultimate_vc"),
"param_name" => "color_rating_bg",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Quick View Icon Color", "ultimate_vc"),
"param_name" => "color_quick",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Quick View Icon Background Color", "ultimate_vc"),
"param_name" => "color_quick_bg",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Cart Icon Color", "ultimate_vc"),
"param_name" => "color_cart",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Cart Icon Background Color", "ultimate_vc"),
"param_name" => "color_cart_bg",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Sale Notification Label Color", "ultimate_vc"),
"param_name" => "color_on_sale",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Sale Notification Background Color", "ultimate_vc"),
"param_name" => "color_on_sale_bg",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Product Description Text Color", "ultimate_vc"),
"param_name" => "color_product_desc",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Product Description Background Color", "ultimate_vc"),
"param_name" => "color_product_desc_bg",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Product Title", "ultimate_vc"),
"param_name" => "size_title",
"value" => "",
"min" => 10,
"max" => 72,
"suffix" => "px",
//"description" => __("", "woocomposer"),
"group" => "Size Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Categories", "ultimate_vc"),
"param_name" => "size_cat",
"value" => "",
"min" => 10,
"max" => 72,
"suffix" => "px",
//"description" => __("", "woocomposer"),
"group" => "Size Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Price", "ultimate_vc"),
"param_name" => "size_price",
"value" => "",
"min" => 10,
"max" => 72,
"suffix" => "px",
//"description" => __("", "woocomposer"),
"group" => "Size Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Sale Notifications", "ultimate_vc"),
"param_name" => "sale_price",
"value" => "",
"min" => 10,
"max" => 72,
"suffix" => "px",
//"description" => __("", "woocomposer"),
"group" => "Size Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Slide to Scroll Setting ", "ultimate_vc"),
"param_name" => "scroll_opts",
"value" => array(
__("Auto","ultimate_vc") => "auto",
__("Custom","ultimate_vc") => "custom",
),
//"description" => __("", "woocomposer"),
"group" => "Carousel Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Number of Slides to Scroll", "ultimate_vc"),
"param_name" => "slides_to_scroll",
"value" => "1",
"min" => 1,
"max" => 10,
"suffix" => "",
"description" => __("The number of slides to move on transition", "ultimate_vc"),
"dependency" => Array("element" => "scroll_opts", "value" => array("custom")),
"group" => "Carousel Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Slide Scrolling Speed", "ultimate_vc"),
"param_name" => "scroll_speed",
"value" => "1000",
"min" => 100,
"max" => 10000,
"suffix" => "ms",
"description" => __("Slide transition duration (in ms)", "ultimate_vc"),
"group" => "Carousel Settings",
),
array(
"type" => "checkbox",
"class" => "",
"heading" => __("Advanced settings -", "ultimate_vc"),
"param_name" => "advanced_opts",
"value" => array(
__("Enable infinite scroll","ultimate_vc")."<br>" => "infinite",
__("Enable navigation dots","ultimate_vc")."<br>" => "dots",
__("Enable auto play","ultimate_vc") => "autoplay",
),
//"description" => __("", "woocomposer"),
"group" => "Carousel Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Autoplay Speed", "ultimate_vc"),
"param_name" => "autoplay_speed",
"value" => "500",
"min" => 100,
"max" => 10000,
"suffix" => "ms",
"description" => __("The amount of time (in ms) between each auto transition", "ultimate_vc"),
"group" => "Carousel Settings",
"dependency" => Array("element" => "advanced_opts", "value" => array("autoplay")),
),
)
)
);
}
} // end WooComposer_Init_Carousel
function WooComposer_Carousel($atts){
$product_style = $slides_to_scroll = $scroll_speed = $advanced_opts = $output = $autoplay_speed = $scroll_opts = '';
extract(shortcode_atts(array(
"product_style" => "style01",
"slides_to_scroll" => "1",
"scroll_speed" => "1000",
"advanced_opts" => "infinite",
"autoplay_speed" => "500",
"scroll_opts" => "auto",
),$atts));
$infinite = $autoplay = $dots = 'false';
$advanced_opts = explode(",", $advanced_opts);
if(in_array("infinite",$advanced_opts)){
$infinite = 'true';
}
if(in_array("autoplay",$advanced_opts)){
$autoplay = 'true';
}
if(in_array("dots",$advanced_opts)){
$dots = 'true';
}
ob_start();
$output .= '<div class="woocommerce">';
if(function_exists('wc_print_notices'))
wc_print_notices();
$output .= ob_get_clean();
$output .= '</div>';
$uid = uniqid();
$output .= '<div id="woo-carousel-'.$uid.'" class="woocomposer_carousel">';
$template = 'design-loop-'.$product_style.'.php';
require_once($template);
$function = 'WooComposer_Loop_'.$product_style;
$output .= $function($atts,'carousel');
$output .= '</div>';
$output .= '<script>
jQuery(document).ready(function(){
var columns = jQuery("#woo-carousel-'.$uid.' > .woocomposer").data("columns");
var slides_scroll_opt = "'.$scroll_opts.'";
var slides_to_scroll;
if(slides_scroll_opt == "custom"){
slides_to_scroll = '.$slides_to_scroll.';
} else {
slides_to_scroll = columns;
}
var inline_vc = jQuery(".woocomposer_carousel").find(".wcmp_vc_inline").length;
if(inline_vc == 0){
jQuery("#woo-carousel-'.$uid.' > .woocomposer").slick({
infinite: '.$infinite.',
slidesToShow: columns,
slidesToScroll: slides_to_scroll,
speed: '.$scroll_speed.',
dots: '.$dots.',
autoplay: '.$autoplay.',
autoplaySpeed: '.$autoplay_speed.',
responsive: [{
breakpoint: 1024,
settings: {
slidesToShow: 3,
slidesToScroll: 3,
infinite: true,
dots: true
}
}, {
breakpoint: 600,
settings: {
slidesToShow: 2,
slidesToScroll: 2
}
}, {
breakpoint: 480,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
}]
});
}
var carousel_set = "{infinite: '.$infinite.',\
slidesToShow: columns,\
slidesToScroll: slides_to_scroll,\
speed: '.$scroll_speed.',\
dots: '.$dots.',\
autoplay: '.$autoplay.',\
autoplaySpeed: '.$autoplay_speed.',\
responsive: [{\
breakpoint: 1024,\
settings: {\
slidesToShow: 3,\
slidesToScroll: 3,\
infinite: true,\
dots: true\
}\
}, {\
breakpoint: 600,\
settings: {\
slidesToShow: 2,\
slidesToScroll: 2\
}\
}, {\
breakpoint: 480,\
settings: {\
slidesToShow: 1,\
slidesToScroll: 1\
}\
}]\
});}";
jQuery("#woo-carousel-'.$uid.'").attr("data-slick", carousel_set);
});
jQuery(window).load(function(){
//jQuery("[data-save=true]").trigger("click");
});
</script>';
return $output;
} // end WooComposer_Carousel
}
new WooComposer_ViewCarousel;
}
@@ -0,0 +1,627 @@
<?php
/*
@Module: Category Grid Layout
@Since: 1.0
@Package: WooComposer
*/
if(!class_exists('WooComposer_Cat_Carousel')){
class WooComposer_Cat_Carousel
{
function __construct(){
add_action('admin_init',array($this,'woocomposer_init_grid'));
add_shortcode('woocomposer_carousel_cat',array($this,'woocomposer_carousel_shortcode'));
} /* end constructor */
function woocomposer_init_grid(){
if(function_exists('vc_map')){
$orderby_arr = array(
__("Date","ultimate_vc") => "date",
__("Title","ultimate_vc") => "title",
__("Product ID","ultimate_vc") => "ID",
__("Name","ultimate_vc") => "name",
__("Price","ultimate_vc") => "price",
__("Sales","ultimate_vc") => "sales",
__("Random","ultimate_vc") => "rand",
);
vc_map(
array(
"name" => __("Categories Carousel", "ultimate_vc"),
"base" => "woocomposer_carousel_cat",
"icon" => "woo_grid",
"class" => "woo_grid",
"category" => __("WooComposer [ Beta ]", "ultimate_vc"),
"description" => __("Display categories in grid view","ultimate_vc"),
"controls" => "full",
"wrapper_class" => "clearfix",
"show_settings_on_create" => true,
"deprecated" => "3.13.5",
"params" => array(
array(
"type" => "number",
"class" => "",
"heading" => __("Number of Categories", "ultimate_vc"),
"param_name" => "number",
"value" => "",
"min" => 1,
"max" => 500,
"suffix" => "",
////"description" => __("","smile"),,
"group" => "Initial Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Number of Columns", "ultimate_vc"),
"param_name" => "columns",
"value" => "",
"min" => 1,
"max" => 6,
"suffix" => "",
////"description" => __("","smile"),,
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Orderby", "ultimate_vc"),
"param_name" => "orderby",
"admin_label" => true,
"value" => $orderby_arr,
////"description" => __("","smile"),,
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Order", "ultimate_vc"),
"param_name" => "order",
"admin_label" => true,
"value" => array(
__("Asending","ultimate_vc") => "asc",
__("Desending","ultimate_vc") => "desc",
),
////"description" => __("","smile"),,
"group" => "Initial Settings",
),
array(
"type" => "ult_switch",
"class" => "",
"heading" => __("Options", "ultimate_vc"),
"param_name" => "options",
"admin_label" => true,
"value" => "",
"options" => array(
"hide_empty" => array(
"label" => __("Hide empty categories","ultimate_vc"),
"on" => __("Yes","ultimate_vc"),
"off" => __("No","ultimate_vc"),
),
"parent" => array(
"label" => __("Display Child Categories","ultimate_vc"),
"on" => __("Yes","ultimate_vc"),
"off" => __("No","ultimate_vc"),
),
"sel_cat" => array(
"label" => __("Select custom categories to display","ultimate_vc"),
"on" => __("Yes","ultimate_vc"),
"off" => __("No","ultimate_vc"),
),
),
////"description" => __("","smile"),,
"group" => "Initial Settings",
),
array(
"type" => "product_categories",
"class" => "",
"heading" => __("Select Categories", "ultimate_vc"),
"param_name" => "ids",
"value" => "",
////"description" => __("","smile"),,
"dependency" => Array("element" => "options", "value" => array("sel_cat")),
"group" => "Initial Settings",
),
array(
"type" => "textfield",
"class" => "",
"heading" => __("Category count text", "ultimate_vc"),
"param_name" => "cat_count",
"value" => "",
////"description" => __("","smile"),,
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Design Style", "ultimate_vc"),
"param_name" => "design_style",
"admin_label" => true,
"value" => array(
__("Style 1","ultimate_vc") => "style01",
__("Style 2","ultimate_vc") => "style02",
__("Style 3","ultimate_vc") => "style03",
),
////"description" => __("","smile"),,
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Product Image Setting", "ultimate_vc"),
"param_name" => "product_img",
"value" => array(
__("Display product featured image","ultimate_vc") => "single",
__("Display product gallery in carousel slider","ultimate_vc") => "carousel",
),
////"description" => __("","smile"),,
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Text Alignment", "ultimate_vc"),
"param_name" => "text_align",
"value" => array(
__("Left","ultimate_vc")=> "left",
__("Center","ultimate_vc")=> "center",
__("Right","ultimate_vc") => "right",
),
//"description" => __("","smile"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Product Border Style", "ultimate_vc"),
"param_name" => "border_style",
"value" => array(
__("None","ultimate_vc")=> "",
__("Solid","ultimate_vc")=> "solid",
__("Dashed","ultimate_vc") => "dashed",
__("Dotted","ultimate_vc") => "dotted",
__("Double","ultimate_vc") => "double",
__("Inset","ultimate_vc") => "inset",
__("Outset","ultimate_vc") => "outset",
),
//"description" => __("","smile"),
"group" => "Initial Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Border Color", "ultimate_vc"),
"param_name" => "border_color",
"value" => "#333333",
////"description" => __("","smile"),,
"dependency" => Array("element" => "border_style", "not_empty" => true),
"group" => "Initial Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Border Size", "ultimate_vc"),
"param_name" => "border_size",
"value" => 1,
"min" => 1,
"max" => 10,
"suffix" => "px",
////"description" => __("","smile"),,
"dependency" => Array("element" => "border_style", "not_empty" => true),
"group" => "Initial Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Border Radius", "ultimate_vc"),
"param_name" => "border_radius",
"value" => 5,
"min" => 1,
"max" => 500,
"suffix" => "px",
////"description" => __("","smile"),,
"dependency" => Array("element" => "border_style", "not_empty" => true),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Image Hover Style", "ultimate_vc"),
"param_name" => "img_animate",
"value" => array(
__("Rotate Clock","ultimate_vc")=> "rotate-clock",
__("Rotate Anti-clock","ultimate_vc")=> "rotate-anticlock",
__("Zoom-In","ultimate_vc") => "zoomin",
__("Zoom-Out","ultimate_vc") => "zoomout",
__("Fade","ultimate_vc") => "fade",
__("Gray Scale","ultimate_vc") => "grayscale",
__("Shadow","ultimate_vc") => "imgshadow",
__("Blur","ultimate_vc") => "blur",
__("Anti Grayscale","ultimate_vc") => "antigrayscale",
),
//"description" => __("","smile"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Animation","ultimate_vc"),
"param_name" => "product_animation",
"value" => array(
__("No Animation","ultimate_vc") => "",
__("Swing","ultimate_vc") => "swing",
__("Pulse","ultimate_vc") => "pulse",
__("Fade In","ultimate_vc") => "fadeIn",
__("Fade In Up","ultimate_vc") => "fadeInUp",
__("Fade In Down","ultimate_vc") => "fadeInDown",
__("Fade In Left","ultimate_vc") => "fadeInLeft",
__("Fade In Right","ultimate_vc") => "fadeInRight",
__("Fade In Up Long","ultimate_vc") => "fadeInUpBig",
__("Fade In Down Long","ultimate_vc") => "fadeInDownBig",
__("Fade In Left Long","ultimate_vc") => "fadeInLeftBig",
__("Fade In Right Long","ultimate_vc") => "fadeInRightBig",
__("Slide In Down","ultimate_vc") => "slideInDown",
__("Slide In Left","ultimate_vc") => "slideInLeft",
__("Slide In Left","ultimate_vc") => "slideInLeft",
__("Bounce In","ultimate_vc") => "bounceIn",
__("Bounce In Up","ultimate_vc") => "bounceInUp",
__("Bounce In Down","ultimate_vc") => "bounceInDown",
__("Bounce In Left","ultimate_vc") => "bounceInLeft",
__("Bounce In Right","ultimate_vc") => "bounceInRight",
__("Rotate In","ultimate_vc") => "rotateIn",
__("Light Speed In","ultimate_vc") => "lightSpeedIn",
__("Roll In","ultimate_vc") => "rollIn",
),
//"description" => __("","smile"),
"group" => "Initial Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Categories Title Background Color", "ultimate_vc"),
"param_name" => "color_categories_bg",
"value" => "",
////"description" => __("","smile"),,
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Categories Title Color", "ultimate_vc"),
"param_name" => "color_categories",
"value" => "",
////"description" => __("","smile"),,
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Category Count Background Color", "ultimate_vc"),
"param_name" => "color_cat_count_bg",
"value" => "",
////"description" => __("","smile"),,
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Category Count Text Color", "ultimate_vc"),
"param_name" => "color_cat_count_color",
"value" => "",
////"description" => __("","smile"),,
"group" => "Style Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Categories Title", "ultimate_vc"),
"param_name" => "size_cat",
"value" => "",
"min" => 10,
"max" => 72,
"suffix" => "px",
////"description" => __("","smile"),,
"group" => "Size Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Slide to Scroll Setting ", "ultimate_vc"),
"param_name" => "scroll_opts",
"value" => array(
__("Auto","ultimate_vc") => "auto",
__("Custom","ultimate_vc") => "custom",
),
////"description" => __("","smile"),,
"group" => "Carousel Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Number of Slides to Scroll", "ultimate_vc"),
"param_name" => "slides_to_scroll",
"value" => "1",
"min" => 1,
"max" => 10,
"suffix" => "",
"description" => __("The number of slides to move on transition", "ultimate_vc"),
"dependency" => Array("element" => "scroll_opts", "value" => array("custom")),
"group" => "Carousel Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Slide Scrolling Speed", "ultimate_vc"),
"param_name" => "scroll_speed",
"value" => "1000",
"min" => 100,
"max" => 10000,
"suffix" => "ms",
"description" => __("Slide transition duration (in ms)", "ultimate_vc"),
"group" => "Carousel Settings",
),
array(
"type" => "ult_switch",
"class" => "",
"heading" => __("Advanced settings -", "ultimate_vc"),
"param_name" => "advanced_opts",
"value" => "",
"options" => array(
"infinite" => array(
"label" => __("Infinite scroll","ultimate_vc"),
"on" => __("Enable","ultimate_vc"),
"off" => __("Disable","ultimate_vc"),
),
"dots" => array(
"label" => __("Navigation dots","ultimate_vc"),
"on" => __("Enable","ultimate_vc"),
"off" => __("Disable","ultimate_vc"),
),
"autoplay" => array(
"label" => __("Slider auto play","ultimate_vc"),
"on" => __("Enable","ultimate_vc"),
"off" => __("Disable","ultimate_vc"),
),
),
////"description" => __("","smile"),,
"group" => "Carousel Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Autoplay Speed", "ultimate_vc"),
"param_name" => "autoplay_speed",
"value" => "500",
"min" => 100,
"max" => 10000,
"suffix" => "ms",
"description" => __("The amount of time (in ms) between each auto transition", "ultimate_vc"),
"group" => "Carousel Settings",
"dependency" => Array("element" => "advanced_opts", "value" => array("autoplay")),
),
)/* vc_map params array */
)/* vc_map parent array */
); /* vc_map call */
} /* vc_map function check */
} /* end woocomposer_init_grid */
function woocomposer_carousel_shortcode($atts){
global $woocommerce_loop;
$number = $orderby = $order = $columns = $options = $parent = $design_style = $text_align = $border_style = $border_color = '';
$border_size = $border_radius = $product_animation = $color_categories = $size_cat = $img_animate = $color_categories_bg = $cat_count = '';
$slides_to_scroll = $scroll_speed = $advanced_opts = $output = $autoplay_speed = $scroll_opts = $color_cat_count_color = $color_cat_count_bg = '';
extract( shortcode_atts( array(
'number' => null,
'orderby' => 'date',
'order' => 'ASC',
'columns' => '4',
'ids' => '',
'options' => '',
'cat_count' => '',
'design_style' => 'style01',
'text_align' => '',
'border_style' => '',
'border_color' => '',
'border_size' => '',
'border_radius' => '',
'product_animation' => '',
'color_categories_bg' => '',
'color_categories' => '',
'color_cat_count_bg' => '',
'color_cat_count_color' => '',
'size_cat' => '',
'slides_to_scroll' => '1',
'scroll_speed' => '1000',
'advanced_opts' => '',
'autoplay_speed' => '500',
'scroll_opts' => '',
'img_animate' => '',
), $atts ) );
$border = $size = $count_style = '';
$opts = explode(",",$options);
$infinite = $autoplay = $dots = 'false';
if($product_animation !== ''){
$product_animation = 'animated '.$product_animation.' ';
}
$uid = uniqid();
$advanced_opts = explode(",", $advanced_opts);
if(in_array("infinite",$advanced_opts)){
$infinite = 'true';
}
if(in_array("autoplay",$advanced_opts)){
$autoplay = 'true';
}
if(in_array("dots",$advanced_opts)){
$dots = 'true';
}
if($color_categories !== ''){
$size .= 'color:'.$color_categories.';';
}
if($color_categories_bg !== ''){
$size .= 'background:'.$color_categories_bg.';';
}
if($size_cat !== ''){
$size .= 'font-size:'.$size_cat.'px;';
}
if($color_cat_count_bg !== ''){
$count_style .= 'background:'.$color_cat_count_bg.';';
}
if($color_cat_count_color !== ''){
$count_style .= 'color:'.$color_cat_count_color.';';
}
if ( isset( $atts[ 'ids' ] ) ) {
$ids = explode( ',', $atts[ 'ids' ] );
$ids = array_map( 'trim', $ids );
} else {
$ids = array();
}
$hide_empty = in_array('hide_empty',$opts) ? 1 : 0;
$parent = in_array('parent',$opts) ? '' : 0;
if($border_style !== ''){
$border .= 'border:'.$border_size.'px '.$border_style.' '.$border_color.';';
$border .= 'border-radius:'.$border_radius.'px;';
}
// get terms and workaround WP bug with parents/pad counts
$args = array(
'orderby' => $orderby,
'order' => $order,
'hide_empty' => $hide_empty,
'include' => $ids,
'pad_counts' => true,
'child_of' => $parent
);
$product_categories = get_terms( 'product_cat', $args );
if ( $parent !== "" ) {
$product_categories = wp_list_filter( $product_categories, array( 'parent' => $parent ) );
}
if ( $hide_empty ) {
foreach ( $product_categories as $key => $category ) {
if ( $category->count == 0 ) {
unset( $product_categories[ $key ] );
}
}
}
if ( $number ) {
$product_categories = array_slice( $product_categories, 0, $number );
}
$woocommerce_loop['columns'] = $columns;
ob_start();
// Reset loop/columns globals when starting a new loop
$woocommerce_loop['loop'] = $woocommerce_loop['column'] = '';
if ( $product_categories ) {
//woocommerce_product_loop_start();
foreach ( $product_categories as $category ) {
$vc_span = '';
if($columns == "2") $vc_span = 'vc_span6 wpb_column column_container';
elseif($columns == "3") $vc_span = 'vc_span4 wpb_column column_container';
elseif($columns == "4") $vc_span = 'vc_span3 wpb_column column_container';
echo '<div id="wcmp-category-'.uniqid().'" class="wooproduct">';
// Store loop count we're currently on
if ( empty( $woocommerce_loop['loop'] ) )
$woocommerce_loop['loop'] = 0;
// Store column count for displaying the grid
if ( empty( $woocommerce_loop['columns'] ) )
$woocommerce_loop['columns'] = apply_filters( 'loop_shop_columns', 4 );
// Increase loop count
$woocommerce_loop['loop']++;
?>
<div class="wcmp-carousel-item <?php $product_animation;?>product-category <?php
if ( ( $woocommerce_loop['loop'] - 1 ) % $woocommerce_loop['columns'] == 0 || $woocommerce_loop['columns'] == 1 )
echo ' first';
if ( $woocommerce_loop['loop'] % $woocommerce_loop['columns'] == 0 )
echo ' last';
?>" style="<?php //echo $border; ?>">
<div class="wcmp-product wcmp-img-<?php echo $img_animate; ?> woocommerce wcmp-cat-<?php echo $design_style; ?>">
<?php do_action( 'woocommerce_before_subcategory', $category ); ?>
<a href="<?php echo get_term_link( $category->slug, 'product_cat' ); ?>" style="text-align:<?php echo $text_align; ?>;">
<div class="wcmp-product-image">
<?php
do_action( 'woocommerce_before_subcategory_title', $category );
?>
</div><!--.wcmp-product-image-->
<h3 style="<?php echo $size; ?>">
<?php
echo $category->name;
if ( $category->count > 0 )
echo apply_filters( 'woocommerce_subcategory_count_html', ' <mark class="count" style="'.$count_style.'">' . $category->count . ' '. $cat_count. '</mark>', $category );
?>
</h3>
<?php
do_action( 'woocommerce_after_subcategory_title', $category );
?>
</a>
<?php do_action( 'woocommerce_after_subcategory', $category ); ?>
</div>
</div>
<?php
echo '</div>';
}
//woocommerce_product_loop_end();
}
woocommerce_reset_loop();
?>
<script type="text/javascript">
jQuery(document).ready(function(e) {
jQuery("#woo-carousel-<?php echo $uid; ?> > .woocomposer").slick({
infinite: <?php echo $infinite; ?>,
slidesToShow: <?php echo $columns; ?>,
slidesToScroll: <?php echo $slides_to_scroll; ?>,
speed: <?php echo $scroll_speed; ?>,
dots: <?php echo $dots; ?>,
autoplay: <?php echo $autoplay; ?>,
autoplaySpeed: <?php echo $autoplay_speed; ?>,
responsive: [{
breakpoint: 1024,
settings: {
slidesToShow: 3,
slidesToScroll: 3,
infinite: true,
dots: true
}
}, {
breakpoint: 600,
settings: {
slidesToShow: 2,
slidesToScroll: 2
}
}, {
breakpoint: 480,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
}]
});
});
</script>
<?php
$output = '<div id="woo-carousel-'.$uid.'" class="woocommerce woocomposer_carousel wcmp-cat-carousel">';
$output .= '<div class="woocomposer" data-columns="'.$columns.'">';
$output .= ob_get_clean();
$output .= '</div>';
$output .= '</div>';
return $output;
}/* end woocomposer_carousel_shortcode */
} /* end class WooComposer_Cat_Carousel */
new WooComposer_Cat_Carousel;
}
@@ -0,0 +1,455 @@
<?php
/*
@Module: Category Grid Layout
@Since: 1.0
@Package: WooComposer
*/
if(!class_exists('WooComposer_Cat_Grid')){
class WooComposer_Cat_Grid
{
function __construct(){
add_action('admin_init',array($this,'woocomposer_init_grid'));
add_shortcode('woocomposer_grid_cat',array($this,'woocomposer_grid_shortcode'));
} /* end constructor */
function woocomposer_init_grid(){
if(function_exists('vc_map')){
$orderby_arr = array(
"Date" => "date",
"Title" => "title",
"Product ID" => "ID",
"Name" => "name",
"Price" => "price",
"Sales" => "sales",
"Random" => "rand",
);
vc_map(
array(
"name" => __("Categories Grid", "ultimate_vc"),
"base" => "woocomposer_grid_cat",
"icon" => "woo_grid",
"class" => "woo_grid",
"category" => __("WooComposer [ Beta ]", "ultimate_vc"),
"description" => __("Display categories in grid view","ultimate_vc"),
"controls" => "full",
"wrapper_class" => "clearfix",
"deprecated" => "3.13.5",
"show_settings_on_create" => true,
"params" => array(
array(
"type" => "number",
"class" => "",
"heading" => __("Number of Categories", "ultimate_vc"),
"param_name" => "number",
"value" => "",
"min" => 1,
"max" => 500,
"suffix" => "",
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Number of Columns", "ultimate_vc"),
"param_name" => "columns",
"value" => "",
"min" => 1,
"max" => 4,
"suffix" => "",
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Orderby", "ultimate_vc"),
"param_name" => "orderby",
"admin_label" => true,
"value" => $orderby_arr,
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Order", "ultimate_vc"),
"param_name" => "order",
"admin_label" => true,
"value" => array(
__("Asending","ultimate_vc") => "asc",
__("Desending","ultimate_vc") => "desc",
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "ult_switch",
"class" => "",
"heading" => __("Options", "ultimate_vc"),
"param_name" => "options",
"admin_label" => true,
"value" => "",
"options" => array(
"hide_empty" => array(
"label" => __("Hide empty categories","ultimate_vc"),
"on" => __("Yes","ultimate_vc"),
"off" => __("No","ultimate_vc"),
),
"parent" => array(
"label" => __("Display Child Categories if availabe in the loop","ultimate_vc"),
"on" => __("Yes","ultimate_vc"),
"off" => __("No","ultimate_vc"),
),
"sel_cat" => array(
"label" => __("Select custom categories to display","ultimate_vc"),
"on" => __("Yes","ultimate_vc"),
"off" => __("No","ultimate_vc"),
),
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "product_categories",
"class" => "",
"heading" => __("Select Categories", "ultimate_vc"),
"param_name" => "ids",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "textfield",
"class" => "",
"heading" => __("Category count text", "ultimate_vc"),
"param_name" => "cat_count",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Design Style", "ultimate_vc"),
"param_name" => "design_style",
"admin_label" => true,
"value" => array(
__("Style 1","ultimate_vc") => "style01",
__("Style 2","ultimate_vc") => "style02",
__("Style 3","ultimate_vc") => "style03",
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Text Alignment", "ultimate_vc"),
"param_name" => "text_align",
"value" => array(
__("Left","ultimate_vc")=> "left",
__("Center","ultimate_vc")=> "center",
__("Right","ultimate_vc") => "right",
),
//"description" => __("","smile"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Product Border Style", "ultimate_vc"),
"param_name" => "border_style",
"value" => array(
__("None","ultimate_vc")=> "",
__("Solid","ultimate_vc")=> "solid",
__("Dashed","ultimate_vc") => "dashed",
__("Dotted","ultimate_vc") => "dotted",
__("Double","ultimate_vc") => "double",
__("Inset","ultimate_vc") => "inset",
__("Outset","ultimate_vc") => "outset",
),
//"description" => __("","smile"),
"group" => "Initial Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Border Color", "ultimate_vc"),
"param_name" => "border_color",
"value" => "#333333",
//"description" => __("", "woocomposer"),
"dependency" => Array("element" => "border_style", "not_empty" => true),
"group" => "Initial Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Border Size", "ultimate_vc"),
"param_name" => "border_size",
"value" => 1,
"min" => 1,
"max" => 10,
"suffix" => "px",
//"description" => __("", "woocomposer"),
"dependency" => Array("element" => "border_style", "not_empty" => true),
"group" => "Initial Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Border Radius", "ultimate_vc"),
"param_name" => "border_radius",
"value" => 5,
"min" => 1,
"max" => 500,
"suffix" => "px",
//"description" => __("", "woocomposer"),
"dependency" => Array("element" => "border_style", "not_empty" => true),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Animation","ultimate_vc"),
"param_name" => "product_animation",
"value" => array(
__("No Animation","ultimate_vc") => "",
__("Swing","ultimate_vc") => "swing",
__("Pulse","ultimate_vc") => "pulse",
__("Fade In","ultimate_vc") => "fadeIn",
__("Fade In Up","ultimate_vc") => "fadeInUp",
__("Fade In Down","ultimate_vc") => "fadeInDown",
__("Fade In Left","ultimate_vc") => "fadeInLeft",
__("Fade In Right","ultimate_vc") => "fadeInRight",
__("Fade In Up Long","ultimate_vc") => "fadeInUpBig",
__("Fade In Down Long","ultimate_vc") => "fadeInDownBig",
__("Fade In Left Long","ultimate_vc") => "fadeInLeftBig",
__("Fade In Right Long","ultimate_vc") => "fadeInRightBig",
__("Slide In Down","ultimate_vc") => "slideInDown",
__("Slide In Left","ultimate_vc") => "slideInLeft",
__("Slide In Left","ultimate_vc") => "slideInLeft",
__("Bounce In","ultimate_vc") => "bounceIn",
__("Bounce In Up","ultimate_vc") => "bounceInUp",
__("Bounce In Down","ultimate_vc") => "bounceInDown",
__("Bounce In Left","ultimate_vc") => "bounceInLeft",
__("Bounce In Right","ultimate_vc") => "bounceInRight",
__("Rotate In","ultimate_vc") => "rotateIn",
__("Light Speed In","ultimate_vc") => "lightSpeedIn",
__("Roll In","ultimate_vc") => "rollIn",
),
//"description" => __("","smile"),
"group" => "Initial Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Categories Title Background Color", "ultimate_vc"),
"param_name" => "color_categories_bg",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Categories Title Color", "ultimate_vc"),
"param_name" => "color_categories",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Categories Title", "ultimate_vc"),
"param_name" => "size_cat",
"value" => "",
"min" => 10,
"max" => 72,
"suffix" => "px",
//"description" => __("", "woocomposer"),
"group" => "Size Settings",
),
)/* vc_map params array */
)/* vc_map parent array */
); /* vc_map call */
} /* vc_map function check */
} /* end woocomposer_init_grid */
function woocomposer_grid_shortcode($atts){
global $woocommerce_loop;
$number = $orderby = $order = $columns = $options = $parent = $design_style = $text_align = $border_style = $border_color = '';
$border_size = $border_radius = $product_animation = $color_categories = $size_cat = $img_animate = $color_categories_bg = '';
$color_cat_count_color = $color_cat_count_bg = $cat_count = '';
extract( shortcode_atts( array(
'number' => null,
'orderby' => 'date',
'order' => 'ASC',
'columns' => '4',
'ids' => '',
'options' => '',
'cat_count' => '',
'design_style' => 'style01',
'text_align' => '',
'border_style' => '',
'border_color' => '',
'border_size' => '',
'border_radius' => '',
'product_animation' => '',
'color_categories_bg' => '',
'color_categories' => '',
'color_cat_count_bg' => '',
'color_cat_count_color' => '',
'size_cat' => '',
'img_animate' => '',
), $atts ) );
$border = $size = $count_style = '';
$opts = explode(",",$options);
if($color_categories !== ''){
$size .= 'color:'.$color_categories.';';
}
if($color_categories_bg !== ''){
$size .= 'background:'.$color_categories_bg.';';
}
if($size_cat !== ''){
$size .= 'font-size:'.$size_cat.'px;';
}
if($color_cat_count_bg !== ''){
$count_style .= 'background:'.$color_cat_count_bg.';';
}
if($color_cat_count_color !== ''){
$count_style .= 'color:'.$color_cat_count_color.';';
}
if ( isset( $atts[ 'ids' ] ) ) {
$ids = explode( ',', $atts[ 'ids' ] );
$ids = array_map( 'trim', $ids );
} else {
$ids = array();
}
$hide_empty = in_array('hide_empty',$opts) ? 1 : 0;
$parent = in_array('parent',$opts) ? '' : 0;
if($border_style !== ''){
$border .= 'border:'.$border_size.'px '.$border_style.' '.$border_color.';';
$border .= 'border-radius:'.$border_radius.'px;';
}
// get terms and workaround WP bug with parents/pad counts
$args = array(
'orderby' => $orderby,
'order' => $order,
'hide_empty' => $hide_empty,
'include' => $ids,
'pad_counts' => true,
'child_of' => $parent
);
$product_categories = get_terms( 'product_cat', $args );
if ( $parent !== "" ) {
$product_categories = wp_list_filter( $product_categories, array( 'parent' => $parent ) );
}
if ( $hide_empty ) {
foreach ( $product_categories as $key => $category ) {
if ( $category->count == 0 ) {
unset( $product_categories[ $key ] );
}
}
}
if ( $number ) {
$product_categories = array_slice( $product_categories, 0, $number );
}
$woocommerce_loop['columns'] = $columns;
ob_start();
// Reset loop/columns globals when starting a new loop
$woocommerce_loop['loop'] = $woocommerce_loop['column'] = '';
if ( $product_categories ) {
//woocommerce_product_loop_start();
echo '<ul class="wcmp-cat-grid products">';
foreach ( $product_categories as $category ) {
// Store loop count we're currently on
if ( empty( $woocommerce_loop['loop'] ) )
$woocommerce_loop['loop'] = 0;
// Store column count for displaying the grid
if ( empty( $woocommerce_loop['columns'] ) )
$woocommerce_loop['columns'] = apply_filters( 'loop_shop_columns', 4 );
// Increase loop count
$woocommerce_loop['loop']++;
?>
<li class="product-category product<?php
if ( ( $woocommerce_loop['loop'] - 1 ) % $woocommerce_loop['columns'] == 0 || $woocommerce_loop['columns'] == 1 )
echo ' first';
if ( $woocommerce_loop['loop'] % $woocommerce_loop['columns'] == 0 )
echo ' last';
?>">
<div class="wcmp-product wcmp-img-<?php echo $img_animate; ?> wcmp-cat-<?php echo $design_style.' animated '.$product_animation; ?>" style="<?php echo $border; ?>">
<?php do_action( 'woocommerce_before_subcategory', $category ); ?>
<a href="<?php echo get_term_link( $category->slug, 'product_cat' ); ?>" style="text-align:<?php echo $text_align; ?>;">
<div class="wcmp-product-image">
<?php
/**
* woocommerce_before_subcategory_title hook
*
* @hooked woocommerce_subcategory_thumbnail - 10
*/
do_action( 'woocommerce_before_subcategory_title', $category );
?>
</div><!--.wcmp-product-image-->
<h3 style="<?php echo $size; ?>">
<?php
echo $category->name;
if ( $category->count > 0 )
echo apply_filters( 'woocommerce_subcategory_count_html', ' <mark class="count" style="'.$count_style.'">' . $category->count . ' '. $cat_count.'</mark>', $category );
?>
</h3>
<?php
/**
* woocommerce_after_subcategory_title hook
*/
do_action( 'woocommerce_after_subcategory_title', $category );
?>
</a>
<?php do_action( 'woocommerce_after_subcategory', $category ); ?>
</div><!--.wcmp-product-->
</li>
<?php
}
woocommerce_product_loop_end();
}
woocommerce_reset_loop();
return '<div class="woocommerce columns-' . $columns . '">' . ob_get_clean() . '</div>';
}/* end woocomposer_grid_shortcode */
} /* end class WooComposer_Cat_Grid */
new WooComposer_Cat_Grid;
}
@@ -0,0 +1,499 @@
<?php
/*
@Module: Grid Layout view
@Since: 1.0
@Package: WooComposer
*/
if(!class_exists('WooComposer_GridView')){
class WooComposer_GridView
{
function __construct(){
add_action('admin_init',array($this,'woocomposer_init_grid'));
add_shortcode('woocomposer_grid',array($this,'woocomposer_grid_shortcode'));
} /* end constructor */
function woocomposer_init_grid(){
if(function_exists('vc_map')){
vc_map(
array(
"name" => __("Products Grid", "woocomposer"),
"base" => "woocomposer_grid",
"icon" => "woo_grid",
"class" => "woo_grid",
"category" => __("WooComposer [ Beta ]", "woocomposer"),
"description" => "Display products in grid view",
"controls" => "full",
"wrapper_class" => "clearfix",
"show_settings_on_create" => true,
"deprecated" => "3.13.5",
"params" => array(
array(
"type" => "woocomposer",
"class" => "",
"heading" => __("Query Builder", "woocomposer"),
"param_name" => "shortcode",
"value" => "",
"module" => "grid",
"labels" => array(
"products_from" => __("Display:","woocomposer"),
"per_page" => __("How Many:","woocomposer"),
"columns" => __("Columns:","woocomposer"),
"order_by" => __("Order By:","woocomposer"),
"order" => __("Display Order:","woocomposer"),
"category" => __("Category:","woocomposer"),
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Product Style", "woocomposer"),
"param_name" => "product_style",
"admin_label" => true,
"value" => array(
"Style 1" => "style01",
"Style 2" => "style02",
"Style 3" => "style03",
/* "Style 4" => "style04", */
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "ult_switch",
"class" => "",
"heading" => "",
"param_name" => "pagination",
"value" => "",
"options" => array(
"enable" => array(
"label" => "Enable Pagination",
"on" => "Yes",
"off" => "No",
),
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "ult_switch",
"class" => "",
"heading" => "",
"param_name" => "lazy_images",
"admin_label" => true,
"value" => "",
"options" => array(
"enable" => array(
"label" => "Enable Lazy Load",
"on" => "Yes",
"off" => "No",
),
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "ult_switch",
"class" => "",
"heading" => __("Select Product Elements to display", "woocomposer"),
"param_name" => "display_elements",
"value" => "",
"options" => array(
"category" => array(
"label" => "Category",
"on" => "Yes",
"off" => "No",
),
"reviews" => array(
"label" => "Reviews",
"on" => "Yes",
"off" => "No",
),
"quick" => array(
"label" => "Quick View",
"on" => "Yes",
"off" => "No",
),
"description" => array(
"label" => "Description",
"on" => "Yes",
"off" => "No",
),
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Select quick view type", "woocomposer"),
"param_name" => "quick_view_style",
"admin_label" => true,
"value" => array(
"Expanding Preview " => "expandable",
"Display in Lightbox" => "popup",
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Product Text Alignment", "woocomposer"),
"param_name" => "text_align",
"value" => array(
"Left"=> "left",
"Center"=> "center",
"Right" => "right",
),
//"description" => __("","smile"),
"group" => "Initial Settings",
),
array(
"type" => "textfield",
"class" => "",
"heading" => __("Sale Notification Label", "woocomposer"),
"param_name" => "label_on_sale",
"value" => "",
"description" => __("Enter custom text for Product On Sale label. Default is - Sale!.", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Sale Notification Style", "woocomposer"),
"param_name" => "on_sale_style",
"admin_label" => true,
"value" => array(
"Circle" => "wcmp-sale-circle",
"Square" => "wcmp-sale-rectangle",
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Sale Notification Alignment", "woocomposer"),
"param_name" => "on_sale_alignment",
"admin_label" => true,
"value" => array(
"Right" => "wcmp-sale-right",
"Left" => "wcmp-sale-left",
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Product Image Setting", "woocomposer"),
"param_name" => "product_img_disp",
"value" => array(
"Display product featured image" => "single",
"Display product gallery in carousel slider" => "carousel",
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Image Hover Style", "woocomposer"),
"param_name" => "img_animate",
"value" => array(
"Rotate Clock"=> "rotate-clock",
"Rotate Anti-clock"=> "rotate-anticlock",
"Zoom-In" => "zoomin",
"Zoom-Out" => "zoomout",
"Fade" => "fade",
"Gray Scale" => "grayscale",
"Shadow" => "imgshadow",
"Blur" => "blur",
"Anti Grayscale" => "antigrayscale",
),
//"description" => __("","smile"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Product Border Style", "woocomposer"),
"param_name" => "border_style",
"value" => array(
"None"=> "",
"Solid"=> "solid",
"Dashed" => "dashed",
"Dotted" => "dotted",
"Double" => "double",
"Inset" => "inset",
"Outset" => "outset",
),
//"description" => __("","smile"),
"group" => "Initial Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Border Color", "woocomposer"),
"param_name" => "border_color",
"value" => "#333333",
//"description" => __("", "woocomposer"),
"dependency" => Array("element" => "border_style", "not_empty" => true),
"group" => "Initial Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Border Size", "woocomposer"),
"param_name" => "border_size",
"value" => 1,
"min" => 1,
"max" => 10,
"suffix" => "px",
//"description" => __("", "woocomposer"),
"dependency" => Array("element" => "border_style", "not_empty" => true),
"group" => "Initial Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Border Radius", "woocomposer"),
"param_name" => "border_radius",
"value" => 5,
"min" => 1,
"max" => 500,
"suffix" => "px",
//"description" => __("", "woocomposer"),
"dependency" => Array("element" => "border_style", "not_empty" => true),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Product Animation","smile"),
"param_name" => "product_animation",
"value" => array(
__("No Animation","smile") => "",
__("Swing","smile") => "swing",
__("Pulse","smile") => "pulse",
__("Fade In","smile") => "fadeIn",
__("Fade In Up","smile") => "fadeInUp",
__("Fade In Down","smile") => "fadeInDown",
__("Fade In Left","smile") => "fadeInLeft",
__("Fade In Right","smile") => "fadeInRight",
__("Fade In Up Long","smile") => "fadeInUpBig",
__("Fade In Down Long","smile") => "fadeInDownBig",
__("Fade In Left Long","smile") => "fadeInLeftBig",
__("Fade In Right Long","smile") => "fadeInRightBig",
__("Slide In Down","smile") => "slideInDown",
__("Slide In Left","smile") => "slideInLeft",
__("Slide In Left","smile") => "slideInLeft",
__("Bounce In","smile") => "bounceIn",
__("Bounce In Up","smile") => "bounceInUp",
__("Bounce In Down","smile") => "bounceInDown",
__("Bounce In Left","smile") => "bounceInLeft",
__("Bounce In Right","smile") => "bounceInRight",
__("Rotate In","smile") => "rotateIn",
__("Light Speed In","smile") => "lightSpeedIn",
__("Roll In","smile") => "rollIn",
),
//"description" => __("","smile"),
"group" => "Initial Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Product Title Color", "woocomposer"),
"param_name" => "color_heading",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Categories Color", "woocomposer"),
"param_name" => "color_categories",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Price Color", "woocomposer"),
"param_name" => "color_price",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Star Ratings Color", "woocomposer"),
"param_name" => "color_rating",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Star Ratings Background Color", "woocomposer"),
"param_name" => "color_rating_bg",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Quick View Icon Color", "woocomposer"),
"param_name" => "color_quick",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Quick View Icon Background Color", "woocomposer"),
"param_name" => "color_quick_bg",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Cart Icon Color", "woocomposer"),
"param_name" => "color_cart",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Cart Icon Background Color", "woocomposer"),
"param_name" => "color_cart_bg",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Sale Notification Label Color", "woocomposer"),
"param_name" => "color_on_sale",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Sale Notification Background Color", "woocomposer"),
"param_name" => "color_on_sale_bg",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Product Description Text Color", "woocomposer"),
"param_name" => "color_product_desc",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Product Description Background Color", "woocomposer"),
"param_name" => "color_product_desc_bg",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Product Title", "woocomposer"),
"param_name" => "size_title",
"value" => "",
"min" => 10,
"max" => 72,
"suffix" => "px",
//"description" => __("", "woocomposer"),
"group" => "Size Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Categories", "woocomposer"),
"param_name" => "size_cat",
"value" => "",
"min" => 10,
"max" => 72,
"suffix" => "px",
//"description" => __("", "woocomposer"),
"group" => "Size Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Price", "woocomposer"),
"param_name" => "size_price",
"value" => "",
"min" => 10,
"max" => 72,
"suffix" => "px",
//"description" => __("", "woocomposer"),
"group" => "Size Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Sale Notification", "woocomposer"),
"param_name" => "sale_price",
"value" => "",
"min" => 10,
"max" => 72,
"suffix" => "px",
//"description" => __("", "woocomposer"),
"group" => "Size Settings",
),
)/* vc_map params array */
)/* vc_map parent array */
); /* vc_map call */
} /* vc_map function check */
} /* end woocomposer_init_grid */
function woocomposer_grid_shortcode($atts){
$product_style = '';
extract(shortcode_atts(array(
"product_style" => "style01",
),$atts));
$output = '';
ob_start();
$output .= '<div class="woocommerce">';
if(function_exists('wc_print_notices'))
wc_print_notices();
$output .= ob_get_clean();
$output .= '</div>';
$uid = uniqid();
$output = '<div id="woo-grid-'.$uid.'" class="woocomposer_grid">';
$template = 'design-loop-'.$product_style.'.php';
require_once($template);
$function = 'WooComposer_Loop_'.$product_style;
$output .= $function($atts,'grid');
$output .= "\n".'</div>';
return $output;
}/* end woocomposer_grid_shortcode */
} /* end class GridView */
new WooComposer_GridView;
}
@@ -0,0 +1,375 @@
<?php
/*
@Module: List view
@Since: 1.0
@Package: WooComposer
*/
if(!class_exists("WooComposer_ViewList")){
class WooComposer_ViewList
{
function __construct(){
add_shortcode('woocomposer_list',array($this,'woocomposer_list_shortcode'));
add_action('admin_init',array($this,'woocomposer_init_grid'));
} /* end constructor */
function woocomposer_init_grid(){
if(function_exists('vc_map')){
vc_map(
array(
"name" => __("Product List", "ultimate_vc"),
"base" => "woocomposer_list",
"icon" => "woo_list",
"class" => "woo_list",
"category" => __("WooComposer [ Beta ]", "ultimate_vc"),
"description" => __("Display products in list view","ultimate_vc"),
"controls" => "full",
"show_settings_on_create" => true,
"deprecated" => "3.13.5",
"params" => array(
array(
"type" => "woocomposer",
"class" => "",
"heading" => __("Query Builder", "ultimate_vc"),
"param_name" => "shortcode",
"value" => "",
"module" => "list",
"labels" => array(
"products_from" => __("Display:","ultimate_vc"),
"per_page" => __("How Many:","ultimate_vc"),
"columns" => __("Columns:","ultimate_vc"),
"order_by" => __("Order By:","ultimate_vc"),
"order" => __("Display Order:","ultimate_vc"),
"category" => __("Category:","ultimate_vc"),
),
//"description" => __("", "woocommerce")
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Image Display", "ultimate_vc"),
"param_name" => "img_position",
"admin_label" => true,
"value" => array(
__("Left","ultimate_vc") => "left",
__("Right","ultimate_vc") => "right",
),
//"description" => __("", "woocommerce"),
),
array(
"type" => "number",
"class" => "",
"heading" => __("Image Width", "ultimate_vc"),
"param_name" => "img_size",
"value" => "",
"min" => 30,
"max" => 300,
"suffix" => "px",
//"description" => __("", "woocommerce")
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Image Border", "ultimate_vc"),
"param_name" => "img_border",
"admin_label" => true,
"value" => array(
__("None","ultimate_vc") => "",
__("Solid","ultimate_vc") => "solid",
__("Dashed","ultimate_vc") => "dashed",
__("Dotted","ultimate_vc") => "dotted",
__("Inset","ultimate_vc") => "inset",
__("Outset","ultimate_vc") => "outset",
),
//"description" => __("", "woocommerce"),
),
array(
"type" => "number",
"class" => "",
"heading" => __("Border Size", "ultimate_vc"),
"param_name" => "border_size",
"value" => "",
"min" => 0,
"max" => 10,
"suffix" => "px",
//"description" => __("", "woocommerce"),
"dependency" => Array("element" => "img_border", "not_empty" => true),
),
array(
"type" => "number",
"class" => "",
"heading" => __("Border Radius", "ultimate_vc"),
"param_name" => "border_radius",
"value" => "",
"min" => 0,
"max" => 500,
"suffix" => "px",
//"description" => __("", "woocommerce"),
"dependency" => Array("element" => "img_border", "not_empty" => true),
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Border Color", "ultimate_vc"),
"param_name" => "border_color",
"value" => "",
//"description" => __("", "woocommerce"),
"dependency" => Array("element" => "img_border", "not_empty" => true),
),
array(
"type" => "number",
"class" => "",
"heading" => __("Product Title Font Size", "ultimate_vc"),
"param_name" => "title_font",
"value" => "",
"min" => 10,
"max" => 72,
"suffix" => "px",
//"description" => __("", "woocommerce"),
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Product Title Color", "ultimate_vc"),
"param_name" => "title_color",
"value" => "",
//"description" => __("", "woocommerce"),
),
array(
"type" => "number",
"class" => "",
"heading" => __("Product Price Font Size", "ultimate_vc"),
"param_name" => "price_font",
"value" => "",
"min" => 10,
"max" => 72,
"suffix" => "px",
//"description" => __("", "woocommerce"),
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Product Price Color", "ultimate_vc"),
"param_name" => "price_color",
"value" => "",
//"description" => __("", "woocommerce"),
),
array(
"type" => "number",
"class" => "",
"heading" => __("Star Rating Font Size", "ultimate_vc"),
"param_name" => "rating_font",
"value" => "",
"min" => 10,
"max" => 72,
"suffix" => "px",
//"description" => __("", "woocommerce"),
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Star Ratings Color", "ultimate_vc"),
"param_name" => "rating_color",
"value" => "",
//"description" => __("", "woocommerce"),
),
)/* vc_map params array */
)/* vc_map parent array */
); /* vc_map call */
} /* vc_map function check */
} /* end woocomposer_init_grid */
function woocomposer_list_shortcode($atts){
global $woocommerce;
$img_position = $img_size = $img_border = $border_size = $border_radius = $border_color = $title_font = $price_font = $price_color = $rating_color = $rating_font = $shortcode = '';
extract(shortcode_atts(array(
"img_position" => "left",
"shortcode" => "",
"img_size" => "",
"img_border" => "",
"border_size" => "",
"border_radius" => "",
"border_color" => "",
"title_color" => "",
"title_font" => "",
"price_font" => "",
"price_color" => "",
"rating_color" => "",
"rating_font" => "",
),$atts));
$output = $on_sale = $style = $title_style = $pricing_style = $rating_style = '';
if($img_size !== ""){
$style .= 'width:'.$img_size.'px; height:'.$img_size.'px;';
}
if($title_color !== ""){
$title_style .= 'color:'.$title_color.';';
}
if($title_font !== ""){
$title_style .= 'font-size:'.$title_font.'px;';
}
if($img_border !== ''){
$style .= 'border-style:'.$img_border.';';
if($border_size !== ''){
$style .= 'border-width:'.$border_size.'px;';
}
if($border_color !== ''){
$style .= 'border-color:'.$border_color.';';
}
if($border_radius !== ''){
$style .= 'border-radius:'.$border_radius.'px;';
}
}
if($price_font !== ""){
$pricing_style .= 'font-size:'.$price_font.'px;';
}
if($price_color !== ""){
$pricing_style .= 'color:'.$price_color.';';
}
if($rating_color !== ""){
$rating_style .= 'color:'.$rating_color.';';
}
if($rating_font !== ""){
$rating_style .= 'font-size:'.$rating_font.'px;';
}
$post_count = '12';
$output .= '<div class="woocomposer_list woocommerce">';
/* $output .= do_shortcode($content); */
$pattern = get_shortcode_regex();
if($shortcode !== ''){
$new_shortcode = rawurldecode( base64_decode( strip_tags( $shortcode ) ) );
}
preg_match_all("/".$pattern."/",$new_shortcode,$matches);
$shortcode_str = str_replace('"','',str_replace(" ","&",trim($matches[3][0])));
parse_str($shortcode_str, $short_atts);//explode("&",$shortcode_str);
if(isset($matches[2][0])): $display_type = $matches[2][0]; else: $display_type = ''; endif;
if(!isset($columns)): $columns = '4'; endif;
if(isset($per_page)): $post_count = $per_page; endif;
if(isset($number)): $post_count = $number; endif;
if(!isset($order)): $order = 'ASC'; endif;
if(!isset($orderby)): $orderby = 'date'; endif;
if(!isset($category)): $category = ''; endif;
if(!isset($ids)): $ids = ''; endif;
if($ids){
$ids = explode( ',', $ids );
$ids = array_map( 'trim', $ids );
}
if($columns == "2") $columns = 6;
elseif($columns == "3") $columns = 4;
elseif($columns == "4") $columns = 3;
$meta_query = '';
if($display_type == "recent_products"){
$meta_query = WC()->query->get_meta_query();
}
if($display_type == "featured_products"){
$meta_query = array(
array(
'key' => '_visibility',
'value' => array('catalog', 'visible'),
'compare' => 'IN'
),
array(
'key' => '_featured',
'value' => 'yes'
)
);
}
if($display_type == "top_rated_products"){
add_filter( 'posts_clauses', array( WC()->query, 'order_by_rating_post_clauses' ) );
$meta_query = WC()->query->get_meta_query();
}
$args = array(
'post_type' => 'product',
'post_status' => 'publish',
'ignore_sticky_posts' => 1,
'posts_per_page' => $post_count,
'orderby' => $orderby,
'order' => $order,
'meta_query' => $meta_query
);
if($display_type == "sale_products"){
$product_ids_on_sale = woocommerce_get_product_ids_on_sale();
$meta_query = array();
$meta_query[] = $woocommerce->query->visibility_meta_query();
$meta_query[] = $woocommerce->query->stock_status_meta_query();
$args['meta_query'] = $meta_query;
$args['post__in'] = $product_ids_on_sale;
}
if($display_type == "best_selling_products"){
$args['meta_key'] = 'total_sales';
$args['orderby'] = 'meta_value_num';
$args['meta_query'] = array(
array(
'key' => '_visibility',
'value' => array( 'catalog', 'visible' ),
'compare' => 'IN'
)
);
}
if($display_type == "product_category"){
$args['tax_query'] = array(
array(
'taxonomy' => 'product_cat',
'terms' => array( esc_attr( $category ) ),
'field' => 'slug',
'operator' => 'IN'
)
);
}
if($display_type == "product_categories"){
$args['tax_query'] = array(
array(
'taxonomy' => 'product_cat',
'terms' => $ids,
'field' => 'term_id',
'operator' => 'IN'
)
);
}
$query = new WP_Query( $args );
$output .= '<ul class="wcmp-product-list wcmp-img-'.$img_position.' '.$order.'">';
if($query->have_posts()):
while ( $query->have_posts() ) : $query->the_post();
$product_id = get_the_ID();
$post = get_post($product_id);
$product_title = get_the_title();
$product = new WC_Product( $product_id );
$attachment_ids = $product->get_gallery_attachment_ids();
$price = $product->get_price_html();
$rating = $product->get_rating_html();
$product_var = new WC_Product_Variable( $product_id );
$available_variations = $product_var->get_available_variations();
$output .= '<li>';
$output .= '<a href="'.get_permalink($product_id).'">';
$product_img = wp_get_attachment_image_src( get_post_thumbnail_id($product_id),'full');
$output .= '<img style="'.$style.'" src="'.$product_img[0].'"/>';
$output .= '<span style="'.$title_style.'">'.$product_title.'</span>';
$output .= '</a>';
if($display_type == "top_rated_products"){
$output .= '<div style="'.$rating_style.'">'.$rating.'</div>';
}
$output .= '<span class="amount" style="'.$pricing_style.'">'.$price.'</span>';
$output .= '</li>';
endwhile;
endif;
$output .= "\n".'</ul>';
$output .= "\n".'</div>';
if($display_type == "top_rated_products"){
remove_filter( 'posts_clauses', array( WC()->query, 'order_by_rating_post_clauses' ) );
}
wp_reset_postdata();
return $output;
}/* end woocomposer_list_shortcode */
}
new WooComposer_ViewList;
}
if(class_exists('WPBakeryShortCode'))
{
class WPBakeryShortCode_woocomposer_list extends WPBakeryShortCode {
}
}
@@ -0,0 +1,411 @@
<?php
/*
@Module: Single Product view
@Since: 1.0
@Package: WooComposer
*/
if(!class_exists('WooComposer_ViewProduct')){
class WooComposer_ViewProduct
{
function __construct(){
add_action('admin_init',array($this,'WooComposer_Init_Product'));
add_shortcode('woocomposer_product',array($this,'WooComposer_Product'));
}
function WooComposer_Init_Product(){
if(function_exists('vc_map')){
$params =
array(
"name" => __("Single Product", "ultimate_vc"),
"base" => "woocomposer_product",
"icon" => "woo_product",
"class" => "woo_product",
"category" => __("WooComposer [ Beta ]", "ultimate_vc"),
"description" => __("Display single product from list","ultimate_vc"),
"controls" => "full",
"show_settings_on_create" => true,
"deprecated" => "3.13.5",
"params" => array(
array(
"type" => "product_search",
"class" => "",
"heading" => __("Select Product", "ultimate_vc"),
"param_name" => "product_id",
"admin_label" => true,
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Select Product Style", "ultimate_vc"),
"param_name" => "product_style",
"admin_label" => true,
"value" => array(
__("Style 01","ultimate_vc") => "style01",
__("Style 02","ultimate_vc") => "style02",
__("Style 03","ultimate_vc") => "style03",
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "ult_switch",
"class" => "",
"heading" => __("Select Options to Display", "ultimate_vc"),
"param_name" => "options",
"admin_label" => true,
"value" => "",
"options" => array(
"category" => array(
"label" => __("Category","ultimate_vc"),
"on" => __("Yes","ultimate_vc"),
"off" => __("No","ultimate_vc"),
),
"reviews" => array(
"label" => __("Reviews","ultimate_vc"),
"on" => __("Yes","ultimate_vc"),
"off" => __("No","ultimate_vc"),
),
"quick" => array(
"label" => __("Quick View","ultimate_vc"),
"on" => __("Yes","ultimate_vc"),
"off" => __("No","ultimate_vc"),
),
"description" => array(
"label" => __("Description","ultimate_vc"),
"on" => __("Yes","ultimate_vc"),
"off" => __("No","ultimate_vc"),
),
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Product Text Alignment", "ultimate_vc"),
"param_name" => "text_align",
"value" => array(
__("Left","ultimate_vc")=> "left",
__("Center","ultimate_vc")=> "center",
__("Right","ultimate_vc") => "right",
),
//"description" => __("","smile"),
"group" => "Initial Settings",
),
array(
"type" => "textfield",
"class" => "",
"heading" => __("Sale Notification Label", "ultimate_vc"),
"param_name" => "label_on_sale",
"value" => "",
"description" => __("Enter custom text for Product On Sale label. Default is - Sale!.", "ultimate_vc"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Sale Notification Style", "ultimate_vc"),
"param_name" => "on_sale_style",
"admin_label" => true,
"value" => array(
__("Circle","ultimate_vc") => "wcmp-sale-circle",
__("Rectangle","ultimate_vc") => "wcmp-sale-rectangle",
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Sale Notification Alignment", "ultimate_vc"),
"param_name" => "on_sale_alignment",
"admin_label" => true,
"value" => array(
__("Right","ultimate_vc") => "wcmp-sale-right",
__("Left","ultimate_vc") => "wcmp-sale-left",
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Product Image Setting", "ultimate_vc"),
"param_name" => "product_img_disp",
"value" => array(
__("Display product featured image","ultimate_vc") => "single",
__("Display product gallery in carousel slider","ultimate_vc") => "carousel",
),
//"description" => __("", "woocomposer"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Image Hover Animation", "ultimate_vc"),
"param_name" => "img_animate",
"value" => array(
__("Rotate Clock","ultimate_vc")=> "rotate-clock",
__("Rotate Anti-clock","ultimate_vc")=> "rotate-anticlock",
__("Zoom-In","ultimate_vc") => "zoomin",
__("Zoom-Out","ultimate_vc") => "zoomout",
__("Fade","ultimate_vc") => "fade",
__("Gray Scale","ultimate_vc") => "grayscale",
__("Shadow","ultimate_vc") => "imgshadow",
__("Blur","ultimate_vc") => "blur",
__("Anti Grayscale","ultimate_vc") => "antigrayscale",
),
//"description" => __("","smile"),
"group" => "Initial Settings",
),
array(
"type" => "dropdown",
"class" => "",
"heading" => __("Product Border Style", "ultimate_vc"),
"param_name" => "border_style",
"value" => array(
__("None","ultimate_vc")=> "",
__("Solid","ultimate_vc")=> "solid",
__("Dashed","ultimate_vc") => "dashed",
__("Dotted","ultimate_vc") => "dotted",
__("Double","ultimate_vc") => "double",
__("Inset","ultimate_vc") => "inset",
__("Outset","ultimate_vc") => "outset",
),
//"description" => __("","smile"),
"group" => "Initial Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Border Color", "ultimate_vc"),
"param_name" => "border_color",
"value" => "#333333",
//"description" => __("", "woocomposer"),
"dependency" => Array("element" => "border_style", "not_empty" => true),
"group" => "Initial Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Border Width", "ultimate_vc"),
"param_name" => "border_size",
"value" => 1,
"min" => 1,
"max" => 10,
"suffix" => "px",
//"description" => __("", "woocomposer"),
"dependency" => Array("element" => "border_style", "not_empty" => true),
"group" => "Initial Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Border Radius", "ultimate_vc"),
"param_name" => "border_radius",
"value" => 5,
"min" => 1,
"max" => 500,
"suffix" => "px",
//"description" => __("", "woocomposer"),
"dependency" => Array("element" => "border_style", "not_empty" => true),
"group" => "Initial Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Product Title Color", "ultimate_vc"),
"param_name" => "color_heading",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Categories Color", "ultimate_vc"),
"param_name" => "color_categories",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Price Color", "ultimate_vc"),
"param_name" => "color_price",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Star Ratings Color", "ultimate_vc"),
"param_name" => "color_rating",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Star Rating Background Color", "ultimate_vc"),
"param_name" => "color_rating_bg",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Quick View Icon Color", "ultimate_vc"),
"param_name" => "color_quick",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Quick View Background Color", "ultimate_vc"),
"param_name" => "color_quick_bg",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Cart Icon Color", "ultimate_vc"),
"param_name" => "color_cart",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Cart Button Background Color", "ultimate_vc"),
"param_name" => "color_cart_bg",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Sale Notification Text Color", "ultimate_vc"),
"param_name" => "color_on_sale",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Sale Notification Background Color", "ultimate_vc"),
"param_name" => "color_on_sale_bg",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Product Description Text Color", "ultimate_vc"),
"param_name" => "color_product_desc",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "colorpicker",
"class" => "",
"heading" => __("Product Description Background Color", "ultimate_vc"),
"param_name" => "color_product_desc_bg",
"value" => "",
//"description" => __("", "woocomposer"),
"group" => "Style Settings",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Product Title", "ultimate_vc"),
"param_name" => "size_title",
"value" => "",
"min" => 10,
"max" => 72,
"suffix" => "px",
//"description" => __("", "woocomposer"),
"group" => "Font Sizes",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Categories", "ultimate_vc"),
"param_name" => "size_cat",
"value" => "",
"min" => 10,
"max" => 72,
"suffix" => "px",
//"description" => __("", "woocomposer"),
"group" => "Font Sizes",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Price", "ultimate_vc"),
"param_name" => "size_price",
"value" => "",
"min" => 10,
"max" => 72,
"suffix" => "px",
//"description" => __("", "woocomposer"),
"group" => "Font Sizes",
),
array(
"type" => "number",
"class" => "",
"heading" => __("Sale Notification", "ultimate_vc"),
"param_name" => "sale_price",
"value" => "",
"min" => 10,
"max" => 72,
"suffix" => "px",
//"description" => __("", "woocomposer"),
"group" => "Font Sizes",
),
)
);
vc_map($params);
}
}
function WooComposer_Product($atts){
$product_style = '';
extract(shortcode_atts(array(
"product_style" => "style01",
),$atts));
$output = '';
ob_start();
$output .= '<div class="woocommerce woo-msg">';
if(function_exists('wc_print_notices'))
wc_print_notices();
$output .= ob_get_clean();
$output .= '</div>';
$template = 'design-single-'.$product_style.'.php';
require_once($template);
$function = 'WooComposer_Single_'.$product_style;
$output .= $function($atts);
return $output;
}
}
new WooComposer_ViewProduct;
}
@@ -0,0 +1,35 @@
<?php
function woocomposer_pagination($pages = '', $range = 2)
{
ob_start();
$showitems = ($range * 2)+1;
global $paged;
if(empty($paged)) $paged = 1;
if($pages == '')
{
global $wp_query;
$pages = $wp_query->max_num_pages;
if(!$pages)
{
$pages = 1;
}
}
if(1 != $pages)
{
echo "<div class='wcmp-pagination'>";
if($paged > 2 && $paged > $range+1 && $showitems < $pages) echo "<a href='".get_pagenum_link(1)."'>&laquo;</a>";
if($paged > 1 && $showitems < $pages) echo "<a href='".get_pagenum_link($paged - 1)."'>&lsaquo;</a>";
for ($i=1; $i <= $pages; $i++)
{
if (1 != $pages &&( !($i >= $paged+$range+1 || $i <= $paged-$range-1) || $pages <= $showitems ))
{
echo ($paged == $i)? "<span class='current'>".$i."</span>":"<a href='".get_pagenum_link($i)."' class='inactive' >".$i."</a>";
}
}
if ($paged < $pages && $showitems < $pages) echo "<a href='".get_pagenum_link($paged + 1)."'>&rsaquo;</a>";
if ($paged < $pages-1 && $paged+$range-1 < $pages && $showitems < $pages) echo "<a href='".get_pagenum_link($pages)."'>&raquo;</a>";
echo "</div>\n";
}
return ob_get_clean();
}
@@ -0,0 +1,331 @@
<?php
if(!defined("WOOCOMPOSER_VERSION")){
define("WOOCOMPOSER_VERSION",'1.0');
}
if(!class_exists("WooComposer")){
class WooComposer{
var $module_dir;
function __construct()
{
$this->module_dir = plugin_dir_path( __FILE__ ).'modules/';
add_action('admin_enqueue_scripts',array($this,'admin_scripts'));
add_action('wp_enqueue_scripts',array($this,'front_scripts'),1);
add_action('admin_init',array($this,'generate_shortcode_params'));
} /* end constructor */
function generate_shortcode_params(){
/* Generate param type "woocomposer" */
if(defined('WPB_VC_VERSION') && version_compare(WPB_VC_VERSION, 4.8) >= 0) {
if(function_exists('vc_add_shortcode_param'))
{
vc_add_shortcode_param('woocomposer', array($this,'woo_query_builder'), plugins_url("admin/js/mapping.js",__FILE__));
vc_add_shortcode_param('product_search', array($this,'woo_product_search'));
vc_add_shortcode_param('product_categories', array($this,'woo_product_categories'));
}
}
else {
if(function_exists('add_shortcode_param')) {
add_shortcode_param('woocomposer', array($this,'woo_query_builder'), plugins_url("admin/js/mapping.js",__FILE__));
add_shortcode_param('product_search', array($this,'woo_product_search'));
add_shortcode_param('product_categories', array($this,'woo_product_categories'));
}
}
}
function woo_query_builder($settings, $value)
{
$output = $asc = $desc = $post_count = $shortcode_str = $cat_id = '';
$labels = isset($settings['labels']) ? $settings['labels'] : '';
$pattern = get_shortcode_regex();
if($value !== ""){
$shortcode = rawurldecode( base64_decode( strip_tags( $value ) ) );
preg_match_all("/".$pattern."/",$shortcode,$matches);
$shortcode_str = str_replace('"','',str_replace(" ","&",trim($matches[3][0])));
}
parse_str($shortcode_str, $short_atts);//explode("&",$shortcode_str);
if(isset($matches[2][0])): $display_type = $matches[2][0]; else: $display_type = ''; endif;
if(!isset($columns)): $columns = '4'; endif;
if(!isset($per_page)): $post_count = '12'; else: $post_count = $per_page; endif;
if(!isset($number)): $per_page = '12'; else: $post_count = $number; endif;
if(!isset($order)): $order = 'asc'; endif;
if(!isset($orderby)): $orderby = 'date'; endif;
if(!isset($category)): $category = ''; endif;
$catObj = get_term_by('name',$category,'product_cat');
if(is_object($catObj)){
$cat_id = $catObj->term_id;
}
$param_name = isset($settings['param_name']) ? $settings['param_name'] : '';
$type = isset($settings['type']) ? $settings['type'] : '';
$class = isset($settings['class']) ? $settings['class'] : '';
$module = isset($settings['module']) ? $settings['module'] : '';
$displays = array(
__("Recent products","ultimate_vc") => "recent_products",
__("Featured Products","ultimate_vc") => "featured_products",
__("Top Rated Products","ultimate_vc") => "top_rated_products",
__("Product Category","ultimate_vc") => "product_category",
__("Product Categories","ultimate_vc") => "product_categories",
__("Products on Sale","ultimate_vc") => "sale_products",
__("Best Selling Products","ultimate_vc") => "best_selling_products",
);
$orderby_arr = array(
__("Date","ultimate_vc") => "date",
__("Title","ultimate_vc") => "title",
__("Product ID","ultimate_vc") => "ID",
__("Name","ultimate_vc") => "name",
__("Price","ultimate_vc") => "price",
__("Sales","ultimate_vc") => "sales",
__("Random","ultimate_vc") => "rand",
);
$output .= '<div class="display_type"><label for="display_type"><strong>'.__($labels['products_from'],'ultimate_vc').'</strong></label>';
$output .='<select id="display_type">';
foreach($displays as $title => $display){
if($display == $display_type)
$output .= '<option value="'.$display.'" selected="selected">'.__($title,'ultimate_vc').'</option>';
else
$output .= '<option value="'.$display.'">'.__($title,'ultimate_vc').'</option>';
}
$output .= '</select></div>';
$output .= '<div class="per_page"><label for="per_page"><strong>'.__($labels['per_page'],'ultimate_vc').'</strong></label>';
$output .= '<input type="number" min="2" max="1000" id="per_page" value="'.$post_count.'"></div>';
if($module == "grid"){
$output .= '<div class="columns"><label for="columns"><strong>'.__($labels['columns'],'ultimate_vc').'</strong></label>';
$output .= '<input type="number" min="2" max="4" id="columns" value="'.$columns.'"></div>';
}
$output .= '<div class="orderby"><label for="orderby"><strong>'.__($labels['order_by'],'ultimate_vc').'</strong></label>';
$output .= '<select id="orderby">';
foreach($orderby_arr as $key => $val){
if($orderby == $val)
$output .= '<option value="'.$val.'" selected="selected">'.__($key,'ultimate_vc').'</option>';
else
$output .= '<option value="'.$val.'">'.__($key,'ultimate_vc').'</option>';
}
$output .= '</select></div>';
$output .= '<div class="order"><label for="order"><strong>'.__($labels['order'],'ultimate_vc').'</strong></label>';
$output .= '<select id="order">';
if($order == "asc")
$asc = 'selected="selected"';
else
$desc = 'selected="selected"';
$output .= '<option value="asc" '.$asc.'>'.__('Ascending','ultimate_vc').'</option>';
$output .= '<option value="desc" '.$desc.'>'.__('Descending','ultimate_vc').'</option>';
$output .= '</select></div>';
$output .= '<div class="cat"><label for="cat"><strong>'.__($labels['category'],'ultimate_vc').'</strong></label>';
$output .= wp_dropdown_categories( array('taxonomy'=>'product_cat','selected'=>$cat_id,'echo' => false,)).'</div>';
$output .= '<!-- '.$value.' -->';
$output .= "<input type='hidden' name='".$param_name."' value='".$value."' class='wpb_vc_param_value ".$param_name." ".$type." ".$class."' id='shortcode'>";
return $output;
} /* end woo_query_builder */
function woo_product_search($settings, $value){
$param_name = isset($settings['param_name']) ? $settings['param_name'] : '';
$type = isset($settings['type']) ? $settings['type'] : '';
$class = isset($settings['class']) ? $settings['class'] : '';
$products_array = new WP_Query(array(
'post_type' => 'product',
'posts_per_page' => -1,
'post_status' => 'publish'
));
$output = '';
$output .= '<select id="products" name="'.$param_name.'" class="wpb_vc_param_value '.$param_name.' '.$type.' '.$class.'">';
while ($products_array->have_posts()) : $products_array->the_post();
if($value == get_the_ID()){
$selected = "selected='selected'";
} else {
$selected = '';
}
$output .= '<option '.$selected.' value="'.get_the_ID().'">'.__(get_the_title(),'ultimate_vc').'</option>';
endwhile;
$output .= '</select>';
// Disable WooComposer select2 js to break incompatibility with WooCommerce 3.0.0 +
// $output .= '<script type="text/javascript">
// jQuery(document).ready(function(){
// if ( jQuery(".wpb_el_type_product_search #products").data("select2") ) {
// jQuery(".wpb_el_type_product_search #products").select2("destroy");
// }
// // WooComposer is depracated.
// // jQuery(".wpb_el_type_product_search #products").select2({
// // placeholder: "Select a Product",
// // allowClear: true
// // });
// });
// </script>';
return $output;
} /* end woo_product_search */
function woo_product_categories($settings, $value){
$param_name = isset($settings['param_name']) ? $settings['param_name'] : '';
$type = isset($settings['type']) ? $settings['type'] : '';
$class = isset($settings['class']) ? $settings['class'] : '';
$product_categories = get_terms( 'product_cat', '' );
$output = $selected = $ids = '';
if ( $value !== '' ) {
$ids = explode( ',', $value );
$ids = array_map( 'trim', $ids );
} else {
$ids = array();
}
$output .= '<select id="sel2_cat" multiple="multiple" style="min-width:200px;">';
foreach($product_categories as $cat){
if(in_array($cat->term_id, $ids)){
$selected = 'selected="selected"';
} else {
$selected = '';
}
$output .= '<option '.$selected.' value="'.$cat->term_id.'">'. __($cat->name,'ultimate_vc') .'</option>';
}
$output .= '</select>';
$output .= "<input type='hidden' name='".$param_name."' value='".$value."' class='wpb_vc_param_value ".$param_name." ".$type." ".$class."' id='sel_cat'>";
// Disable WooComposer select2 js to break incompatibility with WooCommerce 3.0.0 +
// $output .= '<script type="text/javascript">
// jQuery("#sel2_cat").select2({
// placeholder: "Select Categories",
// allowClear: true
// });
// jQuery("#sel2_cat").on("change",function(){
// jQuery("#sel_cat").val(jQuery(this).val());
// });
// </script>';
return $output;
} /* end woo_product_categories*/
function admin_scripts($hook)
{
if($hook == "post.php" || $hook == "post-new.php"){
if(defined('WOOCOMMERCE_VERSION') && version_compare( '2.1.0', WOOCOMMERCE_VERSION, '<' )) {
$bsf_dev_mode = bsf_get_option('dev_mode');
if($bsf_dev_mode === 'enable') {
wp_register_style("woocomposer-admin",plugins_url("admin/css/admin.css",__FILE__));
wp_register_style("woocomposer-select2-bootstrap",plugins_url("admin/css/select2-bootstrap.css",__FILE__));
wp_register_style("woocomposer-select2",plugins_url("admin/css/select2.css",__FILE__));
wp_enqueue_style("woocomposer-admin");
// Disable WooComposer select2 js to break incompatibility with WooCommerce 3.0.0 +
// wp_enqueue_style("woocomposer-select2-bootstrap");
// wp_enqueue_style("woocomposer-select2");
// wp_register_script("woocomposer-select2-js",plugins_url("admin/js/select2.js",__FILE__),array('jquery'),'',true);
// wp_enqueue_script("woocomposer-select2-js");
}
else {
// Disable WooComposer select2 js to break incompatibility with WooCommerce 3.0.0 +
// wp_register_style("woocomposer-admin-style",plugins_url("admin/css/ultimate-woocomposer-backend.min.css",__FILE__));
// wp_enqueue_style("woocomposer-admin-style");
// wp_enqueue_script("woocomposer-admin-script",plugins_url("admin/js/ultimate-woocomposer-backend.min.js",__FILE__),array('jquery'),'',true);
// wp_enqueue_style("woocomposer-admin-script");
}
}
}
} /* end admin scripts */
function front_scripts($post)
{
if(!is_404() && !is_search() && !is_archive()){
global $post;
$count = 0;
if ( NULL !== $post ) {
$content = $post->post_content;
$shortcodes = array('woocomposer_product','woocomposer_list','woocomposer_grid','woocomposer_grid_cat','woocomposer_carousel_cat','woocomposer_carousel');
foreach($shortcodes as $shortcode){
if(has_shortcode($content, $shortcode)) {
$count++;
}
}
wp_register_script('woocomposer-unveil',plugins_url('assets/js/unveil.js',__FILE__),array('jquery'),WOOCOMPOSER_VERSION,true);
wp_register_script('woocomposer-slick',plugins_url('assets/js/slick.js',__FILE__),array('jquery'),WOOCOMPOSER_VERSION,true);
wp_register_script('woocomposer-js',plugins_url('assets/js/custom.js',__FILE__),array('jquery','woocomposer-slick'),WOOCOMPOSER_VERSION,true);
wp_register_style('woocomposer-front',plugins_url('assets/css/style.css',__FILE__),array(),WOOCOMPOSER_VERSION);
wp_register_style('woocomposer-front-wooicon',plugins_url('assets/css/wooicon.css',__FILE__),array(),WOOCOMPOSER_VERSION);
wp_register_style('woocomposer-front-slick',plugins_url('assets/css/slick.css',__FILE__),array(),WOOCOMPOSER_VERSION);
wp_register_style('woocomposer-animate',plugins_url('assets/css/animate.min.css',__FILE__),array(),WOOCOMPOSER_VERSION);
wp_register_script('woocomposer-script',plugins_url('assets/js/woocomposer.min.js',__FILE__),array('jquery'),WOOCOMPOSER_VERSION,true);
wp_register_style('woocomposer-style',plugins_url('assets/css/woocomposer.min.css',__FILE__),array(),WOOCOMPOSER_VERSION);
if(defined('WOOCOMMERCE_VERSION') && version_compare( '2.1.0', WOOCOMMERCE_VERSION, '<' ) && $count !== 0) {
$ultimate_css = get_option('ultimate_css');
$bsf_dev_mode = bsf_get_option('dev_mode');
if($ultimate_css == "enable" && $bsf_dev_mode !== 'enable'){
wp_enqueue_style("woocomposer-style");
}
else {
wp_enqueue_style("woocomposer-front");
wp_enqueue_style("woocomposer-front-wooicon");
wp_enqueue_style("woocomposer-front-slick");
wp_enqueue_style("woocomposer-animate");
}
$ultimate_js = get_option('ultimate_js');
wp_enqueue_script('jquery');
if($ultimate_js == 'enable') {
wp_enqueue_script("woocomposer-script");
}
else {
wp_enqueue_script("woocomposer-unveil");
wp_enqueue_script("woocomposer-slick");
wp_enqueue_script("woocomposer-js");
}
}
}
}
}/* end front_scripts */
}
new WooComposer;
add_action('admin_init','init_woocomposer');
function init_woocomposer()
{
$required_vc = '3.7.2';
if(defined('WPB_VC_VERSION')){
if( version_compare( $required_vc, WPB_VC_VERSION, '>' )){
add_action( 'admin_notices', 'woocomposer_admin_notice_for_version');
add_action( 'network_admin_notices', 'woocomposer_admin_notice_for_version');
}
} else {
add_action( 'admin_notices', 'woocomposer_admin_notice_for_vc_activation');
add_action( 'network_admin_notices', 'woocomposer_admin_notice_for_vc_activation');
}
}/* end init_addons */
function woocomposer_admin_notice_for_version()
{
$is_multisite = is_multisite();
$is_network_admin = is_network_admin();
if(($is_multisite && $is_network_admin) || !$is_multisite)
echo '<div class="updated"><p>'.__('The','ultimate_vc').' <strong>WooComposer</strong> '.__('plugin requires','ultimate_vc').' <strong>WPBakery Page Builder</strong> '.__('version 3.7.2 or greater.','ultimate_vc').'</p></div>';
}
function woocomposer_admin_notice_for_vc_activation()
{
$is_multisite = is_multisite();
$is_network_admin = is_network_admin();
if(($is_multisite && $is_network_admin) || !$is_multisite)
echo '<div class="updated"><p>'.__('The','ultimate_vc').' <strong>WooComposer</strong> '.__('plugin requires','ultimate_vc').' <strong>WPBakery Page Builder</strong> '.__('Plugin installed and activated.').'</p></div>';
}
}
// check the current post for the existence of a short code
if(!function_exists("has_shortcode")){
function has_shortcode($shortcode = '') {
$post_to_check = get_post(get_the_ID());
// false because we have to search through the post content first
$found = false;
// if no short code was provided, return false
if (!$shortcode) {
return $found;
}
// check the post content for the short code
if ( stripos($post_to_check->post_content, '[' . $shortcode) !== false ) {
// we have found the short code
$found = true;
}
// return our final results
return $found;
}
}