Tagged: file upload
March 20, 2019 at 8:56 am #9330
I use piklist on wordpress 5.1
Try to create a slider widget with the file field, but it can’t be saved.
Is piklist not compatible with the latest wordpress?
piklist('field', array( 'type' => 'text', 'field' => 'my_text', 'label' => 'Text', 'attributes' => array( 'class' => 'regular-text' ) )); piklist( 'field', array( 'type' => 'group', 'field' => 'slider_group', 'add_more' => true, 'label' => __('Slider Expert4you', 'expert4you'), 'fields' => array( array( 'type' => 'file', 'field' => 'slider_image', 'label' => __('Slides', 'expert4you'), 'columns' => 12, ) ) ) );
<?php /* Title: Slider Widget Description: Slider Widget Standalone: true */?> <?php echo $before_widget; ?> <?php echo $before_title; ?> <?php echo $settings['my_text']; ?> <?php echo $after_title; ?> <?php echo $settings['slider_group']; ?> <?php echo $after_widget; ?>
March 21, 2019 at 3:37 pm #9334
March 22, 2019 at 3:36 am #9336
Hi, thank you for answering.
The problem that arises is when using widgets made using piklist. Some fields cannot be used, for example when choosing colors using the color picker, the save button is not active. And also when choosing an image the widget button remains inactive, so it’s not saved.
March 27, 2019 at 9:06 pm #9338
Is the “Classic Editor” plugin active?
March 28, 2019 at 11:45 pm #9341
Yes, “Classic Editor” is active
April 15, 2019 at 9:39 pm #9356
I was able to reproduce.
So, Piklist is not 100% compatible with WordPress 5.0+. Many features will work with the Classic Editor plugin, but not all.
We’ll address this when we come out with our Gutenberg compatible version of Piklist.
April 16, 2019 at 1:24 pm #9362
Do you have an ETA for the updates? I use PikList on 4 sites and all of them are having difficulty saving their forms.
April 27, 2019 at 7:33 am #9366
You must be logged in to reply to this topic.