Disable The Default
For Improved Blogging
WordPress is many things to many people.
And somewhere in the evolution of the software, they decided that it was better to focus on helping people make delightful photo lightboxes and galleries than focusing on image behavior in traditional blogging situations.
You’ve likely noticed this when clicking randomly on some random blog post, and your click hits an image, and you find yourself looking at a mostly empty page containing the image and no longer in the post you were reading!
This is terrible for SEO and terrible for visitor experience. (And don’t think mouse clicking is the only source of it, finger-swiping on mobile is just as likely to accidentally click stuff!)
Of course, you can easily un-set this setting each time you add an image to your post/page, but that’s annoying and tedious for something you are very rarely going to want.
Removing Default Image Links In WordPress
To do this, a tiny bit of code needs to be altered in WordPress. You can accomplish that by adding the code snippet to the theme’s functions.php file – or by using the No Image Link plugin.
“Defaults the Image Link option to ‘none’ when adding a picture to a page or post.”
Whether you use the code or plugin, no configuration of it is needed. Just set it and forget it! Then, if you WANT to add a link to an image, it works the same as it always has. Easy to add, but not there unless you want it.
Here’s the code you will need for your custom functions.php file.
While you will not want to do this if you have a photoblog or frequently build galleries that rely on this feature, enabling (or more specifically disabling) this is a nice way to improve your SEO while reducing bounce rate.
I do this on all of my blogs because it saves me TIME in getting the post images to behave properly.
~ Kim ~
Simple Tech Tips For Marketing