Add image to schema
-
Hi,
I am getting this on the testing tool: http://prntscr.com/kss2sj
As I saw on the documentation, I am using this code snippet to add the image:
add_filter( ‘site-reviews/schema/LocalBusiness’, function( array $schemas ) {
$schema[‘image’] = ‘https://perrosadopcion.com/wp-content/uploads/2018/08/favicon.png’;
$schema[‘name’] = ‘Animales en adopción’;
return $schemas;
});But nothing is happening. I mean, I have more snippets working, functions.php is working.
Isn’t this the way to go?
Hope to hear from you soon.
Regards
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Add image to schema’ is closed to new replies.