<?php 
/**
 * Template Name: Project Template
 */
get_header(); 
$current_term_id = get_queried_object_id();
// echo $current_term_id;
?>
<section class="inner-ban">
    <?php 
        // $common_banner = get_field( 'common_banner', get_the_ID() );
        // if( $common_banner ){
    ?> 
        <!-- <img src="<?= $common_banner['url']; ?>" alt="<?= $common_banner['alt']; ?>" title="<?= $common_banner['title']; ?>" /> -->
    <?php //} ?>
    <div class="ban-tx2">
        <?php if ( function_exists('ishagroup_project_tax_filter') ){ echo ishagroup_project_tax_filter($current_term_id); } ?>
    </div>
</section>
<section class="all-pro-page">
    <div class="container">
        <div class="row">
            <div class="col-lg-12">
                <?php $search_post_limit = 6; ?>
                <input type="hidden" name="per_page_val" id="per_page_val" value="<?=$search_post_limit;?>">
                <input type="hidden" name="viewMoreLimit" id="viewMoreLimit" value="1">
                <div class="project_listing">
                    <div class="row">
                        <?php 
                            while(have_posts()): the_post();
                            if ( function_exists('ishagroup_project_item_listing_structure') ){ ishagroup_project_item_listing_structure(get_the_ID()); } 
                            endwhile; wp_reset_postdata();
                        ?>                                                         
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<?php get_footer(); ?>