<?php
/**
 * @var $terms
 * @var $taxonomy
 */

if ( $terms && ! is_wp_error( $terms ) ) { ?>

	<div class="<?php if ( $taxonomy == 'post_tag' ) echo 'blog-tags'; else echo 'blog-categories'; ?> article-categories category-listing">

		<ul>

			<?php foreach ( $terms as $term ) { ?>

				<li>

					<a href="<?php echo get_term_link( $term->slug, $taxonomy ); ?>">

						<?php echo $term->name; ?>

					</a>

				</li>

			<?php } ?>

		</ul>

	</div>

<?php } elseif ( $taxonomy == 'post_tag' ) {
	_e( 'No tags', 'wpjobster' );

}
