How to Add Facebook Open Graph Meta Data in WordPress Themes

How to Add Facebook Open Graph Meta Data in WordPress Themes

In this article, I’ll show you how to add Facebook Open Graph Meta data in WordPress Themes. This is a great way to get more visibility on Facebook and improve your search engine ranking for content that lives outside social networks.

This article will teach you two different ways to add meta data- one through code snippets and the other by using plugins. You can find both methods below!

Using code snippets

* The first way to add twitter data is by using code snippets. You’ll need a plugin like Code Snippets from WordPress or another that creates custom fields for you to insert this code snippet into. Once inserted, the meta tags should be visible on your edit screen within the post editor on WordPress- it’s important that they are added before saving changes and publishing them live online!

Adding Twitter Open Graph Metadata

The second way of adding Twitter Open Graph Meta data is through plugins. There are many available, but I recommend Yoast SEO Plugin since it has an easy setup wizard where you can checkmark all settings and just click “save.” This saves time when setting up OG:type parameters rather than writing out multiple lines of codes manually, which might cause errors in the long run.

Add Facebook Open Graph Metadata

* The best time to add Facebook Open Graph Metadata is before you publish your content live on the web- that way, it’ll be SEO friendly and as visible as possible! If this feels like too much work or something you don’t have control over, I recommend hiring a social media expert who can take care of all these technical details for you while still managing other aspects such as responding to comments and scheduling posts in advance.