Hello! I want to know how can I choose the picture to show when I share the site (using main url, http://www.mallorcaglam.com) in social networks.
Always is shown one of the pictures in the posts of the first Grid.
Thanks!
Hello,
The picture shown when sharing on social networks will always be the featured image. You cannot select which image will show up except by using plugins. Seo yoast has such a feature where you can select an image to show up on facebook instead of the featured image.
Thank you!
Hi Bogdan, on this post (https://www.kuaby.com/best-area-stay-kuala-lumpur/), the featured image seems to override what I specified using Yoast’s plugin. Can you please help to have a look to see if there’s a setting that I need to tweak?
When I look at the page source, there are two “og:image” – one from the featured image, and the latter from Yoast.
-
This reply was modified 8 years by
wayneliew.
I’m having the same issue and I can’t for the life of me figure out
<head>
<title><?php wp_title(‘|’, true, ‘right’); ?></title>
<meta charset=”<?php bloginfo( ‘charset’ );?>” />
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>” />
<?php
wp_head(); /** we hook up in wp_booster @see td_wp_booster_functions::hook_wp_head */
?>
</head>
is all i see in the header.php file.
This is the view source: FB is pulling the first og:image rather than the yoast one
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="pingback" href="............/xmlrpc.php" />
<meta property="og:image" content="......................" />
<!-- This site is optimized with the Yoast SEO plugin v6.0 - https://yoast.com/wordpress/plugins/seo/ -->
<!-- Admin only notice: this page doesn't show a meta description because it doesn't have one, either write it for this page specifically or go into the SEO -> Titles menu and set up a template. -->
<link rel="canonical" href="https://.................................." />
<meta property="og:locale" ........ />
<meta property="og:type" ........ />
<meta property="og:title" ............" />
<meta property="og:description" content="........................." />
<meta property="og:url" content="......................" />
<meta property="og:site_name" content="............" />
<meta property="article:section" content="................" />
<meta property="article:published_time" content="......................" />
<meta property="article:modified_time" content="..................." />
<meta property="og:updated_time" content="......................." />
<meta property="og:image" content=".........................." />
<meta property="og:image:secure_url" content="......................" />
-
This reply was modified 8 years by
jhfrench2000.
I finally found it.
td_wp_booster_functions.php
line 624
would be nice if in a future update that was something you could turn off in the theme panel.
Still not working, I also found og:image in the mobile header file…
I created a child theme, remove both instances in those files and there are still two og:image lines in the header.
any ideas? I’m at a loss. We have created infographics for each post and would like those to show up when people share rather than the plain image being used as the featured image on the site itself.