<div class="all-requests-template">

	<div class="mb20">

		<?php wpj_display_title( array( 'title' => __( 'Recent Requests', 'wpjobster' ) ) ); ?>

	</div>
	
	<!-- Widget Categories Top -->
	<?php if ( is_active_sidebar( 'category-top-widgets-area' ) ) { ?>

		<div class="ui segment">

			<div id="category-top-widgets-area" class="primary-sidebar widget-area" role="complementary">

				<ul><?php dynamic_sidebar( 'category-top-widgets-area' ); ?></ul>

			</div>

		</div>

		<?php } ?>

		<!-- Search section -->
		<?php wpj_display_site_search_form( 'request' ); ?>

		<div class="ui hidden divider"></div>

		<!-- Widget Categories Bottom -->
		<?php if ( is_active_sidebar( 'category-bottom-widgets-area' ) ) { ?>

		<div class="ui segment">

			<div id="category-bottom-widgets-area" class="primary-sidebar widget-area" role="complementary">

				<ul><?php dynamic_sidebar( 'category-bottom-widgets-area' ); ?></ul>

			</div>

		</div>

	<?php } ?>

	<?php wpj_display_post_sort_filter( array( 'post_type' => 'request', 'classes' => 'filter-job-results-by slim-dropdown' ) ); ?>

	<?php wpj_display_request_posts_list(); ?>

</div>