Fruitfulcode/Fruitful

Slider Not Show Home Page

Closed this issue · 1 comments

I'm using lastest git. fruitful_get_slider() function return empty echo.

function fruitful_get_slider() {
global $post;
$prefix = '_fruitful_';
$slider_  = $slider_options = '';
$id = 'fruitful-slider-'.rand(1, 250);  

$theme_options  = fruitful_ret_options("fruitful_theme_options");
$slider_options = get_post_meta( $post->ID, $prefix . 'slider_layout');
$slider_options = current($slider_options);

get_post_meta( $post->ID, $prefix . 'slider_layout') return empty array

My theme_option is default

a:98:{s:10:"responsive";s:2:"on";s:18:"latest_posts_templ";s:1:"1";s:15:"is_fixed_header";s:2:"on";s:15:"header_bg_color";s:7:"#ffffff";s:10:"header_img";s:1:"0";s:15:"header_img_size";s:4:"full";s:13:"header_height";s:2:"84";s:13:"menu_position";s:1:"2";s:14:"backgroung_img";s:0:"";s:16:"background_color";s:7:"#ffffff";s:18:"container_bg_color";s:7:"#ffffff";s:8:"logo_img";s:2:"30";s:8:"fav_icon";s:1:"0";s:13:"logo_position";s:1:"0";s:13:"menu_bg_color";s:7:"#ffffff";s:14:"menu_btn_color";s:7:"#F15A23";s:15:"menu_font_color";s:7:"#333333";s:16:"menu_hover_color";s:7:"#ffffff";s:16:"dd_menu_bg_color";s:7:"#ffffff";s:17:"dd_menu_btn_color";s:7:"#F15A23";s:18:"dd_menu_font_color";s:7:"#333333";s:19:"dd_menu_hover_color";s:7:"#ffffff";s:12:"p_font_color";s:7:"#333333";s:12:"a_font_color";s:7:"#333333";s:18:"a_hover_font_color";s:7:"#FF5D2A";s:18:"a_focus_font_color";s:7:"#FF5D2A";s:19:"a_active_font_color";s:7:"#FF5D2A";s:17:"widgets_sep_color";s:7:"#F15A23";s:20:"date_of_post_b_color";s:7:"#F15A23";s:20:"date_of_post_f_color";s:7:"#ffffff";s:9:"btn_color";s:7:"#333333";s:16:"btn_active_color";s:7:"#F15A23";s:13:"h_font_family";s:21:"Open Sans, sans-serif";s:13:"m_font_family";s:21:"Open Sans, sans-serif";s:13:"p_font_family";s:21:"Open Sans, sans-serif";s:7:"h1_size";s:2:"27";s:7:"h2_size";s:2:"23";s:7:"h3_size";s:2:"20";s:7:"h4_size";s:2:"17";s:7:"h5_size";s:2:"14";s:7:"h6_size";s:2:"12";s:6:"m_size";s:2:"14";s:6:"p_size";s:2:"14";s:13:"select_slider";s:1:"2";s:11:"s_animation";s:5:"slide";s:11:"s_direction";s:10:"horizontal";s:9:"s_reverse";s:5:"false";s:11:"s_slideshow";s:4:"true";s:16:"s_slideshowSpeed";s:4:"7000";s:16:"s_animationSpeed";s:3:"600";s:11:"s_initDelay";s:1:"0";s:11:"s_randomize";s:5:"false";s:12:"s_controlnav";s:4:"true";s:8:"nv_skins";s:9:"theme-bar";s:12:"nv_animation";s:6:"random";s:8:"nv_slice";s:2:"15";s:10:"nv_boxCols";s:1:"8";s:10:"nv_boxRows";s:1:"4";s:12:"nv_animSpeed";s:3:"500";s:12:"nv_pauseTime";s:4:"3000";s:13:"nv_startSlide";s:1:"0";s:15:"nv_directionNav";s:4:"true";s:13:"nv_controlNav";s:4:"true";s:19:"nv_controlNavThumbs";s:5:"false";s:15:"nv_pauseOnHover";s:4:"true";s:16:"nv_manualAdvance";s:5:"false";s:11:"nv_prevText";s:4:"Prev";s:11:"nv_nextText";s:4:"Next";s:14:"nv_randomStart";s:5:"false";s:6:"slides";a:2:{s:7:"slide-1";a:2:{s:4:"link";s:0:"";s:9:"attach_id";s:3:"149";}s:7:"slide-2";a:2:{s:4:"link";s:0:"";s:9:"attach_id";s:2:"-1";}}s:11:"sl_position";s:1:"1";s:12:"facebook_url";s:0:"";s:11:"twitter_url";s:0:"";s:12:"linkedin_url";s:0:"";s:11:"myspace_url";s:0:"";s:14:"googleplus_url";s:45:"https://plus.google.com/116096536289780111828";s:12:"dribbble_url";s:0:"";s:10:"skype_link";s:0:"";s:11:"flickr_link";s:0:"";s:11:"youtube_url";s:0:"";s:8:"rss_link";s:0:"";s:7:"vk_link";s:0:"";s:13:"instagram_url";s:0:"";s:13:"pinterest_url";s:0:"";s:8:"yelp_url";s:0:"";s:10:"email_link";s:20:"info@wodlextreme.com";s:11:"footer_text";s:389:"Fruitful theme by <a href=\"http://http://fruitfulcode.com\">Fruitful </a> Powered by: <a href=\"***********\">******</a><br>";s:10:"custom_css";s:0:"";s:8:"showcart";s:2:"on";s:16:"woo_shop_sidebar";s:1:"2";s:19:"woo_product_sidebar";s:1:"1";s:12:"shop_num_row";s:1:"4";s:17:"woo_shop_num_prod";s:2:"10";s:11:"postcomment";s:3:"off";s:11:"pagecomment";s:3:"off";s:10:"styletheme";s:3:"off";s:13:"is_wpml_ready";s:3:"off";s:12:"bg_repeating";s:3:"off";}