PluginProbe
WP Directory Kit / 1.5.9
WP Directory Kit v1.5.9
1.5.9 1.5.7 1.5.6 1.5.5 1.5.4 1.5.3 trunk 1.1.0 1.1.6 1.1.8 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.8 All 37 releases
← All changes | elementor-elements/classes/wdk-button-login.php +9 -2 1.2.7 → 1.5.9 View file →
@@ -29,8 +29,9 @@
29 29
30 30 public function __construct($data = array(), $args = null) {
31 31
32 32 \Elementor\Controls_Manager::add_tab(
33 +
33 34 'tab_conf',
34 35 esc_html__('Settings', 'wpdirectorykit')
35 36 );
36 37
@@ -145,9 +146,9 @@
145 146 $this->data['is_edit_mode']= true;
146 147 } else {
147 148 }
148 149
149 - echo $this->view('wdk-button-login', $this->data);
150 + $this->view('wdk-button-login', $this->data, true);
150 151 }
151 152
152 153
153 154 private function generate_controls_conf() {
@@ -365,8 +366,9 @@
365 366 'important_note',
366 367 [
367 368 'label' => '',
368 369 'type' => \Elementor\Controls_Manager::RAW_HTML,
370 + /* translators: 1: URL. */
369 371 'raw' => wdk_sprintf(__( 'Only for addon <a href="%1$s" target="_blank"> Live Messages Chat </a>', 'wpdirectorykit' ), '//wpdirectorykit.com/plugins/wp-directory-messages-chat.html'),
370 372 'content_classes' => 'wdk_elementor_hint',
371 373 ]
372 374 );
@@ -398,9 +400,9 @@
398 400 $items = [
399 401 [
400 402 'key'=>'btn',
401 403 'label'=> esc_html__('Button', 'wpdirectorykit'),
402 - 'options'=>'full',
404 + 'options'=>['margin','typo','color','background','border','border_radius','padding','shadow','transition'],
403 405 ]
404 406 ];
405 407
406 408 foreach ($items as $item) {
@@ -411,8 +413,13 @@
411 413 'type' => Controls_Manager::HEADING,
412 414 'separator' => 'before',
413 415 ]
414 416 );
417 +
418 + $selectors = array(
419 + 'normal' => '{{WRAPPER}} .wdk-element',
420 + );
421 + $this->generate_renders_tabs($selectors, $item['key'].'_box_dynamic', ['align']);
415 422
416 423 $selectors = array(
417 424 'normal' => '{{WRAPPER}} .wdk-element .wdk-element-button',
418 425 'hover'=>'{{WRAPPER}} .wdk-element .wdk-element-button%1$s'