Support » Plugins » Hacks » Adding Textarea to Edit Category does not store the input

  • Hi There,

    I tried to add a second textarea to categories by using this guide. But that entry will not be saved and I do not know which command print that text on the website. Does anyone have an idea?

    Code in my functions.php:

    	  add_action('course_edit_form', 'course_edit_form');
    	  function course_edit_form() {
    	  <script type="text/javascript">
    	  jQuery('#edittag').attr( "enctype", "multipart/form-data" ).attr( "encoding", "multipart/form-data" );
    	  function course_edit_form_fields () {
        <tr class="form-field">
                <th valign="top" scope="row">
                    <label for="catpic"><?php _e('Addtional Description', ''); ?></label>
    				<textarea name="description_bottom" id="description_bottom" rows="5" cols="50" class="large-text"></textarea><br />
                    <span class="description">Second Description</span>

    I also searching for a plugin to do this, but there is not one that can produce such a extra field.

    So how can I save that input and how can i get it?
    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz


    It would be a lot easier to use the built in capabilities of Custom Fields. Yes, it’s not in the categories box, but you could locate it right below the categories. I don’t see an easy solution to saving data inserted into such fields as yours.

    With custom fields, displaying the content is as simple as adding a tag to your template.

    Yes, but we need a differnt text for each category, means a SECOND DESCRIPTION.

    I gues “Cosums Fields” are only for posts and pages ans not for categorys.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding Textarea to Edit Category does not store the input’ is closed to new replies.