if( tie_get_option( 'top_left' ) == 'head_menu' )
wp_nav_menu( array( 'container_class' => 'top-menu', 'theme_location' => 'top-menu', 'fallback_cb' => 'tie_nav_fallback' ) );
elseif(tie_get_option( 'top_left' ) == 'head_brnews')
get_template_part( 'includes/breaking-news' );
?>
//UberMenu Support
$navID = 'main-nav';
if ( class_exists( 'UberMenu' ) ){
$uberMenus = get_option( 'wp-mega-menu-nav-locations' );
if( !empty($uberMenus) && is_array($uberMenus) && in_array("primary", $uberMenus)) $navID = 'main-nav-uber';
}?>
'main-menu', 'theme_location' => 'primary' ,'fallback_cb' => 'tie_nav_fallback', 'walker' => new tie_mega_menu_walker() ) ); $post = $orig_post; ?>
$sidebar = $sidebar_pos = '';
if( tie_get_option( 'sidebar_pos' ) == 'left' || ( tie_get_option( 'columns_num' ) == '2c' && tie_get_option( 'sidebar_pos' ) == 'nright' ) ) $sidebar = ' sidebar-left';
elseif( $sidebar_pos == 'right' || ( tie_get_option( 'columns_num' ) == '2c' && tie_get_option( 'sidebar_pos' ) == 'nleft' ) ) $sidebar = ' sidebar-right';
elseif( tie_get_option( 'sidebar_pos' ) == 'nleft' ) $sidebar = ' sidebar-narrow-left';
elseif( tie_get_option( 'sidebar_pos' ) == 'nright' ) $sidebar = ' sidebar-narrow-right';
if( is_singular() || ( function_exists( 'is_woocommerce' ) && is_woocommerce() ) ){
$current_ID = $post->ID;
if( function_exists( 'is_woocommerce' ) && is_woocommerce() ) $current_ID = woocommerce_get_page_id('shop');
$get_meta = get_post_custom( $current_ID );
if( !empty($get_meta["tie_sidebar_pos"][0]) ){
$sidebar_pos = $get_meta["tie_sidebar_pos"][0];
if( $sidebar_pos == 'left' || ( tie_get_option( 'columns_num' ) == '2c' && $sidebar_pos == 'nright' )) $sidebar = ' sidebar-left';
elseif( $sidebar_pos == 'full' ) $sidebar = ' full-width';
elseif( $sidebar_pos == 'right' || ( tie_get_option( 'columns_num' ) == '2c' && $sidebar_pos == 'nleft' )) $sidebar = ' sidebar-right';
elseif( $sidebar_pos == 'nright' ) $sidebar = ' sidebar-narrow-right';
elseif( $sidebar_pos == 'nleft' ) $sidebar = ' sidebar-narrow-left';
}
}
if( function_exists('is_bbpress') && is_bbpress() && tie_get_option( 'bbpress_full' )) $sidebar = ' full-width';
?>
header.php bunlar değiştirip bi denermisiniz hocam