Tagged: file_upload, terms
- This topic has 5 replies, 2 voices, and was last updated 6 years, 3 months ago by
Steve.
-
AuthorPosts
-
-
October 21, 2015 at 12:44 pm #4653
justinMemberI have added a file upload to my term options, and it works fine as long as only 1 field is for a upload option, but when I add my second file upload it does not allow me to save either field. It was working before the upgrade. There is no workflow and there is only 1 meta-box assigned to this taxonomy. Here is the meta-box that I have created:
<?php /* Title: Trip Settings Description: Options for Our Trips Taxonomy: trip-type Order: 0 */ // Let's create a text box field piklist('field', array( 'type' => 'file' ,'field' => 'trip_img' ,'label' => __('Add Trip Image','piklist') ,'description' => __('Image to display Trip in this category','piklist') ,'options' => array( 'modal_title' => __('Add Image','piklist') ,'button' => __('Add','piklist') ) )); piklist('field', array( 'type' => 'file' ,'field' => 'trip_img_white' ,'label' => __('Add Trip Image White','piklist') ,'description' => __('White Image to display Trip in this category','piklist') ,'options' => array( 'modal_title' => __('Add Image','piklist') ,'button' => __('Add','piklist') ) )); ?> -
October 21, 2015 at 2:50 pm #4654
-
October 21, 2015 at 5:11 pm #4662
justinMemberNo I have all my wordpress debug errors and warnings saved in a file, and when I am trying to save the field, there is no errors or warnings.
-
October 21, 2015 at 10:11 pm #4674
-
October 22, 2015 at 10:25 am #4688
justinMemberHi Kevin,
I don’t know why exactly, but it is working now. I did take out some complex code that was erroring out that was on another portion of my website, and it seemed to have fixed it.
Sorry, but we can close this ticket.
-
October 22, 2015 at 10:26 am #4689
SteveKeymasterGreat. Let us know if you need more help.
-
-
AuthorPosts
- The topic ‘term meta with 2 file uploads [0.9.9.4]’ is closed to new replies.