HT Mega – Addons for Elementor Page Builder ( Elementor Addons, Post Grid, Post Slider, Post Carousel, Mega Menu, Elementor Widgets, Elementor Templates, Accordion, Forms, Tables) - Version 1.3.2

Version Description

Download this release

Release Info

Developer devitemsllc
Plugin Icon 128x128 HT Mega – Addons for Elementor Page Builder ( Elementor Addons, Post Grid, Post Slider, Post Carousel, Mega Menu, Elementor Widgets, Elementor Templates, Accordion, Forms, Tables)
Version 1.3.2
Comparing to
See all releases

Code changes from version 1.3.1 to 1.3.2

admin/include/admin-setting.php CHANGED
@@ -1152,7 +1152,7 @@ class HTmega_Admin_Settings {
1152
  <li><?php echo esc_html__( '84 Elements', 'htmega-addons' ); ?></li>
1153
  <li><?php echo esc_html__( '325 Blocks / Sections', 'htmega-addons' ); ?></li>
1154
  <li><?php echo esc_html__( '35 Categories / Template set', 'htmega-addons' ); ?></li>
1155
- <li><?php echo esc_html__( '491 Templates', 'htmega-addons' ); ?></li>
1156
  <li><?php echo esc_html__( 'Blog Search Page Builder', 'htmega-addons' ); ?></li>
1157
  <li><?php echo esc_html__( '404 Error Page Builder', 'htmega-addons' ); ?></li>
1158
  <li><?php echo esc_html__( 'Coming soon Page Builder', 'htmega-addons' ); ?></li>
1152
  <li><?php echo esc_html__( '84 Elements', 'htmega-addons' ); ?></li>
1153
  <li><?php echo esc_html__( '325 Blocks / Sections', 'htmega-addons' ); ?></li>
1154
  <li><?php echo esc_html__( '35 Categories / Template set', 'htmega-addons' ); ?></li>
1155
+ <li><?php echo esc_html__( '524 Templates', 'htmega-addons' ); ?></li>
1156
  <li><?php echo esc_html__( 'Blog Search Page Builder', 'htmega-addons' ); ?></li>
1157
  <li><?php echo esc_html__( '404 Error Page Builder', 'htmega-addons' ); ?></li>
1158
  <li><?php echo esc_html__( 'Coming soon Page Builder', 'htmega-addons' ); ?></li>
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.3.1
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.3.1' );
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.3.2
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.3.2' );
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/class.htmega.php CHANGED
@@ -4,7 +4,7 @@ if ( ! function_exists('is_plugin_active')){ include_once( ABSPATH . 'wp-admin/i
4
 
5
  class HTMega_Addons_Elementor {
6
 
7
- const MINIMUM_ELEMENTOR_VERSION = '2.0.0';
8
  const MINIMUM_PHP_VERSION = '7.0';
9
 
10
  private static $_instance = null;
4
 
5
  class HTMega_Addons_Elementor {
6
 
7
+ const MINIMUM_ELEMENTOR_VERSION = '2.5.0';
8
  const MINIMUM_PHP_VERSION = '7.0';
9
 
10
  private static $_instance = null;
includes/widgets/htmega_popover.php CHANGED
@@ -40,7 +40,7 @@ class HTMega_Elementor_Widget_Popover extends Widget_Base {
40
  [
41
  'label' => esc_html__( 'Button Type', 'htmega-addons' ),
42
  'type' => Controls_Manager::CHOOSE,
43
- 'label_block' => true,
44
  'options' => [
45
  'icon' => [
46
  'title' => esc_html__( 'Icon', 'htmega-addons' ),
40
  [
41
  'label' => esc_html__( 'Button Type', 'htmega-addons' ),
42
  'type' => Controls_Manager::CHOOSE,
43
+ 'label_block' => false,
44
  'options' => [
45
  'icon' => [
46
  'title' => esc_html__( 'Icon', 'htmega-addons' ),
includes/widgets/htmega_post_grid.php CHANGED
@@ -159,6 +159,21 @@ class HTMega_Elementor_Widget_PostGrid extends Widget_Base {
159
  ]
160
  );
161
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
162
  $this->add_control(
163
  'show_category',
164
  [
@@ -543,7 +558,7 @@ class HTMega_Elementor_Widget_PostGrid extends Widget_Base {
543
  <div class="post-content">
544
  <div class="content">
545
  <?php if( $settings['show_title'] == 'yes' ): ?>
546
- <h4><a href="<?php the_permalink();?>"><?php echo wp_trim_words( get_the_title(), 8, '' ); ?></a></h4>
547
  <?php endif; if( $settings['show_date'] == 'yes' ): ?>
548
  <div class="meta">
549
  <span class="meta-item date"><i class="fa fa-clock-o"></i>
@@ -589,7 +604,7 @@ class HTMega_Elementor_Widget_PostGrid extends Widget_Base {
589
  <div class="post-content">
590
  <div class="content">
591
  <?php if( $settings['show_title'] == 'yes' ): ?>
592
- <h4><a href="<?php the_permalink();?>"><?php echo wp_trim_words( get_the_title(), 8, '' ); ?></a></h4>
593
  <?php endif; if( $settings['show_date'] == 'yes' ): ?>
594
  <div class="meta">
595
  <span class="meta-item date"><i class="fa fa-clock-o"></i>
@@ -635,7 +650,7 @@ class HTMega_Elementor_Widget_PostGrid extends Widget_Base {
635
  <div class="post-content">
636
  <div class="content">
637
  <?php if( $settings['show_title'] == 'yes' ): ?>
638
- <h4><a href="<?php the_permalink();?>"><?php echo wp_trim_words( get_the_title(), 8, '' ); ?></a></h4>
639
  <?php endif; if( $settings['show_date'] == 'yes' ): ?>
640
  <div class="meta">
641
  <span class="meta-item date"><i class="fa fa-clock-o"></i>
@@ -683,7 +698,7 @@ class HTMega_Elementor_Widget_PostGrid extends Widget_Base {
683
  <div class="post-content">
684
  <div class="content">
685
  <?php if( $settings['show_title'] == 'yes' ): ?>
686
- <h2><a href="<?php the_permalink();?>"><?php echo wp_trim_words( get_the_title(), 5, '' ); ?></a></h2>
687
  <?php endif; if( $settings['show_date'] == 'yes' ): ?>
688
  <div class="meta">
689
  <i class="fa fa-clock-o"></i>
@@ -731,7 +746,7 @@ class HTMega_Elementor_Widget_PostGrid extends Widget_Base {
731
  <div class="post-content">
732
  <div class="content">
733
  <?php if( $settings['show_title'] == 'yes' ): ?>
734
- <h4><a href="<?php the_permalink();?>"><?php echo wp_trim_words( get_the_title(), 5, '' ); ?></a></h4>
735
  <?php endif; if( $settings['show_date'] == 'yes' ): ?>
736
  <div class="meta">
737
  <i class="fa fa-clock-o"></i>
@@ -776,7 +791,7 @@ class HTMega_Elementor_Widget_PostGrid extends Widget_Base {
776
  <div class="post-content">
777
  <div class="content">
778
  <?php if( $settings['show_title'] == 'yes' ): ?>
779
- <h4><a href="<?php the_permalink();?>"><?php echo wp_trim_words( get_the_title(), 5, '' ); ?></a></h4>
780
  <?php endif; if( $settings['show_date'] == 'yes' ): ?>
781
  <div class="meta">
782
  <i class="fa fa-clock-o"></i>
@@ -825,7 +840,7 @@ class HTMega_Elementor_Widget_PostGrid extends Widget_Base {
825
  <div class="post-content">
826
  <div class="content">
827
  <?php if( $settings['show_title'] == 'yes' ): ?>
828
- <h4><a href="<?php the_permalink();?>"><?php echo wp_trim_words( get_the_title(), 5, '' ); ?></a></h4>
829
  <?php endif; if( $settings['show_date'] == 'yes' ): ?>
830
  <div class="meta">
831
  <span class="meta-item date"><i class="fa fa-clock-o"></i>
@@ -869,7 +884,7 @@ class HTMega_Elementor_Widget_PostGrid extends Widget_Base {
869
  <div class="post-content">
870
  <div class="content">
871
  <?php if( $settings['show_title'] == 'yes' ): ?>
872
- <h4><a href="<?php the_permalink();?>"><?php echo wp_trim_words( get_the_title(), 6, '' ); ?></a></h4>
873
  <?php endif; if( $settings['show_date'] == 'yes' ): ?>
874
  <div class="meta">
875
  <span class="meta-item date"><i class="fa fa-clock-o"></i><?php the_time(esc_html__('d F Y','htmega-addons'));?></span>
@@ -911,7 +926,7 @@ class HTMega_Elementor_Widget_PostGrid extends Widget_Base {
911
  <div class="post-content">
912
  <div class="content">
913
  <?php if( $settings['show_title'] == 'yes' ): ?>
914
- <h4><a href="<?php the_permalink();?>"><?php echo wp_trim_words( get_the_title(), 6, '' ); ?></a></h4>
915
  <?php endif; if( $settings['show_date'] == 'yes' ): ?>
916
  <div class="meta">
917
  <span class="meta-item date"><i class="fa fa-clock-o"></i><?php the_time(esc_html__('d F Y','htmega-addons'));?></span>
@@ -953,7 +968,7 @@ class HTMega_Elementor_Widget_PostGrid extends Widget_Base {
953
  <div class="post-content">
954
  <div class="content">
955
  <?php if( $settings['show_title'] == 'yes' ): ?>
956
- <h4><a href="<?php the_permalink();?>"><?php echo wp_trim_words( get_the_title(), 6, '' ); ?></a></h4>
957
  <?php endif; if( $settings['show_date'] == 'yes' ): ?>
958
  <div class="meta">
959
  <span class="meta-item date"><i class="fa fa-clock-o"></i><?php the_time(esc_html__('d F Y','htmega-addons'));?></span>
@@ -997,7 +1012,7 @@ class HTMega_Elementor_Widget_PostGrid extends Widget_Base {
997
  <div class="post-content">
998
  <div class="content">
999
  <?php if( $settings['show_title'] == 'yes' ): ?>
1000
- <h4 class="title"><a href="<?php the_permalink();?>"><?php echo wp_trim_words( get_the_title(), 6, '' ); ?></a></h4>
1001
  <?php endif; if( $settings['show_date'] == 'yes' ): ?>
1002
  <div class="meta">
1003
  <span class="meta-item date"><i class="fa fa-clock-o"></i><?php the_time(esc_html__('d F Y','htmega-addons'));?></span>
159
  ]
160
  );
161
 
162
+ $this->add_control(
163
+ 'title_length',
164
+ [
165
+ 'label' => __( 'Title Length', 'htmega-addons' ),
166
+ 'type' => Controls_Manager::NUMBER,
167
+ 'min' => 0,
168
+ 'max' => 500,
169
+ 'step' => 1,
170
+ 'default' => 5,
171
+ 'condition' => [
172
+ 'show_title' => 'yes',
173
+ ]
174
+ ]
175
+ );
176
+
177
  $this->add_control(
178
  'show_category',
179
  [
558
  <div class="post-content">
559
  <div class="content">
560
  <?php if( $settings['show_title'] == 'yes' ): ?>
561
+ <h4><a href="<?php the_permalink();?>"><?php echo wp_trim_words( get_the_title(), $settings['title_length'], '' ); ?></a></h4>
562
  <?php endif; if( $settings['show_date'] == 'yes' ): ?>
563
  <div class="meta">
564
  <span class="meta-item date"><i class="fa fa-clock-o"></i>
604
  <div class="post-content">
605
  <div class="content">
606
  <?php if( $settings['show_title'] == 'yes' ): ?>
607
+ <h4><a href="<?php the_permalink();?>"><?php echo wp_trim_words( get_the_title(), $settings['title_length'], '' ); ?></a></h4>
608
  <?php endif; if( $settings['show_date'] == 'yes' ): ?>
609
  <div class="meta">
610
  <span class="meta-item date"><i class="fa fa-clock-o"></i>
650
  <div class="post-content">
651
  <div class="content">
652
  <?php if( $settings['show_title'] == 'yes' ): ?>
653
+ <h4><a href="<?php the_permalink();?>"><?php echo wp_trim_words( get_the_title(), $settings['title_length'], '' ); ?></a></h4>
654
  <?php endif; if( $settings['show_date'] == 'yes' ): ?>
655
  <div class="meta">
656
  <span class="meta-item date"><i class="fa fa-clock-o"></i>
698
  <div class="post-content">
699
  <div class="content">
700
  <?php if( $settings['show_title'] == 'yes' ): ?>
701
+ <h2><a href="<?php the_permalink();?>"><?php echo wp_trim_words( get_the_title(), $settings['title_length'], '' ); ?></a></h2>
702
  <?php endif; if( $settings['show_date'] == 'yes' ): ?>
703
  <div class="meta">
704
  <i class="fa fa-clock-o"></i>
746
  <div class="post-content">
747
  <div class="content">
748
  <?php if( $settings['show_title'] == 'yes' ): ?>
749
+ <h4><a href="<?php the_permalink();?>"><?php echo wp_trim_words( get_the_title(), $settings['title_length'], '' ); ?></a></h4>
750
  <?php endif; if( $settings['show_date'] == 'yes' ): ?>
751
  <div class="meta">
752
  <i class="fa fa-clock-o"></i>
791
  <div class="post-content">
792
  <div class="content">
793
  <?php if( $settings['show_title'] == 'yes' ): ?>
794
+ <h4><a href="<?php the_permalink();?>"><?php echo wp_trim_words( get_the_title(), $settings['title_length'], '' ); ?></a></h4>
795
  <?php endif; if( $settings['show_date'] == 'yes' ): ?>
796
  <div class="meta">
797
  <i class="fa fa-clock-o"></i>
840
  <div class="post-content">
841
  <div class="content">
842
  <?php if( $settings['show_title'] == 'yes' ): ?>
843
+ <h4><a href="<?php the_permalink();?>"><?php echo wp_trim_words( get_the_title(), $settings['title_length'], '' ); ?></a></h4>
844
  <?php endif; if( $settings['show_date'] == 'yes' ): ?>
845
  <div class="meta">
846
  <span class="meta-item date"><i class="fa fa-clock-o"></i>
884
  <div class="post-content">
885
  <div class="content">
886
  <?php if( $settings['show_title'] == 'yes' ): ?>
887
+ <h4><a href="<?php the_permalink();?>"><?php echo wp_trim_words( get_the_title(), $settings['title_length'], '' ); ?></a></h4>
888
  <?php endif; if( $settings['show_date'] == 'yes' ): ?>
889
  <div class="meta">
890
  <span class="meta-item date"><i class="fa fa-clock-o"></i><?php the_time(esc_html__('d F Y','htmega-addons'));?></span>
926
  <div class="post-content">
927
  <div class="content">
928
  <?php if( $settings['show_title'] == 'yes' ): ?>
929
+ <h4><a href="<?php the_permalink();?>"><?php echo wp_trim_words( get_the_title(), $settings['title_length'], '' ); ?></a></h4>
930
  <?php endif; if( $settings['show_date'] == 'yes' ): ?>
931
  <div class="meta">
932
  <span class="meta-item date"><i class="fa fa-clock-o"></i><?php the_time(esc_html__('d F Y','htmega-addons'));?></span>
968
  <div class="post-content">
969
  <div class="content">
970
  <?php if( $settings['show_title'] == 'yes' ): ?>
971
+ <h4><a href="<?php the_permalink();?>"><?php echo wp_trim_words( get_the_title(), $settings['title_length'], '' ); ?></a></h4>
972
  <?php endif; if( $settings['show_date'] == 'yes' ): ?>
973
  <div class="meta">
974
  <span class="meta-item date"><i class="fa fa-clock-o"></i><?php the_time(esc_html__('d F Y','htmega-addons'));?></span>
1012
  <div class="post-content">
1013
  <div class="content">
1014
  <?php if( $settings['show_title'] == 'yes' ): ?>
1015
+ <h4 class="title"><a href="<?php the_permalink();?>"><?php echo wp_trim_words( get_the_title(), $settings['title_length'], '' ); ?></a></h4>
1016
  <?php endif; if( $settings['show_date'] == 'yes' ): ?>
1017
  <div class="meta">
1018
  <span class="meta-item date"><i class="fa fa-clock-o"></i><?php the_time(esc_html__('d F Y','htmega-addons'));?></span>
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  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.2.4
6
- Stable tag: 1.3.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -179,6 +179,10 @@ August 05 - 2019:
179
 
180
  == Changelog ==
181
 
 
 
 
 
182
  = Version: 1.3.1 - Date: 2019-11-07 =
183
  * Theme Builder Single page and archive page default template setting issue solved.
184
  * Pricing Table Icon issue Solved.
2
  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.3
6
+ Stable tag: 1.3.2
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
179
 
180
  == Changelog ==
181
 
182
+ = Version: 1.3.2 - Date: 2019-11-24 =
183
+ * Post grid title length options added.
184
+ * Newsticker Style Issue Solved.
185
+
186
  = Version: 1.3.1 - Date: 2019-11-07 =
187
  * Theme Builder Single page and archive page default template setting issue solved.
188
  * Pricing Table Icon issue Solved.