File "style4.php"

Full Path: /home/adniftyx/public_html/wp-content/plugins/credio-addons/widgets/services/style4.php
File size: 2.79 KB
MIME-type: text/x-php
Charset: utf-8

<?php

use Elementor\Icons_Manager;
?>
<div class="services-inner <?php echo $title_based_on;?>">
<?php if (!empty($settings['numbering_txt'])) : ?>
        <div class="numbering">
            <span><?php echo esc_html($settings['numbering_txt']); ?></span>
        </div>
    <?php endif; ?>
    <div class="content_part">

        <?php if (!empty($settings['title'])) { ?>
            <div class="services-title">
                <?php if (!empty($settings['title_link'])) :
                    $link_open = $settings['link_open'] == 'yes' ? 'target=_blank' : '';
                ?>
                <a href="<?php echo esc_url($settings['title_link']); ?>" <?php echo esc_attr($link_open); ?>>
                    <<?php echo esc_html($settings['title_tag']); ?> <?php echo esc_attr($this->print_render_attribute_string('title')); ?>>
 
                    <?php echo wp_kses_post($settings['title']); ?>
                       
                    </<?php echo esc_html($settings['title_tag']); ?>>
                <?php else : ?>
                    <<?php echo esc_html($settings['title_tag']); ?> <?php echo esc_attr($this->print_render_attribute_string('title')); ?>> <?php echo wp_kses_post($settings['title']); ?></<?php echo esc_html($settings['title_tag']); ?>>
                <?php endif; ?> </a>
                <?php if ('yes' == $settings['button_show_hide']) { ?>
                <div class="btn-part">
                    <?php Icons_Manager::render_icon($settings['btn__selected_icon'], ['aria-hidden' => 'true']); ?>
                </div>               
                <?php } ?>
        
            </div>
        <?php } ?>
        <?php if ('yes' == $settings['icon_image_show_hide']) { ?>
            <div class="media_wrap">
                <?php if (!empty($settings['selected_icon']) || !empty($settings['selected_image']['url'])) { ?>
                    <?php if (!empty($settings['selected_icon'])) : ?>

                        <div class="icon_style media-cmn normal">

                            <?php Icons_Manager::render_icon($settings['selected_icon'], ['aria-hidden' => 'true']); ?>
                        </div>

                    <?php endif; ?>

                    <?php if (!empty($settings['selected_image'])) : ?>
                        <div class="image_style media-cmn">
                            <img src="<?php echo esc_url($settings['selected_image']['url']); ?>" alt="image" />
                        </div>
                    <?php endif; ?>
                <?php } ?>
            </div>
        <?php } ?>

        <?php if (!empty($settings['description'])) : ?>
            <div class="desc-text">
                <?php echo wp_kses_post($settings['description']); ?>
            </div>
        <?php endif; ?>

    </div>
</div>