Nowadays most of the sites have social button for sharing its content. One of the most popular social network is Facebook.
By default most of the WordPress themes aren’t adapted to print Open Graph tags. This tags allow us to choose which information is scrapped by Facebook when someone shares a link.
There are some plugins that may cover this lack of functionality. I would suggest the ‘do it yourself’ solution, because of it’s performance.
You can find more information about Open Graph protocol in http://ogp.me.
Copy and paste the next code snippet inside the <head> tags, under the wp_head() function call. In most of the themes you will find this place in header.php, under the root folder of the theme.
[Read more…] about WordPress: How to add Open Graph tags for Facebook sharing