OG:Image Doesn’t Always Select Featured Image in Yoast
-
It appears that Yoast is not always selecting the featured image for og:image.
This happens when a new page is created via the WordPress Posts API (v2), with a featured image added to the post, and no “Facebook image” explicitly selected on the “Social” tab in the Yoast plugin for a Post.
Sometimes the featured image is selected, and other times a loading icon on the page is selected. I’m having trouble discerning why Yoast doesn’t always select the featured image for og:image.
Here are two example pages on the website, one which has the issue and the other which doesn’t:
– Uses wrong image: (site)/best-sales-techniques/3-steps-for-qualifying-sales-leads-and-smashing-revenue-targets/
– Uses correct image: (site)/building-high-performance-teams/target-sales-more-effectively-by-hiring-a-sales-assistant/Observations:
– The featured image for both of these pages is the same dimensions, so I think the issue is actually that Yoast gets all page images and doesn’t discern the featured one.Questions:
1. Is there a way to force Yoast to always use the featured image for a page?
2. If not, is there a way, when creating a new Post via the API that I can specify for Yoast what image to select for the og:image?Thanks for your help!
The page I need help with: [log in to see the link]
- The topic ‘OG:Image Doesn’t Always Select Featured Image in Yoast’ is closed to new replies.