Home Forums Backend Issues (wp-admin) Custom Field Type Questions


Custom Field Type Questions

  • Hi all,

    If anyone could point me in the right direction for a couple of queries, I’d be most appreciative.

    These both relate to me creating a custom field type.

    First up, what is the best way of creating a field that has multiple HTML inputs. My scenario is that I’ve got 3 text inputs within a single field. In my head, I’d like this to work in a similar way to a group field, but without the ability to add or modify the fields within the group. Has anyone does this?

    Secondly, I’ve looked at the render_field function which builds the HTML input for my custom field. However, I’d like to modify something that’s seemingly out of scope for that function; I’d like to change the way the field name and instructions are displayed on the post edit screen. Is there another hook or filter I can use for that?

    I’ve done my best to describe the problems, but please ask any questions.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.