Plugin Directory

Changeset 3256182


Ignore:
Timestamp:
03/15/2025 08:20:05 AM (11 months ago)
Author:
dickoandrean
Message:

update V.1.5.6

Location:
rometheme-for-elementor
Files:
269 added
4 edited

Legend:

Unmodified
Added
Removed
  • rometheme-for-elementor/trunk/RomeTheme.php

    r3255720 r3256182  
    44 * Plugin Name:       RomethemeKit For Elementor
    55 * Description:      The best toolkit solution for Elementor. Enjoy advanced addons, theme builders, forms, icons, and ready-made templates to create stunning websites quickly and effortlessly.
    6  * Version:           1.5.5
     6 * Version:           1.5.6
    77 * Author:            Rometheme
    88 * Author URI:        https://rometheme.net/
     
    119119    static function rt_version()
    120120    {
    121         return '1.5.4';
     121        return '1.5.6';
    122122    }
    123123
  • rometheme-for-elementor/trunk/readme.txt

    r3255720 r3256182  
    55Tested up to: 6.7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.5.5
     7Stable tag: 1.5.6
    88License: GPLv3 or later
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    142142
    143143== Changelog ==
     144Version 1.5.6
     145Bug Fixed in Export Import TemplateKit
     146
    144147Version 1.5.5
    145148New Extension : Glassmorphism Effect
  • rometheme-for-elementor/trunk/view/dashboard.php

    r3255720 r3256182  
    9595                    <div class="d-flex flex-column text-white">
    9696                        <div class="d-flex flex-row align-items-center gap-3">
    97                             <h4 class="m-0">Maret 14, 2025</h4>
     97                            <h4 class="m-0">Maret 15 , 2025</h4>
    9898                            <span class="rtm-version py-0">V.<?php echo esc_html(\RomeTheme::rt_version()) ?></span>
    9999                        </div>
  • rometheme-for-elementor/trunk/widgets/rkit_widgets/rkit_advanced_heading.php

    r3255720 r3256182  
    1010    {
    1111        return 'Advanced Heading';
    12     }   
     12    }
    1313
    1414    public function get_icon()
     
    1919    public function get_keywords()
    2020    {
    21         return ['rometheme', 'heading', 'animation','advanced', 'animation text', ' heading'];
     21        return ['rometheme', 'heading', 'animation', 'advanced', 'animation text', ' heading'];
    2222    }
    2323
     
    3636        return ['rkit-advanced_heading-style'];
    3737    }
    38     protected function is_dynamic_content(): bool {
    39         return false;
    40     }
     38    protected function is_dynamic_content(): bool
     39    {
     40        return false;
     41    }
    4142    protected function register_controls()
    4243    {
     
    6364
    6465        $this->add_responsive_control(
    65             'text_align',
    66             [
    67                 'label' => esc_html__( 'Text Alignment', 'rometheme-for-elementor' ),
    68                 'type' => \Elementor\Controls_Manager::CHOOSE,
    69                 'options' => [
    70                     'left' => [
    71                         'title' => esc_html__( 'Left', 'rometheme-for-elementor' ),
    72                         'icon' => 'eicon-text-align-left',
    73                     ],
    74                     'center' => [
    75                         'title' => esc_html__( 'Center', 'rometheme-for-elementor' ),
    76                         'icon' => 'eicon-text-align-center',
    77                     ],
    78                     'right' => [
    79                         'title' => esc_html__( 'Right', 'rometheme-for-elementor' ),
    80                         'icon' => 'eicon-text-align-right',
    81                     ],
    82                 ],
    83                 'default' => 'center',
    84                 'toggle' => true,
    85                 'selectors' => [
    86                     '{{WRAPPER}} .rkit-advanced-heading' => 'text-align: {{VALUE}};',
    87                 ],
    88             ]
    89         );
    90        
     66            'text_align',
     67            [
     68                'label' => esc_html__('Text Alignment', 'rometheme-for-elementor'),
     69                'type' => \Elementor\Controls_Manager::CHOOSE,
     70                'options' => [
     71                    'left' => [
     72                        'title' => esc_html__('Left', 'rometheme-for-elementor'),
     73                        'icon' => 'eicon-text-align-left',
     74                    ],
     75                    'center' => [
     76                        'title' => esc_html__('Center', 'rometheme-for-elementor'),
     77                        'icon' => 'eicon-text-align-center',
     78                    ],
     79                    'right' => [
     80                        'title' => esc_html__('Right', 'rometheme-for-elementor'),
     81                        'icon' => 'eicon-text-align-right',
     82                    ],
     83                ],
     84                'default' => 'center',
     85                'toggle' => true,
     86                'selectors' => [
     87                    '{{WRAPPER}} .rkit-advanced-heading' => 'text-align: {{VALUE}};',
     88                ],
     89            ]
     90        );
     91
    9192        $this->add_responsive_control(
    92             'content_align',
    93             [
    94                 'label' => esc_html__( 'Content Position', 'rometheme-for-elementor' ),
    95                 'type' => \Elementor\Controls_Manager::CHOOSE,
    96                 'options' => [
    97                     'start' => [
    98                         'title' => esc_html__( 'Left', 'rometheme-for-elementor' ),
    99                         'icon' => 'eicon-text-align-left',
    100                     ],
    101                     'center' => [
    102                         'title' => esc_html__( 'Center', 'rometheme-for-elementor' ),
    103                         'icon' => 'eicon-text-align-center',
    104                     ],
    105                     'end' => [
    106                         'title' => esc_html__( 'Right', 'rometheme-for-elementor' ),
    107                         'icon' => 'eicon-text-align-right',
    108                     ],
    109                 ],
    110                 'default' => 'center',
    111                 'toggle' => true,
    112                 'selectors' => [
    113                     '{{WRAPPER}} .rkit-advanced-heading' => 'justify-content: {{VALUE}};',
    114                 ],
    115             ]
    116         );
     93            'content_align',
     94            [
     95                'label' => esc_html__('Content Position', 'rometheme-for-elementor'),
     96                'type' => \Elementor\Controls_Manager::CHOOSE,
     97                'options' => [
     98                    'start' => [
     99                        'title' => esc_html__('Left', 'rometheme-for-elementor'),
     100                        'icon' => 'eicon-text-align-left',
     101                    ],
     102                    'center' => [
     103                        'title' => esc_html__('Center', 'rometheme-for-elementor'),
     104                        'icon' => 'eicon-text-align-center',
     105                    ],
     106                    'end' => [
     107                        'title' => esc_html__('Right', 'rometheme-for-elementor'),
     108                        'icon' => 'eicon-text-align-right',
     109                    ],
     110                ],
     111                'default' => 'center',
     112                'toggle' => true,
     113                'selectors' => [
     114                    '{{WRAPPER}} .rkit-advanced-heading' => 'justify-content: {{VALUE}};',
     115                ],
     116            ]
     117        );
    117118
    118119        $this->add_control(
     
    132133        );
    133134
    134         $this->add_control('html_tag' , [
     135        $this->add_control('html_tag', [
    135136            'label' => esc_html('Tag'),
    136137            'type' => \Elementor\Controls_Manager::SELECT,
     
    149150
    150151
    151         $this->start_controls_section('Container' , [
     152        $this->start_controls_section('Container', [
    152153            'label' => esc_html('Container'),
    153154            'tab' => \Elementor\Controls_Manager::TAB_STYLE
    154155        ]);
    155156
    156  
    157        
     157
     158
    158159        $this->add_group_control(
    159160            \Elementor\Group_Control_Background::get_type(),
    160161            [
    161                 'name' => 'cont_advanced', 
     162                'name' => 'cont_advanced',
    162163                'types' => ['classic', 'gradient',],
    163                 'selector' => '{{WRAPPER}} .rkit-advanced-heading',               
     164                'selector' => '{{WRAPPER}} .rkit-advanced-heading',
    164165            ]
    165166        );
     
    171172                'label' => __('Container Box Shadow', 'plugin-name'),
    172173                'selector' => '{{WRAPPER}} .rkit-advanced-heading',
    173               'description' => esc_html__('Put 0 for no box shadow ', 'text-domain'),
     174                'description' => esc_html__('Put 0 for no box shadow ', 'text-domain'),
    174175            ]
    175176        );
     
    198199            ]
    199200        );
    200        
     201
    201202
    202203        $this->end_controls_section();
    203204
    204205
    205          // style headline text
    206          $this->start_controls_section('headline_text_style' , [
     206        // style headline text
     207        $this->start_controls_section('headline_text_style', [
    207208            'label' => esc_html('Headline'),
    208209            'tab' => \Elementor\Controls_Manager::TAB_STYLE
     
    211212
    212213        $this->add_group_control(
    213             \Elementor\Group_Control_Typography::get_type(),
    214             [
    215                 'name' => 'head_typography',
    216                 'selector' => '{{WRAPPER}} .headline_text',
    217             ]
    218         );
    219 
    220         $this->add_group_control(
    221             \Elementor\Group_Control_Text_Stroke::get_type(),
    222             [
    223                 'name' => 'head_text_stroke',
    224                 'selector' => '{{WRAPPER}} .headline_text',
    225             ]
    226         );
    227 
    228         $this->add_group_control(
    229             \Elementor\Group_Control_Text_Shadow::get_type(),
    230             [
    231                 'name' => 'head_text_shadow',
    232                 'selector' => '{{WRAPPER}} .headline_text',
    233             ]
    234         );
     214            \Elementor\Group_Control_Typography::get_type(),
     215            [
     216                'name' => 'head_typography',
     217                'selector' => '{{WRAPPER}} .headline_text',
     218            ]
     219        );
     220
     221        $this->add_group_control(
     222            \Elementor\Group_Control_Text_Stroke::get_type(),
     223            [
     224                'name' => 'head_text_stroke',
     225                'selector' => '{{WRAPPER}} .headline_text',
     226            ]
     227        );
     228
     229        $this->add_group_control(
     230            \Elementor\Group_Control_Text_Shadow::get_type(),
     231            [
     232                'name' => 'head_text_shadow',
     233                'selector' => '{{WRAPPER}} .headline_text',
     234            ]
     235        );
    235236
    236237        $this->add_control(
     
    245246            ]
    246247        );
    247        
     248
    248249        $this->add_responsive_control(
    249250            'head_radius',
     
    260261        $this->add_control(
    261262            'textcolorhead',
    262             [   
    263                 'label' => esc_html__( 'Text Color', 'rometheme-for-elementor' ),
     263            [
     264                'label' => esc_html__('Text Color', 'rometheme-for-elementor'),
    264265                'type' => \Elementor\Controls_Manager::HEADING,
    265266                'separator' => 'before',
     
    270271            \Elementor\Group_Control_Background::get_type(),
    271272            [
    272                 'name' => 'headtext_background', 
    273                 'types' => ['classic', 'gradient',], 
    274                 'selector' => '{{WRAPPER}} .headline_text', 
     273                'name' => 'headtext_background',
     274                'types' => ['classic', 'gradient',],
     275                'selector' => '{{WRAPPER}} .headline_text',
    275276                'fields_options' => [
    276277                    'background' => [
    277278                        'label' => esc_html('Text Color')
    278279                    ]
    279                 ]                 
     280                ]
    280281            ]
    281282        );
     
    283284        $this->add_control(
    284285            'bgtextcolorhead',
    285             [   
    286                 'label' => esc_html__( 'Container Color', 'rometheme-for-elementor' ),
     286            [
     287                'label' => esc_html__('Container Color', 'rometheme-for-elementor'),
    287288                'type' => \Elementor\Controls_Manager::HEADING,
    288289                'separator' => 'before',
     
    293294            \Elementor\Group_Control_Background::get_type(),
    294295            [
    295                 'name' => 'bg_head', 
     296                'name' => 'bg_head',
    296297                'types' => ['classic', 'gradient',],
    297298                'selector' => '{{WRAPPER}} .bg-headline',
     
    300301                        'label' => esc_html('Background Color'),
    301302                    ]
    302                 ]         
     303                ]
    303304            ]
    304305        );
     
    306307        $this->end_controls_section();
    307308
    308          // style wrap headline text
    309          $this->start_controls_section('wrap_headline_text_style' , [
     309        // style wrap headline text
     310        $this->start_controls_section('wrap_headline_text_style', [
    310311            'label' => esc_html('Headline Standart'),
    311312            'tab' => \Elementor\Controls_Manager::TAB_STYLE
     
    314315
    315316        $this->add_group_control(
    316             \Elementor\Group_Control_Typography::get_type(),
    317             [
    318                 'name' => 'wrap_head_typography',
    319                 'selector' => '{{WRAPPER}} .std-text',
    320             ]
    321         );
    322 
    323         $this->add_group_control(
    324             \Elementor\Group_Control_Text_Stroke::get_type(),
    325             [
    326                 'name' => 'wrap_head_text_stroke',
    327                 'selector' => '{{WRAPPER}} .std-text',
    328             ]
    329         );
    330 
    331         $this->add_group_control(
    332             \Elementor\Group_Control_Text_Shadow::get_type(),
    333             [
    334                 'name' => 'wrap_head_text_shadow',
    335                 'selector' => '{{WRAPPER}} .std-text',
    336             ]
    337         );
     317            \Elementor\Group_Control_Typography::get_type(),
     318            [
     319                'name' => 'wrap_head_typography',
     320                'selector' => '{{WRAPPER}} .std-text',
     321            ]
     322        );
     323
     324        $this->add_group_control(
     325            \Elementor\Group_Control_Text_Stroke::get_type(),
     326            [
     327                'name' => 'wrap_head_text_stroke',
     328                'selector' => '{{WRAPPER}} .std-text',
     329            ]
     330        );
     331
     332        $this->add_group_control(
     333            \Elementor\Group_Control_Text_Shadow::get_type(),
     334            [
     335                'name' => 'wrap_head_text_shadow',
     336                'selector' => '{{WRAPPER}} .std-text',
     337            ]
     338        );
    338339
    339340        $this->add_control(
     
    348349            ]
    349350        );
    350  
     351
    351352        $this->add_control(
    352353            'wrap_textcolorhead',
    353             [   
    354                 'label' => esc_html__( 'Text Color', 'rometheme-for-elementor' ),
     354            [
     355                'label' => esc_html__('Text Color', 'rometheme-for-elementor'),
    355356                'type' => \Elementor\Controls_Manager::HEADING,
    356357                'separator' => 'before',
     
    368369                        'label' => esc_html('Text Color')
    369370                    ]
    370                 ] 
    371             ]
    372         ); 
     371                ]
     372            ]
     373        );
    373374
    374375        $this->end_controls_section();
    375      
    376 
    377376    }
    378377    protected function render()
     
    386385                $innerString =  str_replace(['[', ']'], '', $matches[1]);
    387386                $arrayData = explode(', ', $innerString);
    388                 $dataAttribute = json_encode($arrayData); 
     387                $dataAttribute = json_encode($arrayData);
    389388                return " <span class='bg-headline'>
    390389                            <span class='headline_text'> " . esc_attr($innerString) . "</span>
     
    392391            },
    393392            $string
    394            
    395         );
    396    
     393
     394        );
     395
    397396        if (!empty($settings['_link']['url'])) {
    398397            $this->add_link_attributes('_link', $settings['_link']);
    399         } 
     398        }
    400399
    401400        switch ($settings['html_tag']) {
     
    421420                $html_tag = 'h1';
    422421                break;
    423         } 
    424     ?>
    425     <a <?php echo esc_attr($this->get_render_attribute_string( '_link' )) ?>>
    426     <<?php echo $html_tag ?> class="rkit-advanced-heading">
    427            
    428                     <span class="std-text rkit-trp-text" > <?php echo $newString; ?> </span>
    429              
     422        }
     423?>
     424        <a <?php echo $this->get_render_attribute_string('_link') ?>>
     425            <<?php echo $html_tag ?> class="rkit-advanced-heading">
     426
     427                <span class="std-text rkit-trp-text"> <?php echo $newString; ?> </span>
     428
    430429            </<?php echo $html_tag ?>>
    431         </a> 
    432  
    433  
    434     <?php
     430        </a>
     431
     432
     433<?php
    435434    }
    436435}
    437436?>
    438 
    439        
    440  
Note: See TracChangeset for help on using the changeset viewer.