Usage

To display the custom fields in your theme, use the following shortcode in post/pages:

[acfm id="123" field="my_custom_field"]

Where id is the ID of the media item and field is the name of the custom field.

For PHP templates, use the following code:

echo get_post_meta( 123, 'my_custom_field', true );

If you find this free plugin useful then please rate the plugin ★★★★★ to support us. Thank you!