-
AuthorPosts
-
October 30, 2014 at 4:41 pm #343473
Hi,
I am trying to check Open Graph Object Debugger with:
https://developers.facebook.com/tools/debugI am receiving a message:
Could not resolve the hostname into a valid IP address.
The ‘og:type’ property is required, but not present.I have enabled the option of social in Yoast plugin.
Also added this code to functions.php as recommended here:
if(!function_exists(‘avia_wpseo_change_init_priority’))
{
function avia_wpseo_change_init_priority()
{
remove_action(‘template_redirect’, ‘wpseo_frontend_head_init’, 999);
add_action(‘template_redirect’, ‘wpseo_frontend_head_init’, 9);
}add_filter(‘init’,’avia_wpseo_change_init_priority’, 20);
}Still the problem consists.
What should I do?November 1, 2014 at 6:32 am #344489Hey eyeweb!
Thank you for using Enfold.
Please remove the filter hooks. It’s not needed anymore if you’re using Enfold 3.0.2. Please try to use this plugin to add fb open graph protocols: https://wordpress.org/plugins/wp-open-graph/
Regards,
IsmaelNovember 2, 2014 at 10:05 am #344825Hi Ismael,
After I install this plugin should I obviously disable the open graph from the Yoast plugin?
BTW, this plugin messed up my whole WordPress admin :-(Thank you.
-
This reply was modified 11 years ago by
eyeweb.
November 4, 2014 at 4:01 am #345698Hi!
Can you please provide a link to the actual post where og:type meta property is not present? The open graph settings on Yoast should be enough. Deactivate the plugin that we suggested then use Yoast. Go to SEO > Social then enable the Add Open Graph meta data option.
Best regards,
IsmaelNovember 4, 2014 at 9:56 am #345774This reply has been marked as private.November 6, 2014 at 3:13 am #346932 -
This reply was modified 11 years ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
