File "pricing-table-4.php"
Full Path: /home/tekvhqgl/public_html/wp-content/plugins/digeco-core/elementor/views/pricing-table-4.php
File size: 1.95 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* @author RadiusTheme
* @since 1.0
* @version 1.0
*/
use radiustheme\Lib\WP_SVG;
if( !empty( $data['price'] )){
$price_html = '<span class="price-symbol">' . $data['price_symbol'] . '</span>' . $data['price']. '<span class="price-fac">' . $data['price_fac'] . '</span>';
} else {
$price_html = '';
}
$attr = '';
if ( !empty( $data['url']['url'] ) ) {
$attr = 'href="' . $data['url']['url'] . '"';
$attr .= !empty( $data['url']['is_external'] ) ? ' target="_blank"' : '';
$attr .= !empty( $data['url']['nofollow'] ) ? ' rel="nofollow"' : '';
$title = '<a ' . $attr . '>' . $data['title'] . '</a>';
}
if ( !empty( $data['buttontext'] ) ) {
$btn = '<a class="btn-ghost" ' . $attr . '>' . $data['buttontext'] . '</a>';
}
?>
<div class="<?php echo esc_attr( $data['animation_display'] ); ?>">
<div class="translate-bottom-75 opacity-animation transition-150 transition-delay-<?php echo esc_attr( $data['delay'] );?>">
<div class="default-pricing rtin-pricing-<?php echo esc_attr( $data['layout'] );?> <?php echo esc_attr( $data['display_active'] );?> <?php echo esc_attr( $data['offer_active'] );?>">
<div class="rt-price-table-box">
<?php if ( $data['offer_active'] == 'offer-active' ){ ?>
<div class="popular-offer">
<div class="offer"><?php echo esc_html( $data['offertext'] );?></div>
</div>
<?php } ?>
<div class="price-header">
<span class="rtin-price"> <?php echo wp_kses_post( $price_html );?></span>
<?php if ( !empty( $data['title'] )) { ?>
<h3 class="rtin-title"><?php echo esc_html( $data['title'] );?></h3>
<?php } ?>
</div>
<ul>
<?php foreach ( $data['features'] as $feature ): ?>
<li><?php echo esc_html( $feature );?></li>
<?php endforeach; ?>
</ul>
<?php if ( !empty( $btn ) ){ ?>
<div class="rtin-price-button"><?php echo wp_kses_post( $btn );?></div>
<?php } ?>
</div>
</div>
</div>
</div>