PluginProbe
King Addons for Elementor – 100+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce Builder, Mega Menu, Popup Builder / 51.1.86
King Addons for Elementor – 100+ Elementor Widgets, 4 000+ Elementor Templates, WooCommerce Builder, Mega Menu, Popup Builder v51.1.86
51.1.86 51.1.84 51.1.85 51.1.83 51.1.82 51.1.81 51.1.79 51.1.78 51.1.77 51.1.76 51.1.74 51.1.75 51.1.65 51.1.64 51.1.63 trunk 51.1.14 51.1.2 51.1.35 51.1.36 51.1.37 51.1.38 51.1.39 51.1.44 51.1.45 All 40 releases
← All changes | includes/widgets/Quick_Card_Slider/Quick_Card_Slider.php +19 -31 51.1.44 → 51.1.86 View file →
@@ -100,9 +100,14 @@
100 100 {
101 101 return ['slider', 'card', 'carousel', 'content', 'king-addons'];
102 102 }
103 103
104 - /**
104 + public function get_custom_help_url()
105 + {
106 + return 'mailto:[email protected]?subject=Bug Report - King Addons&body=Please describe the issue';
107 + }
108 +
109 + /**
105 110 * Register widget controls.
106 111 *
107 112 * @return void
108 113 */
@@ -296,9 +301,9 @@
296 301 'label' => esc_html__('Cards', 'king-addons'),
297 302 'type' => Controls_Manager::REPEATER,
298 303 'fields' => $repeater->get_controls(),
299 304 'default' => $this->get_default_cards(),
300 - 'title_field' => '{{{ kng_card_title }}}',
305 + 'title_field' => '{{ kng_card_title }}',
301 306 ]
302 307 );
303 308
304 309 $this->end_controls_section();
@@ -1086,8 +1091,9 @@
1086 1091 'kng_button_text_color',
1087 1092 [
1088 1093 'label' => esc_html__('Text Color', 'king-addons'),
1089 1094 'type' => Controls_Manager::COLOR,
1095 + 'default' => '#ffffff',
1090 1096 'selectors' => [
1091 1097 '{{WRAPPER}} .king-addons-card-slider__button' => 'color: {{VALUE}};',
1092 1098 ],
1093 1099 ]
@@ -1200,16 +1206,8 @@
1200 1206 ],
1201 1207 ]
1202 1208 );
1203 1209
1204 - $this->add_group_control(
1205 - Group_Control_Box_Shadow::get_type(),
1206 - [
1207 - 'name' => 'kng_button_shadow_hover',
1208 - 'selector' => '{{WRAPPER}} .king-addons-card-slider__button:hover',
1209 - ]
1210 - );
1211 -
1212 1210 $this->end_controls_tab();
1213 1211
1214 1212 $this->end_controls_tabs();
1215 1213
@@ -1594,8 +1592,14 @@
1594 1592 'kng_card_description' => esc_html__('Cards ship with clean typography, soft shadows, and rounded corners.', 'king-addons'),
1595 1593 'kng_card_button_text' => esc_html__('Get started', 'king-addons'),
1596 1594 'kng_card_image' => ['url' => Utils::get_placeholder_image_src()],
1597 1595 ],
1596 + [
1597 + 'kng_card_title' => esc_html__('Responsive design', 'king-addons'),
1598 + 'kng_card_description' => esc_html__('Looks great on all devices with optimized touch interactions.', 'king-addons'),
1599 + 'kng_card_button_text' => esc_html__('Learn more', 'king-addons'),
1600 + 'kng_card_image' => ['url' => Utils::get_placeholder_image_src()],
1601 + ],
1598 1602 ];
1599 1603 }
1600 1604
1601 1605 /**
@@ -1679,29 +1683,13 @@
1679 1683 * @return string
1680 1684 */
1681 1685 public function get_wrapper_style_attributes(array $settings): string
1682 1686 {
1683 - $styles = [];
1684 -
1685 - if (isset($settings['kng_pagination_offset']['size'])) {
1686 - $styles[] = '--kng-card-slider-pagination-offset: ' . (float) $settings['kng_pagination_offset']['size'] . $settings['kng_pagination_offset']['unit'] . ';';
1687 - }
1688 -
1689 - if (isset($settings['kng_pagination_gap']['size'])) {
1690 - $styles[] = '--kng-card-slider-pagination-gap: ' . (float) $settings['kng_pagination_gap']['size'] . $settings['kng_pagination_gap']['unit'] . ';';
1691 - }
1692 -
1693 - if (isset($settings['kng_navigation_gap']['size'])) {
1694 - $styles[] = '--kng-card-slider-nav-gap: ' . (float) $settings['kng_navigation_gap']['size'] . $settings['kng_navigation_gap']['unit'] . ';';
1695 - }
1696 -
1697 - $style_string = '';
1698 -
1699 - if (!empty($styles)) {
1700 - $style_string = ' style="' . esc_attr(implode(' ', $styles)) . '"';
1701 - }
1702 -
1703 - return $style_string;
1687 + // CSS variables for pagination offset, pagination gap, and navigation gap
1688 + // are now handled via Elementor selectors in the control definitions.
1689 + // This ensures proper responsive behavior and avoids conflicts with
1690 + // Elementor's built-in style handling.
1691 + return '';
1704 1692 }
1705 1693
1706 1694 /**
1707 1695 * Render button element.