If you have defined titles for the media images in your WordPress website and want to disable the title when you hover on your image on front-end of the website then it could be a real pain because it will require editing to each media image and manually removing of the title can take a lot of time.

hide image title on hover

In order to remove all the title from all the media images of WordPress in bulk, the below code can used in the functions.php file of your Child theme.

Copy to Clipboard

OR

the below JavaScript code can be used before the close of your head tag. For Avada theme users, you can put the below code in Theme Options -> Advanced -> Code Fields -> Space Before Head section.

Copy to Clipboard