WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Title attribute on repeating image

[Resolved] Title attribute on repeating image

  • Hi,

    I have a repeating image field used to upload different accreditation logos to properties (custom post type).

    I’m outputting the logos in my template like this at the moment:

    $params = array(
    	'raw'		=> 'false',
    	'show_name'	=> 'false'
    );
    echo types_render_field("my-repeating-image-field",$params);

    My problem is that the outputted images are not pulling in the title from WP media library, and I can’t figure out how to make them do so.

    I know I can specify a ‘title’ in my params array, but this wouldn’t be configurable from the CMS, and it would be the same for each image in my repeat image.

    Is there any way you know of to retrieve the title from the media gallery for each image?

    Thanks

    http://wordpress.org/extend/plugins/types/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Title attribute on repeating image’ is closed to new replies.