Adding the Title Tag to Image in Elementor

Adding the title tag in the Elementor image box widget is not available in the default Elementor plugin. For SEO of any website, we need to add a title in the image. Here is very solution which you can follow to enable title in the images for your web pages.

Step 1. Login to your Cpanel or FTP.

Step 2. Go to the following path and open the file.

/wp-content/plugins/elementor/includes/controls/groups/image-size.php

Step 3.  Add this line at line 98

'title' => trim(Control_Media::get_image_title( $image )),

like below

$image_attr = [
'class' => trim( $image_class ),
'title' => trim(Control_Media::get_image_title( $image )), //*** add this line
];

Result –

Title tag in Image

× Chat with me