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

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

Code changes from version 1.4.8 to 1.5.0

admin/include/admin-setting.php CHANGED
@@ -1180,7 +1180,6 @@ class HTMega_Admin_Settings {
1180
  <li class="fedel"><del><?php echo esc_html__( 'Content color option', 'htmega-addons');?></del></li>
1181
  <li class="fedel"><del><?php echo esc_html__( 'Cross icon color option', 'htmega-addons');?></del></li>
1182
  </ul>
1183
- <a class="button button-primary" href="<?php echo esc_url( admin_url() ); ?>/plugin-install.php" target="_blank"><?php echo esc_html__( 'Install Now', 'htmega-addons' ); ?></a>
1184
  </div>
1185
  <div class="features-list-area">
1186
  <h3><?php echo esc_html__( 'HTMega Pro', 'htmega-addons' ); ?></h3>
1180
  <li class="fedel"><del><?php echo esc_html__( 'Content color option', 'htmega-addons');?></del></li>
1181
  <li class="fedel"><del><?php echo esc_html__( 'Cross icon color option', 'htmega-addons');?></del></li>
1182
  </ul>
 
1183
  </div>
1184
  <div class="features-list-area">
1185
  <h3><?php echo esc_html__( 'HTMega Pro', 'htmega-addons' ); ?></h3>
assets/css/htmega-widgets.css CHANGED
@@ -2863,6 +2863,9 @@ ul.brand-list li a{
2863
  }
2864
 
2865
  /*Testimonial Style One*/
 
 
 
2866
  .htmega-testimonial-style-1 .testimonal {
2867
  text-align: center;
2868
  }
@@ -2922,6 +2925,7 @@ ul.brand-list li a{
2922
  transform: translate(-50%, -50%);
2923
  border: 1px solid #6e6e6e;
2924
  border-radius: 100%;
 
2925
  }
2926
 
2927
  .htmega-testimonial-style-2 .testimonal .content {
@@ -4211,6 +4215,9 @@ textarea {
4211
  text-decoration: none;
4212
  }
4213
 
 
 
 
4214
  .htmega-service .thumb a {
4215
  display: block;
4216
  }
@@ -9074,11 +9081,8 @@ button.htmega-notify-button {
9074
 
9075
  .htmega-error-style-3 .content a.page-back-btn {
9076
  background: #fd5c5e;
9077
- width: 80px;
9078
  display: inline-block;
9079
- height: 80px;
9080
- border-radius: 100%;
9081
- line-height: 80px;
9082
  color: #d5cff2;
9083
  font-size: 36px;
9084
  transition: 0.5s ease-in-out;
@@ -9093,7 +9097,6 @@ button.htmega-notify-button {
9093
  transform: scale(1.2);
9094
  background: #18012c;
9095
  color: #ffffff;
9096
- border-radius: 100%;
9097
  }
9098
 
9099
  /*404 Styly 04*/
@@ -9154,6 +9157,9 @@ button.htmega-notify-button {
9154
  .htmega-counter-icon svg {
9155
  width: 20px;
9156
  }
 
 
 
9157
 
9158
  /*Counterup Style 1*/
9159
  .htmega-counter-style-1 {
@@ -14627,6 +14633,7 @@ a.htmega-downloadbtn {
14627
  /* Activate hardware acceleration for smoother animations */
14628
  -webkit-transform: translate3d(0, 0, 0);
14629
  -webkit-backface-visibility: hidden;
 
14630
  }
14631
 
14632
 
2863
  }
2864
 
2865
  /*Testimonial Style One*/
2866
+ .htmega-testimonial-activation {
2867
+ z-index: 1;
2868
+ }
2869
  .htmega-testimonial-style-1 .testimonal {
2870
  text-align: center;
2871
  }
2925
  transform: translate(-50%, -50%);
2926
  border: 1px solid #6e6e6e;
2927
  border-radius: 100%;
2928
+ max-width: 100%;
2929
  }
2930
 
2931
  .htmega-testimonial-style-2 .testimonal .content {
4215
  text-decoration: none;
4216
  }
4217
 
4218
+ .htmega-service .thumb{
4219
+ display: inline-block;
4220
+ }
4221
  .htmega-service .thumb a {
4222
  display: block;
4223
  }
9081
 
9082
  .htmega-error-style-3 .content a.page-back-btn {
9083
  background: #fd5c5e;
 
9084
  display: inline-block;
9085
+ border-radius: 31px;
 
 
9086
  color: #d5cff2;
9087
  font-size: 36px;
9088
  transition: 0.5s ease-in-out;
9097
  transform: scale(1.2);
9098
  background: #18012c;
9099
  color: #ffffff;
 
9100
  }
9101
 
9102
  /*404 Styly 04*/
9157
  .htmega-counter-icon svg {
9158
  width: 20px;
9159
  }
9160
+ .htmega-counter-area .htmega-counter-img{
9161
+ display: inline-block;
9162
+ }
9163
 
9164
  /*Counterup Style 1*/
9165
  .htmega-counter-style-1 {
14633
  /* Activate hardware acceleration for smoother animations */
14634
  -webkit-transform: translate3d(0, 0, 0);
14635
  -webkit-backface-visibility: hidden;
14636
+ background-color: #007bff;
14637
  }
14638
 
14639
 
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.8
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.8' );
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.5.0
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.5.0' );
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
@@ -609,6 +609,67 @@ class HTMega_Elementor_Widget_Accordion extends Widget_Base {
609
 
610
  $this->end_controls_section(); // Title style tab end
611
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
612
 
613
  // Title Three style tab start
614
  $this->start_controls_section(
609
 
610
  $this->end_controls_section(); // Title style tab end
611
 
612
+ // Title Three style collapesd tab start
613
+ $this->start_controls_section(
614
+ 'htmega_accordion_title_three_collapsed_style',
615
+ [
616
+ 'label' => __( 'Accordion Title Collapsed', 'htmega-addons' ),
617
+ 'tab' => Controls_Manager::TAB_STYLE,
618
+ 'condition' => [
619
+ 'accordiantstyle' => array( 'three'),
620
+ ],
621
+ ]
622
+ );
623
+
624
+ $this->add_responsive_control(
625
+ 'title_three_collapsed_align',
626
+ [
627
+ 'label' => __( 'Alignment', 'htmega-addons' ),
628
+ 'type' => Controls_Manager::CHOOSE,
629
+ 'options' => [
630
+ 'left' => [
631
+ 'title' => __( 'Left', 'htmega-addons' ),
632
+ 'icon' => 'fa fa-align-left',
633
+ ],
634
+ 'center' => [
635
+ 'title' => __( 'Center', 'htmega-addons' ),
636
+ 'icon' => 'fa fa-align-center',
637
+ ],
638
+ 'right' => [
639
+ 'title' => __( 'Right', 'htmega-addons' ),
640
+ 'icon' => 'fa fa-align-right',
641
+ ],
642
+ ],
643
+ 'selectors' => [
644
+ '{{WRAPPER}} .accordion--4 .heading' => 'text-align: {{VALUE}};',
645
+ ],
646
+ ]
647
+ );
648
+
649
+ $this->add_control(
650
+ 'accordion_title_three_collapsed_color',
651
+ [
652
+ 'label' => __( 'Color', 'htmega-addons' ),
653
+ 'type' => Controls_Manager::COLOR,
654
+ 'selectors' => [
655
+ '{{WRAPPER}} .accordion--4 .heading' => 'color: {{VALUE}};',
656
+ ],
657
+ 'separator' => 'before',
658
+ ]
659
+ );
660
+
661
+ $this->add_group_control(
662
+ Group_Control_Background::get_type(),
663
+ [
664
+ 'name' => 'title_three_collapsed_background',
665
+ 'label' => __( 'Background', 'htmega-addons' ),
666
+ 'types' => [ 'classic', 'gradient' ],
667
+ 'selector' => '{{WRAPPER}} .accordion--4 .heading',
668
+ ]
669
+ );
670
+
671
+ // Title Three style collapesd tab end
672
+ $this->end_controls_section();
673
 
674
  // Title Three style tab start
675
  $this->start_controls_section(
includes/widgets/htmega_button.php CHANGED
@@ -38,7 +38,6 @@ class HTMega_Elementor_Widget_Button extends Widget_Base {
38
  'options' => [
39
  '1' => __( 'Style One', 'htmega-addons' ),
40
  '2' => __( 'Style Two', 'htmega-addons' ),
41
- '3' => __( 'Style Three', 'htmega-addons' ),
42
  ],
43
  ]
44
  );
@@ -70,25 +69,6 @@ class HTMega_Elementor_Widget_Button extends Widget_Base {
70
  ]
71
  );
72
 
73
- $this->add_control(
74
- 'button_type',
75
- [
76
- 'label' => __( 'Button Type', 'htmega-addons' ),
77
- 'type' => Controls_Manager::SELECT,
78
- 'default' => 'primary',
79
- 'options' => [
80
- 'primary' => __( 'Primary', 'htmega-addons' ),
81
- 'secondary' => __( 'Secondary', 'htmega-addons' ),
82
- 'success' => __( 'Success', 'htmega-addons' ),
83
- 'danger' => __( 'Danger', 'htmega-addons' ),
84
- 'warning' => __( 'Warning', 'htmega-addons' ),
85
- 'info' => __( 'Info', 'htmega-addons' ),
86
- 'light' => __( 'Light', 'htmega-addons' ),
87
- 'dark' => __( 'Dark', 'htmega-addons' ),
88
- ],
89
- ]
90
- );
91
-
92
  $this->add_control(
93
  'button_size',
94
  [
@@ -268,12 +248,40 @@ class HTMega_Elementor_Widget_Button extends Widget_Base {
268
  ]
269
  );
270
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
271
  $this->add_group_control(
272
  Group_Control_Box_Shadow::get_type(),
273
  [
274
  'name' => 'box_shadow',
275
  'label' => __( 'Box Shadow', 'htmega-addons' ),
276
  'selector' => '{{WRAPPER}} .htmega-button .htb-btn',
 
277
  ]
278
  );
279
 
@@ -355,6 +363,33 @@ class HTMega_Elementor_Widget_Button extends Widget_Base {
355
  ]
356
  );
357
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
358
  $this->add_group_control(
359
  Group_Control_Box_Shadow::get_type(),
360
  [
@@ -585,7 +620,6 @@ class HTMega_Elementor_Widget_Button extends Widget_Base {
585
  }
586
 
587
  $this->add_render_attribute( 'url', 'class', 'htb-btn' );
588
- $this->add_render_attribute( 'url', 'class', 'htb-btn-outline-'. $settings['button_type'] );
589
  $this->add_render_attribute( 'url', 'class', 'htmega-btn-size-'. $settings['button_size'] );
590
  $this->add_render_attribute( 'url', 'class', 'htmega-btn-effect-'. $settings['button_effect'] );
591
 
38
  'options' => [
39
  '1' => __( 'Style One', 'htmega-addons' ),
40
  '2' => __( 'Style Two', 'htmega-addons' ),
 
41
  ],
42
  ]
43
  );
69
  ]
70
  );
71
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  $this->add_control(
73
  'button_size',
74
  [
248
  ]
249
  );
250
 
251
+ $this->add_control(
252
+ 'button_second_background_heading',
253
+ [
254
+ 'label' => __( 'Second Background', 'htmega-addons' ),
255
+ 'type' => Controls_Manager::HEADING,
256
+ 'separator' => 'before'
257
+ ]
258
+ );
259
+
260
+ $this->add_group_control(
261
+ Group_Control_Background::get_type(),
262
+ [
263
+ 'name' => 'button_second_background',
264
+ 'label' => __( 'Background', 'htmega-addons' ),
265
+ 'types' => [ 'classic', 'gradient' ],
266
+ 'fields_options'=>[
267
+ 'background'=>[
268
+ 'default'=>'classic',
269
+ ]
270
+ ],
271
+ 'selector' => '{{WRAPPER}} .htmega-btn-style-2 .htb-btn::after',
272
+ 'condition' => array(
273
+ 'button_style' => '2'
274
+ )
275
+ ]
276
+ );
277
+
278
  $this->add_group_control(
279
  Group_Control_Box_Shadow::get_type(),
280
  [
281
  'name' => 'box_shadow',
282
  'label' => __( 'Box Shadow', 'htmega-addons' ),
283
  'selector' => '{{WRAPPER}} .htmega-button .htb-btn',
284
+ 'separator' => 'before',
285
  ]
286
  );
287
 
363
  ]
364
  );
365
 
366
+ $this->add_control(
367
+ 'buttonhover_second_background_heading',
368
+ [
369
+ 'label' => __( 'Second Background', 'htmega-addons' ),
370
+ 'type' => Controls_Manager::HEADING,
371
+ 'separator' => 'before'
372
+ ]
373
+ );
374
+
375
+ $this->add_group_control(
376
+ Group_Control_Background::get_type(),
377
+ [
378
+ 'name' => 'buttonhover_second_background',
379
+ 'label' => __( 'Background', 'htmega-addons' ),
380
+ 'types' => [ 'classic', 'gradient' ],
381
+ 'fields_options'=>[
382
+ 'background'=>[
383
+ 'default'=>'classic',
384
+ ]
385
+ ],
386
+ 'selector' => '{{WRAPPER}} .htmega-btn-style-2 .htb-btn:hover::after',
387
+ 'condition' => array(
388
+ 'button_style' => '2'
389
+ )
390
+ ]
391
+ );
392
+
393
  $this->add_group_control(
394
  Group_Control_Box_Shadow::get_type(),
395
  [
620
  }
621
 
622
  $this->add_render_attribute( 'url', 'class', 'htb-btn' );
 
623
  $this->add_render_attribute( 'url', 'class', 'htmega-btn-size-'. $settings['button_size'] );
624
  $this->add_render_attribute( 'url', 'class', 'htmega-btn-effect-'. $settings['button_effect'] );
625
 
includes/widgets/htmega_inline_menu.php CHANGED
@@ -55,9 +55,6 @@ class HTMega_Elementor_Widget_InlineMenu extends Widget_Base {
55
  '5' => __( 'Style Five', 'htmega-addons' ),
56
  '6' => __( 'Style Six', 'htmega-addons' ),
57
  '7' => __( 'Style Seven', 'htmega-addons' ),
58
- '8' => __( 'Style Eight', 'htmega-addons' ),
59
- '9' => __( 'Style Nine', 'htmega-addons' ),
60
- '10' => __( 'Style Ten', 'htmega-addons' ),
61
  ],
62
  ]
63
  );
