Changeset 2800703
- Timestamp:
- 10/18/2022 03:25:34 PM (3 years ago)
- Location:
- gum-elementor-addon
- Files:
-
- 45 added
- 6 edited
-
tags/1.2.17 (added)
-
tags/1.2.17/css (added)
-
tags/1.2.17/css/index.html (added)
-
tags/1.2.17/css/owl.carousel.css (added)
-
tags/1.2.17/css/style.css (added)
-
tags/1.2.17/gum-elementor-addon.php (added)
-
tags/1.2.17/helper.php (added)
-
tags/1.2.17/index.html (added)
-
tags/1.2.17/js (added)
-
tags/1.2.17/js/allscripts.js (added)
-
tags/1.2.17/js/index.html (added)
-
tags/1.2.17/js/jquery.easing.1.3.js (added)
-
tags/1.2.17/js/jquery.superslides.js (added)
-
tags/1.2.17/js/owl.carousel.min.js (added)
-
tags/1.2.17/js/price-table.js (added)
-
tags/1.2.17/languages (added)
-
tags/1.2.17/languages/gum-elementor-addon.pot (added)
-
tags/1.2.17/languages/index.html (added)
-
tags/1.2.17/readme.txt (added)
-
tags/1.2.17/widgets (added)
-
tags/1.2.17/widgets/accordion.php (added)
-
tags/1.2.17/widgets/blog_grid.php (added)
-
tags/1.2.17/widgets/blog_image.php (added)
-
tags/1.2.17/widgets/blog_lists.php (added)
-
tags/1.2.17/widgets/blog_pagination.php (added)
-
tags/1.2.17/widgets/blog_post_adjacent.php (added)
-
tags/1.2.17/widgets/blog_post_meta.php (added)
-
tags/1.2.17/widgets/blog_post_related.php (added)
-
tags/1.2.17/widgets/blog_post_share.php (added)
-
tags/1.2.17/widgets/blog_term.php (added)
-
tags/1.2.17/widgets/button.php (added)
-
tags/1.2.17/widgets/carousel_ibox.php (added)
-
tags/1.2.17/widgets/counter.php (added)
-
tags/1.2.17/widgets/heading.php (added)
-
tags/1.2.17/widgets/icon_list.php (added)
-
tags/1.2.17/widgets/index.html (added)
-
tags/1.2.17/widgets/popover_btn.php (added)
-
tags/1.2.17/widgets/post_slider.php (added)
-
tags/1.2.17/widgets/pricetable.php (added)
-
tags/1.2.17/widgets/progress.php (added)
-
tags/1.2.17/widgets/section.php (added)
-
tags/1.2.17/widgets/site_navigation.php (added)
-
tags/1.2.17/widgets/slideshow.php (added)
-
tags/1.2.17/widgets/toggle_period.php (added)
-
tags/1.2.17/widgets/totop_btn.php (added)
-
trunk/css/style.css (modified) (2 diffs)
-
trunk/gum-elementor-addon.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/widgets/blog_grid.php (modified) (4 diffs)
-
trunk/widgets/icon_list.php (modified) (2 diffs)
-
trunk/widgets/pricetable.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gum-elementor-addon/trunk/css/style.css
r2776619 r2800703 528 528 .grid-imboxs .grid-box.grid-col-3,.grid-posts .grid-post.grid-col-3{ width: 33.33%;} 529 529 .grid-imboxs .grid-box.grid-col-2,.grid-posts .grid-post.grid-col-2{ width: 50%;} 530 531 [data-elementor-device-mode=tablet] .post-grid-col-tablet-3 .grid-posts .grid-post{ width: 33.33%; } 532 [data-elementor-device-mode=tablet] .post-grid-col-tablet-2 .grid-posts .grid-post{ width: 50%; } 533 [data-elementor-device-mode=tablet] .post-grid-col-tablet-1 .grid-posts .grid-post{ width: 100%; } 530 534 } 531 535 … … 746 750 747 751 .elementor-widget-heading .elementor-heading-title[class*=elementor-size-] > a{ letter-spacing: inherit; font-weight: inherit; font-family: inherit;font-style: inherit; } 752 753 /* native icon box widget, native image box widget */ 754 755 .elementor-widget-image-box.elementor-boxstretch-yes, 756 .elementor-widget-image-box.elementor-boxstretch-yes .elementor-widget-container, 757 .elementor-widget-image-box.elementor-boxstretch-yes .elementor-image-box-wrapper, 758 .elementor-widget-icon-box.elementor-boxstretch-yes, 759 .elementor-widget-icon-box.elementor-boxstretch-yes .elementor-widget-container, 760 .elementor-widget-icon-box.elementor-boxstretch-yes .elementor-icon-box-wrapper{ height: 100%;} -
gum-elementor-addon/trunk/gum-elementor-addon.php
r2779708 r2800703 5 5 * Plugin URI: http://themegum.com/ 6 6 * Description: Addon widget for Elementor. Slideshow, pricing table, icon list, recent post, blog term, post term, post share, post meta, post related, post adjacent, blog grid, post slider,navigation menu, image box, popover and to top button 7 * Version: 1.2.1 67 * Version: 1.2.17 8 8 * Author: TemeGUM 9 9 * Author URI: http://themegum.com -
gum-elementor-addon/trunk/readme.txt
r2779705 r2800703 70 70 5. Three colors heading 71 71 72 72 73 == Changelog == 74 = 1.2.17 = 75 * Improvement: Adding box stretch option ( native icon box widget, native image box widget ) 76 * Improvement: Adding color style on box hover ( native icon box widget, native image box widget ) 77 * Added: post title word length option( blog grid widget ) 78 79 = 1.2.16 = 80 * Improvement: Adding icon offset position ( native icon box widget ) 81 73 82 = 1.2.15 = 74 83 * Improvement: Adding suffix title ( gum heading widget ) -
gum-elementor-addon/trunk/widgets/blog_grid.php
r2767140 r2800703 123 123 ); 124 124 125 $this->add_ control(125 $this->add_responsive_control( 126 126 'grid_layout', 127 127 [ … … 134 134 '4' => esc_html__( 'Four Column', 'gum-elementor-addon' ), 135 135 ], 136 'default' => '3' 136 'default' => '3', 137 'mobile_default' => '1', 138 'prefix_class' => 'post-grid-col%s-', 137 139 ] 138 140 ); … … 237 239 ] 238 240 ); 241 242 243 $this->add_control( 244 'post_title_word', 245 [ 246 'label' => esc_html__( 'Word Count', 'gum-elementor-addon' ), 247 'type' => Controls_Manager::NUMBER, 248 'default' => '', 249 ] 250 ); 251 252 $this->add_control( 253 'post_title_sufix', 254 [ 255 'label' => esc_html__( 'Suffix', 'gum-elementor-addon' ), 256 'type' => Controls_Manager::TEXT, 257 'default' => '', 258 'condition' => [ 259 'post_title_word!' => '' 260 ], 261 ] 262 ); 239 263 240 264 $this->add_control( … … 2639 2663 } 2640 2664 2665 if($post_title_word !='' && $post_title_word > 0 ){ 2666 $post_title = wp_trim_words($post_title , absint($post_title_word) , $post_title_sufix ); 2667 } 2668 2641 2669 $this->add_toprevious_blog( $post_id ); 2642 2670 $post_url = get_the_permalink(); -
gum-elementor-addon/trunk/widgets/icon_list.php
r2737486 r2800703 19 19 add_action( 'elementor/element/icon-list/section_icon_style/after_section_end', array( $this, 'register_section_icon_style_controls') , 999 ); 20 20 add_action( 'elementor/element/icon-list/section_text_style/after_section_end', array( $this, 'register_section_text_style_controls') , 999 ); 21 22 add_action( 'elementor/element/icon-box/section_style_icon/after_section_end', array( $this, 'register_section_iconbox_style_controls') , 999 ); 21 23 add_action( 'elementor/element/icon-box/section_style_content/after_section_end', array( $this, 'register_section_style_content_controls') , 999 ); 22 24 add_action( 'elementor/element/image-box/section_style_content/after_section_end', array( $this, 'register_section_style_content_controls') , 999 ); 25 26 add_action( 'elementor/element/icon-box/section_icon/after_section_end', array( $this, 'register_section_strech_box_controls') , 999 ); 27 add_action( 'elementor/element/image-box/section_image/after_section_end', array( $this, 'register_section_strech_box_controls') , 999 ); 23 28 24 29 add_action( 'elementor/element/before_section_start', [ $this, 'enqueue_script' ] ); … … 129 134 130 135 136 $element->start_injection( [ 137 'of' => 'title_color', 138 ] ); 139 140 141 $element->add_control( 142 'boxhover_title_color', 143 [ 144 'label' => esc_html__( 'On Box Hover', 'gum-elementor-addon' ), 145 'type' => Controls_Manager::COLOR, 146 'default' => '', 147 'selectors' => [ 148 '{{WRAPPER}}:hover .elementor-icon-box-title' => 'color: {{VALUE}};', 149 '{{WRAPPER}}:hover .elementor-image-box-title' => 'color: {{VALUE}};', 150 ], 151 ] 152 ); 153 154 $element->end_injection(); 155 156 $element->start_injection( [ 157 'of' => 'description_color', 158 ] ); 159 160 161 $element->add_control( 162 'boxhover_description_color', 163 [ 164 'label' => esc_html__( 'On Box Hover', 'gum-elementor-addon' ), 165 'type' => Controls_Manager::COLOR, 166 'default' => '', 167 'selectors' => [ 168 '{{WRAPPER}}:hover .elementor-icon-box-description' => 'color: {{VALUE}};', 169 '{{WRAPPER}}:hover .elementor-image-box-description' => 'color: {{VALUE}};', 170 ], 171 ] 172 ); 173 174 $element->end_injection(); 175 176 177 } 178 179 180 function register_section_iconbox_style_controls( Controls_Stack $element ) { 181 182 183 $element->update_control( 184 'hover_primary_color', 185 [ 186 'label' => esc_html__( 'Primary Color', 'elementor' ), 187 'type' => Controls_Manager::COLOR, 188 'default' => '', 189 'selectors' => [ 190 '{{WRAPPER}}.elementor-view-stacked:hover .elementor-icon:hover' => 'background-color: {{VALUE}};', 191 '{{WRAPPER}}.elementor-view-framed:hover .elementor-icon:hover, {{WRAPPER}}.elementor-view-default:hover .elementor-icon:hover' => 'fill: {{VALUE}}; color: {{VALUE}}!important; border-color: {{VALUE}};', 192 ], 193 ] 194 ); 195 196 $element->update_control( 197 'hover_secondary_color', 198 [ 199 'label' => esc_html__( 'Secondary Color', 'elementor' ), 200 'type' => Controls_Manager::COLOR, 201 'default' => '', 202 'condition' => [ 203 'view!' => 'default', 204 ], 205 'selectors' => [ 206 '{{WRAPPER}}.elementor-view-framed:hover .elementor-icon:hover' => 'background-color: {{VALUE}}', 207 '{{WRAPPER}}.elementor-view-stacked:hover .elementor-icon:hover' => 'fill: {{VALUE}}; color: {{VALUE}}', 208 ], 209 ] 210 ); 211 212 213 $element->start_injection( [ 214 'of' => 'icon_space', 215 ] ); 216 217 218 /** 219 * - Add icon vertical position 220 * 221 */ 222 223 $element->add_responsive_control( 224 'icon_top_margin', 225 [ 226 'label' => esc_html__( 'Top Offset', 'gum-elementor-addon' ), 227 'type' => Controls_Manager::SLIDER, 228 'default' => [ 229 'size' => '', 230 ], 231 'range' => [ 232 'px' => [ 233 'min' => 0, 234 'max' => 100, 235 ], 236 ], 237 'selectors' => [ 238 '{{WRAPPER}} .elementor-icon-box-icon' => 'margin-top: {{SIZE}}{{UNIT}}', 239 ], 240 ] 241 ); 242 243 $element->end_injection(); 244 245 246 $element->start_injection( [ 247 'of' => 'border_radius', 248 ] ); 249 250 $element->add_control( 251 'boxheading_title', 252 [ 253 'label' => esc_html__( 'On Box Hover', 'gum-elementor-addon' ), 254 'type' => Controls_Manager::HEADING, 255 'separator' => 'before', 256 ] 257 ); 258 259 $element->add_control( 260 'boxhover_icon_color', 261 [ 262 'label' => esc_html__( 'Primary Color', 'elementor' ), 263 'type' => Controls_Manager::COLOR, 264 'default' => '', 265 'selectors' => [ 266 '{{WRAPPER}}.elementor-view-stacked:hover .elementor-icon' => 'background-color: {{VALUE}};', 267 '{{WRAPPER}}.elementor-view-framed:hover .elementor-icon, {{WRAPPER}}.elementor-view-default:hover .elementor-icon' => 'fill: {{VALUE}}; color: {{VALUE}}; border-color: {{VALUE}};', 268 ], 269 ] 270 ); 271 272 $element->add_control( 273 'boxhover_icon_secondcolor', 274 [ 275 'label' => esc_html__( 'Secondary Color', 'elementor' ), 276 'type' => Controls_Manager::COLOR, 277 'default' => '', 278 'condition' => [ 279 'view!' => 'default', 280 ], 281 'selectors' => [ 282 '{{WRAPPER}}.elementor-view-framed:hover .elementor-icon' => 'background-color: {{VALUE}};', 283 '{{WRAPPER}}.elementor-view-stacked:hover .elementor-icon' => 'fill: {{VALUE}}; color: {{VALUE}};', 284 ], 285 ] 286 ); 287 288 $element->end_injection(); 289 290 } 291 292 function register_section_strech_box_controls( Controls_Stack $element ){ 293 294 $element->start_injection( [ 295 'of' => 'title_size', 296 ] ); 297 298 $element->add_control( 299 'box_strech', 300 [ 301 'label' => esc_html__( 'Stretch Box', 'gum-elementor-addon' ), 302 'type' => Controls_Manager::SWITCHER, 303 'label_on' => esc_html__( 'No', 'gum-elementor-addon' ), 304 'label_off' => esc_html__( 'Yes', 'gum-elementor-addon' ), 305 'default' => '', 306 'prefix_class' => 'elementor-boxstretch-', 307 ] 308 ); 309 310 $element->end_injection(); 311 312 131 313 } 132 314 -
gum-elementor-addon/trunk/widgets/pricetable.php
r2767140 r2800703 184 184 '2' => esc_html__( 'Outside', 'gum-elementor-addon' ), 185 185 ], 186 'default' => '1' 186 'default' => '1', 187 'style_transfer' => true, 187 188 ] 188 189 ); … … 332 333 'default' => 'before', 333 334 'separator' => 'before', 335 'style_transfer' => true, 334 336 ] 335 337 ); … … 410 412 'label_on' => esc_html__( 'Show', 'gum-elementor-addon' ), 411 413 'default' => 'yes', 414 'style_transfer' => true, 412 415 ] 413 416 ); … … 422 425 'default' => 'yes', 423 426 'condition' => ['show_footer[value]' => 'yes'], 427 'style_transfer' => true, 424 428 ] 425 429 );
Note: See TracChangeset
for help on using the changeset viewer.