<div class="news-wrapper">

	<!-- Title -->
	<?php if ( ! empty( $is_category ) && ! empty( $term->name ) ) { ?>

		<div class="ui basic notpadded segment cf">

			<?php wpj_display_title( array( 'title' => sprintf( __( 'Category: %s', 'wpjobster' ), $term->name ) ) ); ?>

		</div>

	<?php } elseif ( ! empty( $is_tag ) && ! empty( $term->name ) ) { ?>

		<div class="ui basic notpadded segment cf">

			<?php wpj_display_title( array( 'title' => sprintf( __( 'Tag: %s','wpjobster' ), $term->name ) ) ); ?>

		</div>

	<?php } else wpj_display_posts_hero_slider( 12, 'news' );

	do_action( 'wpj_after_news_title' ); ?>

	<div class="news-layout">

		<div class="news-sidebar">

			<?php wpj_display_blog_search_form( 'news' ); ?>

			<h6><?php _e( 'Categories', 'wpjobster' ); ?></h6>

			<?php wpj_display_blog_categories( 'news_cat' ); ?>

			<h6><?php _e( 'Tags', 'wpjobster' ); ?></h6>

			<?php wpj_display_blog_tags( wpj_get_tags_by_post_type( 'news' ) ); ?>

		</div>

		<div class="news-main-content">

			<?php wpj_display_news_posts_list(); ?>

		</div>

	</div>

	<?php do_action( 'wpj_after_news_content' ); ?>

</div>