{"id":523,"date":"2016-05-06T09:36:24","date_gmt":"2016-05-06T09:36:24","guid":{"rendered":"http:\/\/wp.nootheme.com\/hermosa\/dummy\/?page_id=523"},"modified":"2024-03-12T13:49:12","modified_gmt":"2024-03-12T12:49:12","slug":"class-schedule","status":"publish","type":"page","link":"https:\/\/yogawithmatt.fr\/en\/class-schedule","title":{"rendered":"Planning"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row parallax=&#8221;content-moving&#8221; parallax_image=&#8221;1524&#8243; css=&#8221;.vc_custom_1516616241508{padding-top: 80px !important;padding-bottom: 40px !important;background-image: url(https:\/\/yogawithmatt.fr\/wp-content\/uploads\/2018\/01\/fond-degarde3.jpg?id=1524) !important;}&#8221;][vc_column]        <div class=\" noo_class_schedule_69f47445630fc\">\r\n            <div class=\" noo-class-schedule-shortcode hide-time-column\">\r\n\t\t\t\t\r\n\r\n                <!-- Section content -->\r\n\t\t\t\t                <div class=\"noo-class-schedule\">\r\n                    <div id=\"schedule_filter_69f47445630fd\" class=\"class-schedule-filter noo-filters noo-hidden\">\r\n\t\t\t\t\t\t                            <input type=\"hidden\" id=\"js_data_from_69f47445630fe\" value=\"2026-04-27\" \/>\r\n                            <input type=\"hidden\" id=\"js_data_to_69f47445630ff\" value=\"2026-05-03\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t                    <\/div>\r\n                    <div id=\"noo_class_schedule_69f47445630fc\" class=\"class-schedule\"><\/div>\r\n\r\n\t\t\t\t\t\r\n                    <script>\r\n                        var source_noo_class_schedule_69f47445630fc = [{\"id\":\"1557\",\"title\":\"Atelier massage Thai\",\"start\":\"2018-01-27T11:30\",\"end\":\"2018-01-27T13:00\",\"url\":\"https:\\\/\\\/yogawithmatt.fr\\\/en\\\/events\\\/atelier-massage-thai\",\"address\":\"31 Boulevard Edouard Baudoin, 06160 Antibes, France\",\"resourceId\":0,\"textColor\":\"#fff\",\"backgroundColor\":\"#c16200\",\"catColor\":\"#c16200\",\"borderColor\":\"transparent\",\"backgroundImage\":null,\"popup_bgImage\":\"https:\\\/\\\/yogawithmatt.fr\\\/wp-content\\\/uploads\\\/2016\\\/05\\\/image_custom.png\",\"className\":\"md-trigger fc-noo-event show-icon\",\"excerpt\":\"\",\"register_link\":\"https:\\\/\\\/yogawithmatt.fr\\\/sample-page?tbk_serviceId=ateliermassage\",\"start_date\":\"2018-01-27\",\"start_time\":\"1516275026\",\"end_date\":\"2018-01-27\",\"end_time\":\"1516280435\"},{\"id\":\"1556\",\"title\":\"Yoga On Da Beach - 5\\u00e8me Edition\",\"start\":\"2018-01-27T10:00\",\"end\":\"2018-01-27T11:15\",\"url\":\"https:\\\/\\\/yogawithmatt.fr\\\/en\\\/events\\\/yoga-on-da-beach-5eme-edition\",\"address\":\"31 Boulevard Edouard Baudoin, 06160 Antibes, France\",\"resourceId\":55,\"textColor\":\"#fff\",\"backgroundColor\":\"#ffc952\",\"catColor\":\"#ffc952\",\"borderColor\":\"transparent\",\"backgroundImage\":null,\"popup_bgImage\":\"https:\\\/\\\/yogawithmatt.fr\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/Capture-d\\u2019\\u00e9cran-2018-01-17-\\u00e0-21.56.36.png\",\"className\":\"md-trigger fc-noo-event show-icon\",\"excerpt\":\"\",\"register_link\":\"https:\\\/\\\/yogawithmatt.fr\\\/sample-page?tbk_serviceId=eventyoga\",\"start_date\":\"2018-01-27\",\"start_time\":\"1516269651\",\"end_date\":\"2018-01-27\",\"end_time\":\"1516274104\"}];\r\n                        var column_source_noo_class_schedule_69f47445630fc = [];\r\n                        var holiday_noo_class_schedule_69f47445630fc = [{\"day\":\"2017-12-23\",\"description\":\"\",\"className\":\"fc-noo-class-holiday\",\"backgroundColor\":\"#cf3d6f\"},{\"day\":\"2017-12-24\",\"description\":\"\",\"className\":\"fc-noo-class-holiday\",\"backgroundColor\":\"#cf3d6f\"},{\"day\":\"2017-12-25\",\"description\":\"\",\"className\":\"fc-noo-class-holiday\",\"backgroundColor\":\"#cf3d6f\"},{\"day\":\"2017-12-26\",\"description\":\"\",\"className\":\"fc-noo-class-holiday\",\"backgroundColor\":\"#cf3d6f\"},{\"day\":\"2017-12-27\",\"description\":\"\",\"className\":\"fc-noo-class-holiday\",\"backgroundColor\":\"#cf3d6f\"},{\"day\":\"2017-12-28\",\"description\":\"\",\"className\":\"fc-noo-class-holiday\",\"backgroundColor\":\"#cf3d6f\"},{\"day\":\"2017-12-29\",\"description\":\"\",\"className\":\"fc-noo-class-holiday\",\"backgroundColor\":\"#cf3d6f\"},{\"day\":\"2017-12-30\",\"description\":\"\",\"className\":\"fc-noo-class-holiday\",\"backgroundColor\":\"#cf3d6f\"},{\"day\":\"2017-12-31\",\"description\":\"\",\"className\":\"fc-noo-class-holiday\",\"backgroundColor\":\"#cf3d6f\"},{\"day\":\"2018-01-01\",\"description\":\"\",\"className\":\"fc-noo-class-holiday\",\"backgroundColor\":\"#cf3d6f\"},{\"day\":\"2018-01-02\",\"description\":\"\",\"className\":\"fc-noo-class-holiday\",\"backgroundColor\":\"#cf3d6f\"},{\"day\":\"2018-01-03\",\"description\":\"\",\"className\":\"fc-noo-class-holiday\",\"backgroundColor\":\"#cf3d6f\"},{\"day\":\"2018-01-04\",\"description\":\"\",\"className\":\"fc-noo-class-holiday\",\"backgroundColor\":\"#cf3d6f\"},{\"day\":\"2018-01-05\",\"description\":\"\",\"className\":\"fc-noo-class-holiday\",\"backgroundColor\":\"#cf3d6f\"},{\"day\":\"2018-01-06\",\"description\":\"\",\"className\":\"fc-noo-class-holiday\",\"backgroundColor\":\"#cf3d6f\"},{\"day\":\"2018-01-07\",\"description\":\"\",\"className\":\"fc-noo-class-holiday\",\"backgroundColor\":\"#cf3d6f\"}];\r\n                    <\/script>\r\n                    <script>\r\n                        jQuery(document).ready(function($) {\r\n\r\n                            $(\"#noo_class_schedule_69f47445630fc\").fullCalendar({\r\n                                isRTL: false,\r\n\t\t\t\t\t\t\t\t                                slotEventOverlap: true,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                                header: {\r\n                                    left: 'prev',\r\n                                    center: 'title',\r\n                                    right: 'next',\r\n                                },\r\n\t\t\t\t\t\t\t\t                                slotLabelFormat: 'HH:mm',\r\n                                minTime: '11:00:00',\r\n                                maxTime: '20:00:00',\r\n                                timeFormat: \"H [h] mm\",\r\n                                slotLabelFormat: \"H [h] mm\",\r\n                                defaultView: 'agendaWeek',\r\n                                firstDay: 1,\r\n                                slotDuration: '01:00:00',\r\n\t\t\t\t\t\t\t\t                                columnHeaderFormat : \"ddd D MMMM YYYY\",\r\n\t\t\t\t\t\t\t\t                                allDaySlot: false,\r\n                                defaultDate: '2026-05-01',\r\n                                editable: false,\r\n                                locale:'en_US',\r\n                                eventLimit: 2, \/\/ allow \"more\" link when too many events\r\n                                events: source_noo_class_schedule_69f47445630fc,\r\n                                resources: column_source_noo_class_schedule_69f47445630fc,\r\n                                labelColumnTime: 'Time',\r\n\t\t\t\t\t\t\t\t                                weekends: 'sat',\r\n\t\t\t\t\t\t\t\t                                eventLimitText: 'more',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                                textWith: '<span>with<\/span>',\r\n\t\t\t\t\t\t\t\t                                textLevel:  '<span>level<\/span>',\r\n                                displayEventEnd: true,\r\n\t\t\t\t\t\t\t\t                                hideTimeRange: '',\r\n\t\t\t\t\t\t\t\t                                contentHeight: 'auto',\r\n                                height: 'auto',\r\n\t\t\t\t\t\t\t\t\r\n                                eventRender: function(event, element, view) {\r\n                                    var $schedule_layout = 'grid';\r\n                                    \r\n                                    \r\n                                    element.attr('data-modal', 'modal-popup_timetable_69f4744563101');\r\n\r\n                                \t\r\n                                    if(event.catColor){\r\n\t\t\t\t\t\t\t\t\t\t                                        element.append('<div class=\"fc-ribbon\" style=\"background-color:' + event.catColor + '\"><\/div>');\r\n\t\t\t\t\t\t\t\t\t\t                                    }\r\n\r\n                                    if(event.title) {\r\n                                        element.find('.fc-title').html(event.title);\r\n                                    }\r\n                                    \t\t\t\t\t\t\t\t\t\t                                    if(event.backgroundImage != null && $schedule_layout == 'grid'){\r\n\t                                        element.find('.fc-bg').css('background-image', 'url('+event.backgroundImage+')');\r\n\t                                    }\r\n\t                                    \r\n\t                                    if(event.trainer) {\r\n\t                                        element.find('.fc-content').append('<div class=\"fc-trainer\">' + event.trainer + '<\/div>');\r\n\t                                    }\r\n\t                                    if(event.showcatBycolor == 'yes' && event.categoryName) {\r\n\t                                        element.find('.fc-content').append('<div class=\"fc-category\" style=\"background-color:' + event.catColor + '\">' + htmlEscape(event.categoryName) + '<\/div>');\r\n\t                                    }\t\r\n\t\t\t\t\t\t\t\t\t                                    var timeHtml = '';\r\n                                    var timeText = '';\r\n                                    if (timeText) {\r\n                                        timeHtml = '<span class=\"fc-time\">' + htmlEscape(timeText) + '<\/span>';\r\n                                    }\r\n\r\n                                    \/** Modal when click **\/\r\n                                    modalInfo = {};\r\n                                    modalInfo['title'] = (event.title);\r\n\t\t\t\t\t\t\t\t\t                                    var textWith = 'with';\r\n\t\t\t\t\t\t\t\t\t                                    var textLevel = 'level';\r\n                                    if(event.trainer) {\r\n                                        modalInfo['trainer'] = textWith + ' ' + event.trainer;\r\n                                    }\r\n                                    if(event.level) {\r\n                                        modalInfo['level'] = textLevel + ' ' + event.level;\r\n                                    }\r\n                                    modalInfo['time'] = timeHtml;\r\n\r\n                                    modalInfo['categoryName'] \t = event.categoryName === undefined ? '' : event.categoryName;\r\n                                    modalInfo['backgroundColor'] = event.backgroundColor === undefined ? '' : htmlEscape(event.backgroundColor);\r\n                                    modalInfo['catColor'] \t\t = event.catColor === undefined ? '' : htmlEscape(event.catColor);\r\n                                    modalInfo['popup_bgImage'] \t = event.popup_bgImage;\r\n                                    modalInfo['url'] = htmlEscape(event.url);\r\n                                    modalInfo['excerpt'] = event.excerpt; \/* Remove htmlEscape*\/\r\n                                    if(event.address != '') {\r\n                                        modalInfo['address'] = htmlEscape(event.address);\r\n                                    }\r\n                                    modalInfo['register_link'] = event.register === undefined ? '' : htmlEscape(event.register);\r\n                                    element.append('<input type=\"hidden\" value=\\'' + JSON.stringify(modalInfo).replace(\/'\/g,\"&apos;\") + '\\'\/>');\r\n\r\n                                },\r\n                                eventAfterAllRender: function( view ) {\r\n                                    if ( jQuery('.noo-class-schedule-shortcode').width() <= 950 ) {\r\n                                        jQuery('.noo-class-schedule-shortcode').addClass('small-view');\r\n                                    }\r\n                                    \/** Style holiday in month view **\/\r\n                                    \/\/ holidayRestyle();\r\n                                    var holidays = holiday_noo_class_schedule_69f47445630fc;\r\n                                    var el = view.el;\r\n                                    var holidayMoment;\r\n                                    for(var i = 0; i < holidays.length; i++) {\r\n                                        holidayMoment = moment(holidays[i]['day'],'YYYY-MM-DD');\r\n                                        var aDay = el.find('.fc-bg table td[data-date=' + holidayMoment.format(\"YYYY-MM-DD\") + ']');\r\n\r\n                                        if(aDay.hasClass('fc-day')) {\r\n                                            aDay.addClass(holidays[i]['className']);\r\n                                            aDay.css(\r\n                                                { 'background-color': holidays[i]['backgroundColor'] }\r\n                                            );\r\n\r\n                                            if(aDay.hasClass('fc-noo-class-holiday')){\r\n                                            \taDay.html('<span class=\"fc-content\">'  + ' - ' + holidays[i]['description'] + '<\/span>');\r\n                                            }\r\n                                        }\r\n\r\n                                    }\r\n                                    \/** End Style holiday **\/\r\n                                    ModalEffectsInit();\r\n\t\t\t\t\t\t\t\t\t                                }\r\n                            });\r\n\r\n                            $('.fc-prev-button').attr('data-from', '2026-04-20').attr('data-to', '2026-04-26');\r\n                            $('.fc-next-button').attr('data-from', '2026-05-04').attr('data-to', '2026-05-10');\r\n\r\n                            var schedule_layout = 'grid';\r\n                            var fc_body = '.fc-body';\r\n                            if(schedule_layout == 'list') {\r\n                                fc_body = '.fc-list-table';\r\n                            }\r\n\t\t\t\t\t\t\t                            \/\/ Filter Active in first load\r\n                            $(\".noo-class-schedule #schedule_filter_69f47445630fd ul li\").first().find('a').addClass('selected');\r\n\r\n                            $(\".noo-class-schedule #schedule_filter_69f47445630fd a\").on(\"click\", function(e){\r\n                                e.preventDefault();\r\n                                var $this = $(this);\r\n\r\n                                $.ajax({\r\n                                    type: 'POST',\r\n                                    url: nooTimetableParams.ajax_url,\r\n                                    data: {\r\n                                        action          : 'noo_class_event_filter',\r\n\t\t\t\t\t\t\t\t\t\t                                        class_category  : 'all',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                                        shorcode_attr   : '{\"title\":\"\",\"sub_title\":\"\",\"schedule_layout\":\"grid\",\"min_time\":\"11:00:00\",\"max_time\":\"20:00:00\",\"content_height\":\"\",\"source\":\"both\",\"default_view\":\"agendaWeek\",\"event_cat\":\"all\",\"teacher_of_class\":\"no\",\"address_of_class\":\"no\",\"item_limit\":2,\"hide_time_range\":\"\",\"class\":\"\",\"show_time_column\":\"no\",\"show_weekends\":\"sat\",\"show_cate_filter\":\"yes\",\"filter_layout\":\"list\",\"filter_type\":\"category\",\"class_cat\":\"all\",\"class_level\":\"all\",\"class_trainer\":\"all\",\"show_filter\":\"yes\",\"class_filter_layout\":\"list\",\"class_show_all_tab\":\"yes\",\"show_all_tab\":\"yes\",\"general_header_toolbar\":\"yes\",\"general_header_day\":\"yes\",\"custom_general_default_date\":\"false\",\"general_default_date\":\"\",\"general_navigate_link\":\"internal\",\"general_popup\":\"no\",\"general_popup_time\":\"yes\",\"general_popup_title\":\"yes\",\"general_popup_level\":\"no\",\"general_popup_thumb\":\"no\",\"general_popup_adress_trainer\":\"no\",\"general_popup_excerpt\":\"no\",\"general_popup_style\":\"8\",\"show_export\":\"no\",\"show_category\":\"no\",\"class_show_category\":\"no\",\"class_item_style\":\"categoryColor\",\"class_show_icon\":\"no\",\"event_split\":\"yes\",\"event_item_style\":\"background_color\",\"event_show_icon\":\"yes\",\"general_header_background\":\"#1e73be\",\"general_header_color\":\"#fff\",\"general_today_column\":\"#2ccad6\",\"general_holiday_background\":\"#cf3d6f\"}',\r\n                                        sercurity       : '3b6a727845'\r\n                                    },\r\n                                    beforeSend: function() {\r\n                                        $this.closest('.noo-class-schedule').find(fc_body).addClass('overlay-loading-tripped');\r\n                                        $this.closest('.noo-class-schedule').find(\".class-schedule-filter a.selected\")\r\n                                            .removeClass(\"selected\")\r\n                                            .removeClass('class-schedule-infi-pulse');\r\n                                        $this\r\n                                            .addClass(\"selected\")\r\n                                            .addClass('class-schedule-infi-pulse');\r\n                                    },\r\n                                    success: function(res){\r\n                                        var newsource = res.events_data;\r\n                                        $this.closest('.noo-class-schedule').find(fc_body).removeClass('overlay-loading-tripped');\r\n                                        $this.closest('.noo-class-schedule').find(\".class-schedule-filter a.selected\")\r\n                                            .removeClass(\"selected\")\r\n                                            .removeClass('class-schedule-infi-pulse');\r\n                                        $this\r\n                                            .addClass(\"selected\")\r\n                                            .removeClass('class-schedule-infi-pulse');\r\n\r\n                                        if(newsource){\r\n                                            $(\"#noo_class_schedule_69f47445630fc\").fullCalendar('removeEventSource', source_noo_class_schedule_69f47445630fc)\r\n                                            $(\"#noo_class_schedule_69f47445630fc\").fullCalendar('refetchEvents');\r\n                                            $(\"#noo_class_schedule_69f47445630fc\").fullCalendar('addEventSource', newsource);\r\n                                            $(\"#noo_class_schedule_69f47445630fc\").fullCalendar('refetchEvents');\r\n                                            source_noo_class_schedule_69f47445630fc = newsource;\r\n                                        }\r\n                                    },\r\n                                    error: function () {\r\n                                        location.reload();\r\n                                    }\r\n                                });\r\n                            });\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                            $('body').on(\"click\", \".noo-class-schedule #noo_class_schedule_69f47445630fc .fc-toolbar .fc-prev-button, .noo-class-schedule #noo_class_schedule_69f47445630fc .fc-toolbar .fc-next-button\", function(e){\r\n\t                                e.preventDefault();\r\n\t                                var $this = $(this);\r\n\r\n\t                                $this.prop('disabled', true);\r\n\r\n\t\t\t\t\t\t\t\t\t\t                                var filterObj = $this.parents('.noo-class-schedule').find('.noo-filters');\r\n\t                                var filterSelected = filterObj.find('a.selected');\r\n\t\t\t\t\t\t\t\t\t\t                                $.ajax({\r\n\t                                    type: 'POST',\r\n\t                                    url: nooTimetableParams.ajax_url,\r\n\t                                    data: {\r\n\t                                        action          : 'noo_class_event_filter',\r\n\t\t\t\t\t\t\t\t\t\t\t\t                                        class_category  : 'all',\r\n\t\t\t\t\t\t\t\t\t\t\t\t                                        from: $this.attr('data-from'),\r\n\t                                        to: $this.attr('data-to'),\r\n\t\t\t\t\t\t\t\t\t\t\t\t                                        filter_type: 'category',\r\n\t\t\t\t\t\t\t\t\t\t\t\t                                        shorcode_attr   : '{\"title\":\"\",\"sub_title\":\"\",\"schedule_layout\":\"grid\",\"min_time\":\"11:00:00\",\"max_time\":\"20:00:00\",\"content_height\":\"\",\"source\":\"both\",\"default_view\":\"agendaWeek\",\"event_cat\":\"all\",\"teacher_of_class\":\"no\",\"address_of_class\":\"no\",\"item_limit\":2,\"hide_time_range\":\"\",\"class\":\"\",\"show_time_column\":\"no\",\"show_weekends\":\"sat\",\"show_cate_filter\":\"yes\",\"filter_layout\":\"list\",\"filter_type\":\"category\",\"class_cat\":\"all\",\"class_level\":\"all\",\"class_trainer\":\"all\",\"show_filter\":\"yes\",\"class_filter_layout\":\"list\",\"class_show_all_tab\":\"yes\",\"show_all_tab\":\"yes\",\"general_header_toolbar\":\"yes\",\"general_header_day\":\"yes\",\"custom_general_default_date\":\"false\",\"general_default_date\":\"\",\"general_navigate_link\":\"internal\",\"general_popup\":\"no\",\"general_popup_time\":\"yes\",\"general_popup_title\":\"yes\",\"general_popup_level\":\"no\",\"general_popup_thumb\":\"no\",\"general_popup_adress_trainer\":\"no\",\"general_popup_excerpt\":\"no\",\"general_popup_style\":\"8\",\"show_export\":\"no\",\"show_category\":\"no\",\"class_show_category\":\"no\",\"class_item_style\":\"categoryColor\",\"class_show_icon\":\"no\",\"event_split\":\"yes\",\"event_item_style\":\"background_color\",\"event_show_icon\":\"yes\",\"general_header_background\":\"#1e73be\",\"general_header_color\":\"#fff\",\"general_today_column\":\"#2ccad6\",\"general_holiday_background\":\"#cf3d6f\"}',\r\n\t                                        sercurity       : '3b6a727845'\r\n\t                                    },\r\n\t                                    beforeSend: function() {\r\n\t                                        $this.closest('.noo-class-schedule').find(fc_body).addClass('overlay-loading-tripped');\r\n\t                                    },\r\n\t                                    success: function(res){\r\n\t                                        var newsource = res.events_data;\r\n\t                                        var sche_wrap = $this.closest('.noo-class-schedule');\r\n\t                                        sche_wrap.find(fc_body).removeClass('overlay-loading-tripped');\r\n\t                                        if(newsource){\r\n\t                                            $(\"#noo_class_schedule_69f47445630fc\").fullCalendar('removeEventSource', source_noo_class_schedule_69f47445630fc)\r\n\t                                            $(\"#noo_class_schedule_69f47445630fc\").fullCalendar('refetchEvents')\r\n\t                                            $(\"#noo_class_schedule_69f47445630fc\").fullCalendar('addEventSource', newsource)\r\n\t                                            $(\"#noo_class_schedule_69f47445630fc\").fullCalendar('refetchEvents');\r\n\t                                            source_noo_class_schedule_69f47445630fc = newsource;\r\n\t                                        }\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t                                        $('#js_data_from_69f47445630fe').val(res.datetime.cur_from);\r\n\t                                        $('#js_data_to_69f47445630ff').val(res.datetime.cur_to);\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                                        filterObj.find('a').attr( 'data-from', res.datetime.cur_from);\r\n\t                                        filterObj.find('a').attr( 'data-to', res.datetime.cur_to);\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t                                        \/\/sche_wrap.find('.res-sche-navigation h3').html(label_start + ' - ' + label_end);\r\n\r\n\t                                        var _nav_prev = sche_wrap.find('.fc-toolbar .fc-prev-button');\r\n\t                                        var _nav_next = sche_wrap.find('.fc-toolbar .fc-next-button');\r\n\r\n\t                                        _nav_prev.attr( 'data-from', res.datetime.prev_from );\r\n\t                                        _nav_prev.attr( 'data-to', res.datetime.prev_to );\r\n\r\n\t                                        _nav_next.attr( 'data-from', res.datetime.next_from );\r\n\t                                        _nav_next.attr( 'data-to', res.datetime.next_to );\r\n\r\n\t                                        \/** Style holiday in month view **\/\r\n\t                                            \/\/holidayRestyle();\r\n\t                                        var holidays = res.holidays_data;\r\n\t                                        var el = $('.fc-agendaWeek-view');\r\n\t                                        var holidayMoment;\r\n\t                                        for(var i = 0; i < holidays.length; i++) {\r\n\t                                            holidayMoment = moment(holidays[i]['day'],'YYYY-MM-DD');\r\n\t                                            var aDay = el.find('.fc-bg table td[data-date=' + holidayMoment.format(\"YYYY-MM-DD\") + ']');\r\n\t                                            if(aDay.hasClass('fc-day')) {\r\n\t                                                aDay.addClass(holidays[i]['className']);\r\n\t                                                aDay.css(\r\n\t                                                    { 'background-color': holidays[i]['backgroundColor'] }\r\n\t                                                );\r\n\t                                                if(aDay.hasClass('fc-noo-class-holiday'))\r\n\t                                                \taDay.html('<span class=\"fc-content\">'  + ' - ' + holidays[i]['description'] + '<\/span>');\r\n\t                                            }\r\n\t                                        }\r\n\t                                        \r\n\t                                        $this.prop('disabled', false);\r\n\t                                        \/** End Style holiday **\/\r\n\t                                    },\r\n\t                                    error: function () {\r\n\t                                        \/\/location.reload();\r\n\t                                    }\r\n\t                                });\r\n\t                            });\r\n\t\t\t\t\t\t\t                            $( window ).resize(function() {\r\n                                var $sch_view = $(\"#noo_class_schedule_69f47445630fc\").find('.fc-view');\r\n                                if ( !$.trim( $sch_view.html() ) ) {\r\n                                    $(\"#noo_class_schedule_69f47445630fc\").find('.fc-toolbar').find('.fc-prev-button').click();\r\n                                    $(\"#noo_class_schedule_69f47445630fc\").find('.fc-toolbar').find('.fc-next-button').click();\r\n                                }\r\n                            });\r\n\r\n\r\n                            \/\/ Download iCal button onclick listener\r\n                            $(\"#export_timetable_69f4744563100\").on('click',function(){\r\n                                \/\/ setup ics\r\n                                var cal = ics();\r\n                                \/\/ go through each event from the json and add an event for it to ics\r\n                                $.each(source_noo_class_schedule_69f47445630fc,function(i, $event){\r\n\t\t\t\t\t\t\t\t\t                                    var _desc     =  $event.categoryName;\r\n                                    var _location =  $event.address;\r\n\t\t\t\t\t\t\t\t\t                                    cal.addEvent($event.title, _desc, _location, $event.start, $event.end, $event.url);\r\n                                });\r\n\r\n                                cal.download('ical-class-chedule', '.ics');\r\n                                return false;\r\n                            });\r\n\r\n                            $('.md-modal').addClass('md-modal-init');\r\n                        });\r\n                    <\/script>\r\n                <\/div>\r\n\r\n\r\n            <\/div> <!-- \/.noo-class-schedule-shortcode -->\r\n\t\t\t<div class=\"noo-responsive-schedule-wrap\">\r\n\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"cat_selected\" value=\"all\">\r\n\t\t\t\t                <div class=\"res-sche-navigation\">\r\n                    <button class=\"prev\" data-from=\"2026-04-20\" data-to=\"2026-04-26\"><i class=\"fa fa-chevron-left\" aria-hidden=\"true\"><\/i><\/button>\r\n                    <h3>27 April 2026 - 3 May 2026<\/h3>\r\n                    <button class=\"next\" data-from=\"2026-05-04\" data-to=\"2026-05-10\"><i class=\"fa fa-chevron-right\" aria-hidden=\"true\"><\/i><\/button>\r\n                <\/div>\r\n                <div class=\"res-sche-content\">\r\n\t\t\t\t\t                        <h2>Class<\/h2>\r\n\t\t\t\t\t\t<center><p>Class not found.<\/p><\/center>            <input type=\"hidden\" class=\"prev-from-hidden\" value=\"2026-04-20\" \/>\r\n            <input type=\"hidden\" class=\"prev-to-hidden\" value=\"2026-04-26\" \/>\r\n\r\n            <input type=\"hidden\" class=\"next-from-hidden\" value=\"2026-05-04\" \/>\r\n            <input type=\"hidden\" class=\"next-to-hidden\" value=\"2026-05-10\" \/>\r\n\r\n            <input type=\"hidden\" class=\"label-start\" value=\"27 April 2026\" \/>\r\n            <input type=\"hidden\" class=\"label-end\" value=\"3 May 2026\" \/>\r\n\r\n            <input type=\"hidden\" class=\"curr-start\" value=\"2026-04-27\" \/>\r\n            <input type=\"hidden\" class=\"curr-end\" value=\"2026-05-03\" \/>\r\n\t\t\t                        <h2>Event<\/h2>\r\n\t\t\t\t\t\t<div style=\"text-align: center; padding: 30px 0;\">No event for the week!<\/div>            <input type=\"hidden\" class=\"prev-from-hidden\" value=\"2026-04-20\" \/>\r\n            <input type=\"hidden\" class=\"prev-to-hidden\" value=\"2026-04-26\" \/>\r\n\r\n            <input type=\"hidden\" class=\"next-from-hidden\" value=\"2026-05-04\" \/>\r\n            <input type=\"hidden\" class=\"next-to-hidden\" value=\"2026-05-10\" \/>\r\n\r\n            <input type=\"hidden\" class=\"label-start\" value=\"27 April 2026\" \/>\r\n            <input type=\"hidden\" class=\"label-end\" value=\"3 May 2026\" \/>\r\n\r\n            <input type=\"hidden\" class=\"curr-start\" value=\"2026-04-27\" \/>\r\n            <input type=\"hidden\" class=\"curr-end\" value=\"2026-05-03\" \/>\r\n                            <\/div>\r\n                <div class=\"res-sche-navigation\">\r\n                    <button class=\"prev\" data-from=\"2026-04-20\" data-to=\"2026-04-26\"><i class=\"fa fa-chevron-left\" aria-hidden=\"true\"><\/i><\/button>\r\n                    <h3>27 April 2026 - 3 May 2026<\/h3>\r\n                    <button class=\"next\" data-from=\"2026-05-04\" data-to=\"2026-05-10\"><i class=\"fa fa-chevron-right\" aria-hidden=\"true\"><\/i><\/button>\r\n                <\/div>\r\n\r\n            <\/div> <!-- noo-responsive-schedule-wrap -->\r\n           \r\n\r\n        <\/div>\r\n       <script>\r\n            jQuery(document).ready(function($) {\r\n                $(\".noo-responsive-schedule-wrap #schedule_filter_69f47445630fd ul li\").first().find('a').addClass('selected');\r\n                $(\".res-sche-navigation button\").on(\"click\", function(e){\r\n                    e.preventDefault();\r\n                    var $this = $(this);\r\n                    $this.prop('disabled', true);\r\n\r\n                    var $filterObj = $(\".noo-responsive-schedule-wrap\").find('input[name=\"cat_selected\"]');\r\n                    $.ajax({\r\n                        type: 'POST',\r\n                        url: nooTimetableParams.ajax_url,\r\n                        data: {\r\n                            action          : 'noo_class_and_event',\r\n                            from            : $this.attr(\"data-from\"),\r\n                            to              : $this.attr(\"data-to\"),\r\n\t\t\t\t\t\t\t                            the_category    : 'all',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t                            filter_type: 'category',\r\n\t\t\t\t\t\t\t                            weekends        : true,\r\n                            shorcode_attr   : '{\"title\":\"\",\"sub_title\":\"\",\"schedule_layout\":\"grid\",\"min_time\":\"11:00:00\",\"max_time\":\"20:00:00\",\"content_height\":\"\",\"source\":\"both\",\"default_view\":\"agendaWeek\",\"event_cat\":\"all\",\"teacher_of_class\":\"no\",\"address_of_class\":\"no\",\"item_limit\":2,\"hide_time_range\":\"\",\"class\":\"\",\"show_time_column\":\"no\",\"show_weekends\":\"sat\",\"show_cate_filter\":\"yes\",\"filter_layout\":\"list\",\"filter_type\":\"category\",\"class_cat\":\"all\",\"class_level\":\"all\",\"class_trainer\":\"all\",\"show_filter\":\"yes\",\"class_filter_layout\":\"list\",\"class_show_all_tab\":\"yes\",\"show_all_tab\":\"yes\",\"general_header_toolbar\":\"yes\",\"general_header_day\":\"yes\",\"custom_general_default_date\":\"false\",\"general_default_date\":\"\",\"general_navigate_link\":\"internal\",\"general_popup\":\"no\",\"general_popup_time\":\"yes\",\"general_popup_title\":\"yes\",\"general_popup_level\":\"no\",\"general_popup_thumb\":\"no\",\"general_popup_adress_trainer\":\"no\",\"general_popup_excerpt\":\"no\",\"general_popup_style\":\"8\",\"show_export\":\"no\",\"show_category\":\"no\",\"class_show_category\":\"no\",\"class_item_style\":\"categoryColor\",\"class_show_icon\":\"no\",\"event_split\":\"yes\",\"event_item_style\":\"background_color\",\"event_show_icon\":\"yes\",\"general_header_background\":\"#1e73be\",\"general_header_color\":\"#fff\",\"general_today_column\":\"#2ccad6\",\"general_holiday_background\":\"#cf3d6f\"}',\r\n                            sercurity       : '7a5386c8d8'\r\n                        },\r\n                        beforeSend: function() {\r\n                            var sche_wrap = $this.closest('.noo-responsive-schedule-wrap');\r\n                            sche_wrap.find('.res-sche-content').addClass('overlay-loading-tripped');\r\n                        },\r\n                        success: function(res){\r\n\r\n                            var sche_wrap = $this.closest('.noo-responsive-schedule-wrap');\r\n                            sche_wrap.find('.res-sche-content').removeClass('overlay-loading-tripped');\r\n                            sche_wrap.find('.res-sche-content').html(res);\r\n\r\n                            label_start = sche_wrap.find('.label-start').val();\r\n                            label_end = sche_wrap.find('.label-end').val();\r\n\r\n                            curr_start = sche_wrap.find('.curr-start').val();\r\n                            curr_end = sche_wrap.find('.curr-end').val();\r\n                            $(\".filter-mobile select option\").attr( 'data-from', curr_start);\r\n                            $(\".filter-mobile select option\").attr( 'data-to', curr_end);\r\n\r\n                            sche_wrap.find('.res-sche-navigation h3').html(label_start + ' - ' + label_end);\r\n\r\n                            var _nav_prev = sche_wrap.find('.res-sche-navigation .prev');\r\n                            var _nav_next = sche_wrap.find('.res-sche-navigation .next');\r\n\r\n                            _nav_prev.attr( 'data-from', sche_wrap.find('.prev-from-hidden').val() );\r\n                            _nav_prev.attr( 'data-to', sche_wrap.find('.prev-to-hidden').val() );\r\n\r\n                            _nav_next.attr( 'data-from', sche_wrap.find('.next-from-hidden').val() );\r\n                            _nav_next.attr( 'data-to', sche_wrap.find('.next-to-hidden').val() );\r\n\r\n                            $this.prop('disabled', false);\r\n\r\n                        },\r\n                        error: function () {\r\n                            location.reload();\r\n                        }\r\n                    });\r\n                });\r\n\r\n                $(\".filter-mobile select\").on(\"change\", function(e){\r\n                    e.preventDefault();\r\n                    var $this = $(this);\r\n                    var curOptData = $(this).find(':selected');\r\n\r\n                    $.ajax({\r\n                        type: 'POST',\r\n                        url: nooTimetableParams.ajax_url,\r\n                        data: {\r\n                            action          : 'noo_class_and_event',\r\n                            from            : curOptData.attr(\"data-from\"),\r\n                            to              : curOptData.attr(\"data-to\"),\r\n                            the_category    : curOptData.data(\"filter\"),\r\n                            weekends        : true,\r\n                            shorcode_attr   : '{\"title\":\"\",\"sub_title\":\"\",\"schedule_layout\":\"grid\",\"min_time\":\"11:00:00\",\"max_time\":\"20:00:00\",\"content_height\":\"\",\"source\":\"both\",\"default_view\":\"agendaWeek\",\"event_cat\":\"all\",\"teacher_of_class\":\"no\",\"address_of_class\":\"no\",\"item_limit\":2,\"hide_time_range\":\"\",\"class\":\"\",\"show_time_column\":\"no\",\"show_weekends\":\"sat\",\"show_cate_filter\":\"yes\",\"filter_layout\":\"list\",\"filter_type\":\"category\",\"class_cat\":\"all\",\"class_level\":\"all\",\"class_trainer\":\"all\",\"show_filter\":\"yes\",\"class_filter_layout\":\"list\",\"class_show_all_tab\":\"yes\",\"show_all_tab\":\"yes\",\"general_header_toolbar\":\"yes\",\"general_header_day\":\"yes\",\"custom_general_default_date\":\"false\",\"general_default_date\":\"\",\"general_navigate_link\":\"internal\",\"general_popup\":\"no\",\"general_popup_time\":\"yes\",\"general_popup_title\":\"yes\",\"general_popup_level\":\"no\",\"general_popup_thumb\":\"no\",\"general_popup_adress_trainer\":\"no\",\"general_popup_excerpt\":\"no\",\"general_popup_style\":\"8\",\"show_export\":\"no\",\"show_category\":\"no\",\"class_show_category\":\"no\",\"class_item_style\":\"categoryColor\",\"class_show_icon\":\"no\",\"event_split\":\"yes\",\"event_item_style\":\"background_color\",\"event_show_icon\":\"yes\",\"general_header_background\":\"#1e73be\",\"general_header_color\":\"#fff\",\"general_today_column\":\"#2ccad6\",\"general_holiday_background\":\"#cf3d6f\"}',\r\n                            sercurity       : '7a5386c8d8'\r\n                        },\r\n                        beforeSend: function() {\r\n                            var sche_wrap = $this.closest('.noo-responsive-schedule-wrap');\r\n                            sche_wrap.find('.res-sche-content').addClass('overlay-loading-tripped');\r\n                        },\r\n                        success: function(res){\r\n\r\n                            var sche_wrap = $this.closest('.noo-responsive-schedule-wrap');\r\n                            sche_wrap.find('.res-sche-content').removeClass('overlay-loading-tripped');\r\n                            sche_wrap.find('.res-sche-content').html(res);\r\n\r\n                            label_start = sche_wrap.find('.label-start').val();\r\n                            label_end = sche_wrap.find('.label-end').val();\r\n\r\n                            sche_wrap.find('.res-sche-navigation h3').html(label_start + ' - ' + label_end);\r\n\r\n                            var _nav_prev = sche_wrap.find('.res-sche-navigation .prev');\r\n                            var _nav_next = sche_wrap.find('.res-sche-navigation .next');\r\n\r\n                            _nav_prev.attr( 'data-from', sche_wrap.find('.prev-from-hidden').val() );\r\n                            _nav_prev.attr( 'data-to', sche_wrap.find('.prev-to-hidden').val() );\r\n\r\n                            _nav_next.attr( 'data-from', sche_wrap.find('.next-from-hidden').val() );\r\n                            _nav_next.attr( 'data-to', sche_wrap.find('.next-to-hidden').val() );\r\n\r\n                        },\r\n                        error: function () {\r\n                            location.reload();\r\n                        }\r\n                    });\r\n                });\r\n\r\n            });\r\n\r\n        <\/script>\r\n\r\n\t\t\r\n\t\t<style id=\"noo-timetable-css-inline-noo_class_schedule_69f47445630fc\" type=\"text\/css\">.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode.background-event .fc-view .fc-body .fc-time-grid .fc-event,.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-view .fc-body .fc-time-grid .fc-event .fc-content .fc-category,.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-month-view .fc-popover .fc-header,.noo_class_schedule_69f47445630fc .noo-responsive-schedule-wrap .res-sche-navigation .prev:focus,.noo_class_schedule_69f47445630fc .noo-responsive-schedule-wrap .res-sche-navigation .next:focus,.noo_class_schedule_69f47445630fc .noo-responsive-schedule-wrap .res-sche-navigation .prev:hover,.noo_class_schedule_69f47445630fc .noo-responsive-schedule-wrap .res-sche-navigation .next:hover,.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-month-view .fc-today.fc-day-number span,.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-toolbar .fc-button:focus,.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-toolbar .fc-button:hover,.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-view .fc-head table .fc-resource-cell,.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-view .fc-head table .fc-widget-header{background-color:#1e73be;}.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode.background-event .fc-view .fc-body .fc-time-grid .fc-event,.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-month-view .fc-holiday{background-color:#cf3d6f;}.noo_class_schedule_69f47445630fc .noo-responsive-schedule-wrap .res-sche-navigation .prev:focus,.noo_class_schedule_69f47445630fc .noo-responsive-schedule-wrap .res-sche-navigation .next:focus,.noo_class_schedule_69f47445630fc .noo-responsive-schedule-wrap .res-sche-navigation .prev:hover,.noo_class_schedule_69f47445630fc .noo-responsive-schedule-wrap .res-sche-navigation .next:hover{color:#fff;}.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-view .fc-head td,.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-view .fc-head table .fc-resource-cell,.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-view .fc-head table .fc-widget-header{border-color:rgba(20,75,124,0.20);}.noo_class_schedule_69f47445630fc .noo-filters ul li a:hover,.noo_class_schedule_69f47445630fc .noo-filters ul li a:focus{color:#1e73be;}.noo_class_schedule_69f47445630fc .noo-filters ul li a.selected{color:#1e73be;}.noo_class_schedule_69f47445630fc .noo-filters ul li a.selected:before{border-color:#1e73be;}.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-view .fc-body .fc-time-grid .fc-event .fc-ribbon,.noo_class_schedule_69f47445630fc .noo-responsive-schedule-wrap .res-sche-navigation .prev,.noo_class_schedule_69f47445630fc .noo-responsive-schedule-wrap .res-sche-navigation .next,.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-toolbar .fc-button{color:#1e73be;border-color:#1e73be;}.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-view .fc-body .fc-time-grid .fc-event.fc-noo-class.show-icon .fc-content:before,.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-view .fc-body .fc-time-grid .fc-event.fc-noo-event.show-icon .fc-content:before{color:#1e73be;}.noo_class_schedule_69f47445630fc .noo-responsive-schedule-wrap .res-sche-navigation .next:hover,.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-month-view .fc-popover .fc-header .fc-close,.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-month-view .fc-popover .fc-header,.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-toolbar .fc-button:focus,.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-toolbar .fc-button:hover,.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-month-view .fc-today.fc-day-number span,.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-view .fc-head table .fc-axis,.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-view .fc-head table .fc-resource-cell,.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-view .fc-head table .fc-day-header{color:#fff}.noo_class_schedule_69f47445630fc .noo-responsive-schedule-wrap .item-weekday.today,.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-view .fc-bg .fc-today,.noo_class_schedule_69f47445630fc .noo-class-schedule-shortcode .fc-view .fc-list-table .fc-today{background-color:#2ccad6;}<\/style>\r\n\t\t[\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row parallax=&#8221;content-moving&#8221; parallax_image=&#8221;1524&#8243; css=&#8221;.vc_custom_1516616241508{padding-top: 80px !important;padding-bottom: 40px !important;background-image: url(https:\/\/yogawithmatt.fr\/wp-content\/uploads\/2018\/01\/fond-degarde3.jpg?id=1524) !important;}&#8221;][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":"page-full-width.php","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-523","page","type-page","status-publish","hentry","has-featured"],"acf":[],"_links":{"self":[{"href":"https:\/\/yogawithmatt.fr\/en\/wp-json\/wp\/v2\/pages\/523"}],"collection":[{"href":"https:\/\/yogawithmatt.fr\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/yogawithmatt.fr\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/yogawithmatt.fr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yogawithmatt.fr\/en\/wp-json\/wp\/v2\/comments?post=523"}],"version-history":[{"count":23,"href":"https:\/\/yogawithmatt.fr\/en\/wp-json\/wp\/v2\/pages\/523\/revisions"}],"predecessor-version":[{"id":1941,"href":"https:\/\/yogawithmatt.fr\/en\/wp-json\/wp\/v2\/pages\/523\/revisions\/1941"}],"wp:attachment":[{"href":"https:\/\/yogawithmatt.fr\/en\/wp-json\/wp\/v2\/media?parent=523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}