{"id":1951,"date":"2015-12-23T04:06:12","date_gmt":"2015-12-23T04:06:12","guid":{"rendered":"http:\/\/dev.yolotheme.com\/wordpress\/kidzone\/?page_id=1951"},"modified":"2015-12-30T07:44:49","modified_gmt":"2015-12-30T07:44:49","slug":"products-masonry","status":"publish","type":"page","link":"https:\/\/demo.yolotheme.com\/kidzone\/products-masonry\/","title":{"rendered":"Products Masonry"},"content":{"rendered":"<p>[vc_row][vc_column]        <div class=\"product-masonry masonry\">\n                            <div class=\"masonry-filters\">\n                    <ul data-option-key=\"filter\" class=\"ms-center\">\n                        <li>\n                            <a class=\"selected\" href=\"#\" data-option-value=\"*\">All<\/a>\n                        <\/li>\n                                                            <li>\n                                        <a href=\"#\"\n                                           data-option-value=\".mansonry-filter-cooking\">Cooking<\/a>\n                                    <\/li>\n                                                                        <li>\n                                        <a href=\"#\"\n                                           data-option-value=\".mansonry-filter-dancing\">Dancing<\/a>\n                                    <\/li>\n                                                                        <li>\n                                        <a href=\"#\"\n                                           data-option-value=\".mansonry-filter-drawing\">Drawing<\/a>\n                                    <\/li>\n                                                                        <li>\n                                        <a href=\"#\"\n                                           data-option-value=\".mansonry-filter-vocal\">Vocal<\/a>\n                                    <\/li>\n                                                                                        <li class=\"bt-order\">Sort by<\/li>\n                                            <\/ul>\n                <\/div>\n\n                                    <div class=\"isotope-sort ms-center\">\n                        <ul class=\"list-sort\">\n                            <li data-sort-by=\"title\" class=\"active\">Title<\/li>\n                            <li data-sort-by=\"price\">Price<\/li>\n                            <li data-sort-by=\"onsale\">Onsale<\/li>\n                        <\/ul>\n                        <div class=\"asc-desc\">\n                            <select class=\"select-asc-desc\" name=\"asc-desc\">\n                                <option value=\"true\" selected=\"selected\">ASC<\/option>\n                                <option value=\"false\" >DESC<\/option>\n                            <\/select>\n                        <\/div>\n                    <\/div>\n                                <div class=\"shop-container\">\n                    <div class=\"yolo-row infinite-scroll\"\n                         data-paginate=\"\">\n                        <ul class=\"products masonry-container grid yolo-row \">\n                            \n                                                                <li class=\"loadmore-item masonry-item yolo-md-4  yolo-sm-6 yolo-xs-12 yolo-product-item infinite-scroll-item mansonry-filter-drawing post-1158 product type-product status-publish has-post-thumbnail hentry product_cat-drawing product_tag-alexcursions product_tag-education has-featured\">\n                                                                        <div class=\"yolo-product-inner\">\n                                        <div class=\"woo-thumbnail\">\n                                            <div class=\"yolo-product-thumbnail\"><img width=\"300\" height=\"275\" src=\"https:\/\/demo.yolotheme.com\/kidzone\/wp-content\/uploads\/2015\/12\/p10-300x275.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"\" loading=\"lazy\" \/><\/div>                                            <div class=\"yolo-product-meta\">\n                                                <div class=\"rating\">\n                                                                                                    <\/div>\n                                                <div class=\"entry-cart-meta\">\n                                                    <a class=\"shop-loop-quickview\" data-product_id =\"1158\" href=\"https:\/\/demo.yolotheme.com\/kidzone\/shop\/computer-course\/\">Quick shop<\/a>\n<div class=\"yith-wcwl-add-to-wishlist add-to-wishlist-1158  wishlist-fragment on-first-load\" data-fragment-ref=\"1158\" data-fragment-options=\"{&quot;base_url&quot;:&quot;&quot;,&quot;in_default_wishlist&quot;:false,&quot;is_single&quot;:false,&quot;show_exists&quot;:false,&quot;product_id&quot;:1158,&quot;parent_product_id&quot;:1158,&quot;product_type&quot;:&quot;simple&quot;,&quot;show_view&quot;:false,&quot;browse_wishlist_text&quot;:&quot;Browse Wishlist&quot;,&quot;already_in_wishslist_text&quot;:&quot;The product is already in the wishlist!&quot;,&quot;product_added_text&quot;:&quot;Product added!&quot;,&quot;heading_icon&quot;:&quot;&quot;,&quot;available_multi_wishlist&quot;:false,&quot;disable_wishlist&quot;:false,&quot;show_count&quot;:false,&quot;ajax_loading&quot;:false,&quot;loop_position&quot;:false,&quot;item&quot;:&quot;add_to_wishlist&quot;}\">\n\t\t\t\n\t\t\t<!-- ADD TO WISHLIST -->\n\t\t\t\n<div class=\"yith-wcwl-add-button\">\n\t<a href=\"?add_to_wishlist=1158\" rel=\"nofollow\" data-product-id=\"1158\" data-product-type=\"simple\" data-original-product-id=\"1158\" class=\"add_to_wishlist single_add_to_wishlist\" data-title=\"Add to Wishlist\">\n\t\t\t\t<span>Add to Wishlist<\/span>\n\t<\/a>\n<\/div>\n\t\t\t<!-- COUNT TEXT -->\n\t\t\t\n\t\t\t<\/div>                                                <\/div>\n                                            <\/div>\n                                        <\/div>\n\n                                        <div class=\"yolo-product-footer clearfix\">\n                                            <h3><a href=\"https:\/\/demo.yolotheme.com\/kidzone\/shop\/computer-course\/\">Computer course<\/a><\/h3>\n                                                                                    <\/div>\n                                    <\/div>\n                                <\/li>\n\n                            \n                                                                <li class=\"loadmore-item masonry-item yolo-md-4  yolo-sm-6 yolo-xs-12 yolo-product-item infinite-scroll-item mansonry-filter-dancing post-1164 product type-product status-publish has-post-thumbnail hentry product_cat-dancing product_tag-education has-featured\">\n                                                                        <div class=\"yolo-product-inner\">\n                                        <div class=\"woo-thumbnail\">\n                                            <div class=\"yolo-product-thumbnail\"><img width=\"300\" height=\"275\" src=\"https:\/\/demo.yolotheme.com\/kidzone\/wp-content\/uploads\/2015\/12\/p7-300x275.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"\" loading=\"lazy\" \/><\/div>                                            <div class=\"yolo-product-meta\">\n                                                <div class=\"rating\">\n                                                                                                    <\/div>\n                                                <div class=\"entry-cart-meta\">\n                                                    <a class=\"shop-loop-quickview\" data-product_id =\"1164\" href=\"https:\/\/demo.yolotheme.com\/kidzone\/shop\/cooking-course\/\">Quick shop<\/a>\n<div class=\"yith-wcwl-add-to-wishlist add-to-wishlist-1164  wishlist-fragment on-first-load\" data-fragment-ref=\"1164\" data-fragment-options=\"{&quot;base_url&quot;:&quot;&quot;,&quot;in_default_wishlist&quot;:false,&quot;is_single&quot;:false,&quot;show_exists&quot;:false,&quot;product_id&quot;:1164,&quot;parent_product_id&quot;:1164,&quot;product_type&quot;:&quot;simple&quot;,&quot;show_view&quot;:false,&quot;browse_wishlist_text&quot;:&quot;Browse Wishlist&quot;,&quot;already_in_wishslist_text&quot;:&quot;The product is already in the wishlist!&quot;,&quot;product_added_text&quot;:&quot;Product added!&quot;,&quot;heading_icon&quot;:&quot;&quot;,&quot;available_multi_wishlist&quot;:false,&quot;disable_wishlist&quot;:false,&quot;show_count&quot;:false,&quot;ajax_loading&quot;:false,&quot;loop_position&quot;:false,&quot;item&quot;:&quot;add_to_wishlist&quot;}\">\n\t\t\t\n\t\t\t<!-- ADD TO WISHLIST -->\n\t\t\t\n<div class=\"yith-wcwl-add-button\">\n\t<a href=\"?add_to_wishlist=1164\" rel=\"nofollow\" data-product-id=\"1164\" data-product-type=\"simple\" data-original-product-id=\"1164\" class=\"add_to_wishlist single_add_to_wishlist\" data-title=\"Add to Wishlist\">\n\t\t\t\t<span>Add to Wishlist<\/span>\n\t<\/a>\n<\/div>\n\t\t\t<!-- COUNT TEXT -->\n\t\t\t\n\t\t\t<\/div>                                                <\/div>\n                                            <\/div>\n                                        <\/div>\n\n                                        <div class=\"yolo-product-footer clearfix\">\n                                            <h3><a href=\"https:\/\/demo.yolotheme.com\/kidzone\/shop\/cooking-course\/\">Cooking Course<\/a><\/h3>\n                                                                                    <\/div>\n                                    <\/div>\n                                <\/li>\n\n                            \n                                                                <li class=\"loadmore-item masonry-item yolo-md-4  yolo-sm-6 yolo-xs-12 yolo-product-item infinite-scroll-item mansonry-filter-drawing post-1170 product type-product status-publish has-post-thumbnail hentry product_cat-drawing product_tag-drawing product_tag-education has-featured\">\n                                                                        <div class=\"yolo-product-inner\">\n                                        <div class=\"woo-thumbnail\">\n                                            <div class=\"yolo-product-thumbnail\"><img width=\"300\" height=\"275\" src=\"https:\/\/demo.yolotheme.com\/kidzone\/wp-content\/uploads\/2015\/12\/p14-300x275.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"\" loading=\"lazy\" \/><\/div>                                            <div class=\"yolo-product-meta\">\n                                                <div class=\"rating\">\n                                                                                                    <\/div>\n                                                <div class=\"entry-cart-meta\">\n                                                    <a class=\"shop-loop-quickview\" data-product_id =\"1170\" href=\"https:\/\/demo.yolotheme.com\/kidzone\/shop\/drawing-course\/\">Quick shop<\/a>\n<div class=\"yith-wcwl-add-to-wishlist add-to-wishlist-1170  wishlist-fragment on-first-load\" data-fragment-ref=\"1170\" data-fragment-options=\"{&quot;base_url&quot;:&quot;&quot;,&quot;in_default_wishlist&quot;:false,&quot;is_single&quot;:false,&quot;show_exists&quot;:false,&quot;product_id&quot;:1170,&quot;parent_product_id&quot;:1170,&quot;product_type&quot;:&quot;simple&quot;,&quot;show_view&quot;:false,&quot;browse_wishlist_text&quot;:&quot;Browse Wishlist&quot;,&quot;already_in_wishslist_text&quot;:&quot;The product is already in the wishlist!&quot;,&quot;product_added_text&quot;:&quot;Product added!&quot;,&quot;heading_icon&quot;:&quot;&quot;,&quot;available_multi_wishlist&quot;:false,&quot;disable_wishlist&quot;:false,&quot;show_count&quot;:false,&quot;ajax_loading&quot;:false,&quot;loop_position&quot;:false,&quot;item&quot;:&quot;add_to_wishlist&quot;}\">\n\t\t\t\n\t\t\t<!-- ADD TO WISHLIST -->\n\t\t\t\n<div class=\"yith-wcwl-add-button\">\n\t<a href=\"?add_to_wishlist=1170\" rel=\"nofollow\" data-product-id=\"1170\" data-product-type=\"simple\" data-original-product-id=\"1170\" class=\"add_to_wishlist single_add_to_wishlist\" data-title=\"Add to Wishlist\">\n\t\t\t\t<span>Add to Wishlist<\/span>\n\t<\/a>\n<\/div>\n\t\t\t<!-- COUNT TEXT -->\n\t\t\t\n\t\t\t<\/div>                                                <\/div>\n                                            <\/div>\n                                        <\/div>\n\n                                        <div class=\"yolo-product-footer clearfix\">\n                                            <h3><a href=\"https:\/\/demo.yolotheme.com\/kidzone\/shop\/drawing-course\/\">Drawing Course<\/a><\/h3>\n                                                                                    <\/div>\n                                    <\/div>\n                                <\/li>\n\n                            \n                                                                <li class=\"loadmore-item masonry-item yolo-md-4  yolo-sm-6 yolo-xs-12 yolo-product-item infinite-scroll-item mansonry-filter-vocal post-1176 product type-product status-publish has-post-thumbnail hentry product_cat-vocal product_tag-education product_tag-teacher product_tag-vocal has-featured\">\n                                                                        <div class=\"yolo-product-inner\">\n                                        <div class=\"woo-thumbnail\">\n                                            <div class=\"yolo-product-thumbnail\"><img width=\"300\" height=\"275\" src=\"https:\/\/demo.yolotheme.com\/kidzone\/wp-content\/uploads\/2015\/12\/p16-300x275.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"\" loading=\"lazy\" \/><\/div>                                            <div class=\"yolo-product-meta\">\n                                                <div class=\"rating\">\n                                                                                                    <\/div>\n                                                <div class=\"entry-cart-meta\">\n                                                    <a class=\"shop-loop-quickview\" data-product_id =\"1176\" href=\"https:\/\/demo.yolotheme.com\/kidzone\/shop\/mathematics-course\/\">Quick shop<\/a>\n<div class=\"yith-wcwl-add-to-wishlist add-to-wishlist-1176  wishlist-fragment on-first-load\" data-fragment-ref=\"1176\" data-fragment-options=\"{&quot;base_url&quot;:&quot;&quot;,&quot;in_default_wishlist&quot;:false,&quot;is_single&quot;:false,&quot;show_exists&quot;:false,&quot;product_id&quot;:1176,&quot;parent_product_id&quot;:1176,&quot;product_type&quot;:&quot;simple&quot;,&quot;show_view&quot;:false,&quot;browse_wishlist_text&quot;:&quot;Browse Wishlist&quot;,&quot;already_in_wishslist_text&quot;:&quot;The product is already in the wishlist!&quot;,&quot;product_added_text&quot;:&quot;Product added!&quot;,&quot;heading_icon&quot;:&quot;&quot;,&quot;available_multi_wishlist&quot;:false,&quot;disable_wishlist&quot;:false,&quot;show_count&quot;:false,&quot;ajax_loading&quot;:false,&quot;loop_position&quot;:false,&quot;item&quot;:&quot;add_to_wishlist&quot;}\">\n\t\t\t\n\t\t\t<!-- ADD TO WISHLIST -->\n\t\t\t\n<div class=\"yith-wcwl-add-button\">\n\t<a href=\"?add_to_wishlist=1176\" rel=\"nofollow\" data-product-id=\"1176\" data-product-type=\"simple\" data-original-product-id=\"1176\" class=\"add_to_wishlist single_add_to_wishlist\" data-title=\"Add to Wishlist\">\n\t\t\t\t<span>Add to Wishlist<\/span>\n\t<\/a>\n<\/div>\n\t\t\t<!-- COUNT TEXT -->\n\t\t\t\n\t\t\t<\/div>                                                <\/div>\n                                            <\/div>\n                                        <\/div>\n\n                                        <div class=\"yolo-product-footer clearfix\">\n                                            <h3><a href=\"https:\/\/demo.yolotheme.com\/kidzone\/shop\/mathematics-course\/\">Mathematics Course<\/a><\/h3>\n                                                                                    <\/div>\n                                    <\/div>\n                                <\/li>\n\n                            \n                                                                <li class=\"loadmore-item masonry-item yolo-md-4  yolo-sm-6 yolo-xs-12 yolo-product-item infinite-scroll-item mansonry-filter-dancing post-1296 product type-product status-publish has-post-thumbnail hentry product_cat-dancing has-featured\">\n                                                                        <div class=\"yolo-product-inner\">\n                                        <div class=\"woo-thumbnail\">\n                                            <div class=\"yolo-product-thumbnail\"><img width=\"300\" height=\"275\" src=\"https:\/\/demo.yolotheme.com\/kidzone\/wp-content\/uploads\/2015\/12\/p11-300x275.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"\" loading=\"lazy\" \/><\/div>                                            <div class=\"yolo-product-meta\">\n                                                <div class=\"rating\">\n                                                                                                    <\/div>\n                                                <div class=\"entry-cart-meta\">\n                                                    <a class=\"shop-loop-quickview\" data-product_id =\"1296\" href=\"https:\/\/demo.yolotheme.com\/kidzone\/shop\/chess-course\/\">Quick shop<\/a>\n<div class=\"yith-wcwl-add-to-wishlist add-to-wishlist-1296  wishlist-fragment on-first-load\" data-fragment-ref=\"1296\" data-fragment-options=\"{&quot;base_url&quot;:&quot;&quot;,&quot;in_default_wishlist&quot;:false,&quot;is_single&quot;:false,&quot;show_exists&quot;:false,&quot;product_id&quot;:1296,&quot;parent_product_id&quot;:1296,&quot;product_type&quot;:&quot;simple&quot;,&quot;show_view&quot;:false,&quot;browse_wishlist_text&quot;:&quot;Browse Wishlist&quot;,&quot;already_in_wishslist_text&quot;:&quot;The product is already in the wishlist!&quot;,&quot;product_added_text&quot;:&quot;Product added!&quot;,&quot;heading_icon&quot;:&quot;&quot;,&quot;available_multi_wishlist&quot;:false,&quot;disable_wishlist&quot;:false,&quot;show_count&quot;:false,&quot;ajax_loading&quot;:false,&quot;loop_position&quot;:false,&quot;item&quot;:&quot;add_to_wishlist&quot;}\">\n\t\t\t\n\t\t\t<!-- ADD TO WISHLIST -->\n\t\t\t\n<div class=\"yith-wcwl-add-button\">\n\t<a href=\"?add_to_wishlist=1296\" rel=\"nofollow\" data-product-id=\"1296\" data-product-type=\"simple\" data-original-product-id=\"1296\" class=\"add_to_wishlist single_add_to_wishlist\" data-title=\"Add to Wishlist\">\n\t\t\t\t<span>Add to Wishlist<\/span>\n\t<\/a>\n<\/div>\n\t\t\t<!-- COUNT TEXT -->\n\t\t\t\n\t\t\t<\/div>                                                <\/div>\n                                            <\/div>\n                                        <\/div>\n\n                                        <div class=\"yolo-product-footer clearfix\">\n                                            <h3><a href=\"https:\/\/demo.yolotheme.com\/kidzone\/shop\/chess-course\/\">Chess Course<\/a><\/h3>\n                                                                                    <\/div>\n                                    <\/div>\n                                <\/li>\n\n                            \n                                                                <li class=\"loadmore-item masonry-item yolo-md-4  yolo-sm-6 yolo-xs-12 yolo-product-item infinite-scroll-item mansonry-filter-drawing post-1313 product type-product status-publish has-post-thumbnail hentry product_cat-drawing has-featured\">\n                                                                        <div class=\"yolo-product-inner\">\n                                        <div class=\"woo-thumbnail\">\n                                            <div class=\"yolo-product-thumbnail\"><img width=\"300\" height=\"275\" src=\"https:\/\/demo.yolotheme.com\/kidzone\/wp-content\/uploads\/2015\/12\/p5-300x275.jpg\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"\" loading=\"lazy\" \/><\/div>                                            <div class=\"yolo-product-meta\">\n                                                <div class=\"rating\">\n                                                                                                    <\/div>\n                                                <div class=\"entry-cart-meta\">\n                                                    <a class=\"shop-loop-quickview\" data-product_id =\"1313\" href=\"https:\/\/demo.yolotheme.com\/kidzone\/shop\/pronounce-course\/\">Quick shop<\/a>\n<div class=\"yith-wcwl-add-to-wishlist add-to-wishlist-1313  wishlist-fragment on-first-load\" data-fragment-ref=\"1313\" data-fragment-options=\"{&quot;base_url&quot;:&quot;&quot;,&quot;in_default_wishlist&quot;:false,&quot;is_single&quot;:false,&quot;show_exists&quot;:false,&quot;product_id&quot;:1313,&quot;parent_product_id&quot;:1313,&quot;product_type&quot;:&quot;simple&quot;,&quot;show_view&quot;:false,&quot;browse_wishlist_text&quot;:&quot;Browse Wishlist&quot;,&quot;already_in_wishslist_text&quot;:&quot;The product is already in the wishlist!&quot;,&quot;product_added_text&quot;:&quot;Product added!&quot;,&quot;heading_icon&quot;:&quot;&quot;,&quot;available_multi_wishlist&quot;:false,&quot;disable_wishlist&quot;:false,&quot;show_count&quot;:false,&quot;ajax_loading&quot;:false,&quot;loop_position&quot;:false,&quot;item&quot;:&quot;add_to_wishlist&quot;}\">\n\t\t\t\n\t\t\t<!-- ADD TO WISHLIST -->\n\t\t\t\n<div class=\"yith-wcwl-add-button\">\n\t<a href=\"?add_to_wishlist=1313\" rel=\"nofollow\" data-product-id=\"1313\" data-product-type=\"simple\" data-original-product-id=\"1313\" class=\"add_to_wishlist single_add_to_wishlist\" data-title=\"Add to Wishlist\">\n\t\t\t\t<span>Add to Wishlist<\/span>\n\t<\/a>\n<\/div>\n\t\t\t<!-- COUNT TEXT -->\n\t\t\t\n\t\t\t<\/div>                                                <\/div>\n                                            <\/div>\n                                        <\/div>\n\n                                        <div class=\"yolo-product-footer clearfix\">\n                                            <h3><a href=\"https:\/\/demo.yolotheme.com\/kidzone\/shop\/pronounce-course\/\">Pronounce Course<\/a><\/h3>\n                                                                                    <\/div>\n                                    <\/div>\n                                <\/li>\n\n                            \n                        <\/ul>\n                    <\/div>\n                <\/div>\n                            <div class=\"loadmore-action\">\n                                            <a href=\"#\" class=\"btn-loadmore btn-primary\"\n                           title=\"Load More\">Load More<\/a>\n                                        <div class=\"loadmore-loading\" style=\"display: block;\">\n                        <div class=\"fade-loading\"><i class=\"fa fa-refresh fa-spin\"><\/i><\/div>\n                    <\/div>\n                <\/div>\n                <div class=\"yolo_loadmore\"\n                     style=\"display:none;\">\n                    \t\t<div class=\"loadmore-action\">\n\t\t\t<a href=\"#\" class=\"btn-loadmore btn-primary\" title=\"Load More\">Load More<\/a>\n\t\t<\/div>\n\t\t<div class=\"pagination list-center\"><div class=\"line\"><span aria-current=\"page\" class=\"page-numbers current\">1<\/span>\n<a class=\"page-numbers\" href=\"https:\/\/demo.yolotheme.com\/kidzone\/wp-json\/wp\/v2\/pages\/1951\/page\/2\/\">2<\/a>\n<a class=\"next page-numbers\" href=\"https:\/\/demo.yolotheme.com\/kidzone\/wp-json\/wp\/v2\/pages\/1951\/page\/2\/\">NEXT<\/a><\/div><\/div>                <\/div>\n                            <script type=\"text\/javascript\">\n                    jQuery(document).ready(function ($) {\n\n                        \/*Click filter*\/\n                        $('.bt-order').click(function(){\n                            $('.isotope-sort').slideToggle(300);\n                            $(this).toggleClass('active');\n                        });\n\n                        var show_hide = true;\n                        \/\/ init Isotope\n                        var $container = $('.masonry-container').isotope({\n                            itemSelector: '.masonry-item',\n                            layoutMode: 'fitRows',\n                            getSortData: {\n                                title: '.yolo-product-footer h3 a',\n                                price: function (itemElem) {\n                                    var weight = $(itemElem).find('.price ins .amount').text();\n                                    var weight2 = $(itemElem).find('.price .amount').text();\n                                    if (weight) {\n                                        weight = parseFloat(weight.replace(\/\\$\/g, ''));\n                                    } else if (weight2) {\n                                        weight2 = parseFloat(weight2.replace(\/\\$\/g, ''));\n                                        weight = weight2;\n                                    } else {\n                                        weight = 0;\n                                    }\n                                    return weight;\n                                },\n                                onsale: function (itemElem) {\n                                    var onsale = $(itemElem).find('.onsale').text();\n                                    return onsale;\n                                }\n                            }\n                        });\n\n                        if(show_hide == true){\n                            var sortByValue = '';\n                            \/\/ bind sort button click\n                            $('.isotope-sort .list-sort li').click(function () {\n                                var selected = $('.select-asc-desc option[selected=\"selected\"]').val();\n                                if(selected == 'false'){\n                                    selected = false;\n                                }\n                                sortByValue = $(this).attr('data-sort-by');\n                                $('.list-sort li').removeClass('active');\n                                $(this).addClass('active');\n                                $container.isotope({\n                                    sortBy: sortByValue,\n                                    sortAscending: selected\n                                });\n                            });\n                            \/* select asc or desc*\/\n                            $('.select-asc-desc').change(function(){\n                                var selected = $(this).val();\n                                $(this).find('option').removeAttr('selected');\n                                $('.select-asc-desc option').each(function(){\n                                    if(selected == $(this).val()){\n                                        $(this).attr('selected','selected');\n                                    }\n                                });\n                                if(selected == 'false'){\n                                    selected = false;\n                                }\n                                $container.isotope({\n                                    sortBy: sortByValue,\n                                    sortAscending: selected\n                                });\n                            });\n                            \/* default*\/\n                            var default_selected = $('.select-asc-desc option[selected=\"selected\"]').val();\n                            if(default_selected == 'false'){\n                                default_selected = false;\n                            }\n                            $container.isotope({\n                                sortAscending: default_selected\n                            });\n                        }\n                    });\n                <\/script>\n                    <\/div>\n        [\/vc_column][\/vc_row]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[vc_row][vc_column][\/vc_column][\/vc_row]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/demo.yolotheme.com\/kidzone\/wp-json\/wp\/v2\/pages\/1951"}],"collection":[{"href":"https:\/\/demo.yolotheme.com\/kidzone\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demo.yolotheme.com\/kidzone\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/demo.yolotheme.com\/kidzone\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.yolotheme.com\/kidzone\/wp-json\/wp\/v2\/comments?post=1951"}],"version-history":[{"count":0,"href":"https:\/\/demo.yolotheme.com\/kidzone\/wp-json\/wp\/v2\/pages\/1951\/revisions"}],"wp:attachment":[{"href":"https:\/\/demo.yolotheme.com\/kidzone\/wp-json\/wp\/v2\/media?parent=1951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}