Version Description
Download this release
Release Info
Code changes from version 1.4.5 to 1.4.6
- assets/js/jquery.vaccordion.js +10 -4
- htmega_addons_elementor.php +2 -2
- includes/widgets/htmega_accordion.php +30 -0
- readme.txt +5 -2
assets/js/jquery.vaccordion.js
CHANGED
@@ -33,6 +33,7 @@
|
|
33 |
|
34 |
// hide the content div
|
35 |
$el.find('.va-content').hide();
|
|
|
36 |
|
37 |
// control the navigation buttons visibility
|
38 |
if( aux.canSlideUp( $slices, settings ) )
|
@@ -84,7 +85,13 @@
|
|
84 |
.stop()
|
85 |
.animate({
|
86 |
lineHeight : cache.sliceH + 'px'
|
87 |
-
}, settings.animSpeed, settings.animEasing );
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
|
89 |
// animate all the others
|
90 |
$others.each(function(i){
|
@@ -107,7 +114,7 @@
|
|
107 |
height : othersHeight + 'px',
|
108 |
opacity : ( expanded ) ? 1 : settings.animOpacity
|
109 |
}, settings.animSpeed, settings.animEasing, dfd.resolve )
|
110 |
-
.find('.va-title')
|
111 |
.stop()
|
112 |
.animate({
|
113 |
lineHeight : othersHeight + 'px'
|
@@ -277,13 +284,12 @@
|
|
277 |
},
|
278 |
canSlideUp : function( $slices, settings ) {
|
279 |
var $first = $slices.eq( cache.current );
|
280 |
-
|
281 |
if( $first.index() !== 0 )
|
282 |
return true;
|
283 |
},
|
284 |
canSlideDown : function( $slices, settings ) {
|
285 |
var $last = $slices.eq( cache.current + settings.visibleSlices - 1 );
|
286 |
-
|
287 |
if( $last.index() !== cache.totalSlices - 1 )
|
288 |
return true;
|
289 |
}
|
33 |
|
34 |
// hide the content div
|
35 |
$el.find('.va-content').hide();
|
36 |
+
$el.find('.va-title').removeClass('htmegava-active');
|
37 |
|
38 |
// control the navigation buttons visibility
|
39 |
if( aux.canSlideUp( $slices, settings ) )
|
85 |
.stop()
|
86 |
.animate({
|
87 |
lineHeight : cache.sliceH + 'px'
|
88 |
+
}, settings.animSpeed, settings.animEasing );
|
89 |
+
|
90 |
+
if( !expanded ){
|
91 |
+
$el.find('.va-title').addClass('htmegava-active');
|
92 |
+
}else{
|
93 |
+
$el.find('.va-title').removeClass('htmegava-active');
|
94 |
+
}
|
95 |
|
96 |
// animate all the others
|
97 |
$others.each(function(i){
|
114 |
height : othersHeight + 'px',
|
115 |
opacity : ( expanded ) ? 1 : settings.animOpacity
|
116 |
}, settings.animSpeed, settings.animEasing, dfd.resolve )
|
117 |
+
.find('.va-title').removeClass('htmegava-active')
|
118 |
.stop()
|
119 |
.animate({
|
120 |
lineHeight : othersHeight + 'px'
|
284 |
},
|
285 |
canSlideUp : function( $slices, settings ) {
|
286 |
var $first = $slices.eq( cache.current );
|
287 |
+
|
288 |
if( $first.index() !== 0 )
|
289 |
return true;
|
290 |
},
|
291 |
canSlideDown : function( $slices, settings ) {
|
292 |
var $last = $slices.eq( cache.current + settings.visibleSlices - 1 );
|
|
|
293 |
if( $last.index() !== cache.totalSlices - 1 )
|
294 |
return true;
|
295 |
}
|
htmega_addons_elementor.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Plugin URI: http://demo.wphash.com/htmega/
|
6 |
* Author: HasThemes
|
7 |
* Author URI: https://hasthemes.com/
|
8 |
-
* Version: 1.4.
|
9 |
* License: GPL2
|
10 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
* Text Domain: htmega-addons
|
@@ -13,7 +13,7 @@
|
|
13 |
*/
|
14 |
|
15 |
if( ! defined( 'ABSPATH' ) ) exit(); // Exit if accessed directly
|
16 |
-
define( 'HTMEGA_VERSION', '1.4.
|
17 |
define( 'HTMEGA_ADDONS_PL_ROOT', __FILE__ );
|
18 |
define( 'HTMEGA_ADDONS_PL_URL', plugins_url( '/', HTMEGA_ADDONS_PL_ROOT ) );
|
19 |
define( 'HTMEGA_ADDONS_PL_PATH', plugin_dir_path( HTMEGA_ADDONS_PL_ROOT ) );
|
5 |
* Plugin URI: http://demo.wphash.com/htmega/
|
6 |
* Author: HasThemes
|
7 |
* Author URI: https://hasthemes.com/
|
8 |
+
* Version: 1.4.6
|
9 |
* License: GPL2
|
10 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
* Text Domain: htmega-addons
|
13 |
*/
|
14 |
|
15 |
if( ! defined( 'ABSPATH' ) ) exit(); // Exit if accessed directly
|
16 |
+
define( 'HTMEGA_VERSION', '1.4.6' );
|
17 |
define( 'HTMEGA_ADDONS_PL_ROOT', __FILE__ );
|
18 |
define( 'HTMEGA_ADDONS_PL_URL', plugins_url( '/', HTMEGA_ADDONS_PL_ROOT ) );
|
19 |
define( 'HTMEGA_ADDONS_PL_PATH', plugin_dir_path( HTMEGA_ADDONS_PL_ROOT ) );
|
includes/widgets/htmega_accordion.php
CHANGED
@@ -731,6 +731,36 @@ class HTMega_Elementor_Widget_Accordion extends Widget_Base {
|
|
731 |
]
|
732 |
);
|
733 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
734 |
$this->end_controls_section(); // Title three tab end
|
735 |
|
736 |
|
731 |
]
|
732 |
);
|
733 |
|
734 |
+
$this->add_responsive_control(
|
735 |
+
'titlethree_margin',
|
736 |
+
[
|
737 |
+
'label' => __( 'Active Title Space', 'htmega-addons' ),
|
738 |
+
'type' => Controls_Manager::SLIDER,
|
739 |
+
'size_units' => [ 'px', '%' ],
|
740 |
+
'selectors' => [
|
741 |
+
'{{WRAPPER}} ul.accordion--4 li .description h2' => 'margin-bottom: {{SIZE}}{{UNIT}};',
|
742 |
+
],
|
743 |
+
'condition' => [
|
744 |
+
'accordiantstyle' =>'three',
|
745 |
+
],
|
746 |
+
]
|
747 |
+
);
|
748 |
+
|
749 |
+
$this->add_responsive_control(
|
750 |
+
'titlefour_lineheight',
|
751 |
+
[
|
752 |
+
'label' => __( 'Active Title Line Height', 'htmega-addons' ),
|
753 |
+
'type' => Controls_Manager::SLIDER,
|
754 |
+
'size_units' => [ 'px', '%' ],
|
755 |
+
'selectors' => [
|
756 |
+
'{{WRAPPER}} .accordion--5 .single_accordion .va-title.htmegava-active' => 'line-height: {{SIZE}}{{UNIT}} !important;',
|
757 |
+
],
|
758 |
+
'condition' => [
|
759 |
+
'accordiantstyle' =>'four',
|
760 |
+
],
|
761 |
+
]
|
762 |
+
);
|
763 |
+
|
764 |
$this->end_controls_section(); // Title three tab end
|
765 |
|
766 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: hasthemes, htplugins, devitemsllc
|
|
3 |
Tags: Elementor, Elementor Addons, Elementor Widgets, elementor page builder, Elementor Blocks
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 5.4.2
|
6 |
-
Stable tag: 1.4.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -12,7 +12,7 @@ The HTMega is a elementor addons package for Elementor page builder plugin for W
|
|
12 |
== Description ==
|
13 |
HTMega is a absolute addons for elementor includes 80+ elements & 360 Blocks with unlimited variations. HT Mega brings limitless possibilities. Embellish your site with the elements of HT Mega.
|
14 |
|
15 |
-
[
|
16 |
|
17 |
= Advanced Features: =
|
18 |
= Header/Footer Builder =
|
@@ -190,6 +190,9 @@ Visit [HasThemes](https://hasthemes.com/) for more details about HTML, Shopify a
|
|
190 |
|
191 |
== Changelog ==
|
192 |
|
|
|
|
|
|
|
193 |
= Version: 1.4.5 - Date: 2020-07-29 =
|
194 |
* Instagram Addon Issue Solved
|
195 |
* Thumbnail Opacity add for style-3 in HT Mega post carousal widget.
|
3 |
Tags: Elementor, Elementor Addons, Elementor Widgets, elementor page builder, Elementor Blocks
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 5.4.2
|
6 |
+
Stable tag: 1.4.6
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
12 |
== Description ==
|
13 |
HTMega is a absolute addons for elementor includes 80+ elements & 360 Blocks with unlimited variations. HT Mega brings limitless possibilities. Embellish your site with the elements of HT Mega.
|
14 |
|
15 |
+
[Video Tutorial Playlist](https://www.youtube.com/watch?v=d7jAiAYusUg&list=PLk25BQFrj7wEEGUHn9x2zwOql990bZAo_) | [Plugin Live Demo](https://demo.hasthemes.com/ht-mega/index.html)
|
16 |
|
17 |
= Advanced Features: =
|
18 |
= Header/Footer Builder =
|
190 |
|
191 |
== Changelog ==
|
192 |
|
193 |
+
= Version: 1.4.6 - Date: 2020-07-29 =
|
194 |
+
* Accodion Line height Issue Solved
|
195 |
+
|
196 |
= Version: 1.4.5 - Date: 2020-07-29 =
|
197 |
* Instagram Addon Issue Solved
|
198 |
* Thumbnail Opacity add for style-3 in HT Mega post carousal widget.
|