Unverified

Name

Delete tooltips when hovering over images

About

It annoys me a lot when having DIVI theme activated and you hover over an image, that the image name pops up in a tooltip. With this function you can hide that! Problem solved :)

Language

Javascript

Rating

Voted: 0 by 0 user(s)

How to Setup Snippet

Add this (with <script> ... </script>) to your theme settings -> Integrations -> Header code

Codevault

Commpany-Code-Snippets

Scroll down to see more snippets from this codevault.

Wordpress Compatability

The author has indicated that this snippet is compatable up to wordpress version: 6.1

Code Snippet Plugin Sync

Free & Pro

Download this snippet by clicking the download button, then head over to the Code Snippet Plugin settings in your wordpress admin dashboard, select the import menu then upload this file to import into your wordpress site.

Pro Only (Coming Soon)

You will be able to click a button and sync this snippet to your wordpress site automatically and from your dashboard manage all code snippets across all your wordpress sites that have the Code Snippets Pro plugin installed.

Website/ Profile URL:

https://commpany.nl

History

Last modified:

24/01/2023

Important Note

This snippet has the following status:

Unverified

This snippet has not been verified, use with caution and at your own risk. See details provided by author in sidebar and click below to find out more.

Delete tooltips when hovering over images

 
                    
1jQuery(document).ready(function($) {
2 $("img").mouseenter(function() {
3 let $lwp_title = $(this).attr("title");
4 $(this).attr("lwp_title", $lwp_title);
5 $(this).attr("title", "");
6 }).mouseleave(function() {
7 let $lwp_title = $(this).attr("lwp_title");
8 $(this).attr("title", $lwp_title);
9 $(this).removeAttr("lwp_title");
10 });
11});

0

Related Snippets

Please see some snippets below related to this snippet..

Divi Builder

AI Verified

0

Disable Divi's Projects custom post type

Added: 8 months ago

Last Updated: 7 months ago

This snippet completely disables the Projects custom post type within the Divi theme. The admin menu items will not show for any logged in user role.

Divi Builder

AI Verified

0

Divi - Disable Project CPT and Taxonomy

Added: 6 months ago

Last Updated: 6 months ago

Divi Builder

AI Verified

0

Enable the Dynamic Content option in the Divi Circle Counter module

Added: 8 months ago

Last Updated: 7 months ago

This snippet enables Dynamic Content in the number field of Divi's Circle Counter module. This would then allow you to control the content through a plugin such as ACF rather than the Divi Builder.

Other Snippets in this Codevault

These are some popular snippets from this users codevault..

WordPress Admin

AI Verified

0

Hide WP Block Editor on specific post type

Added: 1 year ago

Last Updated: 1 year ago

Divi Builder

Unverified

0

Delete tooltips when hovering over images

Added: 1 year ago

Last Updated: 1 year ago

It annoys me a lot when having DIVI theme activated and you hover over an image, that the image name pops up in a tooltip. With this function you can hide that! Problem solved :)

WordPress Admin

AI Verified

0

Hide Comments on WP Dashboard

Added: 1 year ago

Last Updated: 1 year ago

Completely hide the comments function in the Wordpress Dashboard