55
  '5' => __( 'Style Five', 'htmega-addons' ),
56
  '6' => __( 'Style Six', 'htmega-addons' ),
57
  '7' => __( 'Style Seven', 'htmega-addons' ),
 
 
 
58
  ],
59
  ]
60
  );
includes/widgets/htmega_instagram.php CHANGED
@@ -23,6 +23,7 @@ class HTMega_Elementor_Widget_Instagram extends Widget_Base {
23
 
24
  public function get_style_depends() {
25
  return [
 
26
  'slick',
27
  ];
28
  }
@@ -1518,130 +1519,158 @@ class HTMega_Elementor_Widget_Instagram extends Widget_Base {
1518
 
1519
  //image size
1520
  var image_index = typeof image_sizes[img_size] !== "undefined" ? image_sizes[img_size] : image_sizes[640];
1521
-
1522
- $.instagramFeed({
1523
- 'username': username,
1524
- 'callback': function( data ){
1525
- var html = "<ul class='htmega-instagram-list'>";
1526
- var imgs = (data.edge_owner_to_timeline_media || data.edge_hashtag_to_media).edges,
1527
- max = ( imgs.length > limit ) ? limit : imgs.length;
1528
-
1529
- for (var i = 0; i < max; i++) {
1530
- var url = "https://www.instagram.com/p/" + imgs[i].node.shortcode,
1531
- image, fullimage, type_resource, caption;
1532
-
1533
- switch (imgs[i].node.__typename) {
1534
- case "GraphSidecar":
1535
- type_resource = "sidecar"
1536
- image = imgs[i].node.thumbnail_resources[image_index].src;
1537
- fullimage = imgs[i].node.thumbnail_src;
1538
- break;
1539
- case "GraphVideo":
1540
- type_resource = "video";
1541
- image = imgs[i].node.thumbnail_src
1542
- fullimage = imgs[i].node.thumbnail_src;
1543
- break;
1544
- default:
1545
- type_resource = "image";
1546
- image = imgs[i].node.thumbnail_resources[image_index].src;
1547
- fullimage = imgs[i].node.thumbnail_src;
1548
- }
1549
-
1550
- if (
1551
- typeof imgs[i].node.edge_media_to_caption.edges[0] !== "undefined" &&
1552
- typeof imgs[i].node.edge_media_to_caption.edges[0].node !== "undefined" &&
1553
- typeof imgs[i].node.edge_media_to_caption.edges[0].node.text !== "undefined" &&
1554
- imgs[i].node.edge_media_to_caption.edges[0].node.text !== null
1555
- ) {
1556
- caption = imgs[i].node.edge_media_to_caption.edges[0].node.text;
1557
- } else if (
1558
- typeof imgs[i].node.accessibility_caption !== "undefined" &&
1559
- imgs[i].node.accessibility_caption !== null
1560
- ) {
1561
- caption = imgs[i].node.accessibility_caption;
1562
- } else {
1563
- caption = (is_tag ? data.name : data.username) + " image " + i;
1564
- }
1565
 
1566
- html += '<li>';
1567
- html += "<a href='" + url + "' rel='noopener' target='_blank'>";
1568
- html += "<img" + (lazy_load == 'yes' ? " loading='lazy'" : '') +" src='" + image + "' alt='" + caption + "' />";
1569
- html += "</a>";
1570
-
1571
- if( comment == 'yes' || like == 'yes' || lightbox == 'yes' ){
1572
-
1573
- html += '<div class="instagram-clip"><div class="htmega-content">';
1574
-
1575
- if( comment == 'yes' || like == 'yes' ){
1576
- html += '<div class="instagram-like-comment">';
1577
- if( like == 'yes' ){
1578
- html += '<span class="like">'+like_icon+imgs[i].node.edge_liked_by.count+'</span>';
1579
- }
1580
- if( comment == 'yes' ){
1581
- html += '<span class="comment">'+comment_icon+imgs[i].node.edge_media_to_comment.count+'</span>';
1582
- }
1583
- html +='</div>';
1584
- }
1585
-
1586
- if( lightbox == 'yes' ){
1587
- html += '<div class="instagram-btn">';
1588
- html += '<a class="image-popup-vertical-fit" href="'+ fullimage +'">'+zoo_image+'</a>';
1589
- html += '</div>';
1590
- }
1591
-
1592
- html += '</div></div>';
1593
- }
1594
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1595
 
1596
- html += '</li>';
 
 
 
 
 
 
 
 
 
 
 
 
 
1597
  }
1598
 
1599
- html += '</ul>';
1600
-
1601
- $( "#htmega-instagram-list-"+id ).html( html );
 
1602
 
1603
- }
1604
- });
1605
 
1606
- if( slider_on == 'yes' ){
1607
- $("#htmega-instagram-list-"+id).on("DOMNodeInserted", function (e) {
1608
- if (e.target.className == 'htmega-instagram-list') {
1609
- $("#htmega-instagram-list-"+id+" ." + e.target.className).slick({
1610
- arrows: arrows,
1611
- prevArrow: '<button class="htmega-carosul-prev">'+arrow_prev_txt+'</button>',
1612
- nextArrow: '<button class="htmega-carosul-next">'+arrow_next_txt+'</button>',
1613
- dots: dots,
1614
- infinite: true,
1615
- autoplay: autoplay,
1616
- autoplaySpeed: autoplay_speed,
1617
- speed: animation_speed,
1618
- fade: false,
1619
- pauseOnHover: pause_on_hover,
1620
- slidesToShow: display_columns,
1621
- slidesToScroll: scroll_columns,
1622
- centerMode: center_mode,
1623
- centerPadding: center_padding,
1624
- responsive: [
1625
- {
1626
- breakpoint: tablet_width,
1627
- settings: {
1628
- slidesToShow: tablet_display_columns,
1629
- slidesToScroll: tablet_scroll_columns
1630
- }
1631
- },
1632
- {
1633
- breakpoint: mobile_width,
1634
- settings: {
1635
- slidesToShow: mobile_display_columns,
1636
- slidesToScroll: mobile_scroll_columns
1637
- }
1638
  }
1639
- ]
1640
- })
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1641
  }
1642
  });
1643
  }
1644
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1645
  });
