Plugin Directory

Changeset 2888512


Ignore:
Timestamp:
03/28/2023 02:40:56 PM (3 years ago)
Author:
themeux
Message:

version update with new style added

Location:
ele-hover-addon/trunk/includes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ele-hover-addon/trunk/includes/plugin.php

    r2695169 r2888512  
    227227        require_once( __DIR__ . '/widgets/widget-2.php' );
    228228        require_once( __DIR__ . '/widgets/widget-3.php' );
     229        require_once( __DIR__ . '/widgets/widget-4.php' );
    229230
    230231        $widgets_manager->register( new \Ele_Hover_Addon\Widget_1() );
    231232        $widgets_manager->register( new \Ele_Hover_Addon\ele_widget_2() );
    232233        $widgets_manager->register( new \Ele_Hover_Addon\ele_widget_3() );
     234        $widgets_manager->register( new \Ele_Hover_Addon\ele_widget_4() );
    233235
    234236    }
     
    245247        wp_register_style( 'widget-style-3', plugins_url( 'assets/css/widget-style-3.css', __FILE__ ) );
    246248        wp_register_style( 'widget-style-4', plugins_url( 'assets/css/widget-style-4.css', __FILE__ ) );
    247 
     249        wp_register_style( 'widget-style-overlay', plugins_url( 'assets/css/widget-style-overlay.css', __FILE__ ) );
    248250
    249251        // enequeue files
  • ele-hover-addon/trunk/includes/widgets/widget-1.php

    r2695169 r2888512  
    4141     */
    4242    public function get_icon() {
    43         return 'eicon-code';
     43        return 'eicon-call-to-action';
    4444    }
    4545
     
    179179        );
    180180
     181       
     182        $this->add_group_control(
     183            \Elementor\Group_Control_Typography::get_type(),
     184            [
     185                'label' => esc_html__( 'Title Typography', 'ele-hover-addon' ),
     186                'name' => 'title_typography',
     187                'selector' => '{{WRAPPER}} .ele-portfolio-content h3',
     188            ]
     189        );
     190
     191       
    181192        $this->add_control(
    182193            'title_color',
     
    200211            ]
    201212        );
     213
     214        $this->add_group_control(
     215            \Elementor\Group_Control_Typography::get_type(),
     216            [
     217                'label' => esc_html__( 'Content Typography', 'ele-hover-addon' ),
     218                'name' => 'content_typography',
     219                'selector' => '{{WRAPPER}} .ele-inner-item .ele-portfolio-content strong',
     220            ]
     221        );
     222
    202223
    203224        $this->add_control(
  • ele-hover-addon/trunk/includes/widgets/widget-2.php

    r2695169 r2888512  
    4141     */
    4242    public function get_icon() {
    43         return 'eicon-code';
     43        return 'eicon-image-rollover';
    4444    }
    4545
     
    152152        );
    153153
     154       
     155
    154156        $this->add_control(
    155157            'image_radius',
     
    164166        );
    165167
     168       
     169        $this->add_group_control(
     170            \Elementor\Group_Control_Typography::get_type(),
     171            [
     172                'label' => esc_html__( 'Title Typography', 'ele-hover-addon' ),
     173                'name' => 'title_typography',
     174                'selector' => '{{WRAPPER}} .ele-portfolio-content h3',
     175            ]
     176        );
     177
     178       
    166179        $this->add_control(
    167180            'title_color',
     
    185198            ]
    186199        );
     200
     201        $this->add_group_control(
     202            \Elementor\Group_Control_Typography::get_type(),
     203            [
     204                'label' => esc_html__( 'Content Typography', 'ele-hover-addon' ),
     205                'name' => 'content_typography',
     206                'selector' => '{{WRAPPER}} .ele-inner-item .ele-portfolio-content span',
     207            ]
     208        );
     209
    187210
    188211        $this->add_control(
  • ele-hover-addon/trunk/includes/widgets/widget-3.php

    r2695169 r2888512  
    4141     */
    4242    public function get_icon() {
    43         return 'eicon-code';
     43        return 'eicon-button';
    4444    }
    4545
     
    162162        );
    163163
     164
    164165        $this->add_control(
    165166            'image_radius',
     
    174175        );
    175176
     177       
     178        $this->add_group_control(
     179            \Elementor\Group_Control_Typography::get_type(),
     180            [
     181                'label' => esc_html__( 'Title Typography', 'ele-hover-addon' ),
     182                'name' => 'title_typography',
     183                'selector' => '{{WRAPPER}} .ele-portfolio-content h3',
     184            ]
     185        );
     186
     187       
     188
    176189        $this->add_control(
    177190            'title_color',
     
    184197            ]
    185198        );
     199        $this->add_group_control(
     200            \Elementor\Group_Control_Typography::get_type(),
     201            [
     202                'label' => esc_html__( 'Category Typography', 'ele-hover-addon' ),
     203                'name' => 'cat_typography',
     204                'selector' => '{{WRAPPER}} .ele-portfolio-content span',
     205            ]
     206        );
    186207
    187208        $this->add_control(
     
    193214                    '{{WRAPPER}} .ele-portfolio-content span' => 'color: {{VALUE}}',
    194215                ],
     216            ]
     217        );
     218
     219        $this->add_group_control(
     220            \Elementor\Group_Control_Typography::get_type(),
     221            [
     222                'label' => esc_html__( 'Content Typography', 'ele-hover-addon' ),
     223                'name' => 'content_typography',
     224                'selector' => '{{WRAPPER}} .ele-inner-item .ele-portfolio-content p',
    195225            ]
    196226        );
Note: See TracChangeset for help on using the changeset viewer.