-
We have a situation where we’re using a custom plugin connected to an outside API to pull in and generate a post (custom post type) automatically. This includes adding a featured image.
Is there a way to force the open graph image to be the featured image? Currently, when I share a link to Facebook, for example, it’s seemingly still finding the first image in the page source—in this case an image we have in a custom dropdown mega menu.
Because these posts are all automatic with no manual intervention, I’m trying to avoid having to go into each post individually to set the social image in the Rank Math meta box.
The ticket ‘Force open graph image as featured image?’ is closed to new replies.