get_render_path(); $styling = $this->main->get_styling(); $dark_mode = $styling['dark_mode'] ?? ''; if($dark_mode == 1) $set_dark = 'mec-dark-mode'; else $set_dark = ''; ob_start(); include $render_path; $items_html = ob_get_clean(); // Include OWL Assets $this->main->load_owl_assets(); $sed_method = $this->sed_method; if($sed_method == 'new') $sed_method = '0'; // Generating javascript code tpl $loop = ($this->found > 1 ? $this->loop : false); $javascript = ''; // Include javascript code into the page if($this->main->is_ajax() or $this->main->preview()) echo MEC_kses::full($javascript); else $this->factory->params('footer', $javascript); do_action('mec_start_skin', $this->id); do_action('mec_carousel_skin_head'); ?>