1920, 'height' => 800, 'default-image' => get_template_directory_uri() . '/images/slider6.jpg', ); add_theme_support( 'custom-header', $args ); } function beauty_spa_default_settings() { $site_logo = get_template_directory_uri().'/images/logo1.png'; $ImageUrl = get_template_directory_uri() ."/images/1.jpg"; $ImageUrl2 = get_template_directory_uri() ."/images/2.jpg"; $ImageUrl3 = get_template_directory_uri() ."/images/3.jpg"; $beauty_theme_options=array( 'site_logo' => $site_logo, 'logo_height' =>110, 'logo_width' => 250, 'sticky_header' => 1, 'search_header' => 1, 'slide_image_1' => $ImageUrl, 'slide_title_1' => __('Clear Different In Quality', 'beautyspa' ), 'slide_desc_1' => __('Latest Thraphy', 'beautyspa' ), 'slide_btn_text_1' => __('View Profile', 'beautyspa' ), 'slide_btn_link_1' => '#', 'slide_image_2' => $ImageUrl2, 'slide_title_2' => __('Clear Different In Quality', 'beautyspa' ), 'slide_desc_2' => __('Latest Thraphy', 'beautyspa' ), 'slide_btn_text_2' => __('View Profile', 'beautyspa' ), 'slide_btn_link_2' => '#', 'slide_image_3' => $ImageUrl3, 'slide_title_3' => __('Clear Different In Quality ', 'beautyspa' ), 'slide_desc_3' => __('Latest Thraphy', 'beautyspa' ), 'slide_btn_text_3' => __('View Profile', 'beautyspa' ), 'slide_btn_link_3' => '#', //slider 'slider_image1' => '', 'slider_image2' => '', 'slider_image3' => '', // social icons 'social_header'=>1, 'social_footer'=>1, 'social_icon_1' =>'fa fa-facebook', 'social_icon_2' =>'fa fa-twitter', 'social_icon_3' =>'fa fa-google-plus', 'social_icon_4' =>'fa fa-linkedin', 'social_icon_5' =>'fa fa-youtube', 'social_link_1' =>'#', 'social_link_2' =>'#', 'social_link_3' =>'#', 'social_link_4' =>'#', 'social_link_5' =>'#', // Service Options 'enable_service' =>1, 'service_title' =>'Who We Are', 'service_desc' =>'There are many variations of Ipassages of lorem ipsum available but the majority have sufferd alteration in some font.Ipassages of lorem ipsum available but the majority have sufferd alteration in some font.', 'service_category' =>'', // Portfolio Options 'enable_portfolio' =>1, 'portfolio_title' =>'Our Portfolio', 'portfolio_desc' =>'There are many variations of Ipassages of lorem ipsum available but the majority have sufferd alteration in some font.Ipassages of lorem ipsum available but the majority have sufferd alteration in some font.', 'portfolio_category' =>'', 'portfolio_background' =>'', //blog 'enable_blog' =>1, 'blog_title' =>'Latest Post', 'blog_desc' =>'Lorem Ipsum feels you great hormony and relax. will Forget all the tensions and worries all the tensions and worries of the entire life give a chance.', //testimonial 'enable_testimonial' =>1, 'testimonial_title' =>'Testimonials', 'testimonial_desc' =>'Lorem Ipsum feels you great hormony and relax. will Forget all the tensions and worries all the tensions and worries of the entire life give a chance.', 'testimonial_category' =>'', 'testimonial_background' =>'', //callout 'enable_callout' =>1, 'callout_icon' =>'fa fa-thumbs-up', 'callout_desc' =>'Lorem Ipsum feels you great hormony and relax will Forget all the tensions and worries all the tensions and worries of the entire life give a chance.', 'callout_link_text' =>'Get It Now', 'callout_link' =>'#', //footer text 'footer_text' =>'Copyright 2016 Designed By', 'footer_link_text' =>'Beauty Spa', 'footer_link' =>'#', ); return apply_filters( 'beauty_options', $beauty_theme_options ); } function beauty_spa_options() { // Options API return wp_parse_args( get_option( 'beauty_options', array() ), beauty_spa_default_settings() ); } require( get_template_directory() . '/customizer.php' ); /****--- Navigation for Single ---***/ function beauty_spa_navigation_posts() { ?>
'', 'link_before' => '', 'link_after' => '', 'next_or_number' => 'number', 'separator' => ' ', 'nextpagelink' => __( 'Next page','beautyspa'), 'previouspagelink' => __( 'Previous page','beautyspa'), 'pagelink' => '%', 'echo' => 1 ); wp_link_pages( $defaults ); } //breadcrums function beauty_spa_breadcrumbs() { $delimiter = ''; $home = __('Home', 'beautyspa' ); // text for the 'Home' link $before = '
  • '; // tag before the current crumb $after = '
  • '; // tag after the current crumb echo ''; } // for menu function beauty_spa_page_menu_args( $args ) { if ( ! isset( $args['show_home'] ) ) $args['show_home'] = true; return $args; } add_filter( 'wp_page_menu_args', 'beauty_spa_page_menu_args' ); function beauty_spa_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','beautyspa'); 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 beauty_spa_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 beauty_spa_walker_page_menu extends Walker_Page{ function start_lvl( &$output, $depth = 0, $args = array() ) { $indent = str_repeat("\t", $depth); $output .= "\n$indent