Skip to content

Dot notation for Post Thumbnail title and Caption #7005

@pd-cm

Description

@pd-cm

Problem to Solve

As found in this thread: https://wordpress.org/support/topic/image-title-and-description/

And this Slack post: https://podswp.slack.com/archives/C02SVLHQF/p1675292247157559

{@post_thumbnail.post_content} and {@post_thumbnail.post_excerpt} both don't work

Proposed Solution

Adding the dot notation for thumbnails would be nice.

Possible Workaround

{@ID,get_the_post_thumbnail_caption} works. Hopefully {@relationship_field.ID,get_the_post_thumbnail_caption} also works.

Examples Elsewhere

No response

Screenshots / Screencast

No response

Metadata

Metadata

Assignees

Labels

Type: BugType: EnhancementEnhancements to features that already exist, but are not major additions

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions