[resolved] Title attribute on repeating image (3 posts)

  1. crdunst
    Posted 2 years ago #


    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?



  2. mbigul
    Plugin Author

    Posted 2 years ago #

    Hi crdunst,

    Right now it is not possible. We will include this features in Types 1.3

    [ Signature moderated. ]

  3. crdunst
    Posted 2 years ago #

    No problem, thanks for getting back to me

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Types
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic