For better WordPress onpage Seo we need to give our featured images alt and title tags. Unfortunately we can’t use out of the box tools for this (yet).

Featured images alt and title tags with custom code

Plugins that give alt and title tags to images don’t cover featured images. To optimize them you need to use  the wp_get_attachment_image_attributes filter. You can put the code bellow to your functions.php

Featured images alt and title tags with a plugin

We are working on a flexible and customizable plugin that will make this task a piece of cake. Here is a sneak preview of it’s options page.

Resources on WordPress Featured images alt and title tags Featured images alt and title tags

Leave a comment

Your email address will not be published. Required fields are marked *