Hi,
I want to disable the image titles that appear on hovering the mouse on the image. Also please let me know that do I need image titles at all. Are titles important for SEO purpose.
Sophia
Hello !
Just to make sure, you want to disable this text here: https://www.screencast.com/t/hGiPgRZsWo9 By removingthe title of your posts, how will users be able to know what they could read ?
Thank you !
Hi,
I dont want to remove the title of the post. I want to remove the title that comes on hover over the featured image of that post and also in the posts.
Thanks.
Hello !
That is the tooltip. Please use this js code in order to remove it: jQuery(document).ready(function($) {
$('a[title]').on('mouseenter', function () {
var $this = $(this);
$this.attr('title-cache', $this.attr('title'));
$this.attr('title', '');
});
$('a[title]').on('mouseleave', function () {
var $this = $(this);
$this.attr('title', $this.attr('title-cache'));
$this.attr('title-cache', '');
});
$('a[title]').on('click', function () {
var $this = $(this);
$this.attr('title', $this.attr('title-cache'));
$this.attr('title-cache', '');
});
$('#lightboxOverlay').on('close', function () {
var $this = $(this);
$this.attr('title', $this.attr('title-cache'));
$this.attr('title-cache', '');
});
});
The code must be inserted in here: https://www.screencast.com/t/CnqlDUbmQK
Thank you !