OpenGraph Fallback Embed

plugin banner

Provides an embed block and auto-embed fallback based on a site's OpenGraph tags when no other embed handler matches the URL.

Author:Gary Pendergast (profile at wordpress.org)
WordPress version required:6.3
WordPress version tested:7.0
Plugin version:1.3.7
Added to WordPress repository:25-03-2026
Last updated:25-03-2026
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:51
plugin download
Click to start download

OpenGraph Fallback Embed adds a custom Gutenberg block and an auto-embed fallback that renders rich link cards using OpenGraph metadata from any URL.

Features:

  • OpenGraph Embed block — Paste any URL to embed it as a styled card showing the page’s title, description, image, and site name.
  • Auto-embed fallback — When WordPress can’t find an oEmbed provider for a URL pasted on its own line, this plugin automatically fetches the page’s OpenGraph tags and renders a card instead of a plain link.
  • Graceful degradation — Falls back to Twitter Card meta tags, then to HTML <title> and <meta name="description"> when OpenGraph tags are missing.
  • Transient caching — Fetched metadata is cached for 7 days to minimise external requests.

Development

The source code for this plugin, including unminified JavaScript and CSS, is available on GitHub:

OpenGraph Fallback Embed on GitHub

The plugin uses @wordpress/scripts for building. Source files are in the src/ directory. See the repository README for build instructions.


Screenshots
FAQ
ChangeLog