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.4

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.4
Comparing to
See all releases

Code changes from version 1.3.3 to 1.3.4

admin/include/admin-setting.php CHANGED
@@ -34,8 +34,8 @@ class HTMega_Admin_Settings {
34
  $menu = 'add_menu_' . 'page';
35
  $menu(
36
  'htmega_panel',
37
- __( 'HTMega Addons', 'htmega-addons' ),
38
- __( 'HTMega Addons', 'htmega-addons' ),
39
  'htmega_addons_option_page',
40
  NULL,
41
  HTMEGA_ADDONS_PL_URL.'admin/assets/images/menu-icon.png',
@@ -620,7 +620,19 @@ class HTMega_Admin_Settings {
620
  'desc' => __( 'You can select 404 page from here.', 'htmega-addons' ),
621
  'type' => 'select',
622
  'default' => '0',
623
- 'options' => htmega_post_name('page')
 
 
 
 
 
 
 
 
 
 
 
 
624
  ),
625
 
626
  ),
34
  $menu = 'add_menu_' . 'page';
35
  $menu(
36
  'htmega_panel',
37
+ esc_html__( 'HTMega Addons', 'htmega-addons' ),
38
+ esc_html__( 'HTMega Addons', 'htmega-addons' ),
39
  'htmega_addons_option_page',
40
  NULL,
41
  HTMEGA_ADDONS_PL_URL.'admin/assets/images/menu-icon.png',
620
  'desc' => __( 'You can select 404 page from here.', 'htmega-addons' ),
621
  'type' => 'select',
622
  'default' => '0',
623
+ 'options' => htmega_post_name( 'page', -1 )
624
+ ),
625
+
626
+ array(
627
+ 'name' => 'loadpostlimit',
628
+ 'label' => __( 'Load Post in Elementor Addons', 'htmega-addons' ),
629
+ 'desc' => wp_kses_post( 'Load Post in Elementor Addons', 'htmega-addons' ),
630
+ 'min' => 1,
631
+ 'max' => 1000,
632
+ 'step' => '1',
633
+ 'type' => 'number',
634
+ 'default' => '20',
635
+ 'sanitize_callback' => 'floatval',
636
  ),
637
 
638
  ),
assets/css/htbbootstrap.css CHANGED
@@ -18,9 +18,10 @@ a {
18
  }
19
  @media (min-width:576px) {
20
  .htb-container {
21
- max-width: 540px;
 
22
  }
23
- }@media (min-width:768px) {
24
  .htb-container {
25
  max-width: 720px;
26
  }
18
  }
19
  @media (min-width:576px) {
20
  .htb-container {
21
+ max-width: 540px;
22
+ }
23
  }
24
+ @media (min-width:768px) {
25
  .htb-container {
26
  max-width: 720px;
27
  }
assets/css/htmega-widgets.css CHANGED
@@ -5958,11 +5958,32 @@ blockquote cite {
5958
  overflow: hidden;
5959
  position: relative;
5960
  }
 
 
 
5961
 
5962
  .htmega-instragram ul.htmega-instagram-list li a{
5963
  text-decoration: none;
5964
  }
5965
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5966
  /*Follow Instagram Btn*/
5967
  a.instagram_follow_btn {
5968
  background: #f75876 none repeat scroll 0 0;
@@ -15230,6 +15251,29 @@ a{
15230
  padding: 0;
15231
  }
15232
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15233
 
15234
  }
15235
 
@@ -15497,6 +15541,29 @@ a{
15497
  padding: 0;
15498
  }
15499
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15500
 
15501
 
15502
  }
5958
  overflow: hidden;
5959
  position: relative;
5960
  }
5961
+ .htmega-instragram ul.htmega-instagram-list li img{
5962
+ width: 100%;
5963
+ }
5964
 
5965
  .htmega-instragram ul.htmega-instagram-list li a{
5966
  text-decoration: none;
5967
  }
5968
 
