Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Tagged: _aviaLayoutBuilderCleanData
Hi all,
I’ve replaced empty img alt directly in post_content of wp_posts table with this query:
UPDATE wp_posts
set post_content =
REPLACE(post_content,'alt=""', CONCAT('alt="', post_title, '"'))
WHERE post_status = 'publish';
I’ve replaced empty alt with post_title, everything works ok but problem is that website still shows old content because Enfold get content from wp_postmeta table (meta_key: _aviaLayoutBuilderCleanData).
is there a way to synchronize the new content? Or maybe an sql query I could use for the same type of replace in meta_value column?
Thank you.
Hi WPStyling2020,
Why do you want to empty the alt and title tag? it is useful for SEO stuff.
If you want to remove it, so the tooltip won’t show when you hover over it, I would suggest Guenni007’s solution on this thread: https://kriesi.at/support/topic/remove-tooltip-keep-caption-in-galleries-masonry/#post-1355891
Best regards,
Nikko