Combine two conditions in one statement syntax [closed]

It looks like you got an extra ) and one missing ), try this:

elseif( is_category( 'latest-news' ) || ( is_single() && in_category( 'latest-news' ) ) ) { 

ps: You should also post any PHP error you get.

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