File "style4.php"

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

<?php
use Elementor\Icons_Manager; 
$shape_icon_show_hide = $settings['shape_icon_show_hide'];

?>

<div class="rs-pricing-table-header">
    <div class="rs-price-title">
        <?php if ($settings['title']) : ?>
            <h3 <?php $this->print_render_attribute_string('title'); ?>><?php echo esc_html($settings['title']); ?></h3>
        <?php endif; ?>
        <div class="rs-pricing-table-price <?php echo esc_attr($settings['pricing_inline']); ?>">
            <div class="rs-pricing-table-price-tag">
                <span class="rs-pricing-table-currency"><?php echo esc_html($currency); ?></span><span <?php $this->print_render_attribute_string('price'); ?>><?php echo esc_html($settings['price']); ?></span><span <?php $this->print_render_attribute_string('period'); ?>><?php echo esc_html($settings['period']); ?></span>
                <?php if (!empty($settings['heading_watermark'])) {
                ?>
                    <span class="watermark"><?php echo esc_html($settings['heading_watermark']); ?></span>
                <?php
                } ?>
            </div>
        </div>
    </div>
    <?php if ($settings['button_text']) : ?>
    <div class="btn-part">
        <a <?php $this->print_render_attribute_string('button_text'); ?>><?php echo esc_html($settings['button_text']); ?>
            <?php if (!empty($settings['btn_icon'])) : ?>
                <?php
                Icons_Manager::render_icon($settings['btn_icon'], ['aria-hidden' => 'true']);
                ?>
            <?php endif; ?>
        </a>
    </div>
<?php endif; ?>
    
</div>

<?php if ($settings['short_desc_show_hide'] == 'yes') : ?>
    <div class="short-desc"><?php echo esc_html($settings['short_desc']); ?></div>
<?php endif; ?>

<div class="rs-pricing-table-body">
    <?php if ($settings['features_title']) : ?>
        <h3 <?php $this->print_render_attribute_string('features_title'); ?>><?php echo wp_kses_post($settings['features_title']); ?></h3>
    <?php endif; ?>

    <?php if (is_array($settings['features_list'])) : ?>
        <ul class="rs-pricing-table-features-list <?php echo ($settings['icon_postion']); ?>">


            <?php foreach ($settings['features_list'] as $index => $feature) :
                $name_key = $this->get_repeater_setting_key('text', 'features_list', $index);
                $this->add_inline_editing_attributes($name_key, 'basic');
                $this->add_render_attribute($name_key, 'class', 'rs-pricing-table-feature-text');
            ?>
                <li class="<?php echo esc_attr('elementor-repeater-item-' . $feature['_id']); ?>">
                    <?php if ($settings['icon_show']) :
                        if ($feature['icon']) : ?>
                            <?php
                            Icons_Manager::render_icon($feature['icon'], ['aria-hidden' => 'true']);
                            ?>

                    <?php endif;
                    endif; ?>

                    <span <?php $this->print_render_attribute_string($name_key); ?>><?php echo wp_kses_post($feature['text']); ?></span>
                </li>
            <?php endforeach; ?>

        </ul>
    <?php endif; ?>
</div>
<?php if($shape_icon_show_hide == 'yes') { ?>
<div class="pricing-svg">
<?php \Elementor\Icons_Manager::render_icon( $settings['shape_icon'], [ 'aria-hidden' => 'true' ] ); ?>
</div>
<?php } ?>