0

Our content mostly has Open Graph information set. I think this is done by Yoast SEO. Do you think this is correct?

There are quite a few (~1200) URLs that have no Open Graph image set.

I am thinking I can write a functions.php action to check to see if the Open Graph image has been set, and if not, supply a fallback OG image.

How would I check to see if an OG image has not been set?

Help appreciated.

1
  • 1
    "I think this is done by Yoast SEO" - try searching in and/or asking on the plugin support forums. I would also check the plugin's documentations and codebase for relevant information..
    – Sally CJ
    Jun 13, 2022 at 2:53

1 Answer 1

0

Yoast SEO has a provision for a default social image through

Yoast SEO > Social > Facebook > Default image.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.