Jump to content
Sign in to follow this  
Jean-Philippe

Unrelated thumbnail while sharing post on Facebook

Recommended Posts

Jean-Philippe    2
Jean-Philippe

Hello, I was looking for a solution to avoid unrelated thumbnail image while sharing post on Facebook. And I found this. So, I would like to know if it's possible to copy this piece of code into the child theme's functions.php file? I've tried some WP plugins which add required meta tags but no success. Any idea?


www.photoreview.fr | www.kankei.fr

Share this post


Link to post
Share on other sites
cmunns    16
cmunns

yes you can try. I'm not sure why they are using `is_singular` as a conditional when the correct conditional tag would be `is_single`

Share this post


Link to post
Share on other sites
Jean-Philippe    2
Jean-Philippe

Hello Adam, Could you please tell me where I should paste this code. I've just tried and I got an error... my website was no more accessible. Sorry for this newbie question. Thank you in advance. JPM


www.photoreview.fr | www.kankei.fr

Share this post


Link to post
Share on other sites
bryan-hadaway    3
bryan-hadaway

Appearance > Editor > functions.php Thanks, Bryan

Share this post


Link to post
Share on other sites
Jean-Philippe    2
Jean-Philippe

Well, I think actually there is an issue with featured images generated with NextGEN Gallery plugin. I'm trying to solve this...


www.photoreview.fr | www.kankei.fr

Share this post


Link to post
Share on other sites
Jean-Philippe    2
Jean-Philippe

Ok, I found the solution: just install this wonderful plugin and that's all!


www.photoreview.fr | www.kankei.fr

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×