Skip Navigation

[Resolved] Can a change label for Featured Image (or other CPT labels on backend)

This support ticket is created 3 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 4 replies, has 2 voices.

Last updated by peterI 3 years, 1 month ago.

Assisted by: Shane.

Author
Posts
#2184841

Hello,

I have a CPT and would like to change the label for "Featured Image" to "Candidate Headshot"
Is this possible within Toolset? Is code needed and is there a resource for snippets.

I thought I would find it in the CPT "Labels" area but Featured Image is not there (as it is in "Additional labels" in the CPT UI plugin). Maybe I'm just missing it.

Thanks for your help.

#2184933

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Peter,

Thank you for getting in touch.

I did some checks on this one to see if it was possible and I managed to find the tutorial below.
hidden link

Please try the solution in the link and let me know if it helps.
Thanks,
Shane

#2187941

Just to close the loop on this, that link wasn't helpful for me.
The Toolset user group had a simple, direct answer answer.

function gg_change_featured_image_labels( $labels ) {
$labels->featured_image = 'Headshot';
$labels->set_featured_image = 'Set headshot';
$labels->remove_featured_image = 'Remove headshot';
$labels->use_featured_image = 'Use as headshot';
return $labels;
} // change_featured_image_labels()
add_filter( 'post_type_labels_candidate', 'gg_change_featured_image_labels', 10, 1 );

#2188105

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Peter,

Happy that you're able to get a solution to this issue.

What I can do is to add this to the resolved summary for this thread once its marked as resolved.

If there are no further questions then we can go ahead and close here.

Thanks,
Shane

#2188111

My issue is resolved now. Thank you!