Hi
According to Google structured data testing tool the masonry gallery has problem with links, title and caption of the pictures.
This testing toll shows me following warning:
(The property contentUrl is not recognised by Google for an object of type WebPage.)
The following link is testing result:
https://search.google.com/structured-data/testing-tool#url=webpluss.no
How can I solve this problem?
Hey,
Open /includes/helper-markup.php and replace contentUrl
with image
or something that would make the error disappear (line 113):
case 'image_url':
$attributes['itemprop'] = 'contentURL';
break;
Best regards,
Josue
Hi,
I’ve tried copying /includes/helper-markup.php to my child theme and modifying it, but it’s still reporting the same error. Have I missed something? Do I need to copy other files to the child theme?
Regards, Nick
Hi Nick,
Please send us a temporary admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Thanks,
Rikard
I am having the same problem as nickamis. It works if I modify on the parent theme but doesn’t work if I modify on the child theme, any ideas?
Thanks