og:image tag incorrectly placed
-
This is a WP site with some custom content types created using the Pods plugin. Mostly Yoast works fine, but in one of our custom content types, “Exhibits,” the og:image tag is getting bumped out of the Yoast SEO block and appearing down below the below the <body> tag. You can see it in the source for this page: https://www.neaq.org/exhibit/indo-pacific-coral-reef/
This is preventing Facebook from scraping the image we’ve selected in Yoast. Our other content types seem to handle Yoast just fine, so presumably it’s something about the page template for this particular one that’s breaking it, but I don’t know what I’m looking for so I can fix it. Appreciate any light you can shine.
The topic ‘og:image tag incorrectly placed’ is closed to new replies.