ID, WDWT_META, true ); } else{ $meta = array(); } $default_layout = $this->get_param('default_layout', $meta) ; $main_column = esc_html( $this->get_param('main_column', $meta) ); $pwa_width = esc_html( $this->get_param('pwa_width', $meta) ); $full_width = trim(esc_html( $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; if ($full_width) { $them_content_are_width='99';?> get_param('[colors_active][active]') ); $menu_elem_back_color = esc_html( $this->get_param('[colors_active][colors][menu_elem_back_color][value]', array(), "#890000" )); $sideb_background_color = esc_html( $this->get_param('[colors_active][colors][sideb_background_color][value]', array(),"#FAFAFA" )); $footer_sideb_background_color = esc_html( $this->get_param('[colors_active][colors][footer_sideb_background_color][value]', array(), "#e4e4e4" )); $footer_back_color = esc_html( $this->get_param('[colors_active][colors][footer_back_color][value]', array(), "#CFCFCF" )); $home_top_posts_color = esc_html( $this->get_param('[colors_active][colors][home_top_posts_color][value]', array(), "#F5F5F5" )); $cat_tab_backgr_color = esc_html( $this->get_param('[colors_active][colors][cat_tab_backgr_color][value]', array(), "#000000" )); $top_posts_color = esc_html( $this->get_param('[colors_active][colors][top_posts_color][value]', array(), "#F5F5F5" )); $primary_text_headers_color = esc_html( $this->get_param('[colors_active][colors][primary_text_headers_color][value]', array(), "#000000" )); $text_headers_color = esc_html( $this->get_param('[colors_active][colors][text_headers_color][value]', array(), "#890000" )); $primary_text_color = esc_html( $this->get_param('[colors_active][colors][primary_text_color][value]', array(), "#2C2C2C" )); $footer_text_color = esc_html( $this->get_param('[colors_active][colors][footer_text_color][value]', array(), "#000000" )); $primary_links_color = esc_html( $this->get_param('[colors_active][colors][primary_links_color][value]', array(), "#000000")); $primary_links_hover_color = esc_html( $this->get_param('[colors_active][colors][primary_links_hover_color][value]', array(), "#440000" )); $menu_links_color = esc_html( $this->get_param('[colors_active][colors][menu_links_color][value]', array(), "#FFFFFF" )); $menu_links_hover_color = esc_html( $this->get_param('[colors_active][colors][menu_links_hover_color][value]', array(), "#FFFFFF" )); $menu_color = esc_html( $this->get_param('[colors_active][colors][menu_color][value]', array(), "#000000" )); $selected_menu_color = esc_html( $this->get_param('[colors_active][colors][selected_menu_color][value]', array(), "#000000" )); $logo_text_color = esc_html( $this->get_param('[colors_active][colors][logo_text_color][value]', array(), "#890000" )); ?> get_param('hide_slider'); $imgs_url = $this->get_param('slider_head'); $image_textarea = $this->get_param('slider_head_desc'); $logo_text = $this->get_param('logo_text'); $image_title = $this->get_param('slider_head_title'); $image_height = $this->get_param('image_height'); $title_position = $this->get_param('title_position'); $description_position = $this->get_param('description_position'); $imgs_href = $this->get_param('slider_head_href'); $imgs_url = explode('||wd||',$imgs_url); $imgs_href = explode('||wd||',$imgs_href); $image_title = explode('||wd||',$image_title); $image_textarea = explode('||wd||',$image_textarea); $imgs_number = count($imgs_url); /*clear from spaces etc */ foreach ($imgs_url as $i => $url){ $imgs_url[$i] = trim($url); } for($i=0;$i
$image_row) { if ($i == $current_image_id) { $current_key = $key; ?>
slider_script(); } } public function slider_script(){ $animation_speed = $this->get_param('animation_speed'); $effect = $this->get_param('effect'); if(empty($effect[0])){ $effect = array('fade'); } $image_height = $this->get_param('image_height'); $stop_on_hover = $this->get_param('stop_on_hover'); $slideshow_interval = $this->get_param('slideshow_interval'); $hide_slider = $this->get_param('hide_slider'); $imgs_url = $this->get_param('slider_head'); $imgs_url = explode('||wd||',$imgs_url); if($stop_on_hover===true) $stop_on_hover = 1; else $stop_on_hover = 0; ?>