Og: Image Problem – Double Og Image

Posted in: Newspaper
Post count: 68

Yoast Seo and Featured Image. Attaching two pictures is a problem.

YOAST SEO
<meta property="og:image" content="http://mecburlar.com/tr/wp-content/uploads/2015/12/bülbülün-kırk-şarkısı-facebook.jpg" />

FEATURED IMAGE
<meta property="og:image" content="http://mecburlar.com/tr/wp-content/uploads/2015/12/bülbülün-kırk-şarkıs-kapak.jpg" /><meta name="author" content="Mecburlar">

How do I delete <meta property=”og:image” content=”http://mecburlar.com/tr/wp-content/uploads/2015/12/bülbülün-kırk-şarkıs-kapak.jpg&#8221; /><meta name=”author” content=”Mecburlar”>

http://i.hizliresim.com/dk471Q.png

  • This topic was modified 10 years by Mecburlar.
Post count: 9544

Hi
it used to be in the header.php file … not sure if that is still where it is.

Post count: 68
Post count: 22421

Hi,
It can be found in wp_booster_functions.php : http://screencast.com/t/47SDJaZhuyms
Thanks.

Post count: 68

Hi,

I delete it but I just want to get deleted when I use Yoast SEO. Delete it when I have to use Yoast SEO.
Is it correct?

Sorry for my bad english

Thanks!

For Example
if yoast seo activated = true
“delete default metatag”
else
“”

  • This reply was modified 10 years by Mecburlar.
Post count: 68

For Example
if yoast seo og image activated = true
“delete default metatag”
else
“”

Post count: 6535

Hi

When Yoast SEO plugin is installed the default og tags from the theme are replaced by with the ones from the plugin. You don’t need to delete or deactivate the theme’s tags as they are automatically deactivated if the Yoast plugin is installed.

If this is not what you mean please provide more details.
Thanks!

Post count: 68

At the Yoast SEO plugin installed.
but the other is not passive

Example Posts

http://mecburlar.com/baykusun-gozleri-ibrahim-guler/
http://mecburlar.com/bulbulun-kirk-sarkisi-iskender-pala/

  • This reply was modified 10 years by Mecburlar.
Post count: 68
Post count: 68

Or simple video

VIDEO

  • This reply was modified 10 years by Mecburlar.
Post count: 22421

Hello,

The og tag will not affect your website in any way. It is simply put there in case there is no seo OG tag. If you really want to remove it when yoast is active you can add a condition to check if a plugin is active and create your code so that the og tag only gets inserted when the certain plugin is not active: https://codex.wordpress.org/Function_Reference/is_plugin_active and use it to alter this function: http://screencast.com/t/IJJf4eaoATr

I hope this helps.
Thank you!

Post count: 68

Thanks, but not the solution. I’ll try to take care of. I write here if I can.

Take it easy. Good work

Viewing 12 posts - 1 through 12 (of 12 total)
The forum ‘Newspaper’ is closed to new topics and replies.