<?php
/**
 * Job Category
 *
 * @package Pointify
 * @since 1.0.0
 */

get_header(); ?>

<main id="primary" class="site-main">
        <div class="page_header_section" style="background-image: url(<?php echo esc_url(get_theme_mod('archive_page_header_background_image', 'full')); ?>);">
            <?php pointify_page_header(); ?>
            <div class="page_breadcrumb_sec">
                <?php echo pointify_page_breadcrumb(); ?>
            </div>
        </div>
        <div class="post-pg-main-sec">
            <div class="container">
                <div class="row">
                    <div class="col-md-12">
                        <div class="post-main-box">
                            <div class="job_listings">
                                <ul class="job_listings listing-archive-main">
                                    <?php
                                    if ( have_posts() ) :

                                        /* Start the Loop */
                                        while ( have_posts() ) :
                                            the_post();

                                            get_job_manager_template_part( 'content', 'job_listing' ); 

                                        endwhile;

                                        ?>
                                        <div class="post-pagination-sec">
                                            <?php
                                            echo pointify_post_pagination();
                                            ?>
                                        </div>
                                        <?php
                                    else :

                                        get_template_part( 'template-parts/content', 'none' );

                                    endif;
                                    ?>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </main><!-- #primary -->

<?php get_footer(); ?>