1646
  </script>
1647
 
23
 
24
  public function get_style_depends() {
25
  return [
26
+ 'elementor-icons-shared-0-css','elementor-icons-fa-brands','elementor-icons-fa-regular','elementor-icons-fa-solid',
27
  'slick',
28
  ];
29
  }
1519
 
1520
  //image size
1521
  var image_index = typeof image_sizes[img_size] !== "undefined" ? image_sizes[img_size] : image_sizes[640];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1522
 
1523
+ // Clear localStorage data
1524
+ var clearLocalData = 'no';
1525
+ if( clearLocalData == 'yes' ){
1526
+ window.localStorage.clear();
1527
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1528
 
1529
+ // Display Instagram item
1530
+ function htMegaDisplayInstagramFeed( data ){
1531
+ var html = "<ul class='htmega-instagram-list'>";
1532
+ var imgs = (data.edge_owner_to_timeline_media || data.edge_hashtag_to_media).edges,
1533
+ max = ( imgs.length > limit ) ? limit : imgs.length;
1534
+
1535
+ for (var i = 0; i < max; i++) {
1536
+ var url = "https://www.instagram.com/p/" + imgs[i].node.shortcode,
1537
+ image, fullimage, type_resource, caption;
1538
+
1539
+ switch (imgs[i].node.__typename) {
1540
+ case "GraphSidecar":
1541
+ type_resource = "sidecar"
1542
+ image = imgs[i].node.thumbnail_resources[image_index].src;
1543
+ fullimage = imgs[i].node.thumbnail_src;
1544
+ break;
1545
+ case "GraphVideo":
1546
+ type_resource = "video";
1547
+ image = imgs[i].node.thumbnail_src
1548
+ fullimage = imgs[i].node.thumbnail_src;
1549
+ break;
1550
+ default:
1551
+ type_resource = "image";
1552
+ image = imgs[i].node.thumbnail_resources[image_index].src;
1553
+ fullimage = imgs[i].node.thumbnail_src;
1554
+ }
1555
 
1556
+ if (
1557
+ typeof imgs[i].node.edge_media_to_caption.edges[0] !== "undefined" &&
1558
+ typeof imgs[i].node.edge_media_to_caption.edges[0].node !== "undefined" &&
1559
+ typeof imgs[i].node.edge_media_to_caption.edges[0].node.text !== "undefined" &&
1560
+ imgs[i].node.edge_media_to_caption.edges[0].node.text !== null
1561
+ ) {
1562
+ caption = imgs[i].node.edge_media_to_caption.edges[0].node.text;
1563
+ } else if (
1564
+ typeof imgs[i].node.accessibility_caption !== "undefined" &&
1565
+ imgs[i].node.accessibility_caption !== null
1566
+ ) {
1567
+ caption = imgs[i].node.accessibility_caption;
1568
+ } else {
1569
+ caption = (is_tag ? data.name : data.username) + " image " + i;
1570
  }
1571
 
1572
+ html += '<li>';
1573
+ html += "<a href='" + url + "' rel='noopener' target='_blank'>";
1574
+ html += "<img" + (lazy_load == 'yes' ? " loading='lazy'" : '') +" src='" + image + "' alt='" + caption + "' />";
1575
+ html += "</a>";
1576
 
1577
+ if( comment == 'yes' || like == 'yes' || lightbox == 'yes' ){
 
1578
 
1579
+ html += '<div class="instagram-clip"><div class="htmega-content">';
1580
+
1581
+ if( comment == 'yes' || like == 'yes' ){
1582
+ html += '<div class="instagram-like-comment">';
1583
+ if( like == 'yes' ){
1584
+ html += '<span class="like">'+like_icon+imgs[i].node.edge_liked_by.count+'</span>';
1585
+ }
1586
+ if( comment == 'yes' ){
1587
+ html += '<span class="comment">'+comment_icon+imgs[i].node.edge_media_to_comment.count+'</span>';
1588
+ }
1589
+ html +='</div>';
1590
+ }
1591
+
1592
+ if( lightbox == 'yes' ){
1593
+ html += '<div class="instagram-btn">';
1594
+ html += '<a class="image-popup-vertical-fit" href="'+ fullimage +'">'+zoo_image+'</a>';
1595
+ html += '</div>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1596
  }
1597
+
1598
+ html += '</div></div>';
1599
+ }
1600
+
1601
+
1602
+ html += '</li>';
1603
+ }
1604
+
1605
+ html += '</ul>';
1606
+
1607
+ $( "#htmega-instagram-list-"+id ).html( html );
1608
+ }
1609
+
1610
+ // Instagram Feed
1611
+ if( window.localStorage.getItem( "htmega_instragram_local_data_status"+id ) === 'true' ){
1612
+ var localdata = window.localStorage.getItem( "htmega_instragram_local_data_"+id );
1613
+ htMegaDisplayInstagramFeed( JSON.parse( localdata ) );
1614
+ }else{
1615
+ $.instagramFeed({
1616
+ 'username': username,
1617
+ 'callback': function( data ){
1618
+ window.localStorage.setItem( "htmega_instragram_local_data_"+id, JSON.stringify( data ) );
1619
+ window.localStorage.setItem( "htmega_instragram_local_data_status"+id, 'true' );
1620
+ htMegaDisplayInstagramFeed( data );
1621
  }
1622
  });
1623
  }
1624
 
1625
+ if( slider_on == 'yes' ){
1626
+
1627
+ function htMegaInstagramSlider( selector = 'htmega-instagram-list' ){
1628
+ $("#htmega-instagram-list-"+id+" ." + selector ).slick({
1629
+ arrows: arrows,
1630
+ prevArrow: '<button class="htmega-carosul-prev">'+arrow_prev_txt+'</button>',
1631
+ nextArrow: '<button class="htmega-carosul-next">'+arrow_next_txt+'</button>',
1632
+ dots: dots,
1633
+ infinite: true,
1634
+ autoplay: autoplay,
1635
+ autoplaySpeed: autoplay_speed,
1636
+ speed: animation_speed,
1637
+ fade: false,
1638
+ pauseOnHover: pause_on_hover,
1639
+ slidesToShow: display_columns,
1640
+ slidesToScroll: scroll_columns,
1641
+ centerMode: center_mode,
1642
+ centerPadding: center_padding,
1643
+ responsive: [
1644
+ {
1645
+ breakpoint: tablet_width,
1646
+ settings: {
1647
+ slidesToShow: tablet_display_columns,
1648
+ slidesToScroll: tablet_scroll_columns
1649
+ }
1650
+ },
1651
+ {
1652
+ breakpoint: mobile_width,
1653
+ settings: {
1654
+ slidesToShow: mobile_display_columns,
1655
+ slidesToScroll: mobile_scroll_columns
1656
+ }
1657
+ }
1658
+ ]
1659
+ })
1660
+ }
1661
+
1662
+ if( window.localStorage.getItem( "htmega_instragram_local_data_status"+id ) === 'true' ){
1663
+ htMegaInstagramSlider();
1664
+ }else{
1665
+ $("#htmega-instagram-list-"+id).on("DOMNodeInserted", function (e) {
1666
+ if ( e.target.className == 'htmega-instagram-list' ) {
1667
+ htMegaInstagramSlider();
1668
+ }
1669
+ });
1670
+ }
1671
+
1672
+ }
1673
+
1674
  });
