Tagged: ,

Viewing 5 reply threads
  • Author
    Posts
    • #4653
      justin
      Member

      I 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')
          )
        ));
       ?>
    • #4654
      Steve
      Keymaster

      @justin– This is working for me. I can’t reproduce it. If you run with WP DEBUG do you see any errors?

    • #4662
      justin
      Member

      No 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.

    • #4674
      Steve
      Keymaster

      @justin– Is this a live site? Would you be able to provide us log in access?

    • #4688
      justin
      Member

      Hi 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.

    • #4689
      Steve
      Keymaster

      Great. Let us know if you need more help.

Viewing 5 reply threads
  • The topic ‘term meta with 2 file uploads [0.9.9.4]’ is closed to new replies.