• Resolved Skygrinder

    (@skygrinder)


    Hello, is there a way to have the same og:title and og:description on every page and post?

    If the option doesn’t exist in the plugin then maybe some filter/hook I can use in php?

    • This topic was modified 2 years, 1 month ago by Skygrinder.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hello!

    TSF provides no option for this, but you can override its output using filters.

    It’s straightforward when you want to output the same everywhere; return your preferred title to filter the_seo_framework_ogtitle_output, and return the description to filter the_seo_framework_ogdescription_output.

    Please note that this won’t influence Twitter Card output. For that, you’d want to use filters the_seo_framework_twittertitle_output and the_seo_framework_twitterdescription_output respectively.

    Thread Starter Skygrinder

    (@skygrinder)

    That did the trick, thanks!

    • This reply was modified 2 years, 1 month ago by Skygrinder.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘OG Title/Description override’ is closed to new replies.