Viewing 1 reply thread
  • Author
    Posts
    • #5765
      Ben
      Member

      Wordpress 4.4.1
      PikList 0.9.4.29
      The description for a text field inside a group is not appearing within the edit post view. Here is the code for the meta-box. I am also attaching an image of the result within the edit view, and the html for the group field.

      /*
      Title: Text Field Test
      Description: Text Field Test
      Post Type: post
      */
      
      piklist('field', array(
        'type'    => 'text',
        'field'   => 'text_field_alone',
        'label'   => __('text_field_alone'),
        'description' => __('description for text_field_alone'),
      ));
      piklist('field', array(
        'type'    => 'group',
        'field'   => 'group_with_text_field',
        'label'   => 'group_with_text_field',
        'description' => __('description for group_with_text_field'),
        'fields'  => array(
          array(
            'type'    => 'text',
            'field'   => 'text_field_in_group',
            'label'   => __('text_field_in_group'),
            'description' => __('description for text_field_in_group'),
            'columns' => 12
          )
        )
      ));
      Attachments:
      You must be logged in to view attached files.
    • #5780
      Steve
      Keymaster

      @beng– Currently, we don’t allow a description on the inner group. Try using the help parameter:

      'help' => __('description for text_field_in_group'),
      
Viewing 1 reply thread
  • You must be logged in to reply to this topic.