<?php 

/**
* Front Featured Section Hook 
*/
if ( ! function_exists( 'front_featured_section_hook' ) ) :
    function front_featured_section_hook() {  ?>
        <div class="newshit-banner-section-wrapper pt-4">
            <div class="container">
                <div class="newshit-section-title feature-title">
                    <span><?php echo esc_html( get_theme_mod( 'feature_section_title', 'Featured Post' ) ); ?></span>
                    <?php if( true === get_theme_mod( 'enable_featured_slider', true  ) ) : ?>
                        <div class="newshit-section-arrows">
                            <button class="custom-prev featured-prev custom-arrow slick-arrow"><i class="fas fa-long-arrow-alt-left"></i></button>
                            <button class="custom-next featured-next custom-arrow slick-arrow"><i class="fas fa-long-arrow-alt-right"></i></button>
                        </div>
                    <?php endif; ?>
                </div>
                <div class="row <?php echo esc_attr( true === get_theme_mod( 'enable_featured_slider', true  ) ? 'featured-section' : '' ); ?>">
                    <?php do_action( 'newshit_featured_section_loop_action'); ?>
                </div>
            </div>
        </div>
    <?php  }
endif;
add_action( 'front_featured_section_action', 'front_featured_section_hook' );