<div class="item">				
    <div class="services-post " >

        <div class="post-header">
            <?php if ($settings['show_icon'] == 'yes'): ?>
                <div class="feature-post">
                    <?php 
                        $icon_1 = \Elementor\Addon_Elementor_Icon_manager_norstar::render_icon( themesflat_get_opt_elementor('services_post_icon') );
                        echo $icon_1;
                    ?>
                </div>
            <?php endif; ?>
            <?php if ($settings['show_button'] == 'yes'): ?>
                <div class="post-icon-readmore tf-button-container">
                    <a href="<?php echo esc_attr(get_the_permalink()); ?>">
                        <?php echo \Elementor\Addon_Elementor_Icon_manager_norstar::render_icon( $settings['post_icon_readmore'], [ 'aria-hidden' => 'true' ] );?>
                    </a>                
                </div>
            <?php endif; ?>            
        </div>
        <div class="content">
                <h4 class="title">
                    <a href="<?php echo esc_attr(get_the_permalink()); ?>"><?php echo get_the_title(); ?></a>
                </h4>

                <?php if ( $settings['show_exc'] == 'yes' ): ?>
                    <p class="description"><?php echo wp_trim_words( get_the_excerpt(), $settings['excerpt_lenght'], '' ); ?></p>
                <?php endif; ?>
        </div>
    </div>
</div>