There are plugins out there to help you add Open Graph tags to your WordPress site. But like all plugins, sometimes they work how you want, other times they don’t. In my case, they didn’t.
So here’s a short tutorial on how to add Open Graph Tags to your site in a way that makes sense. We will:
- enable thumbnails
- add a like button for single post pages and the index page
- for single posts, display post thumbnail and permalink url
- for index page, put post permalink into Like button URL
- allow for a default blog thumbnail