When creating a custom field Custom Press will generate an id for the field using the first 10 characters of the title with a prefix and suffix. So a text field with the title ‘My text field’ may be given the identifier ‘ct_My_text_fi_text_2fh8’. This is a important feature which ensures the meta data field keys are unique. Keep this in mind when writing the custom code as these keys are needed to get the meta data.
My method for the title is to enter a short code initially, then after the field is created ( and CustomPress has generated a key) change it to my preferred title. So for the ‘Description’ field I might enter ‘descrip’ as the initial value. Custompress generates ‘ct_descript_text_59d0’. I then edit it back to ‘Description’.
A custom field must be associated with at least one post type.
|Unique identifier for this object. This is auto generated.
|Brief description for cataloging purposes
|Number of parts
|Brief description of condition
|Keywords or phrases linked to this object. Separate with a comma
|A short code for the fixed location – eg CW1 for corridor wall 1. It should match the map of the site/museum
|Movable unit code
|A short code for the movable unit. The unit should be marked with this code.
|Location Id of the fixed location
|ID of the post_type object
|Title of the fixed location
|Movable Unit Name
|Name of the movable unit
|Location history date
|Image attachment id
|Attachment Id of the image