1675
  </script>
1676
 
includes/widgets/htmega_pricing_table.php CHANGED
@@ -533,6 +533,19 @@ class HTMega_Elementor_Widget_Pricing_Table extends Widget_Base {
533
  ]
534
  );
535
 
 
 
 
 
 
 
 
 
 
 
 
 
 
536
  $this->add_group_control(
537
  Group_Control_Typography::get_type(),
538
  [
533
  ]
534
  );
535
 
536
+ $this->add_group_control(
537
+ Group_Control_Background::get_type(),
538
+ [
539
+ 'name' => 'pricing_header_title_background',
540
+ 'label' => __( 'Background', 'htmega-addons' ),
541
+ 'types' => [ 'classic', 'gradient' ],
542
+ 'selector' => '{{WRAPPER}} .htmega-pricing-heading .title h2',
543
+ 'condition' =>[
544
+ 'htmega_pricing_style' => array('1'),
545
+ ],
546
+ ]
547
+ );
548
+
549
  $this->add_group_control(
550
  Group_Control_Typography::get_type(),
551
  [
includes/widgets/htmega_progressbar.php CHANGED
@@ -54,7 +54,7 @@ class HTMega_Elementor_Widget_Progress_Bar extends Widget_Base {
54
  $this->add_control(
55
  'htmega_progress_bar_type',
56
  [
57
- 'label' => __( 'Tyle', 'htmega-addons' ),
58
  'type' => Controls_Manager::SELECT,
59
  'default' => 'normal',
60
  'options' => [
54
  $this->add_control(
55
  'htmega_progress_bar_type',
56
  [
57
+ 'label' => __( 'Style', 'htmega-addons' ),
58
  'type' => Controls_Manager::SELECT,
59
  'default' => 'normal',
60
  'options' => [
includes/widgets/htmega_section_title.php CHANGED
@@ -444,9 +444,10 @@ class HTMega_Elementor_Widget_Section_Title extends Widget_Base {
444
  'default' => '#412e51',
445
  'selectors' => [
446
  '{{WRAPPER}} .htmega-section-title span.htmega-title-sperator' => 'background-color: {{VALUE}};',
 
447
  ],
448
  'condition' => [
449
- 'titlestyle' => 'four',
450
  ],
451
  'separator'=>'before',
452
  ]
444
  'default' => '#412e51',
445
  'selectors' => [
446
  '{{WRAPPER}} .htmega-section-title span.htmega-title-sperator' => 'background-color: {{VALUE}};',
447
+ '{{WRAPPER}} .htmega-section-title span.htmega-title-sperator::before' => 'background-color: {{VALUE}};',
448
  ],
449
  'condition' => [
450
+ 'titlestyle' => array('three', 'four'),
451
  ],
452
  'separator'=>'before',
453
  ]
includes/widgets/htmega_services.php CHANGED
@@ -251,6 +251,7 @@ class HTMega_Elementor_Widget_Service extends Widget_Base {
251
  'default' => '#5b5b5b',
252
  'selectors' => [
253
  '{{WRAPPER}} .htmega-service .service-title' => 'color: {{VALUE}};',
 
254
  ],
255
  ]
256
  );
251
  'default' => '#5b5b5b',
252
  'selectors' => [
253
  '{{WRAPPER}} .htmega-service .service-title' => 'color: {{VALUE}};',
254
+ '{{WRAPPER}} .htmega-service .service-title a' => 'color: {{VALUE}};',
255
  ],
256
  ]
257
  );
includes/widgets/htmega_socialshere.php CHANGED
@@ -103,8 +103,8 @@ class HTMega_Elementor_Widget_SocialShere extends Widget_Base {
103
  'label' => esc_html__( 'Icon', 'htmega-addons' ),
104
  'type' => Controls_Manager::ICONS,
105
  'default' => [
106
- 'value'=>'fa fa-facebook',
107
- 'library'=>'solid',
108
  ],
109
  ]
110
  );
@@ -309,17 +309,17 @@ class HTMega_Elementor_Widget_SocialShere extends Widget_Base {
309
  [
310
  'htmega_social_media' => 'facebook',
311
  'htmega_social_title' => __( 'Facebook', 'htmega-addons' ),
312
- 'htmega_social_icon' => 'fas fa-facebook',
313
  ],
314
  [
315
  'htmega_social_media' => 'twitter',
316
  'htmega_social_title' => __( 'Twitter', 'htmega-addons' ),
317
- 'htmega_social_icon' => 'fas fa-twitter',
318
  ],
319
  [
320
  'htmega_social_media' => 'googleplus',
321
  'htmega_social_title' => __( 'Google Plus', 'htmega-addons' ),
322
- 'htmega_social_icon' => 'fas fa-google-plus',
323
  ],
324
  ],
325
  'title_field' => '{{{ htmega_social_title }}}',
103
  'label' => esc_html__( 'Icon', 'htmega-addons' ),
104
  'type' => Controls_Manager::ICONS,
105
  'default' => [
106
+ 'value'=>'fab fa-facebook-square',
107
+ 'library'=>'brands',
108
  ],
109
  ]
110
  );
309
  [
310
  'htmega_social_media' => 'facebook',
311
  'htmega_social_title' => __( 'Facebook', 'htmega-addons' ),
312
+ 'htmega_social_icon' => 'fab fa-facebook-square',
313
  ],
314
  [
315
  'htmega_social_media' => 'twitter',
316
  'htmega_social_title' => __( 'Twitter', 'htmega-addons' ),
317
+ 'htmega_social_icon' => 'fab fa-twitter-square',
318
  ],
319
  [
320
  'htmega_social_media' => 'googleplus',
321
  'htmega_social_title' => __( 'Google Plus', 'htmega-addons' ),
322
+ 'htmega_social_icon' => 'fab fa-google-plus-square',
323
  ],
324
  ],
325
  'title_field' => '{{{ htmega_social_title }}}',
includes/widgets/htmega_teammember.php CHANGED
@@ -297,9 +297,10 @@ class HTMega_Elementor_Widget_TeamMember extends Widget_Base {
297
  'selectors' => [
298
  '{{WRAPPER}} .htmega-team:hover .htmega-team-hover-action' => 'background-color: {{VALUE}};',
299
  '{{WRAPPER}} .htmega-team-style-6:hover .htmega-team-info' => 'background-color: {{VALUE}};',
 
300
  ],
301
  'condition' =>[
302
- 'htmega_team_style' => array( '1','5','6' ),
303
  ],
304
  ]
305
  );
