Hide page header on both index and author pages [closed]

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() ) {

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)