Identify a single category and output some code on an archive page

Use has_term() to determine if a post has a specific term.

<?php if ( has_term( 'Members', 'portfolio_category' ) ) : ?>
    <!-- Output icon here. -->
<?php endif; ?>

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