Home » Webtips » Change Featured Image Text from the WordPress backend to a custom Label
Webtips Wordpress

Change Featured Image Text from the WordPress backend to a custom Label

It will be useful to change the default “Featured Image” text from the WordPress backend for customizing the backend. If we are creating a new post type, we can change the text according to that post type.

Eg: If we are creating a new post type called “Gallery”, we can change the “Featured Image” text to “Gallery Image” like that.

For that follow the steps

1. Upload the file class-featured-image-metabox-cusomizer.php into your theme folder.
2. In the function.php file in the theme folder, include the above uploaded file into it.

3. Add the following code into function.php file

Note : Here we are changing the text in the “Page” post type. If you want to add new post type and change the text according that, simple add the code in the step 3 again and change the labels accordingly.

Download the class file

About the author

Vipin

Hi, i am Vipin, a programmer working in Dubai, UAE. I love blogging, and so started TechRounder for sharing my findings and other digital informations with others too. Please feel free to share your feedback with me in the comment section below or you can email me at vipin@techrounder.com.

Add Comment

Click here to post a comment

Your email address will not be published. Required fields are marked *

Get latest updates
in your inbox

Subscribe to TechRounder mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.