ID,'_tpl_default_settings',TRUE); $settings = is_array( $settings ) ? array_filter( $settings ) : array(); $global_breadcrumb = alagu_get_option( 'show-breadcrumb' ); $header_class = ''; if( !$settings['enable-sub-title'] || !isset( $settings['enable-sub-title'] ) ) { if( isset( $settings['show_slider'] ) && $settings['show_slider'] ) { if( isset( $settings['slider_type'] ) ) { $header_class = $settings['slider_position']; } } } if( !empty( $global_breadcrumb ) ) { if( isset( $settings['enable-sub-title'] ) && $settings['enable-sub-title'] ) { $header_class = isset( $settings['breadcrumb_position'] ) ? $settings['breadcrumb_position'] : ''; } }?>
'; echo '
'; echo do_shortcode('[layerslider id="'.$settings['layerslider_id'].'"/]'); echo '
'; echo '
'; } elseif( $settings['slider_type'] == 'revolutionslider' && !empty( $settings['revolutionslider_id'] ) ) { echo '
'; echo '
'; echo do_shortcode('[rev_slider '.$settings['revolutionslider_id'].'/]'); echo '
'; echo '
'; } elseif( $settings['slider_type'] == 'customslider' && !empty( $settings['customslider_sc'] ) ) { echo '
'; echo '
'; echo do_shortcode( $settings['customslider_sc'] ); echo '
'; echo '
'; } } } } ?> post_parent ) { $parent_id = $post->post_parent; $parents = array(); while( $parent_id ) { $parent_page = get_page( $parent_id ); $parents[] = '' . get_the_title( $parent_page->ID ) . ''; $parent_id = $parent_page->post_parent; } $parents = array_reverse( $parents ); $breadcrumbs = array_merge_recursive($breadcrumbs, $parents); } $breadcrumbs[] = the_title( '', '', false ); $style = alagu_breadcrumb_css( $settings['breadcrumb_background'] ); alagu_breadcrumb_output ( the_title( '

', '

',false ), $breadcrumbs, $bstyle, $style ); } } ?>
ID, 'left' ); ?>
    post_parent ): $args = array('child_of' => $post->post_parent,'title_li' => '','sort_order'=> 'ASC','sort_column' => 'menu_order'); else: $args = array('child_of' => $post->ID,'title_li' => '','sort_order'=> 'ASC','sort_column' => 'menu_order'); endif; $side_nav_pages = get_pages( $args ); $ids = array(); $page_id = $post->ID; foreach($side_nav_pages as $value) { $ids[] = $value->ID; } foreach( $ids as $c_id ) { $c_title = get_the_title($c_id); $c_title = esc_attr( $c_title ); $permalink = get_permalink( $c_id ); $permalink = esc_url( $permalink ); $current = ( $c_id === $page_id) ? "current_page_item" : ""; $current = esc_attr( $current ); echo "
  • "; echo "$c_title"; echo "
  • "; }?>
ID, 'right' ); ?>