My WordPress site is based in Great Britain. I was able to change the html lang
-attribute from en-US
to en-GB
, however when I view my source code the og:locale
attribute of open graph displays as en-US
, it is generated by yoast SEO plugin. Is there a way to change locale to en-GB
?
Leave a Reply
You must be logged in to post a comment.
From the documentation:
Here’s a specific example of how someone else solved it in functions.php: