The ALT attribute

13
3

Hello. The site has more than 1,000 images without alt tag filled, whether it can be done automatically?

PS: on the WP website, there is also a site on Joomla with a similar problem.

Недорогие и качественные SEO услуги ( https://kwork.ru/user/alex_cruz ) Отзывы на Яндекс Картах, Google Maps и 2ГИС (http://repshop.ru/)
459
#1

And whether it is necessary?

Отпилю лишнее, прикручу нужное, выправлю кривое. Вытравлю вредителей.
13
#2
Sitealert:
And whether it is necessary?

and do not need to put down the alt?

If someone would have the same problem, here's the solution:

add_filter ( 'wp_get_attachment_image_attributes', 'change_attachement_image_attributes', 20, 2); function change_attachement_image_attributes ($ attr, $ attachment) {global $ post; if ($ post-> post_type == 'product') {$ title = $ post-> post_title; $ Attr [ 'alt'] = $ title; $ Attr [ 'title'] = $ title; } Return $ attr;}
459
#3
Awaken:
and do not need to put down the alt?

A need? ..

13
#4
Sitealert:
A need? ..

No questions, thank you for your answer :)

490
Had
#5
Awaken:
Hello. The site has more than 1,000 images without alt tag filled, whether it can be done automatically?

Possible but not necessary. If unique images fill his arms. If non-unique - drive in general.

█ ННП █ Самый надёжный и недорогой хостинг в России - https://clck.ru/MDrmD
2484
#6
Had:
If unique images fill his arms.

How does a search engine determine what tags are filled?

Пишу тексты. Тематики - туризм, СЕО, творчество, кулинария, шизотерика :) Лучший хостер и регистратор. Проверено. (http://ukrnames.com/?ref_id=3599) Проверяю позиции сайта в сервисе Серпхант (https://serphunt.ru/)
1
#7

Suitable for Joomla component RSeo!

It is 100% what you need and with the settings you need.

Here is a screen of the Settings tab within the component images

To post a new comment, please log in or register