Will the imageObject schema.org fix you proposed for the functions.php be included in your next update, or will we have to update it manually every time?
Hey onspring,
Thank you for using Enfold.
Where can we see the issue? I can’t find the previous thread.
Best regards,
Ismael
Hi,
Thank you for the update. That modification is not going to be included in the theme because it was suggested to solve a specific case so it may not work for other websites.
Best regards,
Ismael
That’s not right. Your code is creating invalid schema markup. This additional line of code fixes that broken code.
Hi,
The invalid schema markup error occurs only when a combination of elements are added inside the layout builder. It usually happens when an image element is added inside a post. That filter was suggested to work around that specific issue. Please keep the filter in the child theme’s functions.php file.
Best regards,
Ismael