Add Custom Fields to Media

Add Custom Fields to Media Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 5,222 downloads
Add Custom Fields to Media Icon

Try plugin: Add Custom Fields to Media

We'll create fresh WordPress site with Add Custom Fields to Media installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Add Custom Fields to Media

Allows users to add custom fields to the media uploader and access those fields in posts or template files. Great for adding copyrights, image meta et …

1


0


0


0


0

updated: 4 months ago
since: 11 years ago

Description

Allows users to add custom fields to the media uploader and access those fields in posts or template files. Great for adding copyrights, image meta etc.

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 );

To use this plugin effectively, download and intall it on your WordPress blog. Next, access “Media Custom Fields” page in your admin Settings and create a new custom field for your media uploads.

  • Unique ID – The unique variable name for this item. It may not contain special characaters or spaces
  • Field Title – The name you want to appear in the media uploader
  • Field Help – A descriptive message you want to appear in the media uploader

Once you’ve added a custom field, you can access it via the Media Library or during the Add Media process of uploading a new item.

This plugin was originally developed by Christopher Ross. The plugin has been adopted and refactored by George Pattichis who will continue development and maintenance.

Changelog