I'm using Toolset Types plugin to create my custom fields. For a particular post type, I created a field to add images, which uses a repeating field.
With this plugin, repeating image fields are stored as separate postmeta values using the same meta key. For example, if there are two images in a repeating image field, there are two entries in postmeta for the corresponding post ID using the same meta key "wpcf-listing-photo".
(In my screenshot attached, you can see two entries in postmeta for the field slug wpcf-book-rept-img-1, both belonging to the post with ID 722.)
My issue is that when I use the E2PDF mapping function, it grabs the field code correctly in the backend, but in the PDF that's produced on the front end, only the first instance from the repeating field is shown.
[e2pdf-wp key="wpcf-listing-photo" meta="true"]
Is there a way to adjust this shortcode to target a specific postmeta value for the particular meta key? That is, the 2nd item, the 7th, or whatever?
Note: Toolset allows for a specific item in a repeating field to be targeted and displayed. I don't know if this would work with E2PDF's shortcode in some way. I include it here just in case.
types_render_field( "house-photos", array( "size"=>"thumbnail", "index" => "0") );
The index value targets a specific instance in a repeating field. 0=first, 1=second, etc.