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-addlisting.php +4 -3 1.2.3 → 1.5.9 View file →
@@ -135,8 +135,9 @@
135 135 $this->data['settings']['link_url'] = wdk_dash_url('dash_page=listings&function=edit');
136 136 } else {
137 137 $this->data['settings']['link_text'] = esc_html__('My Profile', 'wpdirectorykit');
138 138 $this->data['settings']['link_url'] = wdk_dash_url('dash_page=profile');
139 + $this->data['settings']['link_icon'] = '';
139 140 }
140 141 } else {
141 142 $this->data['settings']['link_url'] = get_admin_url() . "admin.php?page=wdk_listing";
142 143 }
@@ -163,9 +164,9 @@
163 164 $this->data['is_edit_mode']= true;
164 165 } else {
165 166 }
166 167
167 - echo $this->view('wdk-button-addlisting', $this->data);
168 + $this->view('wdk-button-addlisting', $this->data, true);
168 169 }
169 170
170 171 private function generate_controls_conf() {
171 172 $this->start_controls_section(
@@ -188,9 +189,9 @@
188 189
189 190 $this->add_control(
190 191 'link_id',
191 192 [
192 - 'label' => __('Secial attr id for link', 'wpdirectorykit'),
193 + 'label' => __('Special attr id for link', 'wpdirectorykit'),
193 194 'type' => \Elementor\Controls_Manager::TEXT,
194 195 'default' => '',
195 196 ]
196 197 );
@@ -250,9 +251,9 @@
250 251 $items = [
251 252 [
252 253 'key'=>'btn',
253 254 'label'=> esc_html__('Button', 'wpdirectorykit'),
254 - 'options'=>'full',
255 + 'options'=>['margin','typo','color','background','border','border_radius','padding','shadow','transition'],
255 256 ]
256 257 ];
257 258
258 259 foreach ($items as $item) {