Hi guys,
I need to add some social meta data to the head of my homepage (only the homepage).
<meta property=”og:title” content=”The title of the page”>
<meta property=”og:description” content=”A longer than the title but still brief description of the content. No html allowed!”>
<meta property=”og:image” content=”Absolute URL to a preview image that is meant to be used and shown everywhere “>
<meta property=”og:site_name” content=”A short name of the source, like domain or name of the magazine / company”>
On the other pages/post that´s automatically generated from the Yoast SEO plugin but not for the homepage. So I loke to add that manually and static. Do you have any reccomendations how to do that? Is there a simple plugin, or should I add the header.php to my child theme and add it there? Other?
Cheers
Michael
Hey Michael!
Try one of these:
https://wordpress.org/plugins/wp-facebook-open-graph-protocol/
https://wordpress.org/plugins/wp-open-graph/
Best regards,
Josue
Hey Josue,
thanks. Sounds like the second one can be the one I need.
Cheers
Michael