@@ -317,6 +318,46 @@ class HTMega_Elementor_Widget_TeamMember extends Widget_Base {
317
  'condition' =>[
318
  'htmega_team_style' => array('2','3'),
319
  ],
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
320
  ]
321
  );
322
 
297
  'selectors' => [
298
  '{{WRAPPER}} .htmega-team:hover .htmega-team-hover-action' => 'background-color: {{VALUE}};',
299
  '{{WRAPPER}} .htmega-team-style-6:hover .htmega-team-info' => 'background-color: {{VALUE}};',
300
+ '{{WRAPPER}} .htmega-team-style-4 .htmega-team-hover-action::before' => 'background-color: {{VALUE}};',
301
  ],
302
  'condition' =>[
303
+ 'htmega_team_style' => array( '1','4','5','6' ),
304
  ],
305
  ]
306
  );
318
  'condition' =>[
319
  'htmega_team_style' => array('2','3'),
320
  ],
321
+ 'separator' => 'after',
322
+ ]
323
+ );
324
+
325
+ $this->add_control(
326
+ 'team_member_plus_icon_color',
327
+ [
328
+ 'label' => __( 'Plus Icon Color', 'htmega-addons' ),
329
+ 'type' => Controls_Manager::COLOR,
330
+ 'selectors' => [
331
+ '{{WRAPPER}} .htmega-team-style-3 .plus_click::before' => 'color: {{VALUE}};',
332
+ ],
333
+ 'condition' =>[
334
+ 'htmega_team_style' => array('3'),
335
+ ],
336
+ ]
337
+ );
338
+
339
+ $this->add_group_control(
340
+ Group_Control_Background::get_type(),
341
+ [
342
+ 'name' => 'team_member_plus_icon_background',
343
+ 'label' => __( 'Background', 'htmega-addons' ),
344
+ 'types' => [ 'classic', 'gradient' ],
345
+ 'selector' => '{{WRAPPER}} .htmega-team-style-3 .plus_click::before',
346
+ 'condition' =>[
347
+ 'htmega_team_style' => array('3'),
348
+ ],
349
+ ]
350
+ );
351
+
352
+ $this->add_group_control(
353
+ Group_Control_Border::get_type(),
354
+ [
355
+ 'name' => 'team_member_plus_icon_border',
356
+ 'label' => __( 'Border', 'htmega-addons' ),
357
+ 'selector' => '{{WRAPPER}} .htmega-team-style-3 .plus_click::before',
358
+ 'condition' =>[
359
+ 'htmega_team_style' => array('3'),
360
+ ],
361
  ]
362
  );