5969
+ .htmegainstagram-column-1 .htmega-instragram ul.htmega-instagram-list li{
5970
+ width: 100%;
5971
+ }
5972
+ .htmegainstagram-column-2 .htmega-instragram ul.htmega-instagram-list li{
5973
+ width: 50%;
5974
+ }
5975
+ .htmegainstagram-column-3 .htmega-instragram ul.htmega-instagram-list li{
5976
+ width: 33.33%;
5977
+ }
5978
+
5979
+ .htmegainstagram-column-5 .htmega-instragram ul.htmega-instagram-list li{
5980
+ width: 20%;
5981
+ }
5982
+
5983
+ .htmegainstagram-column-6 .htmega-instragram ul.htmega-instagram-list li{
5984
+ width: 16.66%;
5985
+ }
5986
+
5987
  /*Follow Instagram Btn*/
5988
  a.instagram_follow_btn {
5989
  background: #f75876 none repeat scroll 0 0;
15251
  padding: 0;
15252
  }
15253
 
15254
+ /* Instragram */
15255
+ .htmegainstagram-column-tablet-1 .htmega-instragram ul.htmega-instagram-list li{
15256
+ width: 100%;
15257
+ }
15258
+ .htmegainstagram-column-tablet-2 .htmega-instragram ul.htmega-instagram-list li{
15259
+ width: 50%;
15260
+ }
15261
+ .htmegainstagram-column-tablet-3 .htmega-instragram ul.htmega-instagram-list li{
15262
+ width: 33.33%;
15263
+ }
15264
+
15265
+ .htmegainstagram-column-tablet-4 .htmega-instragram ul.htmega-instagram-list li{
15266
+ width: 25%;
15267
+ }
15268
+
15269
+ .htmegainstagram-column-tablet-5 .htmega-instragram ul.htmega-instagram-list li{
15270
+ width: 20%;
15271
+ }
15272
+
15273
+ .htmegainstagram-column-tablet-6 .htmega-instragram ul.htmega-instagram-list li{
15274
+ width: 16.66%;
15275
+ }
15276
+
15277
 
15278
  }
15279
 
15541
  padding: 0;
15542
  }
15543
 
15544
+ /* Instragram */
15545
+ .htmegainstagram-column-mobile-1 .htmega-instragram ul.htmega-instagram-list li{
15546
+ width: 100%;
15547
+ }
15548
+ .htmegainstagram-column-mobile-2 .htmega-instragram ul.htmega-instagram-list li{
15549
+ width: 50%;
15550
+ }
15551
+ .htmegainstagram-column-mobile-3 .htmega-instragram ul.htmega-instagram-list li{
15552
+ width: 33.33%;
15553
+ }
15554
+
15555
+ .htmegainstagram-column-mobile-4 .htmega-instragram ul.htmega-instagram-list li{
15556
+ width: 25%;
15557
+ }
15558
+
15559
+ .htmegainstagram-column-mobile-5 .htmega-instragram ul.htmega-instagram-list li{
15560
+ width: 20%;
15561
+ }
15562
+
15563
+ .htmegainstagram-column-mobile-6 .htmega-instragram ul.htmega-instagram-list li{
15564
+ width: 16.66%;
15565
+ }
15566
+
15567
 
15568
 
