Just a simple logic error. You want to display the header if you’re not on the front page AND if you’re not on an author page.
if(!is_front_page() && !is_author() ) {
Just a simple logic error. You want to display the header if you’re not on the front page AND if you’re not on an author page.
if(!is_front_page() && !is_author() ) {