363
 
includes/widgets/htmega_user_login_form.php CHANGED
@@ -409,7 +409,7 @@ class HTMega_Elementor_Widget_User_Login_Form extends Widget_Base {
409
  'size' => 50,
410
  ],
411
  'selectors' => [
412
- '{{WRAPPER}} .htmega-login-form-wrapper input' => 'height: {{SIZE}}{{UNIT}};',
413
  ],
414
  'separator' =>'before',
415
  ]
@@ -438,6 +438,67 @@ class HTMega_Elementor_Widget_User_Login_Form extends Widget_Base {
438
 
439
  $this->end_controls_section();
440
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
441
  // Submit Button
442
  $this->start_controls_section(
443
  'login_form_style_submit_button',
409
  'size' => 50,
410
  ],
411
  'selectors' => [
412
+ '{{WRAPPER}} .htmega-login-form-wrapper input[type="text"],{{WRAPPER}} .htmega-login-form-wrapper input[type="password"]' => 'height: {{SIZE}}{{UNIT}};',
413
  ],
414
  'separator' =>'before',
415
  ]
438
 
439
  $this->end_controls_section();
440
 
441
+ // Rememberme section start
442
+ $this->start_controls_section(
443
+ 'login_form_style_rememberme',
444
+ [
445
+ 'label' => __( 'Remember Me Checkbox', 'htmega-addons' ),
446
+ 'tab' => Controls_Manager::TAB_STYLE,
447
+ ]
448
+ );
449
+
450
+ $this->add_group_control(
451
+ Group_Control_Typography::get_type(),
452
+ [
453
+ 'name' => 'login_form_input_rememberme_typography',
454
+ 'scheme' => Scheme_Typography::TYPOGRAPHY_1,
455
+ 'selector' => '{{WRAPPER}} .htmega-login-form-wrapper form .log-remember label',
456
+ ]
457
+ );
458
+
459
+ $this->add_responsive_control(
460
+ 'login_form_input_rememberme_margin',
461
+ [
462
+ 'label' => __( 'Margin', 'htmega-addons' ),
463
+ 'type' => Controls_Manager::DIMENSIONS,
464
+ 'size_units' => [ 'px', '%', 'em' ],
465
+ 'selectors' => [
466
+ '{{WRAPPER}} .htmega-login-form-wrapper form .log-remember label input[type="checkbox"]' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
467
+ ],
468
+ 'separator' =>'before',
469
+ ]
470
+ );
471
+
472
+ $this->add_control(
473
+ 'login_form_input_rememberme_height',
474
+ [
475
+ 'label' => __( 'Height', 'htmega-addons' ),
476
+ 'type' => Controls_Manager::SLIDER,
477
+ 'size_units' => [ 'px', '%' ],
478
+ 'range' => [
479
+ 'px' => [
480
+ 'min' => 0,
481
+ 'max' => 200,
482
+ 'step' => 1,
483
+ ],
484
+ '%' => [
485
+ 'min' => 0,
486
+ 'max' => 100,
487
+ ],
488
+ ],
489
+ 'default' => [
490
+ 'unit' => 'px',
491
+ 'size' => 20,
492
+ ],
493
+ 'selectors' => [
494
+ '{{WRAPPER}} .htmega-login-form-wrapper form .log-remember label input[type="checkbox"]' => 'height: {{SIZE}}{{UNIT}};',
495
+ ],
496
+ 'separator' =>'before',
497
+ ]
498
+ );
499
+
500
+ $this->end_controls_section(); // Checkbox section end
501
+
502
  // Submit Button
