To set the Facebook Title, you would need to perform the following actions:
Go to the Edit screen for the page/post
Scroll down to the Yoast meta box
Click on the Social tab
Click on the Facebook area
Enter a value for ‘Facebook Title’
Click ‘Update’
Is there a way to permanently change the og:title for all posts so there’s no need to edit it every post?
Hello @howorks
If you leave the og:title field blank, it will rever back to the SEO title you’ve set for that post or page.
You can then set default templates for your SEO titles (e.g. for your posts) under your WP admin dashboard > SEO (sidebar) > Search Appearance > Content Types Tab > Posts > SEO Title.
You can use the snippet variables found here to set default templates for your titles — https://yoast.com/help/list-available-snippet-variables-yoast-seo/
If you’ve set the SEO title templates for your posts, then this should also be the expected og:title output.
I want to leave the SEO title as %%title%% %%sep%% %%sitename%% but I want the og:title to output just %%title%%.
Is that possible?
-
This reply was modified 6 years ago by
howorks.
Hello @howorks
Previously, you could use the wpseo_opengraph action to make code modifications, but since v14.0, this has been deprecated. You can learn more about it here — https://developer.yoast.com/customization/yoast-seo/api-filter-actions-deprecations
We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.