WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by donaldG2 v2.3.7

ACF Media Credit

Adds an option to create as many media credit fields as needed for an image.

ACF Media Credit

The facts

Rating
5★ from 3
Active installs
100+
Price
Free
Last updated
2 Apr 2018
Added
Dec 2014
Requires WP
4.0
Tested up to
WP 4.9.31
Downloads
11,380

Our analysis

AI-assisted

ACF Media Credit is a WordPress plugin that enhances the Media Library by adding options for credits and credit links to images. It uses the Repeater field from Advanced Custom Fields, allowing you to associate specific credits with each image. This plugin is primarily designed for developers who want to manage image credits effectively within their WordPress sites.

The plugin requires either Advanced Custom Fields Pro or the free version of ACF with the Repeater Field add-on. It provides various functions for developers to retrieve and display media credits, although it currently does not support credits for file types other than images.

Best for: Developers looking to manage image credits in their WordPress sites.

What it does well

  • Integrates with Advanced Custom Fields
  • Allows adding credits to images in the Media Library
  • Provides developer functions for custom implementations

Where it falls short

  • Limited to images; does not support other file types
  • Requires ACF Pro or Repeater Field add-on

Verdict

ACF Media Credit is a useful tool for developers who need to add credit information to images, but its limitations on file types may restrict its use in broader contexts.

From the developer

donaldG2's own description of ACF Media Credit, lightly tidied.

This plugin uses the Repeater field of Advanced Custom Fields to add options for a Credit and Credit Link on each item in your Media Library. Currently this will only correlate and display for IMAGES on the front end. This does not support credits for .pdf files, .swf files, .doc files, etc.

Requires either Advanced Custom Fields Pro or the free version of ACF with the Repeater Field add-on.

I suggest using ACF Pro with this plugin.

ACF Fields are exported as a json file (for ACF Pro) in the ‘acf_exports’ directory of this plugin.
ACF Pro allows you to import that json file if for some reason you’re having trouble getting the fields to load.

If you’re a developer there are functions available to you (see: dongaines.com/acf-media-credit)

In the ‘/inc/’ directory the fields have been exported as PHP to work w/ ACF Pro or ACF free

Functions

There are a handful of functions available for your use and there is more explanation given to them at dongaines.com/acf-media-credit. The functions available:
the_post_thumbnail_media_credit(); //does not require an attachment id
the_media_credit_html($attachment_id); //returns
the_media_credit($attachment_id); //echos the_media_credit_html();
the_plain_media_credit($attachment_id); //outputs the most basic markup
print_r(get_media_credit($attachment_id)); //helpful for debugging

For images with a caption I’m filtering the caption shortcode, please do the same if you need to make a change: add_filter( 'img_caption_shortcode', 'your_function_name', 10, 3 );

Added filters:
add_filter(‘acf_media_credit_base_output’, ‘your_function_name’); //your_function_name($image_credit)
add_filter(‘acf_media_credit_div_class’, ‘your_function_name’); //your_function_name($media_credit_div_class)

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for custom content structures.

Ad Inserter

Manage Google AdSense ads, banners, ad rotation, sticky widgets, AMP ads, ads.txt, tracking, header and footer...

Free 300k+ installs 4.9★ (2,428)
Advanced Custom Fields

ACF helps customize WordPress with powerful, professional and intuitive fields. Proudly powering over 2 millio...

Free 2M+ installs 4.5★ (1,438)
Simple Custom Post Order

Easily reorder posts, pages, custom post types, and taxonomies with intuitive drag-and-drop sorting in the Wor...

Free 300k+ installs 4.8★ (569)
WP Activity Log

The #1 user-rated activity log plugin for event logging, activity monitoring and change tracking.

Free 300k+ installs 4.7★ (488)
Custom Post Type UI

Admin UI for creating custom content types like post types and taxonomies

Free 1M+ installs 4.6★ (276)