FAQ

Custom Media Fields
Decorative Jiggy

How do I create my own Custom Media Fields and add Meta Data?Custom Media Fields

Step 1: Go to Custom Media Fields, enter a unique name* and click Save Changes

Step 2: Go to the Media section and click on the image you want to change the Custom Field of. There will be a new section with your custom field name at the bottom of the page.

Step 3: Enter your custom metadata.

Step 4: If you are in list view click ‘Update’, if you are in grid view it is saved automatically.

Decorative Jiggy

How can I display my attachment’s Custom Field?Custom Media Fields

You can now access your custom metadata like normal metadata. In code you can use the following command:

 get_post_meta($id, "_$custom-field", true);

When using the get_post_meta function, always add an underscore in front of the Custom Field name. Is your custom field called ‘camera_type’, use ‘_camera_type’ in the function.