This topic has 2 replies, 2 voices, and was last updated 8 years, 2 months ago ago by Eva Kemp
Hello,
i have a problem when i want to share my website in facebook, it shows as image this file “wp-content/themes/woopress/images/staticks/facebook-default.jpg” and it doesn’t take any other photos from the page.
I tried to fix it using Yoast SEO plugin and by enabling his Open Graph meta data, but then Facebook Debug website states this error :
Object at URL ‘http://artholic.gr/’ of type ‘article’ is invalid because it specifies multiple ‘og:url’ values
Well what do you suggest me to do to correct the problem with the facebook image and by not using your default image link.
Thank you
Hello,
If you don’t want to use our default facebook image then you can edit the file wp-content/themes/woopress/framework/theme-functions.php and remove the code in the section “Add Facebook Open Graph Meta Data”:
echo '<meta property="og:title" content="' . get_the_title() . '"/>';
echo '<meta property="og:type" content="article"/>';
echo '<meta property="og:description" content="' . $description . '"/>';
echo '<meta property="og:url" content="' . get_permalink() . '"/>';
echo '<meta property="og:site_name" content="'. get_bloginfo('name') .'"/>';
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up