{"id":2603,"date":"2019-04-12T08:16:42","date_gmt":"2019-04-12T08:16:42","guid":{"rendered":"https:\/\/lafka.althemist.com\/fastfood\/?page_id=2603"},"modified":"2019-04-12T08:16:42","modified_gmt":"2019-04-12T08:16:42","slug":"sortable-menu","status":"publish","type":"page","link":"https:\/\/ledenite.lv\/en\/sortable-menu\/","title":{"rendered":"Sortable Menu"},"content":{"rendered":"<p>[vc_row css=&#8221;.vc_custom_1555056141866{margin-bottom: 0px !important;padding-top: 80px !important;padding-bottom: 80px !important;}&#8221;][vc_column][vc_column_text css=&#8221;.vc_custom_1555057002311{margin-bottom: 60px !important;}&#8221;]<\/p>\n<h5 style=\"text-align: center;\">Multiple categories with sortable filters<\/h5>\n<p>[\/vc_column_text][vc_row_inner][vc_column_inner width=&#8221;1\/6&#8243;][\/vc_column_inner][vc_column_inner width=&#8221;2\/3&#8243; css=&#8221;.vc_custom_1555056381348{background-position: 0 0 !important;background-repeat: repeat !important;}&#8221;]        <script>\n            \/\/<![CDATA[\n            (function ($) {\n                \"use strict\";\n                $(document).ready(function () {\n                    var $container = $('#latest_projects6a0545d6c882c div.lafka-foodmenu-shortcode-container');\n\n\t                                        var $isotopedGrid = $container.isotope({\n                            itemSelector: 'div.foodmenu-unit',\n                            layoutMode: 'masonry',\n                            transitionDuration: '0.5s'\n                        });\n\n                        \/\/ layout Isotope after each image loads\n                        $isotopedGrid.imagesLoaded().progress(function () {\n                            $isotopedGrid.isotope('layout');\n                        });\n\n                        \/\/ bind filter button click\n                        $container.prev('div.lafka-foodmenu-categories').on('click', 'a', function () {\n                            var filterValue = $(this).attr('data-filter');\n                            \/\/ use filterFn if matches value\n                            $container.isotope({filter: filterValue});\n                        });\n\n                        \/\/ change is-checked class on buttons\n                        $container.prev('div.lafka-foodmenu-categories').each(function (i, buttonGroup) {\n                            var $buttonGroup = $(buttonGroup);\n                            $buttonGroup.on('click', 'a', function () {\n                                $buttonGroup.find('.is-checked').removeClass('is-checked');\n                                $(this).addClass('is-checked');\n                            });\n                        });\n\n                        \/\/ Add magnific function\n                        $isotopedGrid.isotope('on', 'layoutComplete',\n                            function (isoInstance, laidOutItems) {\n                                $isotopedGrid.find('a.foodmenu-lightbox-link').magnificPopup({\n                                    mainClass: 'mfp-fade',\n                                    type: 'image'\n                                });\n                            }\n                        );\n\t                                });\n            })(window.jQuery);\n            \/\/]]>\n        <\/script>\n\n\t\t\n\t\t\t\t\n\t\t\t\t\n            \t\t[\/vc_column_inner][vc_column_inner width=&#8221;1\/6&#8243;][\/vc_column_inner][\/vc_row_inner][\/vc_column][\/vc_row]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[vc_row css=&#8221;.vc_custom_1555056141866{margin-bottom: 0px !important;padding-top: 80px !important;padding-bottom: 80px !important;}&#8221;][vc_column][vc_column_text css=&#8221;.vc_custom_1555057002311{margin-bottom: 60px !important;}&#8221;] Multiple categories with sortable filters [\/vc_column_text][vc_row_inner][vc_column_inner width=&#8221;1\/6&#8243;][\/vc_column_inner][vc_column_inner width=&#8221;2\/3&#8243; css=&#8221;.vc_custom_1555056381348{background-position: 0 0 !important;background-repeat: repeat !important;}&#8221;][\/vc_column_inner][vc_column_inner width=&#8221;1\/6&#8243;][\/vc_column_inner][\/vc_row_inner][\/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":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-2603","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Sortable Menu | Leden\u012bte Cafe<\/title>\n<meta name=\"description\" content=\"Multiple categories with sortable filters\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ledenite.lv\/en\/sortable-menu\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sortable Menu | Leden\u012bte Cafe\" \/>\n<meta property=\"og:description\" content=\"Multiple categories with sortable filters\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ledenite.lv\/en\/sortable-menu\/\" \/>\n<meta property=\"og:site_name\" content=\"Leden\u012bte Cafe\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ledenite.lv\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ledenite.lv\/wp-content\/uploads\/2021\/06\/Logo_for_web.png\" \/>\n\t<meta property=\"og:image:width\" content=\"834\" \/>\n\t<meta property=\"og:image:height\" content=\"835\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Sortable Menu | Leden\u012bte Cafe","description":"Multiple categories with sortable filters","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ledenite.lv\/en\/sortable-menu\/","og_locale":"en_US","og_type":"article","og_title":"Sortable Menu | Leden\u012bte Cafe","og_description":"Multiple categories with sortable filters","og_url":"https:\/\/ledenite.lv\/en\/sortable-menu\/","og_site_name":"Leden\u012bte Cafe","article_publisher":"https:\/\/www.facebook.com\/ledenite.lv","og_image":[{"width":834,"height":835,"url":"https:\/\/ledenite.lv\/wp-content\/uploads\/2021\/06\/Logo_for_web.png","type":"image\/png"}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ledenite.lv\/en\/sortable-menu\/","url":"https:\/\/ledenite.lv\/en\/sortable-menu\/","name":"Sortable Menu | Leden\u012bte Cafe","isPartOf":{"@id":"https:\/\/ledenite.lv\/en\/#website"},"datePublished":"2019-04-12T08:16:42+00:00","description":"Multiple categories with sortable filters","breadcrumb":{"@id":"https:\/\/ledenite.lv\/en\/sortable-menu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ledenite.lv\/en\/sortable-menu\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ledenite.lv\/en\/sortable-menu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ledenite.lv\/en\/"},{"@type":"ListItem","position":2,"name":"Sortable Menu"}]},{"@type":"WebSite","@id":"https:\/\/ledenite.lv\/en\/#website","url":"https:\/\/ledenite.lv\/en\/","name":"Leden\u012bte Cafe","description":"","publisher":{"@id":"https:\/\/ledenite.lv\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ledenite.lv\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ledenite.lv\/en\/#organization","name":"Leden\u012bte","url":"https:\/\/ledenite.lv\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ledenite.lv\/en\/#\/schema\/logo\/image\/","url":"http:\/\/ledenite.lv\/wp-content\/uploads\/2021\/06\/Logo_for_web.png","contentUrl":"http:\/\/ledenite.lv\/wp-content\/uploads\/2021\/06\/Logo_for_web.png","width":834,"height":835,"caption":"Leden\u012bte"},"image":{"@id":"https:\/\/ledenite.lv\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ledenite.lv","https:\/\/www.instagram.com\/ledenite.lv\/"]}]}},"_links":{"self":[{"href":"https:\/\/ledenite.lv\/en\/wp-json\/wp\/v2\/pages\/2603","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ledenite.lv\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ledenite.lv\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ledenite.lv\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ledenite.lv\/en\/wp-json\/wp\/v2\/comments?post=2603"}],"version-history":[{"count":0,"href":"https:\/\/ledenite.lv\/en\/wp-json\/wp\/v2\/pages\/2603\/revisions"}],"wp:attachment":[{"href":"https:\/\/ledenite.lv\/en\/wp-json\/wp\/v2\/media?parent=2603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}