• Resolved sacconi

    (@sacconi)


    If I temporary deactivate the plugin and then reativate, will I loose all the work? (all the pictures uploaded?). My problem: I’m trying to add a field in this position (taxonomy edit tag screen): https://ibb.co/F0g3T3R but it seems a plug is interfering with my code (“You appear to be using a plugin that adds the tinyMCE (“classic”) editor to the term’s description field. By default it’s just a plain text area. This plugin could possibly be interfering with my field code.”). So I have to test if it’s your plugin making the interference. Here is the code I’m trying to add:

    add_action( 'tassonomia_edit_form_fields', "tassonomia_add_term_field",9999 );
    
    function tassonomia_add_term_field( $term ){
       $tassonomia = get_term_meta( $term->term_id, 'function_tassonomia', true );
        echo '<tr class="form-field">
          <th scope="row"><label for="function_tassonomia">Nome tedesco</label></th>
          <td><input type="text" name="function_tassonomia" value="'.$tassonomia.'"  />
          <p class="description">Nome del termine in tedesco</p></td>
        </tr>';
    }
    

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hello,

    sorry for the late reply…

    Actually, I think this is not possible but can you please explain step-by-step so we will better understand…

Viewing 1 replies (of 1 total)

The topic ‘Deactivating the plugin’ is closed to new replies.