WordPress Post Format If Statement?

I believe you just need to add some “elses” into your php, like so:

if ( has_post_format( 'aside' )) { 
    // do some stuff
} elseif ( has_post_format( 'chat' )) {
    // do some other stuff
} elseif ( has_post_format( 'gallery' )) {
    // do some other stuff
} else {
   // this isn't a post format, so do your final stuff
}

Hope that helps – g’luck!

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