Disable og:title from being posted – Help please.
-
Hi,
I’m using your fantastic Wordress SEO Plugin for my wordpress site, and I’ve also got the Jetpack plugin, which I’m sure you’ve heard of.
I’ve got an issue in that the og:title content is being posted twice when I use a pluging that auto-posts my posts to twitter/facebook/google plus etc. When my posts go to Google Plus, the og:title is being duplicated.
I don’t want to disable either your plugin or the Jetpack one, as they provide great features. I’ve tried disabling the Jetpack one, but your plugin does not auto-post the snippet of content like the Jetpack one does.
I’ve found a way to fix this, by removing this code from the class-opengraph.php file in your plugin:
<meta property=’og:title’ content='” . esc_attr( $title ) . “‘/>\n
But I fear this will be overwritten every time the plugin updates.
Is there a way to disable th posting of the og:title tag from within the console do this does not get overwritten each time you update your plugin.
Thanks for your help.
- The topic ‘Disable og:title from being posted – Help please.’ is closed to new replies.