Conditional output based on taxonomy ID of custom post

Change operator to:

 if($term->term_id === 4 ):

Check this for more: https://stackoverflow.com/a/80649/12785113

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