Changeset 2888512
- Timestamp:
- 03/28/2023 02:40:56 PM (3 years ago)
- Location:
- ele-hover-addon/trunk/includes
- Files:
-
- 4 edited
-
plugin.php (modified) (2 diffs)
-
widgets/widget-1.php (modified) (3 diffs)
-
widgets/widget-2.php (modified) (4 diffs)
-
widgets/widget-3.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ele-hover-addon/trunk/includes/plugin.php
r2695169 r2888512 227 227 require_once( __DIR__ . '/widgets/widget-2.php' ); 228 228 require_once( __DIR__ . '/widgets/widget-3.php' ); 229 require_once( __DIR__ . '/widgets/widget-4.php' ); 229 230 230 231 $widgets_manager->register( new \Ele_Hover_Addon\Widget_1() ); 231 232 $widgets_manager->register( new \Ele_Hover_Addon\ele_widget_2() ); 232 233 $widgets_manager->register( new \Ele_Hover_Addon\ele_widget_3() ); 234 $widgets_manager->register( new \Ele_Hover_Addon\ele_widget_4() ); 233 235 234 236 } … … 245 247 wp_register_style( 'widget-style-3', plugins_url( 'assets/css/widget-style-3.css', __FILE__ ) ); 246 248 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__ ) ); 248 250 249 251 // enequeue files -
ele-hover-addon/trunk/includes/widgets/widget-1.php
r2695169 r2888512 41 41 */ 42 42 public function get_icon() { 43 return 'eicon-c ode';43 return 'eicon-call-to-action'; 44 44 } 45 45 … … 179 179 ); 180 180 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 181 192 $this->add_control( 182 193 'title_color', … … 200 211 ] 201 212 ); 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 202 223 203 224 $this->add_control( -
ele-hover-addon/trunk/includes/widgets/widget-2.php
r2695169 r2888512 41 41 */ 42 42 public function get_icon() { 43 return 'eicon- code';43 return 'eicon-image-rollover'; 44 44 } 45 45 … … 152 152 ); 153 153 154 155 154 156 $this->add_control( 155 157 'image_radius', … … 164 166 ); 165 167 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 166 179 $this->add_control( 167 180 'title_color', … … 185 198 ] 186 199 ); 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 187 210 188 211 $this->add_control( -
ele-hover-addon/trunk/includes/widgets/widget-3.php
r2695169 r2888512 41 41 */ 42 42 public function get_icon() { 43 return 'eicon- code';43 return 'eicon-button'; 44 44 } 45 45 … … 162 162 ); 163 163 164 164 165 $this->add_control( 165 166 'image_radius', … … 174 175 ); 175 176 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 176 189 $this->add_control( 177 190 'title_color', … … 184 197 ] 185 198 ); 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 ); 186 207 187 208 $this->add_control( … … 193 214 '{{WRAPPER}} .ele-portfolio-content span' => 'color: {{VALUE}}', 194 215 ], 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', 195 225 ] 196 226 );
Note: See TracChangeset
for help on using the changeset viewer.