Plugin Directory

Changeset 2689901


Ignore:
Timestamp:
03/07/2022 10:28:00 AM (4 years ago)
Author:
khuda
Message:

Version 1.4.17

Location:
definitive-addons-for-elementor/trunk
Files:
20 edited

Legend:

Unmodified
Added
Removed
  • definitive-addons-for-elementor/trunk/css/dafe_style.css

    r2686404 r2689901  
    2020}
    2121
     22
    2223/* Filterable Portfolio */
    2324
    24 ul#portfolio-filter, ul#filters, ul#filter-folio, ul#filter-blog {
     25ul#portfolio-filter, .filters, ul#filter-folio, ul#filter-blog {
    2526    font-size: 18px;
    2627    margin-bottom: 40px;
     
    2829}
    2930
    30 ul#filters {
     31.filters {
    3132    margin: 0px;
    3233    margin-bottom: 30px;
    3334}
    34 ul#portfolio-filter li, ul#filters li, ul#filter-folio li, ul#filter-blog li {
     35
     36ul#portfolio-filter li, .filters li, ul#filter-folio li, ul#filter-blog li {
    3537    display: inline-block;
    3638}
    3739
    38 ul#portfolio-filter li a, ul#filters li a, ul#filter-folio li a, ul#filter-blog li a {
     40ul#portfolio-filter li a, .filters li a, ul#filter-folio li a, ul#filter-blog li a {
    3941    text-decoration: none;
    4042    background-color: #333;
    41    
    4243    padding: 5px 15px 5px 15px;
    4344}
     
    101102    width: 100%;
    102103}
    103 
    104 
    105104
    106105.nl_grid_row .col_padd_margin {
     
    306305/******/
    307306
     307/* Feature list */
     308
     309
     310.dafe-feature-list-container.feature-list-align-right .feature-list-inner-container {
     311    text-align: right;
     312    -webkit-box-orient: horizontal;
     313    -webkit-box-direction: reverse;
     314    -ms-flex-direction: row-reverse;
     315    flex-direction: row-reverse;
     316}
     317.dafe-feature-list-container.feature-list-align-left .feature-list-inner-container {
     318    display: -webkit-box;
     319    display: -ms-flexbox;
     320    display: flex;
     321    text-align: left;
     322}
     323.dafe-feature-list-container.feature-list-align-right .feature-list-inner-container {
     324    display: -webkit-box;
     325    display: -ms-flexbox;
     326    display: flex;
     327}
     328
     329.dafe-feature-list-container .feature-list-inner-container {
     330    text-align: center;
     331}
     332
     333.feature-list-align-left .dafe-icon-container {
     334    margin-right: 15px;
     335}
     336.feature-list-align-right .dafe-icon-container {
     337    margin-left: 15px;
     338}
     339
     340.dafe-feature-list-container.feature-list-align-left .dafe-icon-container, .dafe-feature-list-container.feature-list-align-right .dafe-icon-container {
     341    -webkit-box-flex: 0;
     342    -ms-flex: 0 0 auto;
     343    flex: 0 0 auto;
     344    display: -webkit-inline-box;
     345    display: -ms-inline-flexbox;
     346    display: inline-flex;
     347   
     348}
     349.dafe-icon {
     350    text-align: center;
     351    display: inline-block;
     352    -webkit-transition: all .3s;
     353    -o-transition: all .3s;
     354    transition: all .3s;
     355   
     356}
     357 .dafe-feature-list-container .dafe-icon {
     358     border-radius:50%;
     359 }
     360.dafe-feature-list-container .dafe-feature-list-content {
     361    -webkit-box-flex: 1;
     362    -ms-flex-positive: 1;
     363    flex-grow: 1;
     364   
     365}
     366
     367.dafe-feature-list-container .dafe-feature-list-description {
     368    margin: 0;
     369}
     370
     371
     372
     373.dafe-feature-list-description.left {
     374    text-align:left;
     375}
     376.dafe-feature-list-description.right {
     377    text-align:right;
     378}
     379.dafe-feature-list-description.center {
     380    text-align:center;
     381}
    308382
    309383
     
    411485    text-align:justify;
    412486}
    413 
     487.da-entry-content p {
     488    display:block!important;
     489}
    414490.entry-footer .tags-links {text-align:center;}
    415491.post-categories a{text-decoration:none;text-transform:uppercase;}
  • definitive-addons-for-elementor/trunk/definitive_adons_elementor.php

    r2686404 r2689901  
    44 * Description: Advanced Widgets for Elementor Page Builder.
    55 * Plugin URI:  https://softfirm.net/
    6  * Version:     1.4.16
     6 * Version:     1.4.17
    77 * Author:      Softfirm
    88 * Author URI:  https://softfirm.net/definitive-addons/
     
    3131     * @var string The plugin version.
    3232     */
    33     const VERSION = '1.4.16';
     33    const VERSION = '1.4.17';
    3434
    3535    /**
  • definitive-addons-for-elementor/trunk/inc/Elements/CTA.php

    r2675151 r2689901  
    88use Elementor\Group_Control_Background;
    99use Elementor\Controls_Manager;
     10use Elementor\Group_Control_Box_Shadow;
     11use Elementor\Group_Control_Text_Shadow;
     12use Elementor\Group_Control_Text_Stroke;
    1013use Elementor\Group_Control_Border;
    1114use Elementor\Group_Control_Image_Size;
     
    357360        );
    358361       
     362        $this->add_control(
     363            'icon_hover_border_color',
     364            [
     365                'label'     => __('Icon Border Hover Color', 'definitive-addons-for-elementor'),
     366                'type'      => Controls_Manager::COLOR,
     367                'selectors' => [
     368                    '{{WRAPPER}} .icon:hover' => 'border-color: {{VALUE}};',
     369                ]
     370            ]
     371        );
     372       
    359373        $this->add_responsive_control(
    360374            'icon_text_spacing',
     
    377391        $this->end_controls_section();
    378392
    379        
     393        // title style
    380394
    381395        $this->start_controls_section(
     
    410424            ]
    411425        );
     426       
     427        $this->add_control(
     428           'title_hvr_color',
     429            [
     430                'label' => __( 'Title Hover Color', 'definitive-addons-for-elementor' ),
     431                'type' => Controls_Manager::COLOR,
     432                'selectors' => [
     433                    '{{WRAPPER}} .cta-title:hover' => 'color: {{VALUE}}',
     434                ],
     435            ]
     436        );
     437       
     438         
    412439
    413440        $this->add_group_control(
     
    419446            ]
    420447        );
     448       
     449        $this->add_group_control(
     450            Group_Control_Text_Shadow::get_type(),
     451            [
     452                'name' => 'title_shadow',
     453                'selector' => '{{WRAPPER}} .cta-title',
     454            ]
     455        );
     456       
     457        $this->add_group_control(
     458            Group_Control_Text_Stroke::get_type(),
     459            [
     460                'name' => 'title_stroke',
     461                'selector' => '{{WRAPPER}} .cta-title',
     462            ]
     463        );
    421464       
    422465        $this->end_controls_section();
     
    593636            ]
    594637        );
    595        
     638        $this->add_control(
     639            'button_border_hvr_color',
     640            [
     641                'label' => __( 'Button Border Hover Color', 'definitive-addons-for-elementor' ),
     642                'type' => Controls_Manager::COLOR,
     643               
     644                'selectors' => [
     645                    '{{WRAPPER}} .dactabtn:hover' => 'border-color: {{VALUE}}',
     646                ],
     647            ]
     648        );
     649       
     650        $this->add_group_control(
     651            Group_Control_Box_Shadow::get_type(),
     652            [
     653                'label' => __( 'Button Shadow', 'definitive-addons-for-elementor' ),
     654                'name'     => 'btn_box_shadow',
     655
     656                'selector' => '{{WRAPPER}} .dactabtn',
     657            ]
     658        );
     659       
     660        $this->add_group_control(
     661            Group_Control_Box_Shadow::get_type(),
     662            [
     663                'label' => __( 'Button Hover Shadow', 'definitive-addons-for-elementor' ),
     664                'name'     => 'btn_hvr_shadow',
     665
     666                'selector' => '{{WRAPPER}} .dactabtn:hover',
     667            ]
     668        );
    596669
    597670        $this->end_controls_section();
     
    600673           'cta_section_style_content',
    601674            [
    602                 'label' => __( 'CTA Content', 'definitive-addons-for-elementor' ),
     675                'label' => __( 'CTA Container', 'definitive-addons-for-elementor' ),
    603676                'tab'   => Controls_Manager::TAB_STYLE,
    604677            ]
     
    629702            ]
    630703        );
     704       
     705        $this->add_control(
     706            'content_bg_hvr_color',
     707            [
     708                'label' => __( 'CTA Container Hover Background Color', 'definitive-addons-for-elementor' ),
     709                'type' => Controls_Manager::COLOR,
     710                'default' =>'#eee',
     711                'selectors' => [
     712                    '{{WRAPPER}} .call-to-action:hover' => 'background-color: {{VALUE}}',
     713                ],
     714            ]
     715        );
     716       
     717        $this->add_group_control(
     718            Group_Control_Box_Shadow::get_type(),
     719            [
     720                'label' => __( 'Container Shadow', 'definitive-addons-for-elementor' ),
     721                'name'     => 'container_box_shadow',
     722
     723                'selector' => '{{WRAPPER}} .call-to-action',
     724            ]
     725        );
     726       
     727        $this->add_group_control(
     728            Group_Control_Box_Shadow::get_type(),
     729            [
     730                'label' => __( 'Container Hover Shadow', 'definitive-addons-for-elementor' ),
     731                'name'     => 'container_hvr_shadow',
     732
     733                'selector' => '{{WRAPPER}} .call-to-action:hover',
     734            ]
     735        );
    631736
    632737        $this->end_controls_section();
  • definitive-addons-for-elementor/trunk/inc/Elements/Counter.php

    r2686404 r2689901  
    579579
    580580        $id = uniqid();
     581        $this->add_render_attribute( 'counter', [
     582            'class' => 'dafe-counter-number',
     583           
     584            'data-startval' => $settings['counter_start_val'],
     585            'data-endval' => $settings['counter_end_val'],
     586        ] );
    581587        ?>
    582588
     
    591597        <?php } ?>
    592598        <div class="counter-content">
    593             <span id="<?php echo esc_attr($id) ?>" class="counter-val" data-startval="<?php echo esc_attr($settings['counter_start_val']) ?>" data-endval="<?php echo esc_attr($settings['counter_end_val']) ?>"></span>
     599            <span id="<?php echo esc_attr($id) ?>" <?php $this->print_render_attribute_string( 'counter' ); ?>></span>
    594600            <span class="counter-text <?php echo esc_attr($settings['counter_val_position']); ?>">
    595601     
  • definitive-addons-for-elementor/trunk/inc/Elements/Feature_list.php

    r2675151 r2689901  
    1010use Elementor\Repeater;
    1111use Elementor\Controls_Manager;
     12use Elementor\Group_Control_Box_Shadow;
     13use Elementor\Group_Control_Text_Shadow;
     14use Elementor\Group_Control_Text_Stroke;
    1215use Elementor\Group_Control_Border;
    1316use Elementor\Group_Control_Image_Size;
    1417use Elementor\Group_Control_Typography;
    15 
    1618use Elementor\Utils;
    1719use \Elementor\Widget_Base;
     
    177179                ],
    178180                'selectors' => [
    179                     '{{WRAPPER}} .icon-container' => 'font-size: {{SIZE}}{{UNIT}};',
     181                    '{{WRAPPER}} .dafe-feature-list-container .dafe-icon' => 'font-size: {{SIZE}}{{UNIT}};',
    180182                ],
    181183            ]
     
    197199                ],
    198200                'selectors' => [
    199                     '{{WRAPPER}} .icon-container' => 'height: {{SIZE}}{{UNIT}};',
    200                     '{{WRAPPER}} .icon-container' => 'line-height: {{SIZE}}{{UNIT}};',
     201                    '{{WRAPPER}} .dafe-feature-list-container .dafe-icon' => 'height: {{SIZE}}{{UNIT}};',
     202                    '{{WRAPPER}} .dafe-feature-list-container .dafe-icon .icon' => 'line-height: {{SIZE}}{{UNIT}};',
    201203                ],
    202204            ]
     
    218220                ],
    219221                'selectors' => [
    220                     '{{WRAPPER}} .icon-container' => 'width: {{SIZE}}{{UNIT}};',
     222                    '{{WRAPPER}} .dafe-feature-list-container .dafe-icon' => 'width: {{SIZE}}{{UNIT}};',
    221223                ],
    222224            ]
     
    231233                'default' => '#6EC1E4',
    232234                'selectors' => [
    233                     '{{WRAPPER}} .icon-container .icon' => 'color: {{VALUE}}',
     235                    '{{WRAPPER}} .dafe-feature-list-container .dafe-icon .icon' => 'color: {{VALUE}}',
    234236                ],
    235237            ]
     
    242244                'type' => Controls_Manager::COLOR,
    243245                'selectors' => [
    244                     '{{WRAPPER}} .icon-container:hover .icon' => 'color: {{VALUE}}',
     246                    '{{WRAPPER}} .dafe-feature-list-container .dafe-icon:hover .icon' => 'color: {{VALUE}}',
     247                ],
     248            ]
     249        );
     250       
     251        $this->add_control(
     252           'icon_bg_color',
     253            [
     254                'label' => __( 'Icon Background Color', 'definitive-addons-for-elementor' ),
     255                'type' => Controls_Manager::COLOR,
     256                'default' => '#eee',
     257                'selectors' => [
     258                    '{{WRAPPER}} .dafe-feature-list-container .dafe-icon' => 'background-color: {{VALUE}}',
     259                ],
     260            ]
     261        );
     262       
     263        $this->add_control(
     264           'icon_hover_bg_color',
     265            [
     266                'label' => __( 'Hover Background Color', 'definitive-addons-for-elementor' ),
     267                'type' => Controls_Manager::COLOR,
     268                'selectors' => [
     269                    '{{WRAPPER}} .dafe-feature-list-container .dafe-icon:hover' => 'background-color: {{VALUE}}',
    245270                ],
    246271            ]
     
    248273       
    249274        $this->add_group_control(
     275            Group_Control_Border::get_type(),
     276            [
     277                'name' => 'icon_border',
     278                'selector' => '{{WRAPPER}} .dafe-feature-list-container .dafe-icon',
     279            ]
     280        );
     281
     282       
     283
     284        $this->add_responsive_control(
     285          'icon_border_radius',
     286            [
     287                'label' => __( 'Icon Border Radius', 'definitive-addons-for-elementor' ),
     288                'type' => Controls_Manager::DIMENSIONS,
     289                'size_units' => [ '%','px' ],
     290                'selectors' => [
     291                    '{{WRAPPER}} .dafe-feature-list-container .dafe-icon' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
     292                ],
     293            ]
     294        );
     295       
     296        $this->add_responsive_control(
     297            'icon_spacing',
     298            [
     299                'label' => __( 'Icon Bottom Spacing', 'definitive-addons-for-elementor' ),
     300                'type' => Controls_Manager::SLIDER,
     301                'size_units' => ['px'],
     302                'selectors' => [
     303                    '{{WRAPPER}} .dafe-feature-list-container .dafe-icon' => 'margin-bottom: {{SIZE}}{{UNIT}};',
     304                ],
     305                'condition' => [
     306                        'feature_list_alignment' => 'center',
     307                ],
     308               
     309            ]
     310        );
     311       
     312       
     313
     314        $this->end_controls_section();
     315
     316        $this->start_controls_section(
     317           'section_style_content',
     318            [
     319                'label' => __( 'Feature List Content', 'definitive-addons-for-elementor' ),
     320                'tab'   => Controls_Manager::TAB_STYLE,
     321            ]
     322        );
     323
     324        $this->add_responsive_control(
     325            'content_padding',
     326            [
     327                'label' => __( 'Content Padding', 'definitive-addons-for-elementor' ),
     328                'type' => Controls_Manager::DIMENSIONS,
     329                'size_units' => [ 'px', 'em', '%' ],
     330                'default'=>['top' =>'10','right' =>'10','bottom' =>'10','left' =>'10'],
     331                'selectors' => [
     332                    '{{WRAPPER}} .feature-list-inner-container' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
     333                ],
     334            ]
     335        );
     336
     337        $this->add_group_control(
    250338            Group_Control_Background::get_type(),
    251339            [
    252                 'name' => 'icon_background',
    253                 'selector' => '{{WRAPPER}} .icon-container',
     340                'name' => 'content_background',
     341                'selector' => '{{WRAPPER}} .feature-list-inner-container',
    254342                'exclude' => [
    255343                    'image'
     
    257345            ]
    258346        );
    259        
    260         $this->add_control(
    261            'icon_hover_bg_color',
    262             [
    263                 'label' => __( 'Hover Background Color', 'definitive-addons-for-elementor' ),
    264                 'type' => Controls_Manager::COLOR,
    265                 'selectors' => [
    266                     '{{WRAPPER}} .icon-container:hover' => 'background-color: {{VALUE}}',
    267                 ],
    268             ]
    269         );
    270        
    271         $this->add_group_control(
    272             Group_Control_Border::get_type(),
    273             [
    274                 'name' => 'icon_border',
    275                 'selector' => '{{WRAPPER}} .icon-container',
    276             ]
    277         );
    278 
    279        
    280 
    281         $this->add_responsive_control(
    282           'icon_border_radius',
    283             [
    284                 'label' => __( 'Icon Border Radius', 'definitive-addons-for-elementor' ),
    285                 'type' => Controls_Manager::DIMENSIONS,
    286                 'size_units' => [ 'px', '%' ],
    287                 'selectors' => [
    288                     '{{WRAPPER}} .icon-container' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}; overflow: hidden;',
    289                 ],
    290             ]
    291         );
    292        
    293         $this->add_responsive_control(
    294             'icon_spacing',
    295             [
    296                 'label' => __( 'Icon Bottom Spacing', 'definitive-addons-for-elementor' ),
    297                 'type' => Controls_Manager::SLIDER,
    298                 'size_units' => ['px'],
    299                 'selectors' => [
    300                     '{{WRAPPER}} .icon-container' => 'margin-bottom: {{SIZE}}{{UNIT}};',
    301                 ],
    302                 'condition' => [
    303                         'feature_list_alignment' => 'center',
    304                 ],
    305                
    306             ]
    307         );
    308        
    309        
    310 
    311         $this->end_controls_section();
     347        $this->add_control(
     348           'content_hvr_color',
     349            [
     350                'label' => __( 'Content Hover Background Color', 'definitive-addons-for-elementor' ),
     351                'type' => Controls_Manager::COLOR,
     352                'selectors' => [
     353                    '{{WRAPPER}} .feature-list-inner-container:hover' => 'background-color: {{VALUE}}',
     354                ],
     355            ]
     356        );
     357       
     358        $this->end_controls_section();
    312359
    313360        $this->start_controls_section(
    314            '_section_style_content',
    315             [
    316                 'label' => __( 'Feature List Content', 'definitive-addons-for-elementor' ),
    317                 'tab'   => Controls_Manager::TAB_STYLE,
    318             ]
    319         );
    320 
    321         $this->add_responsive_control(
    322             'content_padding',
    323             [
    324                 'label' => __( 'Content Padding', 'definitive-addons-for-elementor' ),
    325                 'type' => Controls_Manager::DIMENSIONS,
    326                 'size_units' => [ 'px', 'em', '%' ],
    327                 'selectors' => [
    328                     '{{WRAPPER}} .feature-list-content' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    329                 ],
    330             ]
    331         );
    332 
    333         $this->add_group_control(
    334             Group_Control_Background::get_type(),
    335             [
    336                 'name' => 'content_background',
    337                 'selector' => '{{WRAPPER}} .feature-list-content',
    338                 'exclude' => [
    339                     'image'
    340                 ]
    341             ]
    342         );
    343        
    344         $this->end_controls_section();
    345 
    346         $this->start_controls_section(
    347            '_section_style_title',
     361           'section_style_title',
    348362            [
    349363                'label' => __( 'Feature List Title', 'definitive-addons-for-elementor' ),
     
    360374                'size_units' => ['px'],
    361375                'selectors' => [
    362                     '{{WRAPPER}} .feature-list-title' => 'margin-bottom: {{SIZE}}{{UNIT}};',
     376                    '{{WRAPPER}} .dafe-feature-list-container .dafe-feature-list-title' => 'margin-bottom: {{SIZE}}{{UNIT}};',
    363377                ],
    364378            ]
     
    368382           'title_color',
    369383            [
    370                 'label' => __( 'Title Color', 'definitive-addons-for-elementor' ),
    371                 'type' => Controls_Manager::COLOR,
    372                 'selectors' => [
    373                     '{{WRAPPER}} .feature-list-title' => 'color: {{VALUE}}',
     384                'label' =>__( 'Title Color', 'definitive-addons-for-elementor' ),
     385                'type' => Controls_Manager::COLOR,
     386                'selectors' => [
     387                    '{{WRAPPER}} .dafe-feature-list-container .dafe-feature-list-title' => 'color: {{VALUE}}',
     388                ],
     389            ]
     390        );
     391        $this->add_control(
     392           'title_hvr_color',
     393            [
     394                'label' =>__( 'Title Hover Color', 'definitive-addons-for-elementor' ),
     395                'type' => Controls_Manager::COLOR,
     396                'selectors' => [
     397                    '{{WRAPPER}} .dafe-feature-list-container .dafe-feature-list-title:hover' => 'color: {{VALUE}}',
    374398                ],
    375399            ]
     
    380404            [
    381405                'name' => 'title_font',
    382                 'selector' => '{{WRAPPER}} .feature-list-title',
     406                'selector' => '{{WRAPPER}} .dafe-feature-list-container .dafe-feature-list-title span',
    383407               
    384408            ]
    385409        );
    386410       
     411        $this->add_group_control(
     412            Group_Control_Text_Shadow::get_type(),
     413            [
     414                'name' => 'title_shadow',
     415                'selector' => '{{WRAPPER}} .dafe-feature-list-container .dafe-feature-list-title span',
     416            ]
     417        );
     418       
     419        $this->add_group_control(
     420            Group_Control_Text_Stroke::get_type(),
     421            [
     422                'name' => 'title_stroke',
     423                'selector' => '{{WRAPPER}} .dafe-feature-list-container .dafe-feature-list-title span',
     424            ]
     425        );
     426       
    387427        $this->end_controls_section();
    388428
    389429        $this->start_controls_section(
    390            '_section_style_subtitle',
     430           'section_style_subtitle',
    391431            [
    392432                'label' => __( 'Feature List Description', 'definitive-addons-for-elementor' ),
     
    404444                'size_units' => ['px'],
    405445                'selectors' => [
    406                     '{{WRAPPER}} .feature-list-desc' => 'margin-bottom: {{SIZE}}{{UNIT}};',
     446                    '{{WRAPPER}} .dafe-feature-list-container .dafe-feature-list-description' => 'margin-bottom: {{SIZE}}{{UNIT}};',
    407447                ],
    408448            ]
     
    415455                'type' => Controls_Manager::COLOR,
    416456                'selectors' => [
    417                     '{{WRAPPER}} .feature-list-desc' => 'color: {{VALUE}}',
     457                    '{{WRAPPER}} .dafe-feature-list-container .dafe-feature-list-description' => 'color: {{VALUE}}',
    418458                ],
    419459            ]
     
    424464            [
    425465                'name' => 'subtitle_font',
    426                 'selector' => '{{WRAPPER}} .feature-list-desc',
     466                'selector' => '{{WRAPPER}} .dafe-feature-list-container .dafe-feature-list-description',
    427467               
    428468            ]
    429469        );
    430        
    431        
    432470
    433471        $this->end_controls_section();
     
    443481        }
    444482        $settings = $this->get_settings_for_display();
    445         $feature_list_alignment = $this->get_settings_for_display('feature_list_alignment');
    446         $icon_height = $this->get_settings_for_display( 'icon_height' );
    447        
    448        
    449        
    450         $cta_styles = '';
    451         $icon_styles = '';
    452         $desc_styles = '';
    453        
    454         if($feature_list_alignment == "left"){
    455             $icon_styles .= 'float:left; ';
    456             $icon_styles .= 'margin-right:15px; ';
    457             $icon_styles .= 'position:relative; ';
    458             $cta_styles .= 'position:relative; ';
    459             $cta_styles .= 'text-align:left; ';
    460             $desc_styles .= 'text-align:left; ';
    461            
    462         }
    463        
    464         if($feature_list_alignment == "right"){
    465             $icon_styles .= 'float:right; ';
    466             $icon_styles .= 'margin-left:15px; ';
    467             $icon_styles .= 'position:relative; ';
    468             $cta_styles .= 'position:relative; ';
    469             $cta_styles .= 'text-align:right; ';
    470             $desc_styles .= 'text-align:right; ';
    471            
    472         }
    473         $cta_styles .= "overflow:hidden;";
    474        
    475         $icon_styles .= "text-align:center;display:inline-block;";
    476        
    477         ?>
    478 
    479         <div class="feature-list">
    480         <?php
    481         foreach ( $settings['feature_lists'] as $feature_list) : ?>
    482    
    483             <div class="feature-list-entry">
    484                     <div class="feature-list-item">
    485                     <div class="icon-container" style="<?php echo esc_attr($icon_styles) ?>">
    486        
    487                         <i class="<?php echo esc_attr($feature_list['new_icon_id']['value']); ?> icon"> </i>
    488                      
     483        $feature_list_alignment = $this->get_settings_for_display('feature_list_alignment'); ?>
     484       
     485
     486
     487        <?php foreach ( $settings['feature_lists'] as $feature_list) : ?>
     488        <div class="dafe-feature-list-container feature-list-align-<?php echo esc_attr( $feature_list_alignment ); ?>">
     489            <div class="feature-list-inner-container">
     490                    <div class="dafe-icon-container">
     491                        <span class="dafe-icon">
     492                            <i class="<?php echo esc_attr($feature_list['new_icon_id']['value']); ?> icon"> </i>               
     493                        </span>
    489494                    </div>
    490                        
    491                             <div class="feature-list-content" style="<?php echo esc_attr($cta_styles) ?>">
    492                                 <?php if ( $feature_list['title'] ) : ?>
    493                                     <h4 class="feature-list-title"><?php echo esc_html( $feature_list['title'] ); ?></h4>
    494                                 <?php endif; ?>
    495                                 <?php if ( $feature_list['subtitle'] ) : ?>
    496                                     <p class="feature-list-desc" style="<?php echo esc_attr($desc_styles) ?>"><?php echo esc_html( $feature_list['subtitle'] ); ?></p>
    497                                 <?php endif; ?>
    498                             </div>
    499                        
    500                     </div>
    501              </div>
    502 
    503            <?php endforeach; ?>
    504 
    505         </div>
    506        
     495                    <div class="dafe-feature-list-content">
     496                        <h3 class="dafe-feature-list-title">
     497                        <span>
     498                            <?php echo esc_html( $feature_list['title'] ); ?>               
     499                        </span>
     500                        </h3>
     501                            <p class="dafe-feature-list-description <?php echo esc_attr( $feature_list_alignment ); ?>">
     502                            <?php echo esc_html( $feature_list['subtitle'] ); ?>
     503                            </p>
     504                    </div>
     505            </div>
     506        </div>
     507        <?php endforeach; ?>
    507508   
    508509
  • definitive-addons-for-elementor/trunk/inc/Elements/Filterable_Portfolio.php

    r2686404 r2689901  
    795795     
    796796     
    797         <div class="dafe-portfolio-container">
    798        
    799        
    800         <ul id="filters">
     797    <div class="dafe-portfolio-container">
     798 
     799        <ul class="filters">
    801800                <li><a href="#" data-filter="*" class="selected"><?php esc_attr_e( 'All', 'definitive-addons-for-elementor' );?></a></li>
    802801                <?php
     
    830829     ?>
    831830<div class="dafe-widget-portfolio-wrap">   
    832      <ul id="isotope-list" class="nl_grid_row col_gap_<?php echo esc_attr($column_gap); ?>">
     831   
     832     <ul class="isotope-list nl_grid_row col_gap_<?php echo esc_attr($column_gap); ?>">
    833833       
    834834        <?php while ($loop->have_posts()) : $loop->the_post(); ?>
  • definitive-addons-for-elementor/trunk/inc/Elements/Flip_Box.php

    r2675151 r2689901  
    88use Elementor\Group_Control_Background;
    99use Elementor\Controls_Manager;
     10use Elementor\Group_Control_Box_Shadow;
     11use Elementor\Group_Control_Text_Shadow;
     12use Elementor\Group_Control_Text_Stroke;
    1013use Elementor\Group_Control_Border;
    1114use Elementor\Group_Control_Image_Size;
     
    5861        );
    5962       
    60        
    61        
    62        
     63        $this->add_control(
     64            'show_hide_title',
     65            [
     66                'label' => __( 'Show/Hide Title', 'definitive-addons-for-elementor' ),
     67                'type' => Controls_Manager::SWITCHER,
     68                'default' => 'yes',
     69                'label_on' => __( 'Yes', 'definitive-addons-for-elementor' ),
     70                'label_off' => __( 'No', 'definitive-addons-for-elementor' ),
     71                'return_value' => 'yes',
     72                'frontend_available' => true,
     73            ]
     74        );
     75
    6376        $this->add_control(
    6477            'box_title',
     
    6679                'label' =>__( 'Flip Box Title', 'definitive-addons-for-elementor' ),
    6780                'type' => Controls_Manager::TEXT,
     81                'condition' => [
     82                    'show_hide_title' => 'yes'
     83                ],
    6884                'default' =>__( 'John Doe', 'definitive-addons-for-elementor' ),
    6985            ]
    7086        );
     87       
    7188        $this->add_control(
    7289            'title_tag',
     
    101118                    ]
    102119                ],
     120                'condition' => [
     121                    'show_hide_title' => 'yes'
     122                ],
    103123                'default' => 'h3',
    104124               
     
    107127       
    108128        $this->add_control(
     129            'show_hide_subtitle',
     130            [
     131                'label' => __( 'Show/Hide Sub Title', 'definitive-addons-for-elementor' ),
     132                'type' => Controls_Manager::SWITCHER,
     133                'default' => 'yes',
     134                'label_on' => __( 'Yes', 'definitive-addons-for-elementor' ),
     135                'label_off' => __( 'No', 'definitive-addons-for-elementor' ),
     136                'return_value' => 'yes',
     137                'frontend_available' => true,
     138            ]
     139        );
     140       
     141        $this->add_control(
    109142            'box_subtitle',
    110143            [
    111144                'label' =>__( 'Sub Title', 'definitive-addons-for-elementor' ),
    112145                'type' => Controls_Manager::TEXT,
     146                'condition' => [
     147                    'show_hide_subtitle' => 'yes'
     148                ],
    113149                'default' =>__( 'Add subtitle or leave it blank.', 'definitive-addons-for-elementor' ),
    114150            ]
    115151        );
    116    
     152       
     153        $this->add_control(
     154            'show_hide_text',
     155            [
     156                'label' => __( 'Show/Hide Text', 'definitive-addons-for-elementor' ),
     157                'type' => Controls_Manager::SWITCHER,
     158                'default' => 'yes',
     159                'label_on' => __( 'Yes', 'definitive-addons-for-elementor' ),
     160                'label_off' => __( 'No', 'definitive-addons-for-elementor' ),
     161                'return_value' => 'yes',
     162                'frontend_available' => true,
     163            ]
     164        );
     165       
    117166        $this->add_control(
    118167            'box_text',
     
    120169                'label' =>__( 'Flip Box Text', 'definitive-addons-for-elementor' ),
    121170                'type' => Controls_Manager::TEXTAREA,
     171                'condition' => [
     172                    'show_hide_text' => 'yes'
     173                ],
    122174                'default' =>__( 'Add flip-box text here or leave it blank.', 'definitive-addons-for-elementor' ),
    123175            ]
     
    276328            ]
    277329        );
     330       
     331        $this->add_group_control(
     332            Group_Control_Text_Shadow::get_type(),
     333            [
     334                'name' => 'title_shadow',
     335                'selector' => '{{WRAPPER}} .title',
     336            ]
     337        );
     338       
     339        $this->add_group_control(
     340            Group_Control_Text_Stroke::get_type(),
     341            [
     342                'name' => 'title_stroke',
     343                'selector' => '{{WRAPPER}} .title',
     344            ]
     345        );
    278346
    279347       $this->end_controls_section();
     
    319387            ]
    320388        );
    321        
    322        
    323389
    324390        $this->end_controls_section();
     
    331397            ]
    332398        );
    333        
    334 
    335        
    336 
     399 
    337400        $this->add_control(
    338401            'text_color',
     
    362425           'flip_style_content',
    363426            [
    364                 'label' => __( 'Flip Box Content', 'definitive-addons-for-elementor' ),
     427                'label' => __( 'Flip Box Container', 'definitive-addons-for-elementor' ),
    365428                'tab'   => Controls_Manager::TAB_STYLE,
    366429            ]
     
    378441            ]
    379442        );
     443        $this->add_control(
     444            'container_bg_hvr_color',
     445            [
     446                'label' => __( 'Container Hover Background Color', 'definitive-addons-for-elementor' ),
     447                'type' => Controls_Manager::COLOR,
     448                'selectors' => [
     449                    '{{WRAPPER}} .flip-box-backend:hover' => 'background-color: {{VALUE}}',
     450                ],
     451            ]
     452        );
     453        $this->add_group_control(
     454            Group_Control_Box_Shadow::get_type(),
     455            [
     456                'label' => __( 'Container Shadow', 'definitive-addons-for-elementor' ),
     457                'name'     => 'flip_box_shadow',
     458
     459                'selector' => '{{WRAPPER}} .flip-box-container',
     460            ]
     461        );
     462       
     463        $this->add_group_control(
     464            Group_Control_Box_Shadow::get_type(),
     465            [
     466                'label' => __( 'Container Hover Shadow', 'definitive-addons-for-elementor' ),
     467                'name'     => 'flip_box_hvr_shadow',
     468
     469                'selector' => '{{WRAPPER}} .flip-box-container:hover',
     470            ]
     471        );
     472       
    380473       
    381474        $this->end_controls_section();
     
    406499                        <div class="flip-box-backend">
    407500                          <div class="flip-cta">
     501                          <?php if ( $settings['box_title'] ) : ?>
    408502                            <<?php echo esc_attr($title_tag) ?> class="title"><?php echo esc_html($title) ?></<?php echo esc_attr($title_tag) ?>>
     503                            <?php endif; ?>
     504                            <?php if ( $settings['box_subtitle'] ) : ?>
    409505                            <h5 class="subtitle"><?php echo esc_html($subtitle) ?></h5>
     506                            <?php endif; ?>
     507                            <?php if ( $settings['box_text'] ) : ?>
    410508                            <p class="box_text"><?php echo esc_html($settings['box_text']) ?></p>
     509                            <?php endif; ?>
    411510                          </div>
    412511                        </div>
  • definitive-addons-for-elementor/trunk/inc/Elements/Icon_Box.php

    r2686404 r2689901  
    88
    99use Elementor\Controls_Manager;
     10use Elementor\Group_Control_Typography;
    1011use Elementor\Group_Control_Box_Shadow;
    11 use Elementor\Group_Control_Typography;
    1212use Elementor\Group_Control_Text_Shadow;
    1313use Elementor\Group_Control_Text_Stroke;
    1414use Elementor\Icons_Manager;
    15 
    1615use Elementor\Group_Control_Border;
    1716use Elementor\Group_Control_Background;
     
    565564       
    566565        $this->add_group_control(
     566            Group_Control_Text_Shadow::get_type(),
     567            [
     568                'name' => 'title_shadow',
     569                'selector' => '{{WRAPPER}} .dafe-icon-box-title',
     570            ]
     571        );
     572       
     573        $this->add_group_control(
    567574            Group_Control_Text_Stroke::get_type(),
    568575            [
     
    572579        );
    573580
    574         $this->add_group_control(
    575             Group_Control_Text_Shadow::get_type(),
    576             [
    577                 'name' => 'title_shadow',
    578                 'selector' => '{{WRAPPER}} .dafe-icon-box-title',
    579             ]
    580         );
     581       
    581582       
    582583        $this->end_controls_section();
  • definitive-addons-for-elementor/trunk/inc/Elements/Image_Overlay.php

    r2675151 r2689901  
    99use Elementor\Group_Control_Background;
    1010use Elementor\Controls_Manager;
     11use Elementor\Group_Control_Box_Shadow;
     12use Elementor\Group_Control_Text_Shadow;
     13use Elementor\Group_Control_Text_Stroke;
    1114use Elementor\Group_Control_Border;
    1215use Elementor\Group_Control_Image_Size;
     
    8689            ]
    8790        );
     91       
     92        $this->add_control(
     93            'show_hide_ovl',
     94            [
     95                'label' => __( 'Show/Hide Overlay', 'definitive-addons-for-elementor' ),
     96                'type' => Controls_Manager::SWITCHER,
     97                'default' => 'yes',
     98                'label_on' => __( 'Yes', 'definitive-addons-for-elementor' ),
     99                'label_off' => __( 'No', 'definitive-addons-for-elementor' ),
     100                'return_value' => 'yes',
     101                'frontend_available' => true,
     102            ]
     103        );
     104
    88105
    89106        $this->add_responsive_control(
     
    92109                'type' => Controls_Manager::TEXT,
    93110                'label_block' => true,
     111                'condition' => [
     112                    'show_hide_ovl' => 'yes'
     113                ],
    94114                'label' => __( 'Overlay Title', 'definitive-addons-for-elementor' ),
    95115                'default' =>__( 'I am Overlay Title', 'definitive-addons-for-elementor' )
     
    130150                ],
    131151                'default' => 'h2',
     152                'condition' => [
     153                    'show_hide_ovl' => 'yes'
     154                ],
    132155                'toggle' => false,
    133156            ]
     
    140163                'separator' => 'before',
    141164                'type' => Controls_Manager::URL,
    142                 'placeholder' => 'https://softfirm.net/',
     165                'placeholder' =>__('https://softfirm.net/', 'definitive-addons-for-elementor' ),
     166                'condition' => [
     167                    'show_hide_ovl' => 'yes'
     168                ],
    143169                'dynamic' => [
    144170                    'active' => true,
     
    147173        );
    148174       
     175       
     176       
    149177        $this->add_responsive_control(
    150178       'overlay_subtitle',
     
    152180                'type' => Controls_Manager::TEXT,
    153181                'label_block' => true,
     182                'condition' => [
     183                    'show_hide_ovl' => 'yes'
     184                ],
    154185                'label' => __( 'Overlay Subtitle', 'definitive-addons-for-elementor' ),
    155186                'default' =>__( 'I am Overlay Subtitle', 'definitive-addons-for-elementor' )
     
    161192       
    162193
    163     // style
     194    // overlay style
    164195        $this->start_controls_section(
    165196            'overlay_section_style',
     
    167198                'label' => __( 'Image Overlay Style', 'definitive-addons-for-elementor' ),
    168199                'tab'   => Controls_Manager::TAB_STYLE,
    169             ]
    170         );
    171        
    172          $this->add_control(
    173             'show_hide_ovl',
    174             [
    175                 'label' => __( 'Show/Hide Overlay', 'definitive-addons-for-elementor' ),
    176                 'type' => Controls_Manager::SWITCHER,
    177                 'default' => 'yes',
    178                 'label_on' => __( 'Yes', 'definitive-addons-for-elementor' ),
    179                 'label_off' => __( 'No', 'definitive-addons-for-elementor' ),
    180                 'return_value' => 'yes',
    181                 'frontend_available' => true,
    182             ]
    183         );
    184 
     200                'condition' => [
     201                    'show_hide_ovl' => 'yes'
     202                ],
     203            ]
     204        );
     205       
     206         
    185207        $this->add_group_control(
    186208            Group_Control_Border::get_type(),
     
    209231            'content_padding',
    210232            [
    211                 'label' => __( 'Content Padding', 'definitive-addons-for-elementor' ),
     233                'label' => __( 'Overlay Padding', 'definitive-addons-for-elementor' ),
    212234                'type' => Controls_Manager::DIMENSIONS,
    213235                'size_units' => [ 'px', 'em', '%' ],
     
    222244            Group_Control_Background::get_type(),
    223245            [
    224                 'name' => 'content_background',
     246                'name' => 'overlay_background',
    225247                'selector' => '{{WRAPPER}} .overlay_border_styles',
    226248                'exclude' => [
     
    229251            ]
    230252        );
    231 
    232        
    233 
     253       
     254        $this->add_control(
     255           'ovl_hvr_bg_color',
     256            [
     257                'label' => __( 'Overlay Background Hover Color', 'definitive-addons-for-elementor' ),
     258                'type' => Controls_Manager::COLOR,
     259               
     260                'selectors' => [
     261                    '{{WRAPPER}} .overlay_border_styles:hover' => 'background-color: {{VALUE}}',
     262                ],
     263            ]
     264        );
     265
     266       $this->end_controls_section();
     267       
     268        $this->start_controls_section(
     269            'overlay_section_title_style',
     270            [
     271                'label' => __( 'Overlay Title Style', 'definitive-addons-for-elementor' ),
     272                'tab'   => Controls_Manager::TAB_STYLE,
     273                'condition' => [
     274                    'show_hide_ovl' => 'yes'
     275                ],
     276            ]
     277        );
     278       
    234279        $this->add_control(
    235280           'title_color',
     
    243288            ]
    244289        );
     290       
     291        $this->add_control(
     292           'title_hvr_color',
     293            [
     294                'label' => __( 'Title Hover Color', 'definitive-addons-for-elementor' ),
     295                'type' => Controls_Manager::COLOR,
     296                'default' => '#ffffff',
     297                'selectors' => [
     298                    '{{WRAPPER}} .overlay-title:hover' => 'color: {{VALUE}}',
     299                ],
     300            ]
     301        );
     302       
     303        $this->add_group_control(
     304            Group_Control_Text_Shadow::get_type(),
     305            [
     306                'name' => 'title_shadow',
     307                'selector' => '{{WRAPPER}} .overlay-title',
     308            ]
     309        );
     310       
     311        $this->add_group_control(
     312            Group_Control_Text_Stroke::get_type(),
     313            [
     314                'name' => 'title_stroke',
     315                'selector' => '{{WRAPPER}} .overlay-title',
     316            ]
     317        );
    245318
    246319        $this->add_group_control(
     
    252325            ]
    253326        );
    254        
     327        $this->end_controls_section();
     328       
     329        $this->start_controls_section(
     330            'overlay_section_subtitle_style',
     331            [
     332                'label' => __( 'Overlay Sub Title Style', 'definitive-addons-for-elementor' ),
     333                'tab'   => Controls_Manager::TAB_STYLE,
     334                'condition' => [
     335                    'show_hide_ovl' => 'yes'
     336                ],
     337            ]
     338        );
    255339        $this->add_control(
    256340           'subtitle_color',
     
    274358
    275359        $this->end_controls_section();
     360       
     361        $this->start_controls_section(
     362            'image_section_style',
     363            [
     364                'label' => __( 'Image Style', 'definitive-addons-for-elementor' ),
     365                'tab'   => Controls_Manager::TAB_STYLE,
     366               
     367            ]
     368        );
     369       
     370
     371        $this->add_group_control(
     372            Group_Control_Border::get_type(),
     373            [
     374                'name' => 'image_border',
     375                'selector' => '{{WRAPPER}} .overlay-media img',
     376            ]
     377        );
     378
     379       
     380
     381        $this->add_responsive_control(
     382          'image_border_radius',
     383            [
     384                'label' => __( 'Image Border Radius', 'definitive-addons-for-elementor' ),
     385                'type' => Controls_Manager::DIMENSIONS,
     386                'size_units' => [ 'px', '%' ],
     387                'selectors' => [
     388                    '{{WRAPPER}} .overlay-media img' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}; overflow: hidden;',
     389                ],
     390            ]
     391        );
     392       
     393        $this->add_group_control(
     394            Group_Control_Box_Shadow::get_type(),
     395            [
     396                'label' => __( 'Image Shadow', 'definitive-addons-for-elementor' ),
     397                'name'     => 'image_shadow',
     398
     399                'selector' => '{{WRAPPER}} .overlay-media img',
     400            ]
     401        );
     402        $this->add_group_control(
     403            Group_Control_Box_Shadow::get_type(),
     404            [
     405                'label' => __( 'Image Hover Shadow', 'definitive-addons-for-elementor' ),
     406                'name'     => 'image_hvr_shadow',
     407                'selector' => '{{WRAPPER}} .overlay-media:hover',
     408            ]
     409        );
     410       
     411        $this->end_controls_section();
     412       
    276413    }
    277414
     
    309446       
    310447                        <?php echo Group_Control_Image_Size::get_attachment_image_html( $settings, 'thumbnail', 'image' ); ?>
    311                
    312                    
     448   
    313449                </div>
    314450           
    315451            </div>
    316             <?php  }
     452        <?php  }
    317453    }
    318454}
  • definitive-addons-for-elementor/trunk/inc/Elements/Post_Grid.php

    r2681173 r2689901  
    88use Elementor\Group_Control_Background;
    99use Elementor\Controls_Manager;
     10use Elementor\Group_Control_Box_Shadow;
     11use Elementor\Group_Control_Text_Shadow;
     12use Elementor\Group_Control_Text_Stroke;
    1013use Elementor\Group_Control_Border;
    1114use Elementor\Group_Control_Image_Size;
     
    324327            ]
    325328        );
     329       
     330        $this->add_group_control(
     331            Group_Control_Text_Shadow::get_type(),
     332            [
     333                'name' => 'title_shadow',
     334                'selector' => '{{WRAPPER}} .da_grid_row.ms-post-grid .da-entry-title a',
     335            ]
     336        );
     337       
     338       
     339        $this->add_group_control(
     340            Group_Control_Text_Stroke::get_type(),
     341            [
     342                'name' => 'title_stroke',
     343                'selector' => '{{WRAPPER}} .da-entry-title,.page-content .da-entry-title a',
     344            ]
     345        );
     346
    326347
    327348       $this->end_controls_section();
     
    449470                    ],
    450471                ],
    451                 'default' => 'left',
    452                
    453             ]
    454         );
    455        
    456        
     472                'default' => 'leftp',
     473               
     474            ]
     475        );
    457476
    458477        $this->end_controls_section();
     
    567586            ]
    568587        );
     588       
     589        $this->add_control(
     590            'content_bg_hvr_color',
     591            [
     592                'label' => __( 'Container Hover Background Color', 'definitive-addons-for-elementor' ),
     593                'type' => Controls_Manager::COLOR,
     594               
     595                'selectors' => [
     596                    '{{WRAPPER}} .da_grid_row .da_home_blog_border_style:hover,{{WRAPPER}} .da_grid_row .da_home_blog_border_style:hover p' => 'background-color: {{VALUE}}',
     597                ],
     598            ]
     599        );
     600       
     601        $this->add_group_control(
     602            Group_Control_Box_Shadow::get_type(),
     603            [
     604                'label' => __( 'Container Shadow', 'definitive-addons-for-elementor' ),
     605                'name' => 'container_box_shadow',
     606
     607                'selector' => '{{WRAPPER}} .da_grid_row .da_home_blog_border_style',
     608            ]
     609        );
     610       
     611        $this->add_group_control(
     612            Group_Control_Box_Shadow::get_type(),
     613            [
     614                'label' => __( 'Container Hover Shadow', 'definitive-addons-for-elementor' ),
     615                'name' => 'container_hvr_shadow',
     616
     617                'selector' => '{{WRAPPER}} .da_grid_row .da_home_blog_border_style:hover',
     618            ]
     619        );
    569620       
    570621        $this->end_controls_section();
     
    664715                ?>
    665716               
    666             <div class="<?php echo esc_attr( $style );  ?> nl-blog-entry no_of_col_<?php echo esc_attr( $col_no );  ?> col_no_<?php echo esc_attr( $col_count );  ?> col_padd_margin" >
     717    <div class="<?php echo esc_attr( $style );  ?> nl-blog-entry no_of_col_<?php echo esc_attr( $col_no );  ?> col_no_<?php echo esc_attr( $col_count );  ?> col_padd_margin" >
    667718               
    668719                <?php } ?>
    669720               
    670                 <div class="da_home_blog_border_style <?php echo esc_attr( $fstyles );  ?> <?php echo esc_attr( $style );  ?> clear">
     721        <div class="da_home_blog_border_style <?php echo esc_attr( $fstyles );  ?> <?php echo esc_attr( $style );  ?> clear">
    671722            <?php
    672723            if ( is_home() && ! is_front_page() ) :
     
    680731                $loop->the_post();
    681732                $hcstyle = '';
    682     if ($style == 'style2'){
    683         if (has_post_thumbnail()){
    684    
    685             $hcstyle .= "thumb";
    686            
    687                
    688         }else {
    689             $hcstyle .= "w_thumb"; 
    690         }
    691     }
     733            if ($style == 'style2'){
     734                    if (has_post_thumbnail()){
     735   
     736                        $hcstyle .= "thumb";
     737
     738                    } else {
     739                        $hcstyle .= "w_thumb"; 
     740                }
     741            }
    692742?>
    693743    <div class="da-post-thumbnail <?php echo esc_attr($hcstyle); ?>">
  • definitive-addons-for-elementor/trunk/inc/Elements/Pricing_Table.php

    r2675151 r2689901  
    1010use Elementor\Repeater;
    1111use Elementor\Controls_Manager;
     12use Elementor\Group_Control_Box_Shadow;
     13use Elementor\Group_Control_Text_Shadow;
     14use Elementor\Group_Control_Text_Stroke;
    1215use Elementor\Group_Control_Border;
    1316use Elementor\Group_Control_Image_Size;
     
    303306            ]
    304307        );
     308        $this->add_control(
     309           'table_header_bg_hvr_color',
     310            [
     311                'label' => __( 'Hover Background Color', 'definitive-addons-for-elementor' ),
     312                'type' => Controls_Manager::COLOR,
     313               
     314                'selectors' => [
     315                    '{{WRAPPER}} .table-header:hover' => 'background-color: {{VALUE}}',
     316                ],
     317            ]
     318        );
    305319       
    306320        $this->add_responsive_control(
     
    385399            ]
    386400        );
     401       
     402        $this->add_group_control(
     403            Group_Control_Text_Shadow::get_type(),
     404            [
     405                'name' => 'title_shadow',
     406                'selector' => '{{WRAPPER}} .table-title',
     407            ]
     408        );
     409       
     410       
     411        $this->add_group_control(
     412            Group_Control_Text_Stroke::get_type(),
     413            [
     414                'name' => 'title_stroke',
     415                'selector' => '{{WRAPPER}} .table-title',
     416            ]
     417        );
     418
    387419       
    388420        $this->add_responsive_control(
     
    726758                ],
    727759                'default' => [
    728                     'size' => 150
     760                    'size' => 125
    729761                ],
    730762                'selectors' => [
     
    829861        );
    830862       
    831        
     863        $this->add_group_control(
     864            Group_Control_Box_Shadow::get_type(),
     865            [
     866                'label' => __( 'Button Shadow', 'definitive-addons-for-elementor' ),
     867                'name'     => 'btn_box_shadow',
     868
     869                'selector' => '{{WRAPPER}} .dactabtn',
     870            ]
     871        );
    832872       
    833873
     
    854894        );
    855895       
    856        
     896        $this->add_control(
     897            'container_bg_hvr_color',
     898            [
     899                'label' => __( 'Container Hover Background Color', 'definitive-addons-for-elementor' ),
     900                'type' => Controls_Manager::COLOR,
     901               
     902                'selectors' => [
     903                    '{{WRAPPER}} .pricing-table-container:hover' => 'background-color: {{VALUE}}',
     904                ],
     905            ]
     906        );
    857907       
    858908        $this->add_group_control(
     
    875925            ]
    876926        );
     927        $this->add_group_control(
     928            Group_Control_Box_Shadow::get_type(),
     929            [
     930                'label' => __( 'Container Shadow', 'definitive-addons-for-elementor' ),
     931                'name'     => 'container_shadow',
     932
     933                'selector' => '{{WRAPPER}} .pricing-table-container',
     934            ]
     935        );
     936       
     937        $this->add_group_control(
     938            Group_Control_Box_Shadow::get_type(),
     939            [
     940                'label' => __( 'Container Hover Shadow', 'definitive-addons-for-elementor' ),
     941                'name'     => 'container_hvr_shadow',
     942
     943                'selector' => '{{WRAPPER}} .pricing-table-container:hover',
     944            ]
     945        );
    877946       
    878947        $this->end_controls_section();
  • definitive-addons-for-elementor/trunk/inc/Elements/Skillbar.php

    r2675151 r2689901  
    262262        <?php if ($skillbar_style =='block'){ ?>
    263263
    264         <span class="title" style="line-height:<?php echo esc_attr($bar_height['size']); ?>px;"> <?php echo esc_html($skill_text); ?></span>
     264        <span class="title" style="line-height:<?php echo esc_attr($bar_height['size']); ?>px;"><?php echo esc_html($skill_text); ?></span>
    265265
    266266        <?php } ?>
  • definitive-addons-for-elementor/trunk/inc/Elements/Slider.php

    r2675151 r2689901  
    7474                'separator' => 'before',
    7575                'type' => Controls_Manager::URL,
    76                 'placeholder' => 'https://softfirm.net/',
     76                'placeholder' =>__('https://softfirm.net/', 'definitive-addons-for-elementor' ),
    7777                'dynamic' => [
    7878                    'active' => true,
     
    9696                'type' => Controls_Manager::TEXTAREA,
    9797                'label_block' => true,
    98                'label' => __( 'Sub Title', 'definitive-addons-for-elementor' ),
     98                'label' => __( 'Sub Title', 'definitive-addons-for-elementor' ),
    9999                'default' => __( 'I am Slide1 Sub Title', 'definitive-addons-for-elementor' ),
    100100            ]
     
    119119                    'library' => 'fa-solid',
    120120                ],
    121                
    122                
    123                
    124121            ]
    125122        );
     
    640637        $add_icon_right = '';
    641638        $slider_image = '';
    642        
     639        $id = uniqid();
     640        $this->add_render_attribute( 'definitive-slick', [
     641            'class' => 'definitive-slick',
     642           
     643            'data-autospeed' => $autoplay_speed,
     644            'data-autoplay' => $autoplay,
     645            'data-loop' => $loop,
     646        ] );
    643647   
    644648        ?>
    645649    <div class="slides-container <?php echo esc_attr($nav_position) ?>">
    646         <div id="definitive" class="definitive-slick" data-autospeed="<?php echo esc_attr($autoplay_speed) ?>" data-autoplay="<?php echo esc_attr($autoplay) ?>" data-loop="<?php echo esc_attr($loop) ?>">
     650        <div id="<?php echo esc_attr($id) ?>" <?php $this->print_render_attribute_string( 'definitive-slick' ); ?>>
    647651
    648652            <?php foreach ( $settings['slick_slides'] as $slide ) {
  • definitive-addons-for-elementor/trunk/inc/Elements/Teaser_Box.php

    r2675151 r2689901  
    88use Elementor\Group_Control_Background;
    99use Elementor\Controls_Manager;
     10use Elementor\Group_Control_Box_Shadow;
     11use Elementor\Group_Control_Text_Shadow;
     12use Elementor\Group_Control_Text_Stroke;
    1013use Elementor\Group_Control_Border;
    1114use Elementor\Group_Control_Image_Size;
     
    7477            ]
    7578        );
    76        
     79        $this->add_control(
     80            'show_hide_title',
     81            [
     82                'label' => __( 'Show/Hide Title', 'definitive-addons-for-elementor' ),
     83                'type' => Controls_Manager::SWITCHER,
     84                'default' => 'yes',
     85                'label_on' => __( 'Yes', 'definitive-addons-for-elementor' ),
     86                'label_off' => __( 'No', 'definitive-addons-for-elementor' ),
     87                'return_value' => 'yes',
     88                'frontend_available' => true,
     89            ]
     90        );
    7791        $this->add_control(
    7892            'box_title',
     
    8094                'label' =>__( 'Card Title', 'definitive-addons-for-elementor' ),
    8195                'type' => Controls_Manager::TEXT,
     96                'condition' => [
     97                    'show_hide_title' => 'yes'
     98                ],
    8299                'default' =>__( 'John Doe', 'definitive-addons-for-elementor' ),
    83100            ]
     
    115132                    ]
    116133                ],
     134                'condition' => [
     135                    'show_hide_title' => 'yes'
     136                ],
    117137                'default' => 'h4',
    118138                'toggle' => false,
    119139            ]
    120140        );
    121    
     141         $this->add_control(
     142            'show_hide_text',
     143            [
     144                'label' => __( 'Show/Hide Text', 'definitive-addons-for-elementor' ),
     145                'type' => Controls_Manager::SWITCHER,
     146                'default' => 'yes',
     147                'label_on' => __( 'Yes', 'definitive-addons-for-elementor' ),
     148                'label_off' => __( 'No', 'definitive-addons-for-elementor' ),
     149                'return_value' => 'yes',
     150                'frontend_available' => true,
     151            ]
     152        );
     153       
    122154        $this->add_control(
    123155            'box_text',
     
    125157                'label' =>__( 'Card Text', 'definitive-addons-for-elementor' ),
    126158                'type' => Controls_Manager::TEXTAREA,
     159                'condition' => [
     160                    'show_hide_text' => 'yes'
     161                ],
    127162                'default' =>__( 'Add Card text here or leave it blank.', 'elementor-definitive-for-addons' ),
    128163            ]
    129164        );
    130165       
     166         $this->add_control(
     167            'show_hide_btn',
     168            [
     169                'label' => __( 'Show/Hide Button', 'definitive-addons-for-elementor' ),
     170                'type' => Controls_Manager::SWITCHER,
     171                'default' => 'yes',
     172                'label_on' => __( 'Yes', 'definitive-addons-for-elementor' ),
     173                'label_off' => __( 'No', 'definitive-addons-for-elementor' ),
     174                'return_value' => 'yes',
     175                'frontend_available' => true,
     176            ]
     177        );
     178       
    131179        $this->add_control(
    132180            'box_button',
    133181            [
    134                 'label' =>__( 'Button Text', 'definitive-addons-for-elementor' ),
    135                
     182                'label' =>__('Button Text', 'definitive-addons-for-elementor' ),
     183                'condition' => [
     184                    'show_hide_btn' => 'yes'
     185                ],
    136186                'type' => Controls_Manager::TEXT,
    137                 'default' =>__( 'Read More', 'definitive-addons-for-elementor' ),
     187                'default' =>__('Read More', 'definitive-addons-for-elementor' ),
    138188            ]
    139189        );
     
    145195                'separator' => 'before',
    146196                'type' => Controls_Manager::URL,
    147                 'placeholder' => 'https://softfirm.net/',
     197                'condition' => [
     198                    'show_hide_btn' => 'yes'
     199                ],
     200                'placeholder' => __('https://softfirm.net/', 'definitive-addons-for-elementor' ),
    148201                'dynamic' => [
    149202                    'active' => true,
     
    182235
    183236         // style
     237         // image style
    184238        $this->start_controls_section(
    185             '_section_style_image',
    186             [
    187                 'label' => __( 'Image', 'definitive-addons-for-elementor' ),
     239            'section_style_image',
     240            [
     241                'label' =>__( 'Image', 'definitive-addons-for-elementor' ),
    188242                'tab'   => Controls_Manager::TAB_STYLE,
    189243            ]
    190244        );
    191        
    192        
    193245
    194246        $this->add_group_control(
     
    232284
    233285       
    234 
     286         // Title style
    235287        $this->start_controls_section(
    236            '_section_style_title',
     288           'section_style_title',
    237289            [
    238290                'label' => __( 'Card Title', 'definitive-addons-for-elementor' ),
     
    287339            ]
    288340        );
     341       
     342        $this->add_group_control(
     343            Group_Control_Text_Shadow::get_type(),
     344            [
     345                'name' => 'title_shadow',
     346                'selector' => '{{WRAPPER}} .image-box-title',
     347            ]
     348        );
     349       
     350        $this->add_group_control(
     351            Group_Control_Text_Stroke::get_type(),
     352            [
     353                'name' => 'title_stroke',
     354                'selector' => '{{WRAPPER}} .image-box-title',
     355            ]
     356        );
     357
    289358
    290359       $this->end_controls_section();
    291360
     361// subtitle style
    292362        $this->start_controls_section(
    293            '_section_style_subtitle',
    294             [
    295                 'label' => __( 'Card Description', 'definitive-addons-for-elementor' ),
     363           'section_style_subtitle',
     364            [
     365                'label' =>__( 'Card Description', 'definitive-addons-for-elementor' ),
    296366                'tab'   => Controls_Manager::TAB_STYLE,
    297367            ]
     
    321391            ]
    322392        );
     393       
     394        $this->add_control(
     395            'subtitle_hvr_color',
     396            [
     397                'label' => __( 'Description Hover Color', 'definitive-addons-for-elementor' ),
     398                'type' => Controls_Manager::COLOR,
     399                'selectors' => [
     400                    '{{WRAPPER}} .image-box-subtitle:hover' => 'color: {{VALUE}}',
     401                ],
     402            ]
     403        );
    323404
    324405        $this->add_group_control(
     
    330411            ]
    331412        );
    332        
    333        
    334413
    335414        $this->end_controls_section();
    336415       
    337          $this->start_controls_section(
    338            'section_style_content',
    339             [
    340                 'label' => __( 'Card Content', 'definitive-addons-for-elementor' ),
     416       
     417       
     418       
     419        // button style
     420        $this->start_controls_section(
     421           'imagebox_button_section',
     422            [
     423                'label' => __( 'Card Button', 'definitive-addons-for-elementor' ),
    341424                'tab'   => Controls_Manager::TAB_STYLE,
    342425            ]
    343426        );
    344 
    345427        $this->add_responsive_control(
    346             'content_padding',
    347             [
    348                 'label' => __( 'Content Padding', 'definitive-addons-for-elementor' ),
     428            'btn_bottom_spacing',
     429            [
     430                'label' => __( 'Button Bottom Spacing', 'definitive-addons-for-elementor' ),
     431                'type' => Controls_Manager::SLIDER,
     432                'size_units' => ['px'],
     433                'default' => [
     434                    'size' => 15
     435                ],
     436                'selectors' => [
     437                    '{{WRAPPER}} .image-box .box-button' => 'margin-bottom: {{SIZE}}{{UNIT}};',
     438                ],
     439            ]
     440        );
     441
     442        $this->add_control(
     443           'btn_color',
     444            [
     445                'label' => __( 'Button Color', 'definitive-addons-for-elementor' ),
     446                'type' => Controls_Manager::COLOR,
     447                'default'  => '#fff',
     448                'selectors' => [
     449                    '{{WRAPPER}} .image-box a.box-btn' => 'color: {{VALUE}}!important',
     450                ],
     451            ]
     452        );
     453       
     454        $this->add_control(
     455           'btn_bg_color',
     456            [
     457                'label' => __( 'Button Background Color', 'definitive-addons-for-elementor' ),
     458                'type' => Controls_Manager::COLOR,
     459                'default'  => '#000',
     460                'selectors' => [
     461                    '{{WRAPPER}} .image-box a.box-btn' => 'background-color: {{VALUE}}!important',
     462                ],
     463            ]
     464        );
     465       
     466        $this->add_control(
     467           'btn_hover_color',
     468            [
     469                'label' => __( 'Button Hover Color', 'definitive-addons-for-elementor' ),
     470                'type' => Controls_Manager::COLOR,
     471                'default'  => '#000',
     472                'selectors' => [
     473                    '{{WRAPPER}} .image-box a.box-btn:hover' => 'color: {{VALUE}}!important',
     474                ],
     475            ]
     476        );
     477       
     478        $this->add_control(
     479           'btn_hover_bg_color',
     480            [
     481                'label' => __( 'Button Hover Background Color', 'definitive-addons-for-elementor' ),
     482                'type' => Controls_Manager::COLOR,
     483                'default'  => '#F21F06',
     484                'selectors' => [
     485                    '{{WRAPPER}} .image-box a.box-btn:hover' => 'background-color: {{VALUE}}!important',
     486                ],
     487            ]
     488        );
     489       
     490        $this->add_group_control(
     491            Group_Control_Typography::get_type(),
     492            [
     493                'name' => 'btn_font',
     494                'selector' => '{{WRAPPER}} .image-box a.box-btn',
     495               
     496            ]
     497        );
     498       
     499        $this->add_responsive_control(
     500            'btn_padding',
     501            [
     502                'label' => __( 'Button Padding', 'definitive-addons-for-elementor' ),
    349503                'type' => Controls_Manager::DIMENSIONS,
    350504                'size_units' => [ 'px', 'em', '%' ],
    351505                'selectors' => [
    352                     '{{WRAPPER}} .image-box-content' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    353                 ],
    354             ]
    355         );
    356 
    357         $this->add_group_control(
    358             Group_Control_Background::get_type(),
    359             [
    360                 'name' => 'content_background',
    361                 'selector' => '{{WRAPPER}} .image-box-content',
    362                 'exclude' => [
    363                     'image'
    364                 ]
    365             ]
    366         );
    367        
     506                    '{{WRAPPER}} .image-box a.box-btn' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
     507                ],
     508            ]
     509        );
     510       
     511        $this->add_group_control(
     512            Group_Control_Border::get_type(),
     513            [
     514                'name' => 'btn_border',
     515                'selector' => '{{WRAPPER}} .image-box a.box-btn',
     516            ]
     517        );
     518
     519        $this->add_responsive_control(
     520          'btn_border_radius',
     521            [
     522                'label' => __( 'Button Border Radius', 'definitive-addons-for-elementor' ),
     523                'type' => Controls_Manager::DIMENSIONS,
     524                'size_units' => [ 'px', '%' ],
     525                'selectors' => [
     526                    '{{WRAPPER}} .image-box .box-btn' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}; overflow: hidden;',
     527                ],
     528            ]
     529        );
     530        $this->add_control(
     531            'btn_hover_border_color',
     532            [
     533                'label'     => __('Button Border Hover Color', 'definitive-addons-for-elementor'),
     534                'type'      => Controls_Manager::COLOR,
     535                'selectors' => [
     536                    '{{WRAPPER}} .image-box .box-btn:hover' => 'border-color: {{VALUE}};',
     537                ]
     538            ]
     539        );
     540
    368541        $this->end_controls_section();
    369        
    370              $this->start_controls_section(
     542        //container style
     543        $this->start_controls_section(
    371544           'imagebox_section_style_content',
    372545            [
     
    399572        );
    400573       
    401         $this->end_controls_section();
    402        
    403         $this->start_controls_section(
    404            'imagebox_button_section',
    405             [
    406                 'label' => __( 'Card Button', 'definitive-addons-for-elementor' ),
    407                 'tab'   => Controls_Manager::TAB_STYLE,
    408             ]
    409         );
    410         $this->add_responsive_control(
    411             'btn_bottom_spacing',
    412             [
    413                 'label' => __( 'Button Bottom Spacing', 'definitive-addons-for-elementor' ),
    414                 'type' => Controls_Manager::SLIDER,
    415                 'size_units' => ['px'],
    416                 'default' => [
    417                     'size' => 15
    418                 ],
    419                 'selectors' => [
    420                     '{{WRAPPER}} .image-box .box-button' => 'margin-bottom: {{SIZE}}{{UNIT}};',
    421                 ],
    422             ]
    423         );
    424 
    425         $this->add_control(
    426            'btn_color',
    427             [
    428                 'label' => __( 'Button Color', 'definitive-addons-for-elementor' ),
    429                 'type' => Controls_Manager::COLOR,
    430                 'default'  => '#fff',
    431                 'selectors' => [
    432                     '{{WRAPPER}} .image-box a.box-btn' => 'color: {{VALUE}}!important',
    433                 ],
    434             ]
    435         );
    436        
    437         $this->add_control(
    438            'btn_bg_color',
    439             [
    440                 'label' => __( 'Button Background Color', 'definitive-addons-for-elementor' ),
    441                 'type' => Controls_Manager::COLOR,
    442                 'default'  => '#000',
    443                 'selectors' => [
    444                     '{{WRAPPER}} .image-box a.box-btn' => 'background-color: {{VALUE}}!important',
    445                 ],
    446             ]
    447         );
    448        
    449         $this->add_control(
    450            'btn_hover_color',
    451             [
    452                 'label' => __( 'Button Hover Color', 'definitive-addons-for-elementor' ),
    453                 'type' => Controls_Manager::COLOR,
    454                 'default'  => '#000',
    455                 'selectors' => [
    456                     '{{WRAPPER}} .image-box a.box-btn:hover' => 'color: {{VALUE}}!important',
    457                 ],
    458             ]
    459         );
    460        
    461         $this->add_control(
    462            'btn_hover_bg_color',
    463             [
    464                 'label' => __( 'Button Hover Background Color', 'definitive-addons-for-elementor' ),
    465                 'type' => Controls_Manager::COLOR,
    466                 'default'  => '#F21F06',
    467                 'selectors' => [
    468                     '{{WRAPPER}} .image-box a.box-btn:hover' => 'background-color: {{VALUE}}!important',
    469                 ],
    470             ]
    471         );
    472        
    473         $this->add_group_control(
    474             Group_Control_Typography::get_type(),
    475             [
    476                 'name' => 'btn_font',
    477                 'selector' => '{{WRAPPER}} .image-box a.box-btn',
    478                
    479             ]
    480         );
    481        
    482         $this->add_responsive_control(
    483             'btn_padding',
    484             [
    485                 'label' => __( 'Button Padding', 'definitive-addons-for-elementor' ),
    486                 'type' => Controls_Manager::DIMENSIONS,
    487                 'size_units' => [ 'px', 'em', '%' ],
    488                 'selectors' => [
    489                     '{{WRAPPER}} .image-box a.box-btn' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    490                 ],
    491             ]
    492         );
    493        
     574        $this->add_control(
     575            'container_hvr_bg_color',
     576            [
     577                'label' => __( 'Container Hover Background Color', 'definitive-addons-for-elementor' ),
     578                'type' => Controls_Manager::COLOR,
     579                'selectors' => [
     580                    '{{WRAPPER}} .image-box:hover' => 'background-color: {{VALUE}}',
     581                ],
     582            ]
     583        );
    494584        $this->add_group_control(
    495585            Group_Control_Border::get_type(),
    496586            [
    497                 'name' => 'btn_border',
    498                 'selector' => '{{WRAPPER}} .image-box a.box-btn',
     587                'name' => 'container_border',
     588                'selector' => '{{WRAPPER}} .image-box',
    499589            ]
    500590        );
    501591
    502592        $this->add_responsive_control(
    503           'btn_border_radius',
    504             [
    505                 'label' => __( 'Button Border Radius', 'definitive-addons-for-elementor' ),
     593          'container_border_radius',
     594            [
     595                'label' => __( 'Container Border Radius', 'definitive-addons-for-elementor' ),
    506596                'type' => Controls_Manager::DIMENSIONS,
    507597                'size_units' => [ 'px', '%' ],
    508598                'selectors' => [
    509                     '{{WRAPPER}} .image-box .box-btn' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}; overflow: hidden;',
    510                 ],
    511             ]
    512         );
    513 
    514 
     599                    '{{WRAPPER}} .image-box' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}; overflow: hidden;',
     600                ],
     601            ]
     602        );
     603       
     604        $this->add_control(
     605            'container_hover_border_color',
     606            [
     607                'label'     => __('Container Border Hover Color', 'definitive-addons-for-elementor'),
     608                'type'      => Controls_Manager::COLOR,
     609                'selectors' => [
     610                    '{{WRAPPER}} .image-box:hover' => 'border-color: {{VALUE}};',
     611                ]
     612            ]
     613        );
     614       
     615        $this->add_group_control(
     616            Group_Control_Box_Shadow::get_type(),
     617            [
     618                'label' => __( 'Container Shadow', 'definitive-addons-for-elementor' ),
     619                'name'     => 'image_box_shadow',
     620
     621                'selector' => '{{WRAPPER}} .image-box',
     622            ]
     623        );
     624       
     625        $this->add_group_control(
     626            Group_Control_Box_Shadow::get_type(),
     627            [
     628                'label' => __( 'Container Hover Shadow', 'definitive-addons-for-elementor' ),
     629                'name'     => 'image_box_hvr_shadow',
     630
     631                'selector' => '{{WRAPPER}} .image-box:hover',
     632            ]
     633        );
     634       
     635
     636       
    515637        $this->end_controls_section();
    516638       
     
    546668                            <div class="image-box-content">
    547669                                <?php if ( $settings['box_title'] ) : ?>
     670                                <a href="<?php echo esc_url($link['url']); ?>"
     671                                    target="<?php echo esc_attr($link['is_external']); ?>" rel="<?php echo esc_attr($link['nofollow']); ?>">
    548672                                    <<?php echo esc_attr($title_tag); ?> class="image-box-title"><?php echo esc_html( $settings['box_title'] ); ?></<?php echo esc_attr($title_tag); ?>>
    549                                 <?php endif; ?>
     673                                </a>
     674                                <?php endif; ?>
     675                               
    550676                                <?php if ( $settings['box_text'] ) : ?>
    551677                                    <p class="image-box-subtitle" style="<?php echo esc_attr($container_styles) ?>"><?php echo esc_html( $settings['box_text'] ); ?></p>
  • definitive-addons-for-elementor/trunk/inc/Elements/Testimonial_Slider.php

    r2675151 r2689901  
    744744    $container_styles .= "overflow:hidden;";
    745745    $id = uniqid();
     746    $this->add_render_attribute( 'nl-testimonial-entry', [
     747            'class' => 'nl-testimonial-entry',
     748            'data-animatespeed' => $animation_speed,
     749            'data-autospeed' => $autoplay_speed,
     750            'data-autoplay' => $autoplay,
     751            'data-loop' => $loop,
     752            'data-showpage' => $slidesToShow,
     753        ] );
    746754   
    747755        ?>
    748756       
    749757    <div class="widget-testimonial-slide" style="<?php echo esc_attr($container_styles) ?>">
    750        
    751        
    752             <div id="<?php echo esc_attr($id); ?>" class="nl-testimonial-entry" data-animatespeed="<?php echo esc_attr($animation_speed) ?>" data-autospeed="<?php echo esc_attr($autoplay_speed) ?>" data-autoplay="<?php echo esc_attr($autoplay) ?>" data-loop="<?php echo esc_attr($loop) ?>" data-showpage="<?php echo esc_attr($slidesToShow) ?>">
     758
     759            <div id="<?php echo esc_attr($id); ?>" <?php $this->print_render_attribute_string( 'nl-testimonial-entry' ); ?>>
     760           
    753761            <?php foreach ( $settings['slick_slides'] as $slide ) {
    754762               
     
    784792                   
    785793                    </<?php echo esc_attr($title_tag); ?>>
    786                    
    787                    
    788                            
     794               
    789795                    <div class="author-txt">
    790796                   
  • definitive-addons-for-elementor/trunk/inc/Elements/Type.php

    r2675151 r2689901  
    184184   
    185185        $id = uniqid();
     186        $this->add_render_attribute( 'writing', [
     187            'class' => 'writing',
     188            'data-typespeed' => $typespeed,
     189            'data-mediaheading' => $sentence1,
     190        ] );
    186191       
    187192        ?>
     
    189194        <div id="<?php echo esc_attr($id); ?>" class="type-container <?php echo esc_attr($text_alignment); ?>">
    190195                   
    191             <span class="writing" data-typespeed="<?php echo esc_attr($typespeed); ?>" data-mediaheading="<?php echo esc_attr($sentence1); ?>"></span>
     196            <span <?php $this->print_render_attribute_string( 'writing' ); ?>></span>
    192197           
    193198        </div>
  • definitive-addons-for-elementor/trunk/inc/Reuses/Reuse.php

    r2686404 r2689901  
    192192        }else{
    193193       
    194         return  $cf7_msg = __( 'No Form found. Create New form ', 'definitive-addons-for-elementor' ) .' <a href="'.admin_url( 'admin.php?page=wpcf7-new' ).'" target="_blank">'
     194        return  $cf7_msg = __( 'No Form found. Create New form ', 'definitive-addons-for-elementor' ) .' <a href="'.esc_attr(admin_url( 'admin.php?page=wpcf7-new' )).'" target="_blank">'
    195195        . __( 'Click here', 'definitive-addons-for-elementor' ) .'</a>';
    196196        }
  • definitive-addons-for-elementor/trunk/inc/js/fnf-isotope.js

    r2574326 r2689901  
    11jQuery(function ($) {
    22 
    3  var $portfolioContainer = $('#isotope-list');
    43 
    5  $portfolioContainer.isotope({
    6  itemSelector : '.item',
    7  layoutMode: 'fitRows'
     4 $('.dafe-portfolio-container').each( function() {
     5       
     6        var $this = $( this );
     7        var $portfolioContainer = $this.find('.isotope-list');
     8         $portfolioContainer.isotope({
     9            itemSelector : '.item',
     10            layoutMode: 'fitRows'
    811 
     12        });
     13       
     14        var $categories = $this.find('.filters');
     15        $categoryLinks = $categories.find('a');
     16 
     17        $categoryLinks.click(function(){
     18        var $this = $(this);
     19
     20        if ( $this.hasClass('selected') ) {
     21            return false;
     22        }
     23 
     24        $categories.find('.selected').removeClass('selected');
     25        $this.addClass('selected');
     26 
     27        var selector = $(this).attr('data-filter');
     28   
     29        $portfolioContainer.isotope({ filter: selector });
     30 
     31        return false;
     32 
     33        });
     34 
     35    });
    936 });
    10  
    11  
    12  var $categories = $('#filters'),
    13  $categoryLinks = $categories.find('a');
    14  
    15  $categoryLinks.click(function(){
    16  var $this = $(this);
    17 
    18  if ( $this.hasClass('selected') ) {
    19    return false;
    20  }
    21  
    22  //var $optionSet = $this.parents('#filters');
    23  $categories.find('.selected').removeClass('selected');
    24  $this.addClass('selected');
    25  
    26  
    27  var selector = $(this).attr('data-filter');
    28  $portfolioContainer.isotope({ filter: selector });
    29  
    30  return false;
    31  
    32  });
    33  
    34 });
  • definitive-addons-for-elementor/trunk/js/custom.js

    r2681173 r2689901  
    22       
    33            var slicks = function() {
    4             var autospeed = $('#definitive').data('autospeed');
    5             var autoplay = $('#definitive').data('autoplay');
    6             var loop = $('#definitive').data('loop');
    7            
    8             $('.definitive-slick').slick({
     4            $( '.definitive-slick').each( function() {
     5                var $this = $( this );
     6            var autospeed = $this.data('autospeed');
     7            var autoplay = $this.data('autoplay');
     8            var loop = $this.data('loop');
     9           
     10            $this.slick({
    911           
    1012                infinite: loop,
     
    1921                autoplaySpeed: autospeed,
    2022           
     23            });
    2124            });
    2225        };
     
    159162        var counters = function() {
    160163       
    161         $( '.counter-val').each( function() {
     164        $( '.dafe-counter-number').each( function() {
    162165            var $this = $( this );
    163166       
     
    291294   
    292295   
    293         $( document ).ready(function() {
    294             $('.dafe-accordion-title').click(function(){
     296        $( '.dafe-accordion-title').each( function() {
     297            var $this = $( this );
     298            $this.click(function(){
    295299           
    296300                if($(this).next(".dafe-accordion-content-container").hasClass('active')){
  • definitive-addons-for-elementor/trunk/readme.txt

    r2686404 r2689901  
    33Author: softfirm
    44Requires at least: 4.7
    5 Tested up to: 5.9
     5Tested up to: 5.9.1
    66Requires PHP: 5.4
    7 Stable tag: 1.4.16
    8 Version: 1.4.16
     7Stable tag: 1.4.17
     8Version: 1.4.17
    99License: GPLv3
    1010License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    2323
    2424<ul>
    25 <li><a  target="_blank" href="https://softfirm.net/filterable-post-portfolio/">Filterable Post/Portfolio</a> - Demos & Documentation</li>
    26 <li><a target="_blank" href="https://softfirm.net/icon-box/">Icon Box</a> - Demos & Documentation</li>
    27 <li><a  target="_blank" href="https://softfirm.net/image-slider/">Image Slider</a> - Demos & Documentation</li>
    28 <li><a  target="_blank" href="https://softfirm.net/testimonial">Testimonial</a> - Demos & Documentation</li>
    29 <li><a  target="_blank" href="https://softfirm.net/team-member/">Staff/Team Member</a> - Demos & Documentation</li>
    30 <li><a  target="_blank" href="https://softfirm.net/image-box/">Card</a> - Demos & Documentation</li>
    31 <li><a  target="_blank" href="https://softfirm.net/promo-box">Promo Box</a> - Demos & Documentation</li>
    32 <li><a  target="_blank" href="https://softfirm.net/image-overlay/">Image Overlay</a> - Demos & Documentation</li>
    33 <li><a  target="_blank" href="https://softfirm.net/counter/">Counter</a> - Demos & Documentation</li>
    34 <li><a  target="_blank" href="https://softfirm.net/heading/">Heading with Separator</a> - Demos & Documentation</li>
    35 <li><a  target="_blank" href="https://softfirm.net/subscription/">Subscription</a> - Demos & Documentation</li>
    36 <li><a  target="_blank" href="https://softfirm.net/feature-list/">Feature List</a> - Demos & Documentation</li>
    37 <li><a  target="_blank" href="https://softfirm.net/testimonial-carousel">Testimonial Slider/Testimonial Carouse</a> - Demos & Documentation</li>
    38 <li><a  target="_blank" href="https://softfirm.net/post-grid/">Post Grid</a> - Demos & Documentation</li>
    39 <li><a  target="_blank" href="https://softfirm.net/post-slider/">Post Carousel/Post Slider</a> - Demos & Documentation</li>
    40 <li><a  target="_blank" href="https://softfirm.net/category-list/">Category List(Post/Product)</a> - Demos & Documentation</li>
    41 <li><a  target="_blank" href="https://softfirm.net/contact-form7/">Contact form 7</a> - Demos & Documentation</li>
    42 <li><a  target="_blank" href="https://softfirm.net/category-box/">Product Category Box</a> - Demos & Documentation</li>
    43 <li><a  target="_blank" href="https://softfirm.net/popular-post/">Popular Post</a> - Demos & Documentation</li>
    44 <li><a  target="_blank" href="https://softfirm.net/product-slider/">Products(Carousel)</a> - Demos & Documentation</li>
    45 <li><a  target="_blank" href="https://softfirm.net/skillbar">Skill Bar</a> - Demos & Documentation</li>
    46 <li><a  target="_blank" href="https://softfirm.net/flip-box">Flip Box</a> - Demos & Documentation</li>
    47 <li><a  target="_blank" href="https://softfirm.net/type-animation/">Type Animation</a> - Demos & Documentation</li>
    48 <li><a  target="_blank" href="https://softfirm.net/wording/">Wording/Dual Header</a> - Demos & Documentation</li>
    49 <li><a  target="_blank" href="https://softfirm.net/icon-list">Icon List</a> - Demos & Documentation</li>
    50 <li><a  target="_blank" href="https://softfirm.net/button">Creative Button</a> - Demos & Documentation</li>
    51 <li><a  target="_blank" href="https://softfirm.net/cta/">Call to Action</a> - Demos & Documentation</li>
    52 <li><a  target="_blank" href="https://softfirm.net/pricing-table">Pricing Table</a> - Demos & Documentation</li>
    53 <li><a  target="_blank" href="https://softfirm.net/wpforms">WPForms</a> - Demos & Documentation</li>
    54 <li><a  target="_blank" href="https://softfirm.net/ninjaforms/">Ninja Forms</a> - Demos & Documentation</li>
    55 <li><a  target="_blank" href="https://softfirm.net/accordion/">Accordion</a> - Demos & Documentation</li>
    56 <li><a  target="_blank" href="https://softfirm.net/tabs/">Tabs</a> - Demos & Documentation</li>
    57 <li><a  target="_blank" href="https://softfirm.net/social-icons/">Social Icon</a> - Demos & Documentation</li>
     25<li><a  target="_blank" href="https://softfirm.net/filterable-post-portfolio/">Filterable Post/Portfolio</a> - Demos</li>
     26<li><a target="_blank" href="https://softfirm.net/icon-box/">Icon Box</a> - Demos </li>
     27<li><a  target="_blank" href="https://softfirm.net/image-slider/">Image Slider</a> - Demos </li>
     28<li><a  target="_blank" href="https://softfirm.net/testimonial">Testimonial</a> - Demos </li>
     29<li><a  target="_blank" href="https://softfirm.net/team-member/">Staff/Team Member</a> - Demos </li>
     30<li><a  target="_blank" href="https://softfirm.net/image-box/">Card</a> - Demos </li>
     31<li><a  target="_blank" href="https://softfirm.net/promo-box">Promo Box</a> - Demos </li>
     32<li><a  target="_blank" href="https://softfirm.net/image-overlay/">Image Overlay</a> - Demos </li>
     33<li><a  target="_blank" href="https://softfirm.net/counter/">Counter</a> - Demos</li>
     34<li><a  target="_blank" href="https://softfirm.net/heading/">Heading with Separator</a> - Demos </li>
     35<li><a  target="_blank" href="https://softfirm.net/subscription/">Subscription</a> - Demos </li>
     36<li><a  target="_blank" href="https://softfirm.net/feature-list/">Feature List</a> - Demos </li>
     37<li><a  target="_blank" href="https://softfirm.net/testimonial-carousel">Testimonial Slider/Testimonial Carouse</a> - Demos </li>
     38<li><a  target="_blank" href="https://softfirm.net/post-grid/">Post Grid</a> - Demos</li>
     39<li><a  target="_blank" href="https://softfirm.net/post-slider/">Post Carousel/Post Slider</a> - Demos </li>
     40<li><a  target="_blank" href="https://softfirm.net/category-list/">Category List(Post/Product)</a> - Demos </li>
     41<li><a  target="_blank" href="https://softfirm.net/contact-form7/">Contact form 7</a> - Demos </li>
     42<li><a  target="_blank" href="https://softfirm.net/category-box/">Product Category Box</a> - Demos </li>
     43<li><a  target="_blank" href="https://softfirm.net/popular-post/">Popular Post</a> - Demos </li>
     44<li><a  target="_blank" href="https://softfirm.net/product-slider/">Products(Carousel)</a> - Demos </li>
     45<li><a  target="_blank" href="https://softfirm.net/skillbar">Skill Bar</a> - Demos </li>
     46<li><a  target="_blank" href="https://softfirm.net/flip-box">Flip Box</a> - Demos </li>
     47<li><a  target="_blank" href="https://softfirm.net/type-animation/">Type Animation</a> - Demos </li>
     48<li><a  target="_blank" href="https://softfirm.net/wording/">Wording/Dual Header</a> - Demos </li>
     49<li><a  target="_blank" href="https://softfirm.net/icon-list">Icon List</a> - Demos </li>
     50<li><a  target="_blank" href="https://softfirm.net/button">Creative Button</a> - Demos </li>
     51<li><a  target="_blank" href="https://softfirm.net/cta/">Call to Action</a> - Demos </li>
     52<li><a  target="_blank" href="https://softfirm.net/pricing-table">Pricing Table</a> - Demos </li>
     53<li><a  target="_blank" href="https://softfirm.net/wpforms">WPForms</a> - Demos </li>
     54<li><a  target="_blank" href="https://softfirm.net/ninjaforms/">Ninja Forms</a> - Demos </li>
     55<li><a  target="_blank" href="https://softfirm.net/accordion/">Accordion</a> - Demos </li>
     56<li><a  target="_blank" href="https://softfirm.net/tabs/">Tabs</a> - Demos </li>
     57<li><a  target="_blank" href="https://softfirm.net/social-icons/">Social Icon</a> - Demos </li>
    5858
    5959</ul>
     
    9999
    100100== Changelog ==
     101
     102= 1.4.17 =
     103portfolio issue fixed
     104many elements modified
     105css file  modified
     106js files modified
    101107
    102108= 1.4.16 =
Note: See TracChangeset for help on using the changeset viewer.