ID, WDWT_META, true); } else { $meta = array(); } $default_layout = $this->get_param('default_layout', $meta); $full_width = $this->get_param('full_width', $meta); $content_area_percent = esc_html( $this->get_param('content_area_percent', $meta) ); $content_area_percent = (intval($content_area_percent) < 100 && intval($content_area_percent) >= 75 ) ? intval($content_area_percent) : 75; $content_area_percent_large = esc_html( $this->get_param('content_area_percent_large', $meta) ); $content_area_percent_large = (intval($content_area_percent_large) < 100 && intval($content_area_percent_large) >= 50 ) ? intval($content_area_percent_large) : 50; if($full_width){ $content_area_percent = 99; $content_area_percent_large = 99; } $main_column = $this->get_param('main_column', $meta); $pwa_width = $this->get_param('pwa_width', $meta); if ($full_width) { ?> get_param('[colors_active][active]', $meta_array = array(), $default = 0); $logo_text_color = $this->get_param('[colors_active][colors][logo_text_color][value]', $meta_array = array(), $default = '#ffffff'); $header_back_color = $this->get_param('[colors_active][colors][header_back_color][value]', $meta_array = array(), $default = '#000000'); $menu_elem_back_color = $this->get_param('[colors_active][colors][menu_elem_back_color][value]', $meta_array = array(), $default = '#000000'); $menu_links_color = $this->get_param('[colors_active][colors][menu_links_color][value]', $meta_array = array(), $default = '#ffffff'); $menu_links_hover_color = $this->get_param('[colors_active][colors][menu_links_hover_color][value]', $meta_array = array(), $default = '#0A7ED5'); $slider_desc_color = $this->get_param('[colors_active][colors][slider_desc_color][value]', $meta_array = array(), $default = '#000000'); $selected_menu_item = $this->get_param('[colors_active][colors][selected_menu_item][value]', $meta_array = array(), $default = '#000000'); $top_posts_color = $this->get_param('[colors_active][colors][top_posts_color][value]', $meta_array = array(), $default = '#F8F8F8'); $text_headers_color = $this->get_param('[colors_active][colors][text_headers_color][value]', $meta_array = array(), $default = '#5a5a5a'); $primary_text_color = $this->get_param('[colors_active][colors][primary_text_color][value]', $meta_array = array(), $default = '#000000'); $primary_links_color = $this->get_param('[colors_active][colors][primary_links_color][value]', $meta_array = array(), $default = '#000000'); $primary_links_hover_color = $this->get_param('[colors_active][colors][primary_links_hover_color][value]', $meta_array = array(), $default = '#0A7ED5'); $cat_tab_back_color = $this->get_param('[colors_active][colors][cat_tab_back_color][value]', $meta_array = array(), $default = '#545454'); $featured_posts_color = $this->get_param('[colors_active][colors][featured_posts_color][value]', $meta_array = array(), $default = '#FFFFFF'); $content_post_back = $this->get_param('[colors_active][colors][content_post_back][value]', $meta_array = array(), $default = '#FFFFFF'); $sideb_background_color = $this->get_param('[colors_active][colors][sideb_background_color][value]', $meta_array = array(), $default = '#F3F3F4'); $footer_title_color = $this->get_param('[colors_active][colors][footer_title_color][value]', $meta_array = array(), $default = '#000000'); $footer_sideb_background_color = $this->get_param('[colors_active][colors][footer_sideb_background_color][value]', $meta_array = array(), $default = '#F3F3F4'); $second_footer_sideb_background_color = $this->get_param('[colors_active][colors][second_footer_sideb_background_color][value]', $meta_array = array(), $default = '#FFFFFF'); $footer_text_color = $this->get_param('[colors_active][colors][footer_text_color][value]', $meta_array = array(), $default = '#000000'); $footer_back_color = $this->get_param('[colors_active][colors][footer_back_color][value]', $meta_array = array(), $default = '#FFFFFF'); $date_color = $this->get_param('[colors_active][colors][date_color][value]', $meta_array = array(), $default = '#B2B0B0'); $buttons_color = $this->get_param('[colors_active][colors][buttons_color][value]', $meta_array = array(), $default = '#B2B0B0'); $lightbox_bg_color = $this->get_param('[colors_active][colors][lightbox_bg_color][value]', $meta_array = array(), $default = '#000000'); $lightbox_ctrl_cont_bg_color = $this->get_param('[colors_active][colors][lightbox_ctrl_cont_bg_color][value]', $meta_array = array(), $default = '#000000'); $lightbox_title_color = $this->get_param('[colors_active][colors][lightbox_title_color][value]', $meta_array = array(), $default = '#FFFFFF'); $lightbox_ctrl_btn_color = $this->get_param('[colors_active][colors][lightbox_ctrl_btn_color][value]', $meta_array = array(), $default = '#FFFFFF'); $lightbox_close_rl_btn_hover_color = $this->get_param('[colors_active][colors][lightbox_close_rl_btn_hover_color][value]', $meta_array = array(), $default = '#FFFFFF'); ?> get_param('menu_section_width', array(), 80)); $menu_section_width = ($menu_section_width > 0 && $menu_section_width <= 100) ? $menu_section_width : 80; ?> get_param('logo_type'); $logo_img = esc_url(trim($this->get_param('logo_img'))); $logo_text = esc_attr(trim($this->get_param('logo_text'))); if ($logo_text == '') { $logo_text = get_bloginfo('name', 'display'); } ?>
get_param('hide_slider'); $image_height = $this->get_param('image_height'); $title_position = $this->get_param('title_position'); $description_position = $this->get_param('description_position'); $disable_slider_on_mobile = $this->get_param('disable_slider_on_mobile'); $imgs_url = $this->get_param('slider_head'); $imgs_href = $this->get_param('slider_head_href'); $image_title = $this->get_param('slider_head_title'); $image_textarea = $this->get_param('slider_head_desc'); $imgs_url = explode('||wd||', $imgs_url); $imgs_href = explode('||wd||', $imgs_href); $image_title = explode('||wd||', $image_title); $image_textarea = explode('||wd||', $image_textarea); /*version 1.x*/ array_splice($imgs_url, 2); array_splice($imgs_href, 2); array_splice($image_title, 2); array_splice($image_textarea, 2); $imgs_number = count($imgs_url); /*clear from spaces etc */ foreach ($imgs_url as $i => $url) { $imgs_url[$i] = trim($url); } for ($i = 0; $i <= $imgs_number; $i++) { $imgs_href[$i] = isset($imgs_href[$i]) ? trim($imgs_href[$i]) : ''; $image_title[$i] = isset($image_title[$i]) ? trim($image_title[$i]) : ''; $image_textarea[$i] = isset($image_textarea[$i]) ? trim($image_textarea[$i]) : ''; } if (($hide_slider[0] != "Hide Slider" && ((is_home() && $hide_slider[0] == "Only on Homepage") || (is_front_page() && $hide_slider[0] == "Only on Front Page") || $hide_slider[0] == "On all the pages and posts")) && count($imgs_url) && is_array($imgs_url)) { ?>
>
$image_row) { if ($i == $current_image_id) { $current_key = $key; ?>
get_param('content_posts_enable'); $content_posts_margin = intval($wdwt_front->get_param('content_posts_margin', array(), 0)); if ($content_posts_enable) { ?>