Skip to main content

Modifier :caption

Image caption. Example: {Headshot:135:caption} gives Taken in 1960. On the test form, this field is {Headshot:135} (Post image).

About

ProductGravity Forms
RequiresGravity Forms 1.9 or later
In the pickerWhat to show, for Post image fields
CombiningUse it alone. With other modifiers, it is ignored.

Examples

Output from the real plugin code, run on a test entry.

Merge tagOutputWithout the modifier
{Photo:19:caption}An old Underwood No. 5http://fixture.gravitykit.test/wp-content/uploads/gravity_forms/501-ce8740343b854b96e037e97f8dfef93f/typewriter.jpg

Works on

Form fields: Post image.