'default.css', 'upload_image_logo'=>'', 'height'=>'50', 'width'=>'150', 'rambo_texttitle'=>true, 'upload_image_favicon'=>'', 'webrit_custom_css'=>'', 'rambo_custom_css'=>'', //Home image section 'home_banner_enabled'=>true, 'home_custom_image' => '', 'home_image_title' => '', 'home_image_description' => '', 'read_more_text' => '', 'read_more_button_link' => '', 'read_more_link_target' => true, // Site Intro Layout 'site_intro_column_layout' => 1, 'site_intro_bottom_column_layout'=> 1, //Slide 'home_slider_enabled'=>true, 'slider_post' => RAMBO_TEMPLATE_DIR_URI .'/images/slider.png', 'slider_title' => __('Responsive WP theme','rambo'), 'slider_text' => __('We are a group of passionate designers and developers who really love creating awesome WordPress themes & giving support.','rambo'), 'slider_readmore_text' => __('Read More','rambo'), 'readmore_text_link' => '#', 'readmore_target' => false, // service 'home_service_enabled'=>false, 'service_list' => 4, // project 'home_projects_enabled' => false, 'project_protfolio_enabled'=>false, 'project_heading_one'=> __('Featured Portfolio Projects','rambo'), 'project_tagline'=>__('Maecenas sit amet tincidunt elit. Pellentesque habitant morbi tristique senectus et netus et Nulla facilisi.','rambo'), // home project 'project_list'=>4, //home latest news 'post_display_count' => 3, 'news_enable' => false, 'home_slider_post_enable' => true, 'blog_section_head' =>'', // site intro info 'site_info_enabled'=>true, 'site_info_title'=>'', 'site_info_descritpion' =>'', 'site_info_button_text'=>'', 'site_info_button_link'=>'#', 'site_info_button_link_target' => true, // site intro info 'site_intro_descritpion' => __('Rambo is a clean and fully responsive Template.','rambo'), 'site_intro_button_text'=> __('Purchase Now','rambo'), 'site_intro_button_link'=>'#', 'intro_button_target'=>true, // Service section 'service_section_title'=>'', 'service_section_descritpion'=> __('Check out our Main Services which we offer to every client','rambo'), /** footer customization **/ 'footer_copyright' => sprintf(__('Copyright @ 2018 - RAMBO. Designed by Webriti','rambo')), /* Footer social media */ 'footer_social_media_enabled'=>false, // footer customization 'footer_widgets_enabled'=>'on', 'rambo_copy_rights_text'=>'', 'rambo_designed_by_head'=>'', 'rambo_designed_by_text'=>'', 'rambo_designed_by_link'=>'', //Social media links 'social_media_twitter_link' =>"#", 'social_media_facebook_link' =>"#", 'social_media_linkedin_link' =>"#", 'social_media_google_plus' =>"#", //Service Layout 'service_section_title'=> __('Our Services','rambo'), 'service_section_description' => __('Check out our Main Services which we offer to every client','rambo'), 'service_column_layout'=> 4, //Project Layout 'project_column_layout' => 4, //News Column Layout 'news_column_layout' => 3, 'latest_news_title' => __('Latest News','rambo'), ); } ?> 'menu_order, post_title', 'menu_class' => 'menu', 'echo' => true, 'link_before' => '', 'link_after' => ''); $args = wp_parse_args( $args, $defaults ); $args = apply_filters( 'wp_page_menu_args', $args ); $menu = ''; $list_args = $args; // Show Home in the menu if ( ! empty($args['show_home']) ) { if ( true === $args['show_home'] || '1' === $args['show_home'] || 1 === $args['show_home'] ) $text = __('Home','rambo'); else $text = $args['show_home']; $class = ''; if ( is_front_page() && !is_paged() ) $class = 'class="current_page_item"'; $menu .= '
  • ' . $args['link_before'] . $text . $args['link_after'] . '
  • '; // If the front page is a page, add it to the exclude list if (get_option('show_on_front') == 'page') { if ( !empty( $list_args['exclude'] ) ) { $list_args['exclude'] .= ','; } else { $list_args['exclude'] = ''; } $list_args['exclude'] .= get_option('page_on_front'); } } $list_args['echo'] = false; $list_args['title_li'] = ''; $list_args['walker'] = new webriti_walker_page_menu; $menu .= str_replace( array( "\r", "\n", "\t" ), '', wp_list_pages($list_args) ); if ( $menu ) $menu = ''; $menu = '
    ' . $menu . "
    \n"; $menu = apply_filters( 'wp_page_menu', $menu, $args ); if ( $args['echo'] ) echo $menu; else return $menu; } class webriti_walker_page_menu extends Walker_Page{ function start_lvl( &$output, $depth = 0, $args = array() ) { $indent = str_repeat("\t", $depth); $output .= "\n$indent