Add this code in functions.php file of child theme:
function etheme_shop_navbar( $location = 'header', $exclude = array(), $force = false ) {
$args['wishlist'] = ( ! in_array( 'wishlist', $exclude ) && etheme_woocommerce_installed() && etheme_get_option( 'top_wishlist_widget' ) == $location ) ? true : false ;
$args['search'] = ( ! in_array( 'search', $exclude ) && etheme_get_option( 'search_form' ) == $location ) ? true : false;
$args['cart'] = ( ! in_array( 'cart', $exclude ) && etheme_woocommerce_installed() && ! etheme_get_option( 'just_catalog' ) && etheme_get_option( 'cart_widget' ) == $location ) ? true : false ;
if ( ! $args['wishlist'] && ! $args['search'] && ! $args['cart'] && ! $force ) return;
do_action( 'etheme_before_shop_navbar' );
echo '<div class="navbar-header show-in-' . $location . '">';
echo '<a href="'.get_permalink( get_option('woocommerce_myaccount_page_id') ).'">';
if ( is_user_logged_in() ) {
echo '<i class="fa fa-user" aria-hidden="true"></i>';
}
else {
echo 'Sing in or create account';
}
echo '</a>';
if( $args['search'] ) etheme_search_form();
if( $args['wishlist'] ) etheme_wishlist_widget();
if( $args['cart'] ) etheme_top_cart();
echo '</div>';
do_action( 'etheme_after_shop_navbar' );
}
logged in http://prntscr.com/iq6rzg
unlogged http://prntscr.com/iq6slp
Regards