503
  $this->start_controls_section(
504
  'login_form_style_submit_button',
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: hasthemes, htplugins, devitemsllc, tarekht
3
  Tags: Elementor, Elementor Addons, Elementor Widgets, elementor page builder, Elementor Blocks
4
  Requires at least: 4.7
5
- Tested up to: 5.5.3
6
  Stable tag: trunk
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -162,25 +162,6 @@ Is there any feature that you want to get in this plugins?
162
  Needs assistance to use this plugins?
163
  Feel free to [Contact us](https://htplugins.com/contact-us/)
164
 
165
- == What's New ==
166
- October 29 - 2019:
167
- 1. Theme Builder Added.
168
- 2. Sales Notification Options Added.
169
- 3. Mega Menu Builder Added.
170
-
171
- October 23 - 2019:
172
- 1. Special Day offter Banner Addon Added.
173
-
174
- September 19 - 2019:
175
- 1. Popovers close when user click of a different element.
176
-
177
- August 26 - 2019:
178
- 1. Scroll Navigation Height options Added.
179
-
180
- August 05 - 2019:
181
- 1. Includes Template Library.
182
-
183
-
184
  == Check out our other projects ==
185
  * [WooLentor](https://wordpress.org/plugins/woolentor-addons/) - WooCommerce page builder for Elementor Addon. Create unlimited product grid, layouts, custom product and shop pages layouts.
186
  *[WC Builder](https://wordpress.org/plugins/wc-builder/) – WooCommerce Page Builder for WPBakery. Create custom product and Shop pages easily.
@@ -190,6 +171,9 @@ Visit [HasThemes](https://hasthemes.com/) for more details about HTML, Shopify a
190
 
191
  == Changelog ==
192
 
 
 
 
193
  = Version: 1.4.8 - Date: 2020-11-30 =
194
  * Swiper JS map load issue solved.
195
 
2
  Contributors: hasthemes, htplugins, devitemsllc, tarekht
3
  Tags: Elementor, Elementor Addons, Elementor Widgets, elementor page builder, Elementor Blocks
4
  Requires at least: 4.7
5
+ Tested up to: 5.6
6
  Stable tag: trunk
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
162
  Needs assistance to use this plugins?
163
  Feel free to [Contact us](https://htplugins.com/contact-us/)
164
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
165
  == Check out our other projects ==
166
  * [WooLentor](https://wordpress.org/plugins/woolentor-addons/) - WooCommerce page builder for Elementor Addon. Create unlimited product grid, layouts, custom product and shop pages layouts.
167
  *[WC Builder](https://wordpress.org/plugins/wc-builder/) – WooCommerce Page Builder for WPBakery. Create custom product and Shop pages easily.
171
 
172
  == Changelog ==
173
 
174
+ = Version: 1.4.9 - Date: 2020-11-08 =
175
+ * Instagram network banned issue solved.
176
+
177
  = Version: 1.4.8 - Date: 2020-11-30 =
178
  * Swiper JS map load issue solved.
179