Picture shown when share in Social Networks

Posted in: Newspaper
Post count: 52

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!

Post count: 22421

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!

Post count: 6

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.
Post count: 9544

With some versions of newspaper, open header.php and remove element for og tag.

Post count: 4

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="......................" />

Post count: 4

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.

Post count: 4

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.

Post count: 22421

Hello,

If you use the mobile theme, you cannot edit the mobile theme files from the child theme, You have to modify the mobile theme file from the main theme files.

Thank you!

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