<?php 

/**
* Front most_liked Section Hook 
*/
if ( ! function_exists( 'front_most_liked_section_hook' ) ) :
    function front_most_liked_section_hook() {  ?>
        <div class="newshit-banner-section-wrapper pt-4">
            <div class="container">
                <div class="newshit-section-title most-liked-title">
                    <span><?php echo esc_html( get_theme_mod( 'most_liked_section_title', 'Most Liked' ) ); ?></span>
                    <?php if( true === get_theme_mod( 'enable_most_liked_slider', true  ) ) : ?>
                        <div class="newshit-section-arrows">
                            <button class="custom-prev most-prev custom-arrow slick-arrow"><i class="fas fa-long-arrow-alt-left"></i></button>
                            <button class="custom-next most-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_most_liked_slider', true  ) ? 'most-liked-section' : '' ); ?>">
                    <?php do_action( 'newshit_most_liked_section_loop_action'); ?>
                </div>
            </div>
        </div>
    <?php  }
endif;
add_action( 'front_most_liked_section_action', 'front_most_liked_section_hook' );