• Resolved howorks

    (@howorks)


    Is there a way to customize og:title to output e.g. “10 things you want to do this summer” instead of “10 things you want to do this summer – xyz website”

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support devnihil

    (@devnihil)

    ?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’
    Thread Starter howorks

    (@howorks)

    Is there a way to permanently change the og:title for all posts so there’s no need to edit it every post?

    Plugin Support Michael Ti?a

    (@mikes41720)

    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.

    Thread Starter howorks

    (@howorks)

    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 4 years, 9 months ago by howorks.
    Plugin Support Michael Ti?a

    (@mikes41720)

    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

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Customize og:title without site title’ is closed to new replies.