Login/logout in header
Here is a function i use to display the log in/out and registration URLs //Add login/logout link to naviagation menu function add_login_out_item_to_menu_wpa84418( $items, $args ){ //change theme location with your them location name if( is_admin() || $args->theme_location != ‘LOCATION’ ) return $items; $redirect = ( is_home() ) ? false : get_permalink(); if( is_user_logged_in( ) ) … Read more