Every guide to Open Graph tags for WordPress seems to end at the same place: install a plugin. Plugins are a fine route, but they are not the only one. For a handful of important pages they can be more machinery than the job needs. The tags themselves are a few static lines of markup that sit in the <head> of the page. Anything that puts those lines there, accurately, does the whole job.

This guide shows the plugin-free route. Build the tags with the free Open Graph Tag Generator on Ovatly. Paste them into your page head through whatever method your WordPress setup already allows. Then check the result the way a platform would see it. It also covers the honest limits. The tags control presentation only. The preview is a mock. The tool does not fetch or verify your image.

Contents

  • Quick answer
  • What the tags are, and why a plugin is optional
  • What the generator needs from you
  • How to generate and add the tags, step by step
  • Worked example: tags for a guide article
  • After pasting: check the page the way a platform sees it
  • Limitations and honest notes
  • Common mistakes
  • FAQs
  • Conclusion

Quick answer

Open the Open Graph Tag Generator and enter the page title and canonical URL. Add an absolute image URL (ideally 1200 by 630 pixels) and a description. Then set the type, site name and image alt text. Check the text-only preview mock, copy the generated tags, and paste them into the <head> of the page. On WordPress without a plugin, use whichever route your setup already gives you for adding markup to the head. That could be editing the theme template that outputs the head, or an equivalent built-in route. Then view the published page source to confirm the tags appear. No plugin is required because the tags are static: once the correct lines are in the head, the job is done.

What the tags are, and why a plugin is optional

Open Graph tags are the meta tags that control how a page appears when it is shared. They apply on Facebook, LinkedIn, WhatsApp and most other platforms. They set the title, description, image and type the platform shows on the card. Without them, the platform guesses from the page title, the first text and any image it finds, which often produces a dull or wrong card. With them, you choose what the card says.

A plugin earns its place when you have hundreds of pages and want the tags written automatically for each one. For a single page, or the few pages you actually share, the work is the same either way. Someone has to decide the title, description, image and type. The resulting lines have to land in the head. A generator does the composing and formatting for you. That removes the two real risks of hand-writing tags. One is typos in the property names. The other is values that do not match the page. What it cannot do is put the lines on your site. That last step is a paste. WordPress gives you routes to the head that do not involve installing anything.

What the generator needs from you

Four decisions make up almost the whole card. The title and the canonical URL identify the page. The image URL carries the visual weight of the card, and it has two firm requirements. Most platforms require an absolute URL. They recommend at least 1200 by 630 pixels for large cards. The description is the short text under the title. Around those sit the type, your site name, and alt text for the image. The type is website for homepages and general pages, article for posts and guides, and product for product pages. Fields you leave empty are simply left out of the generated tags. An empty field never produces a broken half-tag. It produces no tag at all. Remember that when a card comes out missing a part you expected.

How to generate and add the tags, step by step

  1. Open the Open Graph Tag Generator and enter the title and canonical URL of the page.
  2. Add the image URL, an absolute URL, ideally 1200 by 630 pixels, and a description.
  3. Set the type, the site name and the alt text for the image.
  4. Check the preview mock, then copy the generated tags into the page <head>. In WordPress, use the route your setup allows for adding markup to the head, and save.
  5. Open the published page, view its source, and confirm the og: lines are present once each, with the values you intended. Then open the image URL itself in a browser to confirm it loads. The tool writes the tag with the URL you provide. It does not fetch the image to check it.

Worked example: tags for a guide article

Say the page is a coffee guide on a site called BrewLab. In the generator you enter the title "Pour Over Coffee: A Complete Guide", the page's canonical URL, an absolute image URL, and a description. You set the type to article and the site name to "BrewLab".

The first generated line is <meta property="og:title" content="Pour Over Coffee: A Complete Guide">. It is followed by og:url, og:type "article", og:image and og:site_name lines for the values you entered. Empty fields are simply left out, so if you skipped the alt text, no line for it appears. You copy that block as one piece and paste it into the head of that page. The preview mock shows you the shape of the card first, as text. You can catch a truncated-sounding title or a flat description before the paste. That beats catching it after someone shares the link.

After pasting: check the page the way a platform sees it

The preview is a simplified mock built from your text. The image is not fetched, and each platform crops and styles cards differently. Treat the mock as a check on your wording. It is not a photograph of the finished card. The real checks happen on the published page. Check the tags present in the source. Check the image loading when its URL is opened directly. Check the URL in og:url against the address you actually share. If a shared card still looks wrong after the tags are correct, work through the failure patterns in the sibling guide. That guide is Open Graph Mistakes That Break Your Social Previews.

Limitations and honest notes

Open Graph tags do not affect search rankings; they control presentation on social and messaging platforms, and nothing else. The og:description also does not replace your normal meta description. The meta description serves search results. The Open Graph description serves social cards. They can share wording, but they are separate tags. A page needs both jobs covered. Finally, this manual route is per page. It suits homepages, landing pages and the posts you promote. A large archive where every post needs tags is where the plugin route stops being overhead and starts being the sensible tool.

Common mistakes

  • Pasting the tags in the page body. The tags belong in the <head>; lines dropped into the content area are not read as Open Graph tags.
  • Using a relative image URL. A path such as /images/card.jpg gives a platform nothing it can fetch from another site. Use the full absolute URL.
  • Skipping the source check. A paste that landed in the wrong template, or never saved, looks identical from the editor. The published page source is the only proof.
  • Trusting the mock as the final card. The image is not fetched and platforms crop differently. Verify the image URL loads, and expect some variation between platforms.
  • Setting the type by habit. A guide marked as website loses the categorisation the article type gives platforms. Match the type to the page.

FAQs

What happens if a page has no Open Graph tags? Platforms guess from the page title, first text and any image they find, which often produces a dull or wrong card. Explicit tags give you control.

Is og:image checked or downloaded here? No. The tool only writes the tag with the URL you provide, and the preview shows the URL as text. Verify the image loads by opening the URL in a browser.

Do I still need a normal meta description? Yes. og:description is for social cards; the meta description serves search results. They can share wording but are separate tags.

Which og:type should I pick? Use website for homepages and general pages, article for posts and guides, and product for product pages. The type helps platforms categorise the content.

Where exactly do the generated tags go? In the head section of the page, alongside its other meta tags. In WordPress without a plugin, that means adding the generated lines through whatever route your setup gives you. That route puts markup in the head. Then check the published page source to confirm they are there.

Conclusion

A plugin is one delivery route for a few lines of static markup, not a requirement. Generate the tags with the Open Graph Tag Generator. Paste them into the head through the route your WordPress setup already allows. Verify the published page rather than trusting the paste. More guides like this one live in the SEO Tools guides archive.