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-field-label.php +2 -16 1.3.0 → 1.5.9 View file →
@@ -190,9 +190,9 @@
190 190 if($this->data['settings']['hide_onempty'] == 'yes' && wdk_field_value($this->data['settings']['field_id'], $wdk_listing_id) == '')
191 191 return false;
192 192 }
193 193
194 - echo $this->view('wdk-field-label', $this->data);
194 + $this->view('wdk-field-label', $this->data, true);
195 195 }
196 196
197 197
198 198 private function generate_controls_conf() {
@@ -207,22 +207,8 @@
207 207 $fields_data = wdk_cached_field_get();
208 208 $fields_list = array('' => esc_html__('Not Selected', 'wpdirectorykit'));
209 209 $order_i = 0;
210 210
211 - $fields_list [(++$order_i).'__section'] = esc_html__('-- Section Custom fields --', 'wpdirectorykit');
212 - $fields_list [(++$order_i).'__idlisting'] = esc_html__('Id listing', 'wpdirectorykit');
213 - $fields_list [(++$order_i).'__post_id'] = esc_html__('Post Id', 'wpdirectorykit');
214 - $fields_list [(++$order_i).'__counter_views'] = esc_html__('Views counter', 'wpdirectorykit');
215 - $fields_list [(++$order_i).'__lat'] = esc_html__('Gps Lat', 'wpdirectorykit');
216 - $fields_list [(++$order_i).'__lng'] = esc_html__('Gps Lng', 'wpdirectorykit');
217 - $fields_list [(++$order_i).'__date'] = esc_html__('Date', 'wpdirectorykit');
218 - $fields_list [(++$order_i).'__date_modified'] = esc_html__('Date Modified', 'wpdirectorykit');
219 - $fields_list [(++$order_i).'__post_title'] = esc_html__('WP Title', 'wpdirectorykit');
220 - $fields_list [(++$order_i).'__post_content'] = esc_html__('WP Content', 'wpdirectorykit');
221 - $fields_list [(++$order_i).'__address'] = esc_html__('Address', 'wpdirectorykit');
222 - $fields_list [(++$order_i).'__category_id'] = esc_html__('Category', 'wpdirectorykit');
223 - $fields_list [(++$order_i).'__location_id'] = esc_html__('Location', 'wpdirectorykit');
224 -
225 211 foreach($fields_data as $field)
226 212 {
227 213 if(wmvc_show_data('field_type', $field) == 'SECTION') {
228 214 $fields_list [(++$order_i).'section__'.wmvc_show_data('idfield', $field)] = '-- '.esc_html__('Section', 'wpdirectorykit').' '.wmvc_show_data('field_label', $field).' --';
@@ -233,9 +219,9 @@
233 219 $this->add_control(
234 220 'field_id',
235 221 [
236 222 'label' => __( 'Field id', 'wpdirectorykit' ),
237 - 'type' => \Elementor\Controls_Manager::SELECT,
223 + 'type' => \Elementor\Controls_Manager::SELECT2,
238 224 'default' => '',
239 225 'options' => $fields_list,
240 226 'separator' => 'after',
241 227 ]