
{"id":4638,"date":"2026-03-27T09:04:34","date_gmt":"2026-03-27T09:04:34","guid":{"rendered":"https:\/\/test1.flyup.md\/events-list-style-with-search-box\/"},"modified":"2026-03-27T09:04:34","modified_gmt":"2026-03-27T09:04:34","slug":"events-list-style-with-search-box","status":"publish","type":"page","link":"https:\/\/octagon.md\/ru\/events-list-style-with-search-box\/","title":{"rendered":"Events \u2013 List Style with Search Box"},"content":{"rendered":"                <div class='mage list_with_filter_section mep_event_list' id='mage-container'>\n\t\t\t\t\t                <div class=\"mpwem_style\">\n                    <div class=\"search_sort_code_area\">\n                        <div class=\"search_sort_code\">\n                            <div class=\"sort_code_search_box defaultLayout_xs\">\n                                <div class=\"flexEqual filter_input_area\">\n\t\t\t\t\t\t\t\t\t                                            <label>\n                                                <input type=\"text\" name=\"filter_with_title\" class=\"formControl\" placeholder=\"Search by Title\">\n                                            <\/label>\n\t\t\t\t\t\t\t\t\t\t                                            <label>\n                                                <select class=\"formControl\" name=\"filter_with_category\">\n                                                    <option selected value=\"\">Select Category<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Business Event\">Business Event<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Consultan\u021b\u0103 contabil\u0103\">Consultan\u021b\u0103 contabil\u0103<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Cooking Class\">Cooking Class<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Home Event\">Home Event<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Indoor Games\">Indoor Games<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Live Event\">Live Event<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Online Event\">Online Event<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Other Event\">Other Event<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Press Conference Event\">Press Conference Event<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Reunion Event\">Reunion Event<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                <\/select>\n                                            <\/label>\n\t\t\t\t\t\t\t\t\t\t                                            <label>\n                                                <select class=\"formControl\" name=\"filter_with_organizer\">\n                                                    <option selected value=\"\">Select Organizer<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Best Buy Ltd\">Best Buy Ltd<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Consultan\u021b\u0103 contabil\u0103\">Consultan\u021b\u0103 contabil\u0103<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Cooking Studio\">Cooking Studio<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Doogle Inc\">Doogle Inc<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Duperstar LLC\">Duperstar LLC<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Myamazon Inc\">Myamazon Inc<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"Myceremic Industries Ltd\">Myceremic Industries Ltd<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"MyPeople Inc\">MyPeople Inc<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                        <option value=\"RTC Consultants LLC\">RTC Consultants LLC<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t                                                <\/select>\n                                            <\/label>\n\t\t\t\t\t\t\t\t\t\t                                                <label>\n                                                    <select class=\"formControl\" name=\"filter_with_city\">\n                                                        <option selected value=\"\">Select City<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t                                                            <option value=\"Chisinau\">Chisinau<\/option>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t                                                    <\/select>\n                                                <\/label>\n\t\t\t\t\t\t\t\t\t\t\t\t                                            <label>\n                                                <input type=\"date\" name=\"filter_with_date\" class=\"formControl\">\n                                            <\/label>\n\t\t\t\t\t\t\t\t\t\t                                <\/div>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n                    <p class=\"textGray _text_center search_sort_code_counts\">\n\t\t\t\t\t\tShowing                        <strong class=\"qty_count\">1<\/strong>\n\t\t\t\t\t\tof                        <strong class=\"total_filter_qty\">1<\/strong>\n                    <\/p>\n                <\/div>\n\t\t\t\t                            <div class=\"all_filter_item mep_event_list_sec\" id='mep_event_list_abr6a2cca73c25af'\n                                 data-unq-id=\"abr6a2cca73c25af\"\n                                 data-style=\"grid\"\n                                 data-column=\"4\"\n                                 data-cat=\"0\"\n                                 data-org=\"0\"\n                                 data-tag=\"0\"\n                                 data-city=\"\"\n                                 data-country=\"\"\n                                 data-status=\"upcoming\"\n                                 data-year=\"\"\n                                 data-sort=\"ASC\"\n                                 data-show=\"-1\"\n                                 data-pagination=\"no\"\n                                 data-pagination-style=\"load_more\"\n                            >\n                                <div class=\"mage_grid_box \" id=\"\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t    <div class='filter_item mep-event-list-loop mix column_style event-availabe-seat  mep_event_grid_item  abr6a2cca73c25afmage-165 abr6a2cca73c25afmage-166 '\n         data-title=\"Consultan\u021b\u0103 profesional\u0103 pentru afacerea ta\"\n         data-city-name=\"Chisinau\"\n         data-state=\"\"\n         data-date=\"2026-06-15\"\n         data-category=\"Consultan\u021b\u0103 contabil\u0103\"\n         data-organizer=\"Consultan\u021b\u0103 contabil\u0103\"\n         style=\"width:calc(25% - 14px);\">\n\t\t\t\t                    <div class=\"mep-ev-start-date\">\n                        <div class=\"mep-month\">\u0418\u044e\u043d<\/div>\n\n                        <div class=\"mep-day\">15<\/div>\n                    <\/div>\n\t\t\t\t\t\t\n\t\t                <div class=\"mep_list_thumb mpwem_style\">\n                    <div data-href=\"https:\/\/octagon.md\/ru\/events\/rezervare\/\" data-bg-image=\"https:\/\/octagon.md\/wp-content\/uploads\/2026\/03\/octagon-logo-new-2026-2.svg\"><\/div>\n\t\t\t\t\t                <div class=\"mepev-ribbons\">\n\t\t\t\t\t                                <div class='mepev-ribbon recurring'><i class=\"fas fa-history\"><\/i> Recurring<\/div>\n\n                                                <\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\n        <div class=\"mep_list_event_details\">\n            <a class=\"event_details_link\" href=\"https:\/\/octagon.md\/ru\/events\/rezervare\/\">\n\t\t\t\t<h2 class='mep_list_title' title=\"Consultan\u021b\u0103 profesional\u0103 pentru afacerea ta\">Consultan\u021b\u0103 profesional\u0103 pentru afacerea ta<\/h2>\n\t\t\t\t                    <div class=\"list_content upcomming_date_only_only\">\n                        <span class=\"mi mi-clock\"><\/span>\u0418\u044e\u043d\u044c 15, 2026  10:00 \u0434\u043f UTC                    <\/div>\n\t\t\t\t                    <div class=\"list_content upcomming_organizer\">\n                        <span class=\"mi mi-user\"><\/span>Organized By: Consultan\u021b\u0103 contabil\u0103                    <\/div>\n\t\t\t            <\/a>\n\t\t\t<div class=\"mpwem-price-area\">\n\t\t\t\t                    <div class=\"list_price\">\n\t\t\t\t\t\t<div class=\"list_price_label\">Price Starts<\/div>\n                    \t<div class=\"list_price_value\"><span class=\"woocommerce-Price-amount amount\">1.00<span class=\"woocommerce-Price-currencySymbol\">MDL<\/span><\/span><\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t                    <div class=\"mpwem_style mpwem_list_date_list\">\n                        <button type=\"button\" data-event-id=\"4630\" class=\" mpwem_get_date_list\" data-collapse-target=\"#mpwem_more_date_4630\" data-open-text=\"Hide Date Lists\" data-close-text=\"View More Date\"><span data-text>View More Date<\/span> <i class=\"fas fa-caret-down\"><\/i><\/button>\n                        <div class=\"date_list_area\" data-collapse=\"#mpwem_more_date_4630\"><\/div>\n                    <\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\n        <\/div>\n\t\t    <\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t                                <\/div>\n                            <\/div>\n\t\t\t\t\t\t\t                <input type=\"hidden\" name=\"pagination_per_page\" value=\"1\"\/>\n                <input type=\"hidden\" name=\"pagination_style\" value=\"load_more\"\/>\n\t\t\t\t                <\/div>\n                <script>\n                    jQuery(document).ready(function () {\n                        var containerEl = document.querySelector('#mep_event_list_abr6a2cca73c25af');\n                        var mixer = mixitup(containerEl, {\n                            selectors: {\n                                target: '.mep-event-list-loop',\n                                control: '[data-mixitup-control]'\n                            }\n                        });\n                        \/\/ Handle title filter input\n                        jQuery('input[name=\"filter_with_title\"]').on('keyup', function () {\n                            var searchText = jQuery(this).val().toLowerCase();\n                            var items = jQuery('.mep-event-list-loop');\n                            items.each(function () {\n                                var itemTitle = jQuery(this).data('title').toLowerCase();\n                                if (itemTitle.indexOf(searchText) > -1) {\n                                    jQuery(this).show();\n                                } else {\n                                    jQuery(this).hide();\n                                }\n                            });\n                        });\n                        \/\/ Handle date filter change\n                        jQuery('input[name=\"filter_with_date\"]').on('change', function () {\n                            var selectedDate = jQuery(this).val();\n                            var items = jQuery('.mep-event-list-loop');\n                            if (!selectedDate) {\n                                items.show();\n                            } else {\n                                var filterDate = new Date(selectedDate);\n                                filterDate.setHours(0, 0, 0, 0); \/\/ Reset time part for date comparison\n                                items.each(function () {\n                                    var itemDate = new Date(jQuery(this).data('date'));\n                                    itemDate.setHours(0, 0, 0, 0); \/\/ Reset time part for date comparison\n                                    if (itemDate.getTime() === filterDate.getTime()) {\n                                        jQuery(this).show();\n                                    } else {\n                                        jQuery(this).hide();\n                                    }\n                                });\n                            }\n                        });\n                        \/\/ Handle state filter change\n                        jQuery('select[name=\"filter_with_state\"]').on('change', function () {\n                            var state = jQuery(this).val();\n                            var items = jQuery('.mep-event-list-loop');\n                            if (state === '') {\n                                items.show();\n                            } else {\n                                items.each(function () {\n                                    var itemState = jQuery(this).data('state');\n                                    if (itemState === state) {\n                                        jQuery(this).show();\n                                    } else {\n                                        jQuery(this).hide();\n                                    }\n                                });\n                            }\n                        });\n                        \/\/ Handle city filter change\n                        jQuery('select[name=\"filter_with_city\"]').on('change', function () {\n                            applyAllFilters();\n                        });\n                        \/\/ Handle category filter change\n                        jQuery('select[name=\"filter_with_category\"]').on('change', function () {\n                            applyAllFilters();\n                        });\n                        \/\/ Handle organizer filter change\n                        jQuery('select[name=\"filter_with_organizer\"]').on('change', function () {\n                            applyAllFilters();\n                        });\n                        \/\/ Combined filter function that applies all filters\n                        function applyAllFilters() {\n                            var titleFilter = jQuery('input[name=\"filter_with_title\"]').val().toLowerCase();\n                            var dateFilter = jQuery('input[name=\"filter_with_date\"]').val();\n                            var startDateFilter = jQuery('input[name=\"filter_with_start_date\"]').val();\n                            var endDateFilter = jQuery('input[name=\"filter_with_end_date\"]').val();\n                            var stateFilter = jQuery('select[name=\"filter_with_state\"]').val();\n                            var cityFilter = jQuery('select[name=\"filter_with_city\"]').val();\n                            var categoryFilter = jQuery('select[name=\"filter_with_category\"]').val();\n                            var organizerFilter = jQuery('select[name=\"filter_with_organizer\"]').val();\n                            var visibleCount = 0;\n                            jQuery('.mep-event-list-loop').each(function () {\n                                var $item = jQuery(this);\n                                var show = true;\n                                \/\/ Title filter\n                                if (titleFilter) {\n                                    var itemTitle = ($item.data('title') || '').toLowerCase();\n                                    if (itemTitle.indexOf(titleFilter) === -1) {\n                                        show = false;\n                                    }\n                                }\n                                \/\/ Single Date filter (legacy)\n                                if (show && dateFilter) {\n                                    var itemDate = $item.data('date');\n                                    if (itemDate) {\n                                        var filterDate = new Date(dateFilter);\n                                        filterDate.setHours(0, 0, 0, 0);\n                                        var itemDateObj = new Date(itemDate);\n                                        itemDateObj.setHours(0, 0, 0, 0);\n                                        if (itemDateObj.getTime() !== filterDate.getTime()) {\n                                            show = false;\n                                        }\n                                    } else {\n                                        show = false;\n                                    }\n                                }\n                                \/\/ Date Range filter\n                                if (show && (startDateFilter || endDateFilter)) {\n                                    var itemDate = $item.data('date');\n                                    if (itemDate) {\n                                        var itemDateObj = new Date(itemDate);\n                                        itemDateObj.setHours(0, 0, 0, 0);\n                                        if (startDateFilter) {\n                                            var startDate = new Date(startDateFilter);\n                                            startDate.setHours(0, 0, 0, 0);\n                                            if (itemDateObj < startDate) {\n                                                show = false;\n                                            }\n                                        }\n                                        if (endDateFilter) {\n                                            var endDate = new Date(endDateFilter);\n                                            endDate.setHours(0, 0, 0, 0);\n                                            if (itemDateObj > endDate) {\n                                                show = false;\n                                            }\n                                        }\n                                    } else {\n                                        show = false;\n                                    }\n                                }\n                                \/\/ State filter\n                                if (show && stateFilter) {\n                                    var itemState = $item.data('state') || '';\n                                    if (itemState !== stateFilter) {\n                                        show = false;\n                                    }\n                                }\n                                \/\/ City filter\n                                if (show && cityFilter) {\n                                    var itemCity = $item.data('city-name') || '';\n                                    if (itemCity !== cityFilter) {\n                                        show = false;\n                                    }\n                                }\n                                \/\/ Category filter\n                                if (show && categoryFilter) {\n                                    var itemCategory = $item.data('category') || '';\n                                    var itemCategories = itemCategory.split(',').map(function (c) {\n                                        return c.trim();\n                                    });\n                                    if (itemCategories.indexOf(categoryFilter) === -1) {\n                                        show = false;\n                                    }\n                                }\n                                \/\/ Organizer filter\n                                if (show && organizerFilter) {\n                                    var itemOrganizer = $item.data('organizer') || '';\n                                    var itemOrganizers = itemOrganizer.split(',').map(function (o) {\n                                        return o.trim();\n                                    });\n                                    if (itemOrganizers.indexOf(organizerFilter) === -1) {\n                                        show = false;\n                                    }\n                                }\n                                if (show) {\n                                    $item.show();\n                                    visibleCount++;\n                                } else {\n                                    $item.hide();\n                                }\n                            });\n                            jQuery('.qty_count').text(visibleCount);\n                        }\n                        jQuery('input[name=\"filter_with_title\"]').off('keyup').on('keyup', function () {\n                            applyAllFilters();\n                        });\n                        jQuery('input[name=\"filter_with_date\"]').off('change').on('change', function () {\n                            applyAllFilters();\n                        });\n                        jQuery('input[name=\"filter_with_start_date\"]').off('change').on('change', function () {\n                            applyAllFilters();\n                        });\n                        jQuery('input[name=\"filter_with_end_date\"]').off('change').on('change', function () {\n                            applyAllFilters();\n                        });\n                        jQuery('select[name=\"filter_with_state\"]').off('change').on('change', function () {\n                            applyAllFilters();\n                        });\n                        jQuery('select[name=\"filter_with_city\"]').off('change').on('change', function () {\n                            applyAllFilters();\n                        });\n                        jQuery('select[name=\"filter_with_category\"]').off('change').on('change', function () {\n                            applyAllFilters();\n                        });\n                        jQuery('select[name=\"filter_with_organizer\"]').off('change').on('change', function () {\n                            applyAllFilters();\n                        });\n\t\t\t\t\t\t                    });\n                <\/script>\n                \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4638","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Events \u2013 List Style with Search Box - Octagon<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/octagon.md\/ru\/events-list-style-with-search-box\/\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Events \u2013 List Style with Search Box - Octagon\" \/>\n<meta property=\"og:url\" content=\"https:\/\/octagon.md\/ru\/events-list-style-with-search-box\/\" \/>\n<meta property=\"og:site_name\" content=\"Octagon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/octagon.md\\\/events-list-style-with-search-box\\\/\",\"url\":\"https:\\\/\\\/octagon.md\\\/events-list-style-with-search-box\\\/\",\"name\":\"Events \u2013 List Style with Search Box - Octagon\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/octagon.md\\\/#website\"},\"datePublished\":\"2026-03-27T09:04:34+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/octagon.md\\\/events-list-style-with-search-box\\\/#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/octagon.md\\\/events-list-style-with-search-box\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/octagon.md\\\/events-list-style-with-search-box\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Prima pagin\u0103\",\"item\":\"https:\\\/\\\/octagon.md\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Events \u2013 List Style with Search Box\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/octagon.md\\\/#website\",\"url\":\"https:\\\/\\\/octagon.md\\\/\",\"name\":\"Octagon\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/octagon.md\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ru-RU\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Events \u2013 List Style with Search Box - Octagon","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:\/\/octagon.md\/ru\/events-list-style-with-search-box\/","og_locale":"ru_RU","og_type":"article","og_title":"Events \u2013 List Style with Search Box - Octagon","og_url":"https:\/\/octagon.md\/ru\/events-list-style-with-search-box\/","og_site_name":"Octagon","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/octagon.md\/events-list-style-with-search-box\/","url":"https:\/\/octagon.md\/events-list-style-with-search-box\/","name":"Events \u2013 List Style with Search Box - Octagon","isPartOf":{"@id":"https:\/\/octagon.md\/#website"},"datePublished":"2026-03-27T09:04:34+00:00","breadcrumb":{"@id":"https:\/\/octagon.md\/events-list-style-with-search-box\/#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/octagon.md\/events-list-style-with-search-box\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/octagon.md\/events-list-style-with-search-box\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Prima pagin\u0103","item":"https:\/\/octagon.md\/"},{"@type":"ListItem","position":2,"name":"Events \u2013 List Style with Search Box"}]},{"@type":"WebSite","@id":"https:\/\/octagon.md\/#website","url":"https:\/\/octagon.md\/","name":"Octagon","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/octagon.md\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ru-RU"}]}},"_links":{"self":[{"href":"https:\/\/octagon.md\/ru\/wp-json\/wp\/v2\/pages\/4638","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/octagon.md\/ru\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/octagon.md\/ru\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/octagon.md\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/octagon.md\/ru\/wp-json\/wp\/v2\/comments?post=4638"}],"version-history":[{"count":0,"href":"https:\/\/octagon.md\/ru\/wp-json\/wp\/v2\/pages\/4638\/revisions"}],"wp:attachment":[{"href":"https:\/\/octagon.md\/ru\/wp-json\/wp\/v2\/media?parent=4638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}