Version Description
Download this release
Release Info
Code changes from version 1.9.0 to 1.9.1
htmega_addons_elementor.php
CHANGED
@@ -5,17 +5,17 @@
|
|
5 |
* Plugin URI: https://wphtmega.com/
|
6 |
* Author: HasThemes
|
7 |
* Author URI: https://hasthemes.com/
|
8 |
-
* Version: 1.9.
|
9 |
* License: GPL2
|
10 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
* Text Domain: htmega-addons
|
12 |
* Domain Path: /languages
|
13 |
-
* Elementor tested up to: 3.6.
|
14 |
-
* Elementor Pro tested up to: 3.7.
|
15 |
*/
|
16 |
|
17 |
if( ! defined( 'ABSPATH' ) ) exit(); // Exit if accessed directly
|
18 |
-
define( 'HTMEGA_VERSION', '1.9.
|
19 |
define( 'HTMEGA_ADDONS_PL_ROOT', __FILE__ );
|
20 |
define( 'HTMEGA_ADDONS_PL_URL', plugins_url( '/', HTMEGA_ADDONS_PL_ROOT ) );
|
21 |
define( 'HTMEGA_ADDONS_PL_PATH', plugin_dir_path( HTMEGA_ADDONS_PL_ROOT ) );
|
5 |
* Plugin URI: https://wphtmega.com/
|
6 |
* Author: HasThemes
|
7 |
* Author URI: https://hasthemes.com/
|
8 |
+
* Version: 1.9.1
|
9 |
* License: GPL2
|
10 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
* Text Domain: htmega-addons
|
12 |
* Domain Path: /languages
|
13 |
+
* Elementor tested up to: 3.6.7
|
14 |
+
* Elementor Pro tested up to: 3.7.2
|
15 |
*/
|
16 |
|
17 |
if( ! defined( 'ABSPATH' ) ) exit(); // Exit if accessed directly
|
18 |
+
define( 'HTMEGA_VERSION', '1.9.1' );
|
19 |
define( 'HTMEGA_ADDONS_PL_ROOT', __FILE__ );
|
20 |
define( 'HTMEGA_ADDONS_PL_URL', plugins_url( '/', HTMEGA_ADDONS_PL_ROOT ) );
|
21 |
define( 'HTMEGA_ADDONS_PL_PATH', plugin_dir_path( HTMEGA_ADDONS_PL_ROOT ) );
|
includes/widgets/htmega_contact_form_seven.php
CHANGED
@@ -357,6 +357,7 @@ class HTMega_Elementor_Widget_Contact_Form_Seven extends Widget_Base {
|
|
357 |
'selector' => '{{WRAPPER}} .wpcf7-form .wpcf7-form-control-wrap input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), {{WRAPPER}}.wpcf7-form .wpcf7-form-control-wrap select',
|
358 |
]
|
359 |
);
|
|
|
360 |
$this->end_controls_tab();
|
361 |
|
362 |
// Hover Style Tab
|
@@ -399,6 +400,16 @@ class HTMega_Elementor_Widget_Contact_Form_Seven extends Widget_Base {
|
|
399 |
],
|
400 |
]
|
401 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
402 |
$this->add_group_control(
|
403 |
Group_Control_Border::get_type(),
|
404 |
[
|
@@ -471,7 +482,7 @@ class HTMega_Elementor_Widget_Contact_Form_Seven extends Widget_Base {
|
|
471 |
],
|
472 |
|
473 |
'selectors' => [
|
474 |
-
'{{WRAPPER}} .wpcf7-form .wpcf7-form-control-wrap textarea' => 'height: {{SIZE}}{{UNIT}};',
|
475 |
],
|
476 |
]
|
477 |
);
|
357 |
'selector' => '{{WRAPPER}} .wpcf7-form .wpcf7-form-control-wrap input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), {{WRAPPER}}.wpcf7-form .wpcf7-form-control-wrap select',
|
358 |
]
|
359 |
);
|
360 |
+
|
361 |
$this->end_controls_tab();
|
362 |
|
363 |
// Hover Style Tab
|
400 |
],
|
401 |
]
|
402 |
);
|
403 |
+
$this->add_control(
|
404 |
+
'radio_checkbox_color_accent',
|
405 |
+
[
|
406 |
+
'label' => __( 'Radio & Checkbox Color', 'htmega-addons' ),
|
407 |
+
'type' => Controls_Manager::COLOR,
|
408 |
+
'selectors' => [
|
409 |
+
'{{WRAPPER}} .wpcf7-form .wpcf7-form-control-wrap input[type="checkbox"]:checked,{{WRAPPER}} .wpcf7-form .wpcf7-form-control-wrap input[type="checkbox"]:hover:checked,{{WRAPPER}} .wpcf7-form .wpcf7-form-control-wrap input[type="checkbox"]:focus:checked,{{WRAPPER}} .wpcf7-form .wpcf7-form-control-wrap input[type="radio"]:checked,{{WRAPPER}} .wpcf7-form .wpcf7-form-control-wrap input[type="radio"]:hover:checked,{{WRAPPER}} .wpcf7-form .wpcf7-form-control-wrap input[type="radio"]:focus:checked' => 'accent-color: {{VALUE}} !important;',
|
410 |
+
],
|
411 |
+
]
|
412 |
+
);
|
413 |
$this->add_group_control(
|
414 |
Group_Control_Border::get_type(),
|
415 |
[
|
482 |
],
|
483 |
|
484 |
'selectors' => [
|
485 |
+
'{{WRAPPER}} .wpcf7-form .wpcf7-form-control-wrap textarea' => 'height: {{SIZE}}{{UNIT}};min-height: {{SIZE}}{{UNIT}};',
|
486 |
],
|
487 |
]
|
488 |
);
|
includes/widgets/htmega_data_table.php
CHANGED
@@ -234,7 +234,7 @@ class HTMega_Elementor_Widget_Data_Table extends Widget_Base {
|
|
234 |
$repeater_one->add_control(
|
235 |
'field_type',
|
236 |
[
|
237 |
-
'label' => __( '
|
238 |
'type' => Controls_Manager::SELECT,
|
239 |
'default' => 'row',
|
240 |
'options' => [
|
234 |
$repeater_one->add_control(
|
235 |
'field_type',
|
236 |
[
|
237 |
+
'label' => __( 'Field Type', 'htmega-addons' ),
|
238 |
'type' => Controls_Manager::SELECT,
|
239 |
'default' => 'row',
|
240 |
'options' => [
|
includes/widgets/htmega_image_grid.php
CHANGED
@@ -27,6 +27,14 @@ class HTMega_Elementor_Widget_Image_Grid extends Widget_Base {
|
|
27 |
];
|
28 |
}
|
29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
protected function register_controls() {
|
31 |
|
32 |
$this->start_controls_section(
|
@@ -614,14 +622,18 @@ class HTMega_Elementor_Widget_Image_Grid extends Widget_Base {
|
|
614 |
<div <?php echo $this->get_render_attribute_string( 'imagegrid_attr' ); ?> >
|
615 |
<div class="htb-row">
|
616 |
<?php
|
617 |
-
foreach ( $settings['imagegrid_list'] as $imagegrid ):
|
|
|
|
|
|
|
|
|
618 |
?>
|
619 |
<div class="<?php echo esc_attr( $collumval );?>">
|
620 |
<div <?php echo $this->get_render_attribute_string( 'imagegrid_item_attr' ); ?> >
|
621 |
<div class="thumb">
|
622 |
<?php
|
623 |
if( !empty( $imagegrid['gridimage_btnlink']['url'] ) ){
|
624 |
-
echo '<a
|
625 |
}else{
|
626 |
echo Group_Control_Image_Size::get_attachment_image_html( $imagegrid, 'gridimage_imagesize', 'gridimage_image' );
|
627 |
}
|
@@ -640,7 +652,7 @@ class HTMega_Elementor_Widget_Image_Grid extends Widget_Base {
|
|
640 |
}
|
641 |
|
642 |
if ( ! empty( $imagegrid['gridimage_btnlink']['url'] ) ) {
|
643 |
-
echo sprintf( '<a class="read-btn"
|
644 |
}
|
645 |
?>
|
646 |
</div>
|
27 |
];
|
28 |
}
|
29 |
|
30 |
+
public function get_keywords() {
|
31 |
+
return [ 'image grid', 'image gallery','gallery image','htmega','ht mega' ];
|
32 |
+
}
|
33 |
+
|
34 |
+
public function get_help_url() {
|
35 |
+
return 'https://wphtmega.com/docs/general-widgets/image-grid-widget/';
|
36 |
+
}
|
37 |
+
|
38 |
protected function register_controls() {
|
39 |
|
40 |
$this->start_controls_section(
|
622 |
<div <?php echo $this->get_render_attribute_string( 'imagegrid_attr' ); ?> >
|
623 |
<div class="htb-row">
|
624 |
<?php
|
625 |
+
foreach ( $settings['imagegrid_list'] as $key=>$imagegrid ):
|
626 |
+
|
627 |
+
if ( isset( $imagegrid['gridimage_btnlink']['url'] ) && !empty( $imagegrid['gridimage_btnlink']['url'] ) ){
|
628 |
+
$this->add_link_attributes( $key, $imagegrid['gridimage_btnlink'] );
|
629 |
+
}
|
630 |
?>
|
631 |
<div class="<?php echo esc_attr( $collumval );?>">
|
632 |
<div <?php echo $this->get_render_attribute_string( 'imagegrid_item_attr' ); ?> >
|
633 |
<div class="thumb">
|
634 |
<?php
|
635 |
if( !empty( $imagegrid['gridimage_btnlink']['url'] ) ){
|
636 |
+
echo '<a '.$this->get_render_attribute_string( $key ).'>'.Group_Control_Image_Size::get_attachment_image_html( $imagegrid, 'gridimage_imagesize', 'gridimage_image' ).'</a>';
|
637 |
}else{
|
638 |
echo Group_Control_Image_Size::get_attachment_image_html( $imagegrid, 'gridimage_imagesize', 'gridimage_image' );
|
639 |
}
|
652 |
}
|
653 |
|
654 |
if ( ! empty( $imagegrid['gridimage_btnlink']['url'] ) ) {
|
655 |
+
echo sprintf( '<a class="read-btn" %1$s>%2$s</a>', $this->get_render_attribute_string( $key ), htmega_kses_title( $imagegrid['gridimage_btntxt'] ));
|
656 |
}
|
657 |
?>
|
658 |
</div>
|
includes/widgets/htmega_wc_add_to_cart.php
CHANGED
@@ -92,7 +92,7 @@ class HTMega_Elementor_Widget_WC_Add_to_Cart extends Widget_Button {
|
|
92 |
$this->add_control(
|
93 |
'button_hidden_selector',
|
94 |
[
|
95 |
-
'label' => esc_html__( 'View', '
|
96 |
'type' => Controls_Manager::HIDDEN,
|
97 |
'default' => 'traditional',
|
98 |
'selectors' => [
|
92 |
$this->add_control(
|
93 |
'button_hidden_selector',
|
94 |
[
|
95 |
+
'label' => esc_html__( 'View', 'htmega-addons' ),
|
96 |
'type' => Controls_Manager::HIDDEN,
|
97 |
'default' => 'traditional',
|
98 |
'selectors' => [
|
includes/widgets_control.php
CHANGED
@@ -413,9 +413,9 @@ class HTMega_Widgets_Control{
|
|
413 |
],
|
414 |
|
415 |
'bookedcalender' => [
|
416 |
-
'title' => 'Booked
|
417 |
'option-tab'=> 'htmega_thirdparty_element_tabs',
|
418 |
-
'third-party-resource' => '
|
419 |
'is_pro'=>false
|
420 |
],
|
421 |
|
413 |
],
|
414 |
|
415 |
'bookedcalender' => [
|
416 |
+
'title' => 'Booked Calendar',
|
417 |
'option-tab'=> 'htmega_thirdparty_element_tabs',
|
418 |
+
'third-party-resource' => 'booked/booked.php',
|
419 |
'is_pro'=>false
|
420 |
],
|
421 |
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
-
=== HT Mega
|
2 |
Contributors: hasthemes, htplugins, devitemsllc, tarekht, aslamhasib
|
3 |
Tags: Elementor, Elementor Addons, Elementor Widgets, elementor page builder, Elementor Blocks
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 6.0
|
6 |
-
Stable tag: 1.9.
|
7 |
License: GPLv2 or later
|
8 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -199,6 +199,11 @@ Feel free to [Contact us](https://hasthemes.com/contact-us/) 💌
|
|
199 |
Visit [HasThemes](https://hasthemes.com/) for more details about HTML, Shopify and WordPress products and services.
|
200 |
|
201 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
202 |
= Version: 1.9.0 - Date: 2022-06-14 =
|
203 |
* Added: Images popup options in gallery justify addon
|
204 |
* Fixed: External link issue in image masonry addon
|
@@ -504,7 +509,7 @@ Visit [HasThemes](https://hasthemes.com/) for more details about HTML, Shopify a
|
|
504 |
|
505 |
* Added: Title Field name.
|
506 |
|
507 |
-
<strong>
|
508 |
|
509 |
* Added: Button Width option
|
510 |
* Added: Button Position for Style layout Four.
|
1 |
+
=== HT Mega – Addons for Elementor Page Builder ( Elementor Addons, Post Grid, Slider, Carousel, Mega Menu, Elementor Widgets, Elementor Templates, Accordion, Forms, Table) ===
|
2 |
Contributors: hasthemes, htplugins, devitemsllc, tarekht, aslamhasib
|
3 |
Tags: Elementor, Elementor Addons, Elementor Widgets, elementor page builder, Elementor Blocks
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 6.0
|
6 |
+
Stable tag: 1.9.1
|
7 |
License: GPLv2 or later
|
8 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
199 |
Visit [HasThemes](https://hasthemes.com/) for more details about HTML, Shopify and WordPress products and services.
|
200 |
|
201 |
== Changelog ==
|
202 |
+
= Version: 1.9.1 - Date: 2022-07-06 =
|
203 |
+
* Fixed: External link issue in image grid addon
|
204 |
+
* Fixed: Booked Calendar addon register issue
|
205 |
+
* Fixed: Textarea height and radio/checkbox color issue in contact form 7 addon
|
206 |
+
|
207 |
= Version: 1.9.0 - Date: 2022-06-14 =
|
208 |
* Added: Images popup options in gallery justify addon
|
209 |
* Fixed: External link issue in image masonry addon
|
509 |
|
510 |
* Added: Title Field name.
|
511 |
|
512 |
+
<strong>MailChimp for WP</strong>
|
513 |
|
514 |
* Added: Button Width option
|
515 |
* Added: Button Position for Style layout Four.
|