'', 'upload_image_favicon' => '', 'height' =>50, 'width' => 50, 'slide_image_1' => $ImageUrl, 'slide_title_1' => __('Clear Different In Quality', 'beauty-spa' ), 'slide_desc_1' => __('Latest Thraphy', 'beauty-spa' ), 'slide_btn_text_1' => __('View Profile', 'beauty-spa' ), 'slide_btn_link_1' => '#', 'slide_image_2' => $ImageUrl2, 'slide_title_2' => __('Clear Different In Quality', 'beauty-spa' ), 'slide_desc_2' => __('Latest Thraphy', 'beauty-spa' ), 'slide_btn_text_2' => __('View Profile', 'beauty-spa' ), 'slide_btn_link_2' => '#', 'slide_image_3' => $ImageUrl3, 'slide_title_3' => __('Clear Different In Quality ', 'beauty-spa' ), 'slide_desc_3' => __('Latest Thraphy', 'beauty-spa' ), 'slide_btn_text_3' => __('View Profile', 'beauty-spa' ), 'slide_btn_link_3' => '#', // socila icons 'header_section_social_media_enbled'=>'on', 'twitter_link' => "https://twitter.com/", 'facebook_link' => "https://facebook.com", 'linkedin_link' => "http://linkedin.com/", 'google_plus' => "https://plus.google.com/", 'youtube_link' => "https://www.youtube.com/", ); return apply_filters( 'beauty_options', $beauty_theme_options ); } function weblizar_get_options() { // Options API return wp_parse_args( get_option( 'beauty_options', array() ), beauty_spa_default_settings() ); } /****--- Navigation for Single ---***/ function beauty_spa_navigation_posts() { ?>
'; // tag before the current crumb $after = ''; // tag after the current crumb echo ''; } // for menu function weblizar_page_menu_args( $args ) { if ( ! isset( $args['show_home'] ) ) $args['show_home'] = true; return $args; } add_filter( 'wp_page_menu_args', 'weblizar_page_menu_args' ); function weblizar_fallback_page_menu( $args = array() ) { $defaults = array('sort_column' => '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','beauty-spa'); 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 weblizar_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 weblizar_walker_page_menu extends Walker_Page{ function start_lvl( &$output, $depth = 0, $args = array() ) { $indent = str_repeat("\t", $depth); $output .= "\n$indent