/
home
/
techb158
/
l2hypotheques.com
/
wp-content
/
plugins
/
pyloncore
/
elementor
/
widgets
/
/home/techb158/l2hypotheques.com/wp-content/plugins/pyloncore/elementor/widgets
mkdir
upload
Name
Size
Mode
Actions
about-widget.php
28968
0644
edit
dl
rm
accordion-widget.php
22046
0644
edit
dl
rm
animation-shape.php
6751
0644
edit
dl
rm
animation-shape1.php
6554
0644
edit
dl
rm
banner-widget.php
20414
0644
edit
dl
rm
blog-widget.php
54710
0644
edit
dl
rm
button-widget.php
13626
0644
edit
dl
rm
call-to-action-widget.php
30409
0644
edit
dl
rm
client-logo-widget.php
14507
0644
edit
dl
rm
company-ceo.php
11289
0644
edit
dl
rm
contact-static-info-widget.php
22925
0644
edit
dl
rm
content-list-widget.php
29429
0644
edit
dl
rm
counter-box.php
16659
0644
edit
dl
rm
credit-card-widget.php
25564
0644
edit
dl
rm
custom-ripple-widget.php
2311
0644
edit
dl
rm
featuredbox-widget.php
43339
0644
edit
dl
rm
funfact-widget.php
26527
0644
edit
dl
rm
iconbox-widget.php
42282
0644
edit
dl
rm
image-float-widget.php
4050
0644
edit
dl
rm
image-widget.php
51246
0644
edit
dl
rm
image-with-title-widget.php
13185
0644
edit
dl
rm
loan-calculator-widget.php
56730
0644
edit
dl
rm
loan-combined-calculator-widget.php
75266
0644
edit
dl
rm
loan-eligibility-widget.php
24342
0644
edit
dl
rm
popup-widget.php
17573
0644
edit
dl
rm
progress-widget.php
15577
0644
edit
dl
rm
responsive-image-widget.php
1672
0644
edit
dl
rm
service-widget.php
60028
0644
edit
dl
rm
slider-widget.php
49682
0644
edit
dl
rm
slider2-widget.php
37782
0644
edit
dl
rm
team-two-widget.php
19602
0644
edit
dl
rm
team-widget.php
31622
0644
edit
dl
rm
testimonial-widget.php
55646
0644
edit
dl
rm
title-widget.php
28910
0644
edit
dl
rm
total-loan-calculator-widget.php
54789
0644
edit
dl
rm
why-choose-us-widget.php
10166
0644
edit
dl
rm
Edit:
/home/techb158/l2hypotheques.com/wp-content/plugins/pyloncore/elementor/widgets/title-widget.php
(28910B)
<?php namespace Elementor; if (!defined('ABSPATH')) { exit; // Exit if accessed directly } class Pylon_title_Widget extends Widget_Base { public function get_name() { return 'pylon_title'; } public function get_title() { return esc_html__( 'Pylon Title', 'pyloncore' ); } public function get_icon() { return 'eicon-site-identity'; } public function get_categories() { return ['pylon']; } protected function register_controls() { //Content tab start $this->start_controls_section( 'pylon_title_options', [ 'label' => esc_html__( 'Pylon Title', 'pyloncore' ), 'tab' => Controls_Manager::TAB_CONTENT, ] ); $this->add_control( 'pylon_title_style', [ 'label' => esc_html__( 'Box Style', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::SELECT, 'default' => '1', 'options' => [ '1' => esc_html__( 'Style One', 'pyloncore' ), '2' => esc_html__( 'Style Two', 'pyloncore' ), '3' => esc_html__( 'Style three', 'pyloncore' ), ], ] ); $this->add_control( 'pylon_title_small_title_enable', [ 'label' => esc_html__( 'Show Title', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::SWITCHER, 'label_on' => esc_html__( 'Show', 'pyloncore' ), 'label_off' => esc_html__( 'Hide', 'pyloncore' ), 'return_value' => 'yes', 'default' => 'yes', 'condition' => [ 'pylon_title_style' => '2', ], ] ); $this->add_control( 'pylon_title_small_title_label', [ 'label' => esc_html__( 'Small Title Icon', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::TEXT, 'default' => esc_html__( '//', 'pyloncore' ), 'label_block' => true, 'condition' => [ 'pylon_title_style' => '2', 'pylon_title_small_title_enable' =>'yes', ], ] ); $this->add_control( 'pylon_title_small_title', [ 'label' => esc_html__( 'Small Title', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::TEXT, 'default' => esc_html__( 'Company Introductions', 'pyloncore' ), 'label_block' => true, ] ); $this->add_control( 'pylon_title_title', [ 'label' => esc_html__( 'Title', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::TEXTAREA, 'default' => esc_html__( 'Our Loans will Fill Your Dreams', 'pyloncore' ), ] ); $this->add_control( 'pylon_title_title_tag', [ 'label' => esc_html__( 'Select Title Tag', 'pyloncore' ), 'type' => Controls_Manager::SELECT, 'default' => 'h2', 'options' => [ 'h1' => esc_html__( 'H1', 'pyloncore' ), 'h2' => esc_html__( 'H2', 'pyloncore' ), 'h3' => esc_html__( 'H3', 'pyloncore' ), 'h4' => esc_html__( 'H4', 'pyloncore' ), 'h5' => esc_html__( 'H5', 'pyloncore' ), 'h6' => esc_html__( 'H6', 'pyloncore' ), 'span' => esc_html__( 'Span', 'pyloncore' ), 'p' => esc_html__( 'P', 'pyloncore' ), 'div' => esc_html__( 'Div', 'pyloncore' ), ], 'condition' => [ 'pylon_title_style' => '1', ], ] ); $this->add_control( 'pylon_title_dec', [ 'label' => esc_html__( 'Description', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::WYSIWYG, 'default' => esc_html__( 'There are many variations of passages of lorem ipsum available the majority have suffered alteration in some form by injected humour. Duis aute irure dolor lipsum is simply free text available in the local markets in reprehenderit.', 'pyloncore' ), 'condition' => [ 'pylon_title_style' => ['1'], ], ] ); $this->add_control( 'pylon_title_style_three_dec_enable', [ 'label' => esc_html__( 'Show Description', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::SWITCHER, 'label_on' => esc_html__( 'Show', 'pyloncore' ), 'label_off' => esc_html__( 'Hide', 'pyloncore' ), 'return_value' => 'yes', 'default' => 'no', 'condition' => [ 'pylon_title_style' => ['3'], ], ] ); $this->add_control( 'pylon_title_style_three_dec', [ 'label' => esc_html__( 'Description', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::WYSIWYG, 'default' => esc_html__( 'Pylon provide you easy and secure loan with fdlow interest rate and prfdovide different kind of credit card like silver, gold, platinum and per day interest loan and personal, home, gold, wedding, education.', 'pyloncore' ), 'condition' => [ 'pylon_title_style' => '3', 'pylon_title_style_three_dec_enable'=>'yes', ], ] ); $this->add_control( 'pylon_title_btn_enable', [ 'label' => esc_html__( 'Enable Button', 'pyloncore' ), 'type' => Controls_Manager::SWITCHER, 'label_on' => esc_html__( 'On', 'pyloncore' ), 'label_off' => esc_html__( 'Off', 'pyloncore' ), 'return_value' => 'yes', 'default' => 'no', 'label_block' => true, 'condition' => [ 'pylon_title_style' => '1', ], ] ); $this->add_control( 'pylon_title_btn_select', [ 'label' => esc_html__( 'Select link Option', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::SELECT, 'default' => 'extranal', 'options' => [ 'extranal' => esc_html__( 'Extranal', 'pyloncore' ), 'page' => esc_html__( 'Page', 'pyloncore' ), ], 'condition' => [ 'pylon_title_btn_enable' => 'yes', 'pylon_title_style' => '1', ], ] ); $this->add_control( 'pylon_title_link_extranal', [ 'label' => esc_html__( 'Link', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::URL, 'placeholder' => esc_html__( 'https://your-link.com', 'pyloncore' ), 'show_external' => true, 'label_block' => true, 'default' => [ 'url' => '', 'is_external' => true, 'nofollow' => true, ], 'condition' => [ 'pylon_title_btn_enable' => 'yes', 'pylon_title_btn_select' => 'extranal', 'pylon_title_style' => '1', ], ] ); $this->add_control( 'pylon_title_btn_page', [ 'label' => esc_html__( 'Select link Option', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::SELECT, 'options' => pylon_page_list(), 'label_block' => true, 'condition' => [ 'pylon_title_btn_enable' => 'yes', 'pylon_title_btn_select' => 'page', 'pylon_title_style' => '1', ], ] ); $this->add_control( 'pylon_title_btn_label', [ 'label' => esc_html__( 'Button label', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::TEXT, 'default' => esc_html__( 'Discover More', 'pyloncore' ), 'label_block' => true, 'condition' => [ 'pylon_title_btn_enable' => 'yes', 'pylon_title_style' => '1', ], ] ); $this->end_controls_section(); $this->start_controls_section( 'pylon_title_box_styles', [ 'label' => esc_html__( 'Box', 'pyloncore' ), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_control( 'pylon_title_box_text_align', [ 'label' => esc_html__( 'Alignment', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::CHOOSE, 'options' => [ 'left' => [ 'title' => esc_html__( 'Left', 'pyloncore' ), 'icon' => 'eicon-text-align-left', ], 'center' => [ 'title' => esc_html__( 'Center', 'pyloncore' ), 'icon' => 'eicon-text-align-center', ], 'right' => [ 'title' => esc_html__( 'Right', 'pyloncore' ), 'icon' => 'eicon-text-align-right', ], ], 'default' => 'left', 'toggle' => true, 'selectors' => [ '{{WRAPPER}} .pylon-title, {{WRAPPER}} .sec-title-three, {{WRAPPER}} .sec-title-two__tagline, {{WRAPPER}} .tagline_and_title_textalign' => 'text-align: {{VALUE}};', ], ] ); $this->add_responsive_control( 'pylon_title_box_margin', [ 'label' => esc_html__( 'Margin', 'pyloncore' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'em'], 'selectors' => [ '{{WRAPPER}} .pylon-title,{{WRAPPER}} .sec-title-three' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], 'separator' => 'before', ] ); $this->add_responsive_control( 'pylon_title_box_padding', [ 'label' => esc_html__( 'Padding', 'pyloncore' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'em'], 'selectors' => [ '{{WRAPPER}} .pylon-title,{{WRAPPER}} .sec-title-three' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], 'separator' => 'before', ] ); $this->add_group_control( \Elementor\Group_Control_Border::get_type(), [ 'name' => 'pylon_title_box_border', 'label' => esc_html__( 'Border', 'pyloncore' ), 'selector' => '{{WRAPPER}} .pylon-title', ] ); $this->add_group_control( \Elementor\Group_Control_Box_Shadow::get_type(), [ 'name' => 'pylon_title_box_shadow', 'label' => esc_html__( 'Box Shadow', 'pyloncore' ), 'selector' => '{{WRAPPER}} .pylon-title', ] ); $this->add_group_control( \Elementor\Group_Control_Background::get_type(), [ 'name' => 'pylon_title_box_bg', 'label' => esc_html__( 'Background', 'pyloncore' ), 'types' => ['classic', 'gradient', 'video'], 'selector' => '{{WRAPPER}} .pylon-title', ] ); $this->add_responsive_control( 'pylon_title_box_radius', [ 'label' => esc_html__( 'Border Radius', 'pyloncore' ), 'type' => Controls_Manager::SLIDER, 'size_units' => ['px', '%'], 'range' => [ 'px' => [ 'min' => 0, 'max' => 100, 'step' => 1, ], '%' => [ 'min' => 0, 'max' => 100, ], ], 'selectors' => [ '{{WRAPPER}} .pylon-title' => 'border-radius: {{SIZE}}{{UNIT}};', ], ] ); $this->end_controls_section(); $this->start_controls_section( 'pylon_title_stitle_styles', [ 'label' => esc_html__( 'Small Title', 'pyloncore' ), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_responsive_control( 'pylon_title_small_title_color', [ 'label' => esc_html__( 'Color', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .small-title,{{WRAPPER}} .sec-title-three .sub-title p,{{WRAPPER}} .sec-title-two__tagline' => 'color: {{VALUE}}', ], ] ); $this->add_group_control( \Elementor\Group_Control_Typography::get_type(), [ 'name' => 'pylon_title_small_title_typo', 'label' => esc_html__( 'Typography', 'pyloncore' ), 'selector' => '{{WRAPPER}} .small-title,{{WRAPPER}} .sec-title-three .sub-title p,{{WRAPPER}} .sec-title-two__tagline', ] ); $this->add_responsive_control( 'pylon_title_small_title_after_color', [ 'label' => esc_html__( 'Line Color', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .small-title:after' => 'background-color: {{VALUE}}', ], ] ); $this->add_responsive_control( 'pylon_title_stitle_margin', [ 'label' => esc_html__( 'Margin', 'pyloncore' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'em'], 'selectors' => [ '{{WRAPPER}} .small-title,{{WRAPPER}} .sec-title-three .sub-title p,{{WRAPPER}} .sec-title-two__tagline' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], 'separator' => 'before', ] ); $this->add_responsive_control( 'pylon_title_stitle_padding', [ 'label' => esc_html__( 'Padding', 'pyloncore' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'em'], 'selectors' => [ '{{WRAPPER}} .small-title,{{WRAPPER}} .sec-title-three .sub-title p,{{WRAPPER}} .sec-title-two__tagline' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], 'separator' => 'before', ] ); $this->end_controls_section(); $this->start_controls_section( 'pylon_title_title_styles', [ 'label' => esc_html__( 'Title', 'pyloncore' ), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_responsive_control( 'pylon_title_title_span_color', [ 'label' => esc_html__( 'SColor', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .introduction-one .sec-title-two__title span' => 'color: {{VALUE}}', ], ] ); $this->add_control( 'pylon_title_hr', [ 'type' => \Elementor\Controls_Manager::DIVIDER, ] ); $this->add_responsive_control( 'pylon_title_title_color', [ 'label' => esc_html__( 'Color', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pylon-title .block-title .title-block,{{WRAPPER}} .sec-title-three h2,{{WRAPPER}} .sec-title-two__title' => 'color: {{VALUE}}', ], ] ); $this->add_group_control( \Elementor\Group_Control_Typography::get_type(), [ 'name' => 'pylon_title_title_typo', 'label' => esc_html__( 'Typography', 'pyloncore' ), 'selector' => '{{WRAPPER}} .pylon-title .block-title .title-block,{{WRAPPER}} .sec-title-three h2,{{WRAPPER}} .sec-title-two__title', ] ); $this->add_responsive_control( 'pylon_title_title_margin', [ 'label' => esc_html__( 'Margin', 'pyloncore' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'em'], 'default' => [ 'top' => '0', 'right' => '0', 'bottom' => '50', 'left' => '0', 'isLinked' => true, ], 'selectors' => [ '{{WRAPPER}} .pylon-title .block-title,{{WRAPPER}} .sec-title-three h2,{{WRAPPER}} .sec-title-two__title' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], 'separator' => 'before', ] ); $this->add_responsive_control( 'pylon_title_title_padding', [ 'label' => esc_html__( 'Padding', 'pyloncore' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'em'], 'selectors' => [ '{{WRAPPER}} .pylon-title .block-title .title-block,{{WRAPPER}} .sec-title-three h2,{{WRAPPER}} .sec-title-two__title' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], 'separator' => 'before', ] ); $this->end_controls_section(); $this->start_controls_section( 'pylon_title_dec_styles', [ 'label' => esc_html__( 'Content', 'pyloncore' ), 'tab' => Controls_Manager::TAB_STYLE, ] ); $this->add_responsive_control( 'pylon_title_dec_color', [ 'label' => esc_html__( 'Color', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pylon-title>P' => 'color: {{VALUE}}', ], ] ); $this->add_group_control( \Elementor\Group_Control_Typography::get_type(), [ 'name' => 'pylon_title_dec_typo', 'label' => esc_html__( 'Typography', 'pyloncore' ), 'selector' => '{{WRAPPER}} .pylon-title>P', ] ); $this->add_responsive_control( 'pylon_title_dec_margin', [ 'label' => esc_html__( 'Margin', 'pyloncore' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'em'], 'selectors' => [ '{{WRAPPER}} .pylon-title>P' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], 'separator' => 'before', ] ); $this->add_responsive_control( 'pylon_title_dec_padding', [ 'label' => esc_html__( 'Padding', 'pyloncore' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'em'], 'selectors' => [ '{{WRAPPER}} .pylon-title>P' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], 'separator' => 'before', ] ); $this->add_control( 'pylon_title_dec_l', [ 'label' => esc_html__( 'List Item CSS', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::HEADING, 'separator' => 'before', ] ); $this->add_responsive_control( 'pylon_title_list_color', [ 'label' => esc_html__( 'Color', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pylon-title ul li, .pylon-title ol li' => 'color: {{VALUE}}', ], ] ); $this->add_group_control( \Elementor\Group_Control_Typography::get_type(), [ 'name' => 'pylon_title_list_typo', 'label' => esc_html__( 'Typography', 'pyloncore' ), 'selector' => '{{WRAPPER}} .pylon-title ul li, .pylon-title ol li', ] ); $this->add_responsive_control( 'pylon_title_list_margin', [ 'label' => esc_html__( 'Margin', 'pyloncore' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'em'], 'default' => [ 'top' => '40', 'right' => '0', 'bottom' => '50', 'left' => '0', 'isLinked' => true, ], 'selectors' => [ '{{WRAPPER}} .pylon-title ul, .pylon-title ol' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], 'separator' => 'before', ] ); $this->add_responsive_control( 'pylon_title_list_padding', [ 'label' => esc_html__( 'Padding', 'pyloncore' ), 'type' => Controls_Manager::DIMENSIONS, 'size_units' => ['px', '%', 'em'], 'selectors' => [ '{{WRAPPER}} .pylon-title ul, .pylon-title ol' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', ], 'separator' => 'before', ] ); $this->add_responsive_control( 'pylon_title_list_icon', [ 'label' => esc_html__( 'Icon Color', 'pyloncore' ), 'type' => \Elementor\Controls_Manager::COLOR, 'selectors' => [ '{{WRAPPER}} .pylon-title ul li:before, .pylon-title ol li:before' => 'color: {{VALUE}}', ], ] ); $this->add_responsive_control( 'pylon_title_list_width', [ 'label' => esc_html__( 'Per List Width', 'pyloncore' ), 'type' => Controls_Manager::SLIDER, 'size_units' => ['%'], 'range' => [ '%' => [ 'min' => 0, 'max' => 100, ], ], 'default' => [ 'unit' => '%', 'size' => 50, ], 'selectors' => [ '{{WRAPPER}} .pylon-title ul li, .pylon-title ol li' => 'flex: 0 0 {{SIZE}}{{UNIT}};', ], ] ); $this->end_controls_section(); } //Render protected function render() { $settings = $this->get_settings_for_display(); if($settings['pylon_title_style'] == '1'){ ?> <div class="pylon-title"> <div class="block-title"> <?php if ( $settings['pylon_title_small_title'] ) { echo '<p class="small-title">' . esc_html( $settings['pylon_title_small_title'] ) . '</p>'; } if ( $settings['pylon_title_title'] ) { echo ' <' . esc_attr( $settings['pylon_title_title_tag'] ) . ' class="title-block">' . esc_html( $settings['pylon_title_title'] ) . '</' . esc_attr( $settings['pylon_title_title_tag'] ) . '> '; } ?> </div> <?php echo wp_kses_post( $settings['pylon_title_dec'] ); ?> <?php if ( $settings['pylon_title_btn_enable'] == 'yes' ): ?> <div class="button-wrap"> <?php if ( $settings['pylon_title_btn_enable'] == 'yes' ): if ( $settings['pylon_title_btn_select'] == 'page' ) { $pylon_title_link = get_page_link( $settings['pylon_title_btn_page'] ); } else { $pylon_title_link = $settings['pylon_title_link_extranal']['url']; $target = $settings['pylon_title_link_extranal']['is_external'] ? ' target="_blank"' : ''; $nofollow = $settings['pylon_title_link_extranal']['nofollow'] ? ' rel="nofollow"' : ''; } ?> <a href="<?php echo esc_url( $pylon_title_link ); ?>" class="thm-btn" <?php if ( $settings['pylon_title_btn_select'] == 'extranal' ) { echo '' . esc_attr( $target ) . '' . esc_attr( $nofollow ) . '';}?>><?php echo esc_html( $settings['pylon_title_btn_label'] ); ?></a> <?php endif;?> </div> <?php endif;?> </div> <?php }elseif ($settings['pylon_title_style'] == '2') { ?> <div class="sec-title-three"> <?php if($settings['pylon_title_small_title_enable'] == 'yes'){?> <div class="sub-title"> <p><span><?php echo esc_html($settings['pylon_title_small_title_label'])?></span><?php echo esc_html($settings['pylon_title_small_title'])?></p> </div> <?php } ?> <h2><?php echo wp_kses_post($settings['pylon_title_title'])?></h2> </div> <?php }elseif ($settings['pylon_title_style'] == '3') { ?> <div class="tagline_and_title_textalign"> <span class="sec-title-two__tagline"> <i class="fa fa-star"></i> <span><?php echo esc_html($settings['pylon_title_small_title'])?> </span> </span><!-- /.sec-title-two__tagline --> <h2 class="sec-title-two__title "><?php echo wp_kses_post($settings['pylon_title_title'])?> </h2><!-- /.sec-title-two__title --> <div><?php echo wp_kses_post($settings['pylon_title_style_three_dec']); ?></div> </div> <?php } ?> <?php } } Plugin::instance()->widgets_manager->register_widget_type( new Pylon_title_Widget );
Save
cmd:
run