15569
  }
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.3
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.3' );
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.4
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.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 ) );
includes/class.htmega.php CHANGED
@@ -136,7 +136,7 @@ class HTMega_Addons_Elementor {
136
  require_once ( HTMEGA_ADDONS_PL_PATH.'includes/helper-function.php' );
137
  require_once ( HTMEGA_ADDONS_PL_PATH.'admin/admin-init.php' );
138
  require_once ( HTMEGA_ADDONS_PL_PATH.'includes/init.php' );
139
- require_once( HTMEGA_ADDONS_PL_PATH . 'includes/widgets_control.php' );
140
  require_once ( HTMEGA_ADDONS_PL_PATH.'includes/class.htmega-icon-manager.php' );
141
 
142
  // Extension Assest Management
136
  require_once ( HTMEGA_ADDONS_PL_PATH.'includes/helper-function.php' );
137
  require_once ( HTMEGA_ADDONS_PL_PATH.'admin/admin-init.php' );
138
  require_once ( HTMEGA_ADDONS_PL_PATH.'includes/init.php' );
139
+ require_once ( HTMEGA_ADDONS_PL_PATH . 'includes/widgets_control.php' );
140
  require_once ( HTMEGA_ADDONS_PL_PATH.'includes/class.htmega-icon-manager.php' );
141
 
142
  // Extension Assest Management
includes/helper-function.php CHANGED
@@ -98,7 +98,6 @@ if( !function_exists('htmega_get_taxonomies') ){
98
  */
99
  if( !function_exists('htmega_get_post_types') ){
100
  function htmega_get_post_types( $args = [] ) {
101
-
102
  $post_type_args = [
103
  'show_in_nav_menus' => true,
104
  ];
@@ -185,10 +184,13 @@ if( !function_exists('htmega_contact_form_seven') ){
185
  * return array
186
  */
187
  if( !function_exists('htmega_post_name') ){
188
- function htmega_post_name ( $post_type = 'post' ){
 
 
 
189
  $options = array();
190
  $options = ['0' => esc_html__( 'None', 'htmega-addons' )];
191
- $wh_post = array( 'posts_per_page' => -1, 'post_type'=> $post_type );
192
  $wh_post_terms = get_posts( $wh_post );
193
  if ( ! empty( $wh_post_terms ) && ! is_wp_error( $wh_post_terms ) ){
194
  foreach ( $wh_post_terms as $term ) {
98
  */
99
  if( !function_exists('htmega_get_post_types') ){
100
  function htmega_get_post_types( $args = [] ) {
 
101
  $post_type_args = [
102
  'show_in_nav_menus' => true,
103
  ];
184
  * return array
185
  */
186
  if( !function_exists('htmega_post_name') ){
187
+ function htmega_post_name ( $post_type = 'post', $limit = 'default' ){
188
+ if( $limit === 'default' ){
189
+ $limit = htmega_get_option( 'loadpostlimit', 'htmega_general_tabs', '20' );
190
+ }
191
  $options = array();
192
  $options = ['0' => esc_html__( 'None', 'htmega-addons' )];
193
+ $wh_post = array( 'posts_per_page' => $limit, 'post_type'=> $post_type );
194
  $wh_post_terms = get_posts( $wh_post );
195
  if ( ! empty( $wh_post_terms ) && ! is_wp_error( $wh_post_terms ) ){
196
  foreach ( $wh_post_terms as $term ) {
includes/widgets/htmega_instagram.php CHANGED
@@ -77,16 +77,48 @@ class HTMega_Elementor_Widget_Instagram extends Widget_Base {
77
  $this->add_control(
78
  'limit',
79
  [
80
- 'label' => __( 'Item Limit (Max 12)', 'htmega-addons' ),
81
  'type' => Controls_Manager::NUMBER,
82
  'min' => 1,
83
- 'max' => 20,
84
  'step' => 1,
85
  'default' => 8,
86
  'separator'=>'before',
87
  ]
88
  );
89
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  $this->add_control(
91
  'instagram_image_size',
92
  [
@@ -1312,7 +1344,7 @@ class HTMega_Elementor_Widget_Instagram extends Widget_Base {
1312
  $item['likes'] = $item_object->likes->count;
1313
  $username = $item_object->user->username;
1314
  $profile_link = 'https://www.instagram.com/'.$username;
1315
- $items[] = $item;
1316
  }
1317
  }
1318
  }
77
  $this->add_control(
78
  'limit',
79
  [
80
+ 'label' => __( 'Item Limit', 'htmega-addons' ),
81
  'type' => Controls_Manager::NUMBER,
82
  'min' => 1,
83
+ 'max' => 200,
84
  'step' => 1,
85
  'default' => 8,
86
  'separator'=>'before',
87
  ]
88
  );
89
 
90
+ $this->add_responsive_control(
91
+ 'instagram_column',
92
+ [
93
+ 'label' => __( 'Column', 'htmega-addons' ),
94
+ 'type' => Controls_Manager::SELECT,
95
+ 'description' => wp_kses_post( 'If the slider is off, Then it will work.', 'htmega-addons' ),
96
+ 'prefix_class' => 'htmegainstagram-column%s-',
97
+ 'default' => '4',
98
+ 'required' => true,
99
+ 'device_args' => [
100
+ Controls_Stack::RESPONSIVE_TABLET => [
101
+ 'required' => false,
102
+ ],
103
+ Controls_Stack::RESPONSIVE_MOBILE => [
104
+ 'required' => false,
105
+ ],
106
+ ],
107
+ 'min_affected_device' => [
108
+ Controls_Stack::RESPONSIVE_DESKTOP => Controls_Stack::RESPONSIVE_TABLET,
109
+ Controls_Stack::RESPONSIVE_TABLET => Controls_Stack::RESPONSIVE_TABLET,
110
+ ],
111
+ 'options' => [
112
+ '1' => __( '1', 'htmega-addons' ),
113
+ '2' => __( '2', 'htmega-addons' ),
114
+ '3' => __( '3', 'htmega-addons' ),
115
+ '4' => __( '4', 'htmega-addons' ),
116
+ '5' => __( '5', 'htmega-addons' ),
117
+ '6' => __( '6', 'htmega-addons' ),
118
+ ],
119
+ ]
120
+ );
121
+
122
  $this->add_control(
123
  'instagram_image_size',
124
  [
1344
  $item['likes'] = $item_object->likes->count;
1345
  $username = $item_object->user->username;
1346
  $profile_link = 'https://www.instagram.com/'.$username;
1347
+ $items[] = $item;
1348
  }
1349
  }
1350
  }
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.3.2
6
- Stable tag: 1.3.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -140,6 +140,9 @@ This feature allows creating menu or mega menu using the Elementor page builder.
140
  > 18 Elementor Widget
141
  > [WooCommerce Template Builder](https://wordpress.org/plugins/woolentor-addons/)
142
 
 
 
 
143
  == Common Issues and Solutions: ==
144
  1. Elementor editor fails to load
145
  Ans. It is due to your server PHP setting. You can increase PHP memory limit from wp-config.php file or php.ini file
@@ -176,9 +179,20 @@ August 26 - 2019:
176
  August 05 - 2019:
177
  1. Includes Template Library.
178
 
 
 
 
 
 
 
 
179
 
180
  == Changelog ==
181
 
 
 
 
 
182
  = Version: 1.3.3 - Date: 2019-12-30 =
183
  * Setting Page Redirect Issue Solved.
184
 
3
  Tags: Elementor, Elementor Addons, Elementor Widgets, elementor page builder, Elementor Blocks
4
  Requires at least: 4.7
5
  Tested up to: 5.3.2
6
+ Stable tag: 1.3.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
140
  > 18 Elementor Widget
141
  > [WooCommerce Template Builder](https://wordpress.org/plugins/woolentor-addons/)
142
 
143
+ == Free WooCommerce Themes ==
144
+ [99fy - Free WooCommerce Themes](https://hasthemes.com/8tr5) is one of our best free WooCommerce Themes, free version includes 99 home pages with 24 niches. Free and pro version is available. [TRY FREE VERSION OF 99FY](https://hasthemes.com/8tr5)
145
+
146
  == Common Issues and Solutions: ==
147
  1. Elementor editor fails to load
148
  Ans. It is due to your server PHP setting. You can increase PHP memory limit from wp-config.php file or php.ini file
179
  August 05 - 2019:
180
  1. Includes Template Library.
181
 
182
+
183
+ == Check out our other projects ==
184
+ * [WooLentor](https://wordpress.org/plugins/woolentor-addons/) - WooCommerce page builder for Elementor Addon. Create unlimited product grid, layouts, custom product and shop pages layouts.
185
+ *[WC Builder](https://wordpress.org/plugins/wc-builder/) – WooCommerce Page Builder for WPBakery. Create custom product and Shop pages easily.
186
+ *[WP Plugin Manager](https://wordpress.org/plugins/wp-plugin-manager/) – Deactivate plugins per page will help to reduce page size, increase website performamnce and speed.
187
+
188
+ Visit [HasThemes](https://hasthemes.com/) for more details about HTML, Shopify and WordPress products and services.
189
 
190
  == Changelog ==
191
 
192
+ = Version: 1.3.4 - Date: 2020-01-14 =
193
+ * Addons Post load limit added.
194
+ * Instagram Device wise column control option added.
195
+
196
  = Version: 1.3.3 - Date: 2019-12-30 =
197
  * Setting Page Redirect Issue Solved.
198